/* ==========================================================================
   KP INTERNATIONAL HAIR RESTAURATION - DESIGN SYSTEM & STYLES
   ========================================================================== */

/* 1. Base Variables & Reset */
:root {
    --primary-teal: hsl(185, 55%, 32%);
    --primary-teal-hover: hsl(185, 55%, 25%);
    --primary-teal-light: hsl(185, 35%, 95%);
    --primary-teal-muted: hsl(185, 20%, 45%);
    --accent-gold: hsl(42, 45%, 52%);
    --accent-gold-hover: hsl(42, 45%, 42%);
    --accent-gold-light: hsl(42, 50%, 93%);
    --text-dark: hsl(212, 33%, 17%);
    --text-muted: hsl(210, 12%, 46%);
    --bg-light: hsl(210, 20%, 98%);
    --bg-white: hsl(0, 0%, 100%);
    --border-color: hsl(210, 16%, 90%);
    
    /* System Colors */
    --success: hsl(145, 63%, 42%);
    --error: hsl(354, 70%, 50%);
    --warning: hsl(35, 90%, 50%);
    --warning-bg: hsl(35, 100%, 96%);

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --header-height: 80px;
    --top-bar-height: 40px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* 2. Typographic Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

/* 3. Utility Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto 20px auto;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-teal-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-secondary:hover {
    background-color: var(--primary-teal-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--bg-white);
}

.btn-gold:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--border-color);
    border-color: var(--text-dark);
}

.btn-text {
    background-color: transparent;
    color: var(--primary-teal);
    padding: 8px 16px;
}

.btn-text:hover {
    background-color: var(--primary-teal-light);
}

.btn-block {
    display: flex;
    width: 100%;
}

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

/* Micro Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(17, 107, 116, 0.4); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(17, 107, 116, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(17, 107, 116, 0); }
}

@keyframes pulseGold {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(193, 150, 72, 0.4); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 12px rgba(193, 150, 72, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(193, 150, 72, 0); }
}

.pulse-animation {
    animation: pulse 2.5s infinite;
}

.pulse-gold {
    animation: pulseGold 2.5s infinite;
}


/* ==========================================================================
   4. Header & Top Contact Bar
   ========================================================================== */
.top-bar {
    background-color: var(--primary-teal);
    color: var(--bg-white);
    height: var(--top-bar-height);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal-light);
}

.contact-item i {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.contact-item:hover {
    color: var(--bg-white);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    color: var(--primary-teal-light);
    display: flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--bg-white);
    transform: scale(1.15);
}

.social-icon i {
    width: 16px;
    height: 16px;
}

/* Main Navigation Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-btn {
    display: flex;
    align-items: center;
}

.clinic-logo {
    height: 60px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-btn:hover .clinic-logo {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

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

.nav-link:hover {
    color: var(--primary-teal);
}

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

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

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


/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--top-bar-height));
    display: flex;
    align-items: center;
    overflow: hidden; /* Clips the blurred scaled video edges */
    background: radial-gradient(circle at center, rgba(17, 107, 116, 0.08) 0%, rgba(255, 255, 255, 0) 70%),
                url('https://images.unsplash.com/photo-1579684389782-64d84b5e901a?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover; /* Fallback */
    padding: 60px 0;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.08); /* Scale prevents edge white bleed from blur */
    object-fit: cover;
    filter: blur(6px); /* Soft diffused background blur (5px to 8px) */
    z-index: 0;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.65); /* Soft premium white layer for text contrast */
    z-index: 1;
}

.hero-large-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto 24px auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
    transition: var(--transition);
}

.hero-large-logo:hover {
    transform: scale(1.03);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-transform: capitalize;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-teal);
}

.hero-feature-item i {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
}


/* ==========================================================================
   6. "Quienes Somos" / About Us Section
   ========================================================================== */
.who-we-are-section {
    background-color: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.team-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.featured-team-card {
    background-color: var(--primary-teal-light);
    border: 2px solid var(--primary-teal);
}

.team-img-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.featured-team-card .team-img-wrapper {
    border-color: var(--accent-gold);
    background-color: var(--bg-white);
}

.team-avatar-placeholder i {
    width: 40px;
    height: 40px;
    color: var(--primary-teal-muted);
}

.featured-team-card .team-avatar-placeholder i {
    color: var(--primary-teal);
}

.team-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}


/* ==========================================================================
   7. FUE Procedures & VIP Services Section
   ========================================================================== */
.procedures-section {
    background-color: var(--bg-light);
}

.procedures-container {
    max-width: 1000px;
    margin: 0 auto;
}

.fue-explanation {
    margin-bottom: 60px;
}

.fue-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fue-card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.fue-card h3 {
    font-size: 1.6rem;
}

.fue-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services-subheading {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-teal);
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* ==========================================================================
   8. Special Promo Section
   ========================================================================== */
.promo-section {
    background-color: var(--bg-white);
}

.promo-card {
    background: linear-gradient(135deg, var(--primary-teal) 0%, hsl(185, 60%, 20%) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    color: var(--bg-white);
    position: relative;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(193, 150, 72, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.promo-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: var(--accent-gold);
    color: var(--bg-white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.promo-title {
    color: var(--bg-white);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.promo-subtitle {
    color: var(--primary-teal-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.promo-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.promo-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--bg-white);
}

.promo-bullets i {
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
}

.promo-pricing-column {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
}

.price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.original-price {
    font-size: 1rem;
    color: var(--primary-teal-light);
    text-decoration: line-through;
    margin-bottom: 8px;
    opacity: 0.7;
}

.current-price {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--bg-white);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
    margin-bottom: 12px;
}

.current-price .currency {
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 4px;
    margin-right: 4px;
    color: var(--accent-gold);
}

.current-price .usd {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 8px;
    align-self: flex-end;
    margin-bottom: 6px;
    color: var(--accent-gold);
}

.deposit-text {
    font-size: 0.85rem;
    color: var(--primary-teal-light);
    margin-bottom: 24px;
}

.deposit-text strong {
    color: var(--bg-white);
}


/* ==========================================================================
   9. Before & After Section
   ========================================================================== */
.before-after-section {
    background-color: var(--bg-light);
}

.sliders-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

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

.slider-title {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.before-after-slider {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-white);
    aspect-ratio: 16/9;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-label {
    position: absolute;
    bottom: 12px;
    background-color: rgba(17, 107, 116, 0.85);
    color: var(--bg-white);
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.label-before {
    left: 12px;
    background-color: rgba(30, 41, 59, 0.85);
}

.label-after {
    right: 12px;
    border: 1px solid var(--accent-gold);
}

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

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.stars i {
    width: 16px;
    height: 16px;
    fill: var(--accent-gold);
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 700;
}


/* ==========================================================================
   10. Location Section
   ========================================================================== */
.location-section {
    background-color: var(--bg-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.location-details-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.card-tag {
    align-self: flex-start;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.location-details-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.location-address {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.location-address i {
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.card-separator {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 24px;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.info-block {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

a.info-value:hover {
    color: var(--primary-teal);
}


/* ==========================================================================
   11. Patient Quiz / Form Page Layout
   ========================================================================== */
.quiz-section {
    background-color: var(--bg-white);
    min-height: calc(100vh - var(--header-height) - var(--top-bar-height));
    padding: 60px 0;
}

.quiz-nav-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.back-home-btn {
    position: absolute;
    left: 0;
    top: 0;
}

.quiz-title-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.quiz-title-wrapper p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.quiz-progress-bar {
    display: flex;
    justify-content: space-between;
    background-color: var(--bg-light);
    border-radius: 50px;
    padding: 6px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.progress-step.active {
    background-color: var(--primary-teal);
    color: var(--bg-white);
}

/* Quiz Steps */
.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-align: center;
}

.step-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Area cards select (Step 1) */
.area-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.area-card-label {
    cursor: pointer;
    display: block;
}

.area-radio {
    display: none;
}

.area-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    transition: var(--transition);
    height: 100%;
}

.area-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-teal);
    border: 1px solid var(--border-color);
}

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

.area-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.area-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.area-radio:checked + .area-card-content {
    border-color: var(--accent-gold);
    background-color: var(--primary-teal-light);
}

.area-radio:checked + .area-card-content .area-icon {
    background-color: var(--primary-teal);
    color: var(--bg-white);
    border-color: var(--primary-teal);
}

/* Form inputs (Step 2) */
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-teal);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(17, 107, 116, 0.15);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

/* Medical Toggles */
.medical-toggles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.medical-toggle-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.toggle-question {
    font-size: 0.85rem;
    font-weight: 600;
}

.radio-toggle-group {
    display: flex;
    background-color: var(--border-color);
    border-radius: 50px;
    padding: 4px;
}

.toggle-option {
    cursor: pointer;
}

.toggle-option input {
    display: none;
}

.toggle-option span {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.toggle-option input:checked + span {
    background-color: var(--primary-teal);
    color: var(--bg-white);
}

/* Cancun Warning Box */
.warning-box {
    background-color: var(--warning-bg);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 30px;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--warning);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.warning-header i {
    width: 20px;
    height: 20px;
}

.warning-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

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

.warning-radio-option {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.warning-radio-option input {
    margin-top: 4px;
}

.warning-radio-label {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Navigation Footer */
.step-navigation-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 20px;
}

/* Step 3 Layout: Photos */
.photo-upload-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.upload-reference-panel {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.upload-reference-panel h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
    text-align: center;
}

.reference-image-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.reference-tips {
    font-size: 0.85rem;
}

.reference-tips h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.reference-tips ul {
    padding-left: 20px;
    color: var(--text-muted);
}

.upload-inputs-panel h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.photo-inputs-set {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file-input-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-label {
    font-size: 0.85rem;
    font-weight: 600;
}

.custom-file-input {
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: var(--transition);
}

.custom-file-input:hover {
    border-color: var(--primary-teal);
    background-color: var(--primary-teal-light);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--bg-white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error/Success Boxes */
.error-box {
    background-color: hsl(354, 100%, 96%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.error-box i {
    width: 18px;
    height: 18px;
}


/* ==========================================================================
   12. Success View
   ========================================================================== */
.success-section {
    background-color: var(--bg-light);
    min-height: calc(100vh - var(--header-height) - var(--top-bar-height));
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.success-card-container {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: hsl(145, 100%, 95%);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-icon {
    width: 48px;
    height: 48px;
}

.success-card-container h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.success-message {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
}

.next-steps-card {
    background-color: var(--primary-teal-light);
    border: 1px solid rgba(17, 107, 116, 0.15);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.next-steps-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.next-steps-card h4 i {
    width: 18px;
    height: 18px;
}

.next-steps-card p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}


/* ==========================================================================
   13. Footer Section
   ========================================================================== */
.main-footer {
    background-color: hsl(212, 33%, 12%);
    color: var(--primary-teal-light);
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--accent-gold);
}

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

.footer-logo {
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-links-col h4,
.footer-contact-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-col a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

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

.footer-contact-col p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-col p i {
    color: var(--accent-gold);
    width: 18px;
    height: 18px;
}

.footer-separator {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-socials a:hover {
    color: var(--accent-gold);
    transform: scale(1.2);
}


/* ==========================================================================
   14. Responsive Layout Settings
   ========================================================================== */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }
    .team-card:nth-child(4),
    .team-card:nth-child(5) {
        grid-column: span 1.5;
    }
    .promo-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sliders-container {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        z-index: 99;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
    .nav-cta-btn {
        width: 100%;
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 16px;
    }
    .hero-features {
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card:nth-child(4),
    .team-card:nth-child(5) {
        grid-column: span 1;
    }
    
    .promo-card {
        padding: 30px 20px;
    }
    .promo-title {
        font-size: 1.8rem;
    }
    .promo-bullets {
        grid-template-columns: 1fr;
    }
    .promo-pricing-column {
        padding: 24px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .location-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .map-container {
        height: 250px;
    }
    
    /* Quiz styling */
    .area-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-group-row, 
    .medical-toggles-grid,
    .photo-upload-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .upload-inputs-panel h4 {
        margin-top: 20px;
    }
    .quiz-progress-bar {
        display: none;
    }
    .back-home-btn {
        position: static;
        margin-bottom: 20px;
        align-self: flex-start;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ==========================================================================
   MUTE BUTTON
   ========================================================================== */
.mute-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}
.mute-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}
.mute-btn svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   TEAM PHOTO
   ========================================================================== */
.team-img-photo {
    background: none !important;
}
.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
}

/* ==========================================================================
   COMING SOON LOCATIONS
   ========================================================================== */
.coming-soon-locations {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.coming-soon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: hsl(42, 50%, 97%);
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
}
.coming-soon-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
    flex-shrink: 0;
}
.coming-soon-item > div {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.coming-soon-city {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}
.coming-soon-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-gold-hover);
    background: hsl(42, 60%, 88%);
    padding: 2px 8px;
    border-radius: 20px;
}

/* ==========================================================================
   PROMO ELIGIBILITY & GRADE CHART
   ========================================================================== */
.promo-eligibility-note {
    font-size: 0.85rem;
    color: hsl(35, 60%, 30%);
    background: hsl(42, 80%, 95%);
    border-left: 4px solid var(--accent-gold);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 18px;
    line-height: 1.6;
}
.promo-grade-chart {
    margin-top: 20px;
    background: rgba(255,255,255,0.6);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid hsla(42, 45%, 70%, 0.4);
}
.grade-chart-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: center;
}
.grade-chart-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}
.promo-fine-print {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
    opacity: 0.85;
}
