/* Zani Dental Clinic — concept by KERA Tech Solutions.
   Structure, type scale, spacing and motion vocabulary follow the reference (LAVA dental studio). */

:root {
  --c-dark: #0a1f24;
  --c-light: #e3ecea;
  --c-accent: #d1ab80;
  --c-tert: #7c9ea2;
  --c-light-20: rgba(227, 236, 234, .2);
  --c-light-50: rgba(227, 236, 234, .5);
  --c-light-80: rgba(227, 236, 234, .8);
  --c-dark-20: rgba(10, 31, 36, .2);
  --c-dark-50: rgba(10, 31, 36, .5);
  --c-dark-70: rgba(10, 31, 36, .7);
  --c-dark-80: rgba(10, 31, 36, .8);

  --fs--1: clamp(.8rem, .7499rem + .2226vw, .9377rem);
  --fs-0: clamp(1rem, .9091rem + .404vw, 1.25rem);
  --fs-1: clamp(1.25rem, 1.0986rem + .6727vw, 1.6663rem);
  --fs-2: clamp(1.5625rem, 1.323rem + 1.0644vw, 2.2211rem);
  --fs-3: clamp(1.9531rem, 1.5867rem + 1.6285vw, 2.9607rem);
  --fs-4: clamp(2.4414rem, 1.894rem + 2.4327vw, 3.9467rem);
  --fs-5: clamp(3.0518rem, 2.2484rem + 3.5703vw, 5.2609rem);

  --s-3xs: clamp(.25rem, .2273rem + .101vw, .3125rem);
  --s-2xs: clamp(.5rem, .4545rem + .202vw, .625rem);
  --s-xs: clamp(.75rem, .6818rem + .303vw, .9375rem);
  --s-s: clamp(1rem, .9091rem + .404vw, 1.25rem);
  --s-m: clamp(1.5rem, 1.3636rem + .6061vw, 1.875rem);
  --s-l: clamp(2rem, 1.8182rem + .8081vw, 2.5rem);
  --s-xl: clamp(3rem, 2.7273rem + 1.2121vw, 3.75rem);
  --s-2xl: clamp(4rem, 3.6364rem + 1.6162vw, 5rem);
  --s-3xl: clamp(6rem, 5.4545rem + 2.4242vw, 7.5rem);
  --s-4xl: clamp(8rem, 7.2727rem + 3.2323vw, 10rem);
  --s-5xl: clamp(12rem, 10.9091rem + 4.8485vw, 15rem);
  --s-2xs-xs: clamp(.5rem, .3409rem + .7071vw, .9375rem);
  --s-xs-s: clamp(.75rem, .5682rem + .8081vw, 1.25rem);
  --s-s-m: clamp(1rem, .6818rem + 1.4141vw, 1.875rem);
  --s-m-l: clamp(1.5rem, 1.1364rem + 1.6162vw, 2.5rem);
  --s-l-xl: clamp(2rem, 1.3636rem + 2.8283vw, 3.75rem);
  --s-xl-2xl: clamp(3rem, 2.2727rem + 3.2323vw, 5rem);
  --s-2xl-3xl: clamp(4rem, 2.7273rem + 5.6566vw, 7.5rem);
  --s-3xl-4xl: clamp(6rem, 4.5455rem + 6.4646vw, 10rem);

  --grid-whole: 1290px;
  --gutter: var(--s-s-m);
  --pad: var(--s-m);

  --f-body: "Inter Tight", Arial, Helvetica, sans-serif;
  --f-head: "Josefin Sans", "Jost", sans-serif;

  --e1: cubic-bezier(.33, 0, .11, 1);
  --e2: cubic-bezier(1, 0, .47, .93);
  --e3: cubic-bezier(.2, 2.5, .4, 1);
  --e4: cubic-bezier(.1, .75, .25, 1);
  --e5: cubic-bezier(.1, .25, .25, 1);
  --dur: .5s;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--c-dark); color: var(--c-light); font-family: var(--f-body); line-height: 1.2; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; text-size-adjust: 100%; }
body { overflow-x: clip; min-height: 100svh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, strong { font-weight: 500; }
blockquote, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--c-light); color: var(--c-dark); padding: 10px 16px; border-radius: 6px; transition: top .3s; }
.skip-link:focus { top: 12px; }

/* ---------- utilities ---------- */
.container { width: min(var(--grid-whole), 100% - var(--pad) * 2); margin-inline: auto; }
.u-dark { background-color: var(--c-dark); color: var(--c-light); }
.u-light { background-color: var(--c-light); color: var(--c-dark); }
.u-tert { background-color: var(--c-tert); color: var(--c-dark); }

.t-head-l { font-family: var(--f-head); font-weight: 500; font-size: var(--fs-4); line-height: 1.1; }
.t-head-m { font-family: var(--f-head); font-weight: 500; font-size: var(--fs-3); line-height: 1.05; }
.t-head-s { font-family: var(--f-head); font-weight: 500; font-size: var(--fs-2); line-height: 1.4; }
.t-body-l { font-size: var(--fs-1); font-weight: 500; line-height: 1.4; }
.t-body-m { font-size: var(--fs-0); line-height: 1.4; }
.t-body-s { font-size: var(--fs--1); line-height: 1.5; }
.t-accent-s { font-size: var(--fs--1); font-weight: 500; line-height: 1.4; text-transform: uppercase; }
.t-xs { font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; }
.t-head-l, .t-head-m, .t-head-s { letter-spacing: normal; }

.wys { font-size: var(--fs-0); line-height: 1.4; }
.wys > * + * { margin-top: var(--s-2xs-xs); }
.wys h3 { font-size: var(--fs-1); font-weight: 500; line-height: 1.4; }
.wys ul, ul.wys { list-style-type: "–  "; padding-left: 1em; }
.wys li + li { margin-top: var(--s-2xs-xs); }

/* ---------- buttons ---------- */
.btn { --bg: var(--c-light); display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2xs); padding: var(--s-s) var(--s-l); border: 1px solid var(--bg); border-radius: var(--s-l); background: var(--bg); color: var(--c-dark); font-size: var(--fs--1); font-weight: 500; line-height: 1.4; text-align: center; transition: scale var(--dur) var(--e4), background-color var(--dur) var(--e4), color var(--dur) var(--e4); }
.btn:hover { scale: 1.02; }
.btn--dark { --bg: var(--c-dark); color: var(--c-light); }
.btn--outline { --bg: transparent; color: var(--c-dark); border-color: currentColor; }
.btn--outline:hover { --bg: var(--c-dark); color: var(--c-light); }
.btn--sm { padding: .55em 1.15em; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: var(--s-l-xl); height: var(--s-l-xl); border-radius: 50%; background: var(--c-light); color: var(--c-dark); }
.icon-btn svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ulink { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--dur) var(--e4); }
.ulink:hover { background-size: 100% 1px; }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 50; color: var(--c-light); background-image: linear-gradient(180deg, var(--c-dark) -43.3%, rgba(10, 31, 36, 0)); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: color var(--dur) var(--e1), opacity 1s var(--e1), transform 1s var(--e1); }
.js .header:not(.is-loaded) { opacity: 0; transform: translateY(-50px); transition: none; }
.header-grid { padding: var(--s-m-l) 0; display: grid; grid-template-columns: 1fr auto; gap: var(--gutter); align-items: center; position: relative; z-index: 2; }
.logo { display: inline-flex; align-items: center; gap: .55em; justify-self: start; }
.logo__mark { width: clamp(2.4rem, 2rem + 1.4vw, 3.1rem); height: auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: round; }
.logo__word { font-family: var(--f-head); font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); line-height: 1; letter-spacing: .02em; padding-top: .18em; }
.site-nav { display: none; }
.header-end { display: flex; align-items: center; gap: var(--s-s); justify-self: end; }
.nav-link { display: inline-block; font-size: var(--fs--1); font-weight: 400; line-height: 1.4; color: var(--c-light-80); transition: color var(--dur) var(--e4); }
.nav-link:hover, .is-active > .nav-link { color: var(--c-light); }

@media (min-width: 840px) {
  .header-grid { grid-template-columns: repeat(12, 1fr); }
  .logo { grid-column: 1 / span 2; grid-row: 1; }
  .site-nav { display: block; grid-column: 3 / span 8; grid-row: 1; text-align: center; }
  .header-end { grid-column: 11 / span 2; grid-row: 1; }
  .site-nav__list { display: inline-flex; align-items: center; position: relative; }
  .site-nav__list > li { position: relative; padding: var(--s-2xs) 0; }
  .site-nav__list > li:not(:last-child) { margin-right: var(--s-m-l); }
  .site-nav__list::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--c-light); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; transition: transform 2s var(--e1); }
  .js .header:not(.is-loaded) .site-nav__list::after { transform: scaleX(1); }
  .menu-toggle { display: none !important; }
}
@media (min-width: 840px) and (max-width: 1100px) {
  .site-nav__list > li:not(:last-child) { margin-right: var(--s-s); }
  .site-nav { grid-column: 3 / span 7; }
  .header-end { grid-column: 10 / span 3; }
}
.progress { position: absolute; bottom: 0; left: 0; width: calc(100% + var(--s-m-l)); height: 1px; background: var(--c-light-20); }
.site-nav__list > li:last-child .progress { width: 100%; }
.progress__fill { position: absolute; inset: 0; background: var(--c-light); transform: scaleX(0); transform-origin: 0 50%; }
.no-js .is-active .progress__fill, html:not(.motion) .is-active .progress__fill { transform: scaleX(1); }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs--1); text-transform: uppercase; color: var(--c-light); padding: var(--s-3xs) 0; }
.lang__btn::after { content: ""; width: var(--s-s); height: var(--s-s); background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath fill='%23e3ecea' d='M9.5 13 5 8.654 5.677 8l.338.327L9.5 11.71l3.823-3.692.677.635z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--dur) var(--e4); }
.lang.is-open .lang__btn::after { transform: rotateX(180deg); }
.lang__menu { display: none; position: absolute; top: calc(100% + var(--s-3xs)); right: 0; flex-direction: column; background: var(--c-light); color: var(--c-dark); border-radius: var(--s-3xs); overflow: hidden; }
.lang.is-open .lang__menu { display: flex; }
.lang__opt { width: var(--s-xl); padding: var(--s-3xs) var(--s-xs); text-align: center; text-transform: uppercase; font-size: var(--fs--1); color: var(--c-dark); transition: background-color var(--dur) var(--e4); }
.lang__opt:hover, .lang__opt[aria-current="true"] { background: var(--c-dark-20); }
.header-cta { white-space: nowrap; }

.menu-toggle { position: relative; width: 40px; height: 40px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; }
.menu-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform var(--dur) var(--e4); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
@media (max-width: 839px) {
  .lang { display: none; }
  .nav-open .header { color: var(--c-dark); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .header-cta { opacity: 0; pointer-events: none; }
}
@media (max-width: 380px) { .header-cta { padding: .5em .9em; } .logo__word { display: none; } }

.mnav { position: fixed; inset: 0; z-index: 45; background: var(--c-tert); color: var(--c-dark); padding: var(--s-4xl) var(--pad) var(--s-2xl) calc(var(--pad) + var(--s-l)); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-xl); overflow: auto; opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--e4), visibility var(--dur) var(--e4); }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__list { display: flex; flex-direction: column; gap: var(--s-s); }
.mnav__link { position: relative; font-size: var(--fs-3); font-weight: 500; line-height: 1.3; color: var(--c-dark-50); transition: color var(--dur) var(--e4); }
.mnav__link:hover, .mnav__link.is-active { color: var(--c-dark); }
.mnav__link.is-active::before { content: ""; position: absolute; top: 50%; left: calc(var(--s-m) * -1); width: var(--s-2xs); height: var(--s-2xs); border-radius: 50%; background: currentColor; transform: translateY(-50%); }
.mnav__langs { display: flex; gap: var(--s-m-l); }
.mnav__lang { font-size: var(--fs-1); font-weight: 500; color: var(--c-dark-50); }
.mnav__lang[aria-current="true"] { color: var(--c-dark); }
@media (min-width: 840px) { .mnav { display: none; } }

/* ---------- hero ---------- */
.hero { position: sticky; top: 0; overflow: clip; z-index: 0; }
html:not(.motion) .hero { position: relative; }
.hero__content { position: relative; }
.hero__bg { position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-dark) -25%, rgba(10, 31, 36, 0) 150%); }
@media (min-width: 720px) { .hero__bg { background: linear-gradient(180deg, var(--c-dark) -15%, rgba(10, 31, 36, 0) 50%); } }
.hero__bg::before, .hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--c-dark); animation-duration: 3s; animation-delay: 2.4s; animation-fill-mode: forwards; }
.hero__bg::before { animation-name: hero-bg-left; transform-origin: center left; }
.hero__bg::after { opacity: .8; animation-name: hero-bg-right; transform-origin: center right; }
@keyframes hero-bg-left { 0% { transform: scaleX(1); animation-timing-function: var(--e2); } 50% { transform: scaleX(0); animation-timing-function: var(--e1); } to { transform: scaleX(.5); } }
@keyframes hero-bg-right { 0%, 50% { transform: scaleX(1); opacity: .8; animation-timing-function: var(--e1); } to { transform: scaleX(0); opacity: 1; } }
html:not(.motion) .hero__bg::before { animation: none; transform: scaleX(.5); }
html:not(.motion) .hero__bg::after { animation: none; transform: scaleX(0); }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; z-index: -1; }

.hero-grid { min-height: 100svh; padding: var(--s-3xl-4xl) 0 var(--s-l-xl); display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: var(--s-m-l) var(--gutter); }
.hero-grid__item { min-width: 0; grid-column: 1 / -1; }
.hero-grid__item--body { place-self: center center; width: 100%; }
.hero-grid__item--footer { align-self: end; }
@media (min-width: 720px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(4, auto); }
  .hero-grid__item { grid-column: 1 / span 5; grid-row-end: span 2; }
  .hero-grid__item--header { grid-row-start: 1; }
  .hero-grid__item--body { grid-column: 7 / span 6; grid-row: 1 / span 4; }
  .hero-grid__item--footer { grid-row-start: 3; }
}
@media (min-width: 960px) {
  .hero-grid__item { grid-column: 1 / span 4; }
  .hero-grid__item--header { grid-column: 1 / span 5; }
  .hero-grid__item--body { grid-column: 5 / span 4; }
}
@media (max-width: 719px) { .hero__title, .hero__body { text-wrap: balance; } .hero-grid { padding-bottom: calc(var(--s-l-xl) + 84px); } }
.hero__title .word { display: inline-block; transition: opacity 3s var(--e3); }
.js .hero:not(.is-loaded) .hero__title .word { opacity: 0; }

.hero__card { position: relative; display: block; width: 100%; max-width: 470px; margin-inline: auto; aspect-ratio: 470 / 264; border-radius: var(--s-2xs); overflow: clip; background: var(--c-dark); clip-path: inset(0 round var(--s-2xs)); transition: opacity 1s var(--e1), scale 1s var(--e1), clip-path 1s var(--e1); }
.hero__card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__card-btn { position: absolute; top: 50%; left: 50%; translate: -50% -50%; transition: opacity var(--dur) var(--e1), scale var(--dur) var(--e4); }
.hero__card:hover .hero__card-btn { scale: 1.1; }
.js .hero:not(.is-loaded) .hero__card { opacity: 0; scale: .5; clip-path: inset(50% 50% round var(--s-2xs)); }
.js .hero:not(.is-loaded) .hero__card-btn { opacity: 0; scale: 0; }
@media (max-width: 720px) and (max-height: 1023px) { .hero__card { max-height: 40svh; } }
.hero__body { transition: opacity 1s var(--e1) var(--dur); }
.js .hero:not(.is-loaded) .hero__body { opacity: 0; }
.hero__cta { margin-top: var(--s-l-xl); transform-origin: center; transition: opacity var(--dur) var(--e1) var(--dur), scale var(--dur) var(--e1) var(--dur); }
.js .hero:not(.is-loaded) .hero__cta { opacity: 0; scale: 0; }

/* ---------- page sections ---------- */
.page-sections { position: relative; z-index: 1; isolation: isolate; }
.page-sections section, .overlay-section { position: relative; }
.overlay-section { --mask: var(--s-4xl); }
.motion .overlay-section { margin-top: calc(var(--mask) * -1); clip-path: inset(var(--mask) 0 0 0); }

/* ---------- about: process ---------- */
.ap__header { min-height: 100svh; display: flex; justify-content: center; align-items: center; padding: var(--s-5xl) 0; text-align: center; text-wrap: balance; overflow: clip; }
.motion .ap__header { position: sticky; top: 0; }
html:not(.motion) .ap__header { min-height: 60svh; }
.ap__title { max-width: 18em; margin-inline: auto; }
.ap__title .line { transition: opacity 2.5s var(--e1); }
.js .ap__header:not(.is-visible) .ap__title .line { opacity: 0; }
.ap__body { overflow-x: clip; position: relative; }

.apc { position: relative; overflow: clip; }
.apc__item { display: none; position: relative; overflow: clip; }
.apc__item--main { display: flex; height: 100svh; justify-content: center; align-items: center; }
.apc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apc__shade { position: absolute; inset: 0; background: rgba(10, 31, 36, .62); pointer-events: none; }
.apc__slogan-wrap { position: relative; z-index: 1; width: 100%; text-align: center; }
.apc__slogan { margin-inline: auto; text-wrap: balance; }
.apc__slogan .word { display: inline-block; transition: opacity 2.5s var(--e1); }
.motion .apc:not(.is-stuck) .apc__slogan .word { opacity: 0; }

.motion .apc { height: 100vh; position: sticky; top: 0; width: 100%; overflow-x: clip; z-index: 0; }
.motion .apc__items { height: 100vh; display: flex; width: 500vw; margin-left: -50vw; will-change: transform; }
.motion .apc__item { display: flex; flex: 0 0 100vw; width: 100vw; height: 100vh; justify-content: center; align-items: center; margin-left: -25vw; }
.motion .apc__img { transform: scale(.725); clip-path: inset(10% 0); will-change: transform; }
.motion .apc__shade { opacity: 0; }
.motion .apc-spacer { height: 400vh; margin-top: -100vh; }

.apg { position: relative; z-index: 1; padding: var(--s-3xl) 0; }
.motion .apg { padding-bottom: 100svh; }
.motion .apg__spacer { height: 50vh; }
.apg-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-xl) var(--s-s-m); }
.apg-grid__item { min-width: 0; display: flex; align-items: center; justify-content: center; }
.apg-grid__item:nth-child(1) { grid-column: 8 / span 5; grid-row: 1; padding-bottom: var(--s-2xl); }
.apg-grid__item:nth-child(2) { grid-column: 1 / span 4; grid-row: 1; align-self: flex-end; }
.apg-grid__item:nth-child(3) { grid-column: 7 / span 6; grid-row: 2; padding-bottom: var(--s-2xl); }
.apg-grid__item:nth-child(4) { grid-column: 2 / span 4; grid-row: 2; align-self: flex-end; }
.apg-grid__item:nth-child(5) { grid-column: 6 / span 5; grid-row: 3; }
.apg-grid__item:nth-child(6) { grid-column: 9 / span 4; grid-row: 4; align-self: flex-start; }
.apg-grid__item:nth-child(7) { grid-column: 1 / span 5; grid-row: 4; padding-top: var(--s-2xl); }
.apg-grid__item:nth-child(8) { grid-column: 8 / span 4; grid-row: 5; padding-bottom: var(--s-2xl); }
.apg-grid__item:nth-child(9) { grid-column: 3 / span 4; grid-row: 5; align-self: flex-end; }
@media (min-width: 640px) {
  .apg-grid { gap: var(--s-5xl) var(--gutter); }
  .apg-grid__item:nth-child(1) { grid-column: 9 / span 4; }
  .apg-grid__item:nth-child(2) { grid-column: 1 / span 3; }
  .apg-grid__item:nth-child(3) { grid-column: 8 / span 5; }
  .apg-grid__item:nth-child(4) { grid-column: 3 / span 3; }
  .apg-grid__item:nth-child(5) { grid-column: 6 / span 5; }
  .apg-grid__item:nth-child(6) { grid-column: 10 / span 3; }
  .apg-grid__item:nth-child(7) { grid-column: 1 / span 4; }
  .apg-grid__item:nth-child(8) { grid-column: 10 / span 3; }
  .apg-grid__item:nth-child(9) { grid-column: 4 / span 3; }
}
.apg-item { width: 100%; display: flex; justify-content: center; }
.apg-item__box { overflow: clip; width: 100%; }
.apg-item__box img { width: 100%; height: auto; object-fit: cover; }
.motion .apg-item__box img { scale: 1.1; }

/* ---------- image-info-box + scroll-box ---------- */
.iib { display: grid; grid-template-columns: 1fr; gap: var(--iib-gap, var(--s-l-xl)) var(--gutter); }
.iib__aside { overflow: clip; }
@media (min-width: 720px) {
  .iib { grid-template-columns: repeat(12, 1fr); }
  .iib__aside { grid-column: 1 / span 5; }
  .iib__main { grid-column: 7 / span 6; }
}
@media (min-width: 960px) {
  .iib__aside { grid-column: 1 / span 4; }
  .iib__main { grid-column: 9 / span 4; }
}
.iib--slow { --iib-gap: var(--s-2xl-3xl); }
.iib__image { width: 100%; height: auto; object-fit: cover; transition: scale 2s var(--e1); }
.motion .iib__image { scale: 1.2; }
.motion .iib.is-visible .iib__image { scale: 1; }

.sbox { position: relative; height: 100%; padding-left: var(--s-l); display: grid; grid-template-columns: 1fr; gap: var(--s-xl) 0; align-content: space-between; }
.vbar { position: absolute; top: 0; left: 0; width: 1px; height: 100%; background: var(--c-dark-20); }
.vbar__fill { position: absolute; inset: 0; background: currentColor; transform-origin: top; }
.motion .vbar__fill { transform: scaleY(0); }
html:not(.motion) .vbar__fill { height: var(--s-3xl); }
.u-dark .vbar { background: var(--c-light-20); }

/* ---------- manifest ---------- */
.manifest { position: relative; padding: var(--s-4xl) 0; overflow: clip; }
.manifest__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: #f1f5f4; }
.manifest__layer { position: absolute; inset: -5%; background:
    radial-gradient(60% 45% at 18% 22%, rgba(255, 255, 255, .95), transparent 70%),
    radial-gradient(55% 60% at 82% 70%, rgba(176, 199, 196, .55), transparent 70%),
    radial-gradient(40% 35% at 60% 18%, rgba(205, 222, 219, .8), transparent 70%),
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0) 0 46px, rgba(255, 255, 255, .55) 70px, rgba(190, 210, 207, .35) 110px, rgba(255, 255, 255, 0) 150px),
    linear-gradient(120deg, #dde7e5, #f3f7f6 38%, #d2dfdc 68%, #e9f0ee); }
.manifest__layer--b { transform: rotateY(180deg) rotateX(180deg); opacity: .5; }
.manifest .iib { position: relative; }

.icar { max-width: 412px; margin: 0 auto; }
.icar__frame { position: relative; aspect-ratio: 412 / 512; overflow: clip; background: var(--c-dark); }
.icar__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.2; transition: opacity var(--dur) var(--e4), scale 2s var(--e1); }
.icar__img.is-active { opacity: 1; scale: 1; z-index: 1; }
.autoplay { display: flex; align-items: center; gap: var(--s-s); margin-top: var(--s-s); }
.autoplay__btn { width: var(--s-l); height: var(--s-l); border-radius: 50%; background: var(--c-dark); color: var(--c-light); display: inline-flex; align-items: center; justify-content: center; }
.autoplay__btn svg { width: 100%; height: 100%; fill: currentColor; }
.autoplay .i-pause, .autoplay.is-paused .i-play { display: block; }
.autoplay .i-play, .autoplay.is-paused .i-pause { display: none; }
.autoplay__dots { display: flex; align-items: center; gap: var(--s-2xs); padding: var(--s-s) var(--s-m); background: var(--c-dark); border-radius: var(--s-xl); }
.autoplay__dot { position: relative; flex: 0 0 var(--s-2xs); width: var(--s-2xs); height: var(--s-2xs); border-radius: calc(var(--s-2xs) / 2); background: var(--c-light-20); overflow: clip; transition: flex-basis var(--dur) var(--e1), opacity var(--dur) var(--e2); }
.js .autoplay:not(.is-visible) .autoplay__dot { opacity: 0; }
.autoplay__dot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-light); transform: translateX(-100%); }
.autoplay__dot.is-active { flex-basis: var(--s-l); width: var(--s-l); }
.autoplay.is-paused .autoplay__dot.is-active::before { transform: none; }
.autoplay:not(.is-paused) .autoplay__dot.is-active::before { animation: dot-fill 5000ms linear forwards; }
@keyframes dot-fill { to { transform: translateX(0); } }

/* ---------- wheel ---------- */
.wheel-block { overflow: clip; position: relative; }
.wheel__sticky { padding: var(--s-4xl) 0; }
.section-title { text-wrap: balance; }
@media (min-width: 960px) { .section-title { max-width: 57.36%; } }
.wheel__body { margin-top: var(--s-2xl-3xl); }
.wheel { display: grid; grid-template-columns: 1fr; gap: var(--s-l); }
@media (min-width: 720px) { .wheel { grid-template-columns: repeat(2, 1fr); gap: var(--s-xl) var(--gutter); } }
@media (min-width: 960px) { .wheel__inner { width: 75%; margin-inline: auto; } }
.wheel__svg { display: none; }
.wheel__item { text-align: left; counter-increment: wheel; }
.wheel__title { color: var(--c-accent); }
.wheel__title::before { content: counter(wheel) ". "; }
.wheel__desc { margin-top: var(--s-s); }
.wstep__dot { fill: var(--c-accent); transform-box: fill-box; transform-origin: center; transition: scale 1s var(--e1); }
.wstep__bubble { stroke: var(--c-light-50); fill: transparent; transition: fill 1s var(--e1), stroke 1s var(--e1); }
.wstep__text { font-family: var(--f-body); font-weight: 500; font-size: 26.66px; fill: var(--c-light); transition: fill 1s var(--e1); }
.wstep__line { stroke: var(--c-light); transform-box: fill-box; transform-origin: top; scale: 1 0; transition: scale 2s var(--e1); }
.wstep.is-active .wstep__dot { scale: 1.5; }
.wstep.is-active .wstep__bubble { fill: var(--c-light); stroke: var(--c-light); }
.wstep.is-active .wstep__text { fill: var(--c-dark); }
.wstep.is-active .wstep__line { scale: 1 1; }

.wheel-on .wheel__sticky { height: 100svh; position: sticky; top: 0; display: flex; flex-direction: column; overflow: visible; }
.wheel-on .wheel__body { position: relative; height: 46svh; margin-top: auto; }
.wheel-on .wheel__inner { width: auto; }
@media (min-width: 960px) { .wheel-on .wheel__inner { width: calc(10 / 12 * 100%); margin-inline: auto; } }
.wheel-on .wheel { display: block; aspect-ratio: 1 / 1; position: relative; opacity: 0; }
.wheel-on .wheel__svg { display: block; width: 140%; max-width: 200%; margin-left: -20%; height: auto; transform: rotate(60deg); }
@media (min-width: 960px) { .wheel-on .wheel__svg { width: 100%; margin-left: 0; } }
.wheel-on .wheel__item { position: absolute; top: 19.5%; left: 50%; width: 80%; transform: translateX(-50%); text-align: center; }
@media (min-width: 960px) { .wheel-on .wheel__item { width: 50%; } }
.wheel-on .wheel__title::before { content: none; }
.wheel-on .wheel__title, .wheel-on .wheel__desc { opacity: 0; transition: opacity .6s var(--e1); }
.wheel-on .wheel__item.is-active .wheel__title, .wheel-on .wheel__item.is-active .wheel__desc { opacity: 1; transition: opacity 2s var(--e1); }
.wheel-on .wheel__item.is-active .wheel__desc { transition-delay: .5s; }
.wheel__triggers { display: none; pointer-events: none; }
.wheel-on .wheel__triggers { display: block; height: 300svh; }

/* ---------- reveal ---------- */
.reveal { position: relative; }
.reveal__content { position: relative; }
.reveal__header { display: flex; justify-content: center; align-items: center; padding: var(--s-5xl) 0; text-align: center; text-wrap: balance; }
.reveal__title { display: inline-block; }
.reveal__title .word { display: inline-block; transition: opacity 2.5s var(--e1); }
.js .reveal__header:not(.is-visible) .reveal__title .word { opacity: 0; }
.reveal__body { position: relative; isolation: isolate; }
.reveal__bg { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; text-align: center; text-wrap: balance; color: var(--c-tert); overflow: hidden; }
.reveal__topo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reveal__title--bg { display: none; position: relative; }
.reveal__main-wrap { position: relative; padding: var(--s-3xl-4xl) 0; min-height: 100svh; display: grid; grid-template-columns: 1fr; align-items: center; }
.reveal__main { overflow: hidden; }
.reveal__timeline { display: none; }

.motion .reveal__content { position: sticky; top: 0; }
.motion .reveal__header { position: absolute; inset: 0; min-height: 100svh; }
.motion .reveal__bg { min-height: 100svh; }
.motion .reveal__body { clip-path: inset(50% 50% 50% 50%); }
.motion .reveal__title--bg { display: inline-block; }
.motion .reveal__main-wrap { scale: .5; opacity: 0; transition: scale 1s var(--e1), opacity 1s var(--e1); }
.motion .reveal__body.is-visible .reveal__main-wrap { scale: 1; opacity: 1; }
.motion .reveal__timeline { display: block; pointer-events: none; }
.reveal__tl { height: 100svh; }
.reveal__tl--main { height: 120svh; }

.apply-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gutter); }
.apply-box { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 0 var(--gutter); border-radius: var(--s-2xs); overflow: hidden; }
@media (min-width: 480px) { .apply-box { grid-column: 3 / span 8; } }
.apply-box__aside img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
.apply-box__body { padding: var(--s-l); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-m-l); }
.apply-box__cta { margin-top: auto; }
@media (min-width: 640px) {
  .apply-box { grid-template-columns: repeat(8, 1fr); }
  .apply-box__aside { grid-column: 1 / span 3; }
  .apply-box__aside img { aspect-ratio: 300 / 534; }
  .apply-box__body { grid-column: 4 / span 5; padding-left: 0; }
}

/* ---------- reviews (portfolio grid) ---------- */
.showcase { padding: var(--s-4xl) 0 var(--s-2xl); }
.showcase__header { max-width: 740px; }
.showcase__body { padding-top: var(--s-2xl-3xl); }
.sc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; }
@media (min-width: 720px) { .sc-grid { grid-template-columns: repeat(3, 1fr); } }
.sc-item { position: relative; overflow: clip; min-width: 0; aspect-ratio: 428 / 284; }
.sc-item:nth-child(10n+1) { grid-row: span 2; aspect-ratio: 428 / 569; }
@media (max-width: 719px) { .sc-item:nth-child(10n+7) { grid-row: span 2; aspect-ratio: 428 / 569; } }
@media (min-width: 720px) { .sc-item:nth-child(10n+8) { grid-row: span 2; aspect-ratio: 428 / 569; } }
.sc-item > img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur) var(--e1); }
.sc-item:hover > img { scale: 1.05; }
.sc-tags { position: absolute; left: var(--s-2xs); bottom: var(--s-2xs); display: flex; flex-wrap: wrap; gap: var(--s-2xs); }
@media (min-width: 721px) { .sc-tags { left: var(--s-s); bottom: var(--s-s); } }
@media (max-width: 480px) { .sc-tags { display: none; } }
.tag { display: inline-block; padding: var(--s-3xs) var(--s-s); background: var(--c-light); color: var(--c-dark); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; }
.sc-quote { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-xs); padding: var(--s-s-m); }
.sc-quote__mark { font-family: var(--f-head); font-size: var(--fs-4); line-height: .6; color: var(--c-accent); height: .45em; }
.sc-quote__text { font-size: var(--fs-0); line-height: 1.4; }
.sc-quote__by { font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--c-light-80); }
.sc-quote__by cite { font-style: normal; color: var(--c-accent); }
.sc-rating { display: flex; flex-direction: column; justify-content: space-between; padding: var(--s-s-m); }
.sc-rating__score { display: flex; align-items: baseline; gap: var(--s-xs); flex-wrap: wrap; }
.sc-rating__num { font-family: var(--f-head); font-size: var(--fs-5); line-height: .9; }
.sc-rating__stars { font-size: var(--fs-1); letter-spacing: .12em; color: var(--c-dark); }
.sc-rating__label { max-width: 11em; }
@media (max-width: 719px) {
  .sc-grid { grid-auto-flow: row dense; }
  .sc-item:nth-child(n) { grid-row: auto; aspect-ratio: 428 / 320; }
  .sc-item:last-child { grid-column: 1 / -1; aspect-ratio: 428 / 200; }
  .sc-quote, .sc-rating { aspect-ratio: auto !important; grid-column: 1 / -1; }
  .sc-rating { gap: var(--s-m); }
}
.showcase__actions { margin-top: var(--s-2xl); text-align: center; }
.js .sc-item { opacity: 0; translate: 0 var(--s-m-l); transition: opacity 1s var(--e1), translate 1s var(--e1); transition-delay: var(--delay, 0s); }
.js .sc-grid.is-visible .sc-item { opacity: 1; translate: 0 0; }

/* ---------- treatments (services) ---------- */
.services__header { padding: var(--s-3xl) 0; }
.services__body { padding-bottom: var(--s-4xl); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-xs); }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(4, 1fr); gap: var(--gutter); } }
.card { position: relative; display: block; min-width: 0; overflow: clip; grid-column: span 2; aspect-ratio: 620 / 410; }
.card--wide { aspect-ratio: auto; height: clamp(12.5rem, 10.4167rem + 9.2593vw, 18.75rem); }
@media (min-width: 720px) { .card--wide { grid-column: span 4; } }
@media (max-width: 719px) { .card:not(.card--wide) { grid-column: span 1; aspect-ratio: 300 / 410; } .card:not(.card--wide) .card__title { font-size: clamp(1.05rem, .9rem + .8vw, 1.25rem); } }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 1s var(--e1) var(--delay, 0s), scale var(--dur) var(--e1); }
.card__content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: var(--s-s-m); background: var(--c-dark-50); }
.card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.card__nr { scale: 0; transition: scale 1s var(--e1) var(--delay, 0s); }
.card__link { transition: scale var(--dur) var(--e1), rotate var(--dur) var(--e4); }
.card__body { margin-top: auto; }
.card__title { display: block; }
.card:hover .card__img { scale: 1.05; }
.card:hover .card__link { rotate: 45deg; scale: 1.1; }
.js .card { opacity: 0; translate: 0 var(--s-m-l); transition: translate 1s var(--e1), opacity 1s var(--e1); transition-delay: var(--delay, 0s); }
.cards.is-visible .card { opacity: 1; translate: 0 0; }
.cards.is-visible .card__img, .no-js .card__img { transform: scale(1); }
.cards.is-visible .card__nr, .no-js .card__nr { scale: 1; }

.slist { margin-top: calc(var(--s-2xl) * -1); padding-top: var(--s-3xl-4xl); display: grid; grid-template-columns: 1fr; }
.slist > li { border-bottom: 1px solid var(--c-light-20); }
.slist__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--gutter); padding: var(--s-xs) 0; color: var(--c-light-80); transition: color var(--dur) var(--e4); }
@media (min-width: 720px) { .slist__item { grid-template-columns: repeat(3, 1fr); } }
.slist__item:hover { color: var(--c-light); }
.slist__action { text-align: right; }
.slist__action .icon-btn { transition: rotate var(--dur) var(--e1); }
.slist__item:hover .icon-btn { rotate: 45deg; }
.js .slist__item { opacity: 0; translate: 0 var(--s-xl-2xl); transition: translate 1s var(--e1) var(--delay, 0s), opacity 1s var(--e1) var(--delay, 0s), color var(--dur) var(--e4) 0s; }
.slist.is-visible .slist__item { opacity: 1; translate: 0 0; }

/* ---------- visiting (team) ---------- */
.team { padding: var(--s-4xl) 0; }
.team__header h2 { max-width: 14em; }
.team__body { padding-top: var(--s-2xl-3xl); }
.steps { margin-top: var(--s-4xl); }
.steps-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--s-s-m); }
.steps-grid > * { grid-column-end: span 6; }
.steps-grid > :nth-child(odd) { grid-column-start: 1; padding-top: var(--s-xl); }
.steps-grid > :nth-child(2n) { grid-column-start: 7; }
@media (min-width: 720px) {
  .steps-grid > * { grid-column-end: span 4; }
  .steps-grid > :nth-child(odd) { grid-column-start: 2; padding-top: var(--s-2xl-3xl); }
  .steps-grid > :nth-child(2n) { grid-column-start: 7; }
}
@media (min-width: 960px) {
  .steps-grid > * { grid-column-end: span 3; }
  .steps-grid > :nth-child(odd) { grid-column-start: 3; }
  .steps-grid > :nth-child(2n) { grid-column-start: 8; }
}
.steps-grid > .steps-grid__footer { grid-column: 1 / -1; padding-top: var(--s-xl); }
@media (min-width: 960px) {
  .steps-grid > .steps-grid__footer { grid-column: 8 / span 4; padding-top: 0; margin-top: calc(var(--s-xl) * -1); }
}
.step { display: block; }
.step__head { position: relative; display: block; overflow: clip; margin-bottom: var(--s-s); aspect-ratio: 680 / 850; }
.step__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--e1); }
.motion .step__img { scale: 1.1; }
.step:hover .step__img { transform: scale(1.05); }
.step__link { position: absolute; top: var(--s-2xs-xs); right: var(--s-2xs-xs); transition: scale var(--dur) var(--e1), rotate var(--dur) var(--e4); }
.step:hover .step__link { rotate: 45deg; scale: 1.1; }
.step__info { display: flex; flex-direction: column; gap: var(--s-2xs); }
.step__role { color: var(--c-dark-70); }
.vbox { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-xl); padding: var(--s-l) var(--s-l) var(--s-xl); }
@media (min-width: 960px) { .vbox { aspect-ratio: 1 / 1; } }
.vbox__btn { display: inline-flex; align-items: center; gap: var(--s-m); }
.vbox__btn .icon-btn { transition: scale var(--dur) var(--e1), rotate var(--dur) var(--e4); }
.vbox__btn:hover .icon-btn { rotate: 45deg; scale: 1.1; }

/* ---------- prices ---------- */
.pricing { padding: var(--s-4xl) 0 var(--s-2xl); }
.pricing__header { max-width: 740px; }
.pricing__body { padding-top: var(--s-2xl-3xl); }
.pricing__items { margin-top: var(--s-2xl); }
.pricing__notice { margin-top: var(--s-m); color: var(--c-dark-80); }
.tabs__labels { display: flex; gap: var(--s-l); overflow-x: auto; scrollbar-width: none; }
.tabs__label { flex: 0 0 auto; position: relative; padding: 0 0 var(--s-2xs); color: var(--c-dark-80); transition: color var(--dur) var(--e4); }
.tabs__label::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--e5); }
.tabs__label.is-active { color: var(--c-dark); }
.tabs__label.is-active::after { transform: scaleX(1); }
.tabs__content { padding-top: var(--s-xl); }
.tabs__panel.is-active { animation: fade-in var(--dur) var(--e4); }
@keyframes fade-in { from { opacity: 0; } }
.pitem__header { display: flex; flex-direction: column; gap: var(--s-s-m); }
@media (min-width: 640px) {
  .pitem__header { flex-direction: row; justify-content: space-between; align-items: center; gap: var(--s-l); }
  .pitem__title { display: flex; align-items: center; gap: var(--s-xs-s); }
  .pitem__title::before { content: ""; flex-shrink: 0; width: var(--s-xs-s); height: var(--s-xs-s); border-radius: 50%; background: var(--c-accent); }
}
.pitem__price { white-space: nowrap; }
.pitem__body { max-width: 1070px; padding-top: var(--s-xl); }

/* ---------- faq ---------- */
.faq { padding: var(--s-4xl) 0 var(--s-2xl); }
.faq__header { max-width: 740px; }
.faq__body { padding-top: var(--s-2xl-3xl); }
.faq-cats { display: grid; gap: var(--s-xl-2xl); }
.faq-item { padding: var(--s-s-m) 0; border-bottom: 1px solid var(--c-dark-20); }
.js .faq-cat, .js .faq-item { opacity: 0; translate: 0 var(--s-xl-2xl); transition: translate var(--dur) var(--e1), opacity var(--dur) var(--e1); transition-delay: var(--delay, 0s); }
.faq-cats.is-visible .faq-cat, .faq-cats.is-visible .faq-item { opacity: 1; translate: 0 0; }
.det::details-content { interpolate-size: allow-keywords; height: 0; overflow: clip; transition: height var(--dur) var(--e4), content-visibility var(--dur) allow-discrete; }
.det[open]::details-content { height: auto; }
.det__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-m); cursor: pointer; list-style: none; color: var(--c-dark-70); transition: color var(--dur) var(--e1); }
.det__head::-webkit-details-marker { display: none; }
.det__head:hover, .det[open] > .det__head { color: var(--c-dark); }
.det__marker { flex-shrink: 0; width: var(--s-l); height: var(--s-l); fill: none; stroke: currentColor; stroke-width: 1.5; }
.det--s .det__marker { scale: .75; }
.det[open] > .det__head .pl { display: none; }
.det__body { padding-top: var(--s-m); }
.det--s > .det__body { max-width: 860px; }

/* ---------- contacts ---------- */
.contacts { padding: var(--s-4xl) 0; overflow: clip; }
.contacts__body { padding-top: var(--s-2xl-3xl); }
.contacts__footer { margin-top: var(--s-2xl-3xl); overflow: clip; }
.contacts__photo { width: 100%; height: auto; aspect-ratio: 2580 / 1180; object-fit: cover; object-position: 50% 60%; }
@media (min-width: 720px) { .iib--contacts .iib__aside { grid-column: 1 / span 6; } }
@media (min-width: 960px) { .iib--contacts .iib__aside { grid-column: 1 / span 7; } .iib--contacts .iib__main { grid-column: 9 / span 4; } }
.route { width: 100%; height: auto; }
.route__river { fill: none; stroke: #a9c4c4; stroke-width: 14; stroke-linecap: round; }
.route__river--b { stroke-width: 3; stroke: #e9f1ef; }
.route__street { fill: none; stroke: #e9f1ef; stroke-width: 10; stroke-linecap: round; }
.route__path { fill: none; stroke: var(--c-accent); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.route__stop rect, .route__stop circle { fill: var(--c-light); stroke: var(--c-dark); stroke-width: 3; }
.route__pin circle { fill: var(--c-dark); }
.route__pin path { fill: none; stroke: var(--c-light); stroke-width: 1.6; }
.route__label { font-family: var(--f-head); font-size: 26px; fill: var(--c-dark); }
.route__label--pin { font-size: 28px; }
.route__sub { font-family: var(--f-body); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; fill: var(--c-dark-70); }
.route__note { font-family: var(--f-body); font-size: 15px; fill: var(--c-dark-70); }
.cinfo { display: grid; gap: var(--s-s); }
.cinfo dt { color: var(--c-dark-70); margin-bottom: 2px; }
.cinfo dd { font-size: var(--fs-0); line-height: 1.4; }
.cbtns { display: flex; flex-wrap: wrap; gap: var(--s-xs); margin-top: var(--s-m); }
.csocial { margin-top: var(--s-m); color: var(--c-dark-80); }

/* ---------- footer ---------- */
#main { position: relative; z-index: 1; }
.footer { padding: var(--s-3xl) 0; overflow-x: clip; position: relative; z-index: 0; }
.motion .footer { padding-top: 75vmin; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-2xl-3xl) var(--gutter); }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: repeat(12, 1fr); }
  .footer-grid__logo { grid-column: 1 / span 5; }
  .footer-grid__main { grid-column: 7 / span 6; }
}
@media (min-width: 960px) {
  .footer-grid__logo { grid-column: 1 / span 7; }
  .footer-grid__main { grid-column: 9 / span 4; }
}
.footer__logo { position: sticky; top: var(--s-4xl); transform-origin: left center; }
.flogo { display: flex; justify-content: space-between; font-family: var(--f-head); font-weight: 500; font-size: clamp(4.5rem, 2rem + 9vw, 9.5rem); line-height: .8; padding-top: .12em; }
.flogo__sub { margin-top: .5em; font-family: var(--f-head); font-weight: 500; font-size: clamp(1.15rem, .7rem + 1.8vw, 2.3rem); letter-spacing: .42em; text-align: center; padding-left: .42em; }
.flogo span, .flogo__sub { background: linear-gradient(100deg, #a77a4f 0%, #e4c79f 32%, #b98c5f 55%, #ecd3ae 78%, #a77a4f 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-items { display: grid; gap: var(--s-xl); padding-bottom: var(--s-m); border-bottom: 1px solid var(--c-light-20); }
.fitem { display: flex; flex-direction: column; gap: var(--s-m); }
.fitem__title { color: var(--c-light-50); }
.fitem__body { display: flex; flex-direction: column; gap: var(--s-xs); }
.flinks { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-xs); }
.flink { padding-bottom: var(--s-2xs); border-bottom: 1px dashed var(--c-accent); transition: color var(--dur) var(--e4); }
.flink:hover { color: var(--c-accent); }
.footer-add { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-m); }
.socials { display: inline-flex; gap: var(--s-2xs); }
.socials__link { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; transition: color var(--dur) var(--e4); }
.socials__link svg { width: 26px; height: 26px; fill: currentColor; }
.socials__link:hover, .footer__credit:hover { color: var(--c-accent); }
.footer__credit { transition: color var(--dur) var(--e4); }
.footer__copy { padding-top: var(--s-m); color: var(--c-light-50); }

/* ---------- concept toast ---------- */
.toast { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: min(360px, calc(100vw - 32px)); padding: 14px 46px 14px 16px; border-radius: var(--s-2xs); background: var(--c-light); color: var(--c-dark); font-size: 14px; line-height: 1.45; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(16px); transition: opacity .6s var(--e4), transform .6s var(--e4); }
.toast.is-shown { opacity: 1; transform: none; }
.toast__close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.toast__close:hover { background: var(--c-dark-20); }
.toast__close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
