/* ===========================
   DESIGN SYSTEM — Virtua Corretora Redesign
   =========================== */

:root {
    /* Colors - Modern Premium Palette */
    --primary: #0F2B5B;
    --primary-light: #1A4B8C;
    --primary-dark: #091E3F;
    --accent: #2563EB;
    --accent-light: #3B82F6;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --gold: #F59E0B;
    --gold-dark: #D97706;
    --green: #10B981;
    --green-light: #34D399;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --gradient-hero: linear-gradient(135deg, #0F2B5B 0%, #1A4B8C 50%, #2563EB 100%);
    --gradient-dark: linear-gradient(135deg, #0A1628 0%, #162544 100%);
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-text: linear-gradient(135deg, #2563EB, #7C3AED);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-py: 100px;
    --container-px: 24px;

    /* Borders */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.2);

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.text-center {
    text-align: center;
}

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

.gradient-text-light {
    background: linear-gradient(135deg, #60A5FA, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===========================
   HERO BUTTONS (For pages/cta-banners)
   =========================== */
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-hero-outline {
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
    background: transparent;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
}

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.top-bar-link:hover {
    color: var(--white);
}

.whatsapp-link svg {
    color: var(--green-light);
}

.top-bar-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.separator {
    opacity: 0.3;
}

/* ===========================
   HEADER
   =========================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text small {
    font-size: 8px;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    min-width: 400px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--accent-glow);
    color: var(--accent);
}

.dropdown-icon {
    font-size: 20px;
}

.header-cta {
    font-size: 14px;
    padding: 10px 24px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 43, 91, 0.92) 0%, rgba(26, 75, 140, 0.85) 50%, rgba(37, 99, 235, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
}

.hero-text {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #60A5FA, #A78BFA, #F472B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 32px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
}

.stat-plus {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* ===========================
   SECTION COMMON
   =========================== */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-title.left {
    text-align: left;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   PRODUCTS
   =========================== */
.products {
    background: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

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

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

.product-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.product-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: var(--transition);
}

.product-link:hover {
    color: var(--accent-light);
    gap: 4px;
}

/* ===========================
   BUSINESS
   =========================== */
.business {
    overflow: hidden;
    padding: var(--section-py) 0;
}

.business-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.business-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business .container {
    position: relative;
    z-index: 1;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.business-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.business-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.business-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.business-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.business-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* ===========================
   WHY US
   =========================== */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-image {
    position: relative;
}

.why-us-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.why-us-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.why-badge-number {
    font-size: 28px;
    font-weight: 800;
}

.why-badge-text {
    font-size: 13px;
    line-height: 1.3;
    opacity: 0.9;
}

.why-us-content .section-tag {
    display: inline-block;
}

.why-us-content>p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}

.feature-item strong {
    font-size: 16px;
    color: var(--gray-900);
    display: block;
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* ===========================
   SOCIAL PROOF
   =========================== */
.social-proof {
    background: var(--gray-50);
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.proof-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.proof-header {
    margin-bottom: 20px;
}

.proof-logo {
    height: 30px;
    margin: 0 auto;
}

.ra-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--green);
}

.proof-score {
    font-size: 52px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.proof-score.ra {
    color: var(--green);
}

.proof-stars {
    color: var(--gold);
    font-size: 22px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.proof-text {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.proof-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

.proof-badge.google {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}

.proof-badge.ra {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

/* Counters Card */
.counters-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}

.counters-card:hover {
    transform: translateY(-4px);
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
}

.counter-suffix {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
}

.counter-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.counter-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* Reviews Auto-Scrolling Slider */
.reviews-slider {
    overflow: hidden;
    padding: 40px 0 20px 0;
    margin-top: 20px;
    position: relative;
}

/* Optional fade effect on the left/right edges */
.reviews-slider::before,
.reviews-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.reviews-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.reviews-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.reviews-track {
    display: flex;
    width: calc(320px * 16 + 24px * 16);
    /* Math for smooth infinite scroll based on card size + gap */
    gap: 24px;
    animation: scroll-reviews 64s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card {
    min-width: 320px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 14px;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
}

.author-name {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 14px;
}

.author-source {
    height: 20px;
}

@keyframes scroll-reviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-320px * 8 - 24px * 8));
    }
}

/* ===========================
   PARTNERS
   =========================== */
.partners-slider {
    overflow: hidden;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

.partner-logo {
    min-width: 160px;
    height: 60px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* space between image and text */
    padding: 0 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    flex-shrink: 0;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo:hover {
    transform: scale(1.15);
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-color: transparent;
}

.partner-logo span {
    font-weight: 700;
    font-size: 14px;
    color: var(--gray-400);
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* Brand Colors on Hover */
.partner-logo.amil:hover span {
    color: #E3000F;
}

/* Vermelho/Rosa Amil */
.partner-logo.bradesco:hover span {
    color: #CC092F;
}

/* Vermelho Bradesco */
.partner-logo.sulamerica:hover span {
    color: #00418A;
}

/* Azul SulAmérica */
.partner-logo.porto:hover span {
    color: #004691;
}

/* Azul Porto Seguro */
.partner-logo.unimed:hover span {
    color: #00995D;
}

/* Verde Unimed */
.partner-logo.intermedica:hover span {
    color: #004B8D;
}

/* Azul NotreDame Intermédica */
.partner-logo.tokio:hover span {
    color: #009A44;
}

/* Verde Tokio Marine */
.partner-logo.assim:hover span {
    color: #005C9A;
}

/* Azul Assim Saúde */

.partner-img {
    border-radius: 4px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo:hover .partner-img {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-160px * 8 - 40px * 8));
    }
}

/* ===========================
   FAQ
   =========================== */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-glow);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-chevron {
    transition: var(--transition);
    min-width: 20px;
    color: var(--gray-400);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
    background: var(--gradient-dark);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item svg {
    color: var(--accent-light);
    min-width: 20px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 15px;
    color: var(--gray-800);
    transition: var(--transition);
    background: var(--white);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 12px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.footer-logo .logo-text {
    font-size: 18px;
    color: var(--white);
}

.footer-logo .logo-text small {
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-address p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-address strong {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ===========================
   SCROLL REVEAL ANIMATION
   =========================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {

    .products-grid,
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-grid {
        grid-template-columns: 1fr 1fr;
    }

    .counters-card {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-around;
    }

    .counter-divider {
        width: 1px;
        height: 50px;
    }

    .why-us-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }

    .top-bar-info {
        display: none;
    }

    /* Mobile Nav */
    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%; /* Directly below the sticky header */
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: #ffffff !important;
        padding: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 9999 !important;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 8px;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
        width: 100%;
        border-radius: var(--radius);
        background: var(--gray-50);
    }

    .header-cta {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 8px 0;
        min-width: 100%;
        display: none;
        background: transparent;
    }

    .nav-dropdown.open .dropdown-menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        opacity: 1;
        visibility: visible;
        margin-top: 8px;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dropdown-item {
        background: var(--gray-50);
        padding: 14px 16px;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 80px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        grid-template-columns: 1fr;
    }

    .counters-card {
        grid-column: span 1;
        flex-direction: column;
    }

    .counter-divider {
        width: 100%;
        height: 1px;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-badge {
        right: 10px;
        bottom: -10px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 28px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .proof-score {
        font-size: 42px;
    }
}

/* ===========================
   QUOTE MODAL
   =========================== */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.quote-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.quote-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.quote-modal-overlay.active .quote-modal {
    transform: translateY(0);
}

.quote-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.quote-modal-close:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.quote-modal-header {
    margin-bottom: 24px;
    text-align: center;
}

.quote-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.quote-modal-desc {
    color: var(--gray-500);
    font-size: 15px;
}

.quote-modal-form .form-group {
    margin-bottom: 16px;
}

.quote-modal-form input,
.quote-modal-form select,
.quote-modal-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--gray-50);
    font-family: inherit;
    font-size: 16px;
    color: var(--gray-900);
    transition: all 0.3s ease;
}

.quote-modal-form input:focus,
.quote-modal-form select:focus,
.quote-modal-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.quote-modal-form .btn {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
}

.quote-modal-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 16px;
}

/* Product-specific extra fields */
.extra-fields {
    display: none;
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
    margin-bottom: 16px;
    animation: fadeInDown 0.25s ease;
}

.extra-fields.visible {
    display: block;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.extra-fields-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
    display: block;
}

.extra-fields-label-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: var(--gray-700);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.age-ranges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.age-range-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.age-range-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}

.age-range-select {
    padding: 10px 12px !important;
    font-size: 14px !important;
}

.quote-modal-form input[type="date"],
.quote-modal-form input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    background: var(--gray-50);
    color: var(--gray-900);
    transition: all 0.3s ease;
}

.quote-modal-form input[type="date"]:focus,
.quote-modal-form input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35) !important;
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45) !important;
}
