.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
}

#lead-form-anchor {
    scroll-margin-top: 120px;
}

html, body {
    font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4,
.font-display-lg,
.font-headline-lg,
.font-headline-md,
.font-headline-sm,
header .font-bold {
    font-family: "Outfit", "Hanken Grotesk", sans-serif !important;
}

.font-label-tech,
.font-label-sm {
    font-family: "Space Mono", "Hanken Grotesk", sans-serif !important;
}

.header-link {
    font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1;
    color: #4e6170;
    border: 1px solid #d4e2ec;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.header-link:hover {
    color: #0f6674;
    border-color: #9fd3e4;
    background: rgba(24, 183, 201, 0.1);
}

.burger-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #d4e2ec;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    color: #0f6674;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.burger-btn:hover {
    border-color: #9fd3e4;
    background: rgba(24, 183, 201, 0.1);
}

.header-nav-mobile {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.header-nav-mobile::-webkit-scrollbar {
    display: none;
}

.header-nav-mobile.is-open {
    display: flex !important;
}

.specialist-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.specialist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 63, 95, 0.12);
}

.specialist-photo {
    opacity: 1;
    filter: saturate(1.02) contrast(1.02);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.specialist-card:hover .specialist-photo {
    transform: scale(1.03);
    filter: saturate(1.08) contrast(1.06);
}

.faq-item {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
    border-color: #9fd3e4;
    transform: translateY(-1px);
}

.faq-item[open] {
    border-color: #18b7c9;
    box-shadow: 0 8px 20px rgba(24, 183, 201, 0.15);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #184d74;
    font-family: "Outfit", "Hanken Grotesk", sans-serif;
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 1.2;
    font-weight: 700;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    flex: 0 0 auto;
    color: #18b7c9;
    font-size: 30px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    color: #5a7389;
    font-size: clamp(16px, 1.4vw, 22px);
    line-height: 1.5;
}

.cert-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    border-color: #9fd3e4;
    box-shadow: 0 12px 28px rgba(15, 63, 95, 0.12);
}

.cert-media {
    height: clamp(260px, 34vw, 420px);
    background: #eef6fb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}



.neon-border {
    border: 1px solid #18b7c9;
    box-shadow: inset 0 0 10px rgba(24, 183, 201, 0.12), 0 0 15px rgba(24, 183, 201, 0.15);
}
.neon-border-magenta {
    border: 1px solid #0f6c8d;
    box-shadow: inset 0 0 10px rgba(15, 108, 141, 0.12), 0 0 15px rgba(15, 108, 141, 0.15);
}
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #d4e2ec;
}
.cyber-button-primary {
    background-color: #18b7c9;
    color: #ffffff;
    transition: all 0.3s ease;
}
.cyber-button-primary:hover {
    box-shadow: 0 8px 20px rgba(24, 183, 201, 0.35);
    transform: translateY(-2px);
}
.cyber-button-ghost {
    background-color: transparent;
    color: #0f6c8d;
    border: 1px solid #0f6c8d;
    transition: all 0.3s ease;
}
.cyber-button-ghost:hover {
    box-shadow: inset 0 0 10px rgba(15, 108, 141, 0.15), 0 0 15px rgba(15, 108, 141, 0.2);
    background-color: rgba(15, 108, 141, 0.06);
}
.cyber-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9fb4c4;
    color: #1c3142;
    transition: all 0.3s ease;
}
.cyber-input:focus {
    outline: none;
    border-bottom-color: #18b7c9;
    box-shadow: 0 1px 0 0 #18b7c9;
}
.scan-lines {
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(28,49,66,0.04) 50%, rgba(28,49,66,0.04));
    background-size: 100% 4px;
}
.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(15, 108, 141, 0.08) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(15, 108, 141, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-background {
    background-image:
        linear-gradient(90deg, rgba(244, 249, 252, 0.58) 0%, rgba(244, 249, 252, 0.42) 45%, rgba(244, 249, 252, 0.36) 100%),
        url("./assets/media/hero-bg.png"),
        linear-gradient(to right, rgba(15, 108, 141, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 108, 141, 0.06) 1px, transparent 1px);
    background-size: auto, cover, 40px 40px, 40px 40px;
    background-position: center, center center, center, center;
    background-repeat: no-repeat, no-repeat, repeat, repeat;
}
@keyframes scan {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 110%; opacity: 0; }
}
.neon-text-glow {
    text-shadow: 0 0 10px rgba(24, 183, 201, 0.28), 0 0 20px rgba(24, 183, 201, 0.15);
}

.hero-media-slider {
    width: min(100%, 520px);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hero-results-slider {
    z-index: 12;
}

.hero-results-card {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 63, 95, 0.24);
    border: 1px solid rgba(212, 226, 236, 0.95);
}

.hero-results-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    background: transparent;
}

.hero-results-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.hero-results-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-top: 1px solid #d4e2ec;
    background: rgba(255, 255, 255, 0.96);
}

.hero-results-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #d4e2ec;
    color: #0f3f5f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.hero-results-btn:hover {
    border-color: #18b7c9;
    color: #18b7c9;
}

.hero-results-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 180px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hero-results-dots::-webkit-scrollbar {
    display: none;
}

.hero-results-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #b4c8d8;
    transition: all 0.25s ease;
}

.hero-results-dot.is-active {
    width: 18px;
    background: #18b7c9;
}

.hero-doctor-card {
    overflow: hidden;
    position: relative;
    z-index: 12;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hero-doctor-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    object-position: right bottom;
    display: block;
    border-radius: 0;
    background: transparent;
}

/* Slider/adaptive helpers */
[data-slider-track] {
    scrollbar-width: none;
}
[data-slider-track]::-webkit-scrollbar {
    display: none;
}

[data-slider-track] {
    align-items: stretch;
}

[data-slider-card] {
    width: clamp(280px, 82vw, 620px) !important;
    display: flex;
    flex-direction: column;
}

[data-slider-card] .aspect-video {
    aspect-ratio: 16 / 10;
    height: auto;
}

[data-slider-card] img,
[data-slider-card] video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgb(238, 246, 251);
}

[data-slider-card] .p-6 {
    padding: 20px;
}

.video-gallery-track {
    padding-bottom: 8px;
}

.video-gallery-card {
    width: clamp(260px, 31vw, 360px) !important;
    border: 1px solid rgba(15, 108, 141, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 252, 0.98) 100%);
    box-shadow: 0 18px 44px rgba(15, 43, 71, 0.12);
}

.video-gallery-media {
    position: relative;
    aspect-ratio: 9 / 16;
    background: #e9f3f8;
    overflow: hidden;
}

.video-gallery-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.22) 100%);
}

.video-gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    background: #e9f3f8 !important;
}

/* Faster rendering for heavy below-the-fold blocks */
#results,
#offer-details,
#pricing,
#doctors,
#contact,
#certificates,
#faq {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1100px;
}

.video-gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(5, 20, 31, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.video-gallery-badge::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.video-gallery-title {
    color: #f4fbff;
}

.video-gallery-note {
    color: rgba(244, 251, 255, 0.7);
}

.video-gallery-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
}

.video-gallery-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(15, 43, 71, 0.64);
}

.video-gallery-hint .material-symbols-outlined {
    font-size: 18px;
}

.review-slider-shell {
    max-width: 560px;
    margin-left: auto;
}

.review-slider-card {
    border: 1px solid rgba(15, 108, 141, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 249, 252, 0.98) 100%);
    box-shadow: 0 26px 60px rgba(15, 43, 71, 0.12);
}

.review-slider-stage {
    position: relative;
    padding: 24px 24px 0;
    background:
        radial-gradient(circle at top right, rgba(38, 193, 220, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(244, 249, 252, 0.96) 0%, rgba(233, 244, 250, 0.96) 100%);
}

.review-slider-quote {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #26c1dc;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(15, 43, 71, 0.12);
    z-index: 2;
}

.review-slide {
    width: 100%;
    max-width: 390px;
    height: clamp(360px, 42vw, 560px);
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(235, 249, 235, 0.98) 0%, rgba(221, 242, 230, 0.98) 100%);
    border: 1px solid rgba(15, 108, 141, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-slide-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    background: transparent;
    margin: auto;
}

.review-slider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px 26px;
    border-top: 1px solid rgba(15, 108, 141, 0.1);
}

.review-slider-copy {
    flex: 1;
}

.review-slider-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-slider-button {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(38, 193, 220, 0.26);
    color: #0f2b47;
    background: rgba(255, 255, 255, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.review-slider-button:hover {
    transform: translateY(-2px);
    border-color: rgba(38, 193, 220, 0.66);
    color: #26c1dc;
}

.review-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 108, 141, 0.2);
    transition: all 0.2s ease;
}

.review-slider-dot.is-active {
    width: 28px;
    background: #26c1dc;
}

@media (max-width: 1024px) {
    .font-display-lg.text-display-lg {
        font-size: clamp(36px, 7vw, 56px);
        line-height: 1.1;
    }

    main.pt-20 {
        padding-top: 80px;
    }

}

@media (min-width: 1025px) {
    .hero-media-slider {
        position: absolute;
        right: 64px;
        top: 118px;
        width: 470px;
        z-index: 12;
    }

}

@media (max-width: 768px) {
    .header-shell {
        padding-top: 10px;
    }

    header .h-20 {
        height: 64px;
    }

    .hero-background {
        background-image:
            linear-gradient(180deg, rgba(244, 249, 252, 0.62) 0%, rgba(244, 249, 252, 0.48) 60%, rgba(244, 249, 252, 0.42) 100%),
            url("./assets/media/hero-bg.png"),
            linear-gradient(to right, rgba(15, 108, 141, 0.05) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(15, 108, 141, 0.05) 1px, transparent 1px);
        background-position: center, 62% center, center, center;
    }

    header .font-headline-sm {
        font-size: 22px;
        line-height: 1.15;
    }

    header {
        border-bottom: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-cta {
        display: inline-flex !important;
        padding: 9px 12px !important;
        font-size: 10px !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase;
        white-space: nowrap;
    }

    main.pt-20 {
        padding-top: 64px;
    }

    section.py-24 {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .glass-panel.p-8 {
        padding: 20px;
    }

    .hero-media-slider {
        width: 100%;
        position: static;
        margin-top: 8px;
    }

    .hero-results-card {
        max-width: 100%;
        margin: 0 auto;
        border-radius: 18px;
    }

    .hero-results-frame {
        aspect-ratio: 3 / 4;
        min-height: 320px;
        background: rgb(238, 246, 251);
    }

    .hero-results-image {
        object-fit: contain;
        transform: none;
    }

    .hero-results-dots {
        max-width: 140px;
    }

    .hero-doctor-card {
        z-index: 1;
    }

    [data-slider-card] {
        width: min(88vw, 560px) !important;
    }

    [data-slider-card] .aspect-video {
        aspect-ratio: 4 / 5;
        background: rgb(238, 246, 251);
    }

    .video-gallery-card {
        width: min(82vw, 320px) !important;
    }

    .video-gallery-media {
        aspect-ratio: 10 / 16;
    }

    .video-gallery-meta {
        padding: 16px 16px 18px;
    }

    .review-slider-shell {
        max-width: 100%;
        margin-left: 0;
    }

    .review-slider-stage {
        padding: 18px 18px 0;
    }

    .review-slide {
        max-width: 100%;
        height: clamp(340px, 72vw, 500px);
    }

    .review-slider-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 18px 20px;
    }

    .review-slider-controls {
        justify-content: space-between;
    }

    footer {
        text-align: center;
    }

    .header-nav-mobile {
        display: none;
        flex-direction: column;
        gap: 8px;
        padding-bottom: 10px;
    }

    .faq-question {
        font-size: 19px;
        gap: 10px;
    }

    .faq-icon {
        font-size: 26px;
    }

    .faq-answer {
        font-size: 16px;
    }

    .cert-media {
        height: clamp(220px, 62vw, 340px);
    }


}

@media (max-width: 480px) {
    header .font-headline-sm {
        font-size: 18px;
    }

    .header-cta {
        font-size: 9px !important;
        padding: 8px 10px !important;
    }

    .header-link {
        font-size: 12px;
        padding: 7px 11px;
    }

    .font-body-lg.text-body-lg {
        font-size: 16px;
        line-height: 1.5;
    }

    .video-gallery-card {
        width: min(86vw, 292px) !important;
    }

    .hero-results-frame {
        min-height: 280px;
    }

    .video-gallery-badge {
        top: 12px;
        left: 12px;
        padding: 8px 12px;
    }

    .video-gallery-media {
        aspect-ratio: 9 / 15;
    }

    .review-slider-stage {
        padding: 16px 16px 0;
    }

    .review-slide {
        height: clamp(320px, 78vw, 440px);
        border-radius: 22px;
    }

    .review-slider-quote {
        width: 42px;
        height: 42px;
        top: 14px;
        right: 14px;
    }

    .review-slider-button {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .review-slider-controls {
        gap: 10px;
    }

}

@media (max-width: 509px) {
    #offer-details .grid.grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 12px;
        margin-bottom: 20px;
    }

    #offer-details .grid.grid-cols-2 > .glass-panel {
        padding: 14px;
        min-width: 0;
    }

    #offer-details .grid.grid-cols-2 .font-display-lg.text-display-lg {
        font-size: 52px;
        line-height: 1;
    }

    #offer-details .grid.grid-cols-2 .font-headline-lg.text-headline-lg {
        font-size: 42px;
        line-height: 1;
    }

    #offer-details .grid.grid-cols-2 .font-headline-md.text-headline-md {
        font-size: 24px;
        line-height: 1.08;
    }

    #offer-details .grid.grid-cols-2 .font-body-md.text-body-md {
        font-size: 16px;
        line-height: 1.28;
    }

    #offer-details .grid.grid-cols-2 .font-label-sm.text-label-sm {
        font-size: 12px;
        line-height: 1.3;
    }
}

@media (max-width: 403px) {
    .header-cta {
        display: none !important;
    }

    footer > div:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
