:root {
    --ink: #17202b;
    --muted: #5f6975;
    --paper: #f5f1ea;
    --surface: #ffffff;
    --line: #ded8cf;
    --accent: #a83a32;
    --accent-dark: #7d2722;
    --gold: #d9a441;
    --success: #2f7654;
}
html { scroll-padding-top: 84px; }
body {
    color: var(--ink);
    background: var(--paper);
    font-family: Georgia, "Times New Roman", serif;
    overflow-x: hidden;
}
.site-header {
    position: relative;
    z-index: 20;
    background: #fff;
    border-top: 5px solid var(--accent);
    border-bottom: 1px solid var(--line);
}
.site-header__bar {
    width: min(1120px, calc(100% - 32px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}
.site-brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 4px;
    font: 800 24px/1 Arial, sans-serif;
}
.site-brand strong,
.site-brand small { display: block; }
.site-brand strong { font: 800 19px/1.15 Arial, sans-serif; }
.site-brand small {
    margin-top: 3px;
    color: var(--muted);
    font: 12px/1.2 Arial, sans-serif;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-nav a {
    color: #384452;
    font: 700 13px/1 Arial, sans-serif;
    text-decoration: none;
}
.hero {
    padding: 52px 0 46px;
    color: var(--ink);
    text-align: left;
    background: var(--paper);
}
.hero .container { max-width: 1040px; }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 22px;
    color: var(--accent);
    font: 800 12px/1.2 Arial, sans-serif;
    text-transform: uppercase;
}
.hero-meta span + span {
    color: var(--muted);
    font-weight: 600;
    text-transform: none;
}
.hero h1 {
    max-width: 920px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(38px, 5.2vw, 66px);
    line-height: 1.02;
    letter-spacing: 0;
}
.hero-subtitle {
    max-width: 760px;
    margin: 0 0 30px;
    color: #4c5663;
    font-size: 21px;
    line-height: 1.55;
}
.hero-image {
    max-width: none;
    margin: 0;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(30, 35, 42, .14);
}
.hero-image img {
    width: 100%;
    aspect-ratio: 16 / 8.8;
    object-fit: cover;
}
.author-card {
    position: relative;
    z-index: 2;
    width: min(720px, calc(100% - 40px));
    margin: -34px auto 0;
    padding: 19px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(31, 36, 42, .12);
}
.author-card__avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    font: 800 14px/1 Arial, sans-serif;
}
.author-card p {
    margin: 0;
    color: #56606b;
    font: 15px/1.5 Arial, sans-serif;
}
.author-card strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-size: 16px;
}
.section { padding: 62px 0; }
.section-white { background: var(--paper); }
.section-gray { background: #e9e5de; }
.container-narrow { max-width: 860px; }
.section-heading { margin-bottom: 28px; }
.section-heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--accent);
    font: 800 12px/1.2 Arial, sans-serif;
    text-align: center;
    text-transform: uppercase;
}
.section-heading h2 { margin: 0; color: var(--ink); }
.story-section .content-block {
    position: relative;
    margin-bottom: 26px;
    padding: 38px 42px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(33, 39, 45, .07);
}
.story-section .content-block-warning {
    background: #fff9f2;
    border-left-color: #ca6b38;
}
.story-section .content-block-success {
    background: #f4faf6;
    border-left-color: var(--success);
}
.story-section .content-block-highlight {
    background: #fff9e8;
    border-left-color: var(--gold);
}
.story-section .content-block h3 {
    margin: 0 0 22px;
    padding: 0 0 13px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 27px;
}
.story-section p { color: #303a46; font-size: 18px; line-height: 1.78; }
.image-block {
    margin: 28px 0;
    border: 1px solid #d7d0c7;
    border-radius: 6px;
    background: #ece8e2;
    box-shadow: none;
}
.image-block img { width: 100%; }
.image-block img.image-block__portrait {
    width: min(520px, 100%);
    margin: 0 auto;
}
blockquote {
    color: #3a4652;
    background: #f2eee8;
    border-left-color: var(--accent);
    border-radius: 0 4px 4px 0;
}
.doctor-block {
    border: 1px solid #d7d0c7;
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(33, 39, 45, .09);
}
.doctor-points li {
    background: #f3f5f4;
    border-left-color: var(--success);
}
.doctor-points li strong { color: var(--success); }
.promo-banner {
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent-dark);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(125, 39, 34, .18);
}
.order-section {
    padding: 64px 0;
    color: var(--ink);
    background: #202b36;
}
.order-integrated-block {
    padding: 40px;
    border: 0;
    border-top: 5px solid var(--gold);
    border-radius: 7px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.premium-tag-small { color: var(--accent); background: #f5e7e5; }
.price-new-integrated { color: var(--accent); }
.btn,
.btn-primary,
.btn-integrated {
    color: #fff;
    background: var(--accent);
    border-radius: 5px;
    box-shadow: 0 10px 22px rgba(168, 58, 50, .22);
}
.btn-primary:hover,
.btn-integrated:hover { background: var(--accent-dark); }
.input-integrated:focus,
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(168,58,50,.10);
}
.phone-hint {
    margin: 8px 2px 0;
    color: #67717d;
    font: 13px/1.4 Arial, sans-serif;
}
.order-phone-error {
    padding: 9px 11px;
    background: #fff1f0;
    border: 1px solid #efc1bd;
    border-radius: 4px;
}
.comments-section .testimonial {
    padding: 24px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    box-shadow: 0 7px 20px rgba(33, 39, 45, .06);
}
.footer { background: #17202b; }
.order-notification {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 9999;
    width: min(360px, calc(100vw - 36px));
    padding: 15px 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d9d4cc;
    border-left: 4px solid var(--success);
    border-radius: 6px;
    box-shadow: 0 15px 42px rgba(20, 28, 35, .22);
    font-family: Arial, sans-serif;
    animation: editorialPushIn .35s ease-out both;
}
.order-notification--leaving { animation: editorialPushOut .35s ease-in both; }
.order-notification__status {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--success);
    background: #e8f5ed;
    border-radius: 50%;
    font-size: 19px;
    font-weight: 900;
}
.order-notification strong,
.order-notification small { display: block; }
.order-notification strong { margin-bottom: 3px; font-size: 14px; }
.order-notification small { color: #68727d; font-size: 12px; }
@keyframes editorialPushIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes editorialPushOut { to { opacity: 0; transform: translateY(18px); } }

@media (max-width: 720px) {
    html { scroll-padding-top: 68px; }
    .site-header__bar {
        width: calc(100% - 24px);
        min-height: 64px;
    }
    .site-brand__mark { width: 36px; height: 36px; font-size: 20px; }
    .site-brand strong { font-size: 15px; }
    .site-brand small { font-size: 10px; }
    .site-nav { display: none; }
    .hero { padding: 26px 0 32px; }
    .hero .container,
    .container-narrow { padding: 0 12px; }
    .hero-meta { margin-bottom: 15px; gap: 6px 12px; }
    .hero h1 { margin-bottom: 14px; font-size: 34px; line-height: 1.07; }
    .hero-subtitle { margin-bottom: 20px; font-size: 17px; line-height: 1.52; }
    .hero-image { border-radius: 5px; }
    .hero-image img { aspect-ratio: 4 / 3; object-position: center; }
    .author-card {
        width: calc(100% - 20px);
        margin-top: -18px;
        padding: 14px;
        align-items: flex-start;
    }
    .author-card__avatar { flex-basis: 40px; width: 40px; height: 40px; font-size: 12px; }
    .author-card p { font-size: 13px; }
    .section { padding: 38px 0; }
    .section-heading { margin-bottom: 20px; }
    .section-heading h2 { font-size: 28px; }
    .story-section .content-block {
        margin-bottom: 16px;
        padding: 24px 18px;
        border-left-width: 3px;
    }
    .story-section .content-block h3 { font-size: 23px; line-height: 1.18; }
    .story-section p { font-size: 17px; line-height: 1.68; }
    .image-block { margin: 22px -7px; }
    .image-block img { max-height: none; }
    .image-block img.image-block__portrait {
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }
    blockquote { margin: 22px -2px; padding: 19px 17px; font-size: 16px; }
    .doctor-block { padding: 24px 18px; }
    .doctor-header { margin-bottom: 24px; }
    .doctor-photo { max-width: 180px; }
    .order-section { padding: 38px 0; }
    .order-integrated-block { padding: 24px 16px; gap: 22px; }
    .order-h2-integrated { font-size: 27px; }
    .product-image img { max-width: 200px; }
    .btn-integrated { min-height: 58px; height: auto; padding: 13px 14px; font-size: 16px; line-height: 1.2; }
    .comments-section .testimonial { padding: 19px 17px; }
    .order-notification {
        left: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
    }
}
@media (max-width: 390px) {
    .hero h1 { font-size: 30px; }
    .hero-meta span:nth-child(2) { display: none; }
    .story-section .content-block { padding: 21px 15px; }
    .timer-unit { min-width: 54px; padding: 8px 5px; }
}
