/* Verk — stylesheet
   Palette is taken from the logo ochre (#9B5D06) and set on warm paper / espresso. */

:root {
  --paper: #F4EFE6;
  --paper-2: #EBE3D5;
  --paper-3: #E2D8C7;
  --ink: #1C150D;
  --ink-2: #594C3E;
  --ink-3: #6A5D50;
  --line: rgba(28, 21, 13, .14);
  --line-strong: rgba(28, 21, 13, .28);
  --ochre: #9B5D06;
  --ochre-text: #855005;      /* ochre that passes AA on paper */
  --ochre-light: #D3923A;     /* ochre for dark backgrounds */
  --espresso: #19120B;
  --espresso-2: #241A10;
  --cream: #EFE6D6;
  --cream-2: #B9AC98;
  --line-dark: rgba(239, 230, 214, .14);
  --danger: #A3341C;
  --ok: #3F6B3A;

  --font-sans: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ochre); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin: 0; }
/* Accent words lean like the logo rings: Geologica's own slant axis, no serif italics */
em { font-style: normal; font-variation-settings: "slnt" -12; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
}
.label::before {
  content: ""; width: 14px; height: 18px; flex: none;
  background: url("../img/logo.svg") center / contain no-repeat;
}
.dark .label { color: var(--cream-2); }
.h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
.h2 em { color: var(--ochre-text); }
.dark .h2 em { color: var(--ochre-light); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 46ch; }
.dark .lead { color: var(--cream-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), background-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ochre); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .arrow { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { color: var(--paper); }
.btn--light { --bg: var(--cream); --fg: var(--espresso); }
.btn--light:hover { color: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { cursor: progress; opacity: .85; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn.is-busy .spinner { display: block; }
.btn.is-busy .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.textlink { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease-out); }
.textlink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--ochre); transform-origin: 0 50%; transform: scaleX(0); }
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: transform .5s var(--ease-out), background-color .3s, box-shadow .3s;
}
.header.is-solid { background: rgba(244, 239, 230, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 24px; letter-spacing: -0.04em; line-height: 1; }
.brand img { width: 30px; height: 29px; transition: transform .8s var(--ease-out); }
.brand:hover img { transform: rotate(-20deg); }
.brand .dot { color: var(--ochre); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: 15px; font-weight: 450; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--ochre); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease-out); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.lang button {
  min-width: 40px; height: 34px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent;
  font-size: 13px; font-weight: 500; letter-spacing: .05em; color: var(--ink-2); cursor: pointer; transition: background-color .25s, color .25s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.header .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; cursor: pointer; }

@media (max-width: 980px) {
  .nav, .header .btn { display: none; }
  /* Language stays one tap away in the header, next to the menu button */
  .header .lang { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; margin-left: 0; }
  .header .wrap { gap: 10px; }
}
@media (max-width: 400px) {
  .header .lang button { min-width: 36px; height: 34px; padding: 0 6px; font-size: 12.5px; }
  .menu-btn { padding: 0 14px; }
  .brand { font-size: 22px; }
}

/* Mobile menu */
.sheet {
  position: fixed; inset: 0; z-index: 70; background: var(--espresso); color: var(--cream);
  display: flex; flex-direction: column; padding: 18px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); visibility: hidden;
}
/* Animate the menu only after first paint, so it never flashes while the page loads */
.is-ready .sheet { transition: clip-path .7s var(--ease-out), visibility 0s .7s; }
.sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-out); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.sheet .brand { color: var(--cream); }
.sheet-close { height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--cream); color: var(--espresso); font-weight: 500; cursor: pointer; }
.sheet nav { display: flex; flex-direction: column; margin-top: 8vh; }
.sheet nav a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.03em; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease-out), color .2s; }
.sheet nav a:hover { color: var(--ochre-light); }
.sheet.is-open nav a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .05s); }
.sheet-foot { margin-top: auto; display: grid; gap: 18px; }
.sheet .lang { box-shadow: inset 0 0 0 1px var(--line-dark); justify-self: start; }
.sheet .lang button { color: var(--cream-2); }
.sheet .lang button[aria-pressed="true"] { background: var(--cream); color: var(--espresso); }
.sheet-contact { display: grid; gap: 4px; color: var(--cream-2); font-size: 15px; }
.sheet-contact a { color: var(--cream); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); padding: calc(var(--header-h) + 5vh) 0 48px; display: flex; align-items: stretch; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 12px; }
.hero h1 { font-size: clamp(2.7rem, 6.7vw, 5.75rem); line-height: .92; letter-spacing: -0.045em; margin: 0 0 28px; }
.hero h1 em { color: var(--ochre-text); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * .09s + .1s); }
.is-ready .hero h1 .line > span { transform: none; }
.hero .lead { margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 52px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 18px 36px 0 0; margin-right: 36px; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; margin-right: 0; }
.facts strong { display: block; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.facts span { font-size: 14px; color: var(--ink-3); }

.hero-fade { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, .5s); }
.is-ready .hero-fade { opacity: 1; transform: none; }

.rings { position: relative; aspect-ratio: 1 / 1.02; width: 118%; margin-right: -18%; justify-self: end; }
.rings canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.rings canvas:active { cursor: grabbing; }
.rings.is-live canvas { opacity: 1; }
.rings-fallback { position: absolute; inset: 18%; display: grid; place-items: center; transition: opacity .8s; }
.rings-fallback img { width: 100%; height: auto; animation: breathe 2.4s ease-in-out infinite; }
.rings.is-live .rings-fallback { opacity: 0; }
.rings.is-static .rings-fallback img { animation: none; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.985); } }

@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 8px); }
  .hero .wrap { grid-template-columns: 1fr; }
  .rings { order: -1; width: min(78vw, 420px); margin: 0 auto -10px; justify-self: center; }
  .facts { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
  .facts li { padding-right: 12px; margin-right: 12px; }
  .facts strong { font-size: 1.1rem; }
  .facts span { font-size: 13px; line-height: 1.35; display: block; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .label { margin-bottom: 20px; }
.section-head .lead { margin: 0; justify-self: end; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
}
.dark { background: var(--espresso); color: var(--cream); }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .line > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * .08s); }
.split.is-in .line > span { transform: none; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: svc; }
.svc { border-bottom: 1px solid var(--line); }
.svc button {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px;
  padding: 26px 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.svc-title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 550; letter-spacing: -0.03em; line-height: 1.1; font-variation-settings: "slnt" 0; transition: font-variation-settings .6s var(--ease-out), color .3s, transform .6s var(--ease-out); }
.svc-ex { font-size: 14px; color: var(--ink-3); grid-column: 1; }
.svc-mark { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .35s, box-shadow .35s, opacity .35s, transform .6s var(--ease-out); }
.svc-mark svg { width: 16px; height: 16px; }
.svc-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.svc-desc > div { overflow: hidden; }
.svc-desc p { margin: 0; padding: 0 0 26px; max-width: 48ch; color: var(--ink-2); }
.svc.is-active .svc-title { font-variation-settings: "slnt" -10; color: var(--ochre-text); transform: translateX(6px); }
.svc.is-active .svc-mark { opacity: 0; }
.svc.is-active .svc-desc { grid-template-rows: 1fr; }
.svc-inline { display: none; }

.preview { position: sticky; top: calc(var(--header-h) + 32px); }
.browser { border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(60, 40, 15, .35); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); }
.browser-bar i + i { margin-left: -6px; }
.browser-url { flex: 1; height: 24px; max-width: 260px; margin: 0 auto; border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--ink-3); display: grid; place-items: center; }
.wf-stage { position: relative; aspect-ratio: 16 / 11; background: var(--paper); }
.wf { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .4s; }
.wf.is-on { opacity: 1; }
.wf .s { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wf .f { fill: var(--paper-2); }
.wf .a { fill: var(--ochre); }
.wf .al { fill: none; stroke: var(--ochre); stroke-width: 1.6; stroke-linecap: round; }
.wf .t { fill: var(--ink); font: 600 11px var(--font-sans); letter-spacing: .04em; }
.wf .tw { fill: var(--paper); font: 600 10px var(--font-sans); letter-spacing: .04em; }
/* class, not [pathLength]: Chrome doesn't re-match SVG attribute selectors when the parent's class changes */
.wf .dr { stroke-dasharray: 1; stroke-dashoffset: 1; }
.wf.is-on .dr { animation: draw 1.1s var(--ease-out) forwards; animation-delay: calc(var(--o, 0) * .06s); }
.wf .pop { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.9); }
.wf.is-on .pop { animation: pop .7s var(--ease-out) forwards; animation-delay: calc(.25s + var(--o, 0) * .06s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; transform: none; } }
.wf .blink { animation: blink 1.2s steps(2, end) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.preview-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--ink-3); }

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .preview { display: none; }
  .svc-inline { display: block; margin: 0 0 26px; }
  .svc-inline .browser { border-radius: var(--radius); }
  .svc-inline .browser-bar { height: 30px; }
}

/* ---------- Work ---------- */
.work { overflow: clip; }
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 48px 72px; align-items: center; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--cream-2); margin: 0 0 18px; }
.case h3 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 20px; }
.case p { color: var(--cream-2); margin: 0 0 28px; max-width: 48ch; }
.feat { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feat li { font-size: 14px; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--cream); }
.case-visual { position: relative; padding: 0 0 56px 0; }
.case-visual .browser { background: #0B0B0D; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.case-visual .browser-bar { background: #17171A; border-color: rgba(255, 255, 255, .06); }
.case-visual .browser-bar i { background: #2B2B30; box-shadow: none; }
.case-visual .browser-url { background: #0B0B0D; color: #B4B4BC; }
/* The desktop screenshot links to the live site */
a.desk { display: block; position: relative; color: inherit; text-decoration: none; transition: box-shadow .5s var(--ease-out); }
a.desk .media img { transition: opacity .6s, transform 1.2s var(--ease-out); }
a.desk:hover .media img, a.desk:focus-visible .media img { transform: scale(1.03); }
a.desk:hover, a.desk:focus-visible { box-shadow: 0 0 0 1.5px var(--ochre-light), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.visit {
  position: absolute; left: 50%; top: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; background: var(--cream); color: var(--espresso); font-size: 15px; font-weight: 500;
  opacity: 0; transform: translate(-50%, -40%); transition: opacity .35s, transform .6s var(--ease-out); pointer-events: none;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6);
}
.visit svg { width: 16px; height: 16px; }
a.desk:hover .visit, a.desk:focus-visible .visit { opacity: 1; transform: translate(-50%, -50%); }
@media (hover: none) {
  .visit { opacity: 1; left: auto; top: auto; right: 12px; bottom: 12px; transform: none; padding: 8px 14px; font-size: 13px; }
}
.media { position: relative; overflow: hidden; background: #141417; }
/* Loading shimmer only when JS is running; without JS the images just show */
.js .media:not(.is-loaded)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%) 0 0 / 250% 100%; animation: shimmer 1.4s linear infinite; }
.media img { width: 100%; height: auto; transition: opacity .6s; }
.js .media:not(.is-loaded) img { opacity: 0; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.case-visual .desk .media { aspect-ratio: 16 / 10; }
.case-visual .desk img { height: 100%; object-fit: cover; object-position: top; }
.phone {
  position: absolute; right: -4%; bottom: 0; width: 31%; min-width: 150px; aspect-ratio: 9 / 19;
  border-radius: 34px; padding: 9px; background: #0D0D10;
  box-shadow: 0 0 0 1.5px #2C2C31, 0 40px 70px -20px rgba(0, 0, 0, .8);
}
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 26%; aspect-ratio: 126 / 37; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; background: #0A0A0C; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone-screen .media { background: #0A0A0C; }
.phone-hint { position: absolute; right: 0; bottom: -34px; font-size: 13px; color: var(--cream-2); white-space: nowrap; }
.next-slot { margin-top: clamp(64px, 8vw, 110px); padding-top: 32px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.next-slot p { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; }
.next-slot em { color: var(--ochre-light); }
@media (max-width: 960px) {
  .case { grid-template-columns: 1fr; }
  .case-visual { padding-bottom: 72px; margin-right: 8%; }
  .phone { right: -10%; width: 38%; }
}

/* ---------- Process ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps-track { position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.steps-fill { position: absolute; inset: 0; background: var(--ochre); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-top: 44px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-strong); transition: box-shadow .4s, background-color .4s; }
.step.is-on::before { background: var(--ochre); box-shadow: 0 0 0 6px rgba(155, 93, 6, .16); }
.step-day { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ochre-text); }
.step h3 { font-size: 1.6rem; margin: 10px 0 12px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
.steps-note { margin: 48px 0 0; font-size: 15px; color: var(--ink-3); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 40px; }
  .steps-track { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-fill { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step { padding-top: 0; }
  .step::before { left: -40px; top: 4px; }
}

/* ---------- Pricing ---------- */
.pricing { background: var(--paper-2); }
.plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: 0 0 0 1px var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-strong), 0 30px 50px -30px rgba(60, 40, 15, .35); }
.plan--featured { background: var(--espresso); color: var(--cream); box-shadow: 0 40px 80px -36px rgba(25, 18, 11, .7); margin: -18px 0; padding-top: 52px; padding-bottom: 48px; }
.plan--featured:hover { box-shadow: 0 50px 90px -36px rgba(25, 18, 11, .8); }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; background: var(--ochre); color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.plan-name { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.plan--featured .plan-name { color: var(--ochre-light); }
.plan-tag { margin: 6px 0 22px; color: var(--ink-2); font-size: 16px; min-height: 2.9em; }
.plan--featured .plan-tag { color: var(--cream-2); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price strong { font-size: clamp(3rem, 5vw, 4.3rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 14px; color: var(--ink-3); }
.plan--featured .price span { color: var(--cream-2); }
.plan-time { margin: 10px 0 24px; font-size: 14px; color: var(--ink-3); }
.plan--featured .plan-time { color: var(--cream-2); }
.plan .btn { margin: 0 0 26px; }
.plan--featured .btn { --bg: var(--cream); --fg: var(--espresso); }
.plan--featured .btn:hover { color: var(--paper); }
.plan-plus { font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 0 0 10px; }
.plan--featured .plan-plus { color: var(--cream-2); }
.plan ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plan--featured ul { border-color: var(--line-dark); }
.plan li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; }
.plan--featured li { border-color: var(--line-dark); }
.plan li::before { content: ""; position: absolute; left: 0; top: .95em; width: 12px; height: 12px; background: url("../img/logo.svg") center / contain no-repeat; }
.plan li:last-child { border-bottom: 0; }

.care { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; padding: 30px; border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.care h3 { font-size: 1.5rem; }
.care h3 + p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; }
.care ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 15px; color: var(--ink-2); }
.care li { position: relative; padding-left: 18px; }
.care li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--ochre); }
.care-price { text-align: right; }
.care-price strong { display: block; font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.care-price span { font-size: 14px; color: var(--ink-3); }

.promises { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.promises h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.promises h3::before { content: ""; width: 16px; height: 16px; flex: none; background: url("../img/logo.svg") center / contain no-repeat; }
.promises p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 1020px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 24px; }
  .plan--featured { margin: 0; }
  .plan-tag { min-height: 0; }
  .care { grid-template-columns: 1fr; }
  .care-price { text-align: left; }
  .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .care ul { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px 24px; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px 80px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side p { color: var(--ink-2); margin: 24px 0 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; letter-spacing: -0.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ochre-text); }
.pm { position: relative; width: 22px; height: 22px; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.6px; margin-top: -.8px; background: currentColor; transition: transform .5s var(--ease-out); }
.pm::after { transform: rotate(90deg); }
.faq-item[open] .pm::after { transform: rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p { margin: 0; padding: 0 0 26px; max-width: 60ch; color: var(--ink-2); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px 80px; align-items: start; }
.contact-direct { margin-top: 44px; display: grid; gap: 22px; }
.contact-direct span { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-2); margin-bottom: 4px; }
.contact-direct a { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; }
.contact-direct a:hover { color: var(--ochre-light); }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 6px; grid-column: span 2; }
.field.half { grid-column: span 1; }
.field label, .field .legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 0; background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; line-height: 1.4; color: var(--ink);
  transition: box-shadow .2s, background-color .2s; scroll-margin: 120px 0 160px;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--ink-3); }
.input:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ochre), 0 0 0 4px rgba(155, 93, 6, .14); }
textarea.input { min-height: 132px; resize: vertical; }
select.input { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231C150D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field.has-error .input { box-shadow: inset 0 0 0 1.5px var(--danger); background: #FBF1EC; }
.err { display: none; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--danger); }
.err::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.field.has-error .err { display: flex; }
.check { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ochre); }
.check a { color: var(--ink); }
.check .err { grid-column: 2; }
.check.has-error .err { display: flex; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: span 2; display: grid; gap: 14px; margin-top: 6px; }
.form-alert { display: none; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #F8E7DF; color: #6E2413; font-size: 15px; line-height: 1.45; }
.form-alert.is-on { display: block; }
.form-alert a { color: inherit; font-weight: 500; }
.form-success { display: none; text-align: left; padding: 8px 0; }
.form-success.is-on { display: block; animation: rise .7s var(--ease-out); }
.form-success h3 { font-size: 1.9rem; margin: 18px 0 10px; }
.form-success p { color: var(--ink-2); margin: 0 0 24px; }
.form-success .ok-mark { width: 56px; height: 56px; }
.form-success .ok-mark ellipse { fill: none; stroke: var(--ochre); stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease-out) forwards; }
.form-success .ok-mark ellipse + ellipse { animation-delay: .2s; }
.form.is-hidden { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form { grid-template-columns: 1fr; }
  .field, .field.half, .check, .form-foot { grid-column: span 1; }
}

/* ---------- Footer ---------- */
.footer { padding: 32px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 40px 0 56px; }
.footer h4 { margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--cream); }
.footer a:hover { color: var(--ochre-light); }
.footer .brand { color: var(--cream); }
.footer-tag { margin: 16px 0 0; color: var(--cream-2); max-width: 30ch; }
.wordmark { font-size: clamp(6rem, 27vw, 24rem); font-weight: 650; letter-spacing: -0.07em; line-height: .78; margin: 0 0 0 -0.04em; color: var(--cream); white-space: nowrap; user-select: none; }
.wordmark .ch { display: inline-block; transform: translateY(40%); opacity: 0; transition: transform 1.2s var(--ease-out), opacity 1s; transition-delay: calc(var(--i) * .07s); }
.wordmark.is-in .ch { transform: none; opacity: 1; }
.wordmark .dot { color: var(--ochre-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--cream-2); }
.footer-bottom .lang { box-shadow: inset 0 0 0 1px var(--line-dark); }
.footer-bottom .lang button { color: var(--cream-2); }
.footer-bottom .lang button[aria-pressed="true"] { background: var(--cream); color: var(--espresso); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: span 2; }
}

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + 64px) 0 120px; }
.legal .wrap { max-width: calc(780px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 18px 0 12px; }
.legal .updated { color: var(--ink-3); font-size: 15px; margin: 0 0 48px; }
.legal h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--ink); }
.legal .box { margin-top: 40px; padding: 22px 24px; border-radius: var(--radius); background: var(--paper-2); }
[data-lang-block] { display: none; }
[data-lang-block].is-on { display: block; }
.header--simple .wrap { justify-content: space-between; }
.header--simple .lang { display: inline-flex; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.back:hover { color: var(--ink); }

/* ---------- 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; }
  [data-reveal], .hero-fade { opacity: 1; transform: none; }
  .hero h1 .line > span, .split .line > span, .wordmark .ch { transform: none; opacity: 1; }
}
