:root {
  --orange: #ff4a17;
  --orange-deep: #d9340d;
  --orange-soft: #ffe4d8;
  --ink: #11100f;
  --ink-soft: #262321;
  --paper: #f4f4f1;
  --white: #fff;
  --muted: #676460;
  --line: rgba(17, 16, 15, 0.14);
  --header-h: 76px;
  --pad: clamp(20px, 6vw, 92px);
  --radius-large: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --motion-instant: 120ms;
  --motion-fast: 180ms;
  --motion-base: 260ms;
  --motion-slow: 420ms;
  --motion-story: 720ms;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-emphasized: cubic-bezier(.16, 1, .3, 1);
  --motion-travel-sm: 8px;
  --motion-travel-md: 16px;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(255, 74, 23, .5);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--white);
  border-radius: 6px;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 15;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: var(--header-h);
  padding: 0 var(--pad);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: border-color .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled,
.site-header.menu-open,
.site-header.has-dropdown-open {
  background: rgba(244, 244, 241, .96);
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(17, 16, 15, .06);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; width: max-content; text-decoration: none; }
.brand-logo { display: flex; width: 193px; height: 30px; align-items: center; gap: 8px; }
.brand-logo::before, .brand-logo::after {
  display: block;
  flex: none;
  background: url('/assets/brand/deepkeep-logo-official.svg') no-repeat;
  content: '';
}
.brand-logo::before { width: 50px; height: 26px; background-position: -95px -57px; background-size: 236px 163px; }
.brand-logo::after { width: 135px; height: 24px; background-position: -36px -75px; background-size: 207px 142px; }
.site-header .brand-logo { filter: brightness(0) invert(1); transform: scale(1.2); transform-origin: left center; transition: filter .3s ease; }
.site-header.is-scrolled .brand-logo,
.site-header.menu-open .brand-logo,
.site-header.has-dropdown-open .brand-logo { filter: none; }

@media (min-width: 1101px) {
  .site-header > .brand { transform: translateY(4px); }
}

.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.1vw, 36px); }
.desktop-nav a { font-size: 16px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--orange-deep); }
.nav-item { position: relative; }
.nav-item-btn { display: inline-flex; min-height: 48px; padding: 0; align-items: center; gap: 8px; border: 0; background: none; color: inherit; font: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.nav-item-btn:hover, .nav-item.open .nav-item-btn { color: var(--orange); }
.nav-direct { white-space: nowrap; }
.nav-chevron { width: 7px; height: 7px; margin-top: -4px; transform: rotate(45deg); border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .2s ease; }
.nav-item.open .nav-chevron { transform: translateY(3px) rotate(225deg); }
.nav-drop { position: absolute; top: calc(100% + 8px); left: -24px; z-index: 2; display: flex; width: max-content; min-width: 270px; max-width: min(380px, calc(100vw - 32px)); padding: 12px; flex-direction: column; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 65px rgba(17, 16, 15, .15); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.nav-item.open .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-drop a { display: block; padding: 11px 12px; border-radius: 9px; font-size: 14px; line-height: 1.35; white-space: normal; }
.nav-drop a:hover, .nav-drop a:focus-visible { background: #ffe8df; color: var(--ink); }
.nav-drop .drop-all { display: flex; justify-content: space-between; gap: 12px; color: var(--orange-deep); font-weight: 800; }
.drop-sep { display: block; height: 1px; margin: 6px 12px; background: var(--line); }

.header-cta {
  justify-self: end;
  padding: 12px 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 12px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease;
}
.header-cta:hover { background: rgba(255, 255, 255, .18); }
.site-header.is-scrolled .header-cta,
.site-header.menu-open .header-cta,
.site-header.has-dropdown-open .header-cta { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.site-header.is-scrolled .header-cta:hover,
.site-header.menu-open .header-cta:hover,
.site-header.has-dropdown-open .header-cta:hover { background: #e93c0d; }

.menu-toggle, .mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: #12110f;
  color: var(--white);
}

.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 7, 6, .78) 0%, rgba(7, 7, 6, .5) 38%, transparent 64%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(720px, 58vw);
  min-height: 100dvh;
  padding: calc(var(--header-h) + clamp(38px, 5vh, 64px)) var(--pad) clamp(54px, 8vh, 92px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.kicker {
  margin: 0 0 22px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .9;
  text-wrap: balance;
}
.hero-accent { color: var(--orange); }

.hero-copy { max-width: 560px; margin: 34px 0 30px; color: rgba(255, 255, 255, .72); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.hero-slogan { max-width: 560px; margin: 26px 0 0; color: var(--white); font-size: clamp(18px, 1.45vw, 22px); font-weight: 700; letter-spacing: -.015em; }
.hero-copy strong { color: var(--white); font-weight: 700; }

.button {
  display: inline-flex;
  min-height: 58px;
  padding: 0 26px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease;
}
.button-primary { background: var(--orange); color: var(--ink); }
.button-primary:hover { background: #e93c0d; }
.button-light { width: 100%; background: var(--white); color: var(--ink); }

.hero-note {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 34px;
  display: flex;
  padding: 14px 18px;
  flex-direction: column;
  background: rgba(255, 255, 255, .94);
  border-radius: 6px;
  color: var(--ink);
}
.hero-note span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-note strong { font-size: 15px; font-variant-numeric: tabular-nums; }

.signal-bar {
  display: grid;
  margin: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}
.signal-bar > div { display: grid; min-height: 122px; padding: 24px var(--pad); border-right: 1px solid var(--line); align-content: center; }
.signal-bar > div:last-child { border-right: 0; }
.signal-bar strong { font-size: 17px; }
.signal-bar span { color: var(--muted); font-size: 13px; }

.section { padding: clamp(92px, 11vw, 170px) var(--pad); }
.edge-mark {
  position: absolute;
  z-index: 0;
  display: block;
  width: clamp(260px, 30vw, 520px);
  aspect-ratio: 266 / 108;
  background: url('/assets/brand/deepkeep-mark.svg') center / contain no-repeat;
  opacity: .1;
  pointer-events: none;
  user-select: none;
}
.edge-mark--left { top: 15%; left: clamp(-120px, -7vw, -56px); transform: rotate(-8deg); }
.edge-mark--right { right: clamp(-150px, -8vw, -70px); bottom: 16%; width: clamp(340px, 37vw, 640px); transform: rotate(9deg); opacity: .16; }
.section-heading { max-width: 880px; margin-bottom: clamp(48px, 6vw, 90px); }
.section-heading h2, .intro h2, .document-head h2, .promise h2, .process h2, .request h2, .people h2, .cabinet h2 {
  margin: 0;
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .96;
  text-wrap: balance;
}

.intro { position: relative; display: grid; min-height: 82vh; overflow: hidden; isolation: isolate; grid-template-columns: minmax(0, 1.14fr) minmax(390px, .86fr); align-items: center; gap: clamp(48px, 6vw, 104px); }
.intro > :not(.edge-mark) { position: relative; z-index: 1; }
.intro-copy h2 { max-width: 920px; }
.intro-copy p { max-width: 720px; margin: 38px 0 0; color: var(--muted); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.6; }
.intro-link { display: inline-flex; padding-bottom: 5px; align-items: center; gap: 14px; border-bottom: 1px solid currentColor; font-weight: 700; text-decoration: none; }
.intro-link:hover { color: var(--orange-deep); }

.certificate-trail-zone {
  position: relative;
  min-width: 0;
  min-height: clamp(500px, 58vw, 690px);
  overflow: hidden;
  isolation: isolate;
}
.certificate-trail-visual, .certificate-trail-canvas { position: absolute; inset: 0; }
.certificate-trail-card {
  position: absolute;
  width: clamp(150px, 13vw, 220px);
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  border-radius: 5px;
  filter: drop-shadow(0 18px 24px rgba(23, 18, 12, .18));
  user-select: none;
}
.certificate-trail-canvas { z-index: 3; pointer-events: none; }
.certificate-trail-card { z-index: 1; will-change: transform, opacity; }
.certificate-trail-sources { display: none !important; }
.certificate-trail-zone .intro-link { position: absolute; right: 32px; bottom: 30px; z-index: 6; }

.services { background: #e9e9e6; }
.feature-stage { position: relative; display: grid; min-height: 680px; overflow: hidden; background: var(--white); border-radius: var(--radius-large); grid-template-columns: .9fr 1.1fr; }
.feature-stage img { width: 100%; height: 100%; object-fit: cover; }
.feature-stage--certificate img { filter: grayscale(1) contrast(.96); }
.feature-copy { display: flex; padding: clamp(38px, 6vw, 84px); flex-direction: column; justify-content: center; align-items: flex-start; }
.service-type { color: var(--orange-deep); font-size: 14px; font-weight: 700; }
.feature-copy h3, .service-panel h3 { margin: 24px 0; font-size: clamp(38px, 4.2vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.feature-copy p, .service-panel p { max-width: 520px; margin: 0 0 36px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.feature-copy a, .text-link { font-weight: 800; text-underline-offset: 5px; }

.service-pair { display: grid; margin-top: 24px; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.service-panel { position: relative; min-height: 570px; overflow: hidden; padding: clamp(38px, 5vw, 72px); border-radius: var(--radius-large); }
.service-panel--dark { background: var(--ink-soft); color: var(--white); }
.service-panel--dark p { color: rgba(255, 255, 255, .62); }
.service-panel--dark img { position: absolute; right: -8%; bottom: -18%; width: 66%; filter: grayscale(1) contrast(.96); opacity: .82; }
.service-panel--orange { display: flex; background: var(--orange); flex-direction: column; align-items: flex-start; }
.service-panel--orange .service-type, .service-panel--orange p { color: rgba(17, 16, 15, .68); }
.service-panel--orange .text-link { margin-top: auto; }

.document-showcase { background: var(--white); }
.document-head { display: grid; margin-bottom: 68px; grid-template-columns: 1.5fr 1fr; align-items: end; column-gap: 64px; }
.document-head p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: 18px; }
.document-visual { display: grid; overflow: hidden; background: var(--ink); border-radius: var(--radius-large); grid-template-columns: 1.35fr .65fr; }
.document-visual > img { width: 100%; height: 760px; object-fit: cover; }
.document-list { display: flex; margin: 0; padding: 0; color: var(--white); list-style: none; flex-direction: column; }
.document-list li { display: grid; min-height: 33.333%; padding: 36px; border-bottom: 1px solid rgba(255,255,255,.14); align-content: center; transition: background .2s ease; }
.document-list li:hover { background: var(--orange); color: var(--ink); }
.document-list li:last-child { border-bottom: 0; }
.document-list strong { font-size: clamp(20px, 2vw, 30px); line-height: 1.15; }
.document-list small { margin-top: 10px; color: rgba(255,255,255,.64); line-height: 1.4; }
.document-list li:hover small { color: rgba(17,16,15,.68); }

.product-spheres { background: var(--ink); color: var(--white); }
.product-spheres-head { display: grid; margin-bottom: clamp(58px, 7vw, 98px); grid-template-columns: .42fr 1.5fr .72fr; align-items: end; gap: clamp(28px, 5vw, 72px); }
.product-spheres-head h2 { max-width: 820px; margin: 0; font-size: clamp(52px, 6.4vw, 100px); font-weight: 500; letter-spacing: -.05em; line-height: .94; text-wrap: balance; }
.product-spheres-head > p:last-child { max-width: 420px; margin: 0; color: rgba(255,255,255,.58); font-size: 17px; line-height: 1.6; }
.section-index { align-self: start; margin: 8px 0 0; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-spheres-grid { display: grid; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); grid-template-columns: repeat(4, 1fr); }
.product-spheres-grid article { position: relative; isolation: isolate; min-height: 290px; padding: 30px; overflow: hidden; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); background: #0f0f0e; transition: color .35s ease; }
.product-spheres-grid article::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--sphere-image); background-position: center 43%; background-size: cover; filter: saturate(.84) contrast(1.04); opacity: .94; transform: scale(1.015); transition: opacity .38s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.product-spheres-grid article::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,7,.08) 0%, rgba(8,8,7,.42) 40%, rgba(8,8,7,.93) 100%); transition: background-color .35s ease, opacity .35s ease; }
.product-spheres-grid article:hover { color: var(--ink); }
.product-spheres-grid article:hover::before { opacity: 0; transform: scale(1.08); }
.product-spheres-grid article:hover::after { background: var(--orange); }
.sphere-card--fashion { --sphere-image: url('/assets/img/product-spheres/fashion.webp'); }
.sphere-card--kids { --sphere-image: url('/assets/img/product-spheres/kids.webp'); }
.sphere-card--cosmetics { --sphere-image: url('/assets/img/product-spheres/cosmetics.webp'); }
.sphere-card--food { --sphere-image: url('/assets/img/product-spheres/food.webp'); }
.sphere-card--electronics { --sphere-image: url('/assets/img/product-spheres/electronics.webp'); }
.sphere-card--equipment { --sphere-image: url('/assets/img/product-spheres/equipment.webp'); }
.sphere-card--furniture { --sphere-image: url('/assets/img/product-spheres/furniture.webp'); }
.sphere-card--packaging { --sphere-image: url('/assets/img/product-spheres/packaging.webp'); }
.sphere-icon { display: grid; width: 66px; height: 66px; margin-bottom: 62px; place-items: center; color: var(--orange); filter: drop-shadow(0 2px 12px rgba(0,0,0,.45)); }
.sphere-icon svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.product-spheres-grid article:hover .sphere-icon { color: var(--ink); }
.product-spheres-grid h3 { margin: 0; font-size: clamp(22px, 2vw, 31px); font-weight: 600; letter-spacing: -.035em; text-shadow: 0 2px 18px rgba(0,0,0,.72); }
.product-spheres-grid p { margin: 10px 0 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; text-shadow: 0 2px 14px rgba(0,0,0,.72); }
.product-spheres-grid article:hover h3, .product-spheres-grid article:hover p { text-shadow: none; }
.product-spheres-grid article:hover p { color: rgba(17,16,15,.66); }

.promise { display: grid; min-height: 100dvh; padding: clamp(92px, 10vw, 150px) var(--pad); background: var(--orange); grid-template-columns: 1fr 1fr; align-items: start; gap: 90px; }
.promise-title { position: sticky; top: calc(var(--header-h) + 52px); }
.promise-list article { padding: 34px 0 42px; border-bottom: 1px solid rgba(17,16,15,.28); }
.promise-list article:first-child { padding-top: 0; }
.promise-list h3 { margin: 0; font-size: clamp(32px, 3.4vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.promise-list p { max-width: 480px; margin: 16px 0 0; color: rgba(17,16,15,.68); font-size: 17px; }

.process { display: grid; min-height: 100dvh; background: var(--paper); grid-template-columns: .9fr 1.1fr; align-items: center; gap: 8vw; }
.process-marker { display: flex; min-height: 520px; padding: clamp(36px, 5vw, 72px); background: var(--orange); flex-direction: column; justify-content: space-between; }
.process-marker strong { font-size: clamp(72px, 9vw, 132px); font-weight: 500; letter-spacing: -.04em; line-height: .8; }
.process-marker span { max-width: 230px; font-size: clamp(24px, 3vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.process-copy ol { margin: 52px 0 0; padding: 0; list-style: none; }
.process-copy li { display: grid; padding: 22px 0; border-top: 1px solid var(--line); grid-template-columns: 56px 1fr; }
.process-copy li > span { color: var(--orange); font-weight: 800; }
.process-copy strong { font-size: 20px; }
.process-copy li p { margin: 6px 0 0; color: var(--muted); }

.cabinet {
  position: relative;
  display: grid;
  min-height: min(920px, 100dvh);
  overflow: hidden;
  padding-top: clamp(90px, 9vw, 138px);
  padding-bottom: 0;
  background: #ebeae6;
  grid-template-columns: minmax(0, .88fr) minmax(390px, 1.12fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  isolation: isolate;
}

.cabinet::before {
  position: absolute;
  inset: auto 7% 8% auto;
  width: min(43vw, 620px);
  aspect-ratio: 1;
  background: var(--orange);
  border-radius: 50%;
  content: '';
  opacity: .94;
}
.cabinet .edge-mark--right { z-index: 1; }

.cabinet-copy { position: relative; z-index: 2; align-self: center; padding-bottom: clamp(78px, 10vw, 148px); }
.cabinet-kicker { margin: 0 0 22px; color: var(--orange-deep); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.cabinet h2 { max-width: 700px; }
.cabinet-lead { max-width: 650px; margin: 34px 0 42px; color: var(--muted); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.55; }

.cabinet-tabs { display: flex; width: fit-content; margin-bottom: 25px; border-bottom: 1px solid rgba(17,16,15,.18); gap: 28px; }
.cabinet-tabs button {
  position: relative;
  padding: 0 0 13px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--motion-fast) var(--ease-out);
}
.cabinet-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: '';
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--motion-base) var(--ease-emphasized);
}
.cabinet-tabs button[aria-selected="true"] { color: var(--ink); }
.cabinet-tabs button[aria-selected="true"]::after { transform: scaleX(1); transform-origin: left center; }
.cabinet-tabs button:focus-visible { outline-offset: 6px; }
.cabinet-descriptions { min-height: 72px; }
.cabinet-descriptions p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.cabinet-link { margin-top: 30px; background: var(--ink); color: var(--white); }

.cabinet-device-wrap { position: relative; z-index: 2; display: grid; min-height: 730px; place-items: end center; align-self: end; }
.cabinet-orbit { position: absolute; border: 1px solid rgba(17,16,15,.16); border-radius: 50%; pointer-events: none; }
.cabinet-orbit--one { right: 4%; bottom: 4%; width: min(42vw, 610px); aspect-ratio: 1; }
.cabinet-orbit--two { right: -7%; bottom: -4%; width: min(54vw, 790px); aspect-ratio: 1; }

.phone-shell {
  position: relative;
  width: min(360px, 76%);
  height: 706px;
  padding: 11px;
  background: #0b0a09;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 54px 54px 0 0;
  box-shadow: 0 34px 80px rgba(80, 28, 9, .28), inset 0 0 0 2px rgba(255,255,255,.09);
  transform: translateY(28px) rotate(-2.2deg);
  transition: transform var(--motion-story) var(--ease-emphasized);
}
.cabinet-device-wrap.is-visible .phone-shell { transform: translateY(0) rotate(-2.2deg); }
.phone-top { position: absolute; z-index: 4; top: 19px; left: 50%; display: grid; width: 112px; height: 29px; background: #0b0a09; border-radius: 18px; transform: translateX(-50%); place-items: center; }
.phone-top span { display: block; width: 7px; height: 7px; margin-left: 68px; background: #292725; border-radius: 50%; }
.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 47px 22px 80px; background: #fbf4ec; border-radius: 44px 44px 0 0; }
.phone-status { position: absolute; top: 16px; right: 23px; left: 23px; display: flex; justify-content: space-between; color: #191714; font-size: 9px; font-weight: 800; }
.phone-brand { display: flex; height: 40px; align-items: center; border-bottom: 1px solid rgba(17,16,15,.09); }
.phone-brand .brand-logo { transform: scale(.58); transform-origin: left center; }
.phone-panel { padding-top: 31px; }
.phone-panel[hidden] { display: none; }
.phone-panel.is-active { animation: phone-panel-in var(--motion-base) var(--ease-emphasized) both; }
.phone-eyebrow { color: var(--orange-deep); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.phone-panel h3 { max-width: 270px; margin: 10px 0 26px; font-size: 29px; font-weight: 600; letter-spacing: -.04em; line-height: 1.04; }
.phone-document { display: grid; margin-bottom: 10px; padding: 14px; background: var(--white); border: 1px solid rgba(17,16,15,.08); border-radius: 12px; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; }
.phone-document--muted { opacity: .72; }
.phone-document-icon { display: grid; width: 34px; height: 42px; background: #171513; color: var(--orange); border-radius: 5px; font-size: 9px; font-weight: 800; place-items: center; }
.phone-document strong, .phone-document small { display: block; }
.phone-document strong { font-size: 11px; line-height: 1.25; }
.phone-document small { margin-top: 5px; color: var(--muted); font-size: 7px; }
.phone-status-label { grid-column: 2; width: fit-content; padding: 3px 6px; background: var(--orange-soft); color: var(--orange-deep); border-radius: 4px; font-size: 7px; font-weight: 800; }
.phone-timeline { margin: 0; padding: 0; list-style: none; }
.phone-timeline li { position: relative; display: grid; min-height: 72px; grid-template-columns: 20px 1fr; gap: 12px; }
.phone-timeline li::after { position: absolute; top: 18px; bottom: -2px; left: 7px; width: 1px; background: rgba(17,16,15,.13); content: ''; }
.phone-timeline li:last-child::after { display: none; }
.phone-timeline li > span { position: relative; z-index: 1; display: block; width: 15px; height: 15px; background: #d6d1ca; border: 4px solid #fbf4ec; border-radius: 50%; box-shadow: 0 0 0 1px rgba(17,16,15,.16); }
.phone-timeline .is-done > span { background: var(--ink); }
.phone-timeline .is-current > span { background: var(--orange); box-shadow: 0 0 0 4px rgba(255,74,23,.15); }
.phone-timeline strong, .phone-timeline small { display: block; }
.phone-timeline strong { font-size: 12px; }
.phone-timeline small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.phone-checkmark { display: grid; width: 82px; height: 82px; margin: 34px auto; background: var(--orange); border-radius: 50%; color: var(--ink); font-size: 38px; font-weight: 600; place-items: center; }
.phone-details { margin: 0; border-top: 1px solid rgba(17,16,15,.12); }
.phone-details div { display: flex; padding: 11px 0; border-bottom: 1px solid rgba(17,16,15,.1); justify-content: space-between; gap: 16px; }
.phone-details dt { color: var(--muted); font-size: 9px; }
.phone-details dd { margin: 0; font-size: 9px; font-weight: 800; }
.phone-nav { position: absolute; right: 0; bottom: 0; left: 0; display: flex; height: 64px; padding: 0 22px; background: rgba(255,255,255,.88); border-top: 1px solid rgba(17,16,15,.09); align-items: center; justify-content: space-between; }
.phone-nav span { color: var(--muted); font-size: 8px; }
.phone-nav .is-active { color: var(--orange-deep); font-weight: 800; }
.cabinet-caption { position: absolute; right: 0; bottom: 28px; padding: 8px 13px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .04em; }

@keyframes phone-panel-in { from { opacity: 0; transform: translateY(var(--motion-travel-sm)); } to { opacity: 1; transform: none; } }

[data-motion-ready] .motion-reveal { opacity: 0; transform: translateY(var(--motion-travel-md)); transition: opacity var(--motion-slow) var(--ease-emphasized), transform var(--motion-slow) var(--ease-emphasized); }
[data-motion-ready] .motion-reveal.is-visible { opacity: 1; transform: none; }

.prices { background: var(--white); }
.section-heading--row { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading--row > p { max-width: 470px; margin: 0; color: var(--muted); }
.price-list { border-top: 1px solid var(--line); }
.price-list article { display: grid; min-height: 142px; padding: 26px 0; border-bottom: 1px solid var(--line); grid-template-columns: 1.1fr .7fr .55fr auto; align-items: center; gap: 24px; transition: background .2s ease; }
.price-list article:hover { background: #efefec; }
.price-list .price-accent { color: var(--orange-deep); }
.price-list span { font-size: clamp(20px, 2vw, 30px); font-weight: 700; }
.price-list strong { color: var(--ink); font-size: clamp(28px, 3vw, 48px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.price-list small { color: var(--muted); }
.price-list a { display: grid; width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; place-items: center; text-decoration: none; transition: background .2s, border .2s; }
.price-list a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

.people { display: grid; min-height: 92vh; padding-top: 0; padding-bottom: 0; background: #deddda; grid-template-columns: 1.1fr .9fr; }
.people > img { width: 100%; height: 92vh; object-fit: cover; object-position: center; }
.people-copy { display: flex; padding: clamp(52px, 7vw, 110px); flex-direction: column; justify-content: center; }
.people blockquote { margin: 50px 0 22px; color: var(--muted); font-size: clamp(18px, 1.8vw, 26px); line-height: 1.55; }
.signature { margin: 0; color: var(--orange-deep); font-weight: 800; }

.request { display: grid; min-height: 92vh; padding: clamp(88px, 10vw, 150px) var(--pad); background: var(--ink); color: var(--white); grid-template-columns: .9fr 1.1fr; align-items: center; gap: 9vw; }
.request-copy > p { max-width: 590px; margin: 36px 0; color: rgba(255,255,255,.68); font-size: 18px; }
.request-copy > a { color: var(--orange); font-size: clamp(28px, 3vw, 48px); font-weight: 500; letter-spacing: -.035em; text-decoration: none; }
.request-form { display: grid; gap: 22px; }
.request-form > label:not(.consent) { display: grid; gap: 8px; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; }
.request-form label > span { color: rgba(255,255,255,.38); font-weight: 500; }
.request-form input, .request-form textarea { width: 100%; padding: 18px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; color: var(--white); outline: none; resize: vertical; transition: border-color .2s; }
.request-form input:focus, .request-form textarea:focus { border-color: var(--orange); }
.request-form input::placeholder, .request-form textarea::placeholder { color: rgba(255,255,255,.3); }
.consent { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.52); font-size: 12px; }
.consent input { width: 16px; flex: none; margin-top: 2px; accent-color: var(--orange); }
.consent a { color: rgba(255,255,255,.82); text-underline-offset: 3px; }
.form-status { min-height: 24px; margin: 0; color: var(--orange); font-size: 13px; }
.legacy-anchor { display: block; height: 0; scroll-margin-top: var(--header-h); }

.footer { padding: 80px var(--pad) 28px; background: var(--white); color: var(--ink); }
.footer-main { display: grid; grid-template-columns: minmax(235px, 1.35fr) repeat(4, minmax(120px, 1fr)); gap: clamp(24px, 3vw, 54px); }
.footer-brand-block .brand { margin-bottom: 28px; }
.footer-brand-block > p { max-width: 290px; margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.footer-brand-block .footer-tagline { margin-bottom: 10px; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.footer-attestat { display: flex; max-width: 300px; padding-top: 18px; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); }
.footer-attestat > span { font-size: 13px; font-weight: 700; }
.footer-attestat a { width: max-content; color: var(--orange-deep); font-size: 13px; font-weight: 700; text-decoration: none; }
.footer-attestat small { color: var(--muted); font-size: 11px; line-height: 1.55; }
.footer-column { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h2 { margin: 0 0 12px; font-size: 14px; font-weight: 800; }
.footer-column a, .footer-regions a { color: var(--muted); font-size: 13px; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; transition: color .2s ease; }
.footer-column a:hover, .footer-regions a:hover, .footer-bottom a:hover { color: var(--orange-deep); }
.footer-contact a:first-of-type { color: var(--ink); font-weight: 700; }
.footer-regions { display: flex; margin-top: 62px; padding: 22px 0; align-items: baseline; flex-wrap: wrap; gap: 8px 19px; border-top: 1px solid var(--line); }
.footer-regions strong { margin-right: 3px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.footer-regions a:last-child { color: var(--orange-deep); font-weight: 700; }
.footer-bottom { display: flex; padding-top: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.footer-bottom .footer-agency-link { display: inline-flex; width: 154px; height: 60px; flex: none; align-items: center; justify-content: center; overflow: hidden; }
.footer-bottom .footer-agency-link img { display: block; width: 154px; height: auto; max-width: none; flex: none; }

.hero h1 span { display: block; }

@media (max-width: 1100px) {
  :root { --pad: 44px; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: flex; width: 44px; height: 44px; padding: 0 10px; flex-direction: column; justify-content: center; gap: 7px; background: transparent; border: 1px solid rgba(255, 255, 255, .5); border-radius: 10px; cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 2px; background: var(--white); transition: transform .25s var(--ease), background .3s ease; }
  .site-header.is-scrolled .menu-toggle, .site-header.menu-open .menu-toggle { border-color: var(--line); }
  .site-header.is-scrolled .menu-toggle span, .site-header.menu-open .menu-toggle span { background: var(--ink); }
  .site-header.menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .site-header.menu-open .desktop-nav { position: absolute; top: var(--header-h); right: 0; left: 0; display: flex; max-height: calc(100dvh - var(--header-h)); padding: 12px var(--pad) 26px; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(17, 16, 15, .12); color: var(--ink); }
  .desktop-nav .nav-item-btn, .desktop-nav .nav-direct { display: flex; width: 100%; min-height: 57px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; text-decoration: none; }
  .desktop-nav .nav-drop { position: static; display: none; width: 100%; max-width: none; padding: 4px 0 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .desktop-nav .nav-item.open .nav-drop { display: flex; }
  .desktop-nav .nav-drop a { padding: 11px 16px; }
  .desktop-nav .nav-item.open .nav-item-btn { border-bottom-color: transparent; }
  .hero-content { width: 65vw; }
  .intro { min-height: auto; grid-template-columns: 1fr; }
  .intro-copy h2 { max-width: 940px; }
  .certificate-trail-zone { min-height: 260px; }
  .certificate-trail-card { width: clamp(160px, 23vw, 224px); }
  .feature-stage { min-height: 580px; }
  .document-visual > img { height: 650px; }
  .product-spheres-head { grid-template-columns: 1fr 2fr; }
  .product-spheres-head > p:last-child { grid-column: 2; }
  .product-spheres-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(130px, 1fr)); }
  .footer-contact { grid-column: 2; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; --pad: 24px; --radius-large: 26px; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }

  .hero { min-height: 780px; }
  .hero-image { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,7,6,.88), rgba(7,7,6,.55) 55%, rgba(7,7,6,.05)); }
  .hero-content { width: 78vw; min-height: 780px; padding-top: 70px; }
  .hero h1 { font-size: clamp(58px, 12vw, 84px); }
  .hero-note { right: 24px; bottom: 22px; }

  .signal-bar { grid-template-columns: 1fr; }
  .signal-bar > div { min-height: 92px; padding: 18px var(--pad); border-right: 0; border-bottom: 1px solid var(--line); }

  .intro { min-height: auto; grid-template-columns: 1fr; }
  .intro-label { grid-column: 1/-1; }
  .intro-copy h2 { font-size: clamp(46px, 9vw, 72px); }
  .certificate-trail-zone { min-height: 140px; }
  .certificate-trail-card { width: clamp(150px, 25vw, 205px); }

  .feature-stage, .document-head, .document-visual, .promise, .process, .people, .request, .cabinet { grid-template-columns: 1fr; }
  .product-spheres-head { grid-template-columns: 1fr; }
  .product-spheres-head > p:last-child { grid-column: auto; }
  .feature-stage { min-height: auto; }
  .feature-stage img { height: 480px; order: -1; }
  .service-pair { grid-template-columns: 1fr; }
  .service-panel { min-height: 500px; }
  .document-head { row-gap: 28px; }
  .document-head p:last-child { margin-top: 0; }
  .document-visual > img { height: 520px; }
  .document-list li { min-height: 150px; }
  .promise-title { position: static; }
  .promise { min-height: auto; }
  .process-marker { min-height: 380px; margin-bottom: 30px; }
  .cabinet { min-height: auto; padding-top: 100px; gap: 10px; }
  .cabinet-copy { padding-bottom: 58px; }
  .cabinet-device-wrap { min-height: 680px; }
  .cabinet::before { right: -13%; bottom: 1%; width: 72vw; }
  .cabinet-orbit--one { width: 70vw; }
  .cabinet-orbit--two { width: 88vw; }
  .edge-mark--left { left: -92px; }
  .edge-mark--right { right: -112px; width: 500px; }
  .section-heading--row { align-items: flex-start; flex-direction: column; }
  .price-list article { grid-template-columns: 1fr auto; }
  .price-list small { grid-column: 1; }
  .price-list a { grid-column: 2; grid-row: 1 / span 2; }
  .people > img { height: 66vh; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 520px) {
  :root { --pad: 16px; --radius-large: 20px; }
  .brand-logo { width: 162px; height: 24px; gap: 6px; }
  .brand-logo::before { width: 42px; height: 22px; background-position: -79px -47px; background-size: 198px 136px; }
  .brand-logo::after { width: 114px; height: 20px; background-position: -30px -63px; background-size: 174px 120px; }
  .site-header .brand-logo { transform: scale(1.12); }

  .hero { min-height: 100dvh; }
  .hero-image { object-position: 67% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,7,6,.08) 0%, rgba(7,7,6,.28) 34%, rgba(7,7,6,.94) 100%), linear-gradient(90deg, rgba(7,7,6,.42), transparent 88%); }
  .hero-content { width: 100%; min-height: 100dvh; padding: 300px var(--pad) 28px; justify-content: flex-end; }
  .kicker { margin-bottom: 14px; color: #ffb59d; font-size: 10px; }
  .hero h1 { font-size: clamp(46px, 14vw, 64px); line-height: .9; }
  .hero-copy { margin: 24px 0; font-size: 15px; }
  .hero-slogan { margin-top: 18px; font-size: 16px; }
  .hero-note { display: none; }
  .button { min-height: 54px; width: 100%; padding: 0 20px; gap: 12px; font-size: 14px; }

  .section { padding: 88px var(--pad); }
  .section-heading h2, .intro h2, .document-head h2, .promise h2, .process h2, .request h2, .people h2, .cabinet h2 { font-size: clamp(36px, 10.5vw, 50px); }
  .intro { display: block; }
  .intro-copy p { margin-top: 26px; font-size: 17px; }
  .certificate-trail-zone { min-height: 88px; margin-top: 24px; }
  .certificate-trail-card { width: clamp(112px, 34vw, 154px); }
  .certificate-trail-zone .intro-link { right: 22px; bottom: 22px; margin-top: 0; }

  .feature-stage img { height: 300px; }
  .feature-copy { padding: 34px 24px 42px; }
  .feature-copy h3, .service-panel h3 { font-size: 40px; }
  .feature-copy p, .service-panel p { font-size: 16px; }
  .service-panel { min-height: 470px; padding: 34px 24px; }
  .document-head { margin-bottom: 38px; }
  .document-visual > img { height: 310px; }
  .document-list li { min-height: 138px; padding: 24px; }
  .document-list strong { font-size: 20px; }
  .product-spheres-head h2 { font-size: clamp(40px, 11vw, 54px); }
  .product-spheres-grid { grid-template-columns: 1fr 1fr; }
  .product-spheres-grid article { min-height: 220px; padding: 22px 18px; }
  .sphere-icon { width: 48px; height: 48px; margin-bottom: 40px; }
  .sphere-icon svg { width: 42px; height: 42px; }
  .product-spheres-grid h3 { font-size: 21px; }

  .promise { padding: 88px var(--pad); gap: 58px; }
  .promise-list h3 { font-size: 34px; }
  .process-marker { min-height: 320px; padding: 28px 24px; }
  .process-copy ol { margin-top: 38px; }
  .process-copy li { grid-template-columns: 42px 1fr; }
  .cabinet { padding-right: var(--pad); padding-left: var(--pad); }
  .cabinet-lead { margin: 26px 0 34px; font-size: 17px; }
  .cabinet-tabs { width: 100%; justify-content: space-between; gap: 12px; }
  .cabinet-tabs button { font-size: 13px; }
  .cabinet-device-wrap { min-height: 600px; margin-right: calc(var(--pad) * -1); margin-left: calc(var(--pad) * -1); }
  .phone-shell { width: min(326px, 86vw); height: 630px; border-radius: 48px 48px 0 0; }
  .phone-screen { border-radius: 38px 38px 0 0; }
  .cabinet::before { right: -42%; bottom: 2%; width: 124vw; }
  .cabinet-orbit--one { right: -7%; width: 104vw; }
  .cabinet-orbit--two { right: -34%; width: 142vw; }
  .cabinet-caption { right: var(--pad); bottom: 18px; }
  .edge-mark { width: 300px; opacity: .085; }
  .edge-mark--left { top: 9%; left: -118px; }
  .edge-mark--right { right: -126px; bottom: 34%; width: 390px; opacity: .14; }

  .price-list article { min-height: 156px; padding: 24px 0; }
  .price-list article:hover { padding-right: 10px; padding-left: 10px; }
  .price-list span { font-size: 20px; }
  .price-list strong { font-size: 27px; }
  .price-list a { width: 46px; height: 46px; }

  .people { padding: 0; }
  .people > img { height: 430px; }
  .people-copy { padding: 64px var(--pad) 84px; }
  .people blockquote { margin-top: 34px; font-size: 17px; }
  .request { padding: 88px var(--pad); }
  .request-copy > a { font-size: 28px; }
  .request-form { margin-top: 20px; }
  .footer { padding: 56px var(--pad) 24px; }
  .footer-main { gap: 34px 20px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-regions { margin-top: 44px; }
}

@media (max-width: 340px) {
  .hero h1 { font-size: 48px; }
  .brand-logo { transform: scale(.9); transform-origin: left center; }
  .site-header .brand-logo { transform: scale(1); }
  .product-spheres-grid { grid-template-columns: 1fr; }
  .product-spheres-grid article { min-height: 190px; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  :root { --motion-instant: 1ms; --motion-fast: 1ms; --motion-base: 1ms; --motion-slow: 1ms; --motion-story: 1ms; --motion-travel-sm: 0px; --motion-travel-md: 0px; }
  .motion-reveal, .phone-shell, .phone-panel.is-active, .cabinet-tabs button::after { animation: none; transform: none; transition-duration: 1ms; }
  .cabinet-device-wrap.is-visible .phone-shell { transform: none; }
}
