/* =========================================================
   jEST — Creative marketing agency
   ========================================================= */

/* Fredoka with Č Ć Đ (č ć đ) added for Serbian Latin — modified under the SIL OFL */
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-600.woff") format("woff");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-700.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito.woff") format("woff");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #080808;
  --y-ink: #F4DF1E;
  --y-line: #F4DF1E;
  --ghost-border: rgba(244, 223, 30, .55);
  --hover-fill: #FFFFFF;
  --hover-ink: #080808;
  --glass: rgba(8, 8, 8, .78);
  --mock-1: #1a1a1a;
  --mock-2: #0d0d0d;
  --mock-win: #0b0b0b;
  --shadow: rgba(0, 0, 0, .5);
  --ghost-num: rgba(255, 255, 255, .1);
  --err: #ff8a7d;
  --yellow: #F4DF1E;
  --yellow-2: #FFE93A;
  --black: #080808;
  --ink: #0E0E0E;
  --surface: #121212;
  --surface-2: #181818;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.62);
  --dim: rgba(255, 255, 255, 0.45);
  --faint: rgba(255, 255, 255, 0.32);

  --f-display: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --f-body: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1440px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --nav-h: 80px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--black); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--dim);
  display: flex; align-items: center; gap: 14px; margin: 0;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--y-line); }
.display {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; line-height: .92; margin: 0;
}
.h1 { font-size: clamp(56px, 9.7vw, 140px); }
.h2 { font-size: clamp(44px, 6.2vw, 96px); line-height: .95; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; margin: 0; }
.y { color: var(--y-ink); }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: var(--muted); margin: 0; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--yellow); --b-fg: var(--black);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; background: var(--b-bg); color: var(--b-fg);
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; line-height: 1;
  border: 1px solid var(--b-bg); border-radius: 999px; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover-fill);
  transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--hover-ink); }
.btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--y-ink); border-color: var(--ghost-border); }
.btn--ghost::after { background: var(--yellow); }
.btn--ghost:hover { color: var(--black); border-color: var(--yellow); }
.btn--lg { padding: 22px 38px; font-size: 13px; }
.btn--sm { padding: 12px 20px; font-size: 11px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .3s;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--y-ink); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__logo { width: min(420px, 62vw); transform: scale(.06); animation: loaderPop .9s .05s var(--ease-out) forwards; }
.loader__tag { font-size: 11px; letter-spacing: .36em; text-transform: uppercase; color: var(--dim); opacity: 0; animation: fadeUp .6s .45s var(--ease) forwards; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); animation: bar 1.2s var(--ease) forwards; }
@keyframes loaderPop { 0% { transform: scale(.06) rotate(-8deg); } 70% { transform: scale(1.04) rotate(1deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .45s var(--ease);
}
.nav.is-scrolled { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { width: 86px; flex: none; transition: transform .4s var(--ease); }
.nav__logo:hover { transform: rotate(-4deg) scale(1.04); }
.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
  transition: color .3s; padding: 6px 0;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--y-line); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--y-ink); }
.nav__right { display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; color: var(--dim); transition: background .3s, color .3s; }
.lang button[aria-pressed="true"] { background: var(--yellow); color: var(--black); }
.lang button:not([aria-pressed="true"]):hover { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-out); visibility: hidden;
}
.menu-open .mmenu { clip-path: inset(0); visibility: visible; }
.mmenu ul { list-style: none; margin: 0; padding: 0; }
.mmenu li { border-bottom: 1px solid var(--line); }
.mmenu li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; }
.mmenu li a[aria-current="page"] { color: var(--y-ink); }
.mmenu__foot { display: grid; gap: 18px; justify-items: start; }
.mmenu__foot a { color: var(--muted); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(80px, 9vw, 140px) 0; border-top: 1px solid var(--line); position: relative; }
.section--flush { border-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(44px, 5vw, 72px); flex-wrap: wrap; }
.sec-head .eyebrow { margin-bottom: 26px; }

/* ---------- Hero ---------- */
.hero { min-height: max(720px, 100svh); display: flex; flex-direction: column; padding-top: var(--nav-h); position: relative; overflow: hidden; }
.hero__main { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 40px; position: relative; z-index: 2; }
.hero__title { max-width: 880px; }
.hero__title .eyebrow { margin-bottom: 34px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.is-ready .hero h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: .08s; }
.hero h1 .line:nth-child(3) > span { transition-delay: .16s; }
.hero h1 .line:nth-child(4) > span { transition-delay: .24s; }
.hero__side { width: 300px; flex: none; display: grid; justify-items: end; gap: 26px; text-align: right; padding-bottom: 10px; }
.hero__side p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.hero__bar { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.hero__bar span, .hero__bar a { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--faint); }
.hero__bar a:hover { color: var(--y-ink); }
.hero__socials { display: flex; gap: 26px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { width: 1px; height: 26px; background: linear-gradient(var(--yellow) 50%, transparent 50%); background-size: 100% 200%; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

.badge {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 6vh); width: clamp(150px, 15vw, 220px); aspect-ratio: 1;
  z-index: 1; opacity: 0; transform: scale(.7) rotate(-20deg); transition: opacity 1s .5s var(--ease), transform 1.2s .5s var(--ease-out);
}
.is-ready .badge { opacity: 1; transform: none; }
.badge__ring { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge__ring text { font-family: var(--f-body); font-weight: 700; font-size: 11.6px; letter-spacing: .3em; text-transform: uppercase; fill: var(--muted); }
.badge__j { position: absolute; inset: 0; display: grid; place-items: center; }
.badge__j svg { width: 30%; color: var(--yellow); transition: transform .5s var(--ease-out); }
.badge:hover .badge__j svg { transform: rotate(-12deg) scale(1.08); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge__ring { animation: none; } }

.hero__glow {
  position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -22vw; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(244, 223, 30, .10), transparent 70%);
}

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); color: var(--black); overflow: hidden; padding: 20px 0; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee__group span { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1; white-space: nowrap; }
.marquee__group svg { width: 22px; height: 22px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.svc { position: relative; padding: 44px 48px 48px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 0 18px; transition: background .5s var(--ease); }
.svc:nth-child(even) { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--line); }
.svc__n { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--y-ink); padding-top: 12px; }
.svc h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; margin: 0 0 12px; transition: color .35s; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; max-width: 520px; }
.svc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.svc li { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; transition: border-color .3s, color .3s; }
.svc:hover h3 { color: var(--y-ink); }
.svc:hover li { border-color: rgba(244, 223, 30, .35); color: var(--text); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 0 0 0 40px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat b { display: block; font-family: var(--f-display); font-weight: 700; color: var(--y-ink); font-size: clamp(56px, 5.6vw, 84px); line-height: 1; letter-spacing: -.01em; }
.stat span { display: block; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.section--stats { padding: clamp(64px, 7vw, 96px) 0; }

/* ---------- Work cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: block; position: relative; background: var(--surface); border-radius: 4px; overflow: hidden; text-align: left; width: 100%; color: inherit; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), opacity .6s; }
.card:hover .card__media img { transform: scale(1.045); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)); opacity: 0; transition: opacity .5s; }
.card:hover .card__media::after { opacity: 1; }
.card__view {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0); transition: transform .5s var(--ease-out);
}
.card:hover .card__view, .card:focus-visible .card__view { transform: translate(-50%, -50%) scale(1); }
.card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 24px; }
.card__meta { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.card__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; margin: 6px 0 4px; }
.card__tag { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.card__by { margin: 10px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--y-ink); opacity: .85; }
.sec-note { margin: 18px 0 0; max-width: 46ch; font-size: 15px; color: var(--muted); }
.card__arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .35s, border-color .35s, color .35s; }
.card__arrow svg { width: 14px; height: 14px; }
.card:hover .card__arrow { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.grid-2 .card__media { aspect-ratio: 4 / 3; }

/* Browser mock for live websites */
.bmock { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 9% 9% 0; background:
  radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--acc, #F4DF1E) 34%, transparent), transparent 60%),
  linear-gradient(160deg, var(--mock-1), var(--mock-2)); }
.bmock__win { flex: 1; background: var(--mock-win); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px var(--shadow); transition: transform 1s var(--ease-out); }
.card:hover .bmock__win { transform: translateY(-8px); }
.bmock__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.bmock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.bmock__url { margin-left: 10px; flex: 1; font-size: 11px; color: var(--dim); background: var(--line); border-radius: 6px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bmock__page { flex: 1; padding: 8% 8%; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; }
.bmock__page b { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 40px); line-height: 1; color: var(--text); }
.bmock__page em { font-style: normal; font-size: 12px; color: var(--muted); max-width: 26ch; }
.bmock__lines { display: grid; gap: 8px; margin-top: auto; padding-bottom: 8%; }
.bmock__lines span { height: 8px; border-radius: 4px; background: var(--line); }
.bmock__lines span:nth-child(1) { width: 70%; background: color-mix(in srgb, var(--acc, #F4DF1E) 55%, transparent); }
.bmock__lines span:nth-child(2) { width: 90%; }
.bmock__lines span:nth-child(3) { width: 55%; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.filter { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; transition: all .3s var(--ease); display: inline-flex; gap: 8px; align-items: center; }
.filter sup { font-size: 10px; color: var(--faint); top: 0; }
.filter:hover { color: var(--text); border-color: var(--text); }
.filter[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.filter[aria-pressed="true"] sup { color: rgba(0, 0, 0, .55); }
.filters__count { margin-left: auto; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.card.is-out { display: none; }
.card--wide { grid-column: 1 / -1; }
.card--wide .card__media img { object-position: 50% 22%; }
.filter[hidden] { display: none; }
.card--wide .card__media { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .card--wide .card__media { aspect-ratio: 4 / 3; } }
.card.is-in { animation: cardIn .6s var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Case viewer ---------- */
.case { position: fixed; inset: 0; z-index: 250; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity .45s var(--ease), transform .6s var(--ease-out), visibility .45s; }
.case.is-open { opacity: 1; visibility: visible; transform: none; }
.case__top { position: sticky; top: 0; z-index: 3; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.case__top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case__crumb { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case__crumb b { color: var(--text); }
.case__ctrl { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.case__head { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 4vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.case__head h2 { font-size: clamp(44px, 6.5vw, 104px); }
.case__info { display: grid; gap: 24px; }
.case__info p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.case__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.case__facts dt { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.case__facts dd { margin: 0; font-size: 15px; }
.case__gallery { display: grid; gap: 16px; padding-bottom: 40px; }
.case__gallery img { width: 100%; height: auto; border-radius: 4px; background: var(--surface); }
.case__gallery .bmock-wrap { position: relative; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; }
.case__next { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 56px 0 72px; border-top: 1px solid var(--line); margin-top: 24px; text-align: left; width: 100%; }
.case__next span { font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); display: block; margin-bottom: 10px; }
.case__next b { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 5vw, 72px); line-height: 1; transition: color .3s; }
.case__next:hover b { color: var(--y-ink); }
.case__next .icon-btn { width: 72px; height: 72px; }
.case__next:hover .icon-btn { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
body.no-scroll { overflow: hidden; }

/* ---------- Our brand (home) ---------- */
.own { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.own__big { position: relative; overflow: hidden; border-radius: 4px; min-height: 520px; }
.own__big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.own__big:hover img { transform: scale(1.03); }
.own__col { display: flex; flex-direction: column; gap: 20px; }
.own__text { background: var(--yellow); color: var(--black); border-radius: 4px; padding: clamp(28px, 3vw, 44px); display: grid; gap: 18px; }
.own__text h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.02; margin: 0; }
.own__text p { margin: 0; font-size: 15px; color: rgba(0, 0, 0, .72); }
.own__text .link-arrow { color: var(--black); }
.own__small { position: relative; border-radius: 4px; overflow: hidden; min-height: 260px; flex: 1; display: block; }
.own__small img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA ---------- */
.cta { padding: clamp(100px, 12vw, 180px) 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(64px, 11vw, 170px); line-height: .9; }
.cta__side { display: grid; gap: 22px; justify-items: end; text-align: right; margin-left: auto; }
.cta__side a.mail { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2vw, 30px); border-bottom: 2px solid var(--y-line); line-height: 1.2; transition: color .3s; }
.cta__side a.mail:hover { color: var(--y-ink); }
.cta__j { position: absolute; right: -4vw; bottom: -10vw; width: 26vw; max-width: 380px; color: rgba(244, 223, 30, .04); pointer-events: none; transform: rotate(-12deg); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { width: 120px; margin-bottom: 20px; }
.footer__logo img, .nav__logo img { width: 100%; height: auto; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; max-width: 30ch; }
.footer h4 { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 15px; color: var(--muted); transition: color .3s; }
.footer ul a:hover { color: var(--y-ink); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.footer__bottom a:hover { color: var(--y-ink); }

/* ---------- Page header ---------- */
.phead { padding: calc(var(--nav-h) + clamp(56px, 7vw, 110px)) 0 clamp(56px, 6vw, 90px); position: relative; overflow: hidden; }
.phead .eyebrow { margin-bottom: 30px; }
.phead h1 { font-size: clamp(60px, 10vw, 150px); }
.phead .lead { max-width: 560px; margin-top: 30px; }

/* ---------- About ---------- */
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-cols p { margin: 0; }
.about-cols p:first-child { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--text); }
.about-cols p:last-child { color: var(--muted); font-size: 17px; line-height: 1.75; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle { padding: 8px 40px 8px; border-left: 1px solid var(--line); }
.principle:first-child { padding-left: 0; border-left: 0; }
.principle h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); color: var(--y-ink); margin: 0 0 14px; line-height: 1.15; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border-radius: 4px; padding: 32px 28px 36px; position: relative; overflow: hidden; transition: background .4s, transform .5s var(--ease-out); }
.step:hover { background: var(--yellow); color: var(--black); transform: translateY(-6px); }
.step:hover p, .step:hover .step__n { color: rgba(0, 0, 0, .7); }
.step__n { font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--ghost-num); margin-bottom: 36px; transition: color .4s; }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; margin: 0 0 10px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); transition: color .4s; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
.member__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--surface-2); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease), transform 1.1s var(--ease-out); }
.member:hover .member__photo img { filter: none; transform: scale(1.03); }
.member__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.member:hover .member__photo::after { transform: scaleX(1); }
.member h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; margin: 22px 0 2px; }
.member__role { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--y-ink); }
.member p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.member__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14px; }
.member__links a { color: var(--muted); border-bottom: 1px solid var(--line-2); }
.member__links a:hover { color: var(--y-ink); border-color: var(--y-ink); }
.team-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.team-wrap .lead { margin-top: 24px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(48px, 7vw, 96px); }
.form { display: grid; gap: 40px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.field { display: grid; gap: 10px; position: relative; }
.label { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.label em { font-style: normal; color: var(--faint); letter-spacing: .1em; text-transform: none; font-weight: 500; }
.input {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0 14px;
  font-size: 18px; color: var(--text); outline: none; border-radius: 0; transition: border-color .3s;
}
.input::placeholder { color: var(--faint); }
.input:focus { border-color: var(--y-line); }
textarea.input { resize: vertical; min-height: 140px; line-height: 1.6; }
select.input { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23F4DF1E' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
select.input option { background: var(--ink); color: var(--text); }
.field.is-invalid .input { border-color: var(--err); }
.err { font-size: 13px; color: var(--err); display: none; }
.field.is-invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .3s var(--ease); user-select: none; }
.chip span::before { content: "+"; font-weight: 700; color: var(--y-ink); transition: transform .3s; }
.chip:hover span { border-color: var(--text); color: var(--text); }
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.chip input:checked + span::before { content: "✓"; color: var(--black); }
.chip input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 3px; }
.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px dashed var(--line-2); border-radius: 4px; cursor: pointer; transition: border-color .3s, background .3s; }
.drop:hover, .drop.is-over { border-color: var(--y-line); background: rgba(244, 223, 30, .04); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__ic { width: 44px; height: 44px; flex: none; border-radius: 50%; background: rgba(244, 223, 30, .12); color: var(--y-ink); display: grid; place-items: center; }
.drop__ic svg { width: 18px; height: 18px; }
.drop b { display: block; font-size: 15px; }
.drop small { display: block; font-size: 13px; color: var(--dim); }
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.files span { font-size: 13px; background: var(--surface-2); border-radius: 999px; padding: 6px 12px; color: var(--muted); }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--dim); margin: 0; max-width: 40ch; }
.form__status { display: none; padding: 26px 28px; border-radius: 4px; background: var(--surface); border-left: 3px solid var(--y-line); }
.form__status.is-shown { display: block; }
.form__status h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; margin: 0 0 6px; }
.form__status p { margin: 0; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.aside { display: grid; gap: 44px; align-content: start; }
.aside h4 { margin: 0 0 18px; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.citem { display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.citem svg { width: 16px; height: 16px; color: var(--y-ink); margin-top: 4px; }
.citem a, .citem b { font-size: 16px; font-weight: 600; display: block; }
.citem a:hover { color: var(--y-ink); }
.citem small { display: block; font-size: 13px; color: var(--dim); }
.socials-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); transition: color .3s, padding .3s; }
.socials-list a svg { width: 14px; height: 14px; }
.socials-list a:hover { color: var(--y-ink); padding-left: 8px; }
.rcard { background: var(--yellow); color: var(--black); padding: 32px; border-radius: 4px; }
.rcard span { font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.rcard b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 40px; line-height: 1.05; margin: 10px 0 8px; }
.rcard p { margin: 0; font-size: 14px; color: rgba(0, 0, 0, .7); }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--nav-h) var(--gutter); }
.nf b { font-family: var(--f-display); font-weight: 700; font-size: clamp(120px, 24vw, 320px); line-height: .9; color: var(--y-ink); display: block; }
.nf p { color: var(--muted); margin: 18px 0 36px; font-size: 18px; }


/* ---------- Pricing ---------- */
.svc-side { display: grid; gap: 22px; justify-items: start; max-width: 420px; }
.pr-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pr-jump a { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px; transition: all .3s var(--ease); }
.pr-jump a:hover { color: var(--black); background: var(--yellow); border-color: var(--yellow); }
.pr-group { scroll-margin-top: var(--nav-h); }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pgrid--4 .pcard { padding: 32px 24px 28px; }
.pgrid--4 .pcard__name { min-height: 2.2em; }
.pgrid--4 .pcard__desc { min-height: 4.65em; }
.pgrid--4 .pcard__price b { font-size: clamp(38px, 3.2vw, 48px); }
.pcard { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 34px 30px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; transition: border-color .4s var(--ease), transform .5s var(--ease-out); }
.pcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pcard--feat { border-color: var(--ghost-border); background: linear-gradient(180deg, rgba(244, 223, 30, .07), transparent 46%), var(--surface); }
.pcard--feat:hover { border-color: var(--y-line); }
.pcard__badge { position: absolute; top: -12px; left: 30px; background: var(--yellow); color: var(--black); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pcard__name { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1.1; margin: 0; }
.pcard__desc { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; min-height: 3.1em; }
.pcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.pcard__price b { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 4vw, 56px); line-height: 1; color: var(--text); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pcard--feat .pcard__price b { color: var(--y-ink); }
.pcard__from, .pcard__unit { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.pcard__was { font-size: 18px; color: var(--faint); font-weight: 600; }
.pcard__time { margin: -8px 0 0; font-size: 13px; color: var(--dim); }
.pcard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; flex: 1; }
.pcard__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--text); }
.pcard__list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 15px; height: 15px; border-radius: 50%; background: rgba(244, 223, 30, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23F4DF1E' stroke-width='2'/%3E%3C/svg%3E") center/11px no-repeat; }
.pcard__cta { align-self: flex-start; margin-top: 6px; }

.combo-wrap { padding: 0 0 clamp(80px, 9vw, 140px); }
.combo { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); padding: clamp(32px, 4.5vw, 64px); background: var(--yellow); color: var(--black); border-radius: 6px; position: relative; overflow: hidden; }
.combo__tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; border: 1.5px solid var(--black); border-radius: 999px; padding: 6px 12px; margin-bottom: 22px; }
.combo h2 { font-size: clamp(48px, 6vw, 88px); line-height: .95; margin-bottom: 20px; }
.combo__main p { margin: 0; font-size: 17px; line-height: 1.65; color: rgba(0, 0, 0, .74); max-width: 48ch; }
.combo__side { display: flex; flex-direction: column; gap: 18px; align-self: end; }
.combo .pcard__price { border-top-color: rgba(0, 0, 0, .18); }
.combo .pcard__price b { color: var(--black); }
.combo .pcard__from, .combo .pcard__unit, .combo .pcard__time { color: rgba(0, 0, 0, .6); }
.combo .pcard__was { color: rgba(0, 0, 0, .45); }
.combo .pcard__list li { color: var(--black); }
.combo .pcard__list li::before { background: rgba(0, 0, 0, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23080808' stroke-width='2'/%3E%3C/svg%3E") center/11px no-repeat; }
.btn--dark { --b-bg: var(--black); --b-fg: var(--yellow); align-self: flex-start; }
.btn--dark::after { background: #fff; }
.btn--dark:hover { color: var(--black); }

.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.term { padding-top: 24px; border-top: 2px solid var(--y-line); }
.term h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.term p { margin: 0; color: var(--muted); font-size: 15px; }
.pr-note { margin: 48px 0 0; max-width: 70ch; font-size: 14px; color: var(--dim); }

.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--f-body); font-size: 20px; font-weight: 400; color: var(--y-ink); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.faq summary:hover { color: var(--y-ink); }
.faq details p { margin: 0 0 26px; max-width: 64ch; color: var(--muted); font-size: 16px; line-height: 1.7; }

@media (max-width: 1100px) {
  .pgrid, .pgrid--4 { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .combo { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1240px) and (min-width: 901px) { .nav__links { gap: 22px; } .nav__right { gap: 14px; } }
@media (max-width: 680px) {
  .pgrid, .pgrid--4 { grid-template-columns: 1fr; gap: 28px; }
  .terms { grid-template-columns: 1fr; }
  .pcard { padding: 30px 22px 26px; }
  .pcard__desc, .pgrid--4 .pcard__desc, .pgrid--4 .pcard__name { min-height: 0; }
}



/* ---------- Long-form documents (privacy) ---------- */
.phead--doc h1 { font-size: clamp(52px, 8vw, 120px); }
.doc { display: grid; grid-template-columns: minmax(0, 720px); }
.doc__body { font-size: 17px; line-height: 1.75; color: var(--muted); }
.doc__body .doc__intro { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--text); margin: 0 0 12px; }
.doc__body h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--text); margin: 52px 0 14px; text-wrap: balance; }
.doc__body h3 { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin: 26px 0 8px; }
.doc__body p { margin: 0 0 14px; }
.doc__body ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.doc__body li::marker { color: var(--y-ink); }
.doc__body strong { color: var(--text); font-weight: 700; }
.doc__body a { color: var(--text); border-bottom: 1px solid var(--y-line); }
.doc__body a:hover { color: var(--y-ink); }

/* ---------- For agencies ---------- */
.ag-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.ag-facts { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }

/* ---------- Crew card (about) ---------- */
.crew { grid-column: 1 / -1; display: flex; gap: 24px; align-items: flex-start; padding: 30px 32px; background: var(--yellow); color: var(--black); border-radius: 4px; margin-top: 8px; }
.crew__plus { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: var(--yellow); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1; }
.crew h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; margin: 4px 0 8px; }
.crew p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(0, 0, 0, .74); max-width: 60ch; }

/* footer legal */
.footer__legal { display: inline-flex; gap: 22px; flex-wrap: wrap; }
.form__note a { color: var(--text); border-bottom: 1px solid var(--y-line); }
@media (max-width: 640px) { .crew { flex-direction: column; padding: 26px 22px; } }


/* ---------- Client logos ---------- */
.clients { padding-block: 44px; border-bottom: 1px solid var(--line); }
.clients__in { display: flex; align-items: center; gap: 28px 56px; flex-wrap: wrap; }
.clients__t { margin: 0; flex: none; max-width: 15ch; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; line-height: 1.6; color: var(--dim); }
.clients__row { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; min-width: 0; }
.clients__row img { width: auto; max-width: 180px; opacity: .62; transition: opacity .3s; }
.clients__row img:hover { opacity: 1; }
html.theme-light .clients__row img { filter: invert(1); opacity: .7; }
@media (max-width: 900px) { .clients__in { display: block; } .clients__t { max-width: none; margin-bottom: 22px; } .clients__row { justify-content: flex-start; gap: 22px 32px; } .clients__row img { transform: scale(.82); transform-origin: left center; } }

/* ---------- Free review offer ---------- */
.audit { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding: clamp(32px, 5vw, 72px); border: 1px solid var(--y-line); border-radius: 6px; background: radial-gradient(90% 120% at 100% 0%, rgba(244, 223, 30, .09), transparent 60%), var(--surface); }
.audit h2 { font-size: clamp(36px, 4.1vw, 60px); line-height: .98; margin: 22px 0 22px; }
.audit .lead { max-width: 54ch; }
.audit__side { display: grid; gap: 28px; justify-items: start; }
.audit__list { margin: 0; padding: 0; list-style: none; counter-reset: a; display: grid; gap: 12px; width: 100%; }
.audit__list li { counter-increment: a; display: flex; gap: 14px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.audit__list li::before { content: counter(a, decimal-leading-zero); font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--y-ink); min-width: 22px; }
@media (max-width: 1000px) { .audit { grid-template-columns: 1fr; } }

/* ---------- Booking (contact) ---------- */
.booking { padding: 28px; border: 1px solid var(--line-2); border-radius: 4px; display: grid; gap: 14px; justify-items: start; }
.booking h4 { margin: 0; }
.booking p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Floating chat ---------- */
.chat { position: fixed; z-index: 95; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat__btn { width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .35s var(--ease-out); }
.chat__btn:hover { transform: scale(1.06) rotate(-6deg); }
.chat__btn svg { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease-out); }
.chat__btn svg:last-child { width: 18px; height: 18px; opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat__btn svg:first-child { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat__btn svg:last-child { opacity: 1; transform: none; }
.chat__menu { width: 230px; padding: 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); display: grid; gap: 8px; animation: fadeUp .3s var(--ease-out); }
.chat__menu p { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.chat__menu small { font-size: 13px; color: var(--dim); text-align: center; user-select: all; }
.chat__opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #fff; transition: transform .25s var(--ease), filter .25s; }
.chat__opt svg { width: 20px; height: 20px; flex: none; }
.chat__opt:hover { transform: translateX(3px); filter: brightness(1.08); }
.chat__opt--wa { background: #1FA855; }
.chat__opt--vb { background: #7360F2; }
.menu-open .chat, .case-open .chat { display: none; }
@media print { .chat { display: none; } }

/* ---------- Light theme (html.theme-light) ---------- */
html.theme-light {
  color-scheme: light;
  --bg: #FFFFFF;
  --ink: #F6F5F0;
  --surface: #F5F4EF;
  --surface-2: #ECEAE2;
  --line: rgba(8, 8, 8, 0.09);
  --line-2: rgba(8, 8, 8, 0.16);
  --text: #0A0A0A;
  --muted: rgba(8, 8, 8, 0.68);
  --dim: rgba(8, 8, 8, 0.55);
  --faint: rgba(8, 8, 8, 0.42);
  --y-ink: #6E5E00;
  --y-line: #D9C300;
  --ghost-border: rgba(8, 8, 8, .28);
  --hover-fill: #080808;
  --hover-ink: #F4DF1E;
  --glass: rgba(255, 255, 255, .82);
  --mock-1: #F1EFE6;
  --mock-2: #E6E3D7;
  --mock-win: #FFFFFF;
  --shadow: rgba(40, 36, 0, .14);
  --ghost-num: rgba(8, 8, 8, .1);
  --err: #C0392B;
}
/* big yellow words become a highlighter stroke on white */
html.theme-light .display .y, html.theme-light .h3 .y {
  color: var(--text);
  background: linear-gradient(transparent 56%, var(--yellow) 56%, var(--yellow) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
html.theme-light .stat b { color: var(--text); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .12em; text-underline-offset: .08em; }
html.theme-light .pcard--feat .pcard__price b, html.theme-light .nf b { color: var(--text); }
html.theme-light .pcard--feat { background: linear-gradient(180deg, rgba(244, 223, 30, .22), transparent 46%), var(--surface); border-color: var(--y-line); }
html.theme-light .pcard__list li::before { background: rgba(244, 223, 30, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23080808' stroke-width='2'/%3E%3C/svg%3E") center/11px no-repeat; }
html.theme-light .combo .pcard__list li::before { background-color: rgba(0, 0, 0, .12); }
html.theme-light select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23080808' stroke-width='1.6'/%3E%3C/svg%3E"); }
html.theme-light .drop__ic { background: rgba(244, 223, 30, .4); color: var(--text); }
html.theme-light .badge__j svg, html.theme-light .cta__j { color: var(--yellow); }
html.theme-light .cta__j { opacity: .16; }
html.theme-light .hero__glow { background: radial-gradient(closest-side, rgba(244, 223, 30, .28), transparent 70%); }
html.theme-light .member__photo img { filter: grayscale(1) contrast(1.02); }
html.theme-light .lang button[aria-pressed="true"] { color: var(--black); }
html.theme-light .step:hover .step__n { color: rgba(0, 0, 0, .5); }
html.theme-light .marquee, html.theme-light .own__text, html.theme-light .rcard, html.theme-light .combo { box-shadow: none; }

/* logo swap */
.logo-ink { display: none; }
html.theme-light .logo-ink { display: block; }
html.theme-light .logo-color { display: none; }

/* theme toggle */
.theme-btn { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.theme-btn:hover { color: var(--text); border-color: var(--text); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .i-sun { display: none; }
html.theme-light .theme-btn .i-sun { display: block; }
html.theme-light .theme-btn .i-moon { display: none; }
.mmenu__row { display: flex; align-items: center; gap: 14px; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease !important; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero h1 .line > span { transform: none !important; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr 1fr; }
  .aside > .rcard { grid-column: 1 / -1; }
  .team-wrap { grid-template-columns: 1fr; gap: 40px; }
  .own { grid-template-columns: 1fr; }
  .own__big { min-height: 0; aspect-ratio: 3 / 2; }
  .own__col { display: grid; grid-template-columns: 1fr 1fr; }
  .case__head { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav__links, .nav .lang, .nav__right > .btn { display: none; }
  .burger { display: block; }
  .nav__logo { width: 74px; }
  .hero__main { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .hero__side { width: 100%; max-width: 420px; justify-items: start; text-align: left; }
  .badge { top: calc(var(--nav-h) + 24px); width: 120px; }
  .services { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(even) { padding: 34px 0 36px; border-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; gap: 28px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:first-child { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .principle:first-child { border-top: 0; padding-top: 0; }
  .cta__side { justify-items: start; text-align: left; margin-left: 0; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .aside { grid-template-columns: 1fr; }
  .own__col { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .hero__bar .hero__socials { gap: 16px; }
  .hero__bar .scroll-cue { display: none; }
  .hero__bar { justify-content: flex-start; }
  .filters__count { width: 100%; margin-left: 0; }
  .case__facts { grid-template-columns: 1fr 1fr; }
  .case__next .icon-btn { width: 56px; height: 56px; }
  .card__body { padding: 18px 18px 20px; }
  .mmenu li a { font-size: 38px; }
  .rcard b { font-size: 34px; }
}
