html {
    scroll-behavior: smooth;
    scroll-padding-top: 7.5rem;
}

/* Prevent native CSS smoothing from fighting the frame-by-frame animation. */
html.sanitas-scroll-running {
    scroll-behavior: auto !important;
}

section[id],
.privacy-section[id] {
    scroll-margin-top: 7.5rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

:root {
    --dark: #0d1846;
    --blue: #0079c8;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --green: #25d366;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --orange: #ff6b35;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* PROMO BANNERS */
.summer-promo-main {
    background: linear-gradient(135deg, var(--blue) 0%, #005a99 100%);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.summer-promo-main h2 { font-size: 1.75rem; font-weight: 800; margin: 0.5rem 0; }
.summer-promo-main p { font-size: 1rem; margin: 0.5rem 0; opacity: 0.95; }

.summer-promo-single {
    background: linear-gradient(135deg, #0079c8, #005a99);
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.summer-promo-single span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.summer-promo-single a { color: #ffd700; text-decoration: underline; margin-left: 0.5rem; }

.promo-badge {
    background: var(--orange);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 800;
}

/* HEADER */
.header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1002;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img { width: 70px; height: 70px; object-fit: contain; }

.logo-text {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
}

.logo-text strong {
    color: var(--blue);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-link:hover { color: var(--blue); text-decoration: none; }
.nav-link.active { color: var(--dark); font-weight: 700; border-bottom-color: var(--blue); }

.lang-switcher {
    display: flex;
    border: 1px solid var(--blue);
    border-radius: 6px;
    overflow: hidden;
}

.lang-btn {
    padding: 0.5rem 0.875rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--blue);
    font-family: inherit;
    transition: all 0.2s;
}

.lang-btn.active { background: var(--blue); color: white; }

/* BUTTONS */
.btn-primary {
    background: var(--dark);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    display: inline-block;
    transition: background 0.2s;
}

.btn-primary:hover { background: var(--blue); color: white; text-decoration: none; }

.btn-secondary {
    background: var(--blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
    transition: background 0.2s;
}

.btn-secondary:hover { background: var(--dark); color: white; text-decoration: none; }

.btn-full { width: 100%; text-align: center; }

/* HERO */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.hero-content { max-width: 800px; }

.hero-badge {
    display: inline-block;
    background: rgba(0,121,200,0.1);
    color: #005a99;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.hero p { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 2rem; line-height: 1.7; }

.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }

.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
}

/* CARDS */
.card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-100);
}

.card h2 { color: var(--dark); margin-bottom: 1.5rem; }
.card h3 { color: var(--dark); margin-bottom: 1rem; }

/* FORMS */
.form-section { padding: 4rem 0; background: var(--white); }
.form-section h2 { text-align: center; color: var(--dark); font-size: 2rem; margin-bottom: 0.5rem; }
.form-section > .container > p { text-align: center; color: var(--gray-600); margin-bottom: 2.5rem; }

.form-container { max-width: 800px; margin: 0 auto; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
}

.form-group:has(input[required]) > label::after,
.form-group:has(select[required]) > label::after {
    content: "\00a0*";
    color: var(--danger);
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,121,200,0.1);
}

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

.radio-group { display: flex; gap: 1.5rem; margin-top: 0.5rem; flex-wrap: wrap; }

.radio-option { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

.questionnaire-block {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0 0 0.5rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--gray-50);
}

.questionnaire-block legend {
    padding: 0 0.5rem;
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 700;
}

.questionnaire-note {
    margin: 0 0 1.25rem;
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.55;
}

.questionnaire-question {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.questionnaire-question:first-of-type { padding-top: 0.5rem; }
.questionnaire-question:last-child { padding-bottom: 0; border-bottom: 0; }

.questionnaire-question-text {
    margin: 0;
    color: var(--gray-900);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.questionnaire-question.is-required .questionnaire-question-text::after {
    content: "\00a0*";
    color: var(--danger);
    font-weight: 700;
}

.questionnaire-options { margin-top: 0.75rem; }

.questionnaire-sleep-options {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.questionnaire-sleep-options .radio-option {
    align-items: flex-start;
    line-height: 1.45;
}

.questionnaire-block input[type="radio"] {
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.consent input { margin-top: 0.25rem; flex-shrink: 0; }
.consent a { color: var(--blue); font-weight: 600; }

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.page-hero h1 { font-size: 3rem; margin-bottom: 1rem; font-weight: 800; }
.page-hero p { font-size: 1.25rem; opacity: 0.9; }

.page-content { padding: 4rem 0; }

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--gray-100);
    transition: all 0.2s;
    overflow: hidden;
    cursor: pointer;
    color: white;
}

.product-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,121,200,0.15);
}

.product-card .product-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.product-card h3 { color: white; font-size: 1.375rem; margin-bottom: 0.75rem; }
.product-card p { color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; }

.product-card .product-features { list-style: none; margin-bottom: 1.5rem; }
.product-card .product-features li {
    padding: 0.375rem 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-card .product-features li::before { content: "✓"; color: #ffd700; font-weight: 700; }

.product-card .btn-secondary {
    background: white;
    color: var(--dark);
}
.product-card .btn-secondary:hover { background: #ffd700; }

/* BANNERS */
.banners-section { padding: 3rem 0; background: var(--gray-50); }
.banners-section h2 { text-align: center; color: var(--dark); font-size: 2rem; margin-bottom: 2.5rem; }

.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1.5rem;
}

.banner-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    border: 1px solid var(--gray-100);
}

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

.banner-image {
    height: 180px;
    background: linear-gradient(135deg, var(--blue), var(--dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.banner-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.banner-content { padding: 1.5rem; }
.banner-content h3 { color: var(--dark); font-size: 1.25rem; margin-bottom: 0.5rem; }
.banner-content p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 1rem; }

/* TICKET */
.ticket-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-whatsapp-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.contact-item h4 { color: var(--dark); margin-bottom: 0.25rem; }
.contact-item p { color: var(--gray-600); font-size: 0.95rem; }

/* ABOUT */
.about-intro { margin-bottom: 3rem; }
.about-intro h2 { color: var(--dark); margin-bottom: 1rem; }
.about-intro p { color: var(--gray-600); line-height: 1.7; }

.why-sanitas { margin-bottom: 3rem; }
.why-sanitas h2 { color: var(--dark); margin-bottom: 1.5rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.feature-card h3 { color: var(--blue); font-size: 1.5rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--gray-600); font-size: 0.9rem; }

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-item {
    background: linear-gradient(135deg, var(--dark), var(--blue));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number { font-size: 2.5rem; font-weight: 800; }
.stat-label { opacity: 0.9; margin-top: 0.5rem; }

.history-section { margin-bottom: 3rem; }
.history-section h2 { color: var(--dark); margin-bottom: 2rem; text-align: center; }

.timeline { max-width: 800px; margin: 0 auto; }

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-year {
    background: var(--blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    min-width: 80px;
    text-align: center;
    height: fit-content;
}

.timeline-content h3 { color: var(--dark); margin-bottom: 0.5rem; }
.timeline-content p { color: var(--gray-600); font-size: 0.95rem; }

.hospitals-section h2 { color: var(--dark); text-align: center; margin-bottom: 2rem; }

.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.hospital-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hospital-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.hospital-card h3 { color: var(--dark); margin-bottom: 0.5rem; }
.hospital-card p { color: var(--gray-600); font-size: 0.9rem; }

/* FOOTER */
.footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 { color: white; margin-bottom: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col a { color: #cbd5e1; display: block; padding: 0.25rem 0; font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: white; }

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0.75rem;
}

.footer-agent { font-size: 0.9rem; font-weight: 600; color: white; }

.whatsapp-btn-footer {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: var(--green);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float.is-tucked {
    opacity: 0;
    transform: translateY(1rem) scale(0.9);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s linear 0.2s;
}
.whatsapp-float svg { width: 32px; height: 32px; }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gray-100);
    padding: 1rem max(1.5rem, calc((100% - 1200px) / 2));
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: none;
}

.cookie-banner.show {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.cookie-banner p {
    flex: 1 1 auto;
    margin: 0;
    padding-inline-end: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--gray-600);
}

/* Accept / Reject sit side by side at the end of the banner with identical size */
.cookie-banner .btn-small {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 168px;
    height: 44px;
    margin: 0;
    padding: 0 1.25rem;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .cookie-banner { padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom, 0px)); }
    .cookie-banner.show { flex-wrap: wrap; gap: .6rem; }
    .cookie-banner p { flex: 1 1 100%; padding-inline-end: 0; }
    .cookie-banner .btn-small { flex: 1 1 0; min-width: 0; padding-inline: .75rem; }
}

/* THANK YOU */
.thankyou-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.thankyou-card {
    max-width: 600px;
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(13,24,70,0.15);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success), #059669);
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.thankyou-card h1 { color: var(--dark); font-size: 2.25rem; margin-bottom: 1rem; }
.thankyou-card p { color: var(--gray-600); font-size: 1.125rem; margin-bottom: 2rem; }

.thankyou-info {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: start;
}

.thankyou-info h3 { color: var(--dark); margin-bottom: 0.75rem; }
.thankyou-info ul { list-style: none; }
.thankyou-info li { padding: 0.5rem 0; color: var(--gray-600); }
.thankyou-info li::before { content: "✓ "; color: var(--success); font-weight: 700; }

.thankyou-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* PRODUCT DETAIL */
.product-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.product-main { display: flex; flex-direction: column; gap: 1.5rem; }

.sticky-card { position: sticky; top: 120px; }

.breadcrumb { text-align: center; font-size: 0.9rem; margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: white; }

.coverage-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-100); }
.coverage-section:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.coverage-section h3 { color: var(--dark); margin-bottom: 0.75rem; }

.product-features { list-style: none; margin-bottom: 1.5rem; }
.product-features li {
    padding: 0.375rem 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.product-features li::before { content: "✓"; color: var(--blue); font-weight: 700; }

.banner-table { width: 100%; border-collapse: collapse; }
.banner-table th { text-align: start; padding: 0.875rem; background: var(--gray-50); color: var(--gray-600); font-size: 0.875rem; font-weight: 600; border-bottom: 1px solid var(--gray-200); }
.banner-table td { padding: 1rem 0.875rem; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; }
.banner-table tr:hover { background: var(--gray-50); }

/* MOBILE */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 1rem; padding: 1rem; }
    .logo img { width: 56px; height: 56px; }
    .nav { justify-content: center; gap: 0.75rem; font-size: 0.85rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; }
    .page-hero h1 { font-size: 2rem; }
    .form-grid { grid-template-columns: 1fr; }
    .ticket-grid, .contact-grid, .product-detail-grid { grid-template-columns: 1fr; }
    .stats-section { grid-template-columns: repeat(2, 1fr); }
    .sticky-card { position: static; }
    .thankyou-card { padding: 2rem 1.5rem; }
    .thankyou-card h1 { font-size: 1.75rem; }
}

/* ============================================
   SUMMER OFFER 2026 - STYLES
   ============================================ */

/* Preview Banner in Homepage */
.summer-banner-preview {
    border: 2px solid #ff6b35;
    transition: all 0.3s;
}

.summer-banner-preview:hover {
    border-color: #f7931e;
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255,107,53,0.2);
}

/* Summer Offer Page Hero */
.summer-hero {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd700 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.summer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="20" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="10" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.summer-hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.summer-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.summer-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.summer-hero .highlight {
    color: #ffd700;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.summer-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.summer-hero .period {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: #ff6b35;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    text-decoration: none;
}

.btn-whatsapp {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Offer Cards */
.offer-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid var(--gray-100);
}

.offer-card.pymes {
    border-color: #ff6b35;
    background: linear-gradient(135deg, #fff9f5 0%, white 100%);
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.offer-header h2 {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.offer-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
}

/* Discount Grid */
.discount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.discount-item {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--gray-100);
    transition: all 0.3s;
}

.discount-item.main {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-color: #ff6b35;
}

.discount-item.pymes-main {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.discount-value {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.discount-label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.discount-desc {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Offer Details */
.offer-details {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.offer-details h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.details-list li:last-child {
    border-bottom: none;
}

/* Comparison Table */
.comparison-table-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.comparison-table th {
    background: var(--dark);
    color: white;
    padding: 1rem;
    text-align: start;
    font-weight: 600;
}

.comparison-table th:first-child {
    border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.comparison-table tr:hover {
    background: var(--gray-50);
}

.comparison-table .highlight-row {
    background: #fff3e0;
}

.comparison-table .highlight-row td {
    color: #ff6b35;
    font-weight: 600;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--dark), var(--blue));
    color: white;
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 1rem;
    opacity: 0.8;
}

.cta-note a {
    color: #ffd700;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .summer-hero h1 {
        font-size: 2rem;
    }
    
    .summer-hero .highlight {
        font-size: 2.5rem;
    }
    
    .summer-hero .subtitle {
        font-size: 1.125rem;
    }
    
    .offer-header {
        flex-direction: column;
        text-align: center;
    }
    
    .discount-value {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta, .btn-whatsapp {
        width: 100%;
    }
}

/* ============================================
   HERO SECTION WITH IMAGE
   ============================================ */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,121,200,0.1), rgba(13,24,70,0.1));
    border-radius: 20px;
    pointer-events: none;
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.privacy-nav {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.privacy-nav h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.privacy-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.privacy-link:hover,
.privacy-link.active {
    background: var(--gray-50);
    color: var(--blue);
    text-decoration: none;
}

.privacy-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.privacy-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
}

.privacy-date {
    color: var(--blue);
    margin-bottom: 1rem;
}

.privacy-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.privacy-section h2 {
    color: var(--dark);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blue);
}

.info-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.info-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.info-label {
    font-weight: 600;
    color: var(--dark);
    min-width: 200px;
}

.info-value {
    color: var(--gray-700);
}

.purpose-list {
    margin-top: 1.5rem;
}

.purpose-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.purpose-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.purpose-content h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.purpose-content p {
    color: var(--gray-600);
    margin: 0;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.legal-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--gray-700);
}

.legal-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

.alert-box {
    background: #fef3c7;
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    color: #78350f;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.right-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.right-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.right-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.right-card h3 {
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.right-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.exercise-rights {
    background: linear-gradient(135deg, var(--blue), var(--dark));
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.exercise-rights h3 {
    margin-bottom: 1rem;
}

.email-link {
    display: inline-block;
    background: white;
    color: var(--blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    transition: all 0.2s;
}

.email-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.privacy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-100);
    text-align: center;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-50);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.2s;
}

.contact-method:hover {
    background: var(--blue);
    color: white;
    text-decoration: none;
}

/* ============================================
   TICKET SUCCESS PAGE
   ============================================ */
.ticket-success-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.ticket-success-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    text-align: center;
}

.success-animation {
    margin-bottom: 2rem;
}

.success-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
}

.success-circle-bg {
    stroke: #10b981;
    stroke-width: 2;
    fill: none;
    opacity: 0.2;
}

.success-checkmark-path {
    stroke: #10b981;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

.success-circle.animate .success-checkmark-path {
    animation: drawCheck 0.6s ease-out 0.3s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-title {
    color: var(--dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.success-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.ticket-info-box {
    background: linear-gradient(135deg, var(--blue), var(--dark));
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
}

.ticket-code-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ticket-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.ticket-code {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.ticket-instruction {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.next-steps {
    margin-bottom: 2.5rem;
}

.next-steps h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.step-item {
    display: flex;
    gap: 1rem;
    text-align: start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.response-times {
    margin-bottom: 2.5rem;
}

.response-times h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.time-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.time-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gray-50);
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.badge-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.time-badge.low .badge-dot { background: #10b981; }
.time-badge.medium .badge-dot { background: #f59e0b; }
.time-badge.high .badge-dot { background: #ef4444; }

.badge-label {
    font-weight: 600;
    color: var(--dark);
}

.badge-time {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ============================================
   RESPONSIVE UPDATES
   ============================================ */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-container {
        grid-template-columns: 1fr;
    }
    
    .privacy-sidebar {
        position: static;
    }
    
    .privacy-content {
        padding: 2rem 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .ticket-success-card {
        padding: 2rem 1.5rem;
    }
    
    .success-title {
        font-size: 1.75rem;
    }
    
    .ticket-code {
        font-size: 1.25rem;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .info-label {
        min-width: auto;
    }
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.privacy-nav-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.privacy-nav-card h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.privacy-nav-card a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.privacy-nav-card a:hover,
.privacy-nav-card a.active {
    background: var(--gray-50);
    color: var(--blue);
    text-decoration: none;
}

.privacy-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.privacy-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-badge {
    background: var(--gray-50);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.privacy-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
}

.privacy-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.privacy-section h2 {
    color: var(--dark);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blue);
}

.info-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.info-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.info-label {
    font-weight: 600;
    color: var(--dark);
    min-width: 200px;
}

.info-value {
    color: var(--gray-700);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.purpose-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.purpose-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.purpose-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.purpose-card h3 {
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.purpose-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.legal-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--gray-700);
}

.legal-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

.alert-box {
    background: #fef3c7;
    border-left: 4px solid var(--warning);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    color: #78350f;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.right-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.right-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.right-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.right-card h3 {
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.right-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.exercise-rights {
    background: linear-gradient(135deg, var(--blue), var(--dark));
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.exercise-rights h3 {
    margin-bottom: 1rem;
}

.email-link {
    display: inline-block;
    background: white;
    color: var(--blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    transition: all 0.2s;
}

.email-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-50);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.2s;
}

.contact-method:hover {
    background: var(--blue);
    color: white;
    text-decoration: none;
}

/* ============================================
   TICKET SUCCESS PAGE
   ============================================ */
.ticket-success-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.ticket-success-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    text-align: center;
}

.success-animation {
    margin-bottom: 2rem;
}

.success-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
}

.success-circle-bg {
    stroke: #10b981;
    stroke-width: 2;
    fill: none;
    opacity: 0.2;
}

.success-checkmark-path {
    stroke: #10b981;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

.success-circle.animate .success-checkmark-path {
    animation: drawCheck 0.6s ease-out 0.3s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-title {
    color: var(--dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.success-subtitle {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.ticket-info-box {
    background: linear-gradient(135deg, var(--blue), var(--dark));
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
}

.ticket-code-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ticket-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.ticket-code {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
}

.ticket-instruction {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.next-steps {
    margin-bottom: 2.5rem;
}

.next-steps h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.step-item {
    display: flex;
    gap: 1rem;
    text-align: start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.response-times {
    margin-bottom: 2.5rem;
}

.response-times h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.time-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.time-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gray-50);
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.badge-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.time-badge.low .badge-dot { background: #10b981; }
.time-badge.medium .badge-dot { background: #f59e0b; }
.time-badge.high .badge-dot { background: #ef4444; }

.badge-label {
    font-weight: 600;
    color: var(--dark);
}

.badge-time {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ============================================
   ADMIN LOGIN MODERN
   ============================================ */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%);
    padding: 2rem;
}

.admin-login-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.admin-login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--blue), var(--dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.admin-login-card h1 {
    color: var(--dark);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.admin-login-card > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.admin-login-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.admin-login-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0,121,200,0.1);
}

.admin-login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--blue), var(--dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,121,200,0.3);
}

.admin-login-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 1rem;
    display: none;
}

.admin-login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ============================================
   RESPONSIVE UPDATES
   ============================================ */
@media (max-width: 768px) {
    .privacy-layout {
        grid-template-columns: 1fr;
    }
    
    .privacy-sidebar {
        position: static;
    }
    
    .privacy-content {
        padding: 2rem 1.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .ticket-success-card {
        padding: 2rem 1.5rem;
    }
    
    .success-title {
        font-size: 1.75rem;
    }
    
    .ticket-code {
        font-size: 1.25rem;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .admin-login-card {
        padding: 2rem 1.5rem;
    }
}
/* ============================================
   SUMMER PROMO BANNER - MAIN
   ============================================ */
.summer-promo-main {
    background: linear-gradient(135deg, #0079c8 0%, #005a99 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="20" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.promo-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-badge {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.promo-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0.5rem 0;
    line-height: 1.3;
}

.promo-highlight {
    color: #ffd700;
    font-size: 2.25rem;
}

.promo-subtitle {
    font-size: 1rem;
    margin: 0.5rem 0;
    opacity: 0.95;
}

.promo-period {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.85;
}

.promo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-promo-primary {
    display: inline-block;
    background: white;
    color: #0079c8;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-promo-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn-promo-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-promo-secondary:hover {
    background: white;
    color: #0079c8;
    text-decoration: none;
}

/* ============================================
   HERO IMAGE
   ============================================ */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hero-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0079c8, #0d1846);
    border-radius: 20px;
    display: none;
}

.hero-image-wrapper:has(.hero-image[style*="display: none"]) .hero-image-fallback {
    display: block;
}

/* ============================================
   NAV CLIENT AREA
   ============================================ */
.nav-client-area {
    background: var(--blue);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.nav-client-area:hover {
    background: var(--dark);
    text-decoration: none;
}

/* ============================================
   FORM CONSENT
   ============================================ */
.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.consent-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.consent-text a {
    color: var(--blue);
    text-decoration: underline;
    font-weight: 600;
}

/* ============================================
   FOOTER ADDRESS
   ============================================ */
.footer-address {
    font-style: normal;
    color: #cbd5e1;
}

.footer-address a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-address a:hover {
    color: white;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.whatsapp-link:hover {
    background: #20bd5a;
    text-decoration: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .promo-title {
        font-size: 1.25rem;
    }
    
    .promo-highlight {
        font-size: 1.75rem;
    }
    
    .promo-buttons {
        flex-direction: column;
    }
    
    .btn-promo-primary,
    .btn-promo-secondary {
        width: 100%;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    /* On phones the headline and its button come first; the stock photo adds nothing there. */
    .hero-image-wrapper {
        display: none;
    }
    
    .nav-client-area {
        display: none;
    }
}
/* ============================================
   PRODUCT CARDS WITH BACKGROUND IMAGES
   ============================================ */
.product-card {
    background-color: var(--dark) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: white;
    position: relative;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 16px;
}

/* Overlay آبی - لایه میانی (کاملاً روی background) */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13,24,70,0.92) 0%, rgba(0,121,200,0.82) 100%);
    z-index: 1;
    transition: all 0.3s ease;
    border-radius: 16px;
}

.product-card:hover::before {
    background: linear-gradient(135deg, rgba(13,24,70,0.85) 0%, rgba(0,121,200,0.72) 100%);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,121,200,0.4);
    border-color: rgba(255,255,255,0.4);
}

/* محتوای کارت - بالاترین لایه */
.product-card > * {
    position: relative;
    z-index: 2;
}

.product-card .product-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.product-card h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.product-card > p {
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.product-card .product-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
    flex-grow: 1;
}

.product-card .product-features li {
    padding: 0.5rem 0;
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.product-card .product-features li::before {
    content: "✓";
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.product-card .btn-secondary {
    background: white;
    color: var(--dark);
    align-self: flex-start;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.product-card .btn-secondary:hover {
    background: #ffd700;
    color: var(--dark);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Responsive for product cards */
@media (max-width: 768px) {
    .product-card {
        min-height: 450px;
        padding: 1.5rem;
    }
    
    .product-card h3 {
        font-size: 1.25rem;
    }
}

#bannersContainer { display: contents; }

.banner-dynamic-badge {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.banner-dynamic-link {
    display: inline-block;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.banner-card-expired {
    opacity: .84;
    filter: saturate(.72);
}

.banner-card-expired .banner-image {
    background: linear-gradient(135deg, #6b7b86, #394955);
}

.banner-card-expired .banner-dynamic-badge {
    background: #667783;
}

/* =========================================================
   Shared form feedback and insurance detail components
   ========================================================= */
.form-feedback {
    display: none;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.form-feedback.show {
    display: block;
}

.form-feedback.error {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

.form-feedback.success {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
}

.admin-card {
    position: relative;
    padding: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 1.25rem;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 32px rgba(13, 24, 70, 0.07);
}

.admin-card h2 {
    margin: 0 0 1rem;
    color: var(--sanitas-dark);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    line-height: 1.3;
}

.admin-card h3 {
    color: var(--sanitas-dark);
}

.admin-card > p {
    color: var(--gray-600);
    line-height: 1.75;
}

.product-sidebar {
    position: relative;
    min-width: 0;
    align-self: start;
    isolation: isolate;
}

.product-sidebar .sticky-card {
    position: sticky;
    top: 100px;
    z-index: 10;
}

.product-sidebar .admin-card:not(.sticky-card) {
    z-index: 1;
}

.product-versions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.version-card {
    position: relative;
    min-height: 100%;
    padding: 1.35rem;
    border: 1px solid var(--gray-200);
    border-radius: 15px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.version-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 121, 200, 0.35);
    box-shadow: 0 12px 28px rgba(13, 24, 70, 0.09);
}

.version-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.05rem;
}

.version-card p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.65;
}

.version-badge {
    display: inline-flex;
    margin-bottom: 0.8rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sanitas-blue), #005a99);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.coverage-section {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.coverage-section:last-child {
    border-bottom: 0;
}

.coverage-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 1.06rem;
}

.product-features {
    display: grid;
    gap: 0.55rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-features li {
    position: relative;
    padding-left: 1.45rem;
    color: var(--gray-700);
    line-height: 1.65;
}

.product-features li::before {
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: var(--sanitas-blue);
    content: "✓";
    font-weight: 800;
}

.admin-card .banner-table {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

@media (max-width: 900px) {
    .product-sidebar .sticky-card {
        position: static;
    }
}

/* =========================================================
   HOME FORM: COUNTRY, ZIP CODE AND DATE OF BIRTH
   ========================================================= */
.birth-date-group {
    position: relative;
}

.birth-date-shell {
    position: relative;
    width: min(100%, 430px);
}

.birth-date-input-row {
    display: flex;
    min-height: 52px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.birth-date-input-row:hover {
    border-color: #94a3b8;
}

.birth-date-input-row:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 121, 200, 0.12);
}

.form-group .birth-date-input-row .birth-date-display {
    min-width: 0;
    flex: 1;
    min-height: 50px;
    padding: 0.8rem 0.95rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font: inherit;
    color: var(--gray-900);
    outline: none;
}

.form-group .birth-date-input-row .birth-date-display:focus {
    border: 0;
    box-shadow: none;
}

.birth-date-display::placeholder {
    color: #6b7280;
    opacity: 1;
}

.birth-date-toggle {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    min-height: 50px;
    place-items: center;
    border: 0;
    border-left: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--blue);
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.birth-date-toggle:hover,
.birth-date-toggle:focus-visible {
    background: #eaf5fc;
    color: #005f9e;
    outline: none;
}

.birth-date-toggle svg,
.birth-calendar-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.birth-calendar {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 0.65rem);
    left: 0;
    width: min(100vw - 2rem, 390px);
    padding: 1rem;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
        0 24px 60px rgba(13, 24, 70, 0.18),
        0 8px 20px rgba(13, 24, 70, 0.1);
    animation: birth-calendar-enter 0.16s ease-out;
}

.birth-calendar[hidden] {
    display: none !important;
}

@keyframes birth-calendar-enter {
    from {
        opacity: 0;
        transform: translateY(-5px) scale(0.985);
    }

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

.birth-calendar-header {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.birth-calendar-selectors {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(90px, 0.85fr);
    gap: 0.5rem;
}

.birth-calendar-selectors select {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0.5rem 1.8rem 0.5rem 0.7rem;
    border: 1px solid #d7e0ea;
    border-radius: 9px;
    background-color: #f8fafc;
    color: var(--dark);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.birth-calendar-selectors select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 121, 200, 0.12);
    outline: none;
}

.birth-calendar-nav {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    background: #ffffff;
    color: var(--dark);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.birth-calendar-nav:hover:not(:disabled),
.birth-calendar-nav:focus-visible:not(:disabled) {
    border-color: var(--blue);
    background: #eef8fe;
    color: var(--blue);
    outline: none;
}

.birth-calendar-nav:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.birth-calendar-weekdays,
.birth-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.3rem;
}

.birth-calendar-weekdays {
    margin-bottom: 0.35rem;
}

.birth-calendar-weekdays span {
    display: grid;
    height: 30px;
    place-items: center;
    color: #687386;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
}

.birth-calendar-spacer {
    aspect-ratio: 1;
}

.birth-calendar-day {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--gray-900);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        transform 0.15s ease;
}

.birth-calendar-day:hover:not(:disabled),
.birth-calendar-day:focus-visible:not(:disabled) {
    background: #eaf5fc;
    color: #005f9e;
    outline: none;
    transform: translateY(-1px);
}

.birth-calendar-day.is-today {
    box-shadow: inset 0 0 0 1px var(--blue);
    color: var(--blue);
}

.birth-calendar-day.is-selected,
.birth-calendar-day.is-selected:hover {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(0, 121, 200, 0.24);
}

.birth-calendar-day:disabled {
    color: #c4cad4;
    cursor: not-allowed;
}

.birth-calendar-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding-top: 0.8rem;
    border-top: 1px solid #edf1f5;
}

.birth-calendar-action {
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    border: 1px solid #d7e0ea;
    border-radius: 9px;
    background: #ffffff;
    color: var(--gray-700);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.birth-calendar-action:hover,
.birth-calendar-action:focus-visible {
    border-color: var(--blue);
    color: var(--blue);
    outline: none;
}

.birth-calendar-action-primary {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
}

.birth-calendar-action-primary:hover,
.birth-calendar-action-primary:focus-visible {
    background: #0067aa;
    color: #ffffff;
}

.field-help {
    margin: 0.65rem 0 0;
    color: var(--gray-600);
    font-size: 0.82rem;
    line-height: 1.5;
}

.form-group input:disabled,
.form-group select:disabled {
    border-color: #e2e8f0;
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 1;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:focus {
    border-color: #ef4444;
}

#submitBtn[aria-busy="true"] {
    cursor: wait;
    opacity: 0.82;
}

/* =========================================================
   HOME FOOTER: CONTACT DETAILS
   ========================================================= */
.footer-address {
    display: grid;
    gap: 0.65rem;
    font-style: normal;
}

.footer-col .footer-contact-row {
    display: flex !important;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: #e2e8f0;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.footer-col a.footer-contact-row:hover {
    border-color: rgba(0, 121, 200, 0.7);
    background: rgba(0, 121, 200, 0.16);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.footer-contact-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    background: rgba(0, 121, 200, 0.2);
    color: #7dd3fc;
}

.footer-contact-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.12rem;
}

.footer-contact-copy strong {
    color: #ffffff;
    font-size: 0.87rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
}

.footer-contact-copy small {
    color: #aebbd0;
    font-size: 0.74rem;
    font-style: normal;
    line-height: 1.35;
}

.footer-contact-email {
    overflow-wrap: anywhere;
}

/* =========================================================
   HOME FOOTER: WHATSAPP CONTACT CARD
   ========================================================= */
.footer-col .footer-whatsapp-card {
    display: flex !important;
    align-items: center;
    gap: 0.8rem;
    width: min(100%, 285px);
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(37, 211, 102, 0.06)),
        rgba(255, 255, 255, 0.035);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.footer-col .footer-whatsapp-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 211, 102, 0.55);
    background:
        linear-gradient(135deg, rgba(37, 211, 102, 0.26), rgba(37, 211, 102, 0.09)),
        rgba(255, 255, 255, 0.05);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.footer-whatsapp-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
}

.footer-whatsapp-icon svg {
    width: 22px;
    height: 22px;
}

.footer-whatsapp-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-whatsapp-copy strong {
    color: #ffffff;
    font-size: 0.93rem;
    line-height: 1.3;
}

.footer-whatsapp-copy small {
    color: #cbd5e1;
    font-size: 0.76rem;
    line-height: 1.35;
}

.footer-whatsapp-arrow {
    flex: 0 0 auto;
    color: #86efac;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.footer-whatsapp-card:hover .footer-whatsapp-arrow {
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .birth-date-shell,
    .birth-calendar {
        width: 100%;
    }

    .birth-calendar {
        padding: 0.8rem;
    }

    .birth-calendar-header {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 0.45rem;
    }

    .birth-calendar-nav {
        width: 38px;
        height: 38px;
    }

    .birth-calendar-selectors {
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 0.35rem;
    }

    .birth-calendar-selectors select {
        padding-right: 1.35rem;
        padding-left: 0.5rem;
        font-size: 0.8rem;
    }

    .birth-calendar-day {
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .footer-col .footer-contact-row,
    .footer-col .footer-whatsapp-card {
        width: 100%;
    }
}

/* =========================================================
   INSURANCE CATALOG: CARD CLIPPING AND FEATURE ALIGNMENT
   ========================================================= */
.products-grid .product-card {
    box-sizing: border-box;
    isolation: isolate;
    overflow: hidden;
    border-color: #17396a;
    background-clip: padding-box !important;
}

.products-grid .product-card::before {
    inset: 0;
    border-radius: 14px;
}

.products-grid .product-card:hover {
    border-color: #7dd3fc;
}

.products-grid .product-card .product-features {
    display: grid;
    gap: 0.3rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.products-grid .product-card .product-features li {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr);
    align-items: start;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.45rem 0;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.55;
}

.products-grid .product-card .product-features li::before {
    position: static;
    display: block;
    width: 1.15rem;
    margin: 0;
    color: #ffd700;
    content: "✓";
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
}

/* =========================================================
   SHARED SUMMER PROMOTION BAR
   ========================================================= */
.summer-promo-single {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    line-height: 1.35;
}

.summer-promo-inner {
    display: flex;
    width: min(100%, 1200px);
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0 auto;
    flex-wrap: wrap;
}

.summer-promo-single .promo-badge {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 !important;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    line-height: 1;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.summer-promo-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 0;
    flex-wrap: wrap;
    line-height: 1.3;
}

.summer-promo-single .summer-promo-link {
    display: inline-flex;
    align-items: center;
    margin: 0;
    color: #ffd700;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .summer-promo-single {
        min-height: 0;
        padding: 0.65rem 0.8rem;
    }

    .summer-promo-inner {
        gap: 0.45rem 0.6rem;
    }

    .summer-promo-copy {
        width: 100%;
    }

    .summer-promo-single .summer-promo-link {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   SHARED FOOTER CONSISTENCY
   ========================================================= */
.footer-grid {
    align-items: start;
}

.footer-nav {
    display: grid;
    gap: 0.15rem;
}

/* =========================================================
   INSURANCE DETAILS: DISABLE STICKY CONTACT SIDEBAR
   ========================================================= */
.product-detail-grid .sticky-card,
.product-sidebar .sticky-card {
    position: static;
    inset: auto;
    top: auto;
    z-index: auto;
    transform: none;
}

/* =========================================================
   V16 PRODUCT EXPANSION: DETAIL COVERS
   ========================================================= */
.product-detail-cover {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    margin: 0 0 0.25rem;
    border-radius: 20px;
    background: var(--sanitas-dark);
    box-shadow: 0 16px 42px rgba(13, 24, 70, 0.16);
}
.product-detail-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,24,70,0.04) 30%, rgba(13,24,70,0.82) 100%);
    pointer-events: none;
}
.product-detail-cover img {
    display: block;
    width: 100%;
    height: clamp(320px, 38vw, 430px);
    object-fit: cover;
}
.product-detail-cover-copy {
    position: absolute;
    z-index: 2;
    left: clamp(1.25rem, 4vw, 2rem);
    right: clamp(1.25rem, 4vw, 2rem);
    bottom: clamp(1.25rem, 4vw, 2rem);
    display: grid;
    gap: 0.35rem;
    color: #fff;
}
.product-detail-cover-copy strong {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.product-detail-cover-kicker {
    width: max-content;
    max-width: 100%;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    background: rgba(0,121,200,0.82);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}
.product-source-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--sanitas-blue);
    border-radius: 10px;
    background: #f1f8ff;
    color: var(--gray-700);
    line-height: 1.65;
}
@media (max-width: 640px) {
    .product-detail-cover { min-height: 260px; }
    .product-detail-cover img { height: 300px; }
}

/* =========================================================
   V17 - NEW PRODUCT DETAIL EXPERIENCE
   ========================================================= */
.product-detail-v17 {
    background: #f6f9fc;
}

.product-detail-v17 .product-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.25rem, 7vw, 5.25rem) 0 clamp(2.8rem, 6vw, 4.25rem);
    text-align: start;
    background:
        radial-gradient(circle at 82% 18%, rgba(55, 192, 255, 0.28), transparent 24rem),
        radial-gradient(circle at 14% 120%, rgba(255,255,255,0.10), transparent 24rem),
        linear-gradient(135deg, #071f3b 0%, #004f8d 58%, #0084cc 100%);
}

.product-detail-v17 .product-page-hero::after {
    content: "";
    position: absolute;
    inset: auto -6rem -9rem auto;
    width: 24rem;
    height: 24rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 4rem rgba(255,255,255,0.03), 0 0 0 8rem rgba(255,255,255,0.025);
    pointer-events: none;
}

.product-detail-v17 .product-page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}

.product-detail-v17 .breadcrumb {
    margin-bottom: 1.2rem;
    text-align: start;
    color: rgba(255,255,255,0.72);
}

.product-detail-v17 .breadcrumb a {
    text-decoration: none;
}

.product-detail-v17 .product-page-hero h1 {
    max-width: 850px;
    margin: 0 0 0.8rem;
    font-size: clamp(2.35rem, 5vw, 4.15rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.product-detail-v17 .product-page-hero > .container > p {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.02rem, 2vw, 1.25rem);
    line-height: 1.7;
    opacity: 0.9;
}

.product-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.product-hero-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.94);
    font-size: 0.82rem;
    font-weight: 650;
    backdrop-filter: blur(10px);
}

.product-detail-v17 .product-page-content {
    padding: clamp(2rem, 5vw, 4rem) 0 5rem;
    background:
        linear-gradient(180deg, #eff7fc 0, #f8fbfd 16rem, #ffffff 46rem);
}

.product-detail-v17 .product-page-content > .container {
    max-width: 1180px;
}

.product-detail-v17 .product-detail-grid {
    grid-template-columns: minmax(0, 1.72fr) minmax(280px, 0.72fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: start;
}

.product-detail-v17 .product-main {
    gap: 1.15rem;
    min-width: 0;
}

.product-detail-v17 .product-detail-cover {
    min-height: auto;
    margin: 0;
    border: 1px solid rgba(11, 80, 126, 0.12);
    border-radius: 24px;
    background: #0a3456;
    box-shadow: 0 20px 55px rgba(10, 52, 86, 0.16);
}

.product-detail-v17 .product-detail-cover img {
    height: clamp(330px, 39vw, 465px);
    object-position: center center;
    transition: transform 0.5s ease;
}

.product-detail-v17 .product-detail-cover:hover img {
    transform: scale(1.018);
}

.product-detail-v17 .product-detail-cover::after {
    background: linear-gradient(180deg, rgba(4,31,57,0.03) 28%, rgba(4,31,57,0.86) 100%);
}

.product-detail-v17 .product-detail-cover-copy {
    bottom: clamp(1.2rem, 4vw, 2.2rem);
}

.product-detail-v17 .product-detail-cover-copy strong {
    max-width: 760px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.035em;
}

.product-detail-v17 .product-detail-cover-kicker {
    padding: 0.44rem 0.76rem;
    border-color: rgba(255,255,255,0.3);
    background: rgba(0, 126, 199, 0.88);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.product-quick-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.product-fact-card {
    min-width: 0;
    padding: 1rem 0.95rem;
    border: 1px solid #d9e8f2;
    border-radius: 15px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 22px rgba(18, 60, 90, 0.055);
}

.product-fact-card strong,
.product-fact-card span {
    display: block;
}

.product-fact-card strong {
    margin-bottom: 0.22rem;
    color: #0669a9;
    font-size: clamp(1.08rem, 2.2vw, 1.35rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.product-fact-card span {
    color: #607482;
    font-size: 0.75rem;
    line-height: 1.35;
}

.product-detail-v17 .admin-card {
    margin-bottom: 0;
    border-color: #dfe9ef;
    border-radius: 19px;
    box-shadow: 0 12px 30px rgba(12, 48, 75, 0.055);
}

.product-detail-v17 .product-main > .admin-card {
    padding: clamp(1.3rem, 3vw, 2rem);
}

.product-detail-v17 .product-main > .admin-card h2 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.95rem;
    color: #123b59;
    font-size: clamp(1.2rem, 2.7vw, 1.5rem);
}

.product-detail-v17 .product-main > .admin-card h2::before {
    content: "";
    width: 4px;
    height: 1.25em;
    flex: 0 0 4px;
    border-radius: 99px;
    background: linear-gradient(180deg, #0097d7, #0065a4);
}

.product-detail-v17 .coverage-section {
    margin-top: 0.8rem;
    padding: 1rem 1.05rem;
    border: 1px solid #e6eef3;
    border-radius: 14px;
    background: #fbfdff;
}

.product-detail-v17 .coverage-section:first-of-type {
    margin-top: 0;
    padding-top: 1rem;
    border-top: 1px solid #e6eef3;
}

.product-detail-v17 .coverage-section:last-child {
    border-bottom: 1px solid #e6eef3;
}

.product-detail-v17 .coverage-section h3 {
    margin-bottom: 0.7rem;
    color: #174a6c;
}

.product-detail-v17 .product-features li {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    color: #536c7c;
}

.product-detail-v17 .admin-card .banner-table {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-color: #dce8ef;
    border-radius: 14px;
}

.product-detail-v17 .banner-table td {
    vertical-align: middle;
    padding: 0.9rem 1rem;
    border-bottom-color: #e8eff4;
    line-height: 1.45;
}

.product-detail-v17 .banner-table td:first-child {
    width: 45%;
    color: #567080;
    font-weight: 650;
}

.product-detail-v17 .banner-table td:last-child {
    color: #173d58;
    font-weight: 750;
}

.product-detail-v17 .banner-table tr:last-child td {
    border-bottom: 0;
}

.product-detail-v17 .product-source-note {
    border-left: 0;
    border: 1px solid #d9eaf4;
    border-radius: 12px;
    background: #f2f9fd;
    color: #506a79;
}

.product-detail-v17 .product-sidebar {
    display: grid;
    gap: 1rem;
}

.product-detail-v17 .product-sidebar .admin-card {
    margin: 0 !important;
    padding: 1.25rem;
}

.product-detail-v17 .product-cta-card {
    overflow: hidden;
    border: 1px solid #c8e2f1;
    background:
        radial-gradient(circle at 100% 0, rgba(24, 154, 219, 0.13), transparent 45%),
        linear-gradient(180deg, #ffffff, #f5fbff);
    box-shadow: 0 16px 38px rgba(7, 75, 119, 0.11);
}

.product-detail-v17 .product-cta-card::before {
    content: "CBSP 35729";
    display: inline-flex;
    margin-bottom: 0.85rem;
    padding: 0.32rem 0.58rem;
    border-radius: 999px;
    background: #e7f5fc;
    color: #006cae;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.06em;
}

.product-detail-v17 .product-cta-card h3 {
    margin-top: 0;
    font-size: 1.15rem;
    line-height: 1.35;
}

.product-detail-v17 .product-sidebar .btn-primary,
.product-detail-v17 .product-sidebar .btn-secondary {
    min-height: 45px;
    justify-content: center;
    border-radius: 11px;
}

.product-detail-v17 .product-sidebar .btn-secondary {
    background: #ffffff;
}

@media (min-width: 980px) {
    .product-detail-v17 .product-sidebar .product-cta-card {
        position: sticky;
        top: 92px;
        z-index: 2;
    }
}

@media (max-width: 980px) {
    .product-detail-v17 .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .product-detail-v17 .product-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-detail-v17 .product-sidebar .product-cta-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .product-detail-v17 .product-page-hero {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .product-detail-v17 .product-page-hero h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }
    .product-hero-meta {
        gap: 0.45rem;
    }
    .product-hero-meta > span {
        font-size: 0.76rem;
    }
    .product-quick-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-detail-v17 .product-detail-cover img {
        height: clamp(290px, 78vw, 380px);
    }
    .product-detail-v17 .product-sidebar {
        grid-template-columns: 1fr;
    }
    .product-detail-v17 .banner-table,
    .product-detail-v17 .banner-table tbody,
    .product-detail-v17 .banner-table tr,
    .product-detail-v17 .banner-table td {
        display: block;
        width: 100%;
    }
    .product-detail-v17 .banner-table tr {
        padding: 0.75rem 0;
        border-bottom: 1px solid #e8eff4;
    }
    .product-detail-v17 .banner-table tr:last-child {
        border-bottom: 0;
    }
    .product-detail-v17 .banner-table td {
        padding: 0.16rem 0.9rem;
        border-bottom: 0;
    }
    .product-detail-v17 .banner-table td:first-child {
        width: 100%;
        font-size: 0.78rem;
    }
}

/* V17 - new product badges in the insurance catalogue */
.product-card-new {
    position: relative;
    border-color: rgba(0, 121, 200, 0.2);
}
.product-new-badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0.28rem 0.58rem;
    border: 1px solid rgba(255,255,255,0.42);
    border-radius: 999px;
    background: rgba(0, 112, 180, 0.92);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 6px 18px rgba(0, 61, 102, 0.18);
    backdrop-filter: blur(8px);
}
/* V18 PRODUCT DETAIL KNOWLEDGE */
.product-detail-toc{margin:0 0 1.25rem;padding:1rem 1.1rem;border:1px solid var(--gray-200);border-radius:16px;background:linear-gradient(180deg,#fff,#f8fbfd);box-shadow:0 8px 24px rgba(17,44,70,.05)}
.product-detail-toc>strong{display:block;margin-bottom:.75rem;color:var(--sanitas-dark);font-size:.92rem;text-transform:uppercase;letter-spacing:.04em}
.product-detail-toc-links{display:flex;flex-wrap:wrap;gap:.55rem}
.product-detail-toc-links a{display:inline-flex;align-items:center;min-height:38px;padding:.48rem .75rem;border-radius:999px;border:1px solid rgba(0,132,197,.18);background:#fff;color:var(--sanitas-dark);font-size:.88rem;font-weight:700;text-decoration:none;transition:.2s ease}
.product-detail-toc-links a:hover{border-color:var(--sanitas-blue);transform:translateY(-1px)}
.product-info-card{scroll-margin-top:100px}
.product-info-card>.coverage-section{margin-top:1.15rem}
.product-info-card>.coverage-section:first-of-type{margin-top:.75rem}
.product-info-card .coverage-section p{color:var(--gray-700);line-height:1.75}
.detail-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px}
.detail-table{min-width:620px;width:100%;table-layout:auto}
.detail-table td:first-child{width:46%;font-weight:700;color:var(--gray-800)}
.detail-table td{vertical-align:top;white-space:normal;line-height:1.55}
.product-faq{display:grid;gap:.7rem}
.product-faq-item{border:1px solid var(--gray-200);border-radius:14px;background:#fff;overflow:hidden}
.product-faq-item summary{cursor:pointer;list-style:none;padding:1rem 2.8rem 1rem 1rem;font-weight:750;color:var(--gray-900);position:relative}
.product-faq-item summary::-webkit-details-marker{display:none}
.product-faq-item summary::after{content:'+';position:absolute;right:1rem;top:50%;transform:translateY(-50%);font-size:1.4rem;color:var(--sanitas-blue)}
.product-faq-item[open] summary::after{content:'−'}
.product-faq-answer{padding:0 1rem 1rem;color:var(--gray-700);line-height:1.75;border-top:1px solid var(--gray-100)}
.product-faq-answer p{margin:.85rem 0 0}
@media(max-width:720px){.product-detail-toc-links{display:grid;grid-template-columns:1fr 1fr}.product-detail-toc-links a{justify-content:center;text-align:center}.detail-table{min-width:560px}.product-info-card{padding:1rem}.product-faq-item summary{font-size:.95rem}}

/* V19 LEGACY PRODUCT KNOWLEDGE */
.v19-knowledge{display:grid;gap:1rem;margin-top:1rem}
.v19-knowledge .admin-card{margin:0}
.v19-toc{margin-bottom:0}
.product-source-note{margin:.25rem 0 0;padding:1rem 1.1rem;border-left:4px solid var(--sanitas-blue);border-radius:10px;background:#f4f9fc;color:var(--gray-700);font-size:.9rem;line-height:1.65}
.tariff-search-label{display:grid;gap:.45rem;margin:1rem 0;font-weight:700;color:var(--gray-800)}
.tariff-search{width:100%;min-height:46px;padding:.72rem .85rem;border:1px solid var(--gray-300);border-radius:10px;font:inherit;background:#fff;color:var(--gray-900)}
.tariff-search:focus{outline:2px solid rgba(0,132,197,.18);border-color:var(--sanitas-blue)}
.tariff-table-wrap{max-height:650px;overflow:auto;border:1px solid var(--gray-200)}
.tariff-table{min-width:760px;margin:0}
.tariff-table thead th{position:sticky;top:0;z-index:1;background:#f4f9fc}
.tariff-table td:nth-child(1){width:22%;font-weight:700}.tariff-table td:nth-child(2){width:58%}.tariff-table td:nth-child(3){width:20%;white-space:nowrap;font-weight:700}
.tariff-count{margin:.7rem 0 0;color:var(--gray-600);font-size:.88rem}
@media(max-width:720px){.tariff-table-wrap{max-height:560px}.v19-knowledge .detail-table{min-width:640px}}

.tariff-downloads{display:flex;flex-wrap:wrap;gap:.6rem;margin:.8rem 0}.tariff-downloads .btn-secondary{width:auto;padding:.55rem .85rem}

/* V19 - authoritative source-grounded product reference pages */
.v19-authoritative .product-main > .admin-card:not(.v19-knowledge),
.v19-authoritative .product-main > .product-info-card:not(.v19-knowledge){display:none!important;}
.v19-authoritative .v19-knowledge{margin-top:0;}
.v19-source-warning{border-left:4px solid #d58b00;padding:14px 16px;background:#fff8e8;border-radius:8px;}

/* =========================================================
   V23 UI REPAIR: RESPONSIVE HEADER, MOBILE LAYOUT, ADD-ONS
   ========================================================= */
:root {
    --gray-300: #d1d5db;
    --gray-800: #1f2937;
    --sanitas-blue: var(--blue);
    --sanitas-dark: var(--dark);
}

html,
body {
    max-width: 100%;
}

body {
    overflow-x: clip;
}

/* One consistent outlined client-area action on desktop. */
.nav-client-area {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--blue);
    border-radius: 8px;
    background: transparent;
    color: var(--blue) !important;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-client-area:hover,
.nav-client-area:focus-visible {
    border-color: var(--blue);
    background: #eef8ff;
    color: #005f9e !important;
    text-decoration: none;
}

/* JavaScript creates these only for responsive navigation. Hidden on desktop. */
.mobile-header-actions {
    display: none;
}

.mobile-nav-toggle {
    display: none;
}

/* Prevent wide tables/content from forcing the entire product page wider. */
.product-detail-grid,
.product-main,
.product-sidebar,
.admin-card,
.product-info-card,
.detail-table-wrap,
.v19-knowledge {
    min-width: 0;
    max-width: 100%;
}

.detail-table-wrap {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

/* Insurance catalogue polish. */
.products-grid {
    align-items: stretch;
}

.products-grid .product-card {
    min-width: 0;
    min-height: 500px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(13, 24, 70, 0.12);
}

.products-grid .product-card > div {
    min-width: 0;
}

.products-grid .product-card .btn-secondary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.insurance-complements-callout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.25rem;
    padding: clamp(1.35rem, 3vw, 2rem);
    overflow: hidden;
    border: 1px solid #cfe6f5;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(0, 121, 200, 0.14), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f3f9fd 100%);
    box-shadow: 0 12px 32px rgba(13, 24, 70, 0.08);
}

.insurance-complements-callout h2 {
    margin: 0 0 0.5rem;
    color: var(--dark);
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.2;
}

.insurance-complements-callout p {
    max-width: 780px;
    margin: 0;
    color: var(--gray-600);
    line-height: 1.7;
}

.insurance-complements-callout .btn-primary {
    white-space: nowrap;
}

/* Add-ons catalogue: these classes existed in markup but had no CSS. */
.complements-index-page .page-content {
    background: linear-gradient(180deg, #f7fbfe 0%, #ffffff 45%);
}

.complements-hero {
    position: relative;
    overflow: hidden;
    padding: 4.25rem 0 3.75rem;
    background:
        radial-gradient(circle at 80% 15%, rgba(95, 200, 255, 0.22), transparent 28%),
        linear-gradient(135deg, #0d1846 0%, #006db2 58%, #0088cc 100%);
}

.complements-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -150px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255,255,255,0.04), 0 0 0 110px rgba(255,255,255,0.025);
    pointer-events: none;
}

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

.complement-type-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    padding: 0.32rem 0.7rem;
    border: 1px solid rgba(0, 121, 200, 0.18);
    border-radius: 999px;
    background: #eaf6fd;
    color: #006fac;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0.04em;
}

.complements-hero .complement-type-badge,
.complement-page-hero .complement-type-badge {
    margin: 0 auto 0.9rem;
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.13);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.complement-explainer {
    margin: 0 auto 2rem;
    padding: clamp(1.35rem, 3vw, 2rem);
    border-color: #d8eaf4;
    background: #ffffff;
}

.complement-explainer h2 {
    margin-bottom: 0.65rem;
}

.complement-explainer p + p {
    margin-top: 0.65rem;
}

.complements-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.complement-card {
    position: relative;
    min-width: 0;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid rgba(9, 76, 117, 0.18);
    border-radius: 20px;
    background:
        radial-gradient(circle at 85% 0%, rgba(72, 192, 247, 0.38), transparent 32%),
        radial-gradient(circle at 0% 100%, rgba(55, 132, 196, 0.22), transparent 36%),
        linear-gradient(145deg, #0c234f 0%, #0b4771 58%, #0875ad 100%) !important;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(13, 24, 70, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.complement-card::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -52px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 32px rgba(255,255,255,0.035);
    pointer-events: none;
}

.complement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(95, 200, 255, 0.65);
    box-shadow: 0 20px 40px rgba(13, 60, 96, 0.2);
}

.complement-card-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 360px;
    flex-direction: column;
    padding: 1.45rem;
}

.complement-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.complement-card .complement-type-badge {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.complement-card-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    font-size: 1.45rem;
    backdrop-filter: blur(8px);
}

.complement-card h3 {
    margin: 0 0 0.65rem;
    color: #ffffff;
    font-size: 1.24rem;
    line-height: 1.25;
}

.complement-card p {
    margin: 0 0 0.9rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
}

.complement-card small {
    display: block;
    margin: auto 0 1rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    line-height: 1.55;
}

.complement-card .btn-secondary {
    align-self: flex-start;
    min-height: 44px;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(255,255,255,0.7);
    background: #ffffff;
    color: var(--dark);
    font-weight: 800;
}

.complement-card .btn-secondary:hover {
    border-color: #d4f2ff;
    background: #dff4ff;
    color: #053754;
}

.complements-source-note {
    margin-top: 1.5rem;
}

/* Add-on detail cover without fragile missing image assets. */
.complement-detail-cover {
    position: relative;
    display: grid;
    min-height: 320px;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 20%, rgba(93, 210, 255, 0.35), transparent 28%),
        radial-gradient(circle at 20% 85%, rgba(71, 135, 215, 0.28), transparent 34%),
        linear-gradient(135deg, #0d1846 0%, #006fae 100%);
}

.complement-detail-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 90%);
}

.complement-detail-visual {
    position: relative;
    z-index: 1;
    display: grid;
    width: 128px;
    height: 128px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    background: rgba(255,255,255,0.13);
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
    backdrop-filter: blur(12px);
}

.complement-detail-icon {
    font-size: 3.5rem;
    line-height: 1;
}

.complement-detail-page .product-detail-cover-copy {
    z-index: 2;
}

/* The generic ".product-detail-v17 .product-detail-cover { min-height: auto }" rule outranks
   ".complement-detail-cover", which collapsed the add-on cover to ~130px and put the title on top
   of the icon. The icon and title now sit in their own grid rows, so they can never overlap. */
.product-detail-v17 .complement-detail-cover {
    min-height: 320px;
    grid-template-rows: 1fr auto;
    gap: 1.25rem;
    padding-top: 2.25rem;
}

.complement-detail-page .complement-detail-cover .product-detail-cover-copy {
    position: relative;
    inset: auto;
    justify-self: stretch;
    padding: 0 clamp(1.25rem, 4vw, 2.2rem) clamp(1.25rem, 4vw, 2rem);
}

.complement-detail-page .complement-detail-cover .product-detail-cover-copy strong {
    overflow-wrap: anywhere;
}

.complement-feature-list li {
    align-items: flex-start;
}

/* Responsive public header. */
@media (max-width: 900px) {
    .header-inner {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.7rem 0.8rem;
        padding: 0.72rem 1rem;
    }

    .logo {
        min-width: 0;
        gap: 0.62rem;
    }

    .logo img {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
    }

    .logo-text {
        min-width: 0;
        font-size: 0.9rem;
        line-height: 1.25;
        white-space: nowrap;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .mobile-client-shortcut {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.45rem 0.7rem;
        border: 1px solid var(--blue);
        border-radius: 8px;
        background: #ffffff;
        color: var(--blue);
        font-size: 0.8rem;
        font-weight: 750;
        line-height: 1.15;
        text-decoration: none;
        white-space: nowrap;
    }

    .mobile-client-shortcut:hover,
    .mobile-client-shortcut:focus-visible {
        background: #eef8ff;
        text-decoration: none;
    }

    .mobile-nav-toggle {
        display: inline-grid;
        width: 42px;
        height: 42px;
        place-items: center;
        padding: 0;
        border: 1px solid #cfe1ed;
        border-radius: 9px;
        background: #ffffff;
        color: var(--dark);
        cursor: pointer;
    }

    .mobile-nav-toggle-bars {
        display: grid;
        width: 19px;
        gap: 4px;
    }

    .mobile-nav-toggle-bars i {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-bars i:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-bars i:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-bars i:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .header .nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
        padding: 0.2rem 0 0.35rem;
    }

    .header .nav.is-open {
        display: grid;
    }

    .header .nav-link {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 0.65rem;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #ffffff;
        color: var(--gray-700);
        font-size: 0.82rem;
        text-align: center;
    }

    .header .nav-link.active {
        border-color: #b7ddf4;
        background: #eef8ff;
        color: var(--dark);
    }

    .header .nav .nav-client-area {
        display: none !important;
    }

    .header .lang-switcher {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 0.1rem;
    }

    .header .lang-btn {
        min-width: 48px;
    }

    .page-hero {
        padding: 3rem 0 2.7rem;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 8vw, 2.65rem);
    }

    .page-hero p {
        font-size: 1.05rem;
    }

    .page-content {
        padding: 2.5rem 0;
    }

    .product-detail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .product-main,
    .product-sidebar {
        width: 100%;
    }

    .insurance-complements-callout {
        grid-template-columns: 1fr;
    }

    .insurance-complements-callout .btn-primary {
        width: 100%;
        text-align: center;
    }

    .complements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .summer-promo-single {
        font-size: 0.78rem;
    }

    .logo-text {
        font-size: 0.82rem;
    }

    .mobile-client-shortcut {
        max-width: 124px;
        padding-inline: 0.55rem;
        font-size: 0.74rem;
    }

    .products-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .products-grid .product-card {
        min-height: 0;
        padding: 1.35rem;
        border-radius: 18px;
    }

    .products-grid .product-card .product-icon {
        width: 52px;
        height: 52px;
        font-size: 1.45rem;
    }

    .products-grid .product-card h3 {
        font-size: 1.25rem;
    }

    .products-grid .product-card > p,
    .products-grid .product-card .product-features li {
        font-size: 0.9rem;
    }

    .products-grid .product-card .btn-secondary {
        width: 100%;
        align-self: stretch;
        text-align: center;
    }

    .complements-hero {
        padding: 3rem 0 2.7rem;
    }

    .complement-explainer {
        margin-bottom: 1.2rem;
    }

    .complements-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .complement-card,
    .complement-card-overlay {
        min-height: 0;
    }

    .complement-card-overlay {
        padding: 1.25rem;
    }

    .complement-card .btn-secondary {
        width: 100%;
        align-self: stretch;
        justify-content: center;
        text-align: center;
    }

    .product-detail-toc-links {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-v17 .product-main > .admin-card,
    .admin-card {
        padding: 1.1rem;
        border-radius: 15px;
    }

    .product-detail-v17 .product-detail-cover,
    .complement-detail-cover,
    .product-detail-v17 .complement-detail-cover {
        min-height: 250px;
    }

    .product-detail-v17 .complement-detail-cover {
        padding-top: 1.5rem;
        gap: 1rem;
    }

    .complement-detail-visual {
        width: 104px;
        height: 104px;
        border-radius: 24px;
    }

    .complement-detail-icon {
        font-size: 2.8rem;
    }

    .product-quick-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .header-inner {
        padding-inline: 0.75rem;
    }

    .logo img {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .logo-text {
        font-size: 0.76rem;
    }

    .mobile-client-shortcut {
        max-width: 110px;
        min-height: 38px;
        font-size: 0.7rem;
    }

    .mobile-nav-toggle {
        width: 38px;
        height: 38px;
    }

    .header .nav {
        grid-template-columns: 1fr;
    }

    .header .lang-switcher {
        grid-column: 1;
    }

    .product-detail-toc-links {
        grid-template-columns: 1fr;
    }

    .product-quick-facts {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   MOBILE LAYOUT HARDENING
   Grid tracks declared as "1fr" grow to their content's minimum width (long select
   options, big numbers), which pushed forms, stats and the privacy page past the
   screen edge on phones. minmax(0, 1fr) lets them shrink; wide tables scroll inside
   their own card instead of the page.
   ============================================ */
img,
video,
iframe {
    max-width: 100%;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group,
.form-group > * {
    min-width: 0;
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.form-group textarea {
    max-width: 100%;
    min-width: 0;
}

.privacy-layout {
    grid-template-columns: 280px minmax(0, 1fr);
}

.comparison-table-container,
.product-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Feature lists are grids too; long lines must wrap instead of widening the column. */
ul.product-features {
    grid-template-columns: minmax(0, 1fr);
}

.product-features li,
.product-features li > * {
    min-width: 0;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .form-grid,
    .privacy-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .privacy-content {
        padding: 1.5rem 1.1rem;
    }

    .comparison-table-container {
        padding: 1.25rem 1rem;
    }

    .comparison-table {
        min-width: 520px;
    }

    .stats-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .stat-item {
        min-width: 0;
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 400px) {
    .stats-section {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================================
   YEAR-END 2026 CAMPAIGN (strip + home campaign card)
   ========================================================= */
.ye-strip {
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, #041a3f 0%, #0a4a94 50%, #041a3f 100%);
    color: #fff;
    border-bottom: 3px solid #ffc94a;
    box-shadow: 0 4px 18px rgba(4, 26, 63, .28);
}

.ye-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 214, 102, .28) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: ye-shine 5.5s ease-in-out infinite;
}

.ye-strip-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .55rem 1rem;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: .8rem 1rem;
}

.ye-strip-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .8rem;
    border-radius: 999px;
    background: #e5243b;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    white-space: nowrap;
    box-shadow: 0 0 0 0 rgba(229, 36, 59, .65);
    animation: ye-pulse 1.9s ease-out infinite;
}

.ye-strip-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .25rem .7rem;
    min-width: 0;
    text-align: center;
    line-height: 1.35;
}

.ye-strip-copy strong {
    font-size: clamp(1rem, 1.9vw, 1.3rem);
    font-weight: 800;
    color: #ffd668;
}

.ye-strip-copy span {
    font-size: clamp(.9rem, 1.4vw, 1.05rem);
    font-weight: 600;
}

.ye-strip-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe08a, #ffb81f);
    color: #041a3f;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ye-strip-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .32);
}

.ye-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .8rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ye-btn:hover {
    transform: translateY(-2px);
}

.ye-btn--primary {
    background: linear-gradient(135deg, #ffe08a, #ffb81f);
    color: #041a3f;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}

.ye-btn--ghost {
    background: rgba(255, 255, 255, .12);
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
}

.banner-card--yearend {
    border: 2px solid #ffc94a;
    box-shadow: 0 10px 30px rgba(255, 184, 31, .3);
}

.banner-card--yearend .banner-dynamic-badge {
    background: #e5243b;
}

@keyframes ye-shine {
    0%, 55% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes ye-pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 36, 59, .65); }
    70% { box-shadow: 0 0 0 12px rgba(229, 36, 59, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 36, 59, 0); }
}

@media (max-width: 640px) {
    .ye-strip-inner { padding: .5rem .8rem .6rem; gap: .35rem .6rem; }
    .ye-strip-badge { padding: .25rem .65rem; font-size: .7rem; }
    .ye-strip-copy { gap: .1rem; }
    .ye-strip-copy strong { font-size: .95rem; }
    .ye-strip-copy span { font-size: .85rem; }
    .ye-strip-cta { min-height: 36px; padding: .4rem 1rem; }
    .ye-feature-actions .ye-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ye-strip::before, .ye-strip-badge { animation: none; }
    .ye-btn, .ye-strip-cta { transition: none; }
}

/* =========================================================
   HOME LEAD FORM: THREE STEPS
   Without JavaScript every step stays visible; home-form.js adds
   .is-stepped and shows one step at a time.
   ========================================================= */
.lead-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.form-subtitle {
    max-width: 36rem;
    margin: 0 auto 2.25rem;
    color: var(--gray-600);
    text-align: center;
    text-wrap: balance;
}

.lead-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
    scroll-margin-top: 7.5rem;
}

.lead-progress[hidden],
.lead-step[hidden],
.lead-nav[hidden],
.lead-back[hidden] {
    display: none;
}

.lead-progress-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 3px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    transition: border-color 0.25s ease-out, color 0.25s ease-out;
}

.lead-progress-mark {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.lead-progress-item.is-done {
    border-top-color: var(--blue);
    color: var(--gray-700);
}

.lead-progress-item.is-done .lead-progress-mark {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}

.lead-progress-item.is-current {
    border-top-color: var(--dark);
    color: var(--dark);
}

.lead-progress-item.is-current .lead-progress-mark {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--white);
}

.lead-step + .lead-step {
    margin-top: 2.5rem;
}

.is-stepped .lead-step + .lead-step {
    margin-top: 0;
}

.lead-step-title {
    margin: 0 0 1.25rem;
    color: var(--dark);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.lead-step-title:focus {
    outline: none;
}

.lead-choice-group {
    min-width: 0;
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
}

.lead-choice-group legend {
    margin-bottom: 0.625rem;
    padding: 0;
    color: var(--gray-900);
    font-size: 0.875rem;
    font-weight: 600;
}

.lead-choice-group.is-required legend::after {
    content: "\00a0*";
    color: var(--danger);
    font-weight: 700;
}

.lead-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.lead-choices .lead-choice {
    flex: 0 1 auto;
}

.lead-choices--compact .lead-choice {
    flex: 1 1 0;
}

.lead-choice,
.lead-step .questionnaire-block .radio-option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 3rem;
    padding: 0.625rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: var(--white);
    color: var(--gray-900);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color 0.15s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.lead-choice input,
.lead-step .questionnaire-block .radio-option input {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    accent-color: var(--dark);
}

.lead-choice:hover,
.lead-step .questionnaire-block .radio-option:hover {
    border-color: var(--blue);
}

.lead-choice:has(input:checked),
.lead-step .questionnaire-block .radio-option:has(input:checked) {
    border-color: var(--dark);
    background: #eef5fb;
    box-shadow: inset 0 0 0 1px var(--dark);
}

.lead-choice:has(input:focus-visible),
.lead-step .questionnaire-block .radio-option:has(input:focus-visible) {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.lead-step .questionnaire-options {
    gap: 0.625rem;
}

.lead-step .questionnaire-options .radio-option {
    min-width: 6.5rem;
}

.lead-step .questionnaire-sleep-options .radio-option {
    align-items: flex-start;
}

.lead-step .questionnaire-sleep-options .radio-option input {
    margin-top: 0.15rem;
}

.lead-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    padding: 1rem 1.125rem;
    border-radius: 10px;
    background: #eef5fb;
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.55;
}

.lead-note strong {
    color: var(--dark);
}

.lead-note-icon {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.lead-disclosure {
    margin: 0 0 1.5rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.lead-disclosure summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3rem;
    padding: 0.75rem 0;
    color: var(--dark);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.lead-disclosure summary::-webkit-details-marker {
    display: none;
}

.lead-disclosure summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    margin-inline-end: 0.25rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-0.15rem) rotate(45deg);
    transition: transform 0.2s ease-out;
}

.lead-disclosure[open] summary::after {
    transform: translateY(0.1rem) rotate(-135deg);
}

.lead-disclosure summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

.lead-disclosure-body {
    padding: 0.25rem 0 1.25rem;
}

.lead-disclosure-body .form-group:last-child {
    margin-bottom: 0;
}

.lead-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.lead-nav:has(.lead-back:not([hidden])) {
    justify-content: space-between;
}

.lead-nav .btn-primary {
    min-height: 3rem;
}

.lead-next {
    min-width: 10rem;
}

.lead-nav--submit .btn-full {
    flex: 1 1 auto;
    width: auto;
}

.lead-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.5rem 0.25rem;
    border: 0;
    background: none;
    color: var(--blue);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.lead-back::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-inline-start: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: rotate(45deg);
}

html[dir="rtl"] .lead-back::before {
    transform: rotate(-45deg);
}

.lead-back:hover {
    color: var(--dark);
}

.lead-nav button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .lead-progress {
        gap: 0.375rem;
        margin-bottom: 1.5rem;
    }

    .lead-progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem;
        font-size: 0.8rem;
    }

    .lead-choices {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lead-step .questionnaire-options .radio-option {
        flex: 1 1 0;
    }

    .lead-next {
        flex: 1 1 auto;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lead-progress-item,
    .lead-choice,
    .lead-step .questionnaire-block .radio-option,
    .lead-disclosure summary::after {
        transition: none;
    }
}

/* Home lead form: inline errors, error summary, restored-draft note */
.field-error {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0.5rem 0 0;
    color: #b91c1c;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
}

.field-error::before {
    content: "";
    flex: 0 0 auto;
    width: 0.95rem;
    height: 0.95rem;
    margin-top: 0.12rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='M12 7.5v5.5M12 16.4v.1'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.25'/%3E%3Cpath d='M12 7.5v5.5M12 16.4v.1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea,
.form-group.has-error .birth-date-input-row {
    border-color: #dc2626;
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.has-error .lead-choice,
.has-error .radio-option {
    border-color: #f1a7a7;
}

.form-consent.has-error .field-error {
    margin-inline-start: 1.75rem;
}

.lead-error-summary {
    margin: 0 0 1.5rem;
    padding: 1rem 1.125rem;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff5f5;
    color: #7f1d1d;
}

.lead-error-summary-title {
    margin: 0 0 0.4rem;
    font-weight: 700;
}

.lead-error-summary ul {
    margin: 0;
    padding-inline-start: 1.25rem;
}

.lead-error-summary li + li {
    margin-top: 0.2rem;
}

.lead-error-summary a {
    color: #b91c1c;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.form-feedback.error a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.lead-draft-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.9rem;
}

.lead-draft-reset {
    min-height: 2.75rem;
    padding: 0.4rem 0.25rem;
    border: 0;
    background: none;
    color: var(--blue);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.lead-draft-reset:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

/* Long-form reading text: justified on desktop only (marked by script.js), start-aligned elsewhere. */
@media (min-width: 900px) {
    .text-long-form {
        text-align: justify;
        hyphens: auto;
    }
}

/* =========================================================
   HOME OFFERS: the featured campaign card spans two columns
   ========================================================= */
.ye-feature {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 2px solid #ffc94a;
    border-radius: 16px;
    background: linear-gradient(135deg, #041a3f 0%, #0a3d82 60%, #0d5fa6 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(4, 26, 63, .18);
}

.ye-feature h3 {
    margin: 0 0 .75rem;
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
}

.ye-feature .ye-gold {
    color: #ffd668;
}

.ye-feature p {
    max-width: 58ch;
    margin: 0;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.6;
}

.ye-feature .ye-feature-fine {
    margin-top: .6rem;
    color: #dbe8f5;
    font-size: .875rem;
}

.ye-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.ye-feature .ye-btn:focus-visible {
    outline: 3px solid #ffd668;
    outline-offset: 3px;
}

@media (min-width: 900px) {
    .banners-grid .ye-feature {
        grid-column: span 2;
    }
}

/* =========================================================
   HOME TOOLS: visa checklist first, the other tools as a list
   ========================================================= */
.tools-home {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 1.5rem;
    align-items: start;
}

.tools-home-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 16px;
    background: #e8f3fb;
}

.tools-home-feature h3 {
    margin: 0;
    color: var(--dark);
    font-size: 1.4rem;
    line-height: 1.25;
}

.tools-home-feature p {
    margin: 0 0 .5rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.tools-home-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--gray-200);
}

.tools-home-list li {
    border-bottom: 1px solid var(--gray-200);
}

.tools-home-list a {
    position: relative;
    display: grid;
    gap: .15rem;
    padding: 1rem 2.25rem 1rem .25rem;
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease-out;
}

html[dir="rtl"] .tools-home-list a {
    padding: 1rem .25rem 1rem 2.25rem;
}

.tools-home-list a::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-end: .75rem;
    width: .5rem;
    height: .5rem;
    border-top: 2px solid var(--blue);
    border-right: 2px solid var(--blue);
    transform: translateY(-50%) rotate(45deg);
}

html[dir="rtl"] .tools-home-list a::after {
    transform: translateY(-50%) rotate(-135deg);
}

.tools-home-list a:hover {
    background: #f4f9fd;
    text-decoration: none;
}

.tools-home-list a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.tools-home-name {
    color: var(--dark);
    font-weight: 700;
}

.tools-home-desc {
    color: var(--gray-600);
    font-size: .92rem;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .tools-home {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tools-home-list a {
        transition: none;
    }
}

/* =========================================================
   HOME HERO: languages line and trust checks
   ========================================================= */
.hero .hero-languages {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.6rem;
    margin: -0.25rem 0 1rem;
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 600;
}

/* The page's own language comes first; the others follow, separated by a dot. */
.hero-language-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #005a99;
    font-weight: 700;
}

.hero-language-list > span::before {
    content: "·";
    margin-inline-end: 0.5rem;
    color: var(--gray-400);
}

html:not([lang="en"]):not([lang="fa"]) .hero-language-list > [lang="es"],
html[lang="en"] .hero-language-list > [lang="en"],
html[lang="fa"] .hero-language-list > [lang="fa"] {
    order: -1;
}

html:not([lang="en"]):not([lang="fa"]) .hero-language-list > [lang="es"]::before,
html[lang="en"] .hero-language-list > [lang="en"]::before,
html[lang="fa"] .hero-language-list > [lang="fa"]::before {
    display: none;
}

.trust-icon {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    background: #0f8a5f;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m7.8 12.3 2.8 2.8 5.6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m7.8 12.3 2.8 2.8 5.6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =========================================================
   HOME: partner agencies band
   ========================================================= */
.agency-band {
    padding: 2.5rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.agency-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
}

.agency-band-copy {
    max-width: 44rem;
}

.agency-band h2 {
    margin: 0 0 0.35rem;
    color: var(--dark);
    font-size: 1.35rem;
    line-height: 1.3;
}

.agency-band p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
}

.agency-band-link {
    flex: 0 0 auto;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
}

.agency-band-link:focus-visible {
    outline: 2px solid var(--dark);
    outline-offset: 3px;
}

/* =========================================================
   MOBILE HEADER: language switch kept visible
   ========================================================= */
.mobile-lang-switcher {
    display: none;
}

@media (max-width: 900px) {
    .header .mobile-header-actions .mobile-lang-switcher {
        display: inline-flex;
        width: auto;
        margin: 0;
    }

    .header .mobile-lang-switcher .lang-btn {
        flex: 0 0 auto;
        min-width: 2.5rem !important;
        min-height: 2.5rem;
        padding: 0 0.5rem;
        font-size: 0.78rem;
    }

    /* The copy in the header replaces the one inside the menu. */
    .header.mobile-enhanced .nav > .lang-switcher {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Phones: the campaign strip keeps its headline and button; the detail line moves to the campaign page. */
    .ye-strip-copy span {
        display: none;
    }

    /* The logo already carries the agent number; the text beside it makes room for the switch. */
    .header.mobile-enhanced .logo-text {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float.is-tucked {
        transition: none;
    }
}

/* Home lead form: visa detail and the passport-name hint */
.lead-visa-fields {
    margin: -0.25rem 0 0.5rem;
}

.lead-visa-fields[hidden] {
    display: none;
}

.form-grid > .lead-name-help {
    grid-column: 1 / -1;
    margin: -1.75rem 0 0.75rem;
}

.lead-after-send {
    margin: 0.85rem 0 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: center;
}

.lead-note + .form-grid {
    margin-bottom: 0.25rem;
}

/* Phones: the campaign strip becomes one compact row (headline + button). */
@media (max-width: 600px) {
    .ye-strip-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.45rem 1rem;
    }

    .ye-strip-badge {
        display: none;
    }

    .ye-strip-copy {
        justify-content: flex-start;
        text-align: start;
    }

    .ye-strip-copy strong {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .ye-strip-cta {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0.35rem 0.85rem;
        font-size: 0.85rem;
    }
}

.hero-buttons a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* English tool names keep a translated line in Spanish and Persian (empty in English). */
.tools-home-alias {
    display: block;
    margin-top: 0.1rem;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 500;
}

.tools-home-alias:empty {
    display: none;
}

.tools-home-feature h3 .tools-home-alias {
    font-size: 0.95rem;
}

/* Consent: a 20px box inside a full-height target. */
.form-consent .consent-label {
    align-items: flex-start;
    min-height: 2.75rem;
    padding: 0.25rem 0;
}

.form-consent .consent-label input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.1rem 0 0;
    accent-color: var(--dark);
}

.lead-help-line {
    margin: -1.5rem auto 2rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    text-align: center;
}

.lead-help-line a,
.hero p a {
    color: #005a99;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* The visa card matches the height of the tools list beside it. */
@media (min-width: 801px) {
    .tools-home {
        align-items: stretch;
    }

    .tools-home-feature {
        justify-content: center;
    }
}

.form-consent + .form-consent {
    margin-top: 0.5rem;
}

.lead-error-summary-more {
    list-style: none;
    margin-inline-start: -1.25rem;
    color: #7f1d1d;
    font-weight: 600;
}

/* Hero: the Persian-speaking adviser as an action next to the main button. */
.hero-advisor {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: -0.75rem 0 1.5rem;
    color: #0b6b3a;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.hero-advisor svg {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    color: #128c4a;
}

.hero-advisor span {
    text-decoration: underline;
    text-decoration-color: rgba(11, 107, 58, 0.35);
    text-underline-offset: 0.2em;
}

.hero-advisor:hover span {
    text-decoration-color: currentColor;
}

.hero-advisor:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Visa Center card: how CBSP reviews a visa case. */
.tools-home-points {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tools-home-points li {
    position: relative;
    padding-inline-start: 1.6rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.tools-home-points li::before {
    content: "";
    position: absolute;
    top: 0.2rem;
    inset-inline-start: 0;
    width: 1.05rem;
    height: 1.05rem;
    background: #0f8a5f;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m7.8 12.3 2.8 2.8 5.6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='m7.8 12.3 2.8 2.8 5.6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tools-home-feature .tools-home-fine {
    margin: 0.25rem 0 0.5rem;
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* Agencies: join first, sign in second. */
.agency-band-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.agency-band-login {
    font-weight: 600;
    color: #005a99;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* Duration: preset select, with the number field only for another length. */
#duracionPreset {
    width: 100%;
}

#duracionPreset + #duracion:not([hidden]) {
    margin-top: 0.5rem;
}

#duracion[hidden],
#zipGroup[hidden] {
    display: none;
}

/* Secondary action: outlined, never competing with the filled primary. */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--dark);
    box-shadow: inset 0 0 0 2px var(--dark);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

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

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

/* Desktop: the campaign strip is one quiet line with a text link, in Sanitas colours. */
@media (min-width: 601px) {
    .ye-strip-inner {
        flex-wrap: nowrap;
        gap: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .ye-strip-badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }

    .ye-strip-copy {
        flex-wrap: nowrap;
        min-width: 0;
    }

    .ye-strip-copy strong {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .ye-strip-copy span {
        overflow: hidden;
        font-size: 0.9rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ye-strip-cta {
        min-height: 0;
        padding: 0.25rem 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        color: #ffd668;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 0.2em;
    }

    .ye-strip-cta:hover {
        transform: none;
        box-shadow: none;
        color: #fff1b8;
    }
}

@media (min-width: 601px) and (max-width: 1100px) {
    .ye-strip-copy span {
        display: none;
    }
}

/* Tool rows: name and translation on one line, description below. */
.tools-home-list .tools-home-alias {
    display: inline;
    margin-inline-start: 0.35rem;
    font-size: 0.85rem;
}

.tools-home-list .tools-home-alias::before {
    content: "· ";
    color: var(--gray-400);
}

.tools-home-list .tools-home-alias:empty {
    display: none;
}

/* Short links mixing Persian and Latin ("در WhatsApp پیام دهید") never break across lines. */
.lead-help-line a {
    white-space: nowrap;
}

/* Progress steps: completed ones are buttons back to that step. */
.lead-progress-button {
    display: inherit;
    flex-direction: inherit;
    align-items: inherit;
    gap: inherit;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.lead-progress-button:disabled {
    cursor: default;
}

.lead-progress-item.is-done .lead-progress-button:hover .lead-progress-label {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.lead-progress-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Submit row: Back sits clearly apart from the main button. */
.lead-nav--submit {
    gap: 1.5rem;
}

#contactGroup[hidden] {
    display: none;
}
