:root {
  --ink: oklch(0.27 0.038 286);
  --ink-soft: oklch(0.43 0.025 286);
  --wine: oklch(0.45 0.075 354);
  --wine-deep: oklch(0.32 0.052 342);
  --action: oklch(0.366 0.046 157.448);
  --action-hover: oklch(0.305 0.043 165.575);
  --powder: oklch(0.88 0.03 9);
  --powder-deep: oklch(0.8 0.045 7);
  --blush: oklch(0.95 0.018 16);
  --cream: oklch(0.985 0.008 55);
  --canvas: oklch(1 0 0);
  --canvas-deep: oklch(1 0 0);
  --canvas-sage: oklch(0.94 0.014 165);
  --white: oklch(1 0 0);
  --sage: oklch(0.78 0.035 165);
  --blue: oklch(0.57 0.19 255);
  --line: oklch(0.83 0.018 350 / 0.7);
  --shadow: 0 16px 40px oklch(0.28 0.025 340 / 0.08), 0 2px 6px oklch(0.28 0.025 340 / 0.04);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shell: min(1220px, calc(100vw - 80px));
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: from-font; text-underline-offset: 0.2em; }
button, input, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  margin-bottom: 22px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 4.6vw, 4.25rem); }
h2 { font-size: clamp(2.1rem, 3.3vw, 3.15rem); }
h3 { line-height: 1.25; text-wrap: balance; }
p { text-wrap: pretty; }
section[id] { scroll-margin-top: 92px; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(72px, 7vw, 108px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 200;
  padding: 12px 18px; background: var(--white); border-radius: 8px; transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  margin-bottom: 20px; color: var(--wine); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow-light { color: var(--powder); }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 14px 26px; color: var(--white); background: var(--action); border: 0;
  border-radius: 6px; box-shadow: 0 8px 20px oklch(0.366 0.046 157.448 / 0.15);
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition-property: transform, background-color, box-shadow; transition-duration: 160ms;
  transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}
.button:hover { background: var(--action-hover); box-shadow: 0 12px 26px oklch(0.305 0.043 165.575 / 0.2); transform: translateY(-2px); }
.button:active { transform: scale(0.96); }
.button-small { min-height: 44px; padding: 10px 20px; font-size: 0.875rem; }
.button-light { color: var(--action-hover); background: var(--canvas-sage); box-shadow: 0 12px 30px oklch(0.305 0.043 165.575 / 0.15); }
.button-light:hover { color: var(--action-hover); background: var(--white); }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; text-decoration: none; }
.text-link span { font-size: 1.35em; transition: transform 160ms ease-out; }
.text-link:hover span { transform: translate(3px, 3px); }
:focus-visible { outline: 3px solid oklch(0.67 0.12 235); outline-offset: 4px; }

.site-header { --canvas: oklch(0.968 0.011 345); position: sticky; inset-block-start: -126px; z-index: 50; background: var(--canvas); }
.header-utility { color: var(--ink-soft); background: var(--white); border-bottom: 1px solid oklch(0.9 0.01 345); }
.header-utility-row { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 28px; font-size: .69rem; }
.header-utility nav { display: flex; align-items: center; gap: 24px; }
.header-utility a { text-decoration: none; transition: color 150ms ease-out; }
.header-utility a:hover { color: var(--wine); }
.header-contact { display: flex; align-items: center; gap: 14px; }
.header-utility .header-socials { display: flex; align-items: center; gap: 5px; }
.header-socials a {
  width: 30px; height: 30px; display: grid; place-items: center; color: var(--wine);
  background: var(--blush); border-radius: 50%; transition-property: color, background-color, transform;
  transition-duration: 150ms; transition-timing-function: ease-out;
}
.header-socials a:hover { color: var(--white); background: var(--wine); transform: translateY(-1px); }
.header-socials a:active { transform: scale(.96); }
.header-socials svg, .mobile-socials svg { width: 16px; height: 16px; fill: currentColor; }
.header-socials .social-icon-stroke, .mobile-socials .social-icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.header-info { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-logo { display: block; width: 110px; height: 72px; flex: 0 0 auto; object-fit: contain; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; color: var(--wine); background: var(--blush); border-radius: 8px; }
.brand-mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; }
.brand b { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--ink-soft); font-size: 0.68rem; }
.header-identity { display: flex; align-items: center; gap: 28px; }
.header-info .brand-logo { width: 98px; height: 64px; }
.header-format { display: flex; align-items: center; gap: 12px; padding-inline-start: 28px; border-inline-start: 1px solid var(--line); text-decoration: none; }
.header-format-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--wine); background: var(--canvas-sage); border-radius: 12px; }
.header-format svg, .header-phone svg, .header-consult svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.header-format > span:last-child, .header-phone > span:last-child { display: grid; gap: 3px; }
.header-format small { color: var(--ink-soft); font-size: .7rem; }
.header-format b { font-size: .82rem; font-weight: 600; }
.header-format:hover b { color: var(--wine); }
.header-facts { display: flex; align-items: center; gap: 24px; }
.header-phone { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header-phone-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--wine); background: var(--white); border: 1px solid var(--line); border-radius: 50%; }
.header-phone b { font-size: 1.18rem; line-height: 1.25; letter-spacing: -.03em; white-space: nowrap; }
.header-phone small { color: var(--ink-soft); font-size: .64rem; }
.header-phone:hover b { color: var(--wine); }
.header-consult { gap: 10px; min-height: 46px; padding-inline: 18px; }
.nav-phone { text-decoration: none; }
.nav-phone-caption { display: none; }
.nav-wrap { position: relative; padding-block: 0 16px; color: var(--ink); background: var(--canvas); }
.nav-row { min-height: 54px; display: flex; align-items: center; padding-inline: 8px; background: var(--white); border: 1px solid oklch(.89 .018 350); border-radius: 14px; box-shadow: 0 10px 28px oklch(.3 .03 345 / .07); }
.main-nav { display: flex; align-items: stretch; width: 100%; min-height: 54px; }
.main-nav > a, .nav-home-link, .nav-trigger {
  min-height: 54px; display: flex; align-items: center; gap: 8px; padding-inline: clamp(12px, 1.4vw, 22px);
  color: inherit; background: transparent; border: 0; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease-out;
}
.main-nav > a:hover, .nav-home-link:hover, .nav-trigger:hover, .nav-group:focus-within .nav-trigger { color: var(--wine); background: var(--canvas-sage); }
.nav-group { position: relative; }
.nav-group-home { display: flex; flex-wrap: wrap; }
.nav-group-home:hover, .nav-group-home:focus-within { color: var(--wine); background: var(--canvas-sage); }
.nav-group-home .nav-home-link:hover, .nav-group-home .nav-trigger:hover, .nav-group-home:focus-within .nav-trigger { background: transparent; }
.nav-group-home .nav-trigger { display: none; min-width: 44px; justify-content: center; padding-inline: 10px; }
.nav-chevron { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease-out; }
.nav-group:hover .nav-chevron, .nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-start: 0; min-width: 245px;
  padding: 10px; color: var(--ink); background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition-property: opacity, transform, visibility;
  transition-duration: 180ms; transition-timing-function: cubic-bezier(.2, 0, 0, 1);
}
.nav-dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 14px; }
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 0.875rem; text-decoration: none; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: var(--canvas-sage); }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown, .nav-trigger[aria-expanded="true"] + .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-phone { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; color: var(--white); background: var(--action); border-radius: 50%; }
.nav-phone:hover { background: var(--action-hover); }
.nav-phone svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle, .mobile-brand, .mobile-socials { display: none; }

.internal-main { min-height: calc(100vh - 232px); background: var(--cream); }
.internal-hero { min-height: 590px; display: flex; align-items: center; padding-block: 88px 112px; background: var(--white); }
.internal-hero-grid { max-width: 920px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 48px; color: var(--ink-soft); font-size: .78rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--wine); }
.internal-hero h1 { max-width: 850px; margin-bottom: 34px; font-size: clamp(2.55rem, 4.6vw, 4.6rem); }
.page-placeholder { display: grid; grid-template-columns: auto 1fr; gap: 24px; max-width: 720px; padding: 28px; background: oklch(1 0 0 / .72); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.page-placeholder-mark { width: 48px; height: 48px; display: grid; place-items: center; color: var(--white); background: var(--wine); border-radius: 50%; font-size: .75rem; font-weight: 700; }
.page-placeholder h2 { margin-bottom: 8px; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.page-placeholder p, .internal-lead { margin-bottom: 0; color: var(--ink-soft); }
.internal-back { margin-top: 28px; }
.internal-hero-error .internal-lead { max-width: 560px; margin-bottom: 30px; font-size: 1.08rem; }

.cabinet-main { background: var(--white); }
.cabinet-variant { padding-block: clamp(52px, 7vw, 92px); }
.panorama-frame {
  position: relative; overflow: hidden; border-radius: 24px;
  outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px;
  box-shadow: 0 28px 70px oklch(0.28 0.025 340 / .13);
  background: var(--canvas-deep);
}
.panorama-frame:fullscreen { width: 100vw; height: 100vh; border-radius: 0; }
.cabinet-archive-viewer { display: block; width: 100%; height: min(75vh, 760px); min-height: 540px; border: 0; background: var(--canvas-deep); }
.cabinet-archive-frame:fullscreen .cabinet-archive-viewer { height: 100%; min-height: 100%; }
.panorama-toolbar {
  position: absolute; z-index: 8; inset-block-start: 18px; inset-inline-end: 18px;
  display: flex; gap: 8px; padding: 7px; border-radius: 15px;
  background: oklch(1 0 0 / .9); box-shadow: 0 12px 30px oklch(0.2 0.04 340 / .18);
  backdrop-filter: blur(12px);
}
.panorama-toolbar button {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  color: var(--wine-deep); background: transparent; border: 0; border-radius: 9px;
  font-size: 1.4rem; font-weight: 600; line-height: 1; cursor: pointer;
  transition-property: color, background-color, transform; transition-duration: 150ms; transition-timing-function: ease-out;
}
.panorama-toolbar button:hover, .panorama-toolbar button[aria-pressed="true"] { color: var(--white); background: var(--action); }
.panorama-toolbar button:active { transform: scale(.96); }
.panorama-toolbar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cabinet-hotspot-anchor { width: 1px; height: 1px; }
.cabinet-hotspot-button {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  max-width: min(220px, 58vw); padding: 6px 12px 6px 7px; color: var(--ink); white-space: nowrap;
  background: oklch(1 0 0 / .94); border: 0; border-radius: 999px;
  box-shadow: 0 10px 28px oklch(0.2 0.04 340 / .23); cursor: pointer;
  transform: translate(-50%, -50%); transition: transform 150ms ease-out, background-color 150ms ease-out;
}
.cabinet-hotspot-button:hover, .cabinet-hotspot-button:focus-visible { background: var(--blush); transform: translate(-50%, -50%) scale(1.03); }
.cabinet-hotspot-button:active { transform: translate(-50%, -50%) scale(.96); }
.cabinet-hotspot-dot { width: 24px; height: 24px; flex: 0 0 auto; border: 7px solid var(--powder); border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 3px oklch(1 0 0 / .72); }
.cabinet-hotspot-label { overflow: hidden; text-overflow: ellipsis; font-family: "Manrope", "Segoe UI", sans-serif; font-size: .74rem; font-weight: 700; }

.hero { position: relative; min-height: 500px; display: flex; align-items: center; overflow: hidden; background: var(--canvas); }
.hero-grid { position: relative; z-index: 2; display: block; min-width: 0; padding-block: 38px 108px; }
.hero-copy { position: relative; z-index: 2; width: min(720px, 60%); min-width: 0; }
.hero h1 { max-width: 700px; margin-bottom: 16px; font-size: clamp(2.55rem, 3.45vw, 3.25rem); }
.hero h1 em { color: var(--wine); font-style: normal; }
.hero-home h1 { text-wrap: wrap; }
.hero-home h1 em { display: block; }
.hero-lead { max-width: 610px; color: var(--ink-soft); font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-block: 24px 20px; }
.specialty-line { display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; margin: 0; color: var(--wine-deep); font-size: .75rem; font-weight: 600; line-height: 1.4; }
.specialty-line a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: oklch(1 0 0 / .78); text-decoration: none; transition: background-color 150ms ease-out, border-color 150ms ease-out; }
.specialty-line a:hover { background: var(--blush); border-color: var(--wine); }
.hero-home .specialty-line { flex-wrap: nowrap; max-width: none; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 24px; scrollbar-width: thin; scrollbar-color: var(--sage) transparent; }
.hero-home .specialty-line a { flex: 0 0 auto; white-space: nowrap; }
.hero-home .specialty-line a:focus-visible { outline-offset: -4px; }
@media (min-width: 821px) {
  .hero-home .hero-copy { width: min(850px, 100%); }
  .hero-home h1 { max-width: 850px; }
  .hero-home > .hero-visual::after {
    --hero-copy-edge: calc((100% - var(--shell)) / 2 + min(850px, var(--shell)));
    background: linear-gradient(90deg, var(--white) 0%, oklch(1 0 0 / .98) calc(var(--hero-copy-edge) - 40px), oklch(1 0 0 / .85) var(--hero-copy-edge), transparent calc(var(--hero-copy-edge) + 220px));
  }
  .hero-home .specialty-line { width: max-content; max-width: calc(100vw - 80px); }
}
.hero-visual { position: absolute; z-index: 0; inset: 0; min-width: 0; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--white) 0%, oklch(1 0 0 / .95) 28%, transparent 62%); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-proof { position: absolute; z-index: 3; inset-inline: 0; inset-block-end: 0; display: grid; grid-template-columns: repeat(3, 1fr); color: var(--ink); background: oklch(1 0 0 / .9); box-shadow: 0 -1px 0 var(--line); backdrop-filter: blur(12px); }
.hero-proof > div { min-height: 80px; display: flex; align-items: center; gap: 16px; padding: 14px 28px; border-inline-end: 1px solid var(--line); }
.hero-proof > div:last-child { border: 0; }
.hero-proof svg { width: 48px; height: 48px; padding: 8px; flex: 0 0 auto; color: var(--wine); background: var(--blush); border-radius: 12px; fill: none; stroke: currentColor; }
.hero-proof span { display: grid; gap: 3px; }
.hero-proof b { font-size: .9rem; }
.hero-proof small { color: var(--ink-soft); font-size: .74rem; }
.hero-home > .hero-grid { padding-block-end: 144px; }
.hero-proof.hero-proof-home { inset-block-end: 12px; gap: 14px; background: transparent; box-shadow: none; backdrop-filter: none; }
.hero-proof-home > div { min-height: 112px; gap: 16px; padding: 12px; border: 0; border-radius: 14px; background: var(--white); box-shadow: 0 5px 18px oklch(0 0 0 / .06), 0 0 0 1px oklch(0 0 0 / .07); }
.hero-proof-home .hero-proof-photo { flex: 0 0 auto; display: block; width: 104px; height: 84px; overflow: hidden; border-radius: 8px; background: var(--canvas-sage); outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.hero-proof-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero-proof-photo-practice img { object-position: 65% 40%; }
.hero-proof-photo-diploma img { object-fit: contain; padding: 5px; }
.hero-proof-home b { font-size: 1rem; font-weight: 700; }
.hero-proof-home small { font-size: .75rem; line-height: 1.4; }

.section-heading { max-width: 800px; margin-bottom: 48px; }
.section-heading > p:not(.eyebrow) { max-width: 670px; color: var(--ink-soft); font-size: 1.05rem; }
.section-heading-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 70px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row > p { margin-bottom: 8px; }
.specialties { background: var(--white); }
.specialty-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.specialty-card { position: relative; min-height: 260px; padding: 26px; background: var(--cream); overflow: hidden; transition-property: transform, background-color, box-shadow; transition-duration: 220ms; transition-timing-function: ease-out; }
.specialty-card:hover { background: var(--white); }
.specialty-card-active { background: var(--canvas-sage); }
.card-number { color: var(--wine); font-size: .72rem; font-weight: 700; }
.specialty-icon { width: 120px; height: 100px; margin: 20px 0 18px; color: var(--wine); }
.specialty-icon svg { display: block; width: 120px; height: 100px; }
.specialty-card h3 { margin-bottom: 10px; font-size: 1.22rem; }
.specialty-card p { margin: 0; color: var(--ink-soft); font-size: .88rem; }

.skills { position: relative; background: var(--canvas-deep); overflow: hidden; }
.skills::before { content: ""; position: absolute; width: 500px; height: 500px; inset: -220px -160px auto auto; border: 1px solid oklch(0.55 0.07 350 / .16); border-radius: 50%; }
.skills-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); }
.skills-intro { position: sticky; inset-block-start: 110px; align-self: start; }
.skills-intro > p:not(.eyebrow) { max-width: 500px; color: var(--ink-soft); }
.method-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.method-pill { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 8px 14px; color: var(--wine); background: oklch(1 0 0 / .78); border: 1px solid oklch(1 0 0 / .92); border-radius: 999px; font-size: .76rem; font-weight: 700; text-decoration: none; cursor: help; transition-property: color, background-color, border-color, transform; transition-duration: 150ms; transition-timing-function: ease-out; }
.method-pill:hover, .method-pill:focus-visible { color: var(--white); background: var(--wine); border-color: var(--wine); transform: translateY(-1px); }
.method-pill::before { content: ""; position: absolute; z-index: 21; inset-block-end: calc(100% + 4px); inset-inline-start: 18px; width: 10px; height: 10px; background: var(--white); box-shadow: 1px 1px 0 var(--line); opacity: 0; visibility: hidden; transform: translateY(4px) rotate(45deg); transition-property: opacity, transform, visibility; transition-duration: 150ms; transition-timing-function: ease-out; }
.method-pill::after { content: attr(data-tooltip); position: absolute; z-index: 20; inset-block-end: calc(100% + 9px); inset-inline-start: 0; width: max-content; max-width: min(280px, calc(100vw - 40px)); padding: 11px 13px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); font-size: .78rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-align: start; text-transform: none; white-space: normal; opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none; transition-property: opacity, transform, visibility; transition-duration: 150ms; transition-timing-function: ease-out; }
.method-pill:hover::before, .method-pill:hover::after, .method-pill:focus-visible::before, .method-pill:focus-visible::after { opacity: 1; visibility: visible; transform: translateY(0) rotate(45deg); }
.method-pill:hover::after, .method-pill:focus-visible::after { transform: translateY(0); }
.skills-list { margin: 0; padding: 0; list-style: none; }
.skills-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 22px; padding-block: 24px; border-bottom: 1px solid oklch(.85 .018 165 / .7); }
.skills-list li > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--action); background: var(--canvas-sage); border-radius: 14px; font-size: 1.2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.skills-list p { margin: 0; font-size: clamp(1rem, 1.4vw, 1.15rem); }

.professional-result { padding-block-start: 0; background: var(--canvas-deep); }
.result-panel { padding: clamp(42px, 6vw, 78px); color: var(--white); background: var(--wine-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.result-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: end; gap: clamp(40px, 7vw, 100px); }
.result-heading h2 { max-width: 830px; margin-bottom: 0; }
.result-heading > p { max-width: 520px; margin-bottom: 8px; color: oklch(1 0 0 / .72); font-size: 1.02rem; text-wrap: pretty; }
.result-visual { height: clamp(230px, 26vw, 340px); margin: 48px 0 0; overflow: hidden; background: var(--blush); border-radius: 14px; outline: 1px solid oklch(1 0 0 / .12); outline-offset: -1px; }
.result-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.result-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.result-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; align-items: center; gap: 18px 14px; padding: 24px; background: oklch(1 0 0 / .055); border: 1px solid oklch(1 0 0 / .12); border-radius: 16px; }
.result-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--wine-deep); background: var(--powder); border-radius: 12px; }
.result-icon svg { width: 28px; height: 28px; }
.result-list h3 { margin: 0; color: var(--white); font-size: .98rem; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; }
.result-list p { grid-column: 1 / -1; margin: 0; color: oklch(1 0 0 / .8); font-size: .94rem; line-height: 1.55; text-wrap: pretty; }
.result-footer { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-top: 32px; padding-top: 32px; border-top: 1px solid oklch(1 0 0 / .16); }
.result-meta { display: flex; flex-wrap: wrap; gap: 28px 46px; }
.result-meta span { display: grid; gap: 6px; }
.result-meta small { color: oklch(1 0 0 / .55); font-size: .67rem; text-transform: uppercase; letter-spacing: .09em; }
.result-meta b { font-size: .92rem; }
.result-footer .button { flex: 0 0 auto; }

.advantages { background: var(--white); }
.advantages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.advantage { min-width: 0; display: flex; flex-direction: column; padding: 30px; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; }
.advantage:nth-child(2), .advantage:nth-child(5) { background: oklch(0.96 0.014 145); }
.advantage:nth-child(3), .advantage:nth-child(6) { background: var(--canvas); }
.advantage-art { display: block; flex: 0 0 auto; width: 120px; height: 100px; margin-bottom: 24px; color: var(--wine); }
.advantage h3 { max-width: 360px; margin: 0 0 10px; font-size: clamp(1.2rem, 1.6vw, 1.55rem); font-weight: 600; letter-spacing: -.025em; }
.advantage p { max-width: 520px; margin-bottom: 0; color: var(--ink-soft); font-size: .9rem; }

.reviews { background: var(--white); }
.ratings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.rating-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.rating-score { flex: 0 0 auto; display: grid; gap: 12px; min-width: 110px; color: var(--wine); }
.rating-score strong { font-size: 80px; font-weight: 700; line-height: 1; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.rating-score span { font-size: 1.15rem; line-height: 1.3; }
.rating-platform { flex: 0 1 309px; min-width: 0; display: grid; justify-items: end; gap: 18px; }
.rating-logo { display: block; max-width: 100%; }
.rating-platform img { width: auto; max-width: 100%; height: auto; max-height: 77px; object-fit: contain; }
.rating-platform a { color: var(--ink-soft); font-size: .88rem; font-weight: 400; text-decoration: none; }
.rating-platform a:hover { color: var(--wine); }
.video-feature { position: relative; width: min(100%, 600px); min-height: 0; aspect-ratio: 2 / 1; margin: 32px auto 0; overflow: hidden; background: var(--white); border-radius: 15px; }
.video-feature > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.video-play { position: absolute; inset: 50% auto auto 50%; z-index: 1; width: 70px; height: 70px; display: grid; place-items: center; padding: 0; color: var(--white); background: oklch(.34 .015 280 / .68); border: 0; border-radius: 50%; cursor: pointer; transform: translate(-50%, -50%); transition-property: background-color, transform; transition-duration: 150ms; transition-timing-function: ease-out; }
.video-play:hover { background: oklch(.25 .015 280 / .82); }
.video-play:active { transform: translate(-50%, -50%) scale(.96); }
.video-play::after { content: ""; width: 0; height: 0; margin-left: 4px; border-block: 9px solid transparent; border-left: 13px solid currentColor; }
.video-play span { display: none; }
.video-feature.is-playing { min-height: 0; aspect-ratio: 2 / 1; }
.video-feature.is-playing > img, .video-feature.is-playing .video-play { display: none; }
.video-feature iframe { width: 100%; height: 100%; display: block; border: 0; }
.partners { background: var(--canvas-sage); }
.partners-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.partner-card { min-height: 160px; display: grid; place-items: center; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.partner-card img { width: auto; max-width: 100%; max-height: 70px; object-fit: contain; }
.questions { background: var(--canvas-sage); }
.question-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; padding: clamp(36px, 6vw, 72px); color: var(--white); background: var(--wine-deep); border-radius: var(--radius-lg); }
.question-copy h2 { max-width: 620px; margin-bottom: 24px; }
.question-copy ul { display: grid; gap: 12px; margin: 0; padding: 0; color: oklch(1 0 0 / .74); list-style: none; }
.question-copy li { position: relative; padding-inline-start: 20px; }
.question-copy li::before { content: ""; position: absolute; inset: .55em auto auto 0; width: 7px; height: 7px; background: var(--powder); border-radius: 50%; }
.question-actions { align-self: center; min-width: 0; display: grid; gap: 10px; }
.question-actions h3 { margin-bottom: 10px; font-size: 1.05rem; line-height: 1.4; text-wrap: pretty; }
.button-outline-light { color: var(--white); background: transparent; border-color: oklch(1 0 0 / .5); }
.button-outline-light:hover { color: var(--action-hover); background: var(--canvas-sage); }
.question-actions .button { justify-content: start; gap: 12px; padding: 16px 20px; min-height: 58px; border-radius: 10px; font-size: .9rem; }
.question-actions .button > svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.question-actions .button .contact-arrow { margin-inline-start: auto; width: 18px; height: 18px; }
.question-actions .question-program { color: var(--action-hover); background: var(--canvas-sage); box-shadow: none; }
.question-actions .question-program:hover { background: var(--white); }
.question-actions .question-ask { color: var(--white); background: oklch(1 0 0 / .06); border: 1px solid oklch(1 0 0 / .25); box-shadow: none; }
.question-actions .question-ask:hover { background: oklch(1 0 0 / .12); border-color: var(--powder); }
.question-social-label { margin: 14px 0 2px; color: oklch(1 0 0 / .72); font-size: .75rem; }
.question-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.question-links a { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px; color: var(--white); background: oklch(1 0 0 / .065); border: 1px solid oklch(1 0 0 / .12); border-radius: 10px; font-size: .8rem; font-weight: 600; text-decoration: none; transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.question-links a:hover { background: oklch(1 0 0 / .12); border-color: oklch(1 0 0 / .35); }
.contact-social-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: var(--white); border-radius: 10px; }
.contact-social-icon svg { width: 22px; height: 22px; fill: currentColor; }
.contact-social-icon .social-icon-stroke { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-social--max .contact-social-icon { background: linear-gradient(145deg, #2786ef, #8353df); }
.contact-social--telegram .contact-social-icon { background: #218dc4; }
.contact-social--whatsapp .contact-social-icon { background: #238b57; }
.contact-social--vk .contact-social-icon { background: #2675d9; }
.contact-external { margin-inline-start: auto; color: oklch(1 0 0 / .5); font-size: .9rem; }

.experts { background: var(--white); overflow: hidden; }
.experts-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.experts-heading h2 { max-width: 820px; margin-bottom: 0; }
.experts-heading .eyebrow { margin-bottom: 16px; }
.experts-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; align-items: start; overflow-x: auto; padding: 4px 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.experts-track::-webkit-scrollbar { display: none; }
.experts-track:focus-visible { outline-offset: 5px; }
.expert-card { scroll-snap-align: start; overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; }
.expert-photo { aspect-ratio: 1.04; display: flex; align-items: end; justify-content: center; padding: 20px 12px 0; background: linear-gradient(145deg, var(--canvas-sage), var(--canvas)); overflow: hidden; border-bottom: 1px solid var(--line); }
.expert-photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.expert-photo img.expert-photo-buzunov, .faculty-portrait img.expert-photo-buzunov, .expert-dialog-photo img.expert-photo-buzunov { object-fit: cover; object-position: 43% 50%; }
.expert-body { padding: 26px; }
.expert-body h3 { min-height: 2.6em; margin: 0 0 14px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; text-wrap: pretty; }
.expert-position { min-height: 4.5em; margin-bottom: 24px; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }
.expert-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 14px 0 0; color: var(--wine); background: transparent; border: 0; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 700; text-align: start; cursor: pointer; }
.expert-more span { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; font-size: 1rem; background: var(--blush); border-radius: 50%; transition: background-color 160ms ease-out; }
.expert-more:hover span { background: var(--powder); }
.expert-dialog { width: min(940px, calc(100% - 40px)); max-height: calc(100dvh - 48px); padding: 48px 40px 40px; color: var(--ink); background: var(--cream); border: 0; border-radius: 24px; box-shadow: var(--shadow); overscroll-behavior: contain; }
.expert-dialog::backdrop { background: oklch(.22 .025 286 / .62); backdrop-filter: blur(4px); }
.expert-dialog-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.expert-dialog-photo { padding: 20px 10px 0; background: linear-gradient(145deg, var(--canvas-sage), var(--canvas)); border: 1px solid var(--line); border-radius: 16px; }
.expert-dialog-photo img { width: 100%; height: 300px; object-fit: contain; object-position: bottom; }
.expert-dialog-content .eyebrow { margin-bottom: 12px; font-size: .65rem; }
.expert-dialog-content h2 { margin-bottom: 16px; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.2; letter-spacing: -.03em; text-wrap: pretty; }
.expert-dialog-position { margin: 0; color: var(--wine); font-size: .93rem; line-height: 1.5; }
.expert-dialog .expert-biography { padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; }
.expert-biography { margin-top: 20px; color: var(--ink-soft); font-size: .83rem; line-height: 1.6; }
.expert-biography p { margin-bottom: 14px; }
.expert-biography p:last-child { margin-bottom: 0; }
.track-controls { display: flex; flex: 0 0 auto; gap: 10px; padding-bottom: 4px; }
.track-controls button { width: 48px; height: 48px; display: grid; place-items: center; color: var(--action); background: var(--canvas-sage); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; transition: background-color 160ms ease-out, transform 150ms ease-out; }
.track-controls button:hover { background: var(--white); }
.track-controls button:active { transform: scale(.96); }
.track-controls button[aria-disabled="true"] { opacity: .45; cursor: default; }
.track-controls button[aria-disabled="true"]:hover { background: var(--canvas-sage); }
.track-controls svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.track-controls [data-scroll-next] svg { transform: rotate(180deg); }
.track-footer { display: flex; align-items: center; gap: 24px; margin-top: 12px; }
.track-line { flex: 1; height: 3px; background: var(--line); overflow: hidden; border-radius: 2px; }
.track-line i { display: block; width: 33.333%; height: 100%; background: var(--wine); transform-origin: left; }
.track-count { min-width: 70px; color: var(--ink-soft); font-size: .8rem; font-variant-numeric: tabular-nums; text-align: end; }

.business-intro { position: relative; min-height: 570px; display: flex; align-items: center; color: var(--ink); background: var(--canvas); overflow: hidden; }
.business-visual { position: absolute; inset: 0; width: var(--shell); margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; }
.business-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 35%, oklch(1 0 0 / .82) 62%, var(--canvas) 82%); }
.business-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center left; }
.business-intro-grid { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.business-copy { width: min(520px, 45%); }
.business-intro h2 { margin-bottom: 22px; }
.business-intro h1 { margin-bottom: 22px; font-size: clamp(2.1rem, 3.3vw, 3.15rem); }
.business-copy > p:not(.eyebrow) { margin-bottom: 30px; color: var(--ink-soft); font-size: 1.05rem; }
.business-intro + .partners { border-block-start: clamp(40px, 4vw, 64px) solid var(--white); }

.clinic { background: var(--canvas); }
.clinic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.clinic-card { min-height: 300px; padding: 32px; background: oklch(1 0 0 / .72); border: 1px solid oklch(0.83 0.018 350 / .55); border-radius: var(--radius-md); }
.clinic-card > span { display: block; margin-bottom: 42px; color: var(--wine); font-size: .75rem; font-weight: 700; }
.clinic-card h3 { margin-bottom: 12px; font-size: 1.4rem; font-weight: 600; letter-spacing: -.025em; }
.clinic-card p { max-width: 560px; margin: 0; color: var(--ink-soft); }
.clinic-card p + p, .clinic-card p + ul { margin-top: 20px; }
.clinic-card ul { display: grid; gap: 9px; margin: 0; padding: 0; color: var(--ink-soft); list-style: none; }
.clinic-card li { position: relative; padding-inline-start: 20px; font-size: .9rem; line-height: 1.5; }
.clinic-card li::before { content: ""; position: absolute; inset: .65em auto auto 0; width: 6px; height: 6px; background: var(--wine); border-radius: 50%; }
.clinic-card .clinic-directions { color: var(--wine); font-size: .85rem; font-weight: 700; line-height: 1.55; }

.roadmap { background: var(--white); }
.roadmap-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 120px); }
.roadmap-heading { position: sticky; inset-block-start: 110px; align-self: start; }
.roadmap-heading > p:last-child { color: var(--ink-soft); }
.roadmap-list { margin: 0; padding: 0; list-style: none; }
.roadmap-list li { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.roadmap-list > li > span { width: 54px; height: 54px; display: grid; place-items: center; color: var(--white); background: var(--wine); border-radius: 8px; font-weight: 700; }
.roadmap-label { margin-bottom: 8px; color: var(--wine); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.roadmap-list h3 { margin-bottom: 10px; font-size: 1.35rem; }
.roadmap-list div > p:last-child { margin: 0; color: var(--ink-soft); }

.program-card { padding-block-start: 0; background: var(--white); }
.program-panel { padding: clamp(38px, 5vw, 64px); color: var(--white); background: var(--wine-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.program-title { max-width: 760px; }
.program-title > p:last-child { color: oklch(1 0 0 / .74); font-size: 1.08rem; }
.program-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-block: 52px 40px; background: oklch(1 0 0 / .2); }
.program-meta div { display: grid; gap: 8px; padding: 24px; background: var(--wine-deep); }
.program-meta span { color: var(--powder); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.program-meta b { font-size: 1.05rem; }
.program-actions { display: flex; align-items: center; gap: 24px; }
.program-actions a { color: oklch(1 0 0 / .78); font-size: .85rem; }

.labson { background: var(--canvas); }
.labson-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.labson-visual { aspect-ratio: 1; margin: 0; overflow: hidden; background: var(--wine-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.labson-visual img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.labson-grid > div:last-child > p:not(.eyebrow) { max-width: 560px; color: var(--ink-soft); font-size: 1.05rem; }

.articles { background: var(--white); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { min-height: 270px; display: flex; flex-direction: column; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform 200ms ease-out, box-shadow 200ms ease-out; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card > p { color: var(--wine); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article-card h3 { margin-block: auto; font-size: 1.35rem; font-weight: 600; letter-spacing: -.025em; }
.article-card a { font-size: .85rem; font-weight: 700; text-decoration: none; }

.about { background: var(--canvas-deep); }
.about-copy h1 { font-size: clamp(2.1rem, 3.3vw, 3.15rem); }
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.about-copy > p:not(.eyebrow) { max-width: 680px; color: var(--ink-soft); }
.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.about-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; padding: 12px 16px; color: var(--wine-deep); background: oklch(1 0 0 / .78); border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; font-weight: 700; text-decoration: none; transition: background-color 150ms ease-out, border-color 150ms ease-out; }
.about-links a:hover { background: var(--white); border-color: var(--wine); }
.about-links a span { color: var(--wine); }
.license-card { display: flex; gap: 20px; padding: 30px; background: oklch(1 0 0 / .72); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.license-icon { width: 60px; height: 60px; flex: 0 0 auto; display: grid; place-items: center; color: var(--white); background: var(--wine); border-radius: 8px; }
.license-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; }
.license-card p { margin-bottom: 8px; color: var(--wine); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.license-card b, .license-card small { display: block; }
.license-card small { margin-top: 10px; color: var(--ink-soft); line-height: 1.45; }

.contact { background: var(--canvas-deep); padding-block-start: 0; }
.contact-panel { display: flex; align-items: end; justify-content: space-between; gap: 60px; padding: clamp(40px, 6vw, 80px); color: var(--white); background: var(--wine-deep); border-radius: var(--radius-lg); }
.contact-copy { max-width: 790px; }
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy > p:last-child { margin-bottom: 0; color: oklch(1 0 0 / .75); }
.contact-panel .button { flex: 0 0 auto; }

.site-footer { padding-top: 80px; color: var(--white); background: oklch(0.24 0.035 340); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(2, .7fr) 1fr; gap: 60px; padding-bottom: 70px; }
.brand-light .brand-mark { color: var(--white); background: oklch(1 0 0 / .1); }
.brand-light .brand-logo { padding: 6px; background: var(--cream); border-radius: 8px; }
.brand-light small { color: oklch(1 0 0 / .58); }
.footer-brand > p { margin: 28px 0 0; color: oklch(1 0 0 / .55); font-size: .78rem; }
.footer-column, .footer-contact { display: grid; align-content: start; gap: 12px; }
.footer-column h2, .footer-contact h2 { margin-bottom: 12px; font-family: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-column a, .footer-contact > a { color: oklch(1 0 0 / .68); font-size: .85rem; text-decoration: none; }
.footer-contact .footer-phone { color: var(--white); font-size: 1.15rem; font-weight: 700; }
.footer-contact .button { margin-top: 15px; justify-self: start; }
.footer-bottom { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 30px; align-items: center; padding-block: 22px; border-top: 1px solid oklch(1 0 0 / .12); }
.footer-bottom p, .footer-bottom a { margin: 0; color: oklch(1 0 0 / .48); font-size: .7rem; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 180ms ease-out, visibility 180ms ease-out; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: oklch(0.15 0.02 340 / .66); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; z-index: 1; width: min(540px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; padding: clamp(30px, 5vw, 54px); background: var(--cream); border-radius: var(--radius-md); box-shadow: 0 30px 80px oklch(0.12 0.02 340 / .3); transform: translateY(18px); transition: transform 200ms ease-out; overscroll-behavior: contain; }
.modal.is-open .modal-dialog { transform: none; }
.modal-dialog h2 { font-size: clamp(2rem, 5vw, 3rem); }
.modal-dialog > p:not(.eyebrow) { color: var(--ink-soft); }
.modal-close { position: absolute; inset-block-start: 18px; inset-inline-end: 18px; width: 44px; height: 44px; color: var(--action); background: var(--canvas-sage); border: 0; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
#lead-form { display: grid; gap: 8px; margin-top: 28px; }
.form-honeypot { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#lead-form label:not(.consent) { margin-top: 8px; font-size: .8rem; font-weight: 700; }
#lead-form input:not([type="checkbox"]), #lead-form select { width: 100%; min-height: 52px; padding: 13px 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; }
#lead-form input[aria-invalid="true"] { border-color: oklch(0.55 0.18 25); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin-block: 10px 3px; color: var(--ink-soft); font-size: .76rem; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--wine); }
.field-error { min-height: 15px; color: oklch(0.48 0.17 25); font-size: .72rem; }
.form-status { min-height: 22px; margin: 4px 0 0; color: var(--wine); font-size: .78rem; }

.latest-posts-status { grid-column: 1 / -1; margin: 0; padding: 32px; color: var(--ink-soft); background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-md); }
.latest-post-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: box-shadow .2s; }
.latest-post-card:hover { box-shadow: var(--shadow); }
.latest-post-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.latest-post-card > div { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.latest-post-card h3 { margin-bottom: 14px; font-size: 1.4rem; font-weight: 600; letter-spacing: -.025em; }
.latest-post-card p { color: var(--ink-soft); }
.latest-post-card .latest-post-date { margin-bottom: 14px; color: var(--wine); font-size: .78rem; }
.latest-post-card .text-link { margin-top: auto; padding-top: 12px; }
.home-practice { background: var(--canvas); }
.home-practice-grid, .home-consult-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.home-practice-grid > div > p:not(.eyebrow), .home-consult-grid > div > p:not(.eyebrow) { max-width: 620px; color: var(--ink-soft); }
.inline-form-card { min-width: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.inline-form-card h3 { margin: 0 0 24px; font-size: 1.65rem; font-weight: 600; letter-spacing: -.03em; }
.inline-lead-form { display: grid; gap: 8px; }
.inline-lead-form > label:not(.consent) { font-size: .85rem; font-weight: 700; }
.inline-lead-form > input:not([type="hidden"]) { width: 100%; min-height: 52px; padding: 13px 15px; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; }
.inline-lead-form input[aria-invalid="true"] { border-color: oklch(0.55 0.18 25); }
.inline-lead-form .button { width: 100%; }
.inline-lead-form .button:disabled { opacity: .65; cursor: wait; }
.home-consult { background: var(--canvas-deep); }
.home-faq { background: var(--cream); }
.home-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.home-faq-list { border-top: 1px solid var(--line); }
.home-faq-list details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.home-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; color: var(--ink); cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after { content: "+"; flex: 0 0 28px; color: var(--wine); font-size: 1.6rem; text-align: center; }
.home-faq-list details[open] summary::after { content: "−"; }
.home-faq-list details p { margin: 14px 48px 0 0; color: var(--ink-soft); }
@media (max-width: 820px) {
  .home-practice-grid, .home-consult-grid, .home-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .ratings-grid { grid-template-columns: 1fr; }
}

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible { opacity: 1; transform: none; transition-property: opacity, transform; transition-duration: 520ms; transition-timing-function: cubic-bezier(.2, 0, 0, 1); }

@media (max-width: 1060px) {
  :root { --shell: min(100% - 40px, 960px); }
  .header-identity { gap: 18px; }
  .header-format { display: none; }
  .header-format-icon { display: none; }
  .header-facts { gap: 16px; }
  .header-consult { padding-inline: 14px; font-size: .76rem; }
  .main-nav > a, .nav-home-link, .nav-trigger { padding-inline: 11px; font-size: .7rem; }
  .hero-copy { width: min(540px, 58%); }
  .specialty-cards { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-list { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .experts-track { grid-auto-columns: calc((100% - 18px) / 2); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, .8fr); }
  .footer-contact { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; }
  .footer-contact h2 { grid-column: 1 / -1; }
  .footer-contact .button { margin: 0; justify-self: end; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 720px); }
  .section-pad { padding-block: 72px; }
  .site-header { position: relative; inset-block-start: auto; }
  .header-utility, .header-info { display: none; }
  .nav-wrap { position: fixed; inset: 0 0 auto; z-index: 60; padding: 0; background: var(--white); box-shadow: 0 6px 22px oklch(.3 .03 345 / .08); }
  .nav-row { width: 100%; min-height: 66px; justify-content: space-between; padding-inline: 16px; border: 0; border-radius: 0; box-shadow: none; }
  .menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; padding: 0; color: var(--wine-deep); background: transparent; border: 0; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 22px; height: 1.5px; display: block; background: currentColor; transition: transform 180ms ease-out, opacity 180ms ease-out; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .mobile-brand { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
  .mobile-brand .brand-logo { width: 60px; height: 40px; }
  .main-nav { position: fixed; inset: 66px 0 0; display: block; width: 100%; padding: 22px 16px 60px; color: var(--ink); background: var(--canvas); overflow-y: auto; transform: translateX(-102%); transition: transform 260ms cubic-bezier(.2,0,0,1); }
  .main-nav.is-open { transform: none; }
  .main-nav > a, .nav-home-link, .nav-trigger { width: 100%; min-height: 54px; justify-content: space-between; padding-inline: 10px; border-bottom: 1px solid var(--line); font-size: .82rem; }
  .nav-group-home .nav-home-link { width: calc(100% - 44px); }
  .nav-home-link .nav-chevron { display: none; }
  .nav-group-home .nav-trigger { display: flex; width: 44px; }
  .nav-group-home .nav-dropdown { width: 100%; }
  .nav-dropdown { position: static; display: none; min-width: 0; padding: 6px 0 10px 18px; background: transparent; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-trigger[aria-expanded="true"] + .nav-dropdown { display: block; }
  .nav-dropdown a { padding: 10px; }
  .mobile-socials { display: grid; gap: 12px; padding: 24px 10px 0; }
  .mobile-socials > span { color: var(--ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-socials > div { display: flex; gap: 10px; }
  .mobile-socials a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--wine); background: var(--white); border: 1px solid var(--line); border-radius: 50%; }
  .mobile-socials svg { width: 20px; height: 20px; }
  .internal-main { padding-top: 66px; }
  .internal-hero { min-height: calc(100vh - 66px); padding-block: 64px 80px; }
  .breadcrumbs { margin-bottom: 36px; }
  .internal-hero h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .nav-phone { display: flex; gap: 8px; width: auto; min-height: 44px; height: auto; padding: 7px 10px; border-radius: 10px; }
  .nav-phone svg { width: 19px; height: 19px; }
  .nav-phone-caption { display: grid; gap: 1px; }
  .nav-phone-caption b { font-size: .72rem; font-weight: 700; }
  .nav-phone-caption small { color: oklch(1 0 0 / .8); font-size: .56rem; }
  .hero { min-height: auto; display: block; padding-top: 66px; background: var(--white); }
  .hero-grid { padding-block: 42px 260px; }
  .hero-copy { width: 100%; max-width: 630px; }
  .hero-visual { inset: auto 0 82px; height: 210px; min-height: 0; }
  .hero-visual::after { background: linear-gradient(180deg, var(--white) 0%, transparent 42%), linear-gradient(90deg, oklch(1 0 0 / .72), transparent 48%); }
  .hero-proof { position: absolute; grid-template-columns: repeat(3, 1fr); }
  .hero-proof > div { min-height: 82px; padding: 10px; gap: 10px; }
  .hero-proof svg { width: 40px; height: 40px; padding: 6px; }
  .hero-proof small { display: none; }
  .hero-home > .hero-grid { padding-block-end: 340px; }
  .hero-home > .hero-visual { inset-block-end: 162px; }
  .hero-proof.hero-proof-home { gap: 10px; }
  .hero-proof-home > div { min-height: 150px; flex-direction: column; justify-content: center; gap: 10px; padding: 10px 8px; text-align: center; }
  .hero-proof-home .hero-proof-photo { width: 84px; height: 60px; }
  .hero-proof-home b { font-size: .88rem; }
  .hero-proof-home small { display: block; font-size: .75rem; }
  .section-heading-row { grid-template-columns: 1fr; gap: 24px; }
  .question-panel { grid-template-columns: 1fr; gap: 36px; }
  .question-actions { max-width: 500px; }
  .skills-grid, .roadmap-grid, .labson-grid, .about-grid { grid-template-columns: 1fr; }
  .skills-intro, .roadmap-heading { position: static; }
  .result-heading { grid-template-columns: 1fr; gap: 24px; }
  .result-heading > p { margin-bottom: 0; }
  .result-footer { align-items: start; flex-direction: column; }
  .experts-heading { align-items: start; gap: 24px; }
  .business-intro { min-height: 0; flex-direction: column; align-items: stretch; padding-block: 0 64px; }
  .business-visual { position: relative; inset: auto; height: 300px; flex-shrink: 0; }
  .business-intro-grid { margin-block-start: 24px; }
  .business-visual::after { background: linear-gradient(180deg, transparent 42%, var(--canvas) 92%); }
  .business-copy { width: 100%; max-width: 600px; }
  .business-intro + .partners { border-block-start-width: 0; }
  .clinic-grid { grid-template-columns: 1fr; }
  .program-meta { grid-template-columns: 1fr; }
  .labson-visual { width: min(100%, 560px); }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 240px; }
  .contact-panel { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
  .footer-contact { grid-template-columns: 1fr 1fr; }
  .footer-contact .button { justify-self: start; }
  .footer-bottom { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); --radius-md: 10px; }
  h1, .hero h1 { font-size: clamp(2rem, 9.4vw, 2.42rem); line-height: 1.03; }
  h2, .business-intro h1 { font-size: clamp(1.85rem, 8.4vw, 2.55rem); }
  .section-pad { padding-block: 62px; }
  .hero-grid { padding-block: 30px 180px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .specialty-line { font-size: .75rem; }
  .hero-visual { inset-block-end: 78px; height: 150px; }
  .hero-lead { font-size: .95rem; line-height: 1.5; }
  .hero-actions { margin-block: 20px 16px; }
  .hero-visual img { object-position: 78% center; }
  .hero-proof > div { min-height: 90px; flex-direction: column; justify-content: center; text-align: center; padding: 10px 6px; }
  .hero-proof svg { width: 36px; height: 36px; padding: 5px; border-radius: 10px; }
  .hero-proof b { font-size: .7rem; }
  .hero-home > .hero-grid { padding-block-end: 212px; }
  .hero-home > .hero-visual { inset-block-end: 110px; }
  .hero-proof.hero-proof-home { gap: 8px; }
  .hero-proof-home > div { min-height: 110px; gap: 8px; padding: 10px 5px; }
  .hero-proof-home .hero-proof-photo { width: 66px; height: 48px; }
  .hero-proof-home b { font-size: .78rem; }
  .hero-proof-home small { display: none; }
  .skills-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-block: 22px; }
  .skills-list li > span { width: 40px; height: 40px; border-radius: 12px; font-size: 1.05rem; }
  .specialty-cards, .advantages-grid { grid-template-columns: 1fr; }
  .ratings-grid { grid-template-columns: 1fr; }
  .rating-card { gap: 16px; padding: 22px; }
  .rating-score { min-width: 92px; gap: 8px; }
  .rating-score strong { font-size: 62px; }
  .rating-score span { font-size: .98rem; }
  .rating-platform { gap: 12px; }
  .rating-platform a { font-size: .75rem; }
  .video-feature { width: min(100%, 600px); aspect-ratio: 2 / 1; }
  .video-play { width: 58px; height: 58px; }
  .video-play::after { border-block-width: 8px; border-left-width: 12px; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .question-panel { padding: 36px 24px; border-radius: 12px; }
  .question-actions .button { width: 100%; padding-inline: 16px; }
  .question-links { gap: 8px; }
  .question-links a { padding: 10px; gap: 8px; font-size: .75rem; }
  .contact-social-icon { width: 30px; height: 30px; border-radius: 9px; }
  .contact-external { display: none; }
  .specialty-cards { gap: 0; }
  .specialty-card { min-height: 235px; }
  .advantage { padding: 26px; }
  .result-panel { padding: 36px 24px; border-radius: 12px; }
  .result-visual { height: 210px; margin-top: 32px; border-radius: 10px; }
  .result-list { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .result-list li { gap: 14px 12px; padding: 20px; border-radius: 12px; }
  .result-meta { display: grid; gap: 18px; }
  .result-footer .button { width: 100%; }
  .experts-heading { flex-direction: column; margin-bottom: 24px; }
  .track-controls { align-self: flex-end; }
  .experts-track { grid-auto-columns: 88%; gap: 12px; }
  .expert-body { padding: 22px; }
  .expert-body h3 { font-size: 1.25rem; }
  .expert-position { min-height: 0; }
  .expert-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 54px 24px 28px; border-radius: 18px; }
  .expert-dialog-grid { grid-template-columns: 1fr; gap: 24px; }
  .expert-dialog-photo { width: 180px; justify-self: center; padding-top: 12px; }
  .expert-dialog-photo img { height: 190px; }
  .expert-dialog .expert-biography { font-size: .85rem; }
  .clinic-card { min-height: 0; padding: 26px; }
  .clinic-card > span { margin-bottom: 32px; }
  .program-panel { border-radius: 12px; }
  .program-actions { align-items: stretch; flex-direction: column; }
  .program-actions a { text-align: center; }
  .about-links { display: grid; }
  .license-card { flex-direction: column; }
  .contact-panel { padding: 36px 24px; border-radius: 12px; }
  .contact-panel .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-contact { display: grid; grid-template-columns: 1fr; }
  .modal { padding: 10px; }
  .modal-dialog { max-height: calc(100svh - 20px); padding: 34px 22px; }
}

@media (max-width: 820px) {
  .cabinet-main { padding-top: 66px; }
  .cabinet-archive-viewer { height: 620px; min-height: 0; }
}

@media (max-width: 560px) {
  .cabinet-variant { padding-block: 42px; }
  .panorama-frame { border-radius: 16px; }
  .cabinet-archive-viewer { height: 520px; }
  .panorama-toolbar { inset-block-start: 12px; inset-inline-end: 12px; gap: 4px; padding: 5px; border-radius: 12px; }
  .panorama-toolbar button { width: 40px; height: 40px; }
  .cabinet-hotspot-button { min-height: 36px; gap: 6px; padding: 5px 9px 5px 6px; }
  .cabinet-hotspot-dot { width: 20px; height: 20px; border-width: 6px; }
  .cabinet-hotspot-label { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .latest-posts-status { grid-column: 1 / -1; margin: 0; padding: 32px; color: var(--ink-soft); background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-md); }
.latest-post-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); transition: box-shadow .2s; }
.latest-post-card:hover { box-shadow: var(--shadow); }
.latest-post-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.latest-post-card > div { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.latest-post-card h3 { margin-bottom: 14px; font-size: 1.4rem; font-weight: 600; letter-spacing: -.025em; }
.latest-post-card p { color: var(--ink-soft); }
.latest-post-card .latest-post-date { margin-bottom: 14px; color: var(--wine); font-size: .78rem; }
.latest-post-card .text-link { margin-top: auto; padding-top: 12px; }
.home-practice { background: var(--canvas); }
.home-practice-grid, .home-consult-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.home-practice-grid > div > p:not(.eyebrow), .home-consult-grid > div > p:not(.eyebrow) { max-width: 620px; color: var(--ink-soft); }
.inline-form-card { min-width: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.inline-form-card h3 { margin: 0 0 24px; font-size: 1.65rem; font-weight: 600; letter-spacing: -.03em; }
.inline-lead-form { display: grid; gap: 8px; }
.inline-lead-form > label:not(.consent) { font-size: .85rem; font-weight: 700; }
.inline-lead-form > input:not([type="hidden"]) { width: 100%; min-height: 52px; padding: 13px 15px; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 1rem; }
.inline-lead-form input[aria-invalid="true"] { border-color: oklch(0.55 0.18 25); }
.inline-lead-form .button { width: 100%; }
.inline-lead-form .button:disabled { opacity: .65; cursor: wait; }
.home-consult { background: var(--canvas-deep); }
.home-faq { background: var(--cream); }
.home-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.home-faq-list { border-top: 1px solid var(--line); }
.home-faq-list details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.home-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; color: var(--ink); cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after { content: "+"; flex: 0 0 28px; color: var(--wine); font-size: 1.6rem; text-align: center; }
.home-faq-list details[open] summary::after { content: "−"; }
.home-faq-list details p { margin: 14px 48px 0 0; color: var(--ink-soft); }
@media (max-width: 820px) {
  .home-practice-grid, .home-consult-grid, .home-faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

.reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .button, .track-controls button, .menu-toggle, .panorama-toolbar button, .cabinet-hotspot-button { border: 1px solid ButtonText; }
}

.consult-banner-section { padding-block: 20px 72px; }
.consult-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(180px, .7fr) minmax(0, 1fr); gap: 28px; align-items: center; overflow: hidden; padding: 44px; background: oklch(0.95 0.022 145); border: 1px solid oklch(0.87 0.025 145); border-radius: var(--radius-lg); }
.consult-banner-copy, .consult-banner-form { position: relative; z-index: 1; min-width: 0; }
.consult-banner-copy h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 2.7vw, 2.5rem); line-height: 1.15; }
.consult-banner-copy > p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: .94rem; }
.consult-banner-portrait { align-self: end; height: 340px; margin-block: -24px -44px; }
.consult-banner-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.consult-banner-form > input:not([type="hidden"]) { background: var(--white); border-radius: 30px; }
.consult-banner-form .button { border-radius: 30px; }
.consult-banner-form .consent { margin-top: 12px; font-size: .73rem; }
.consult-banner-form .field-error, .consult-banner-form .form-status { min-height: 0; margin: 0; }
.practice-main .consult-banner-copy h2 { margin-bottom: 20px; font-weight: 500; line-height: 1.15; }
.practice-main .consult-banner-copy .eyebrow { margin-bottom: 16px; font-family: var(--f-body); font-weight: 700; }
.practice-illustration { margin: 30px 0 0; overflow: hidden; border-radius: var(--radius-md); }
.practice-illustration img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.partner-card-fomin { text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.partner-card-fomin:hover { border-color: var(--wine); box-shadow: var(--shadow); }
.partner-card-fomin img { width: 194px; }
.cardio-connection-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.cardio-connection-intro figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.cardio-connection-intro img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.institute-section { background: var(--cream); }
.institute-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.institute-intro h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); }
.institute-intro > p:not(.eyebrow), .institute-benefits p { color: var(--ink-soft); }
.institute-diploma { display: block; margin-top: 28px; color: var(--wine-deep); font-size: .8rem; text-decoration: none; }
.institute-diploma img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.institute-diploma > span { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.institute-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 30px; }
.institute-benefits article { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.institute-benefits h3 { margin: 18px 0 14px; font-size: 1.25rem; font-weight: 650; line-height: 1.35; }
.institute-benefits p { margin: 0; font-size: .94rem; }
.institute-benefit-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--wine); background: var(--canvas-deep); border-radius: 14px; }
.institute-benefit-icon svg { width: 28px; height: 28px; }
body.modal-open #jivo-iframe-container, body.modal-open jdiv { visibility: hidden !important; }
@media (max-width: 1000px) {
  .consult-banner { grid-template-columns: 1fr 1fr; gap: 30px; padding: 36px; }
  .consult-banner-portrait { grid-column: 1; grid-row: 2; height: 280px; max-width: 240px; margin: -10px 0 -36px; justify-self: center; }
  .consult-banner-copy { grid-column: 1 / -1; }
  .consult-banner-form { grid-column: 2; grid-row: 2; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .institute-grid { grid-template-columns: 1fr; }
  .institute-intro { max-width: 680px; }
  .institute-diploma { max-width: 520px; }
}
@media (max-width: 620px) {
  .consult-banner-section { padding-block: 0 44px; }
  .consult-banner { grid-template-columns: 1fr; gap: 26px; padding: 28px 24px 0; }
  .consult-banner-copy, .consult-banner-form { grid-column: 1; grid-row: auto; }
  .consult-banner-portrait { grid-column: 1; grid-row: 3; height: 220px; margin: 0; width: 170px; }
  .consult-banner-copy h2 { font-size: 1.95rem; }
  .consult-banner-form .consent { font-size: .76rem; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cardio-connection-intro { grid-template-columns: 1fr; gap: 24px; }
  .cardio-connection-intro figure { max-width: 440px; }
  .institute-benefits { grid-template-columns: 1fr; gap: 28px; }
}

.site-footer { position: relative; isolation: isolate; padding-top: 64px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; z-index: -1; width: 880px; height: 560px; inset-inline-end: -140px; inset-block-start: 20px; background: url('/assets/images/niippk-logo.svg') center top / contain no-repeat; opacity: .055; pointer-events: none; }
.footer-top { display: grid; grid-template-columns: 1.15fr 3fr; gap: 54px; align-items: start; padding-bottom: 42px; }
.footer-top .footer-brand { grid-column: auto; }
.footer-top .brand-logo { width: 136px; height: auto; padding: 10px 12px; border-radius: 12px; }
.footer-top .footer-brand > p { margin-top: 18px; max-width: 300px; color: oklch(1 0 0 / .78); line-height: 1.65; }
.footer-social-group > p { margin: 0 0 14px; font-size: .88rem; font-weight: 600; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--cream); background: oklch(1 0 0 / .1); border: 1px solid oklch(1 0 0 / .18); transition: color .2s, background-color .2s; }
.footer-socials a:hover { color: var(--wine-deep); background: var(--cream); }
.footer-socials svg { width: 23px; height: 23px; fill: currentColor; }
.footer-main-grid { display: grid; grid-template-columns: 1.15fr 1.35fr .85fr .85fr; gap: 40px; padding-bottom: 54px; }
.footer-main-grid > * { min-width: 0; }
.footer-main-grid h2 { margin: 0 0 18px; font-size: .75rem; font-weight: 700; line-height: 1.4; text-transform: uppercase; letter-spacing: .08em; }
.footer-main-grid .footer-subheading { margin: 20px 0 4px; }
.footer-addresses { font-size: .82rem; }
.footer-addresses ul { margin: 0 0 24px; padding: 0; list-style: none; }
.footer-addresses li { display: grid; gap: 3px; margin-bottom: 14px; }
.footer-addresses li span, .footer-addresses small { color: oklch(1 0 0 / .76); }
.footer-addresses > a { display: block; color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.footer-addresses .footer-phone { font-size: 1.2rem; font-weight: 650; }
.footer-addresses small { display: block; margin: 3px 0 16px; font-size: .72rem; }
.footer-requisites { color: oklch(1 0 0 / .8); font-size: .83rem; line-height: 1.75; }
.footer-license-number { margin: 24px 0 18px; font-size: .87rem; line-height: 1.7; overflow-wrap: anywhere; }
.footer-license-actions { display: grid; gap: 10px; justify-items: start; }
.footer-license-actions .button { min-height: 44px; font-size: .78rem; }
.footer-outline-button { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 10px 18px; border: 1px solid oklch(1 0 0 / .35); border-radius: var(--radius-sm); color: var(--white); font-size: .78rem; font-weight: 600; text-decoration: none; }
.footer-outline-button:hover { background: oklch(1 0 0 / .1); }
.footer-official-links { display: grid; gap: 14px; margin-top: 26px; }
.footer-official-links a { color: oklch(1 0 0 / .76); font-size: .72rem; line-height: 1.5; text-underline-offset: 4px; }
.footer-main-grid .footer-column { gap: 11px; }
.footer-main-grid .footer-column a { color: oklch(1 0 0 / .8); font-size: .82rem; line-height: 1.5; }
.footer-column a:hover, .footer-policy-links a:hover, .footer-addresses > a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-main-grid .footer-column .button { margin-top: 20px; min-height: 44px; padding-inline: 14px; font-size: .75rem; }
.site-footer .footer-bottom { grid-template-columns: 1fr auto; gap: 22px 40px; padding-block: 28px; }
.footer-bottom > p { max-width: 800px; color: oklch(1 0 0 / .75); line-height: 1.7; }
.footer-bottom > a { grid-column: 2; grid-row: 1; color: var(--cream); font-size: .78rem; }
.footer-policy-links { display: flex; flex-wrap: wrap; gap: 14px 24px; grid-column: 1 / -1; }
.footer-policy-links a { color: oklch(1 0 0 / .75); line-height: 1.5; text-underline-offset: 4px; }
.license-dialog { position: fixed; width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 32px; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: auto; }
.license-dialog::backdrop { background: oklch(.2 .02 340 / .7); backdrop-filter: blur(4px); }
.license-dialog h2 { padding-right: 50px; margin: 0 0 12px; font-size: 1.65rem; }
.license-dialog > p { color: var(--ink-soft); margin-bottom: 24px; }
.license-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.license-pages img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-main-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
}
@media (max-width: 620px) {
  .site-footer { padding-top: 44px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-main-grid { gap: 38px 24px; padding-bottom: 36px; }
  .footer-addresses, .footer-license { grid-column: 1 / -1; }
  .footer-main-grid .footer-column a { font-size: .78rem; }
  .site-footer .footer-bottom { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom > a { grid-column: 1; grid-row: 3; }
  .footer-policy-links { display: grid; gap: 14px; }
  .license-dialog { padding: 28px 18px 22px; }
  .license-dialog h2 { font-size: 1.35rem; }
  .license-pages { grid-template-columns: 1fr; gap: 18px; }
}

/* Calm sleep imagery and rhythm lines around the consultation form. */
.home-consult { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 5% 85%, oklch(.93 .025 150 / .7), transparent 55%), radial-gradient(ellipse at 100% 0%, oklch(.99 .015 85 / .8), transparent 50%), var(--canvas-deep); }
.home-consult::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url('assets/images/consultation-waves.svg') center / cover no-repeat; pointer-events: none; }
.home-consult-grid { position: relative; }
.home-consult-copy { min-width: 0; }
.home-consult-photo { max-width: 530px; margin: 28px 0 0; overflow: hidden; border-radius: 16px 64px 16px 16px; outline: 1px solid oklch(0 0 0 / .08); outline-offset: -1px; }
.home-consult-photo img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: 65% 53%; }
.home-consult .inline-form-card { box-shadow: 0 16px 48px oklch(.32 .04 350 / .08); }
@media (max-width: 820px) {
  .home-consult-photo { max-width: 100%; }
  .home-consult-photo img { height: 180px; }
  .home-consult::before { background-position: 70% center; background-size: auto 100%; }
}

/* The same sleep rhythm, composed differently on selected coloured surfaces. */
.questions, .consult-banner, .skills, .home-practice, .about { position: relative; isolation: isolate; }
.questions, .home-practice, .about { overflow: hidden; }
.questions::before, .consult-banner::before, .skills::after, .home-practice::before, .about::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: url('assets/images/consultation-waves.svg') center / 1600px 720px no-repeat;
}
.questions::before { inset: -20% -8%; transform: rotate(-12deg) scaleX(-1); }
.consult-banner::before { inset: -120px -60px -100px; background-size: 1100px auto; transform: rotate(8deg); opacity: .8; }
.skills::after { inset: auto -12% -90px; height: 540px; background-position: left bottom; transform: rotate(180deg); opacity: .7; }
.home-practice::before { inset: -50% -15% -20%; transform: rotate(8deg) scaleX(-1); opacity: .55; }
.about::before { inset: -25% -20%; transform: rotate(170deg); opacity: .8; }

/* All course experts, with their full profiles in the normal reading flow. */
.faculty-intro { position: relative; isolation: isolate; overflow: hidden; background: var(--white); }
.faculty-intro::before { content: ""; position: absolute; z-index: -1; inset: -50% -25%; background: url('assets/images/consultation-waves.svg') 80% center / 1500px auto no-repeat; transform: rotate(-8deg); opacity: .45; pointer-events: none; }
.faculty-intro .breadcrumbs { margin-bottom: 30px; }
.faculty-intro h1 { max-width: 860px; }
.faculty-lead { max-width: 740px; margin-bottom: 26px; color: var(--ink-soft); font-size: 1.05rem; }
.faculty-directory { background: var(--cream); }
.faculty-profiles { display: grid; gap: 32px; }
.faculty-profile { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: clamp(28px, 4vw, 54px); align-items: start; padding: clamp(24px, 4vw, 46px); background: var(--white); border-radius: 24px; box-shadow: 0 12px 36px oklch(.28 .025 340 / .045), 0 2px 5px oklch(.28 .025 340 / .025); }
.faculty-portrait { overflow: hidden; background: linear-gradient(145deg, var(--canvas-sage), var(--cream)); border-radius: 18px 64px 18px 18px; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.faculty-profile:nth-child(even) .faculty-portrait { background: linear-gradient(145deg, var(--blush), var(--cream)); border-radius: 64px 18px 18px 18px; }
.faculty-portrait img { width: 100%; height: 340px; object-fit: contain; object-position: center bottom; }
.faculty-copy { min-width: 0; }
.faculty-copy .eyebrow { margin-bottom: 14px; font-size: .66rem; }
.faculty-copy h2 { max-width: 660px; margin-bottom: 16px; font-size: clamp(1.65rem, 2.4vw, 2.35rem); line-height: 1.16; }
.faculty-position { display: inline-block; margin-bottom: 28px; padding: 10px 14px; color: var(--wine-deep); background: var(--blush); border-radius: 10px; font-size: .88rem; font-weight: 600; }
.faculty-biography-title { margin-bottom: 16px; color: var(--ink); font-size: .9rem; font-weight: 700; }
.faculty-biography { max-width: 74ch; color: var(--ink-soft); font-size: .92rem; line-height: 1.75; }
.faculty-biography p { margin-bottom: 13px; }
.faculty-biography p:last-child { margin-bottom: 0; }
.faculty-cta { background: var(--canvas-deep); }
.faculty-cta > .shell { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.faculty-cta h2 { margin-bottom: 0; }
.faculty-cta .button { flex-shrink: 0; }

/* About the institute: navigable sections and public documents. */
.about-mission { position: relative; isolation: isolate; overflow: hidden; background: var(--canvas-sage); }
.about-mission::before { content: ""; position: absolute; z-index: -1; inset: -40% -35%; background: url('assets/images/consultation-waves.svg') left center / 1600px auto no-repeat; transform: rotate(165deg); opacity: .45; pointer-events: none; }
.about-mission-heading { max-width: 820px; }
.about-mission-heading > p:not(.eyebrow) { max-width: 740px; color: var(--ink-soft); }
.about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.about-values article { padding: 30px; background: oklch(1 0 0 / .78); border-radius: 18px; }
.about-value-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; color: var(--wine); background: var(--blush); border-radius: 12px; }
.about-value-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; }
.about-values h3 { margin-bottom: 12px; font-size: 1.15rem; }
.about-values p { margin-bottom: 0; color: var(--ink-soft); font-size: .9rem; }
.about-documents { background: var(--canvas); }
.about-documents-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 7vw, 90px); align-items: center; }
.about-documents-grid > div > p:not(.eyebrow) { max-width: 660px; color: var(--ink-soft); }
.about-document-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-block: 30px 24px; }
.about-documents-link { display: inline-block; padding-block: 10px; color: var(--wine); font-size: .85rem; font-weight: 600; }
.about-license-preview { display: grid; justify-items: center; gap: 18px; padding: 26px; color: var(--wine-deep); background: var(--white); border-radius: 20px; text-decoration: none; box-shadow: var(--shadow); }
.about-license-preview > img { width: 100%; max-width: 260px; height: auto; outline: 1px solid oklch(0 0 0 / .1); }
.about-license-preview > span { display: flex; justify-content: space-between; gap: 22px; width: 100%; font-size: .8rem; font-weight: 700; }
#about-ratings { scroll-margin-top: 100px; }
@media (max-width: 820px) {
  .faculty-profile { grid-template-columns: 210px minmax(0, 1fr); padding: 28px; gap: 26px; }
  .faculty-portrait img { height: 280px; }
  .faculty-cta > .shell { align-items: start; flex-direction: column; }
  .about-values { gap: 16px; }
  .about-values article { padding: 24px 20px; }
}
@media (max-width: 620px) {
  .faculty-profiles { gap: 22px; }
  .faculty-profile { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px; border-radius: 20px; }
  .faculty-portrait { width: min(100%, 280px); }
  .faculty-portrait img { height: 300px; }
  .faculty-position { margin-bottom: 22px; }
  .faculty-biography { font-size: .9rem; }
  .faculty-cta .button { width: 100%; }
  .about-values, .about-documents-grid { grid-template-columns: 1fr; }
  .about-document-actions { align-items: start; flex-direction: column; gap: 16px; }
  .about-license-preview { max-width: 360px; }
}
@media (max-width: 820px) {
  .questions::before { inset: -5% -80%; background-size: 1400px auto; transform: rotate(-18deg); }
  .consult-banner::before { inset: -10% -80%; background-size: auto 900px; transform: rotate(12deg) scaleX(-1); opacity: .6; }
  .skills::after { inset-inline: -100%; bottom: -100px; height: 620px; opacity: .5; }
  .home-practice::before { inset: -10% -100%; background-size: auto 100%; opacity: .45; }
  .about::before { inset: -10% -100%; background-size: auto 100%; opacity: .55; }
}

/* Gratitude letters retain the complete source documents. */
.gratitude-letters { background: var(--white); scroll-margin-top: 92px; }
.gratitude-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: 36px; }
.gratitude-heading h2 { margin: 0; }
.gratitude-heading > p { max-width: 31ch; margin: 0; color: var(--ink-soft); font-size: .9rem; }
.gratitude-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 0; margin: 0; list-style: none; }
.gratitude-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); }
.gratitude-preview { display: flex; flex-direction: column; width: 100%; padding: 18px 18px 14px; border: 0; background: var(--canvas-sage); cursor: zoom-in; }
.gratitude-preview img { width: 100%; height: auto; aspect-ratio: 725 / 1024; object-fit: contain; background: var(--white); box-shadow: 0 3px 12px oklch(.27 .025 157 / .1); }
.gratitude-preview-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding-top: 15px; color: var(--action); font-size: .74rem; font-weight: 700; }
.gratitude-preview:hover { background: var(--sage); }
.gratitude-preview:focus-visible { outline: 3px solid var(--action); outline-offset: -4px; }
.gratitude-card-content { flex: 1; padding: 22px; }
.gratitude-card-content h3 { margin: 0; font-size: 1.03rem; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }

/* Basic continuing-education course: white content, restrained sage accents. */
.basic-course { background: var(--white); }
.course-hero { padding-top: 36px; }
.course-hero .breadcrumbs { margin-bottom: 36px; }
.course-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.course-hero h1 { font-size: clamp(2.6rem, 5vw, 4.7rem); letter-spacing: -.055em; }
.course-subtitle { font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 600; line-height: 1.4; max-width: 36ch; }
.course-description { color: var(--ink-soft); max-width: 60ch; }
.course-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.course-overview { background: var(--canvas-sage); border: 1px solid oklch(.82 .024 165); border-radius: 24px; padding: clamp(22px, 3vw, 36px); overflow: hidden; }
.course-overview-top, .course-overview-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--action); font-size: .78rem; }
.course-overview-top { font-weight: 700; }
.course-sleep-art { display: block; width: 100%; height: auto; margin-block: 14px; }
.course-duration { display: flex; align-items: center; gap: 20px; color: var(--action); }
.course-duration strong { font-size: clamp(4.4rem, 8vw, 6rem); line-height: 1; font-weight: 500; letter-spacing: -.06em; }
.course-duration span { font-size: 1rem; line-height: 1.35; }
.course-overview-note { margin: 22px 0; color: var(--ink-soft); font-size: .87rem; }
.course-overview-bottom { border-top: 1px solid oklch(.75 .025 165 / .5); padding-top: 18px; }
.course-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 44px 0 24px; }
.course-facts li { border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.course-facts span { display: block; color: var(--ink-soft); font-size: .8rem; margin-bottom: 8px; }
.course-facts strong { display: block; font-size: .98rem; font-weight: 600; }
.course-section-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.course-section-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 40px; background: var(--canvas-sage); color: var(--action); font-size: .85rem; text-decoration: none; }
.course-section-nav a:hover { background: var(--sage); }
.course-section-heading { max-width: 880px; margin-bottom: 40px; }
.course-section-heading h2 { font-size: clamp(1.9rem, 3.7vw, 3.2rem); }
.course-outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.course-outcome-grid article { display: flex; align-items: flex-start; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; }
.course-outcome-grid article:last-child { grid-column: 1 / -1; background: var(--canvas-sage); }
.course-check { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--canvas-sage); color: var(--action); font-size: 1.3rem; }
.course-outcome-grid h3, .course-audience-grid h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; margin-bottom: 12px; }
.course-outcome-grid p, .course-audience-grid p { color: var(--ink-soft); margin: 0; }
.course-program { background: var(--canvas-sage); }
.course-program-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.course-program-intro h2 { font-size: clamp(2rem, 3.8vw, 3.3rem); }
.course-program-intro p:not(.eyebrow) { color: var(--ink-soft); }
.course-modules { display: grid; gap: 12px; }
.course-module { background: var(--white); border: 1px solid oklch(.82 .024 165); border-radius: 12px; overflow: hidden; }
.course-module summary { list-style: none; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 20px; align-items: center; gap: 14px; padding: 20px; cursor: pointer; font-size: .95rem; font-weight: 600; line-height: 1.4; }
.course-module summary::-webkit-details-marker { display: none; }
.course-module-number { color: var(--ink-soft); font-size: .75rem; font-weight: 400; }
.course-module-hours { color: var(--action); font-size: .8rem; white-space: nowrap; }
.course-module-plus { color: var(--action); font-size: 1.5rem; font-weight: 500; text-align: center; }
.course-module[open] .course-module-plus { transform: rotate(45deg); }
.course-module > div { padding: 0 22px 22px 64px; color: var(--ink-soft); font-size: .93rem; }
.course-module > div p { margin: 0; }
.consultant-module summary { grid-template-columns: 30px minmax(0, 1fr) 20px; }
.consultant-module ul { margin: 0 0 22px; padding-left: 18px; }
.consultant-module li + li { margin-top: 10px; }
.consultant-module .consultant-module-formats { border-top: 1px solid var(--line); padding-top: 18px; font-size: .8rem; color: var(--action); }
.course-section-heading > p:not(.eyebrow) { max-width: 62ch; color: var(--ink-soft); margin-top: 20px; }
.course-audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.course-audience-grid article { padding: 26px; border-radius: 16px; background: var(--canvas-sage); }
.course-audience-grid p { font-size: .93rem; }
.course-faculty-intro { padding-top: 20px; }
.course-faculty-intro p { max-width: 80ch; color: var(--ink-soft); margin: 0; }
.basic-course .experts { padding-top: 36px; }
.course-admission { background: var(--canvas-sage); }
.course-admission-grid, .course-document-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.course-admission h2, .course-document h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.course-admission-grid > div > p:not(.eyebrow), .course-document-grid > div > p:not(.eyebrow) { color: var(--ink-soft); max-width: 65ch; }
.course-admission-docs { padding-inline-start: 20px; margin-top: 26px; }
.course-admission-docs li { margin-bottom: 10px; }
.course-admission-docs li::marker { color: var(--action); }
.course-admission .inline-form-card { margin: 0; }
.course-admission .inline-form-card h3 { font-size: 1.25rem; }
.course-document-note { padding: 32px; background: var(--canvas-sage); border-radius: 18px; }
.course-document-note .course-check { background: var(--white); margin-bottom: 24px; }
.course-document-note h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.4; }
.course-document-note p { color: var(--ink-soft); margin: 0; font-size: .93rem; }
.basic-course .home-faq { background: var(--white); }
.basic-course .home-faq-list summary::after { color: var(--action); }
@media (max-width: 1000px) { .course-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .course-hero-grid, .course-program-grid, .course-admission-grid, .course-document-grid { grid-template-columns: minmax(0, 1fr); }
  .course-hero .breadcrumbs { margin-bottom: 28px; }
  .course-facts, .course-outcome-grid, .course-audience-grid { grid-template-columns: minmax(0, 1fr); }
  .course-facts { gap: 12px; margin-top: 28px; }
  .course-facts li { padding: 18px; }
  .course-outcome-grid article, .course-audience-grid article { padding: 22px; }
  .course-outcome-grid article { gap: 14px; }
  .course-module summary { grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 10px; padding: 18px; }
  .course-module-hours { grid-column: 2; grid-row: 2; }
  .course-module-plus { grid-column: 3; grid-row: 1 / 3; }
  .course-module > div { padding-inline: 18px; }
  .course-document-note { padding: 26px; }
}
.gratitude-dialog { width: min(850px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0 24px 24px; color: var(--ink); background: var(--white); border: 0; border-radius: 20px; overflow: auto; overscroll-behavior: contain; }
.gratitude-dialog::backdrop { background: oklch(.22 .025 157 / .7); backdrop-filter: blur(4px); }
.gratitude-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-inline: -24px; padding: 20px 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.gratitude-dialog-header h2 { max-width: 48ch; margin: 0; font-size: 1.1rem; line-height: 1.4; letter-spacing: -.025em; }
.gratitude-dialog-header button { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--canvas-sage); color: var(--action); font-size: 1.7rem; cursor: pointer; }
.gratitude-dialog-header button:hover { background: var(--sage); }
.gratitude-dialog > img { width: 100%; height: auto; margin-block: 24px; }
.gratitude-dialog > a { display: inline-flex; min-height: 44px; align-items: center; color: var(--action); font-size: .85rem; }
@media (max-width: 1000px) { .gratitude-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .gratitude-heading { align-items: start; flex-direction: column; gap: 18px; }
  .gratitude-heading h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); overflow-wrap: anywhere; }
  .gratitude-grid { grid-template-columns: 1fr; gap: 24px; }
  .gratitude-preview { padding: 22px 22px 16px; }
  .gratitude-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 0 14px 14px; border-radius: 14px; }
  .gratitude-dialog-header { margin-inline: -14px; padding: 16px 14px; gap: 12px; }
  .gratitude-dialog-header h2 { font-size: .92rem; }
}

/* Public reviews: original platform content and verbatim short reviews. */
.public-reviews-page { background: var(--white); }
.public-reviews-intro { padding-block: 64px 48px; }
.public-reviews-intro-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 48px; margin-block: 32px 36px; }
.public-reviews-intro h1 { margin-bottom: 0; font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.public-reviews-lead { max-width: 44ch; margin-bottom: 0; color: var(--ink-soft); }
.public-reviews-page .rating-card { padding: 30px; background: var(--canvas-sage); border-color: transparent; }
.public-reviews-page .rating-score { color: var(--action); }
.public-reviews-page .rating-score strong { font-size: 64px; }
.public-reviews-page .rating-platform img { max-height: 60px; }
.public-reviews-intro-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.public-reviews-intro-footer > p { max-width: 56ch; margin: 0; color: var(--ink-soft); font-size: .78rem; }
.public-reviews-intro-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
.public-reviews-intro-footer nav a { display: inline-flex; gap: 16px; padding: 12px 16px; color: var(--action); background: var(--canvas-sage); border-radius: 10px; text-decoration: none; font-size: .8rem; font-weight: 600; }
.public-reviews-intro-footer nav a:hover { background: var(--sage); }
.public-review-section { padding-block: 64px 72px; scroll-margin-top: 100px; }
.public-review-section--2gis { background: var(--canvas-sage); }
.public-review-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; margin-bottom: 30px; }
.public-review-section-heading h2 { margin-bottom: 0; font-size: clamp(1.9rem, 3.1vw, 3rem); }
.public-review-section-heading .text-link { flex-shrink: 0; color: var(--action); font-size: .88rem; }
.public-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.public-review-card { display: flex; flex-direction: column; padding: 28px; background: var(--white); border-radius: 20px; box-shadow: 0 6px 24px oklch(0.27 0.025 157 / .06), 0 0 0 1px oklch(0.27 0.025 157 / .1); }
.public-review-platform { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; color: var(--action); font-size: .78rem; font-weight: 700; }
.public-review-author { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.public-review-avatar { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--canvas-sage); color: var(--action); border-radius: 50%; font-size: .8rem; font-weight: 700; }
.public-review-author p { margin-bottom: 3px; font-size: .83rem; font-weight: 700; }
.public-review-author div > span { color: var(--ink-soft); font-size: .73rem; }
.public-review-original { align-self: start; padding-block: 8px; color: var(--action); font-size: .8rem; }
.public-reviews-cta { padding-block: 72px; }
.public-reviews-cta > .shell { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.public-reviews-cta h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.public-reviews-cta p:not(.eyebrow) { max-width: 48ch; margin-bottom: 0; color: var(--ink-soft); }
.public-reviews-cta .button { flex-shrink: 0; }
.public-review-text { flex-grow: 1; margin: 0 0 30px; color: var(--ink); font-size: 1.08rem; line-height: 1.65; overflow-wrap: anywhere; }
.public-review-text p { margin: 0; }
.public-review-widget-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 1.3fr); gap: 60px; align-items: start; }
.public-review-widget-note { padding-top: 36px; }
.public-review-widget-note h3 { font-size: clamp(1.5rem, 2.5vw, 2.4rem); }
.public-review-widget-note p { max-width: 34ch; color: var(--ink-soft); }
.public-review-widget-note .text-link { color: var(--action); font-size: .9rem; }
.public-review-widget { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
@media (max-width: 1000px) {
  .public-review-widget-layout { grid-template-columns: 1fr; gap: 28px; }
  .public-review-widget-note { padding-top: 0; }
  .public-review-widget-note p { max-width: 60ch; }
  .public-review-widget { max-width: 760px; justify-self: center; }
  .public-review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .public-reviews-intro { padding-block: 40px; }
  .public-reviews-intro-heading { grid-template-columns: 1fr; gap: 20px; margin-block: 28px; }
  .public-reviews-page .rating-card { padding: 22px; gap: 18px; }
  .public-reviews-page .rating-score strong { font-size: 54px; }
  .public-reviews-page .rating-platform img { max-height: 45px; }
  .public-review-section { padding-block: 44px 48px; }
  .public-review-section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .public-review-card { display: flex; padding: 24px; }
  .public-review-original { align-self: start; }
  .public-reviews-cta { padding-block: 48px; }
  .public-reviews-cta > .shell { align-items: start; flex-direction: column; gap: 28px; }
  .public-reviews-cta .button { width: 100%; }
}
