/* =============================================
   FONDOS TECH — Global Design System
   ============================================= */

:root {
    /* Brand Colors */
    --primary-color: #086AD8;
    --primary-light: #3D8DE5;
    --primary-dark: #0656B0;
    --secondary-color: #212529;
    --secondary-light: #495057;

    /* Neutral Colors */
    --white: #FFFFFF;
    --bg-light: #F5FAFF;
    --bg-section: #F8FBFF;
    --border-color: #EEF0F1;
    --border-active: #CEE4FD;
    --text-muted: #6C757D;
    --text-body: #495057;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(33, 37, 41, 0.04);
    --shadow-md: 0 6px 24px rgba(33, 37, 41, 0.06);
    --shadow-lg: 0 6px 24px rgba(33, 37, 41, 0.08);
    --shadow-xl: 0 12px 40px rgba(33, 37, 41, 0.12);
    --shadow-inner-white: 0 -4px 32px rgba(255, 255, 255, 0.16);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-pill: 2.5rem;
    --radius-full: 5rem;

    /* Spacing */
    --section-padding-y: 5rem;
    --section-padding-x: 7.5rem;
    --container-max: 1320px;

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --font-size-xs: 0.6875rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.125rem;
    --font-size-4xl: 2.75rem;
    --font-size-5xl: 3.25rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =============================================
   Base Resets & Global Styles
   ============================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: #f5faff;
    overflow-x: clip;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =============================================
   Reusable Typography Components
   ============================================= */

.section-label,
.contact-badge-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title,
.contact-main-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 2.875rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title .text-primary-custom,
.contact-main-title .text-primary-custom,
.text-primary-custom {
    color: var(--primary-color) !important;
}

.section-desc,
.contact-main-desc {
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-body);
    max-width: 600px;
}

.section-header {
    margin-bottom: 3rem;
}

/* =============================================
   Reusable Button Components
   ============================================= */
.error {
    font-size: 0.75rem;
    color: #dc3545 !important;
    font-weight: 600;
    margin-top: 0.25rem;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white);
    color: var(--primary-color);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.25rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}

.btn-primary-custom:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
}

.btn-primary-custom:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.btn-primary-custom .btn-icon {
    width: 0.5625rem;
    height: 0.875rem;
    flex-shrink: 0;
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--white);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.25rem;
    padding: 0.875rem 2.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-outline-custom:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline-custom:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.btn-link-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.btn-link-custom:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.btn-link-custom .btn-icon {
    width: 0.5625rem;
    height: 0.875rem;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.btn-link-custom:hover .btn-icon {
    transform: translateX(3px);
}

.btn-demo-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    background-color: var(--white);
    color: var(--primary-color);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1;
    padding: 0.75rem 1.375rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-demo-outline .btn-icon {
    width: 0.5rem;
    height: 0.75rem;
    flex-shrink: 0;
    display: block;
}

.btn-demo-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-demo-outline:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* =============================================
   Reusable Card Components
   ============================================= */

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.product-card:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.stat-card .stat-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.stat-card .stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stat-card .stat-arrow {
    width: 1.25rem;
    height: 1.25rem;
}

.stat-card .stat-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-muted);
}

.feature-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
}

.feature-card:hover {
    background: rgba(8, 106, 216, 0.04);
}

.feature-card .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    object-fit: contain;
}

.feature-card .feature-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.375rem;
}

.feature-card .feature-text {
    font-size: var(--font-size-sm);
    color: var(--text-body);
    line-height: 1.5;
}

.ic-logo-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    transition: all var(--transition-base);
}

.ic-logo-card:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-sm);
}

.ic-logo-card img {
    max-width: 80%;
    max-height: 3rem;
    object-fit: contain;
}

/* =============================================
   Trust Badge (Glassmorphic)
   ============================================= */

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: var(--radius-md);
    padding: 0.6875rem 1rem;
    overflow: hidden;
}

.badge-trust .badge-icon {
    width: 0.8125rem;
    height: 0.8125rem;
    flex-shrink: 0;
}

.badge-trust .badge-text {
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: 700;
    white-space: nowrap;
}

.badge-dot {
    width: 0.3125rem;
    height: 0.3125rem;
    flex-shrink: 0;
}

/* =============================================
   Common Section Spacing
   ============================================= */

.section-padding {
    padding: var(--section-padding-y) 0;
}

.section-bg-white {
    background-color: var(--white);
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-primary {
    background-color: var(--primary-color);
}

/* =============================================
   Accessibility
   ============================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard users */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* =============================================
   Responsive Container Override
   ============================================= */

@media (max-width: 767.98px) {
    :root {
        --section-padding-y: 2.25rem;
    }

    .section-title,
    .contact-main-title,
    .faq-left-content .section-title,
    .ic-section-title {
        line-height: 2rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-padding,
    .faq-section {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-padding-y: 2rem;
        --font-size-4xl: 2rem;
        --font-size-5xl: 2.5rem;
    }

    .section-title,
    .contact-main-title {
        font-size: 1.75rem;
        line-height: 2rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    :root {
        --section-padding-y: 2.25rem;
    }

    .section-title,
    .contact-main-title {
        font-size: 2rem;
        line-height: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    :root {
        --section-padding-y: 4rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

/* ---- Mandatory Field Red Asterisk ---- */
.text-mandatory,
.text-danger-custom {
    color: #dc3545 !important;
    font-weight: 700;
}

/* ---- FAQ Accordion Global Component Styles ---- */
.faq-section {
    padding: 5rem 0;
    position: relative;
    overflow: visible !important;
}

.faq-left-content {
    padding-right: 1.5rem;
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    z-index: 5;
}

.faq-left-content .section-label {
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.faq-left-content .section-title {
    font-size: 1.75rem;
    line-height: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-left-content .section-desc {
    color: #394047;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 400;
}

.faq-accordion-custom {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-card-item {
    border: none;
    background: transparent;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 1.5rem 0 rgba(33, 37, 41, 0.04);
}

.faq-card-item .accordion-header {
    margin: 0;
}

.faq-card-item .accordion-button {
    background: #ffffff;
    border: 1px solid #cee4fd;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    box-shadow: none;
    transition: all 0.3s ease;
}

.faq-card-item .accordion-button:hover {
    border-color: var(--primary-color);
}

.faq-card-item .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    border-radius: 1rem 1rem 0 0;
}

.faq-card-item .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23086AD8' viewBox='0 0 24 24'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E");
    width: 1.25rem;
    height: 1.25rem;
    background-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-card-item .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23FFFFFF' viewBox='0 0 24 24'%3E%3Cpath d='M19 13H5v-2h14v2z'/%3E%3C/svg%3E");
    transform: none;
}

.faq-card-item .accordion-body {
    background: #ffffff;
    border: 1px solid #cee4fd;
    border-top: none;
    border-radius: 0 0 1rem 1rem;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #394047;
    font-weight: 500;
}

#main-content {
    overflow: hidden !important;
}
