/* ==========================================================================
   XDSA SOLUTIONS — STYLE SHEET
   Design System: Modeled after eMensageriaPro (Deep Navy + Gold Accent, Light Content Sections)
   ========================================================================== */

/* --- Design System & CSS Tokens --- */
:root {
    /* Navy (dark sections: navbar, hero, banners, footer) */
    --navy-deep: #081327;
    --navy: #0e1f42;
    --navy-mid: #16305f;
    --navy-light: #1f3d75;
    --navy-border: rgba(255, 255, 255, 0.12);

    /* Gold (primary accent / CTAs) */
    --gold: #f4b400;
    --gold-dark: #d99900;
    --gold-light: #ffcb3d;

    /* Light content sections */
    --bg-page: #ffffff;
    --bg-alt: #f4f7fc;
    --bg-alt-2: #eef2f9;
    --card-border: #e3e9f4;
    --card-shadow: 0 20px 40px -16px rgba(14, 31, 66, 0.14);

    /* Text on light */
    --text-navy: #0e1f42;
    --text-slate: #51607a;
    --text-slate-light: #7c8aa3;

    /* Text on dark */
    --text-on-navy: #ffffff;
    --text-on-navy-muted: #b6c3dd;

    --gradient-hero: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-mid) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
    --gradient-text: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 45%, var(--gold-dark) 100%);
    --gradient-text-on-navy: linear-gradient(90deg, #ffffff 0%, #ffe2a3 50%, var(--gold) 100%);

    /* Layout & Fonts */
    --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'Fira Code', monospace;

    --container-max-width: 1200px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Base Reset & Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    color: var(--text-navy);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- Background Glow Orbs (only visible over navy sections) --- */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.35;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 180, 0, 0.35) 0%, rgba(0,0,0,0) 70%);
    top: -8%;
    right: -5%;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 61, 117, 0.55) 0%, rgba(0,0,0,0) 75%);
    bottom: 10%;
    left: -10%;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 180, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: 40%;
    left: 45%;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.grid-2 > * {
    min-width: 0;
}

@media (min-width: 992px) {
    .grid-2 {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-tag.on-navy {
    color: var(--gold-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-navy);
}

.section-title.on-navy {
    color: var(--text-on-navy);
}

.section-description {
    color: var(--text-slate);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.section-description.on-navy {
    color: var(--text-on-navy-muted);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }

/* --- Typographical Gradient Texts --- */
.gradient-text {
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text.on-navy {
    background: var(--gradient-text-on-navy);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text { color: var(--gold); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--navy-deep);
    border: none;
    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(244, 180, 0, 0.4);
    color: var(--navy-deep);
}

.btn-secondary {
    background: transparent;
    color: var(--text-on-navy);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-on-navy);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.btn-nav-cta {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-top: 1.5rem;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* --- Header / Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 19, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navy-border);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.65rem 0;
    background: rgba(8, 19, 39, 0.97);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-on-navy);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--gold);
}

.logo-icon i {
    width: 24px;
    height: 24px;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-on-navy-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-on-navy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-toggle {
    display: flex;
    background: none;
    border: none;
    color: var(--text-on-navy);
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-toggle i {
    width: 24px;
    height: 24px;
}

@media (min-width: 992px) {
    .nav-menu { display: flex; }
    .mobile-menu-toggle { display: none; }
}

/* Mobile Menu Expand */
@media (max-width: 991px) {
    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(8, 19, 39, 0.99);
        border-bottom: 1px solid var(--navy-border);
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .btn-nav-cta.secondary-nav { display: none; }
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.tag-badge i {
    width: 14px;
    height: 14px;
    color: var(--gold-light);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--text-on-navy);
}

@media (min-width: 768px) {
    .hero-title { font-size: 3.5rem; }
}

.hero-subtitle {
    color: var(--text-on-navy-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 34rem;
}

.hero-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-on-navy-muted);
    font-size: 0.95rem;
}

.hero-highlights i {
    width: 18px;
    height: 18px;
    color: var(--gold-light);
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-disclaimer {
    font-size: 0.8rem;
    color: var(--text-on-navy-muted);
    opacity: 0.8;
}

/* --- Bento Capabilities Panel --- */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(244, 180, 0, 0.1) 0%, rgba(0,0,0,0) 60%);
    z-index: -1;
    top: -10%;
}

.bento-panel {
    width: 100%;
    background: #0a1730;
    border: 1px solid var(--navy-border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bento-panel-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-on-navy-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bento-panel-header i {
    width: 14px;
    height: 14px;
    color: var(--gold-light);
}

.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--navy-border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.bento-card:hover {
    border-color: rgba(244, 180, 0, 0.4);
    transform: translateY(-3px);
}

.bento-featured {
    background: linear-gradient(160deg, rgba(244, 180, 0, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(244, 180, 0, 0.3);
}

.bento-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--navy-deep);
    background: var(--gradient-gold);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.bento-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(244, 180, 0, 0.12);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.bento-icon i { width: 19px; height: 19px; }

.bento-featured .bento-icon {
    width: 46px;
    height: 46px;
    background: var(--gradient-gold);
    color: var(--navy-deep);
}

.bento-featured .bento-icon i { width: 23px; height: 23px; }

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-on-navy);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.bento-card h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-on-navy);
    margin-bottom: 0.35rem;
}

.bento-card p {
    font-size: 0.8rem;
    color: var(--text-on-navy-muted);
    line-height: 1.5;
}

.bento-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.bento-row > * { min-width: 0; }

@media (max-width: 560px) {
    .bento-row {
        grid-template-columns: 1fr;
    }
}

/* --- Start Card (overlaps hero bottom, "Comece em minutos" pattern) --- */
.start-card-wrap {
    margin-top: 3rem;
    position: relative;
    z-index: 5;
    padding-bottom: 0;
}

.start-card {
    background: var(--bg-page);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 2.75rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .start-card {
        grid-template-columns: 1.3fr 0.7fr;
        padding: 3rem 3.5rem;
    }
}

.start-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-navy);
}

.start-card > div > p.start-desc {
    color: var(--text-slate);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-slate);
}

.checklist li i {
    width: 18px;
    height: 18px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.checklist li strong { color: var(--text-navy); }

.start-card-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    background: var(--bg-alt);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    height: 100%;
}

.start-card-cta span {
    font-size: 0.8rem;
    color: var(--text-slate-light);
}

/* --- About Section --- */
.tech-stack-container { width: 100%; position: relative; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 480px) {
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

.tech-badge {
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    padding: 1.25rem 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-bounce);
}

.tech-badge i {
    width: 28px;
    height: 28px;
    color: var(--navy-mid);
    transition: var(--transition-bounce);
}

.tech-badge span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-slate);
}

.tech-badge:hover {
    background: #fff8e6;
    border-color: var(--gold);
    transform: translateY(-4px);
}

.tech-badge:hover i { color: var(--gold-dark); transform: scale(1.1); }

.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item { display: flex; gap: 1rem; align-items: flex-start; }

.feature-icon {
    color: var(--gold-dark);
    display: flex;
    margin-top: 0.2rem;
}

.feature-icon i { width: 22px; height: 22px; }

.feature-item h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--text-navy); }
.feature-item p { color: var(--text-slate); font-size: 0.9rem; }

/* --- Products / Portfolio Section --- */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
}

@media (min-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
    background: var(--bg-page);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.25rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(244, 180, 0, 0.07),
        transparent 80%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover::before { opacity: 1; }

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 50px -18px rgba(14, 31, 66, 0.22);
    border-color: var(--gold);
}

.product-badge {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--navy-mid);
    background: var(--bg-alt-2);
    border: 1px solid var(--card-border);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.product-icon {
    color: var(--navy-deep);
    background: var(--gradient-gold);
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.product-icon i { width: 26px; height: 26px; }

.product-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 2;
    color: var(--text-navy);
}

.product-text {
    color: var(--text-slate);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.product-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-techs span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-slate);
    background: var(--bg-alt-2);
    border: 1px solid var(--card-border);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-navy);
    position: relative;
    z-index: 2;
}

.product-link i { width: 16px; height: 16px; transition: transform 0.3s ease; }
.product-card:hover .product-link { color: var(--gold-dark); }
.product-card:hover .product-link i { transform: translate(2px, -2px); }

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
}

@media (min-width: 576px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-item-box {
    background: var(--bg-page);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-bounce);
}

.service-item-box:hover {
    background: #fffdf5;
    border-color: var(--gold);
    transform: translateY(-4px);
}

.service-icon {
    color: var(--navy-deep);
    background: var(--bg-alt-2);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon i { width: 24px; height: 24px; }

.service-item-box h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-navy);
}

.service-item-box p { color: var(--text-slate); font-size: 0.85rem; line-height: 1.5; }

/* --- Process Section (styled like a pricing/step table) --- */
.process-section { background: var(--gradient-hero); }

.process-table {
    margin-top: 3rem;
    background: var(--bg-page);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
    padding: 1rem 2rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.process-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--card-border);
}

.process-row:last-child { border-bottom: none; }

.process-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--gold-dark);
    background: var(--bg-alt-2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-row-title {
    font-weight: 700;
    color: var(--text-navy);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.process-row-desc { color: var(--text-slate); font-size: 0.85rem; }

.process-callout {
    margin-top: 2rem;
    background: var(--navy-deep);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.process-callout-text { color: var(--text-on-navy-muted); font-size: 0.8rem; }
.process-callout-value { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; color: var(--text-on-navy); }

/* --- FAQ Section --- */
.faq-list {
    max-width: 780px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background: var(--bg-page);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-navy);
    text-align: left;
}

.faq-question i {
    width: 18px;
    height: 18px;
    color: var(--gold-dark);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-slate);
    font-size: 0.9rem;
}

/* --- CTA Banner --- */
.cta-banner-section { padding: 5rem 0; }

.cta-banner {
    background: var(--gradient-hero);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-on-navy);
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) { .cta-banner h2 { font-size: 2.4rem; } }

.cta-banner p {
    color: var(--text-on-navy-muted);
    max-width: 32rem;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.cta-banner .btn { position: relative; z-index: 2; }

/* --- Contact Section --- */
.contact-section { background: var(--bg-alt); }

.contact-info { display: flex; flex-direction: column; align-items: flex-start; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.detail-item { display: flex; gap: 1rem; align-items: center; }

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--bg-alt-2);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
}

.detail-icon i { width: 20px; height: 20px; }

.detail-label { display: block; font-size: 0.8rem; color: var(--text-slate-light); }
.detail-val { font-weight: 600; font-size: 0.95rem; color: var(--text-navy); }

/* Form Elements */
.contact-form-container {
    background: var(--navy-deep);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px -20px rgba(14, 31, 66, 0.35);
}

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-on-navy-muted);
    letter-spacing: 0.02em;
}

.input-wrapper { position: relative; display: flex; align-items: center; }

.input-wrapper i,
.input-wrapper svg {
    position: absolute;
    left: 1.1rem;
    width: 16px;
    height: 16px;
    color: var(--text-on-navy-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-wrapper select { appearance: none; -webkit-appearance: none; }

.contact-form input,
.contact-form select,
.contact-form textarea,
.custom-select-trigger {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.95rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--navy-border);
    color: var(--text-on-navy);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 8px;
    outline: none;
    transition: var(--transition-smooth);
    color-scheme: dark;
}

.contact-form select option {
    background-color: #081327;
    color: #ffffff;
}

.contact-form textarea { resize: none; }
.input-wrapper .textarea-icon { top: 1.1rem; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.custom-select-trigger:focus,
.custom-select-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(244, 180, 0, 0.2);
}

.input-wrapper:has(input:focus) i,
.input-wrapper:has(input:focus) svg,
.input-wrapper:has(select:focus) i,
.input-wrapper:has(select:focus) svg,
.input-wrapper:has(textarea:focus) i,
.input-wrapper:has(textarea:focus) svg,
.input-wrapper:has(.custom-select-trigger:focus) svg,
.input-wrapper:has(.custom-select-trigger[aria-expanded="true"]) svg { color: var(--gold); }

/* --- Custom Select (replaces native <select> popup, which browsers like
   Firefox render with a white background regardless of option styling) --- */
.custom-select { position: relative; }

.custom-select-trigger {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.custom-select-value {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-value.is-placeholder { color: var(--text-on-navy-muted); }

.input-wrapper:has(.custom-select-trigger[aria-expanded="true"]) svg {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    list-style: none;
    background: var(--navy);
    border: 1px solid var(--navy-border);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    padding: 0.4rem;
    max-height: 260px;
    overflow-y: auto;
}

.custom-select-options li {
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-on-navy);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.custom-select-options li:hover,
.custom-select-options li[aria-selected="true"] {
    background: rgba(244, 180, 0, 0.12);
    color: var(--gold-light);
}

.custom-select.has-error .custom-select-trigger {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.form-response { margin-top: 0.5rem; font-size: 0.85rem; border-radius: 4px; transition: var(--transition-smooth); }

.form-response.success {
    color: #6ee7b7;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
    padding: 0.75rem;
}

.form-response.error {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.75rem;
}

/* --- Footer --- */
.footer {
    background: var(--navy-deep);
    padding: 4rem 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-desc { color: var(--text-on-navy-muted); font-size: 0.85rem; max-width: 20rem; }

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-on-navy);
}

.footer-links a { color: var(--text-on-navy-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--gold-light); }

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--navy-border);
    padding-top: 2rem;
    margin-top: 1rem;
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-on-navy-muted);
    font-size: 0.75rem;
}

/* --- Animation Utilities (Scroll Reveal) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.reveal-active {
    opacity: 1;
    transform: translateY(0);
}
