/* Tomasz Kierwiński · Fizjoterapia */

/* Onest (SIL OFL), self-hosted */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --mist: #F2F3EF;
  --paper: #FFFFFF;
  --ink: #121815;
  --ink-2: #3F4843;
  --ink-3: #626B66;
  --line: #DCDFD8;
  --line-2: #E8EAE4;
  --spruce: #1E3B33;
  --spruce-2: #2A4D43;
  --leaf: #9BC46A;
  --leaf-ink: #D4EAB8;
  --brand-ink: #F2F3EF;

  --font: "Onest", ui-sans-serif, system-ui, sans-serif;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --section: clamp(88px, 11vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex: none; }

::selection { background: var(--leaf); color: var(--ink); }
:focus-visible { outline: 2px solid var(--spruce); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: #B9BFB6 var(--mist); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #C3C8BF; border-radius: 10px; border: 2px solid var(--mist); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }

.h2 {
  font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}
.body { color: var(--ink-2); max-width: 52ch; font-size: 1.0625rem; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --chip-bg: var(--ink); --chip-fg: #fff;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--light { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--spruce); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--wide { width: 100%; justify-content: space-between; padding-left: 26px; }
.chip {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--chip-bg); color: var(--chip-fg);
  overflow: hidden; position: relative;
}
.chip svg { width: 18px; height: 18px; transition: transform .55s var(--ease); }
.chip--light { --chip-bg: #fff; --chip-fg: var(--ink); background: #fff; color: var(--ink); }
.chip--lg { width: 64px; height: 64px; }
.chip--lg svg { width: 26px; height: 26px; }
.btn--ghost .chip { background: #fff; color: var(--ink); }
.btn:hover .chip svg, .footer__call:hover .chip svg { transform: rotate(45deg); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow svg { transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 22px calc(var(--gutter) + 12px) 0; pointer-events: none; }
.nav__inner {
  pointer-events: auto;
  margin-inline: auto; max-width: calc(var(--max) + 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-solid .nav__inner { background: rgba(255,255,255,.86); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(18,24,21,.18), inset 0 0 0 1px rgba(18,24,21,.06); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.nav.is-solid .brand__mark { color: var(--ink); }
.nav.is-solid .btn--ghost { background: var(--ink); color: #fff; box-shadow: none; }
.nav.is-solid .nav__burger span { background: var(--ink); }
.nav.is-hidden .nav__inner { transform: translateY(-140%); }
.nav__inner { transition-property: background-color, color, box-shadow, transform; transition-duration: .5s; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; color: #fff; }
.brand__mark path { stroke: var(--ink); transition: stroke .5s var(--ease); }
.brand__mark circle { transition: fill .5s var(--ease); }
.nav.is-solid .brand__mark path { stroke: #fff; }
.brand--light .brand__mark path { stroke: var(--spruce); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-weight: 600; font-size: 1.02rem; letter-spacing: -0.02em; }
.brand__text span { font-size: .74rem; opacity: .75; margin-top: 3px; letter-spacing: .01em; }

.nav__links { display: flex; gap: 6px; }
.nav__links a { text-decoration: none; font-size: .92rem; padding: 8px 14px; border-radius: 999px; position: relative; transition: background-color .3s var(--ease); }
.nav__links a:hover { background: rgba(255,255,255,.16); }
.nav.is-solid .nav__links a:hover { background: var(--mist); }

.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }
.nav.is-solid .nav__burger { background: var(--mist); }

.mobile-menu {
  pointer-events: auto;
  margin: 10px auto 0; max-width: 520px;
  background: #fff; border-radius: var(--r-lg); padding: 14px;
  display: grid; gap: 2px;
  box-shadow: 0 24px 50px -20px rgba(18,24,21,.3);
  transform-origin: top right;
  animation: menuIn .5s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 12px; text-decoration: none; font-size: 1.15rem; letter-spacing: -0.01em; border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 12px; justify-content: space-between; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* ---------- Hero ---------- */
.hero { padding: 12px; }
.hero__frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  min-height: max(640px, calc(100svh - 24px));
  color: #fff; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media { z-index: -2; }
.hero__media img { object-fit: cover; object-position: 62% 50%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,22,17,.62) 0%, rgba(10,22,17,.28) 42%, rgba(10,22,17,0) 70%),
    linear-gradient(0deg, rgba(10,22,17,.5) 0%, rgba(10,22,17,0) 45%),
    linear-gradient(180deg, rgba(10,22,17,.35) 0%, rgba(10,22,17,0) 22%);
}
.hero__content { padding: 0 clamp(20px, 5vw, 72px) clamp(150px, 17vw, 210px); max-width: 1180px; }
.hero__title {
  font-size: clamp(2.7rem, 1rem + 5.6vw, 5.9rem);
  line-height: .98; letter-spacing: -0.04em; font-weight: 500;
}
.hero__title .line { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero__title .line > span { display: block; }
.hero__lead { margin-top: 26px; max-width: 46ch; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: rgba(255,255,255,.88); }
.hero__actions { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-variant-numeric: tabular-nums; }
.hero__phone svg { width: 20px; height: 20px; }
.hero__phone:hover { text-decoration: underline; }

.hero__facts {
  position: absolute; left: 0; bottom: 0;
  background: var(--mist); color: var(--ink);
  border-top-right-radius: var(--r-xl);
  padding: 30px clamp(20px, 5vw, 72px) 22px clamp(20px, 5vw, 72px);
}
/* inverted corners that blend the notch into the frame */
.hero__facts::before, .hero__facts::after {
  content: ""; position: absolute; width: var(--r-xl); height: var(--r-xl);
  background: radial-gradient(circle at 100% 0, transparent calc(var(--r-xl) - .5px), var(--mist) var(--r-xl));
}
.hero__facts::before { left: 0; top: calc(var(--r-xl) * -1); }
.hero__facts::after { right: calc(var(--r-xl) * -1); bottom: 0; }
.hero__facts dl { display: flex; gap: clamp(28px, 4.5vw, 64px); }
.hero__facts dt { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.04em; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__facts dd { font-size: .8rem; color: var(--ink-3); margin-top: 8px; max-width: 16ch; line-height: 1.35; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__text .body { margin-top: 24px; }
.about__feats { margin: 44px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about__feats .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 16px; }
.about__feats .ico svg { width: 20px; height: 20px; color: var(--spruce); }
.about__feats h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; }
.about__feats p { margin-top: 6px; font-size: .92rem; color: var(--ink-3); line-height: 1.5; }

.about__visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.dial { position: absolute; inset: 4%; }
.dial__ticks { width: 100%; height: 100%; color: #A9B0A6; overflow: visible; }
.dial__ticks line.is-major { color: var(--ink); }
.capsule {
  position: relative; width: 44%; aspect-ratio: 9 / 16; border-radius: 999px; overflow: hidden;
  box-shadow: 0 40px 60px -30px rgba(18,24,21,.35);
}
.capsule img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.specs { position: absolute; inset: 0; }
.spec { position: absolute; max-width: 170px; }
.spec dt { font-size: .76rem; color: var(--ink-3); letter-spacing: .01em; }
.spec dd { font-size: .98rem; font-weight: 500; line-height: 1.3; margin-top: 4px; letter-spacing: -0.01em; }
.spec::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(155,196,106,.22); margin-bottom: 12px; }
.spec--tl { left: 0; top: 10%; }
.spec--tr { right: 0; top: 10%; text-align: right; }
.spec--tr::before, .spec--br::before { margin-left: auto; }
.spec--bl { left: 0; bottom: 10%; }
.spec--br { right: 0; bottom: 10%; text-align: right; }

/* ---------- Services ---------- */
.services { background: var(--paper); border-radius: var(--r-xl); margin-inline: 12px; }
.section-head { text-align: center; display: grid; justify-items: center; gap: 18px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .body { text-align: center; }
.services__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plate { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line-2); }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate--swap img { clip-path: inset(0 0 100% 0); transform: scale(1.06); transition: clip-path 1s var(--ease), transform 1.4s var(--ease); }
.plate--swap img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.plate--swap img.is-leaving { clip-path: inset(0); z-index: 0; }
.plate figcaption {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: .85rem; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.svc-list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto; gap: 32px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line); cursor: pointer; position: relative;
}
.svc h3 { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; transition: transform .6s var(--ease), color .4s; }
.svc p { font-size: .92rem; color: var(--ink-3); line-height: 1.5; max-width: 52ch; }
.svc__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.svc__btn svg { width: 20px; height: 20px; transition: transform .55s var(--ease); }
.svc.is-active .svc__btn { background: var(--ink); color: #fff; box-shadow: none; }
.svc.is-active .svc__btn svg { transform: rotate(45deg); }
.svc.is-active h3 { transform: translateX(10px); }
.svc:focus-visible { outline-offset: -2px; border-radius: 12px; }

/* ---------- Visit ---------- */
.visit { position: relative; margin: 12px 12px 0; border-radius: var(--r-xl); overflow: hidden; min-height: 860px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(16px, 3vw, 40px); isolation: isolate; }
.visit__photo { position: absolute; inset: 0; z-index: -1; }
.visit__photo img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.visit__card { background: rgba(255,255,255,.96); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 48px); box-shadow: 0 30px 60px -30px rgba(10,22,17,.35); max-width: 1240px; width: 100%; margin-inline: auto; }
.visit__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.steps { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.steps li { padding: 0 clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--spruce); color: #fff; font-size: .9rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 18px; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; }
.steps p { margin-top: 8px; font-size: .9rem; color: var(--ink-3); line-height: 1.5; }
.visit__caption { align-self: flex-end; max-width: 34ch; color: #fff; font-size: 1.05rem; line-height: 1.45; text-shadow: 0 1px 18px rgba(0,0,0,.35); background: rgba(14,30,24,.38); padding: 18px 22px; border-radius: var(--r-md); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.pricing__intro { position: sticky; top: 120px; display: grid; gap: 24px; justify-items: start; }
.price-list { border-top: 1px solid var(--line); }
.price-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.price-list h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.02em; }
.price-list p { font-size: .9rem; color: var(--ink-3); margin-top: 4px; }
.price-list__time { font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-list__val { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; min-width: 5.5em; text-align: right; white-space: nowrap; }

/* ---------- Reviews ---------- */
.reviews { background: var(--paper); border-radius: var(--r-xl); margin-inline: 12px; }
.reviews__grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.reviews__intro { display: grid; gap: 22px; justify-items: start; }
.reviews__nav { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.reviews__count { margin-left: 10px; font-size: .9rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.reviews__count b { color: var(--ink); font-weight: 600; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; cursor: pointer; transition: background-color .4s var(--ease), transform .4s var(--ease); }
.round:hover { background: var(--mist); }
.round:active { transform: scale(.94); }
.round svg { width: 20px; height: 20px; }
.round--dark { background: var(--ink); color: #fff; box-shadow: none; }
.round--dark:hover { background: var(--spruce); }

.review-stage { display: grid; background: var(--mist); border-radius: var(--r-lg); overflow: hidden; }
.review { grid-area: 1 / 1; display: grid; grid-template-columns: .85fr 1.15fr; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.review.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.review__img { overflow: hidden; min-height: 420px; }
.review__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.review.is-active .review__img img { transform: scale(1); }
.review__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.review__q { width: 36px; height: 28px; color: var(--leaf); }
.review blockquote { font-size: clamp(1.1rem, .95rem + .55vw, 1.4rem); line-height: 1.45; letter-spacing: -0.015em; text-wrap: pretty; }
.review.is-active blockquote, .review.is-active .review__who { animation: rise .9s var(--ease) both; }
.review.is-active .review__who { animation-delay: .08s; }
.review__who { display: grid; gap: 2px; }
.review__who b { font-weight: 600; }
.review__who span { font-size: .88rem; color: var(--ink-3); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.post__link { display: grid; gap: 14px; text-decoration: none; align-content: start; }
.post__img { aspect-ratio: 4 / 3.3; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 8px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post__link:hover .post__img img { transform: scale(1.05); }
.post time { font-size: .82rem; color: var(--ink-3); }
.post h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.post p { font-size: .92rem; color: var(--ink-3); line-height: 1.55; }
.pill-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; font-weight: 500; margin-top: 4px; transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.pill-link svg { transition: transform .45s var(--ease); }
.post__link:hover .pill-link { background: var(--ink); color: #fff; box-shadow: none; }
.post__link:hover .pill-link svg { transform: translateX(3px); }

/* ---------- Contact ---------- */
.contact { padding-top: 0; padding-bottom: 12px; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; background: var(--paper); border-radius: var(--r-xl); padding: clamp(24px, 5vw, 72px); }
.contact__info { display: grid; gap: 24px; justify-items: start; }
.contact__phone { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 500; letter-spacing: -0.035em; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact__phone svg { width: .7em; height: .7em; color: var(--spruce); }
.contact__phone:hover { color: var(--spruce); }
.contact__list { display: grid; gap: 18px; margin-top: 8px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; }
.contact__list svg { width: 20px; height: 20px; margin-top: 3px; color: var(--spruce); }
.contact__list small { color: var(--ink-3); font-size: .86rem; }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: .86rem; font-weight: 500; color: var(--ink-2); padding: 0; }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--mist); border: 1px solid transparent; border-radius: 14px;
  padding: 15px 18px; width: 100%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
  caret-color: var(--spruce);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--spruce); box-shadow: 0 0 0 4px rgba(30,59,51,.1); }
.field__err { display: none; font-style: normal; font-size: .82rem; color: #A3372B; }
.field.is-invalid input { border-color: #C2493B; background: #FDF6F4; }
.field.is-invalid .field__err, .form.consent-invalid .field__err--consent { display: block; }
.field__err--consent { margin-top: -12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--mist); font-size: .9rem; transition: background-color .3s var(--ease), color .3s var(--ease); }
.chips label:hover span { background: var(--line-2); }
.chips input:checked + span { background: var(--spruce); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--spruce); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); line-height: 1.45; cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px #A7AEA6; display: grid; place-items: center; color: transparent; transition: background-color .25s var(--ease), box-shadow .25s; margin-top: 1px; }
.check__box svg { width: 15px; height: 15px; }
.check input:checked + .check__box { background: var(--spruce); box-shadow: none; color: #fff; }
.check input:focus-visible + .check__box { outline: 2px solid var(--spruce); outline-offset: 2px; }
.form.consent-invalid .check__box { box-shadow: inset 0 0 0 1.5px #C2493B; }

.form.is-sending .btn { opacity: .7; pointer-events: none; }
.form__done { display: flex; gap: 16px; align-items: flex-start; background: #EEF5E6; border-radius: var(--r-md); padding: 20px 22px; animation: rise .7s var(--ease); }
.form__done[hidden] { display: none; }
.form__done-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--spruce); color: #fff; display: grid; place-items: center; flex: none; }
.form__done-ico svg { width: 18px; height: 18px; }
.form__done p { font-size: .92rem; color: var(--ink-2); margin-top: 2px; }

/* ---------- Footer ---------- */
.footer { padding: 0 12px 12px; }
.footer__card { background: var(--spruce); color: #E4EBE6; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 72px) 28px; }
.footer__top { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255,255,255,.14); }
.brand--light { color: #fff; }
.brand--light .brand__mark { color: #fff; }
.footer__brand p { margin-top: 22px; max-width: 36ch; font-size: .95rem; color: rgba(228,235,230,.75); }
.footer__call { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; text-decoration: none; color: #fff; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.3); align-self: end; }
.footer__call span:first-child { grid-column: 1; font-size: .95rem; color: rgba(228,235,230,.75); }
.footer__call b { grid-column: 1; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.footer__call .chip { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0; }
.footer__cols h3 { font-size: .82rem; font-weight: 500; color: var(--leaf-ink); margin-bottom: 14px; letter-spacing: .01em; }
.footer__cols ul { display: grid; gap: 8px; }
.footer__cols a, .footer__cols p { font-size: .95rem; text-decoration: none; color: #E4EBE6; line-height: 1.6; }
.footer__cols a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; color: rgba(228,235,230,.7); flex-wrap: wrap; }
.footer__bottom a { color: inherit; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: background-color .3s var(--ease), color .3s var(--ease); }
.socials a:hover { background: #fff; color: var(--spruce); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Motion (only when JS is ready; content stays visible otherwise) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .reveal-img { clip-path: inset(18% 0 18% 0 round 999px); transition: clip-path 1.6s var(--ease); }
.js .reveal-img img { transform: scale(1.2); transition: transform 1.8s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0 round 999px); }
.js .reveal-img.is-in img { transform: scale(1); }

.js .hero__media img { transform: scale(1.12); transition: transform 2.4s var(--ease); }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .hero__lead, .js .hero__actions, .js .hero__facts { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .nav__inner { opacity: 0; transition: opacity 1s var(--ease) .5s, background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease); }
.is-loaded .hero__media img { transform: scale(1); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-of-type(2) > span { transition-delay: .06s; }
.is-loaded .hero__title .line:nth-of-type(3) > span { transition-delay: .12s; }
.is-loaded .hero__title .line:nth-of-type(4) > span { transition-delay: .18s; }
.is-loaded .hero__lead { opacity: 1; transform: none; transition-delay: .35s; }
.is-loaded .hero__actions { opacity: 1; transform: none; transition-delay: .45s; }
.is-loaded .hero__facts { opacity: 1; transform: none; transition-delay: .6s; }
.is-loaded .nav__inner { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal-img, .js .reveal-img img { opacity: 1; transform: none; filter: none; clip-path: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__cta { margin-left: auto; }
  .nav__inner { gap: 10px; }
  .about__grid, .pricing__grid, .reviews__grid, .contact__grid { grid-template-columns: 1fr; }
  .pricing__intro { position: static; }
  .about__visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { padding: 12px 24px 0; }
  .nav__cta { display: none; }
  .hero__frame { min-height: max(700px, calc(100svh - 24px)); }
  .hero__media img { object-position: 74% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(10,22,17,.78) 0%, rgba(10,22,17,.35) 55%, rgba(10,22,17,.2) 100%); }
  .hero__content { padding-bottom: 188px; }
  .hero__title .line { display: block; }
  .hero__title .br-d { display: none; }
  .visit__photo img { object-position: 50% 90%; }
  .hero__facts { right: 40px; padding: 22px 20px 18px; }
  .hero__facts dl { gap: 18px; justify-content: space-between; }
  .hero__facts dd { max-width: 10ch; }
  .hero__facts dd { font-size: .78rem; }
  .hero__facts dt { font-size: 1.55rem; }

  .about__feats { grid-template-columns: 1fr; gap: 22px; }
  .about__visual { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 0; place-items: stretch; }
  .dial { display: none; }
  .capsule { grid-column: 1 / -1; width: 62%; justify-self: center; margin-bottom: 12px; }
  .specs { position: static; display: contents; }
  .spec { position: static; max-width: none; text-align: left !important; padding: 16px; background: #fff; border-radius: var(--r-md); }
  .spec dd br { display: none; }
  .spec::before { margin-left: 0 !important; }

  .services, .reviews { margin-inline: 8px; }
  .services__media { grid-template-columns: 1fr; }
  .plate--still { display: none; }
  .svc { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px 0; }
  .svc h3 { grid-column: 1; }
  .svc p { grid-column: 1; grid-row: 2; }
  .svc__btn { grid-column: 2; grid-row: 1 / 3; width: 44px; height: 44px; }
  .svc.is-active h3 { transform: none; }

  .visit { margin-inline: 8px; min-height: 0; gap: 280px; padding: 12px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li, .steps li:first-child, .steps li:nth-child(3) { padding: 20px 0 0 52px; border-left: 0; position: relative; }
  .steps li:first-child { padding-top: 0; }
  .steps__n { position: absolute; left: 0; top: 18px; }
  .steps li:first-child .steps__n { top: -2px; }
  .steps h3 { margin-top: 0; }
  .visit__caption { align-self: stretch; }

  .price-list li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .price-list li > div { grid-column: 1 / -1; }
  .price-list__val { min-width: 0; }
  .price-list__time { align-self: center; }

  .review { grid-template-columns: 1fr; }
  .review__img { min-height: 0; aspect-ratio: 4 / 3; }

  .posts { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__grid { border-radius: var(--r-lg); width: calc(100% - 16px); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .chip--lg { width: 52px; height: 52px; }
  .footer__top { border-bottom: 0; padding-bottom: 8px; }
}

/* ---------- Article pages ---------- */
.article { padding-top: 132px; }
.article__head { width: min(100% - 2 * var(--gutter), 880px); margin-inline: auto; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.article__title { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
.article__lead { margin-top: 24px; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.byline { margin-top: 32px; display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--ink-3); flex-wrap: wrap; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.byline b { display: block; color: var(--ink); font-weight: 600; }
.byline__meta { margin-left: auto; display: flex; gap: 18px; font-variant-numeric: tabular-nums; }
.article__cover { margin: clamp(36px, 5vw, 56px) 12px 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }

.prose { width: min(100% - 2 * var(--gutter), 720px); margin: clamp(48px, 6vw, 80px) auto 0; font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.4em; color: var(--ink); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 500; text-wrap: balance; }
.prose h2 + * { margin-top: .7em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul:not(.drills) { padding-left: 1.2em; list-style: none; }
.prose ul:not(.drills) li { position: relative; }
.prose ul:not(.drills) li + li { margin-top: .5em; }
.prose ul:not(.drills) li::before { content: ""; position: absolute; left: -1.1em; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.prose a { color: var(--spruce); }
.prose figure { margin-top: 2em; }
.prose figure img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prose figcaption { margin-top: 10px; font-size: .86rem; color: var(--ink-3); }

.drills { counter-reset: d; display: grid; gap: 12px; margin-top: 1.4em !important; }
.drill { counter-increment: d; position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 24px 24px 24px 76px; }
.drill::before { content: counter(d); position: absolute; left: 24px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--spruce); color: #fff; display: grid; place-items: center; font-size: .9rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.drill h3 { color: var(--ink); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.drill p { margin-top: 6px; font-size: .98rem; line-height: 1.6; }
.drill__dose { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 500; color: var(--spruce); background: #EEF5E6; padding: 5px 12px; border-radius: 999px; }

.note { background: var(--paper); border-radius: var(--r-lg); padding: 26px 28px; margin-top: 2em !important; }
.note h3 { color: var(--ink); font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.note h3 svg { width: 20px; height: 20px; color: #A3372B; }
.note ul { margin-top: 12px; }
.prose .disclaimer { font-size: .88rem; color: var(--ink-3); margin-top: 2.4em; }

.article-cta { width: min(100% - 24px, 1296px); margin: clamp(64px, 8vw, 112px) auto 0; background: var(--spruce); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: center; }
.article-cta h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.article-cta p { margin-top: 12px; color: rgba(228,235,230,.8); max-width: 46ch; }
.article-cta__actions { display: grid; gap: 14px; justify-items: start; }
.article-cta .btn--light:hover { background: var(--mist); }
.article-cta__phone { color: #fff; text-decoration: none; font-weight: 500; display: inline-flex; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.article-cta__phone svg { width: 18px; height: 18px; }
.article-cta__phone:hover { text-decoration: underline; }

.more { padding-block: clamp(64px, 8vw, 112px); }
.more h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 500; letter-spacing: -0.025em; margin-bottom: 28px; }
.more .posts { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 720px) {
  .article { padding-top: 104px; }
  .byline__meta { margin-left: 0; width: 100%; }
  .article__cover { margin-inline: 8px; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .prose { font-size: 1.02rem; }
  .drill { padding: 20px 20px 20px 64px; }
  .drill::before { left: 18px; top: 18px; }
  .article-cta { grid-template-columns: 1fr; width: calc(100% - 16px); border-radius: var(--r-lg); }
  .more .posts { grid-template-columns: 1fr; }
}
