/* ==========================================================================
   HILYA LTD — main stylesheet
   ========================================================================== */
:root {
  --ink: #141414;
  --ink-2: #1E1F1E;
  --ink-3: #2C2E2C;
  --paper: #F4F4F1;
  --paper-2: #E6EBE5;
  --white: #FFFFFF;
  --muted: #5C625E;
  --muted-light: #A7AEA8;
  --line: rgba(20, 20, 20, .12);
  --line-light: rgba(244, 244, 241, .14);
  --accent: #376855;
  --accent-ink: #234336;
  --accent-soft: #DCE8E0;
  --indigo: #234336;
  --lime: #9CC1A3;

  --f-display: "Poppins", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --shadow: 0 1px 2px rgba(18,19,24,.04), 0 12px 32px -12px rgba(18,19,24,.18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.sec--tight { padding: calc(var(--sec) * .65) 0; }
.sec--dark { background: var(--ink); color: var(--paper); }
.sec--sand { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.eyebrow--light { color: var(--muted-light); }

.h2 { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; }
.h2 em { color: var(--accent); }
.sec--dark .h2 em { color: var(--lime); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 56ch; }
.sec--dark .lead { color: var(--muted-light); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head > div { display: grid; gap: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-ink); box-shadow: 0 10px 24px -10px var(--accent); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--line-light { border-color: var(--line-light); color: var(--paper); }
.btn--line-light:hover { border-color: var(--paper); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .25s var(--ease); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 244, 241, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-color: var(--line); background: rgba(244, 244, 241, .94); }
.header__in { display: flex; align-items: center; gap: 24px; height: 76px; }

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 38px; width: auto; }
.footer .logo img { height: 46px; }
.logo__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.logo__mark svg { width: 24px; height: 24px; }
.logo__word { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 6px; }
.logo__word small { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--muted); }
.logo--light { color: var(--paper); }
.logo--light .logo__mark { background: var(--paper); color: var(--ink); }
.logo--light .logo__word small { color: var(--muted-light); }

.nav { margin-left: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink); transition: background .2s; }
.nav__link:hover { background: rgba(18,19,24,.06); }
.nav__link.is-active { background: var(--ink); color: var(--paper); }
.drop-toggle { display: none; background: none; border: 0; padding: 8px; color: inherit; }
.nav__cta-m { display: none; }

.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: 560px; padding: 12px; border-radius: var(--r);
  background: var(--white); box-shadow: 0 24px 60px -20px rgba(18,19,24,.35); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.drop::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-weight: 500; font-size: 15px; }
.drop__link:hover { background: var(--paper); }
.drop__ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }

.header__cta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; padding: 8px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: background .2s; }
.header__cta:hover { background: var(--accent); }
.header__cta-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.header__cta-num { font-weight: 600; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); place-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; text-transform: uppercase; margin: 22px 0 26px; }
.hero__title em { color: var(--accent); display: inline-block; }
.hero__title .ul { position: relative; white-space: nowrap; }
.hero__title .ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--lime); z-index: -1; border-radius: 4px; }
.hero__lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; list-style: none; padding: 0; }
.hero__steps li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); font-weight: 500; font-size: 14px; }
.hero__steps b { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 12px; font-family: var(--f-display); }

.stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: end; width: 100%; }
.stage__blob { position: absolute; inset: 8% 4% 6% 10%; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; background: radial-gradient(circle at 30% 30%, var(--lime) 0, var(--accent) 40%, transparent 70%), radial-gradient(circle at 75% 70%, var(--indigo) 0, transparent 60%); filter: blur(40px); opacity: .45; animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { to { border-radius: 55% 45% 40% 60% / 45% 60% 40% 55%; transform: rotate(10deg) scale(1.05); } }
.stage__main { position: absolute; left: 4%; right: 6%; top: 10%; }
.stage__main .mock { box-shadow: 0 40px 80px -30px rgba(18,19,24,.45); transform: rotate(-2deg); }
.float { position: absolute; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 16px 18px; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float--check { right: 0; top: 2%; width: 210px; animation-delay: -2s; }
.float--check h4 { font-size: 14px; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.float--check li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; color: var(--muted); }
.float--check li .ico { color: #19A974; }
.float--check ul { list-style: none; padding: 0; margin: 0; }
.float--palette { left: 0; bottom: 14%; display: flex; gap: 8px; align-items: center; }
.float--palette span { width: 30px; height: 30px; border-radius: 50%; }
.float--palette small { font-size: 12px; font-weight: 600; margin-left: 6px; color: var(--muted); }
.float--code { right: 2%; bottom: 0; background: var(--ink); color: #C9CBD3; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 1.7; border-color: var(--ink-3); animation-delay: -4s; }
.float--code b { color: var(--lime); font-weight: 400; }
.float--code i { color: #C9D9CC; font-style: normal; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg); margin: 0 -2vw; width: 104vw; }
.marquee__track { display: flex; gap: 44px; width: max-content; animation: marq 36s linear infinite; font-family: var(--f-display); font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.marquee__track span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--lime); font-size: .7em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- About strip ---------- */
.about-strip { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-art { position: relative; aspect-ratio: 4 / 4.2; border-radius: var(--r-lg); background: var(--ink); overflow: hidden; color: var(--paper); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: space-between; }
.about-art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -14%; border-radius: 50%; background: var(--accent); }
.about-art::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1; left: -10%; bottom: 18%; border-radius: 50%; border: 1.5px solid var(--line-light); }
.about-art__ring { position: absolute; width: 30%; aspect-ratio: 1; right: 10%; top: 50%; border-radius: 28px; background: var(--lime); transform: rotate(14deg); }
.about-art__big { position: relative; z-index: 1; font-family: var(--f-display); font-size: clamp(40px, 5.5vw, 72px); font-weight: 600; line-height: .95; letter-spacing: -.04em; max-width: 8ch; }
.about-art__big em { color: var(--lime); }
.about-art__small { position: relative; z-index: 1; font-size: 14px; color: var(--muted-light); max-width: 24ch; }
.ticks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ticks .ico { color: var(--accent); flex: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 88px); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--r-lg); overflow: hidden; }
.svc { position: relative; background: var(--ink); padding: 32px 28px 30px; min-height: 290px; display: flex; flex-direction: column; transition: background .35s var(--ease); isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.svc:hover::before { transform: scaleY(1); }
.svc__top { display: flex; justify-content: space-between; align-items: start; margin-bottom: auto; }
.svc__num { font-family: var(--f-display); font-size: 14px; color: var(--muted-light); transition: color .3s; }
.svc__ico { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--lime); transition: color .3s, border-color .3s, background .3s; }
.svc h3 { font-size: 24px; margin: 40px 0 12px; }
.svc p { color: var(--muted-light); font-size: 15px; transition: color .3s; }
.svc__go { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; opacity: .0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.svc:hover .svc__num, .svc:hover p { color: rgba(255,255,255,.88); }
.svc:hover .svc__ico { color: var(--ink); background: var(--white); border-color: var(--white); }
.svc:hover .svc__go { opacity: 1; transform: none; }
.svc-grid--light { background: var(--line); border-color: var(--line); }
.svc-grid--light .svc { background: var(--white); }
.svc-grid--light .svc p { color: var(--muted); }
.svc-grid--light .svc__ico { color: var(--accent); border-color: var(--line); }
.svc-grid--light .svc:hover { color: var(--white); }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.process__step { position: relative; padding: 28px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.process__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--f-display); font-weight: 600; margin-bottom: 26px; }
.process__step h3 { font-size: 22px; margin-bottom: 10px; }
.process__step p { color: var(--muted); font-size: 15px; }
.process__step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -17px; width: 18px; height: 1.5px; background: var(--ink); opacity: .25; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work-rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; }
.work-rail .work { flex: 0 0 min(420px, 82vw); scroll-snap-align: start; }
.work { display: flex; flex-direction: column; gap: 20px; }
.work__media { position: relative; border-radius: var(--r-lg); background: var(--paper-2); padding: 56px 24px 0; overflow: hidden; aspect-ratio: 4 / 3.1; transition: transform .45s var(--ease); }
.work:hover .work__media { transform: translateY(-6px); }
.work__media .mock { transition: transform .5s var(--ease); }
.work:hover .work__media .mock { transform: translateY(-8px) scale(1.02); }
.work__tag { position: absolute; top: 14px; left: 14px; background: var(--white); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; z-index: 2; box-shadow: var(--shadow); }
.work__title { font-size: 26px; }
.work__desc { color: var(--ink); margin-top: 6px; }
.work__meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.work__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.sec--dark .work__media { background: var(--ink-2); }
.sec--dark .work__desc { color: var(--paper); }
.sec--dark .work__meta { color: var(--muted-light); }
.sec--dark .work__link { color: var(--lime); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 10px 18px; font-weight: 500; color: var(--ink); transition: background .2s, color .2s; }
.filters button.is-on, .filters button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.work.is-hidden { display: none; }

/* Mockups (pure CSS) */
.mock { border-radius: 14px 14px 0 0; background: var(--m-lt); overflow: hidden; border: 1px solid rgba(0,0,0,.08); border-bottom: 0; box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); }
.mock__bar { height: 26px; background: #fff; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid rgba(0,0,0,.06); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #E3E1DC; }
.mock__bar i:first-child { background: #FF6A5C; } .mock__bar i:nth-child(2) { background: #FFC23D; } .mock__bar i:nth-child(3) { background: #3CCB6B; }
.mock__bar span { flex: 1; height: 12px; margin-left: 10px; border-radius: 6px; background: #F1EFEA; max-width: 60%; }
.mock__body { padding: 14px; min-height: 230px; }
.mock__nav { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mock__nav b { font-family: var(--f-display); font-size: 12px; color: var(--m-bg); margin-right: auto; letter-spacing: -.01em; white-space: nowrap; }
.mock__nav span { width: 28px; height: 6px; border-radius: 3px; background: var(--m-bg); opacity: .2; }
.mock__hero { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--m-bg); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.mock__hero em { display: block; height: 10px; border-radius: 5px; background: var(--m-lt); margin-bottom: 7px; width: 90%; }
.mock__hero em + em { width: 64%; opacity: .6; }
.mock__hero u { display: block; width: 50%; height: 18px; border-radius: 9px; background: var(--m-ac); margin-top: 14px; }
.mock__img { border-radius: 8px; background: linear-gradient(135deg, var(--m-ac), color-mix(in srgb, var(--m-ac) 40%, var(--m-lt))); min-height: 70px; }
.mock__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mock__grid s { display: block; aspect-ratio: 1 / 1.15; border-radius: 8px; background: color-mix(in srgb, var(--m-bg) 10%, #fff); text-decoration: none; position: relative; }
.mock__grid s::after { content: ""; position: absolute; left: 8%; right: 30%; bottom: 8%; height: 5px; border-radius: 3px; background: var(--m-bg); opacity: .25; }
.mock--portal .mock__body { display: grid; grid-template-columns: 70px 1fr; gap: 12px; }
.mock__side { background: var(--m-bg); border-radius: 10px; padding: 12px 10px; display: grid; gap: 10px; align-content: start; }
.mock__side b { height: 14px; border-radius: 4px; background: var(--m-ac); width: 70%; }
.mock__side span { height: 6px; border-radius: 3px; background: var(--m-lt); opacity: .35; }
.mock__main { display: grid; gap: 12px; align-content: start; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__kpis s { height: 46px; border-radius: 8px; background: #fff; border: 1px solid rgba(0,0,0,.06); position: relative; }
.mock__kpis s::before { content: ""; position: absolute; left: 10px; top: 12px; width: 40%; height: 8px; border-radius: 4px; background: var(--m-bg); opacity: .8; }
.mock__kpis s::after { content: ""; position: absolute; left: 10px; bottom: 10px; width: 60%; height: 5px; border-radius: 3px; background: var(--m-ac); }
.mock__chart { height: 130px; border-radius: 10px; background: #fff; border: 1px solid rgba(0,0,0,.06); display: flex; align-items: flex-end; gap: 8px; padding: 14px; }
.mock__chart i { flex: 1; border-radius: 4px 4px 0 0; background: var(--m-ac); opacity: .85; }
.mock__chart i:nth-child(odd) { background: var(--m-bg); opacity: .75; }
.mock__search { background: var(--m-bg); border-radius: 10px; padding: 26px 16px; display: flex; gap: 8px; margin-bottom: 12px; }
.mock__search span { flex: 1; height: 26px; border-radius: 13px; background: var(--m-lt); }
.mock__search u { width: 60px; height: 26px; border-radius: 13px; background: var(--m-ac); }

/* ---------- Packages ---------- */
.pk__tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 28px; scrollbar-width: none; width: fit-content; max-width: 100%; }
.pk__tabs::-webkit-scrollbar { display: none; }
.pk__tab { flex: none; border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.pk__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.pk__blurb { color: var(--muted); margin-bottom: 28px; max-width: 60ch; }
.pk__grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.pk__grid--4 { grid-template-columns: repeat(4, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--hot { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan__badge { position: absolute; top: 18px; right: 18px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.plan__cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.plan--hot .plan__cat { color: var(--muted-light); }
.plan__name { font-size: 26px; margin: 14px 0 6px; }
.plan__price { font-family: var(--f-display); font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 22px; }
.plan__price small { font-family: var(--f-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan--hot .plan__price small { color: var(--muted-light); }
.plan__list { list-style: none; padding: 22px 0 0; margin: 0 0 28px; display: grid; gap: 11px; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.plan--hot .plan__list { border-color: var(--line-light); }
.plan__list li { display: flex; gap: 10px; font-size: 15px; }
.plan__list .ico { color: var(--accent); flex: none; margin-top: 2px; }
.plan--hot .plan__list .ico { color: var(--lime); }
.plan--hot .btn--accent:hover { background: var(--white); color: var(--ink); }
.pk__note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { padding: 32px 28px; border-radius: var(--r-lg); border: 1px solid var(--line-light); }
.principle__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); margin-bottom: 26px; }
.principle h3 { font-size: 22px; margin-bottom: 10px; }
.principle p { color: var(--muted-light); }
.sec:not(.sec--dark) .principle { border-color: var(--line); background: var(--white); }
.sec:not(.sec--dark) .principle p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.faq__item[open] { border-color: var(--ink); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 24px; font-weight: 600; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .2s; }
.faq__item[open] .faq__ico { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq__item p { padding: 0 24px 24px; color: var(--muted); max-width: 64ch; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 28px; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta { padding: 0 0 var(--sec); }
.cta__in { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; }
.cta__in::before { content: ""; position: absolute; width: 420px; aspect-ratio: 1; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, var(--accent), transparent 65%); opacity: .55; }
.cta__in > * { position: relative; }
.cta__title { font-size: clamp(32px, 4.6vw, 56px); margin: 18px 0 18px; max-width: 18ch; }
.cta__title em { color: var(--lime); }
.cta__text { color: var(--muted-light); max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__card { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.contact__card::after { content: ""; position: absolute; width: 220px; aspect-ratio: 1; right: -70px; bottom: -70px; border-radius: 50%; background: var(--accent); opacity: .9; }
.contact__card h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 16px 0 14px; }
.contact__card h2 em { color: var(--lime); }
.contact__card > p { color: var(--muted-light); }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; position: relative; z-index: 1; }
.contact__list li { display: flex; gap: 14px; align-items: start; }
.contact__list .ci { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-light); display: grid; place-items: center; flex: none; color: var(--lime); }
.contact__list small { display: block; color: var(--muted-light); font-size: 13px; }
.contact__list a, .contact__list span { font-weight: 500; overflow-wrap: anywhere; }
.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field.has-error input, .field.has-error textarea { border-color: #C0392B; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__foot small { color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: var(--r); padding: 18px 20px; margin-bottom: 22px; font-weight: 500; }
.alert--ok { background: #E3F7EC; color: #0E6B3F; }
.alert--err { background: #FBE3DF; color: #9A2B0D; }
.alert ul { margin: 8px 0 0; padding-left: 20px; font-weight: 400; }

/* ---------- Page hero ---------- */
.phero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(55,104,85,.22), transparent 65%); pointer-events: none; }
.phero .wrap { position: relative; z-index: 1; }
.phero__title { font-size: clamp(40px, 6vw, 80px); letter-spacing: -.035em; line-height: 1.04; font-weight: 700; margin: 20px 0 22px; max-width: 14ch; }
.phero__title em { color: var(--accent); }
.phero__lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 58ch; }
.crumb { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumb a:hover { color: var(--ink); }

/* ---------- Service detail ---------- */
.svc-detail { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.svc-detail__intro { font-size: clamp(19px, 2vw, 24px); line-height: 1.5; margin-bottom: 40px; }
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0 0 56px; }
.deliver li { display: flex; gap: 12px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; }
.deliver .ico { color: var(--accent); flex: none; }
.side-card { position: sticky; top: 100px; background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 32px; }
.side-card h3 { font-size: 22px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 14px; }
.side-card p { color: var(--muted-light); margin-bottom: 22px; font-size: 15px; }
.side-card .btn + .btn { margin-top: 10px; }
.svc-icon-lg { width: 72px; height: 72px; border-radius: 20px; background: var(--accent); color: var(--white); display: grid; place-items: center; margin-bottom: 8px; }
.more-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.more-svc a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.more-svc a:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Values / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--muted); font-size: 17px; }
.prose p:first-child { color: var(--ink); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.legal { max-width: 780px; }
.legal h2 { font-size: 26px; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .updated { font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 96px) 0 32px; overflow: hidden; }
.footer__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(80px, 21vw, 300px); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); margin-bottom: clamp(40px, 6vw, 72px); user-select: none; }
.footer__big span { color: var(--accent); -webkit-text-stroke: 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.footer__brand p { color: var(--muted-light); margin: 20px 0 24px; max-width: 34ch; }
.footer__h { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.footer__grid > div > a { display: block; padding: 5px 0; color: var(--paper); opacity: .85; transition: opacity .2s, color .2s; overflow-wrap: anywhere; }
.footer__grid > div > a:hover { opacity: 1; color: var(--lime); }
.footer__addr { color: var(--muted-light); font-size: 15px; margin-top: 10px; max-width: 30ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .2s, color .2s; }
.socials a:hover { background: var(--paper); color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 28px; font-size: 14px; color: var(--muted-light); }
.footer__bottom a { margin-left: 20px; }
.footer__bottom a:hover { color: var(--paper); }

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #25D366; color: #06381B; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(18,19,24,.5); transition: transform .25s var(--ease); }
.wa:hover { transform: translateY(-3px); }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--sec) 0; }
.nf b { display: block; font-family: var(--f-display); font-size: clamp(120px, 24vw, 280px); line-height: .85; letter-spacing: -.06em; color: var(--accent); }
.nf h1 { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 14px; }
.nf p { color: var(--muted); margin-bottom: 30px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header__cta { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pk__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process__step::after { display: none; }
  .more-svc { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .burger { display: grid; }
  .nav {
    position: fixed; inset: 76px 0 0; background: var(--paper); padding: 20px var(--gutter) 40px;
    overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; margin: 0;
    display: flex; flex-direction: column; gap: 24px;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 18px 4px; font-size: 22px; font-family: var(--f-display); font-weight: 600; border-radius: 0; }
  .nav__link.is-active { background: none; color: var(--accent); }
  .nav__link:hover { background: none; }
  .drop-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
  .drop-toggle .ico { transition: transform .3s; }
  .has-drop.is-open .drop-toggle .ico { transform: rotate(180deg); }
  .drop { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; padding: 0 0 14px; grid-template-columns: 1fr; display: none; }
  .has-drop:hover .drop, .has-drop:focus-within .drop { transform: none; }
  .has-drop.is-open .drop { display: grid; }
  .drop::before { display: none; }
  .nav__cta-m { display: inline-flex; align-self: flex-start; }
  body.menu-open { overflow: hidden; }

  .hero__in, .about-strip, .faq-layout, .contact, .svc-detail, .split { grid-template-columns: 1fr; }
  .stage { justify-self: center; max-width: 520px; }
  .work-grid, .principles { grid-template-columns: repeat(2, 1fr); }
  .pk__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__in { grid-template-columns: 1fr; align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 20px; }
}

@media (max-width: 640px) {
  .header__in { height: 68px; }
  .logo img { height: 32px; }
  .nav { inset: 68px 0 0; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__word { font-size: 20px; }
  .hero__title .ul { white-space: normal; }
  .float--check { width: 180px; padding: 12px 14px; }
  .float--code { font-size: 11px; padding: 12px 14px; }
  .float--palette { display: none; }
  .svc-grid, .work-grid, .principles, .pk__grid, .pk__grid--4, .process, .more-svc, .deliver, .ticks { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc h3 { margin-top: 28px; }
  .svc__go { opacity: 1; transform: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom a { margin: 0 20px 0 0; }
  .wa span { display: none; }
  .wa { padding: 14px; }
  .pk__tabs { border-radius: 16px; }
  .hero__actions .btn { flex: 1 1 auto; }
}
