:root {
    --ink: #102033;
    --muted: #5b6878;
    --blue: #1769aa;
    --blue-dark: #0d4d83;
    --teal: #17a7a5;
    --pale: #f3f8fc;
    --line: #d9e6ef;
    --white: #ffffff;
    --shadow: 0 24px 60px rgba(16, 32, 51, .14);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }
.narrow { max-width: 760px; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.topbar-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand img { width: 48px; height: 48px; }
.brand strong { display: block; font-size: 22px; letter-spacing: -.02em; }
.brand span { display: block; color: var(--muted); font-size: 13px; margin-top: -3px; }
nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 14px; }
nav a { text-decoration: none; color: var(--ink); }
.nav-button {
    background: var(--blue);
    color: var(--white);
    padding: 11px 16px;
    border-radius: 999px;
}

.hero {
    background:
        radial-gradient(circle at 20% 15%, rgba(23,167,165,.16), transparent 30%),
        linear-gradient(135deg, #f7fbff 0%, #eaf5fb 100%);
    padding: 84px 0 70px;
    overflow: hidden;
}
.hero-grid,
.panel-grid,
.pricing-wrap,
.contact-grid,
.split {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 46px;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-dark);
    background: #e7f5f5;
    border: 1px solid #cae9e9;
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; }
h1 { font-size: clamp(42px, 6vw, 68px); letter-spacing: -.055em; max-width: 780px; margin-top: 22px; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; }
h3 { font-size: 20px; }
p { color: var(--muted); margin: 0 0 20px; }
.lead { font-size: 20px; max-width: 660px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 24px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    font-size: 15px;
}
.primary { color: var(--white); background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: 0 16px 30px rgba(23,105,170,.22); }
.secondary { background: var(--white); color: var(--blue-dark); border: 1px solid var(--line); }
.full { width: 100%; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-row span {
    background: rgba(255,255,255,.8);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.hero-card,
.doctor-card,
.contact-card,
.price-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-card { padding: 18px; transform: rotate(1deg); }

.section { padding: 78px 0; }
.light { background: var(--pale); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 26px;
    text-align: center;
    box-shadow: 0 14px 28px rgba(16, 32, 51, .08);
}
.stat-card strong { display: block; color: var(--blue-dark); font-size: 32px; line-height: 1; margin-bottom: 10px; }
.stat-card span { color: var(--muted); font-weight: 700; }

.feature-list { display: grid; gap: 16px; }
.feature-list article {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(16, 32, 51, .07);
}
.feature-list img { width: 58px; height: 58px; }
.feature-list p { margin: 0; }

.blue-panel {
    background:
        linear-gradient(135deg, rgba(13,77,131,.96), rgba(23,105,170,.92)),
        url('../img/pattern.svg');
    color: var(--white);
}
.blue-panel p,
.blue-panel li { color: rgba(255,255,255,.82); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #9ff2e9;
    font-weight: 900;
}
.doctor-card { padding: 26px; background: rgba(255,255,255,.97); }

.pricing-wrap { grid-template-columns: 1fr 390px; }
.price-card { padding: 30px; }
.badge {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--blue-dark);
    background: #e7f5f5;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 18px;
}
.price { font-size: 68px; font-weight: 900; letter-spacing: -.06em; line-height: 1; margin-bottom: 14px; }
.price sup { font-size: 30px; }
.price span { font-size: 17px; color: var(--muted); letter-spacing: 0; }
.price-card small { display: block; margin-top: 14px; color: var(--muted); text-align: center; }
.final-cta { text-align: center; }
.final-cta p { max-width: 620px; margin-left: auto; margin-right: auto; }

.page-hero {
    padding: 76px 0 52px;
    background: linear-gradient(135deg, #f7fbff, #eaf5fb);
    text-align: center;
}
.page-hero h1 { margin-left: auto; margin-right: auto; }
.contact-grid { align-items: start; }
.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
label { display: grid; gap: 7px; font-weight: 800; color: var(--ink); }
input, textarea {
    width: 100%;
    border: 1px solid #cbdbe7;
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    outline: none;
    background: #fbfdff;
}
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,105,170,.12); }
.form-note { font-size: 13px; margin: 0; }
.contact-card { padding: 28px; position: sticky; top: 100px; }
.contact-card img { margin-bottom: 22px; }
.contact-detail {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
}
.contact-detail strong { display: block; }
.contact-detail span { color: var(--muted); }

footer { background: #0b1725; color: rgba(255,255,255,.78); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; }
footer a { color: var(--white); }

@media (max-width: 860px) {
    .topbar-inner { align-items: flex-start; padding: 15px 0; flex-direction: column; }
    nav { width: 100%; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
    .hero-grid, .panel-grid, .pricing-wrap, .contact-grid, .split { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 54px; }
    .section { padding: 54px 0; }
    .contact-card { position: static; }
}

@media (max-width: 520px) {
    .wrap { width: min(100% - 26px, 1140px); }
    .brand strong { font-size: 19px; }
    .brand span { font-size: 12px; }
    nav a:not(.nav-button) { font-size: 13px; }
    h1 { font-size: 38px; }
    .lead { font-size: 18px; }
    .feature-list article { grid-template-columns: 1fr; }
    .price { font-size: 54px; }
}
