/* Palette: Cyan-Teal + Amber | corporate-clean, rounded, subtle shadows, light mode */
:root {
    --color-primary: #083838;
    --color-secondary: #041C1C;
    --color-accent: #F0B060;
    --bg-tint: #C0DCDC;
    --bg-page: #FAFDFB;
    --bg-soft: rgba(192, 220, 220, 0.32);
    --text-main: #040E0E;
    --white: #FFFFFF;
    --line: rgba(8, 56, 56, 0.14);
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.07);
    --radius-card: 14px;
    --radius-btn: 8px;
    --font-head: 'Montserrat', Arial, sans-serif;
    --font-body: 'Open Sans', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.65;
    color: var(--text-main);
    background: var(--bg-page);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--color-secondary); }
p { margin-bottom: 14px; }
ul { margin: 0 0 14px 0; }

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    z-index: 100;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    z-index: 100;
}
.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}
.hamburger .line {
    width: 100%;
    height: 3px;
    margin: 5px 0;
    transition: 0.3s;
    background: var(--color-primary);
}
.menu-checkbox { display: none; }
.desktop-nav { display: block; }
.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}
.desktop-nav a {
    text-decoration: none;
    font-weight: 600;
    color: var(--color-secondary);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.desktop-nav a:hover { border-bottom-color: var(--color-accent); }
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}
.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a {
    display: block;
    min-height: 44px;
    line-height: 44px;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-secondary);
}
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    #menu-toggle:checked ~ .mobile-nav { max-height: 400px; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* Layout helpers */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 16px; }
.section-alt { background: var(--bg-soft); }
.section-title { font-size: clamp(24px, 5vw, 38px); margin-bottom: 14px; }
.section-lead { max-width: 760px; margin-bottom: 28px; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
    margin-bottom: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 26px;
    border-radius: var(--radius-btn);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--color-accent); color: var(--color-secondary); }
.btn-primary:hover { transform: translateY(-2px); background: #f4bd78; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-dark { background: var(--color-primary); color: var(--white); }
.btn-dark:hover { background: var(--color-secondary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Hero: split-color */
.hero { display: grid; grid-template-columns: 1fr; }
.hero-text {
    background: var(--color-primary);
    color: var(--white);
    padding: 48px 16px;
}
.hero-text h1 { color: var(--white); font-size: clamp(28px, 6vw, 52px); margin-bottom: 18px; }
.hero-text p { max-width: 560px; color: #E4F0F0; }
.hero-text .eyebrow { color: var(--color-accent); }
.hero-media { position: relative; min-height: 260px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Video */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 24px auto 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    background: var(--color-secondary);
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-points { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; list-style: none; }
.video-points li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 16px 18px;
    box-shadow: var(--shadow-soft);
}

/* Cards */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.service-card, .adv-card, .info-card, .review-card, .doctor-card, .fact-card, .value-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 24px 20px;
    box-shadow: var(--shadow-soft);
}
.service-num {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 14px;
    color: var(--color-primary);
    background: var(--bg-tint);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 12px;
}
.service-card h3, .adv-card h3, .info-card h3, .value-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p, .adv-card p, .info-card p, .value-card p { margin-bottom: 0; }
.adv-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.adv-card { border-top: 4px solid var(--color-accent); }
.fact-card { text-align: center; }
.fact-card strong { display: block; font-family: var(--font-head); font-size: clamp(28px, 6vw, 40px); color: var(--color-primary); }

/* Timeline */
.timeline { list-style: none; position: relative; max-width: 820px; padding-left: 52px; margin: 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--bg-tint);
}
.timeline-item { position: relative; margin-bottom: 26px; }
.timeline-item::before {
    content: attr(data-step);
    position: absolute;
    left: -52px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-item h3 { font-size: 19px; margin-bottom: 6px; }
.timeline-item p { margin-bottom: 0; }

/* Split block */
.split { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-soft); object-fit: cover; }
.wrap-image { float: none; margin-bottom: 18px; }
.wrap-image img { width: 100%; border-radius: var(--radius-card); }

/* Doctors */
.doctors-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.doctor-card { text-align: center; }
.avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #145858, #083838);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-accent);
}
.doctor-card h3 { font-size: 18px; }
.doctor-role { color: var(--color-primary); font-weight: 700; margin-bottom: 6px; }
.doctor-card p { margin-bottom: 6px; }

/* FAQ */
.faq-list { max-width: 860px; }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 18px;
    margin-bottom: 12px;
}
summary {
    cursor: pointer;
    min-height: 44px;
    padding: 12px 0;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--color-secondary);
}
details p { padding-bottom: 14px; margin-bottom: 0; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review-card { border-left: 4px solid var(--color-accent); }
.review-card p { font-style: italic; }
.review-card strong { color: var(--color-primary); }

/* CTA */
.cta-band { background: var(--color-primary); color: var(--white); padding: 48px 16px; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 5vw, 36px); margin-bottom: 12px; }
.cta-band p { max-width: 680px; margin: 0 auto 20px; color: #E4F0F0; }
.cta-split { display: grid; grid-template-columns: 1fr; gap: 16px; text-align: left; align-items: center; }
.cta-split .btn-row { margin-top: 0; }

/* Inner page head */
.page-head { background: var(--color-primary); color: var(--white); padding: 44px 16px; }
.page-head h1 { color: var(--white); font-size: clamp(28px, 6vw, 46px); margin-bottom: 12px; }
.page-head p { max-width: 720px; color: #E4F0F0; margin-bottom: 0; }

/* Numbered sections (program) */
.num-section { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.num-big { font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 9vw, 72px); line-height: 1; color: var(--color-accent); }
.num-section h3 { font-size: 21px; margin-bottom: 6px; }
.num-section p { margin-bottom: 0; }
.parallax-band {
    position: relative;
    padding: 64px 16px;
    background: linear-gradient(rgba(4, 28, 28, 0.72), rgba(4, 28, 28, 0.72)), url('img/bg-1.jpg') center / cover no-repeat;
    color: var(--white);
}
.parallax-band h2 { color: var(--white); font-size: clamp(24px, 5vw, 36px); margin-bottom: 12px; }
.parallax-band p { max-width: 720px; margin-bottom: 0; color: #E4F0F0; }

/* Profiles (mission) */
.profiles-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.manifesto {
    margin: 28px 0 0;
    padding: 24px 22px;
    background: var(--bg-tint);
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: clamp(18px, 3.6vw, 26px);
    font-weight: 700;
    color: var(--color-secondary);
}

/* Contact + forms */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
.contact-form { width: 100%; max-width: 800px; }
.form-row { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--color-secondary); }
.contact-form input, .contact-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    font-family: var(--font-body);
    font-size: 16px;
    border: 1px solid rgba(8, 56, 56, 0.35);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-main);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--color-accent); border-color: var(--color-primary); }
.contact-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 20px; box-shadow: var(--shadow-soft); }
.contact-info h2 { font-size: 22px; margin-bottom: 12px; }
.contact-info p { margin-bottom: 10px; }
.contact-info strong { color: var(--color-primary); }

/* Legal + thank */
.legal { max-width: 900px; }
.legal h2 { font-size: 22px; margin: 26px 0 10px; }
.thank-links { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.thank-links a {
    display: block;
    min-height: 44px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

/* Footer (colors are hardcoded to resist browser translators) */
.site-footer { background-color: #041C1C !important; color: #E6F0F0 !important; padding: 40px 16px 20px; }
.site-footer * { color: #E6F0F0 !important; }
.site-footer a { color: #F0B060 !important; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4, .site-footer .footer-logo { color: #FFFFFF !important; }
.footer-logo { font-family: var(--font-head); font-size: 24px; font-weight: 800; display: inline-block; margin-bottom: 10px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 24px; }
.footer-col h4 { margin-bottom: 10px; font-size: 16px; }
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col p { margin-bottom: 8px; }
.footer-disclaimer {
    max-width: 1200px;
    margin: 24px auto 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(240, 176, 96, 0.35);
    font-size: 13px;
}
.footer-copy { max-width: 1200px; margin: 0 auto; font-size: 13px; }

/* Cookie banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background: #041C1C;
    color: #FFFFFF;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: #F0B060; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
}
.cookie-btn-accept { background: #F0B060; color: #041C1C; border: 2px solid #F0B060; }
.cookie-btn-decline { background: transparent; color: #FFFFFF; border: 2px solid #FFFFFF; }
@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}

/* Tablet */
@media (min-width: 768px) {
    .section { padding: 64px 24px; }
    .container { padding: 0 24px; }
    .hero { grid-template-columns: 1fr 1fr; min-height: 560px; }
    .hero-text { padding: 72px 40px 72px 24px; display: flex; flex-direction: column; justify-content: center; }
    .hero-media { min-height: 100%; }
    .video-points { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .doctors-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .faq-grid { grid-template-columns: repeat(2, 1fr); }
    .profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .split { grid-template-columns: 1fr 1fr; gap: 48px; }
    .wrap-image { float: right; width: 42%; margin: 0 0 18px 28px; }
    .num-section { grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
    .cta-split { grid-template-columns: 1.4fr 1fr; }
    .cta-split .btn-row { justify-content: flex-end; }
    .page-head { padding: 64px 24px; }
    .contact-layout { grid-template-columns: 3fr 2fr; gap: 40px; align-items: start; }
    .footer-inner { grid-template-columns: 1.3fr 1fr 1.3fr; }
    .thank-links { grid-template-columns: repeat(3, 1fr); }
    .cta-band { padding: 64px 24px; }
}

/* Desktop */
@media (min-width: 1024px) {
    .section { padding: 80px 24px; }
    .hero-text { padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px)); }
    .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .adv-grid { grid-template-columns: repeat(4, 1fr); }
    .video-points { grid-template-columns: repeat(4, 1fr); }
    .profiles-grid { grid-template-columns: repeat(4, 1fr); }
    .facts-grid { grid-template-columns: repeat(4, 1fr); }
    .parallax-band { background-attachment: fixed; }
}
