/* =========================================================
   MaxTechnoGroup — premium redesign
   ========================================================= */

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #18181b;
  --line: rgba(237, 232, 223, 0.09);
  --line-2: rgba(237, 232, 223, 0.16);
  --ivory: #ede8df;
  --ivory-2: #d9d3c7;
  --muted: #8d877d;
  --gold: #c9a96e;
  --gold-2: #e9d4a7;
  --gold-3: #8a6f3e;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-2); letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); display: inline-block; flex: none; }

.title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(44px, 7.2vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-top: 22px;
}
.title em { font-size: 1.08em; letter-spacing: -0.03em; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- Grain & cursor & progress ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.cursor { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-2); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(233, 212, 167, 0.45);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--gold); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: var(--gold); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
/* Custom cursor disabled: the normal system cursor is easier to see. */

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 80; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform-origin: left; transform: scaleX(0); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  display: grid; place-items: center;
}
.loader__inner { width: min(560px, 82vw); }
.loader__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ivory);
  display: flex;
  overflow: hidden;
  padding-bottom: .06em;
}
.loader__mark span { display: inline-block; }
.loader__bar { height: 1px; background: var(--line-2); margin: 28px 0 14px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.loader__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.loader__count { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h);
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  border: 0;
  background: none;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn > * { pointer-events: none; }

.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #a8874b); color: var(--ink); box-shadow: 0 10px 40px -12px rgba(201, 169, 110, .55), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--gold::before { background: var(--ivory); }
.btn--ghost { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { --h: 44px; padding: 0 22px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
  transition: padding .6s var(--ease), background .6s, backdrop-filter .6s, border-color .6s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(10, 10, 11, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .6s var(--ease), padding .6s var(--ease), background .6s, border-color .6s; }

.nav__logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: -0.02em; font-size: 17px; }
.nav__logo em { font-size: 1.12em; margin-left: 1px; }
.logo-mark { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; position: relative; }
.logo-mark i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.logo-mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px dashed rgba(201,169,110,.5); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav__links { display: flex; gap: 36px; font-size: 14px; color: var(--ivory-2); }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.nav__burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ivory); transition: transform .5s var(--ease); }
.nav__burger i:first-child { top: 18px; }
.nav__burger i:last-child { top: 25px; }
body.menu-open .nav__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 65;
  background: var(--ink-2);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease-io);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 40px;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a { font-size: clamp(44px, 12vw, 80px); font-weight: 300; letter-spacing: -0.045em; line-height: 1.05; }
.menu__phone { margin-top: 36px; color: var(--gold); font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(110px, 15vh, 140px) var(--gutter) 32px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 70vmax; height: 70vmax; right: -18vmax; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(201,169,110,.16), rgba(201,169,110,.04) 55%, transparent 72%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(10,10,11,.85) 30%, rgba(10,10,11,0) 62%), linear-gradient(0deg, var(--ink) 0%, rgba(10,10,11,0) 30%);
}
.hero__content { position: relative; z-index: 2; max-width: 1440px; width: 100%; margin: 0 auto; }
.hero__title {
  font-weight: 300;
  font-size: clamp(54px, min(9.6vw, 14.5vh), 168px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin: 24px 0 26px;
}
.hero__title em { font-size: 1.1em; letter-spacing: -0.035em; }
.hero__lead { max-width: 500px; font-size: clamp(16px, 1.25vw, 19px); color: var(--ivory-2); font-weight: 300; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__foot {
  position: relative; z-index: 2;
  max-width: 1440px; width: 100%; margin: clamp(36px, 6vh, 72px) auto 0;
  display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 56px;
  align-items: end;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stat { display: flex; flex-direction: column; gap: 8px; }
.hero__stat strong { font-weight: 400; font-size: 20px; letter-spacing: -0.02em; }
.hero__stat small { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.stars { color: var(--gold-2); letter-spacing: .08em !important; }
.stars small { letter-spacing: 0; }
.hero__scroll { justify-self: end; display: flex; align-items: center; gap: 14px; }
.hero__scroll i { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 34px 0;
  background: linear-gradient(180deg, var(--ink), var(--ink-2));
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__row { display: flex; align-items: center; flex: none; }
.marquee__row span { font-size: clamp(40px, 5.6vw, 88px); font-weight: 300; letter-spacing: -0.045em; padding: 0 clamp(22px, 2.6vw, 44px); line-height: 1; color: var(--ivory); white-space: nowrap; }
.marquee__row span em { font-size: 1.08em; }
.marquee__row b { color: var(--gold); font-size: 18px; font-weight: 400; }

/* ---------- About ---------- */
.about { padding: clamp(110px, 16vw, 220px) 0 clamp(90px, 12vw, 170px); }
.manifesto {
  margin-top: 34px;
  font-size: clamp(30px, 4.4vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 300;
  max-width: 1260px;
}
.manifesto em { font-size: 1.06em; }
.manifesto .w { opacity: .14; transition: none; }
.principles { margin-top: clamp(70px, 9vw, 130px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle { padding: 34px 34px 10px 0; }
.principle + .principle { padding-left: 34px; border-left: 1px solid var(--line); }
.principle h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.025em; margin: 18px 0 12px; }
.principle p { color: var(--muted); max-width: 340px; font-size: 15px; }

/* ---------- Services ---------- */
.services { position: relative; background: var(--ink-2); border-top: 1px solid var(--line); }
.services__pin { height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; overflow: hidden; }
.services .title { font-size: clamp(44px, min(6vw, 10vh), 100px); }
.services__head { display: flex; flex-direction: column; }
.services__track {
  display: flex; gap: 22px;
  padding: clamp(28px, 5vh, 60px) var(--gutter) 0;
  width: max-content;
  will-change: transform;
}
.svc {
  position: relative;
  width: clamp(300px, 30vw, 440px);
  height: clamp(340px, 50vh, 460px);
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.01) 60%);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: box-shadow .6s var(--ease), transform .8s var(--ease);
}
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201,169,110,.16), transparent 50%);
  opacity: 0; transition: opacity .5s;
}
.svc:hover::before { opacity: 1; }
.svc:hover { box-shadow: inset 0 0 0 1px rgba(201,169,110,.4); }
.svc__num { position: absolute; top: 30px; right: 32px; }
.svc__icon { width: 120px; height: 120px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.svc h3 { font-size: clamp(28px, 2.4vw, 36px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; margin: 40px 0 14px; }
.svc p { color: var(--muted); font-size: 15px; max-width: 340px; }
.svc__tag { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--gold); }
.svc--alt { background: linear-gradient(160deg, rgba(201,169,110,.13), rgba(201,169,110,.02) 70%); }
.svc--end { justify-content: center; align-items: flex-start; background: none; box-shadow: none; }
.svc--end h3 { font-size: clamp(38px, 3.6vw, 60px); margin: 18px 0 30px; }
.services__bar { display: flex; align-items: center; gap: 22px; margin-top: 48px; }
.services__line { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.services__line i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(110px, 14vw, 200px) 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head__lead { margin-top: 28px; max-width: 460px; color: var(--ivory-2); font-weight: 300; font-size: 17px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: 22px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
  min-height: 470px;
  overflow: hidden;
}
.plan::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx, -100px) var(--my, -100px), rgba(233,212,167,.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.plan::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, -100px) var(--my, -100px), rgba(201,169,110,.09), transparent 60%);
}
.plan--feature { background: linear-gradient(170deg, #1d1a14, #121110 70%); box-shadow: inset 0 0 0 1px rgba(201,169,110,.32); }
.plan__top { display: flex; justify-content: space-between; align-items: center; }
.plan__badge { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 5px 10px; border-radius: 99px; }
.plan__price { display: flex; align-items: flex-start; margin: 40px 0 6px; font-weight: 200; font-size: clamp(72px, 6.6vw, 104px); letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.plan__price sup { font-size: .36em; margin: .2em .06em 0 0; color: var(--gold); font-weight: 300; letter-spacing: 0; }
.plan__price small { font-family: var(--serif); font-style: italic; font-size: .26em; color: var(--muted); letter-spacing: 0; margin: .3em .35em 0 0; font-weight: 400; }
.plan__sub { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 30px 0 auto; display: grid; gap: 12px; }
.plan li { font-size: 15px; color: var(--ivory-2); padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--gold); }
.plan__note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.plan--feature .plan__note { color: var(--gold-2); }

/* ---------- Process ---------- */
.process { padding: 0 0 clamp(110px, 14vw, 200px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; padding-top: 50px; }
.steps__line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); transform-origin: left; transform: scaleX(0); }
.step { padding-right: 30px; position: relative; }
.step::before { content: ""; position: absolute; top: -55px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); transition: background .4s, box-shadow .4s; }
.step.is-on::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(201,169,110,.12), 0 0 20px var(--gold); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 64px; line-height: 1; color: var(--gold); }
.step h3 { font-size: 28px; font-weight: 300; letter-spacing: -0.03em; margin: 22px 0 10px; }
.step p { color: var(--muted); font-size: 15px; max-width: 280px; }

/* ---------- Coverage ---------- */
.coverage { padding: clamp(110px, 14vw, 200px) 0; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.coverage__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.areas { list-style: none; margin-top: 54px; border-top: 1px solid var(--line); }
.areas li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 2vw, 30px); font-weight: 300; letter-spacing: -0.03em;
  transition: padding .6s var(--ease), color .4s;
  position: relative;
}
.areas li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .5s var(--ease); }
.areas li:hover { padding-left: 24px; color: var(--gold-2); }
.areas li:hover::before { transform: scale(1); }
.radar { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; justify-self: center; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar .ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.radar__sweep { transform-origin: 250px 250px; animation: spin 7s linear infinite; }
.pin circle { fill: var(--gold); }
.pin text { fill: var(--ivory-2); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-anchor: middle; }
.pin--hq text { fill: var(--gold-2); font-size: 13px; }
.pin--hq circle { fill: var(--gold-2); }
.pin .pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(7); opacity: 0; } }

/* ---------- Request ---------- */
.request { padding: clamp(110px, 14vw, 200px) 0; }
.request__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.request__phone { display: inline-flex; flex-direction: column; gap: 10px; margin-top: 54px; }
.request__phone strong { font-weight: 200; font-size: clamp(44px, 5vw, 80px); letter-spacing: -0.05em; line-height: 1; background: linear-gradient(90deg, var(--ivory), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.request__mail { display: block; margin-top: 18px; color: var(--muted); font-size: 16px; border-bottom: 1px solid var(--line-2); width: max-content; padding-bottom: 2px; transition: color .3s, border-color .3s; }
.request__mail:hover { color: var(--gold-2); border-color: var(--gold); }

.form {
  padding: clamp(26px, 3vw, 44px);
  border-radius: 26px;
  background: linear-gradient(170deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -40px rgba(0,0,0,.8);
  display: grid; gap: 22px;
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  background: none; border: 0; outline: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 26px 0 12px;
  font-size: 18px; font-weight: 300;
  resize: none;
  transition: border-color .4s;
  border-radius: 0;
}
.field label { position: absolute; left: 0; top: 26px; color: var(--muted); font-size: 18px; font-weight: 300; pointer-events: none; transform-origin: left top; transition: transform .5s var(--ease), color .4s; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.68); color: var(--gold); }
.field.is-error input { border-color: #d9826b; }
.field.is-error label { color: #d9826b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 12px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 10px 16px; border-radius: 99px;
  font-size: 14px; color: var(--ivory-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background .4s var(--ease), color .4s, box-shadow .4s;
}
.chips label:hover span { box-shadow: inset 0 0 0 1px var(--gold); }
.chips input:checked + span { background: var(--gold); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form__hint { text-transform: none; letter-spacing: .04em; font-size: 12px; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.2em; font-size: 14px; color: var(--muted); }
.form__status.is-error { color: #d9826b; }
.form__status a { color: var(--gold-2); border-bottom: 1px solid var(--gold-3); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.request__alt { margin-top: 22px; color: var(--muted); font-size: 15px; }
.request__alt a { color: var(--ivory-2); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.request__alt a:hover { color: var(--gold-2); border-color: var(--gold); }

/* Photo upload */
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload__drop {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; row-gap: 2px;
  padding: 18px 20px; border-radius: 18px; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-2);
  background: rgba(201,169,110,.03);
  color: var(--ivory-2); font-size: 15px; font-weight: 300;
  transition: box-shadow .4s var(--ease), background .4s;
}
.upload__drop svg { grid-row: span 2; width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; }
.upload__drop strong { font-weight: 500; color: var(--ivory); }
.upload__drop small { text-transform: none; letter-spacing: .04em; font-size: 12px; }
.upload__drop:hover, .upload.is-drag .upload__drop { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(201,169,110,.07); }
.upload__input:focus-visible + .upload__drop { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.upload__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.upload__list:empty { display: none; }
.upload__list li { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--ink-3); }
.upload__list img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload__list button {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: rgba(10,10,11,.8); color: var(--ivory); font-size: 15px; line-height: 24px; cursor: pointer;
}
.upload__list button:hover { background: var(--gold); color: var(--ink); }

/* SMS consent */
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 13px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); background: none; display: grid; place-items: center; cursor: pointer; transition: background .3s, box-shadow .3s; }
.consent input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent input:checked { background: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.consent a { color: var(--ivory-2); border-bottom: 1px solid var(--line-2); }

/* Sent state */
.form__done { display: grid; gap: 16px; padding: 12px 0; }
.form__done h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -0.02em; }
.form__done p { color: var(--ivory-2); font-weight: 300; font-size: 17px; line-height: 1.6; max-width: 46ch; }

/* ---------- Footer ---------- */
.footer { padding: clamp(90px, 12vw, 170px) 0 32px; background: var(--ink); position: relative; overflow: hidden; }
.footer__cta { display: flex; flex-direction: column; gap: 22px; }
.footer__big { display: inline-flex; align-items: center; gap: .25em; width: max-content; max-width: 100%; font-size: clamp(64px, 12vw, 210px); font-weight: 200; letter-spacing: -0.065em; line-height: .9; }
.footer__big span { background: linear-gradient(90deg, var(--ivory) 0%, var(--ivory) 50%, var(--gold-2) 50%, var(--gold) 100%); background-size: 200% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position 1s var(--ease); padding-right: .04em; }
.footer__big:hover span { background-position: -100% 0; }
.footer__big svg { width: .55em; height: .55em; fill: none; stroke: var(--gold); stroke-width: 1.2; transition: transform .8s var(--ease); }
.footer__big:hover svg { transform: translateX(.12em) rotate(-45deg); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: clamp(70px, 9vw, 130px); padding-top: 34px; border-top: 1px solid var(--line); }
.footer__cols p { margin-top: 12px; color: var(--ivory-2); font-size: 15px; line-height: 1.7; }
.footer__cols a { transition: color .3s; }
.footer__cols a:hover { color: var(--gold-2); }
.footer__word { margin-top: clamp(60px, 8vw, 110px); font-size: clamp(56px, 13.4vw, 236px); font-weight: 500; letter-spacing: -0.07em; line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(237,232,223,.13); user-select: none; text-align: center; }
.footer__word em { -webkit-text-stroke: 1px rgba(201,169,110,.35); color: transparent; font-weight: 400; }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; flex-wrap: wrap; text-transform: none; letter-spacing: .04em; font-size: 12px; }
.totop:hover { color: var(--gold-2); }

/* ---------- Reveal helpers (JS sets initial states) ---------- */
.no-js .loader { display: none; }

/* ---------- Responsive ---------- */

/* Reviews (Thumbtack) */
.reviews { padding: 0 0 clamp(110px, 14vw, 200px); }
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.reviews__score { display: grid; gap: 6px; padding: 24px 28px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--ink-2); color: var(--ivory); text-decoration: none; transition: border-color .3s; }
.reviews__score:hover { border-color: var(--gold); }
.reviews__score strong { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1; color: var(--gold-2); }
.review__stars { color: var(--gold); letter-spacing: 2px; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); }
.review blockquote { color: var(--ivory-2); font-weight: 300; font-size: 16px; line-height: 1.6; flex: 1; }
.review figcaption { display: grid; gap: 4px; }
.review figcaption strong { font-weight: 500; color: var(--ivory); }
.reviews__more { margin-top: 28px; }
.reviews__more a { color: var(--gold-2); }
a.hero__stat { color: inherit; text-decoration: none; }

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .hero__foot { grid-template-columns: repeat(3, auto); gap: 36px; }
  .hero__scroll { display: none; }
}

@media (max-width: 900px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__burger { display: block; }
  .hero { padding-bottom: 28px; }
  .hero::after { background: linear-gradient(0deg, var(--ink) 8%, rgba(10,10,11,.72) 52%, rgba(10,10,11,.35) 100%); }
  .hero__glow { right: -40vmax; top: 30%; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .services__pin { min-height: 0; padding: 100px 0 80px; }
  .services__track { width: 100%; flex-direction: column; padding-top: 44px; }
  .svc { width: 100%; height: auto; min-height: 0; }
  .services__pin { height: auto; min-height: 0; }
  .svc__icon { width: 92px; height: 92px; }
  .svc h3 { margin-top: 28px; }
  .svc--end { padding: 34px 0; }
  .services__bar { display: none; }
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 44px; }
  .steps__line { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .steps__line i { transform-origin: top; transform: scaleY(0); }
  .step::before { top: 22px; left: -34px; }
  .coverage__grid, .request__grid { grid-template-columns: 1fr; }
  .radar { max-width: 460px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .plan { min-height: 0; }
  .hero__foot { grid-template-columns: 1fr 1fr; gap: 22px 18px; margin-top: 40px; align-items: start; }
  .hero__stat small { display: block; margin: 4px 0 0; }
  .hero__stat:last-of-type { grid-column: 1 / -1; }
  .hero__stat strong { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr; }
  .marquee { padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
}

/* ---------- Hero with the request form on top ---------- */
.hero { justify-content: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__grid .hero__title { font-size: clamp(40px, min(5.4vw, 9vh), 96px); margin: 18px 0 20px; }
.hero__formwrap { scroll-margin-top: 90px; }
.hero__formwrap .form { padding: clamp(20px, 2.2vw, 32px); gap: 14px; background: linear-gradient(170deg, rgba(20,20,22,.92), rgba(14,14,16,.92)); }
.hero__formwrap .request__alt { margin-top: 14px; font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__grid .hero__title { font-size: clamp(36px, 10.5vw, 56px); }
}
