/* ============================================
   DESIGN SYSTEM: Piano Amadeo
   Ivory, Gold & Midnight Blue
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Colors - 'The Grand Piano' Palette */
    --bg-primary: #FAF9F6;
    /* Alabaster/Ivory White */
    --bg-secondary: #F3F1ED;
    /* Warm Stone */
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(250, 249, 246, 0.9);

    --text-primary: #1A1C1E;
    /* Ebony / Charcoal */
    --text-secondary: #4A4D50;
    /* Smoke */
    --text-muted: #828588;

    --accent-gold: #A68A3D;
    /* Polished Gold */
    --accent-gold-light: #C5B079;
    --accent-gold-dark: #866D2E;
    --accent-warm: #8B4513;
    /* Mahogany/Wood */

    --gradient-gold: linear-gradient(135deg, #A68A3D, #D4AF37, #C5B079);
    /* Midnight Blue - Contrast Sections */
    --midnight: #0F1A2E;
    --midnight-light: #152238;
    --midnight-lighter: #1B2A44;

    --gradient-dark: linear-gradient(180deg, #0F1A2E 0%, #152238 100%);
    --gradient-card: linear-gradient(145deg, #ffffff, #F3F1ED);
    --gradient-hero: linear-gradient(160deg, #0F1A2E 0%, #152238 50%, #1B2A44 100%);

    --border-subtle: rgba(166, 138, 61, 0.15);
    --border-accent: rgba(166, 138, 61, 0.35);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 32px rgba(166, 138, 61, 0.12);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(166, 138, 61, 0.08);

    --positive: #16a34a;
    --negative: #dc2626;
    --neutral: #d97706;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --section-padding: 7rem 0;
    --container-max: 1100px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

/* --- Shared Text Styles --- */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    padding: 0.35rem 1rem;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-base);
    background: transparent;
    color: #f0ece4;
}

.navbar.scrolled {
    color: var(--text-primary);
    background: rgba(250, 249, 246, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--gradient-gold);
    border-radius: 10px;
    font-size: 1.2rem;
    color: #1A1C1E;
}

.logo-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-accent {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(240, 236, 228, 0.7);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: #f0ece4;
}

.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta-link {
    color: var(--accent-gold-light) !important;
    font-weight: 600 !important;
}

.navbar.scrolled .nav-cta-link {
    color: var(--accent-gold) !important;
}

.nav-cta-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    background: var(--gradient-gold);
    color: #1A1C1E;
    border-radius: 100px;
    transition: var(--transition-base);
}

.nav-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(166, 138, 61, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    z-index: 1001;
    cursor: pointer;
    /* Cross-platform touch handling */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    /* Apple HIG: minimum 44x44 touch target */
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f0ece4;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    pointer-events: none;
    transform-origin: center;
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-primary);
}

/* Hamburger → X animation when open */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 9rem 0 5rem;
    background: var(--gradient-hero);
    overflow: hidden;
    color: #f0ece4;
}

.hero .text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .hero-subheadline {
    color: rgba(240, 236, 228, 0.75);
}

.hero .hero-badge {
    background: var(--midnight-lighter);
    border-color: rgba(166, 138, 61, 0.25);
    color: rgba(240, 236, 228, 0.7);
}

.hero .hero-urgency {
    color: #e2c870;
}

.hero .stat-label {
    color: rgba(240, 236, 228, 0.5);
}

.hero .hero-scroll-indicator {
    color: rgba(240, 236, 228, 0.4);
}

.hero .scroll-arrow {
    border-color: rgba(240, 236, 228, 0.3);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(166, 138, 61, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(197, 176, 121, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease both;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subheadline {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 540px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-urgency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--accent-warm);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.urgency-dot {
    width: 8px;
    height: 8px;
    background: var(--negative);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(248, 113, 113, 0);
    }
}

/* Hero Visual - Real Image Layout */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(166, 138, 61, 0.1);
    overflow: hidden;
    border: 1px solid var(--border-accent);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

.hero-stats-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(15, 26, 46, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(166, 138, 61, 0.2);
    display: flex;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(240, 236, 228, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounce-arrow 2s ease infinite;
}

@keyframes bounce-arrow {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.85rem 1.8rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    line-height: 1.3;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #1A1C1E;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(166, 138, 61, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 1.5px solid var(--border-accent);
}

.btn-secondary:hover {
    background: rgba(166, 138, 61, 0.08);
    border-color: var(--accent-gold);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 1.5px solid var(--border-accent);
    border-radius: var(--radius-md);
}

.btn-outline:hover {
    background: rgba(166, 138, 61, 0.08);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    font-size: 1.1em;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    padding: var(--section-padding);
    background: #ffffff;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-featured {
    border-color: var(--accent-gold-dark);
    background: var(--gradient-card);
}

.testimonial-quote-icon {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent-gold);
    opacity: 0.4;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--border-accent);
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.testimonial-tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--accent-gold-light);
}

/* Trust Logos */
.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-logo-box {
    width: 72px;
    height: 72px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--accent-gold);
    background: var(--bg-card);
    overflow: hidden;
}

.trust-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.trust-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-base);
}

.benefit-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.icon-ring {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    /* Eliminado el margen interno */
}

.benefit-img-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cambiado a cover para llenar el espacio */
    /* filter: brightness(0) saturate(100%) invert(56%) sepia(48%) saturate(545%) hue-rotate(11deg) brightness(92%) contrast(87%); */
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.benefits-cta {
    text-align: center;
}

/* ============================================
   AUTHORITY
   ============================================ */
.authority {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.authority-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.authority-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-accent);
}

.auth-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: var(--transition-slow);
}

.authority-image-container:hover .auth-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-gold);
    color: #1A1C1E;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(166, 138, 61, 0.4);
}

.authority-content .section-tag {
    margin-bottom: 0.75rem;
}

.authority-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.authority-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.authority-quote {
    position: relative;
    padding: 1.25rem 1.5rem;
    background: var(--bg-primary);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
}

.authority-quote .quote-mark {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.5;
    line-height: 1;
}

.authority-quote p {
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-featured {
    border-color: var(--accent-gold);
    background: var(--gradient-card);
    position: relative;
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.pricing-featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: #1A1C1E;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
}

.pricing-featured .price-amount {
    color: var(--accent-gold);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-positive .feature-icon {
    color: var(--positive);
    background: rgba(74, 222, 128, 0.1);
}

.feature-negative .feature-icon {
    color: var(--negative);
    background: rgba(248, 113, 113, 0.1);
}

.feature-neutral .feature-icon {
    color: var(--neutral);
    background: rgba(251, 191, 36, 0.1);
}

.feature-highlight {
    color: var(--accent-gold-light) !important;
    font-weight: 600;
}

.pricing-verdict {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-top: 1rem;
    margin-top: auto;
}

.pricing-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--accent-warm);
    margin-top: 0.75rem;
}

/* ============================================
   MUSICAL TEST (FREE TOOL)
   ============================================ */
.musical-test {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.musical-test::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(166, 138, 61, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.test-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.test-info .section-title {
    text-align: left;
}

.test-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.test-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.test-benefits li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.check-icon {
    color: var(--positive);
    font-weight: 700;
}

.test-instructions {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.test-instructions h4 {
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.test-instructions ol {
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.test-instructions ol li {
    padding: 0.2rem 0;
}

/* Test Widget */
.test-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-step {
    display: none;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.4s ease;
}

.test-step.active {
    display: block;
}

.test-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.test-step h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.test-step>p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

/* Test Progress */
.test-progress {
    width: 100%;
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 100px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.test-progress-bar {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 100px;
    transition: width 0.5s ease;
}

.test-question-num {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

/* Audio Buttons */
.test-audio-placeholder {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-play {
    padding: 0.6rem 1.2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: 100px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-play:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Test Options */
.test-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.test-option {
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
}

.test-option:hover {
    border-color: var(--accent-gold);
    background: var(--bg-secondary);
}

.test-option.selected-correct {
    border-color: var(--positive);
    background: rgba(74, 222, 128, 0.1);
}

.test-option.selected-wrong {
    border-color: var(--negative);
    background: rgba(248, 113, 113, 0.1);
}

/* Test Email Form */
.test-email-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.test-email-form input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.test-email-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(166, 138, 61, 0.1);
}

/* Test Results - Professional Report */
.report {
    text-align: left;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.report::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.report-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
}

.report-logo {
    font-size: 2.2rem;
    line-height: 1;
}

.report-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.report-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.report-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.report-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.report-child-name {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Score Section */
.report-score-section {
    margin-bottom: 1.75rem;
}

.report-score-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.report-score-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.report-score-bar {
    width: 100%;
    height: 10px;
    background: var(--bg-elevated);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.report-score-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease-out;
    width: 0%;
}

.report-score-level {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

/* Category Breakdown */
.report-breakdown {
    margin-bottom: 1.75rem;
}

.report-section-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.report-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.report-cat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.report-cat-icon {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.report-cat-name {
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.report-cat-result {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.report-cat-result.report-pass {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
}

.report-cat-result.report-fail {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

/* Diagnosis */
.report-diagnosis {
    margin-bottom: 1.75rem;
}

.report-diagnosis p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Recommendation */
.report-recommendation {
    margin-bottom: 1.75rem;
}

.report-rec-box {
    background: rgba(166, 138, 61, 0.06);
    border: 1px solid rgba(166, 138, 61, 0.15);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.report-rec-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.report-signature {
    font-style: italic;
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.report-signature small {
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Report CTA */
.report-cta {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.report-cta p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.report-urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--accent-warm);
    margin-top: 0.75rem;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition-base);
}

.pricing-other {
    /* Standard cards */
    opacity: 0.8;
}

.pricing-other:hover {
    opacity: 1;
    border-color: var(--border-accent);
}

.pricing-featured {
    background: var(--bg-elevated);
    border: 2px solid var(--accent-gold);
    padding: 3rem 2rem;
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--midnight);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 1rem;
    border-radius: 100px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pricing-featured .pricing-label {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.pricing-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.2rem;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.feature-icon {
    flex-shrink: 0;
    font-weight: 700;
}

.feature-negative .feature-icon {
    color: var(--text-muted);
    opacity: 0.5;
}

.feature-negative {
    color: var(--text-muted);
}

.feature-neutral .feature-icon {
    color: var(--text-secondary);
}

.feature-positive .feature-icon {
    color: var(--accent-gold);
}

.feature-positive {
    color: var(--text-primary);
}

.feature-highlight {
    background: rgba(166, 138, 61, 0.1);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--accent-gold-light) !important;
    font-weight: 500;
}

.pricing-verdict {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: -1rem;
}

.pricing-urgency {
    text-align: center;
    font-size: 0.8rem;
    color: var(--accent-warm);
    margin-top: 1rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.faq-grid {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--accent-gold);
    transition: var(--transition-base);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    color: #f0ece4;
}

.final-cta .cta-text {
    color: rgba(240, 236, 228, 0.7);
}

.final-cta .cta-offer {
    background: var(--midnight-lighter);
    border-color: rgba(166, 138, 61, 0.25);
}

.final-cta .cta-offer p {
    color: rgba(240, 236, 228, 0.65);
}

.final-cta .offer-badge {
    background: rgba(166, 138, 61, 0.15);
}

.final-cta .contact-form {
    background: var(--midnight-lighter);
    border-color: rgba(166, 138, 61, 0.2);
}

.final-cta .contact-form h3 {
    color: #f0ece4;
}

.final-cta .form-group label {
    color: rgba(240, 236, 228, 0.65);
}

.final-cta .form-group input,
.final-cta .form-group select {
    background: var(--midnight);
    border-color: rgba(166, 138, 61, 0.2);
    color: #f0ece4;
}

.final-cta .form-group input:focus,
.final-cta .form-group select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(166, 138, 61, 0.15);
}

.final-cta .form-disclaimer {
    color: rgba(240, 236, 228, 0.45);
}

.final-cta .pricing-urgency {
    color: #e2c870;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(166, 138, 61, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-offer {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.offer-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.8rem;
    background: rgba(166, 138, 61, 0.1);
    color: var(--accent-gold);
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.cta-offer h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cta-offer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Form */
.cta-form-container {
    position: relative;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition-base);
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a8a3b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(166, 138, 61, 0.1);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0 1.5rem;
    background: var(--midnight);
    border-top: none;
    color: #f0ece4;
}

.footer .footer-brand p {
    color: rgba(240, 236, 228, 0.55);
}

.footer .footer-links h4,
.footer .footer-contact h4 {
    color: rgba(240, 236, 228, 0.7);
}

.footer .footer-links a {
    color: rgba(240, 236, 228, 0.5);
}

.footer .footer-links a:hover {
    color: var(--accent-gold-light);
}

.footer .footer-contact p {
    color: rgba(240, 236, 228, 0.5);
}

.footer .footer-bottom {
    border-top-color: rgba(240, 236, 228, 0.1);
}

.footer .footer-bottom p {
    color: rgba(240, 236, 228, 0.35);
}

.footer .logo-icon {
    background: var(--gradient-gold);
    color: var(--midnight);
}

.footer .logo-accent {
    color: var(--accent-gold-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-icon {
    margin-bottom: 0.75rem;
}

.footer-brand .logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.3rem 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact p {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.3rem 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   POPUPS
   ============================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

.popup-card {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(166, 138, 61, 0.1);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.popup-close:hover {
    border-color: var(--negative);
    color: var(--negative);
}

.popup-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.popup-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.popup-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.popup-cta {
    margin-bottom: 0.75rem;
}

.popup-decline {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition-fast);
}

.popup-decline:hover {
    color: var(--text-secondary);
}

/* Slide-in (Scroll Popup) */
.slide-in {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1500;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    max-width: 340px;
    box-shadow: var(--shadow-lg);
    display: none;
    animation: slideInRight 0.5s ease;
}

.slide-in.active {
    display: block;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.slide-in-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.slide-in-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A1C1E;
    flex-shrink: 0;
}

.slide-in-text h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.slide-in-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.slide-in-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.footer-adults {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-top: 0.5rem;
    font-style: italic;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: flex;
        margin-top: 2rem;
        /* order: -1; Removed to keep image below text */
    }

    .authority-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .authority-visual {
        order: 2;
    }

    .pricing-comparison {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-featured {
        transform: scale(1);
    }

    .pricing-featured:hover {
        transform: translateY(-4px);
    }

    .test-layout {
        grid-template-columns: 1fr;
    }

    .cta-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0.75rem;
        width: auto;
        height: auto;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.8rem;
        transition: opacity 0.25s ease, transform 0.25s ease;
        border: 1px solid var(--border-subtle);
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        align-items: flex-end;
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-cta-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Dark overlay behind mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 7rem 0 3rem;
    }

    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .authority-card-stack {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .auth-card {
        flex: 1;
        min-width: 200px;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .popup-card {
        padding: 2rem 1.5rem;
    }

    .test-widget {
        padding: 2rem 1.25rem;
    }

    .contact-form {
        padding: 2rem 1.25rem;
    }

    .trust-logos {
        gap: 1.5rem;
    }

    .auth-card {
        min-width: 100%;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON (PREMIUM)
   ============================================ */
.whatsapp-float {
    position: fixed;
    width: 62px;
    height: 62px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Pulse Effect Ring */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.whatsapp-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: whatsapp-shine 3s infinite;
}

@keyframes whatsapp-shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
    overflow: hidden;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
}

/* Tooltip on hover */
.whatsapp-float::after {
    content: '¿Hablamos?';
    position: absolute;
    right: 75px;
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 25px;
        right: 25px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float::after {
        display: none;
        /* Hide tooltip on mobile to avoid clutter */
    }
}