/* =========================================================
   UROUNITY — landing page styles
   Desktop values follow the Figma frame (1920px, container 1320px)
   ========================================================= */

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/caveat-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/caveat-latin-700-normal.woff2") format("woff2");
  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;
}

:root {
  --green: #095f46;
  --green-700: #06402f;
  --green-ink: #12201b;
  --green-20: rgba(9, 95, 70, .2);
  --green-50: rgba(9, 95, 70, .5);
  --mint: #e4eeea;
  --yellow: #f2c46d;
  --yellow-600: #e8b24f;
  --ink: #141414;
  --ink-56: rgba(20, 20, 20, .56);
  --ink-50: rgba(20, 20, 20, .5);
  --white-50: rgba(255, 255, 255, .5);
  --red: #a8321f;
  --blue-pen: #2b3fb8;

  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 8px;
  --sp: clamp(56px, 6vw, 90px);
  --gap-xl: clamp(32px, 3.5vw, 50px);

  --fs-h1: clamp(31px, 1.55vw + 20px, 50px);
  --fs-h2: clamp(30px, 1.6vw + 19px, 50px);
  --fs-30: clamp(21px, .75vw + 15.5px, 30px);
  --fs-25: clamp(18px, .5vw + 15.5px, 25px);
  --fs-20: clamp(17px, .25vw + 15.2px, 20px);
  --fs-18: clamp(16px, .15vw + 15.1px, 18px);
  --fs-17: clamp(15.5px, .1vw + 15px, 17px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 92px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-20);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; letter-spacing: inherit; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.section--green :focus-visible, .team :focus-visible, .cta-band :focus-visible { outline-color: #fff; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transform: translateY(-300%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.icon { width: 1em; height: 1em; flex: none; }

.center { text-align: center; }
.green { color: var(--green); }
.yellow { color: var(--yellow); }
.white { color: #fff; }
.medium { font-weight: 500; }

.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; letter-spacing: -.03em; color: var(--green-ink); }
@media (max-width: 991px) { .h2 { text-wrap: balance; } }
.h2.white { color: #fff; }
.h2.yellow { color: var(--yellow); }
.h2--tight { line-height: 1.05; }
.lead { font-size: var(--fs-20); line-height: 1.2; }

.section { position: relative; padding-block: var(--sp); }
.section--green { background: var(--green); color: #fff; border-radius: var(--radius); overflow: hidden; }
.bg-tint { background: linear-gradient(90deg, #f5f9f8 0%, #f6f9f8 58%, #fff 94%); }

/* Decorative emblem watermark */
.deco-mark { position: absolute; z-index: 0; pointer-events: none; background: url("../assets/img/mark-white.webp?v=202611131404") center / contain no-repeat; opacity: .1; aspect-ratio: 338 / 428; }
.section > .container, .team__panel > .container { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--yellow);
  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: var(--radius);
  font-weight: 700; line-height: 1.2; color: var(--ink);
  background: var(--btn-bg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
  white-space: nowrap;
}
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%) -150% 0 / 200% 100% no-repeat;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(9, 60, 45, .55); }
.btn:hover::after { animation: shine .9s var(--ease); }
.btn:active { transform: translateY(0) scale(.985); box-shadow: none; }
@keyframes shine { to { background-position: 250% 0; } }

.btn__icon {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 4px; background: #fff; color: var(--ink);
  transition: transform .35s var(--ease);
}
.btn__icon .icon { width: 24px; height: 24px; transition: transform .35s var(--ease); }
.btn:hover .btn__icon .icon { transform: translate(2px, -2px); }

.btn--lg { min-height: 60px; padding: 10px 10px 10px 20px; font-size: var(--fs-20); }
.btn--md { min-height: 56px; padding: 8px 8px 8px 24px; font-size: var(--fs-17); border-radius: 10px; gap: 16px; color: var(--green-ink); }
.btn--md .btn__icon { border-radius: 8px; }
.btn--md .btn__icon .icon { width: 18px; height: 18px; }
.btn--outline { --btn-bg: transparent; border: 1px solid var(--yellow); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.btn--outline .btn__icon { background: var(--yellow); }
.btn--outline:hover { --btn-bg: rgba(242, 196, 109, .16); }
.btn--block { width: 100%; }
.btn--phone { min-height: 56px; padding: 8px 8px 8px 24px; font-size: var(--fs-20); gap: 24px; }
.btn--phone .btn__icon { border-radius: 8px; }
.btn--phone .btn__icon .icon { width: 17px; height: 17px; }
.btn--phone:hover .btn__icon .icon { transform: rotate(-12deg) scale(1.08); }
.btn--phone-sm { font-size: var(--fs-17); gap: 18px; }
.btn--ghost { --btn-bg: transparent; min-height: 56px; padding: 16px 20px; border: 1px solid rgba(255, 255, 255, .55); color: #fff; font-size: 16px; }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .1); border-color: #fff; }

/* icon boxes */
.ibox { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 4px; background: var(--green-20); color: var(--green); }
.ibox .icon { width: 22px; height: 22px; }
.ibox--lg { width: 44px; height: 44px; border-radius: 8px; }
.ibox--glass { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .5); color: var(--green-700); }
.chk { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 4px; background: var(--green); color: #fff; }
.chk .icon { width: 14px; height: 14px; stroke-width: 3; }
.chk .icon * { stroke-width: 3; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: 50px; padding-bottom: 12px;
  transition: padding .4s var(--ease), background-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 30px -18px rgba(9, 60, 45, .35); opacity: 0; transition: opacity .4s; }
.site-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; }
.site-header.is-scrolled::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; }
.logo img { width: 243px; height: auto; transition: width .4s var(--ease); }
.is-scrolled .logo img { width: 180px; }

.nav { display: flex; align-items: center; gap: 20px; padding: 8px 0; margin-right: auto; margin-left: 50px; border-radius: 100px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 16px; font-size: 20px; color: var(--ink-56); transition: color .25s; white-space: nowrap; }
.nav__link::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: -24px; transform: scale(0); transition: transform .35s var(--ease), margin .35s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::before { transform: scale(1); margin-right: 0; }

.header__actions { display: flex; align-items: center; gap: 50px; }
.socials { display: flex; gap: 10px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--green); color: #fff; transition: transform .3s var(--ease), background-color .25s; }
.social .icon { width: 20px; height: 20px; }
.social:hover { transform: translateY(-2px); background: #0b7457; }
.header-phone { display: inline-flex; align-items: center; gap: 24px; padding: 10px 20px; border-radius: var(--radius); background: var(--yellow); font-size: 20px; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s; }
.header-phone:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(9, 60, 45, .6); }
.header-phone__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: #fff; }
.header-phone__icon .icon { width: 20px; height: 20px; }
.header-phone:hover .header-phone__icon .icon { animation: ring .6s var(--ease); }
@keyframes ring { 20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
.is-scrolled .header-phone { padding-block: 6px; }
.is-scrolled .header-phone__icon { width: 36px; height: 36px; }

.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: var(--radius); background: var(--green); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-top: clamp(150px, 12.5vw, 240px); padding-bottom: clamp(48px, 7vw, 134px); background: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.04); transition: transform 1.6s var(--ease-out); will-change: transform; }
.hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(253.8deg, rgba(255,255,255,.2) 34.8%, rgba(255,255,255,0) 56.4%),
    linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)); }
.hero__bg::after { content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 36%, rgba(255,255,255,.72) 47%, rgba(255,255,255,.2) 56%, rgba(255,255,255,0) 61%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 783px) minmax(300px, 411px); justify-content: space-between; column-gap: clamp(32px, 6vw, 129px); }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; max-width: 759px; }
.hero__title { font-size: var(--fs-h1); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--green); }
.hero__title .ink { color: var(--ink); }
.hero__lead { margin-top: 30px; font-size: var(--fs-25); line-height: 1.2; }
.hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; margin-top: 50px; }
.hero__features { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 50px; }
.hero__features li { display: flex; align-items: center; gap: 24px; font-size: var(--fs-20); line-height: 1.2; }
.hero__features li:nth-child(1) span:last-child { max-width: 145px; }
.hero__features li:nth-child(2) span:last-child { max-width: 164px; }
.hero__features li:nth-child(3) span:last-child { max-width: 186px; }
.hero__features .ibox .icon { width: 24px; height: 24px; }

.hero__media { align-self: start; }
.video-card {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: var(--video-ar, 411 / 541);
  border-radius: var(--radius); background: var(--green); overflow: hidden; isolation: isolate;
}
.video-card::before { /* soft light */
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,255,255,.13), transparent 70%) 30% 20% / 60% 60% no-repeat,
              radial-gradient(closest-side, rgba(242,196,109,.18), transparent 70%) 80% 90% / 70% 70% no-repeat;
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(8%, -6%, 0) rotate(8deg); } }
.video-card__play { position: relative; display: grid; place-items: center; width: 106px; height: 106px; border-radius: 50%; background: var(--yellow); color: var(--green); transition: transform .45s var(--ease); }
.video-card__play svg { width: 44px; height: 44px; margin-left: 6px; fill: currentColor; }
.video-card__play::before, .video-card__play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); animation: pulse 2.6s var(--ease-out) infinite; }
.video-card__play::after { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.video-card:hover .video-card__play { transform: scale(1.08); }
.video-card__label { position: absolute; left: 24px; right: 24px; bottom: 22px; text-align: left; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.75); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.video-card:hover .video-card__label, .video-card:focus-visible .video-card__label { opacity: 1; transform: none; }

.hero__stats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 29px; margin-top: clamp(40px, 5.4vw, 91px); }
.stat { display: flex; flex-direction: column; gap: 20px; padding: 20px; border: 1px solid var(--green-50); border-radius: var(--radius); color: var(--green); background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__stats .stat:nth-child(1) { width: 299px; }
.hero__stats .stat:nth-child(2) { width: 203px; }
.hero__stats .stat:nth-child(3) { width: 438px; }
.stat__num { font-size: clamp(30px, 1.2vw + 17px, 40px); font-weight: 700; line-height: .9; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat__num--text { text-transform: none; }
.stat__num--sm { font-size: var(--fs-30); line-height: 1.05; letter-spacing: -.03em; text-transform: none; white-space: normal; }
.stat__text { font-size: var(--fs-20); line-height: 1.1; }
@supports (text-box: trim-both cap alphabetic) { .stat__num, .stat__text { text-box: trim-both cap alphabetic; } .stat__num--sm { line-height: 1.2; } }

/* hero entrance */
.hero [data-hero] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.hero.is-ready [data-hero] { opacity: 1; transform: none; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .1em; margin: -.12em 0 -.1em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 38ms + 80ms); }
.hero.is-ready .hero__title .w > span { transform: none; }
.hero.is-ready .hero__bg img { transform: scale(1); }

/* =========================================================
   SITUATIONS
   ========================================================= */
.situations__hint { margin: 14px auto 0; text-align: center; font-size: 16px; color: rgba(255,255,255,.62); display: flex; align-items: center; justify-content: center; gap: 8px; }
.situations__hint::before { content: ""; width: 18px; height: 18px; border-radius: 4px; border: 1.5px dashed rgba(255,255,255,.55); }
.situations__grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(20px, 3.9vw, 74px); row-gap: 30px; margin-top: 36px; }
.sit-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  min-height: 280px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--green-50);
  background: #fff; color: var(--ink); text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, border-color .3s;
}
.sit-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .5); }
.sit-card__num { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--green-20); color: var(--ink-50); font-size: 20px; transition: background-color .3s, color .3s; }
.sit-card__num > * { grid-area: 1 / 1; transition: transform .35s var(--ease), opacity .25s; }
.sit-card__num .icon { width: 22px; height: 22px; color: #fff; opacity: 0; transform: scale(.4) rotate(-20deg); }
.sit-card__num .icon * { stroke-width: 3; }
.sit-card__text { max-width: 350px; font-size: var(--fs-30); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.sit-card[aria-pressed="true"] { background: #fffaf0; border-color: var(--yellow); box-shadow: 0 0 0 3px var(--yellow); }
.sit-card[aria-pressed="true"] .sit-card__num { background: var(--green); }
.sit-card[aria-pressed="true"] .sit-card__num > span { opacity: 0; transform: scale(.4); }
.sit-card[aria-pressed="true"] .sit-card__num .icon { opacity: 1; transform: none; }
.situations__outro { display: flex; flex-direction: column; align-items: center; gap: 50px; margin-top: 50px; }
.situations__text { max-width: 1142px; text-align: center; font-size: var(--fs-30); font-weight: 500; line-height: 1.2; }
.situations__outro .btn { min-width: 366px; }
.situations__outro.is-match .btn { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,196,109,.7); } 50% { box-shadow: 0 0 0 14px rgba(242,196,109,0); } }

/* =========================================================
   APPROACH (comparison)
   ========================================================= */
.compare { margin-top: var(--gap-xl); border-radius: var(--radius); filter: drop-shadow(0 26px 31px rgba(9, 95, 70, .2)); }
.compare__head, .compare__row { display: grid; grid-template-columns: 363fr 443fr 412fr; column-gap: 38px; align-items: center; padding: 20px 8px 20px 20px; }
.compare__head { background: #f6f8f7; border-radius: var(--radius) var(--radius) 0 0; font-size: 12px; font-weight: 500; line-height: 1.2; text-transform: uppercase; letter-spacing: -.03em; color: #5e6e68; text-align: center; }
.compare__head span:last-child { color: var(--green); }
.compare__row { background: #fff; transition: background-color .3s; }
.compare__row:hover { background: #fbfdfc; }
.compare__row--warm, .compare__row--warm:hover { background: #fffcf4; border-radius: 0 0 var(--radius) var(--radius); }
.compare__pain { font-size: var(--fs-20); font-weight: 700; line-height: 1.2; color: var(--green-ink); }
.compare__how { font-size: var(--fs-17); line-height: 1.2; color: #3e4f48; }
.compare__get { display: flex; align-items: center; gap: 12px; padding: 20px; border-radius: var(--radius); background: var(--mint); font-size: 16px; font-weight: 500; line-height: 1.2; color: var(--green-700); }
.compare__get .chk { transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 350ms); }
.compare__row.is-in .compare__get .chk { transform: scale(1); }

.why-paper {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(32px, 11vw, 208px);
  margin-top: var(--gap-xl); padding: 50px 45px; border-radius: var(--radius); background: var(--green); color: #fff;
}
.why-paper__title { flex: 0 1 339px; font-size: var(--fs-30); font-weight: 500; line-height: 1.2; text-align: center; }
@media (min-width: 1200px) { .why-paper__title { white-space: nowrap; } }
.why-paper__body { display: flex; flex-direction: column; gap: 30px; max-width: 701px; font-size: var(--fs-20); line-height: 1.2; text-align: justify; }
.why-paper__body b { color: var(--yellow); font-weight: 700; }
.why-paper__src { color: rgba(255,255,255,.5); text-align: left; }
.why-paper__src a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.why-paper__src a:hover { color: var(--yellow); }
.why-paper__deco { position: absolute; right: -13px; bottom: -8px; width: 121px; height: auto; opacity: .5; pointer-events: none; }
.cta-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 370px)); justify-content: center; gap: 20px; margin-top: var(--gap-xl); }

/* =========================================================
   CONSULTATION
   ========================================================= */
.consult__grid { display: grid; grid-template-columns: minmax(0, 529.5fr) minmax(0, 623fr); column-gap: clamp(40px, 7.8vw, 150px); align-items: stretch; }
.consult__media { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 80px; }
.consult__photo { position: relative; border-radius: var(--radius); }
.consult__photo img { width: 100%; aspect-ratio: 512 / 640; object-fit: cover; object-position: 50% 100%; border-radius: var(--radius); }
.photo-badge { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: var(--radius); background: rgba(255,255,255,.93); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.2; }
.photo-badge .icon { width: 18px; height: 18px; color: var(--green); }

.sticky-note {
  position: absolute; z-index: 2; right: -28px; bottom: -42px;
  width: 290px; padding: 21px 22px 20px; border-radius: var(--radius); background: #fff6d9; color: var(--blue-pen);
  box-shadow: 0 28px 40px -22px rgba(15, 27, 45, .55);
  transform: rotate(2.2deg);
}
.sticky-note__tape { position: absolute; left: calc(50% - 50px); top: -14px; width: 92px; height: 24px; border-radius: var(--radius); background: rgba(228, 238, 234, .85); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.sticky-note__title { font-size: 11px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; text-transform: uppercase; color: var(--green-50); }
.sticky-note__list { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.sticky-note__list li { display: flex; align-items: flex-start; gap: 8px; font-family: var(--hand); font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.sticky-note__list svg { flex: none; width: 18px; height: 16px; margin-top: 6px; }
.sticky-note__list path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease); }
.sticky-note__list span { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease); }
.sticky-note__list li:nth-child(1) path { transition-delay: .55s; }
.sticky-note__list li:nth-child(1) span { transition-delay: .65s; }
.sticky-note__list li:nth-child(2) path { transition-delay: 1.15s; }
.sticky-note__list li:nth-child(2) span { transition-delay: 1.25s; }
.sticky-note__list li:nth-child(3) path { transition-delay: 1.75s; }
.sticky-note__list li:nth-child(3) span { transition-delay: 1.85s; }
.sticky-note.is-in .sticky-note__list path { stroke-dashoffset: 0; }
.sticky-note.is-in .sticky-note__list span { clip-path: inset(0 0 0 0); }

.consult__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 30px; }
@media (min-width: 1200px) { .consult__cta { flex-wrap: nowrap; width: max-content; } }
.consult__cta .btn { min-width: 378px; }
.consult__phone { font-size: var(--fs-17); font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.consult__phone:hover { color: var(--yellow); }

.consult__lead { margin-top: 30px; }
.steps { margin-top: 36px; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 22px; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--green); border-radius: var(--radius); background: #fff; color: var(--green); font-size: 15px; font-weight: 700; transition: background-color .45s, color .45s, box-shadow .45s var(--ease); }
.step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: #d5e0db; }
.step::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--yellow); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.step--last::before, .step--last::after { display: none; }
.step__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 9px 0 30px; }
.step--last .step__body { padding-bottom: 0; }
.step__title { font-size: var(--fs-20); font-weight: 700; line-height: 1.2; }
.step__body p { font-size: var(--fs-17); line-height: 1.2; max-width: 533px; }
.step__pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius); background: var(--mint); color: var(--green-700); font-size: 15px !important; font-weight: 500; }
.step__pill .icon { width: 18px; height: 18px; }
.step__pill--warm { padding: 5.5px 12px 5.9px; background: #fbefd4; color: var(--ink); font-size: 12px !important; font-weight: 700; }
.step.is-active .step__num, .step.is-done .step__num { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 0 0 6px var(--mint); }
.step.is-done .step__num { box-shadow: 0 0 0 2px var(--mint); }
.step.is-done::after { transform: scaleY(1); }

/* =========================================================
   FAMILY
   ========================================================= */
.family { overflow: hidden; }
.family__grid { display: grid; grid-template-columns: minmax(0, 740px) minmax(260px, 347px); justify-content: space-between; align-items: center; column-gap: 48px; }
.family__lead { margin-top: 24px; max-width: 709px; }
.family__lead strong { font-weight: 500; }
.family__features { display: grid; grid-template-columns: 1fr 318px; column-gap: 32px; row-gap: 28px; margin-top: var(--gap-xl); max-width: 704px; }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.feature h3 { font-size: var(--fs-20); font-weight: 700; line-height: 1.2; color: var(--green-ink); }
.feature h3.medium { font-weight: 500; }
.feature p { font-size: 15.5px; line-height: 1.2; color: var(--ink); max-width: 330px; }
.family__content > .btn { margin-top: var(--gap-xl); }
.family__phone { justify-self: end; width: 100%; max-width: 347px; }
.family__phone img { width: 100%; filter: drop-shadow(0 40px 50px rgba(9, 60, 45, .22)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(.6deg); } }

/* =========================================================
   SERVICES
   ========================================================= */
.deco-mark--svc-tl { left: -8px; top: -86px; width: 288px; }
.deco-mark--svc-br { right: 43px; bottom: -88px; width: 288px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; row-gap: 30px; margin-top: var(--gap-xl); }
.svc-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  min-height: 280px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--green-50); background: #fff;
  color: var(--ink); text-align: center; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -26px rgba(0, 0, 0, .55); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card__icon { display: grid; flex: none; place-items: center; width: 50px; height: 50px; border-radius: 4px; background: var(--green-20); color: var(--green); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.svc-card__icon img { width: 50px; height: auto; }
.svc-card:hover .svc-card__icon { transform: scale(1.12) rotate(-4deg); background: rgba(242, 196, 109, .5); }
.svc-card p { max-width: 382px; font-size: var(--fs-25); font-weight: 500; line-height: 1.2; letter-spacing: -.03em; }
.svc-card--photo { padding: 0; min-height: 280px; }
.svc-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .8s var(--ease); }
.svc-card--photo:hover img { transform: scale(1.06); }
.svc-card--photo::after { display: none; }

/* =========================================================
   FIT
   ========================================================= */
.fit { overflow: hidden; }
.container--fit { width: min(1270px, 100% - 2 * var(--gutter)); }
.fit .h2 { max-width: 760px; }
.fit__grid { display: grid; grid-template-columns: 589fr 587fr; column-gap: clamp(24px, 4.9vw, 93px); align-items: stretch; margin-top: var(--gap-xl); }
.fit-card { padding: 36px; border-radius: var(--radius); min-height: 397px; }
.fit-card--yes { background: #fff; border: 2px solid var(--green); }
.fit-card--no { background: #f5f6f5; border: 1px solid #dadfdc; }
.fit-card__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; }
.fit-card__head h3 { font-size: var(--fs-30); font-weight: 700; line-height: 1.2; color: var(--green); }
.fit-card__badge { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--radius); }
.fit-card--yes .fit-card__badge { background: var(--green); color: #fff; }
.fit-card--yes .fit-card__badge .icon { width: 20px; height: 20px; }
.fit-card--no .fit-card__badge { background: #fff; border: 1px solid #b5bfba; color: #3e4f48; }
.fit-card--no .fit-card__badge .icon { width: 16px; height: 16px; }
.fit-card__list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px dashed #c9d8d1; font-size: var(--fs-17); line-height: 1.2; }
.fit-card--yes .fit-card__list li { color: var(--green); min-height: 69.78px; }
.fit-card--yes .fit-card__list li .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--green); }
.fit-card--no .fit-card__list li { border-top-color: #d3d8d5; color: var(--ink); }
.fit-card--no .fit-card__list li .icon { width: 18px; height: 18px; margin-top: 1px; color: #6b7a74; }
.fit-card__list span { max-width: 478px; }
.urgent { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: var(--gap-xl); padding: 22px 32px; border-radius: var(--radius); border: 1px solid #f1c4b8; background: #fff0ec; }
.urgent__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--radius); background: var(--red); color: #fff; }
.urgent__icon .icon { width: 24px; height: 24px; }
.urgent.is-in .urgent__icon { animation: alert 1.4s var(--ease) .4s 2; }
@keyframes alert { 0%, 100% { transform: none; } 15% { transform: rotate(-10deg) scale(1.06); } 30% { transform: rotate(8deg) scale(1.06); } 45% { transform: rotate(-4deg); } 60% { transform: none; } }
.urgent__text { flex: 1 1 380px; color: #5c2a20; font-size: 16px; line-height: 1.2; }
.urgent__title { margin-bottom: 4px; font-size: 19px; font-weight: 700; color: #7e2414; }
.urgent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.urgent__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--radius); background: var(--red); color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; transition: transform .3s var(--ease), background-color .25s, color .25s; }
.urgent__btn .icon { width: 18px; height: 18px; }
.urgent__btn:hover { transform: translateY(-2px); background: #8f2817; }
.urgent__btn--outline { min-width: 72px; padding: 0 22px; background: transparent; border: 1px solid var(--red); color: var(--red); }
.urgent__btn--outline:hover { background: var(--red); color: #fff; }

/* =========================================================
   TEAM
   ========================================================= */
.team { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--green); }
.team__photo { position: relative; height: clamp(520px, 62.3vw, 1196px); overflow: hidden; }
.team__photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.team__panel {
  position: relative; margin-top: calc(-1 * clamp(260px, 23vw, 443px)); min-height: clamp(260px, 23vw, 443px);
  display: flex; align-items: center; padding-block: clamp(40px, 5.4vw, 104px);
  background: linear-gradient(2.36deg, var(--green) 8.24%, rgba(255, 255, 255, .8) 206.75%);
  border-radius: var(--radius); overflow: hidden; color: #fff;
}
.container--team { width: min(1290px, 100% - 2 * var(--gutter)); }
.deco-mark--team { right: 1px; bottom: -66px; width: 288px; }
.team__head { display: flex; align-items: flex-end; gap: clamp(32px, 7vw, 136px); }
.team__head .h2 { flex: none; }
.team__head p { max-width: 703px; color: #d3dce7; font-size: var(--fs-20); line-height: 1.2; }
.team__stats { display: grid; grid-template-columns: 319fr 461fr 427fr; gap: 40px; margin-top: var(--gap-xl); max-width: 1287px; }
.stat--light { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }

/* =========================================================
   SPACE
   ========================================================= */
.space__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.space__head .h2 { min-width: min(631px, 100%); }
.space__sub { width: 450px; max-width: 100%; color: #fff; font-size: var(--fs-20); }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.08); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }
.map-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 10px; border-radius: var(--radius); background: #dfe7e3; color: var(--ink); min-height: 194px; }
.map-card__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #e9eee8; transition: transform .9s var(--ease); }
.map-card:hover .map-card__map { transform: scale(1.04); }
.map-card__info { position: relative; display: flex; align-items: flex-start; gap: 14px; width: min(369px, 100%); padding: 10px; border-radius: var(--radius); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 16px -10px rgba(0,0,0,.4); }
.map-card__pin { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--yellow); }
.map-card__pin .icon { width: 20px; height: 20px; }
.map-card__addr { font-size: 18px; font-weight: 700; line-height: 1.2; }
.map-card__note { margin-top: 4px; font-size: 12px; line-height: 1.2; }
.map-card__btn { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 6px 6px 16px; border-radius: var(--radius); background: var(--yellow); color: var(--green-ink); font-size: 15px; font-weight: 700; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.map-card__btn:hover { transform: translateY(-2px); }
.map-card__btn-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius); background: #fff; }
.map-card__btn-icon .icon { width: 15px; height: 15px; }
.space__features { display: flex; gap: clamp(32px, 5.2vw, 100px); margin-top: var(--gap-xl); padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .5); }
.space__features li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.space__features li:nth-child(1) { width: 230px; }
.space__features li:nth-child(2) { width: 378px; }
.space__features li:nth-child(3) { flex: 1; }
.space__features h3 { font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--yellow); }
.space__features p { font-size: var(--fs-20); line-height: 1.2; max-width: 512px; }

/* =========================================================
   COMMITMENTS
   ========================================================= */
.commit { background: linear-gradient(180deg, #fff 14%, #f1f6f5 52%, #e9f1ee 100%); overflow: hidden; }
.deco-mark--commit { left: 40px; bottom: 0; width: 520px; opacity: .22; }
.commit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); column-gap: clamp(40px, 4.6vw, 88px); align-items: center; width: min(1200px, 100% - 2 * var(--gutter)); }
@media (min-width: 1200px) { .commit__grid { min-height: 627px; } }
.commit__content { display: flex; flex-direction: column; align-items: flex-start; gap: 21px; }
.commit__content .h2 { color: var(--ink); }
.commit__text { max-width: 400px; font-size: var(--fs-18); line-height: 1.2; }
.commit__text strong { font-weight: 500; }
.commit__content .btn { margin-top: 6px; }

.paper { position: relative; margin: 0 18px 23px 0; }
.paper__back { position: absolute; inset: 5px -18px -23px 1px; border-radius: 6px; background: #e9e4d6; transform: rotate(1.43deg) skewX(-.35deg); }
.paper__sheet { position: relative; padding: 52px 56px 44px; border-radius: 6px; background: #fbf9f3; box-shadow: 0 50px 80px -36px rgba(0, 0, 0, .65); transform: rotate(-.72deg); }
.paper__head { padding-bottom: 16px; border-bottom: 2px solid var(--green); }
.paper__head img { height: 30px; width: auto; }
.paper__list li { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px dashed #cfc8b5; }
.paper__par { flex: none; width: 34px; font-size: 14px; font-weight: 700; color: var(--green); }
.paper__list p { flex: 1; font-size: var(--fs-18); line-height: 1.2; letter-spacing: -.028em; max-width: 446px; }
.tick { flex: none; width: 34px; height: 30px; }
.tick path { fill: none; stroke: var(--blue-pen); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s var(--ease); }
.paper__list li:nth-child(1) .tick path { transition-delay: .5s; }
.paper__list li:nth-child(2) .tick path { transition-delay: .9s; }
.paper__list li:nth-child(3) .tick path { transition-delay: 1.3s; }
.paper.is-in .tick path { stroke-dashoffset: 0; }
.paper__sign { position: relative; display: flex; align-items: flex-end; justify-content: space-between; height: 132px; margin-top: 14px; }
.signature { position: relative; width: 300px; max-width: 60%; padding-bottom: 20px; border-bottom: 1px solid #8c897c; }
.signature span { display: block; font-family: var(--hand); font-size: clamp(28px, 2vw, 38px); font-weight: 700; line-height: 1.2; color: var(--blue-pen); white-space: nowrap; transform: rotate(-3deg) translateY(4px); transform-origin: left bottom; clip-path: inset(-20% 100% -20% 0); transition: clip-path 1.3s var(--ease) 1.6s; }
.paper.is-in .signature span { clip-path: inset(-20% -10% -20% 0); }
.seal { position: absolute; right: -6px; bottom: -14px; width: 132px; height: 132px; color: #c23b2a; opacity: 0; transform: rotate(-30deg) scale(1.7); }
.seal__ring { font-family: var(--font); font-size: 9.6px; font-weight: 700; letter-spacing: .02em; fill: currentColor; }
.seal__word { font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 0; fill: currentColor; }
.paper.is-in .seal { animation: stamp .55s cubic-bezier(.3, 1.5, .5, 1) 2.7s forwards; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-30deg) scale(1.7); } 60% { opacity: .95; transform: rotate(-10deg) scale(.94); } 100% { opacity: .9; transform: rotate(-12deg) scale(1); } }

/* =========================================================
   FAQ
   ========================================================= */
.container--narrow { width: min(962px, 100% - 2 * var(--gutter)); }
.deco-mark--faq { right: 35px; bottom: -83px; width: 338px; }
.faq__list { display: flex; flex-direction: column; gap: 20px; margin-top: 44px; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 10px; }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q { max-width: 721px; font-size: var(--fs-30); font-weight: 500; line-height: 1.2; transition: color .25s; }
.faq-item summary:hover .faq-item__q { color: var(--yellow); }
.faq-item__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 4px; background: #fff; color: var(--green); transition: transform .45s var(--ease), background-color .25s; }
.faq-item__icon .icon { width: 22px; height: 22px; }
.faq-item.is-open .faq-item__icon, .no-js .faq-item[open] .faq-item__icon { transform: rotate(180deg); background: var(--yellow); }
.faq-item__a { overflow: hidden; }
.faq-item__a p { max-width: 721px; padding-top: 20px; padding-bottom: 7px; font-size: var(--fs-20); line-height: 1.2; color: rgba(255,255,255,.92); }
.faq__more { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5.5vw, 106px); margin-top: var(--gap-xl); padding: 30px; border-radius: var(--radius); background: #fff; color: var(--ink); }
.faq__more h3 { font-size: 23px; font-weight: 700; line-height: 1.2; }
.faq__more p { max-width: 324px; margin-top: 8px; font-size: 16px; line-height: 1.2; }
.faq__more .btn { min-width: 280px; }

/* =========================================================
   BOOKING
   ========================================================= */
.booking__grid { display: grid; grid-template-columns: minmax(0, 666px) minmax(0, 574px); justify-content: space-between; column-gap: 48px; align-items: start; }
.booking__content { display: flex; flex-direction: column; align-items: stretch; gap: 30px; padding-top: 36px; }
.booking__content .h2 { color: var(--ink); max-width: 666px; }
.booking__lead { max-width: 585px; margin-top: -10px; }
.checklist { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--green-20); }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 14px 3px; border-bottom: 1px dashed var(--green-20); font-size: var(--fs-18); line-height: 1.2; color: var(--green-ink); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--green-20); font-size: 14px; line-height: 1.2; }
.pill b { font-size: 24px; color: var(--green); letter-spacing: -.03em; }
.notice { display: flex; align-items: center; padding: 20px 24px; border-radius: var(--radius); background: var(--yellow); }
.notice p { max-width: 580px; font-size: var(--fs-20); line-height: 1.2; }

.booking__form-wrap { margin-top: 55px; }
.booking-form { position: relative; display: flex; align-items: center; justify-content: center; min-height: 730px; padding: 36px; border-radius: var(--radius); background: var(--green); color: #fff; box-shadow: 0 50px 90px -50px rgba(15, 27, 45, .8); overflow: hidden; isolation: isolate; }
.booking-form::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242,196,109,.16), transparent); z-index: -1; }
.booking-form__fields { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 408px; }
.booking-form__head h3 { font-size: 27px; font-weight: 700; line-height: 1.2; }
.booking-form__head p { margin-top: 10px; font-size: 15px; line-height: 1.2; color: var(--white-50); max-width: 345px; }
.segmented-wrap { display: block; }
.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--ink); }
.segmented__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px); border-radius: var(--radius); background: var(--yellow); transition: transform .45s var(--ease); }
.segmented.is-right .segmented__thumb { transform: translateX(calc(100% + 4px)); }
.segmented label { position: relative; display: grid; place-items: center; min-height: 46px; padding: 8px; border-radius: var(--radius); cursor: pointer; font-size: 15px; font-weight: 700; text-align: center; color: #fff; transition: color .3s; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented input:checked + span { color: var(--ink); }
.segmented label > span { position: relative; z-index: 1; transition: color .3s; }
.segmented label:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.booking-form__hint { margin-top: -8px; font-size: 13.5px; line-height: 1.25; color: var(--yellow); }
.field { display: flex; flex-direction: column; gap: 10px; }
.field__label { font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--white-50); }
.field__input { width: 100%; min-height: 54px; padding: 16px; border: 2px solid transparent; border-radius: var(--radius); background: #fff; color: var(--ink); font-size: 16px; outline: none; transition: border-color .25s, box-shadow .25s; }
.field__input::placeholder { color: var(--ink-50); }
.field__input:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(242,196,109,.3); }
.field.is-invalid .field__input { border-color: #ff8f7a; }
.field__error { display: none; margin-top: -4px; font-size: 13px; color: #ffb4a6; }
.is-invalid > .field__error, .field__error.is-shown { display: block; }
.chips { display: flex; flex-direction: column; gap: 8px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--white-50); font-size: 14.5px; font-weight: 500; color: #fff; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chip:hover span { border-color: #fff; }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.chip input:active + span { transform: scale(.96); }
.consent { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 20px; height: 20px; }
.consent__box { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 3px; border: 1px solid #fff; background: #fff; color: var(--green); transition: background-color .2s; }
.consent__box .icon { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease); }
.consent__box .icon * { stroke-width: 3.2; }
.consent input:checked + .consent__box { background: var(--yellow); border-color: var(--yellow); }
.consent input:checked + .consent__box .icon { opacity: 1; transform: none; color: var(--ink); }
.consent input:focus-visible + .consent__box { outline: 3px solid #fff; outline-offset: 2px; }
.consent__text { font-size: 13.5px; line-height: 1.2; color: var(--white-50); }
.consent__text a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }
.field__error--consent { margin-top: -12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn--submit { width: 100%; min-height: 58px; padding: 9px 8px 9px 26px; font-size: var(--fs-20); justify-content: center; gap: 24px; }
.btn--submit .btn__label { flex: 1; text-align: center; }
.btn--submit .btn__icon { border-radius: 8px; }
.btn--submit .btn__icon .icon { width: 18px; height: 18px; }
.btn__spinner { display: none; position: absolute; right: 18px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(20,20,20,.25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.is-loading .btn__spinner { display: block; }
.is-loading .btn__icon { opacity: 0; }
.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking-form__status { display: none; padding: 12px 14px; border-radius: var(--radius); background: rgba(255, 143, 122, .16); border: 1px solid rgba(255, 143, 122, .5); font-size: 14px; line-height: 1.3; color: #ffe4de; }
.booking-form__status.is-shown { display: block; }
.booking-form__status a { color: var(--yellow); font-weight: 700; white-space: nowrap; }
.booking-form__disclaimer { font-size: 12.5px; line-height: 1.2; color: var(--white-50); }
.booking-form__success { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 400px; text-align: center; outline: none; }
.booking-form__success[hidden] { display: none; }
.booking-form__success h3 { font-size: 28px; line-height: 1.15; }
.booking-form__success p { color: rgba(255,255,255,.8); font-size: 17px; }
.booking-form__again { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; font-size: 16px; }
.success-mark { width: 84px; height: 84px; }
.success-mark svg { width: 100%; height: 100%; }
.success-mark circle, .success-mark path { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease) forwards; }
.success-mark path { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { position: relative; display: flex; align-items: center; min-height: 520px; padding-block: 134px; overflow: hidden; border-radius: var(--radius); background: var(--green); color: #fff; isolation: isolate; }
.cta-band__img { position: absolute; top: 0; bottom: 0; left: 49%; right: 0; z-index: -2; overflow: hidden; }
.cta-band__img img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 70%; transform: scale(1.03); transition: transform 8s linear; }
.cta-band.is-in .cta-band__img img { transform: scale(1); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--green) 0%, var(--green) 49.5%, rgba(9, 95, 70, .75) 52.5%, rgba(9, 95, 70, 0) 57%); }
.cta-band__inner { position: relative; }
.cta-band__title { max-width: 660px; font-size: clamp(32px, 1.75vw + 20px, 54px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.cta-band__text { max-width: 516px; margin-top: 30px; font-size: var(--fs-18); line-height: 1.2; color: #cfe2da; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
@media (min-width: 992px) and (max-width: 1199px) { .cta-band__text { max-width: 440px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; padding: 90px 0 calc(90px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #fff 8%, #eff5f3 50%, #d3e3df 100%); }
.footer__top { display: grid; grid-template-columns: 1fr 393px 1fr; column-gap: clamp(32px, 7.8vw, 150px); align-items: start; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__logo img { width: 169px; height: auto; }
.footer__brand p { font-size: 15.5px; line-height: 1.2; }
.footer__brand .socials { margin-top: 4px; }
.footer__contacts { display: flex; flex-direction: column; gap: 16px; }
.footer__label { font-size: 12px; font-weight: 500; text-transform: uppercase; }
.footer__item { display: flex; align-items: flex-start; gap: 12px; }
.footer__ibox { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 4px; background: var(--green); color: #fff; }
.footer__ibox .icon { width: 20px; height: 20px; }
.footer__item b, .footer__phone { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.footer__phone { font-size: 19px; transition: color .2s; }
.footer__phone:hover { color: var(--green); }
.footer__item small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.2; }
.footer__links { display: flex; flex-direction: column; gap: 16px; padding-top: 30px; }
.footer__links a { font-size: 16px; font-weight: 500; color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(20, 20, 20, .4); }
.footer__bottom p { font-size: 15px; font-weight: 500; color: var(--ink-50); }
.footer__bottom .footer__copy { font-size: 12px; font-weight: 400; color: var(--ink); }

/* =========================================================
   MOBILE CTA, MODAL, TOAST
   ========================================================= */
.mobile-cta { display: none; }
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 26, 20, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s ease; }
.modal__dialog { position: relative; display: flex; align-items: center; justify-content: center; width: min(1200px, 100%); max-height: 100%; animation: pop .45s var(--ease-out); }
.modal__content { display: grid; place-items: center; width: 100%; }
.modal__content img { max-height: calc(100vh - 120px); width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.modal__content .video-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #000; }
.modal__close { position: absolute; top: -52px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: #fff; color: var(--ink); }
.modal__close .icon { width: 22px; height: 22px; }
.modal__nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); transition: transform .25s var(--ease); }
.modal__nav:hover { transform: scale(1.08); }
.modal__nav .icon { width: 24px; height: 24px; }
.modal__nav--prev { left: 12px; }
.modal__nav--next { right: 12px; }
.modal.is-video .modal__nav { display: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 15px; line-height: 1.3; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; pointer-events: none; }
.toast.is-shown { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal="note"] { transform: translateY(30px) rotate(8deg); transition-duration: 1s; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="note"].is-in { transform: rotate(2.2deg); }
.sit-card[data-reveal].is-in:hover { transform: translateY(-4px); }
.svc-card[data-reveal].is-in:hover { transform: translateY(-6px); }
.no-js [data-reveal], .no-js .hero [data-hero] { opacity: 1; transform: none; }
html.js:not(.js-ready) [data-reveal], html.js:not(.js-ready) .hero [data-hero] { animation: reveal-fallback .6s ease 2.5s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
.no-js .sticky-note__list span { clip-path: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1599px) {
  .header__actions { gap: 28px; }
  .nav { margin-left: 32px; gap: 16px; }
  .nav__link, .header-phone { font-size: 18px; }
  .header-phone { gap: 16px; padding: 8px 16px 8px 8px; }
  .logo img { width: 224px; }
}
@media (max-width: 1399px) {
  .socials--head-hide, .header__actions > .socials { display: none; }
  .hero__stats .stat:nth-child(3) { width: 400px; }
}
@media (max-width: 1199px) {
  :root { --header-h: 80px; }
  .site-header { padding-top: 22px; }
  .nav { display: none; }
  .burger { display: block; }
  .header__actions { gap: 12px; }
  .logo img { width: 200px; }
  .is-scrolled .logo img { width: 170px; }
  .mobile-menu {
    position: absolute; left: 0; right: 0; top: 100%; display: flex; flex-direction: column; gap: 20px;
    padding: 20px var(--gutter) 28px; background: #fff; box-shadow: 0 30px 40px -30px rgba(9, 60, 45, .45);
    border-radius: 0 0 16px 16px; visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
  }
  .menu-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .4s var(--ease); }
  .menu-open::before { opacity: 1; }
  .mobile-menu__nav { display: flex; flex-direction: column; }
  .mobile-menu__nav a { padding: 14px 0; border-bottom: 1px solid #edf1ef; font-size: 22px; font-weight: 500; }
  .mobile-menu__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
  .mobile-menu__phone .icon { width: 20px; height: 20px; color: var(--green); }
  .socials--menu { display: flex !important; }

  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); }
  .hero__ctas { grid-template-columns: 1fr; max-width: 420px; }
  .hero__stats { gap: 16px; }
  .hero__stats .stat:nth-child(n) { width: auto; flex: 1 1 200px; }
  .situations__grid { grid-template-columns: repeat(2, 1fr); }
  .compare__head, .compare__row { column-gap: 24px; }
  .why-paper { gap: 40px; }
  .why-paper__title { width: 240px; }
  .family__grid { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card--photo { grid-column: auto; min-height: 280px; }
  .team__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .team__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .booking__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__links { padding-top: 0; }
}
@media (max-width: 991px) {
  .hero { padding-top: 132px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 680px; }
  .hero__media { margin-top: 36px; width: 100%; max-width: 560px; }
  .video-card { aspect-ratio: var(--video-ar-m, 4 / 5); }
  .video-card__label { opacity: 1; transform: none; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.75) 100%); }
  .compare { filter: none; }
  .compare__head { display: none; }
  .compare__body { display: flex; flex-direction: column; gap: 14px; }
  .compare__row, .compare__row--warm { grid-template-columns: 1fr; row-gap: 14px; padding: 22px; border-radius: var(--radius); box-shadow: 0 18px 30px -22px rgba(9, 95, 70, .45); border: 1px solid #e3ebe7; }
  .compare__how::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: #5e6e68; }
  .compare__pain { font-size: 19px; }
  .why-paper { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 26px; }
  .why-paper__title { flex: none; width: auto; text-align: left; }
  .why-paper__body { text-align: left; }
  .cta-pair { grid-template-columns: minmax(0, 420px); }
  .consult__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .consult__media { order: 2; gap: 72px; max-width: 560px; }
  .consult__content { order: 1; }
  .family__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .family__phone { justify-self: center; max-width: 300px; }
  .fit__grid { grid-template-columns: 1fr; row-gap: 20px; }
  .fit-card { min-height: 0; }
  .team__photo { height: auto; aspect-ratio: 1920 / 1196; }
  .team__photo img { top: 0; height: 100%; }
  .team__panel { margin-top: -23vw; min-height: 0; padding-block: 56px 48px; background: linear-gradient(180deg, rgba(9,95,70,.82) 0, rgba(9,95,70,.96) 18vw, var(--green) 30vw); }
  .team__stats { grid-template-columns: 1fr; }
  .map-card { min-height: 220px; }
  .space__features { flex-direction: column; gap: 28px; }
  .space__features li:nth-child(n) { width: auto; }
  .commit__grid { grid-template-columns: 1fr; row-gap: 56px; }
  .paper { max-width: 640px; }
  .booking__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .booking__content { padding-top: 0; }
  .booking__form-wrap { margin-top: 0; }
  .booking-form { min-height: 0; padding: 40px 28px; }
  .booking-form__fields { max-width: 520px; }
  .cta-band { padding-block: 0 56px; flex-direction: column; align-items: stretch; min-height: 0; }
  .cta-band__img { position: relative; left: 0; height: clamp(220px, 45vw, 360px); }
  .cta-band::before { background: linear-gradient(180deg, rgba(9,95,70,0) 0, rgba(9,95,70,0) clamp(140px, 30vw, 240px), var(--green) clamp(220px, 45vw, 360px)); }
  .cta-band__inner { margin-top: -40px; }
}
@media (max-width: 767px) {
  :root { --header-h: 72px; --radius: 8px; }
  body { font-size: 17px; }
  .site-header { padding-top: 12px; padding-bottom: 12px; }
  .site-header::before { opacity: 1; }
  .logo img, .is-scrolled .logo img { width: 160px; }
  .header-phone, .is-scrolled .header-phone { padding: 0; gap: 0; }
  .header-phone__num { display: none; }
  .header-phone__icon, .is-scrolled .header-phone__icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--yellow); }
  .hero { padding-top: 108px; }
  .hero__lead { margin-top: 20px; }
  .hero__ctas { margin-top: 30px; max-width: none; }
  .btn--lg { white-space: normal; }
  .hero__features { margin-top: 28px; gap: 14px; flex-direction: column; }
  .hero__features li { gap: 14px; }
  .hero__features li span:last-child { max-width: none !important; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
  .hero__stats .stat { padding: 16px; gap: 12px; }
  .hero__stats .stat--wide { grid-column: 1 / -1; }
  .situations__hint { font-size: 15px; }
  .situations__grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .sit-card { flex-direction: row; justify-content: flex-start; align-items: center; min-height: 0; gap: 16px; padding: 18px; text-align: left; }
  .sit-card__text { font-size: 19px; }
  .situations__outro { gap: 28px; margin-top: 32px; }
  .situations__text { font-size: 21px; }
  .situations__outro .btn, .consult__cta .btn { min-width: 0; width: 100%; }
  .compare__row, .compare__row--warm { padding: 18px; }
  .compare__get { padding: 16px; }
  .why-paper__deco { display: none; }
  .cta-pair { grid-template-columns: 1fr; }
  .sticky-note { right: -6px; width: min(290px, 86%); }
  .consult__media { gap: 64px; }
  .step { column-gap: 16px; }
  .family__features { grid-template-columns: 1fr; row-gap: 22px; }
  .family__content > .btn { width: 100%; }
  .deco-mark--svc-tl, .deco-mark--svc-br { width: 170px; }
  .deco-mark--team, .deco-mark--faq { width: 180px; }
  .deco-mark--commit { width: 260px; }
  .services__grid { grid-template-columns: 1fr; row-gap: 12px; }
  .svc-card { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 16px; gap: 16px; text-align: left; }
  .svc-card p { font-size: 18px; }
  .svc-card--photo { min-height: 0; aspect-ratio: 3 / 2; }
  .fit-card { padding: 22px; }
  .urgent { padding: 20px; }
  .urgent__actions { width: 100%; }
  .urgent__btn { flex: 1; }
  .team__panel { padding-block: 48px 40px; }
  .map-card { min-height: 260px; padding: 10px; }
  .map-card__info { width: 100%; }
  .paper { margin-right: 8px; }
  .paper__back { right: -8px; }
  .paper__sheet { padding: 30px 22px 26px; }
  .paper__list li { gap: 12px; padding: 16px 0; }
  .paper__par { width: 26px; }
  .tick { width: 26px; height: 24px; }
  .paper__sign { height: 116px; }
  .signature { max-width: 62%; }
  .seal { width: 104px; height: 104px; right: -4px; bottom: -10px; }
  .faq__list { margin-top: 32px; gap: 14px; }
  .faq-item__q { font-size: 19px; }
  .faq-item__icon { width: 34px; height: 34px; }
  .faq-item__a p { font-size: 16px; padding-top: 14px; }
  .faq__more { flex-direction: column; align-items: stretch; padding: 24px; gap: 18px; }
  .faq__more .btn { min-width: 0; width: 100%; }
  .notice { padding: 16px 18px; }
  .notice p { font-size: 16px; }
  .booking-form { padding: 28px 18px; }
  .chips__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .chip span { width: 100%; justify-content: center; padding: 0 10px; }
  .cta-band__title { font-size: 34px; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .site-footer { padding-top: 56px; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -12px 30px -18px rgba(9, 60, 45, .45);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta__main { flex: 1; justify-content: center; min-height: 52px; padding: 0 16px; font-size: 17px; }
  .mobile-cta__call { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--radius); background: var(--green); color: #fff; }
  .mobile-cta__call .icon { width: 22px; height: 22px; }
  .modal { padding: 12px; }
  .modal__close { top: -54px; }
  .modal__nav { width: 40px; height: 40px; margin-top: -20px; }
  .toast { bottom: 90px; }
}
@media (max-width: 380px) {
  .logo img, .is-scrolled .logo img { width: 138px; }
  .chip span { padding: 0 11px; font-size: 14px; }
  .hero__stats { grid-template-columns: 1fr; }
}

/* Short desktop screens: hero must still fit nicely */
@media (min-width: 1200px) and (max-height: 820px) {
  .hero { padding-top: 170px; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-reveal], .hero [data-hero] { opacity: 1 !important; transform: none !important; }
  .hero__title .w > span { transform: none !important; }
  .sticky-note__list span, .signature span { clip-path: none !important; }
  .tick path, .sticky-note__list path { stroke-dashoffset: 0 !important; }
  .seal { opacity: .9 !important; transform: rotate(-12deg) !important; }
}

/* Print */
@media print {
  .site-header, .mobile-cta, .modal, .toast, .video-card, .deco-mark { display: none !important; }
  [data-reveal], .hero [data-hero] { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   v2 additions: hero eyebrow, doctors carousel, doctor chip, footer credit, video
   ========================================================= */
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 12px; border-radius: 100px; background: rgba(255,255,255,.72); border: 1px solid var(--green-20); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 15px; font-weight: 500; color: var(--green-700); }
.hero__eyebrow-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero__eyebrow-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: pulse 2.4s var(--ease-out) infinite; }

.video-card.has-poster { background-size: cover; background-position: 50% 0%; }
.video-card.has-poster::before { display: none; }
.video-card.has-poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,40,30,.06) 0%, rgba(6,40,30,0) 40%, rgba(6,40,30,.45) 100%); }
.video-card__inline { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; border-radius: inherit; }
.video-frame--vertical { aspect-ratio: 9 / 16 !important; width: auto !important; height: min(calc(100vh - 120px), 820px, calc((100vw - 24px) * 16 / 9)); max-width: 100%; }
@supports (height: 100svh) { .video-frame--vertical { height: min(calc(100svh - 120px), 820px, calc((100vw - 24px) * 16 / 9)); } }

.eyebrow { display: inline-flex; align-items: center; margin-bottom: 14px; padding: 6px 12px; border-radius: 100px; background: var(--mint); color: var(--green); font-size: 14px; font-weight: 700; letter-spacing: -.01em; }

.doctors { overflow: hidden; padding-bottom: calc(var(--sp) - 10px); }
.doctors__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel-nav { display: flex; align-items: center; gap: 10px; }
.carousel-nav__count { margin-right: 10px; font-size: 16px; color: var(--ink-50); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.carousel-nav__count b { color: var(--ink); font-weight: 700; }
.carousel-nav__btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius); background: var(--green); color: #fff; transition: transform .3s var(--ease), background-color .25s, opacity .25s; }
.carousel-nav__btn .icon { width: 24px; height: 24px; }
.carousel-nav__btn:hover:not(:disabled) { background: var(--yellow); color: var(--ink); transform: translateY(-2px); }
.carousel-nav__btn:disabled { opacity: .3; cursor: default; }

.doctors__track {
  --pad: max(var(--gutter), (100% - var(--container)) / 2);
  display: flex; gap: 24px; margin: var(--gap-xl) 0 0; padding: 10px var(--pad) 30px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scroll-behavior: smooth; scrollbar-width: none; cursor: grab; outline-offset: -3px;
}
.doctors__track::-webkit-scrollbar { display: none; }
.doctors__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.doctors__track.is-dragging .doc-card { pointer-events: none; }
.doc-card {
  position: relative; flex: 0 0 clamp(272px, 78vw, 404px); scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: #fff; border: 1px solid #e1e9e5; box-shadow: 0 1px 0 rgba(9, 95, 70, .04);
  transition: opacity .8s var(--ease-out), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  transition-delay: calc(var(--i, 0) * 80ms), 0s, 0s, 0s;
}
.doc-card:hover { transform: translateY(-6px); border-color: #cfdcd6; box-shadow: 0 30px 50px -32px rgba(9, 60, 45, .55); }
.doc-card[data-reveal].is-in:hover { transform: translateY(-6px); }
.doc-card__media { position: relative; aspect-ratio: 5 / 6; overflow: hidden; background: #dfe9e4; }
.doc-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1s var(--ease); -webkit-user-drag: none; user-select: none; }
.doc-card:hover .doc-card__media img { transform: scale(1.05); }
.doc-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(6, 40, 30, .28)); pointer-events: none; }
.doc-card__badge { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 6px 10px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.doc-card__more { position: absolute; right: 16px; bottom: 16px; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: #fff; color: var(--green); box-shadow: 0 10px 20px -10px rgba(0,0,0,.45); transition: transform .45s var(--ease), background-color .25s, color .25s; }
.doc-card__more .icon { width: 24px; height: 24px; transition: transform .45s var(--ease); }
.doc-card__more:hover { background: var(--yellow); color: var(--ink); }
.doc-card.is-open .doc-card__more { background: var(--yellow); color: var(--ink); }
.doc-card.is-open .doc-card__more .icon { transform: rotate(135deg); }
.doc-card__bio {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 28px 24px 84px; background: linear-gradient(180deg, rgba(9,95,70,.88), rgba(6,64,47,.97));
  color: #fff; font-size: 16px; line-height: 1.38; letter-spacing: -.01em; overflow-y: auto;
  transform: translateY(101%); transition: transform .6s var(--ease); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.doc-card.is-open .doc-card__bio { transform: none; }
.doc-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.doc-card__name { font-size: clamp(22px, .6vw + 17px, 27px); font-weight: 500; line-height: 1.15; color: var(--green); }
.doc-card__role { font-size: 16px; line-height: 1.25; color: #3e4f48; }
.doc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.doc-card__tags li { padding: 6px 10px; border-radius: 6px; background: var(--mint); color: var(--green-700); font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.doc-card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }
.btn--card { flex: 1; min-height: 52px; padding: 6px 6px 6px 18px; font-size: 17px; }
.btn--card .btn__icon { width: 40px; height: 40px; border-radius: 6px; }
.btn--card .btn__icon .icon { width: 20px; height: 20px; }
.doc-card__ig { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--radius); background: var(--green); color: #fff; transition: transform .3s var(--ease), background-color .25s, color .25s; }
.doc-card__ig .icon { width: 22px; height: 22px; }
.doc-card__ig:hover { transform: translateY(-2px); background: var(--yellow); color: var(--ink); }
.doctors__progress { position: relative; width: min(var(--container), 100% - 2 * var(--gutter)); height: 3px; margin: 6px auto 0; border-radius: 3px; background: #e3ebe7; overflow: hidden; }
.doctors__progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: inherit; background: var(--green); transition: transform .2s linear, width .2s; will-change: transform; }

.doctor-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: -6px; padding: 8px 8px 8px 14px; border-radius: var(--radius); background: rgba(242, 196, 109, .16); border: 1px solid rgba(242, 196, 109, .6); font-size: 14.5px; color: #fff; animation: pop .35s var(--ease-out); }
.doctor-chip[hidden] { display: none; }
.doctor-chip b { color: var(--yellow); }
.doctor-chip button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; color: #fff; transition: background-color .2s; }
.doctor-chip button:hover { background: rgba(255,255,255,.14); }
.doctor-chip .icon { width: 16px; height: 16px; }

.footer__credit { font-size: 13px !important; font-weight: 400 !important; color: var(--ink-50) !important; }
.footer__credit a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.footer__credit a:hover { color: var(--ink); }

@media (max-width: 991px) {
  .carousel-nav__btn { width: 48px; height: 48px; }
}
@media (max-width: 767px) {
  .hero__eyebrow { margin-bottom: 16px; font-size: 13px; }
  .doctors__head { align-items: flex-end; }
  .carousel-nav__count { display: none; }
  .carousel-nav__btn { width: 44px; height: 44px; }
  .doctors__track { gap: 14px; margin-top: 28px; }
  .doc-card { flex-basis: 82vw; }
  .doc-card__body { padding: 18px 18px 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 380px) {
  .hero__eyebrow { gap: 8px; padding: 6px 10px; font-size: 12px; letter-spacing: -.02em; }
}
@media (prefers-reduced-motion: reduce) { .doctors__track { scroll-behavior: auto; } }

/* =========================================================
   v3: gallery with natural photo proportions, journal link, header fit
   ========================================================= */
.gallery { display: flex; flex-direction: column; gap: 20px; margin-top: var(--gap-xl); }
.gallery__row { display: flex; gap: 24px; }
.gallery__row > .gallery__item { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); }
.gallery__row > .map-card { flex: var(--ar) 1 0; min-width: 0; min-height: 0; }

.nav__link--ext { gap: 6px; }
.nav__link--ext::before { display: none; }
.nav__link--ext .icon { width: 16px; height: 16px; opacity: .6; transition: transform .3s var(--ease), opacity .2s; }
.nav__link--ext:hover .icon { transform: translate(2px, -2px); opacity: 1; }

@media (min-width: 1200px) {
  .nav { margin-left: 36px; gap: 18px; }
  .header__actions { gap: 28px; }
  .nav__link { font-size: 19px; }
}
@media (max-width: 1799px) and (min-width: 1200px) {
  .header__actions > .socials { display: none; }
}
@media (max-width: 1499px) and (min-width: 1200px) {
  .nav { margin-left: 24px; gap: 14px; }
  .nav__link { font-size: 17px; }
  .logo img { width: 200px; }
  .header-phone { font-size: 17px; gap: 12px; }
}
@media (max-width: 991px) {
  .gallery__row { gap: 14px; }
  .gallery { gap: 14px; }
}
@media (max-width: 767px) {
  .gallery { flex-direction: row; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__row { display: contents; }
  .gallery__row > .gallery__item { flex: 0 0 auto; height: 320px; width: auto; scroll-snap-align: start; }
  .gallery__row > .map-card { flex: 0 0 86vw; height: 320px; scroll-snap-align: start; }
}

/* =========================================================
   v4: all doctors visible at once (grid instead of carousel), doctor select in the form
   ========================================================= */
.doctors__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: var(--gap-xl); }
.doctors__grid .doc-card { container-type: inline-size; }
.doctors__grid .doc-card__body { gap: 8px; padding: 18px 16px; }
.doctors__grid .doc-card__name { font-size: clamp(19px, .45vw + 14px, 22px); }
.doctors__grid .doc-card__role { font-size: 14.5px; }
.doctors__grid .doc-card__tags { gap: 5px; margin-top: 2px; }
.doctors__grid .doc-card__tags li { padding: 5px 8px; font-size: 12px; }
.doctors__grid .doc-card__actions { gap: 8px; padding-top: 10px; }
.doctors__grid .btn--card { min-width: 0; min-height: 48px; gap: 10px; padding: 4px 4px 4px 14px; font-size: 15px; }
.doctors__grid .btn--card .btn__icon { width: 38px; height: 38px; }
.doctors__grid .doc-card__ig { width: 48px; height: 48px; }
.doctors__grid .doc-card__badge { left: 12px; top: 12px; }
.doctors__grid .doc-card__more { right: 12px; bottom: 12px; width: 44px; height: 44px; }
.doctors__grid .doc-card__bio { gap: 10px; padding: 18px 16px 66px; font-size: 13.5px; overscroll-behavior: contain; }
@container (max-width: 236px) {
  .doctors__grid .doc-card .btn--card { justify-content: center; padding: 6px 10px; }
  .doctors__grid .doc-card .btn--card .btn__icon { display: none; }
}
@container (max-width: 172px) {
  .doctors__grid .doc-card .doc-card__actions { gap: 6px; }
  .doctors__grid .doc-card .btn--card { padding: 4px 6px; font-size: 13.5px; letter-spacing: -.01em; }
  .doctors__grid .doc-card .doc-card__ig { width: 38px; }
}
@container (max-width: 145px) {
  .doctors__grid .doc-card .doc-card__actions { flex-wrap: wrap; }
  .doctors__grid .doc-card .btn--card { flex: 1 1 100%; }
  .doctors__grid .doc-card .doc-card__ig { width: 100%; height: 36px; }
}

/* "Не знаєте, до кого записатися?" tile — fills the free cell on tablets and phones */
.doc-card--cta { display: none; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 28px 24px; background: var(--green); border-color: var(--green); color: #fff; }
.doc-card__cta-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: rgba(242, 196, 109, .16); color: var(--yellow); }
.doc-card__cta-icon .icon { width: 26px; height: 26px; }
.doc-card__cta-title { font-size: 22px; font-weight: 700; line-height: 1.15; }
.doc-card__cta-text { font-size: 15px; line-height: 1.35; color: #d5e6df; }
.doc-card--cta .btn--card { flex: none; width: 100%; margin-top: 6px; }

@media (max-width: 1199px) {
  .doctors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .doc-card--cta { display: flex; }
}
@media (max-width: 767px) {
  .doctors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .doctors__grid .doc-card__tags { display: none; }
  .doctors__grid .doc-card__body { gap: 4px; padding: 12px 12px 14px; }
  .doctors__grid .doc-card__name { font-size: 17px; }
  .doctors__grid .doc-card__role { font-size: 13px; line-height: 1.25; }
  .doctors__grid .doc-card__actions { gap: 8px; padding-top: 10px; }
  .doctors__grid .btn--card { min-height: 42px; font-size: 14.5px; }
  .doctors__grid .doc-card__ig { width: 42px; height: 42px; }
  .doctors__grid .doc-card__ig .icon { width: 19px; height: 19px; }
  .doctors__grid .doc-card__badge { left: 8px; top: 8px; padding: 4px 7px; font-size: 12px; }
  .doctors__grid .doc-card__more { right: 8px; bottom: 8px; width: 36px; height: 36px; }
  .doctors__grid .doc-card__more .icon { width: 20px; height: 20px; }
  .doctors__grid .doc-card__bio { gap: 8px; padding: 12px 10px 50px; font-size: 12.5px; line-height: 1.32; }
  .doc-card--cta { gap: 10px; padding: 16px 14px; }
  .doc-card__cta-icon { width: 42px; height: 42px; }
  .doc-card__cta-title { font-size: 18px; }
  .doc-card__cta-text { font-size: 13.5px; }
}

/* doctor select */
.select { position: relative; display: block; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer; text-overflow: ellipsis; }
.select select.is-empty { color: var(--ink-56); }
.select select option { color: var(--ink); }
.select__icon { position: absolute; top: 50%; right: 16px; width: 20px; height: 20px; color: var(--green); transform: translateY(-50%); pointer-events: none; }
.field__opt { font-weight: 400; opacity: .75; }

/* "Керівник UROUNITY" label on the doctor card */
.doc-card__lead { align-self: flex-start; padding: 4px 8px; border-radius: 6px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }
@media (max-width: 767px) { .doc-card__lead { padding: 3px 7px; font-size: 11px; } }

/* bio overlay: bottom-aligned when short, scrollable from the top when long (flex-end would clip the first lines) */
.doc-card__bio { justify-content: flex-start; }
.doc-card__bio > :first-child { margin-top: auto; }

/* bio covers the whole card (more room for text); the +/× button travels from the photo corner to the card corner */
.doctors__grid .doc-card__bio { inset: 0; z-index: 4; padding: 66px 18px 20px; font-size: 14.5px; line-height: 1.42; }
.doctors__grid .doc-card__more { z-index: 5; top: calc(120cqw - 56px); bottom: auto; right: 12px; transition: top .6s var(--ease), transform .45s var(--ease), background-color .25s, color .25s; }
.doctors__grid .doc-card.is-open .doc-card__more { top: 12px; }
@media (max-width: 767px) {
  .doctors__grid .doc-card__bio { padding: 52px 12px 14px; font-size: 13px; line-height: 1.38; }
  .doctors__grid .doc-card__more { top: calc(120cqw - 44px); right: 8px; }
  .doctors__grid .doc-card.is-open .doc-card__more { top: 8px; }
}
.doctors__grid .doc-card__bio > :first-child { margin-top: 0; }
/* keep the "Записатися" + Instagram row visible while the bio is open */
.doctors__grid .doc-card__bio { bottom: 76px; padding-bottom: 14px; }
@media (max-width: 767px) { .doctors__grid .doc-card__bio { bottom: 64px; padding-bottom: 10px; } }
@container (max-width: 145px) { .doctors__grid .doc-card .doc-card__bio { bottom: 106px; } }
.doctors__grid .doc-card__bio { transform: translateY(calc(100% + 120px)); }
.doctors__grid .doc-card.is-open .doc-card__bio { transform: none; }
