@charset "UTF-8";

/* ============================================================
   Стоматология доктора Петровского — дизайн-система
   Палитра построена на цветах логотипа: глубокий синий + бирюза
   ============================================================ */

:root {
    /* Цвета */
    --navy-950: #031c30;
    --navy-900: #06304f;
    --navy-800: #0a3d61;
    --blue-600: #3c528b;
    --blue-500: #52669b;
    --blue-100: #e9eef7;
    --teal-800: #08655c;
    --teal-700: #0a7a6f;
    --teal-600: #0e9384;
    --teal-500: #14b8a6;
    --teal-200: #b8ece4;
    --teal-100: #d6f4ef;
    --teal-50: #eefbf8;
    --ink: #0f2233;
    --body: #33475b;
    --muted: #5a6b7b;
    --line: #e3eaf1;
    --bg: #f5f9fc;
    --surface: #ffffff;

    /* Геометрия */
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --shadow-sm: 0 1px 2px rgba(6, 48, 79, .05), 0 6px 18px rgba(6, 48, 79, .05);
    --shadow-md: 0 14px 40px rgba(6, 48, 79, .1);
    --shadow-lg: 0 26px 70px rgba(6, 48, 79, .16);

    /* Типографика и сетка */
    --font-main: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --container: 1200px;
    --header-h: 80px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Сброс и база ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1 0 auto;
}

img,
svg,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--navy-900);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.25rem, 4.6vw, 3.9rem);
    line-height: 1.06;
}

h2 {
    font-size: clamp(1.7rem, 3.1vw, 2.55rem);
}

h3 {
    font-size: 1.12rem;
    font-weight: 700;
}

p {
    margin: 0 0 1rem;
}

strong {
    font-weight: 700;
}

::selection {
    background: var(--teal-200);
    color: var(--navy-950);
}

:focus-visible {
    outline: 3px solid rgba(20, 184, 166, .55);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Утилиты ---------- */

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: clamp(56px, 7.5vw, 96px) 0;
}

.section--tight {
    padding: clamp(40px, 5vw, 64px) 0;
}

.section--white {
    background: var(--surface);
}

.section--soft {
    background: var(--bg);
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
    vertical-align: -.18em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.text-accent {
    color: var(--teal-700);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--teal-100);
    border-radius: 999px;
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow .icon {
    width: 15px;
    height: 15px;
}

.section-head {
    max-width: 780px;
    margin: 0 auto clamp(32px, 5vw, 52px);
    text-align: center;
}

.section-head h2 {
    margin-top: 14px;
}

.section-head p {
    max-width: 64ch;
    margin: .9rem auto 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.section-head--left {
    margin-left: 0;
    text-align: left;
}

.section-head--left p {
    margin-left: 0;
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head-row .section-head {
    margin: 0;
    text-align: left;
}

.section-head-row .section-head p {
    margin-left: 0;
    margin-right: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--navy-900);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform .2s var(--ease);
}

.skip-link:focus {
    transform: none;
}

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    background: none;
    color: var(--navy-900);
    font-size: .93rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
        background-color .25s var(--ease), border-color .25s var(--ease),
        color .25s var(--ease);
}

.btn .icon {
    width: 1.1em;
    height: 1.1em;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-800));
    color: #fff;
    box-shadow: 0 10px 24px rgba(10, 122, 111, .28);
}

.btn-primary:hover {
    box-shadow: 0 14px 32px rgba(10, 122, 111, .38);
}

.btn-ghost {
    background: var(--surface);
    border-color: var(--line);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    border-color: var(--teal-200);
    color: var(--teal-700);
}

.btn-sm {
    padding: 11px 18px;
    font-size: .83rem;
}

.btn-lg {
    padding: 16px 30px;
    font-size: 1rem;
}

/* ---------- Шапка ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid rgba(227, 234, 241, .9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 30px rgba(6, 48, 79, .08);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.logo img {
    display: block;
    width: auto;
    height: 46px;
}

.site-nav {
    justify-self: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--navy-800);
    font-size: .9rem;
    font-weight: 600;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.nav-link:hover {
    background: var(--teal-50);
    color: var(--teal-700);
}

.nav-link.is-active {
    background: var(--teal-50);
    color: var(--teal-700);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    color: var(--navy-900);
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: default;
}

.header-phone .icon {
    width: 18px;
    height: 18px;
    color: var(--teal-700);
}

.nav-toggle {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--navy-900);
    cursor: pointer;
}

.nav-toggle .icon {
    width: 22px;
    height: 22px;
}

.nav-toggle .icon-close {
    display: none;
}

body.nav-open .nav-toggle .icon-menu {
    display: none;
}

body.nav-open .nav-toggle .icon-close {
    display: block;
}

.nav-cta,
.nav-hours {
    display: none;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(3, 28, 48, .45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), visibility .25s var(--ease);
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
}

/* ---------- Главный экран ---------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(48px, 6.5vw, 88px) 0 clamp(64px, 9vw, 116px);
    background:
        radial-gradient(900px 500px at 88% -10%, rgba(45, 212, 191, .16), transparent 62%),
        radial-gradient(700px 480px at 2% 18%, rgba(82, 102, 155, .13), transparent 60%),
        linear-gradient(180deg, #f8fcfd 0%, #eef5fa 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
    opacity: .7;
}

.blob-1 {
    top: -240px;
    right: -140px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle at 35% 35%, rgba(45, 212, 191, .35), rgba(45, 212, 191, 0) 68%);
}

.blob-2 {
    bottom: -260px;
    left: -180px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 40% 40%, rgba(82, 102, 155, .22), rgba(82, 102, 155, 0) 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(32px, 5vw, 64px);
}

.hero-copy h1 {
    margin: 18px 0 20px;
    max-width: 14ch;
}

.hero-lead {
    max-width: 54ch;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-800);
    font-size: .84rem;
    font-weight: 600;
}

.hero-points .icon {
    width: 17px;
    height: 17px;
    color: var(--teal-700);
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(360px, 40vw, 500px);
}

.hero-orbit {
    position: absolute;
    width: min(100%, 520px);
    aspect-ratio: 1;
    border: 1px dashed rgba(82, 102, 155, .28);
    border-radius: 50%;
    animation: spin 44s linear infinite;
}

.hero-orbit::before {
    content: "";
    position: absolute;
    top: 8%;
    right: 14%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal-500);
    box-shadow: 0 0 0 7px rgba(20, 184, 166, .16);
}

.hero-glow {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 430px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff 0%, #eaf7f5 46%, #dce8f5 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .85),
        0 30px 80px rgba(6, 48, 79, .13);
}

.hero-glow::after {
    content: "";
    position: absolute;
    inset: 9%;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
}

.hero-tooth {
    position: relative;
    z-index: 1;
    width: 56%;
    height: auto;
    filter: drop-shadow(0 22px 26px rgba(6, 48, 79, .16));
    animation: float 7s ease-in-out infinite;
}

.float-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 14px;
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--navy-900);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
    animation: float 6.5s ease-in-out infinite;
}

.float-card .icon {
    width: 22px;
    height: 22px;
    color: var(--teal-700);
}

.float-card small {
    display: block;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 500;
}

.float-card--license {
    top: 7%;
    left: 0;
}

.float-card--lab {
    right: 0;
    bottom: 9%;
    animation-delay: -3.2s;
}

/* ---------- Преимущества ---------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    position: relative;
    overflow: hidden;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.feature-item::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-500), var(--blue-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.feature-item:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, .32);
    box-shadow: var(--shadow-md);
}

.feature-item:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--teal-50);
    color: var(--teal-700);
}

.feature-icon .icon {
    width: 26px;
    height: 26px;
}

.feature-item h3 {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.6;
}

/* ---------- О клинике ---------- */

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: clamp(36px, 6vw, 72px);
}

.about-visual {
    position: relative;
    padding-bottom: 18px;
}

.about-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 44px);
    border-radius: 28px;
    background: linear-gradient(155deg, var(--navy-900) 0%, var(--blue-600) 100%);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.about-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -80px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: rgba(45, 212, 191, .18);
}

.about-card::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.about-card > * {
    position: relative;
    z-index: 1;
}

.about-card .icon {
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    color: #7fe3d6;
}

.about-card .label {
    display: block;
    color: rgba(255, 255, 255, .62);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.about-card strong {
    display: block;
    margin: 6px 0 4px;
    color: #fff;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.4;
}

.about-card .date {
    color: rgba(255, 255, 255, .62);
    font-size: .8rem;
}

.about-card hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.about-card p {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
    line-height: 1.6;
}

.about-badge {
    position: absolute;
    right: -8px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 290px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    color: var(--navy-900);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.4;
}

.about-badge .icon {
    width: 24px;
    height: 24px;
    color: var(--teal-700);
}

.about-copy > p {
    color: var(--muted);
    font-size: 1.01rem;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 28px;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--navy-800);
    font-size: .94rem;
    font-weight: 600;
}

.check-list .icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--teal-700);
}

/* ---------- Услуги ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.service-card::before {
    content: "";
    position: absolute;
    top: -45px;
    right: -45px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: var(--teal-50);
    transition: transform .45s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 184, 166, .35);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    transform: scale(2.3);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon-wrap {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border: 1px solid var(--teal-100);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--teal-50), #fff);
    color: var(--teal-700);
}

.service-icon-wrap .icon {
    width: 27px;
    height: 27px;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.13rem;
}

.service-card > p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: .89rem;
}

.service-list {
    display: grid;
    gap: 9px;
    margin: 0 0 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.service-list li {
    position: relative;
    padding-left: 23px;
    color: var(--navy-800);
    font-size: .83rem;
    font-weight: 600;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--teal-700);
    font-size: .78rem;
    font-weight: 800;
}

.service-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--teal-700);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.service-more .icon {
    width: 16px;
    height: 16px;
    transition: transform .25s var(--ease);
}

.service-card:hover .service-more .icon {
    transform: translateX(4px);
}

/* ---------- Этапы ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.step-num {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--navy-900);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.step h3 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.6;
}

/* ---------- FAQ ---------- */

.faq-section {
    background: var(--surface);
}

.faq-container {
    display: grid;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.faq-item.is-open {
    border-color: rgba(20, 184, 166, .42);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 20px 22px;
    border: 0;
    background: none;
    color: var(--navy-900);
    font-size: .97rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: color .2s var(--ease), padding-bottom .3s var(--ease);
}

.faq-question:hover {
    color: var(--teal-700);
}

.faq-item.is-open .faq-question {
    padding-bottom: 12px;
}

.faq-question .icon {
    width: 20px;
    height: 20px;
    color: var(--teal-700);
    transition: transform .3s var(--ease);
}

.faq-item.is-open .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s var(--ease);
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-body {
    padding: 0 22px 20px;
}

.faq-answer p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: .91rem;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    display: grid;
    gap: 7px;
    padding-left: 1.1rem;
    list-style: disc;
    color: var(--muted);
    font-size: .91rem;
}

/* ---------- Контакты на главной ---------- */

.contact-map-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: clamp(28px, 4.5vw, 48px);
}

.contact-info h2 {
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.contact-info > p {
    max-width: 46ch;
    margin-bottom: 24px;
    color: var(--muted);
}

.contact-list {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.contact-list li:hover {
    border-color: rgba(20, 184, 166, .35);
    box-shadow: var(--shadow-sm);
}

.icon-box {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--teal-50);
    color: var(--teal-700);
}

.icon-box .icon {
    width: 20px;
    height: 20px;
}

.contact-list strong {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-list a,
.contact-list .value {
    color: var(--navy-900);
    font-size: .95rem;
    font-weight: 600;
}

.contact-list a:hover {
    color: var(--teal-700);
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #e9eef3;
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

/* ---------- Внутренние страницы: заголовок ---------- */

.page-header {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 60px) 0;
    border-bottom: 1px solid rgba(227, 234, 241, .75);
    background:
        radial-gradient(700px 380px at 92% -20%, rgba(45, 212, 191, .16), transparent 65%),
        radial-gradient(600px 360px at 0% 120%, rgba(82, 102, 155, .1), transparent 60%),
        linear-gradient(180deg, #f8fcfd 0%, #eef5fa 100%);
}

.page-header::before {
    content: "";
    position: absolute;
    top: -170px;
    right: -90px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(82, 102, 155, .16);
    border-radius: 50%;
}

.breadcrumbs {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: .78rem;
}

.breadcrumbs a:hover {
    color: var(--teal-700);
}

.breadcrumbs .sep {
    color: #b8c4d0;
}

.breadcrumbs [aria-current="page"] {
    color: var(--navy-900);
    font-weight: 600;
}

.page-header h1 {
    position: relative;
    z-index: 1;
    max-width: 22ch;
    margin-bottom: 12px;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.page-header p {
    position: relative;
    z-index: 1;
    max-width: 66ch;
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.page-header-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ---------- Внутренняя страница услуги ---------- */

.service-page-content {
    padding: clamp(44px, 6vw, 76px) 0;
    background: var(--surface);
}

.service-main-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-areas: "aside main";
    align-items: start;
    gap: clamp(32px, 5vw, 56px);
}

.service-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: grid;
    grid-area: aside;
    gap: 16px;
    align-self: start;
}

.service-sidebar-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(160deg, #eef6fb, #fff);
    box-shadow: var(--shadow-sm);
}

.service-sidebar-card .icon-wrap {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--teal-700);
}

.service-sidebar-card .icon-wrap .icon {
    width: 26px;
    height: 26px;
}

.service-sidebar-card h2 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.service-sidebar-card p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.65;
}

.sidebar-nav {
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.sidebar-nav h3 {
    margin: 0;
    padding: 10px 12px 8px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sidebar-nav ul {
    display: grid;
    gap: 2px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--navy-800);
    font-size: .83rem;
    font-weight: 600;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.sidebar-nav a:hover,
.sidebar-nav a[aria-current="page"] {
    background: var(--teal-50);
    color: var(--teal-700);
}

.sidebar-nav a .icon {
    width: 14px;
    height: 14px;
    opacity: .45;
}

.service-text-content {
    grid-area: main;
    min-width: 0;
    max-width: 790px;
}

.service-text-content h3 {
    margin: 2.2rem 0 .9rem;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.service-text-content h3:first-child {
    margin-top: 0;
}

.service-text-content > p {
    margin-bottom: 1rem;
    color: var(--body);
    font-size: 1.01rem;
    line-height: 1.8;
}

.service-text-content > p:first-of-type {
    color: var(--navy-800);
    font-size: 1.06rem;
}

.service-text-content > ul {
    display: grid;
    gap: 10px;
    margin: 0 0 1.5rem;
}

.service-text-content > ul > li {
    position: relative;
    padding-left: 28px;
    color: var(--body);
    font-size: .99rem;
    line-height: 1.7;
}

.service-text-content > ul > li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--teal-700);
    font-weight: 800;
}

/* ---------- Цены ---------- */

.price-card {
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.price-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--teal-100);
    background: var(--teal-50);
}

.price-card-head .icon {
    width: 22px;
    height: 22px;
    color: var(--teal-700);
}

.price-card-head h4 {
    margin: 0;
    color: var(--navy-900);
    font-size: 1.02rem;
}

.price-list {
    margin: 0;
    padding: 6px 24px;
}

.price-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}

.price-list li:last-child {
    border-bottom: 0;
}

.price-name {
    color: var(--muted);
    font-size: .89rem;
    line-height: 1.55;
}

.price-value {
    color: var(--navy-900);
    font-size: .96rem;
    font-weight: 800;
    white-space: nowrap;
}

.price-note {
    margin: 0;
    padding: 0 24px 18px;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.55;
}

/* ---------- Страница контактов ---------- */

.contacts-page {
    padding: clamp(48px, 6vw, 72px) 0;
    background: var(--bg);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, .3);
    box-shadow: var(--shadow-md);
}

.contact-card .icon-box {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
}

.contact-card h3 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.contact-card p {
    margin: 0;
    color: var(--muted);
    font-size: .91rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--navy-900);
    font-weight: 700;
}

.contact-card a:hover {
    color: var(--teal-700);
}

.map-section {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.work-hours {
    padding: clamp(28px, 4vw, 48px);
    background: linear-gradient(155deg, var(--navy-900), var(--blue-600));
    color: #fff;
}

.work-hours .eyebrow {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .1);
    color: #9fe9df;
}

.work-hours h2 {
    margin: 12px 0 24px;
    color: #fff;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}

.hours-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    font-size: .89rem;
}

.hours-badge span:first-child {
    color: #fff;
    font-weight: 700;
}

.hours-badge span:last-child {
    color: rgba(255, 255, 255, .8);
}

.hours-note {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .6);
    font-size: .75rem;
    line-height: 1.55;
}

.map-wrapper-contacts {
    min-height: 440px;
    background: #e9eef3;
}

.map-wrapper-contacts iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
}

/* ---------- Политика ---------- */

.privacy-page {
    padding: clamp(40px, 6vw, 72px) 0;
    background: var(--surface);
}

.privacy-content {
    max-width: 840px;
    margin: 0 auto;
}

.privacy-content h2 {
    margin: 2.2rem 0 .8rem;
    font-size: 1.22rem;
}

.privacy-content p,
.privacy-content li {
    margin-bottom: .8rem;
    color: var(--body);
    font-size: .97rem;
    line-height: 1.75;
}

.privacy-content ul {
    margin: 0 0 1rem;
    padding-left: 1.3rem;
    list-style: disc;
}

.privacy-content li {
    margin-bottom: .45rem;
}

.privacy-updated {
    margin-top: 2.5rem;
    color: var(--muted);
    font-size: .84rem;
    text-align: right;
}

/* ---------- Подвал ---------- */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 64px 0 24px;
    background: linear-gradient(160deg, #052a45 0%, var(--navy-900) 55%, var(--navy-800) 100%);
    color: rgba(255, 255, 255, .76);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, .16), transparent 68%);
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.15fr;
    gap: 40px;
}

.footer-logo {
    display: block;
    width: auto;
    height: 44px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.footer-brand p {
    max-width: 34ch;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .62);
    font-size: .85rem;
    line-height: 1.65;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
    cursor: default;
}

.footer-phone .icon {
    width: 18px;
    height: 18px;
    color: #7fe3d6;
}

.footer-col h3 {
    margin-bottom: 18px;
    color: #9fe9df;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-col ul {
    display: grid;
    gap: 10px;
}

.footer-col li {
    font-size: .84rem;
    line-height: 1.5;
}

.footer-col a {
    color: rgba(255, 255, 255, .72);
    transition: color .2s var(--ease);
}

.footer-col a:hover {
    color: #fff;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.footer-contacts .icon {
    width: 15px;
    height: 15px;
    margin-top: 3px;
    color: #7fe3d6;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .52);
    font-size: .72rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-disclaimer {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .42);
    font-size: .68rem;
    line-height: 1.55;
}

/* ---------- Кнопки «наверх» и звонка ---------- */

#scrollTopBtn {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    box-shadow: 0 12px 28px rgba(6, 48, 79, .3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s var(--ease), visibility .25s var(--ease),
        transform .25s var(--ease), background-color .25s var(--ease);
}

#scrollTopBtn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

#scrollTopBtn:hover {
    background: var(--teal-700);
    transform: translateY(-3px);
}

#scrollTopBtn .icon {
    width: 22px;
    height: 22px;
}

/* ---------- Фолбэк без JavaScript ---------- */

html:not(.js) .faq-answer {
    grid-template-rows: 1fr;
}

html:not(.js) .faq-question .icon {
    display: none;
}

/* ---------- Анимации появления ---------- */

.reveal {
    opacity: 1;
}

html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--delay, 0s);
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Адаптивность ---------- */

@media (max-width: 1100px) {
    .features-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-grid,
    .contact-map-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 560px;
    }

    .about-copy {
        max-width: 720px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-h: 72px;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        min-height: var(--header-h);
    }

    .logo img {
        height: 40px;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        left: 0;
        z-index: 49;
        display: block;
        justify-self: stretch;
        width: 100%;
        max-height: calc(100dvh - var(--header-h));
        padding: 18px clamp(16px, 4vw, 28px) 24px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 24px 40px rgba(6, 48, 79, .14);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .25s var(--ease), visibility .25s var(--ease), transform .25s var(--ease);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-link {
        display: flex;
        padding: 13px 16px;
        border-radius: 12px;
        font-size: .98rem;
    }

    .nav-cta {
        display: grid;
        gap: 12px;
        margin-top: 14px;
        padding-top: 16px;
        border-top: 1px solid var(--line);
    }

    .nav-hours {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--muted);
        font-size: .76rem;
        text-align: center;
    }

    .nav-hours .icon {
        width: 15px;
        height: 15px;
        color: var(--teal-700);
    }

    .nav-toggle {
        display: grid;
    }

    .header-actions {
        grid-column: 2;
    }

    html:not(.js) .header-inner {
        grid-template-columns: 1fr auto;
        padding: 12px 0;
    }

    html:not(.js) .site-nav {
        position: static;
        grid-column: 1 / -1;
        max-height: none;
        padding: 10px 0 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    html:not(.js) .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    html:not(.js) .nav-toggle {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-copy h1 {
        max-width: 17ch;
    }

    .hero-visual {
        min-height: 360px;
        margin-top: 8px;
    }

    .hero-glow {
        width: min(100%, 360px);
    }

    .hero-orbit {
        width: min(100%, 420px);
    }

    .float-card--license {
        top: 2%;
        left: 4%;
    }

    .float-card--lab {
        right: 4%;
        bottom: 2%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .service-main-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "aside";
    }

    .service-sidebar {
        position: static;
        grid-template-columns: 1fr 1fr;
    }

    .sidebar-nav {
        grid-column: 1 / -1;
    }

    .map-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .features-grid,
    .services-grid,
    .steps,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    #scrollTopBtn {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
    }

    .service-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-nav {
        grid-column: auto;
    }

    .float-card {
        padding: 10px 13px;
        font-size: .72rem;
    }

    .float-card .icon {
        width: 19px;
        height: 19px;
    }
}

@media (max-width: 560px) {
    :root {
        --header-h: 68px;
    }

    .container {
        width: min(100% - 1.6rem, var(--container));
    }

    .logo img {
        height: 34px;
    }

    .header-phone {
        display: none;
    }

    .hero {
        padding-top: 36px;
    }

    .hero-copy h1 {
        max-width: 100%;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-glow {
        width: min(100%, 300px);
    }

    .hero-orbit {
        width: min(100%, 340px);
    }

    .float-card {
        font-size: .68rem;
    }

    .float-card small {
        font-size: .62rem;
    }

    .float-card--license {
        top: 0;
        left: 0;
    }

    .float-card--lab {
        right: 0;
        bottom: 0;
    }

    .about-badge {
        position: static;
        max-width: none;
        margin-top: 14px;
    }

    .about-visual {
        padding-bottom: 0;
    }

    .price-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hours-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .privacy-updated {
        text-align: left;
    }
}

/* ---------- Доступность: уменьшение движения ---------- */

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    html.js .reveal {
        opacity: 1;
        transform: none;
    }
}
