/* Navinacom — design system. System fonts only, no external resources. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --bg-2: #f3f1ec;
  --surface: #ffffff;
  --ink: #12131a;
  --ink-2: #3d404d;
  --muted: #5d606c;
  --line: #e4e1da;
  --line-2: #d4d0c7;
  --accent: #ff5b3a;          /* coral: buttons use dark text on it (AA) */
  --accent-ink: #12131a;
  --accent-text: #c2361b;     /* coral for text on light bg (AA) */
  --accent-soft: #ffe7e0;
  --indigo: #4b4bff;
  --indigo-soft: #e9e9ff;
  --ok: #138a5a;
  --dark: #12131a;            /* dark bands stay dark in both themes */
  --dark-2: #1c1e28;
  --on-dark: #f4f2ed;
  --on-dark-muted: #b4b6c2;
  --shadow-sm: 0 1px 2px rgba(18, 19, 26, .06), 0 2px 8px rgba(18, 19, 26, .04);
  --shadow: 0 2px 4px rgba(18, 19, 26, .04), 0 12px 32px -8px rgba(18, 19, 26, .14);
  --shadow-lg: 0 4px 8px rgba(18, 19, 26, .04), 0 32px 64px -16px rgba(18, 19, 26, .24);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 11vw, 136px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Hebrew", "Arial Hebrew", sans-serif;
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Hebrew", "Arial Hebrew", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --dirx: 1;                  /* flips horizontal motion in RTL */
}
[dir="rtl"] { --dirx: -1; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f15;
    --bg-2: #14161e;
    --surface: #181a24;
    --ink: #f1efea;
    --ink-2: #cfd0d8;
    --muted: #a3a5b2;
    --line: #2a2d3a;
    --line-2: #383c4c;
    --accent-text: #ff8a70;
    --accent-soft: #3a1c16;
    --indigo-soft: #23234a;
    --ok: #45d39a;
    --dark: #08090d;
    --dark-2: #151722;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 12px 32px -8px rgba(0, 0, 0, .6);
    --shadow-lg: 0 32px 64px -16px rgba(0, 0, 0, .7);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[lang="he"] body, body:lang(he) { font-size: 18px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.18; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -.012em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-inline-start: 1.2em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: #9b9bff; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.todo { display: inline-block; background: #fff3a8; color: #3a3000; border: 1px dashed #c9a800; padding: 0 .4em; border-radius: 6px; font: 600 .82em/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
[dir="rtl"] .eyebrow { letter-spacing: .02em; font-size: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--ink-2); max-width: 40em; line-height: 1.6; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
[dir="rtl"] .serif { font-family: inherit; font-style: normal; font-weight: inherit; }
.hl { color: var(--accent-text); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--surface); --b-fg: var(--ink); --b-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font: 650 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn--accent { --b-bg: var(--accent); --b-fg: var(--accent-ink); --b-bd: var(--accent); box-shadow: 0 8px 24px -10px rgba(255, 91, 58, .7); }
.btn--accent:hover { --b-bg: #ff6f51; border-color: #ff6f51; box-shadow: 0 14px 32px -10px rgba(255, 91, 58, .75); }
.btn--ghost { --b-bg: transparent; }
.btn--dark { --b-bg: var(--ink); --b-fg: var(--bg); --b-bd: var(--ink); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.06rem; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .93rem; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(calc(4px * var(--dirx))); }
[dir="rtl"] .btn:hover .arrow, [dir="rtl"] .link-arrow:hover .arrow { transform: translateX(-4px) scaleX(-1); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; color: var(--accent-text); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.is-scrolled .site-header { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 780 1.22rem/1 var(--font-display); letter-spacing: -.03em; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo .dot { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.site-nav > a:not(.btn) { position: relative; padding: 8px 12px; border-radius: 10px; font-size: .95rem; font-weight: 550; color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s; }
.site-nav > a:not(.btn):hover { color: var(--ink); background: var(--bg-2); }
.site-nav > a[aria-current="page"] { color: var(--ink); }
.site-nav .btn { margin-inline-start: 10px; }
.lang-switch { display: inline-flex; align-items: center; margin-inline-start: 8px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.lang-switch > * { padding: 5px 10px; border-radius: 999px; text-decoration: none; line-height: 1; }
.lang-switch [aria-current] { background: var(--ink); color: var(--bg); }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.nav-toggle { display: none; margin-inline-start: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; content: ""; }
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }
.nav-toggle em { font-style: normal; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px var(--pad) 28px; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .site-nav > a:not(.btn) { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .btn { margin: 18px 0 0; }
  .lang-switch { align-self: flex-start; margin: 18px 0 0; font-size: .9rem; }
  html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; flex-wrap: wrap; box-shadow: none; border: 0; padding: 0; background: none; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-header { height: auto; position: static; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-block: 12px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { font-size: 1.12rem; color: var(--ink-2); }
.section-cta { margin-top: clamp(40px, 6vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.section-cta p { margin: 0; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 82% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(36% 46% at 62% 72%, color-mix(in srgb, var(--indigo) 16%, transparent), transparent 70%);
}
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .38em; }
.hero h1 .serif { display: inline-block; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .enter { animation: enter .9s var(--ease) both; }
  .enter.e1 { animation-delay: .08s; } .enter.e2 { animation-delay: .18s; } .enter.e3 { animation-delay: .28s; } .enter.e4 { animation-delay: .4s; } .enter.e5 { animation-delay: .5s; }
  @keyframes enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  .enter-visual { animation: enterVisual 1.1s .2s var(--ease) both; }
  @keyframes enterVisual { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
}

/* ---------- Hero visual: old site -> new site ---------- */
.morph { position: relative; max-width: 560px; margin-inline: auto; width: 100%; padding: 18px 4% 40px 0; }
[dir="rtl"] .morph { padding: 18px 0 40px 4%; }
.browser { position: relative; aspect-ratio: 16 / 11.5; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 6px; height: 36px; padding-inline: 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser-bar i:nth-child(1) { background: #ff6159; } .browser-bar i:nth-child(2) { background: #ffbd2e; } .browser-bar i:nth-child(3) { background: #28c941; }
.browser-bar b { flex: 1; height: 20px; margin-inline: 14px 30px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; padding-inline: 10px; gap: 6px; }
.browser-bar b::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--ok); }
.browser-bar b::after { content: ""; width: 36%; height: 5px; border-radius: 3px; background: var(--line-2); }
.screen { position: absolute; inset: 36px 0 0; }
.screen svg { width: 100%; height: 100%; }
.screen--new { clip-path: inset(0 0 0 0); }
.scanline { position: absolute; z-index: 2; top: 36px; bottom: 0; width: 3px; left: 0; opacity: 0; background: var(--accent); box-shadow: 0 0 24px 6px color-mix(in srgb, var(--accent) 55%, transparent); }
.morph-label { position: absolute; z-index: 4; top: 48px; inset-inline-end: 14px; padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; background: var(--ink); color: var(--bg); }
.morph-label { display: grid; }
.morph-label span { grid-area: 1 / 1; text-align: center; }
.morph-label .l-old { opacity: 0; }

.phone { position: absolute; z-index: 5; bottom: 0; inset-inline-end: 0; width: 25%; aspect-ratio: 9 / 18.5; border-radius: 22px; background: var(--dark); padding: 6px; box-shadow: var(--shadow-lg); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; background: var(--surface); }
.phone-screen svg { width: 100%; height: 100%; }
.phone::before { content: ""; position: absolute; z-index: 2; top: 10px; left: 50%; width: 30%; height: 6px; margin-left: -15%; border-radius: 6px; background: var(--dark); }

.chip { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .84rem; font-weight: 650; white-space: nowrap; color: var(--ink); }
[dir="rtl"] .chip { padding: 9px 10px 9px 14px; }
.chip i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.chip i svg { width: 14px; height: 14px; }
.chip.c1 { top: 30%; inset-inline-start: -6%; }
.chip.c2 { top: 62%; inset-inline-start: -2%; }
.chip.c3 { top: 4px; inset-inline-start: 34%; }

/* Default (no motion): show the finished new site */
.screen--old { visibility: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .js .screen--old { visibility: visible; }
  .js .screen--new { animation: reveal-ltr 9s 1.2s var(--ease) infinite both; }
  [dir="rtl"].js .screen--new, .js [dir="rtl"] .screen--new { animation-name: reveal-rtl; }
  .js .scanline { animation: scan-ltr 9s 1.2s var(--ease) infinite both; }
  [dir="rtl"].js .scanline { animation-name: scan-rtl; }
  .js .morph-label .l-old { animation: label-old 9s 1.2s infinite both; }
  .js .morph-label .l-new { animation: label-new 9s 1.2s infinite both; }
  .js .chip { animation: chip 9s 1.2s var(--ease) infinite both; }
  .js .chip.c2 { animation-delay: 1.35s; }
  .js .chip.c3 { animation-delay: 1.5s; }
  .js .phone { animation: float 6s ease-in-out infinite; }
  .js .old-blink { animation: blink 1s steps(2) infinite; }
  .js .new-pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

  @keyframes reveal-ltr { 0%, 16% { clip-path: inset(0 100% 0 0); } 34%, 88% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes reveal-rtl { 0%, 16% { clip-path: inset(0 0 0 100%); } 34%, 88% { clip-path: inset(0 0 0 0); } 96%, 100% { clip-path: inset(0 0 0 100%); } }
  @keyframes scan-ltr { 0%, 16% { left: 0; opacity: 0; } 18% { opacity: 1; } 33% { opacity: 1; } 34% { left: calc(100% - 3px); opacity: 0; } 100% { left: calc(100% - 3px); opacity: 0; } }
  @keyframes scan-rtl { 0%, 16% { left: calc(100% - 3px); opacity: 0; } 18% { opacity: 1; } 33% { opacity: 1; } 34% { left: 0; opacity: 0; } 100% { left: 0; opacity: 0; } }
  @keyframes label-old { 0%, 24% { opacity: 1; } 26%, 94% { opacity: 0; } 96%, 100% { opacity: 1; } }
  @keyframes label-new { 0%, 24% { opacity: 0; } 26%, 94% { opacity: 1; } 96%, 100% { opacity: 0; } }
  @keyframes chip { 0%, 30% { opacity: 0; transform: translateY(10px) scale(.94); } 36%, 86% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px) scale(.97); } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes blink { 50% { opacity: 0; } }
  @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
}

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 0; padding: 22px var(--pad); list-style: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.strip li { display: inline-flex; align-items: center; gap: 10px; }
.strip li svg { width: 20px; height: 20px; color: var(--accent-text); }

/* ---------- Cards / grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); transition: transform .4s var(--ease); }
.icon svg { width: 26px; height: 26px; }
.card:hover .icon { transform: rotate(-6deg) scale(1.06); }
.icon--indigo { background: var(--indigo-soft); color: var(--indigo); }
@media (prefers-color-scheme: dark) { .icon--indigo { color: #a5a5ff; } }

.problem .tag { display: inline-block; margin-bottom: 14px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.problem .fix { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: .93rem; font-weight: 600; color: var(--ink); }
.problem .fix svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--ok); }

/* Services */
.service { display: flex; flex-direction: column; padding: 34px 30px 30px; }
.service .num { position: absolute; top: 26px; inset-inline-end: 28px; font: 700 .8rem/1 ui-monospace, Consolas, monospace; color: var(--muted); }
.service ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; }
.service li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.service li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--ok); }
.service .link-arrow { margin-top: auto; }
.service--featured { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.service--featured p, .service--featured li { color: var(--on-dark-muted); }
.service--featured .num { color: var(--on-dark-muted); }
.service--featured .icon { background: rgba(255, 91, 58, .16); color: var(--accent); }
.service--featured .link-arrow { color: #ff8a70; }
.service--featured:hover { border-color: var(--dark); }
.badge { position: absolute; top: -12px; inset-inline-start: 28px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .74rem; font-weight: 750; letter-spacing: .04em; }

.price-line { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 30px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.price-line p { margin: 0; font-size: 1.18rem; font-weight: 650; }
.price-line p span { display: block; font-size: .98rem; font-weight: 450; color: var(--ink-2); margin-top: 2px; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 2px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--indigo)); transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform 1.6s var(--ease); }
[dir="rtl"] .steps::after { transform-origin: right; background: linear-gradient(-90deg, var(--accent), var(--indigo)); }
.js .steps.reveal:not(.is-visible)::after { --progress: 0; }
.step { position: relative; counter-increment: step; }
.step::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); font: 750 1.15rem/1 var(--font-display); box-shadow: 0 0 0 8px var(--bg); transition: background-color .3s, color .3s; }
.step:hover::before { background: var(--ink); color: var(--bg); }
.step p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.step .when { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
[dir="rtl"] .step .when { letter-spacing: 0; font-size: .86rem; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 32px); }
.why-head .section-head { margin-bottom: 28px; }
.why-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.why-item .icon { margin: 0; }
.why-item h3 { margin-bottom: .3em; }

/* Portfolio */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.work-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.work-shot { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 20px; background: linear-gradient(135deg, var(--bg-2), color-mix(in srgb, var(--indigo) 10%, var(--bg-2))); border-bottom: 1px solid var(--line); text-align: center; }
.work-shot svg.ph { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.work-shot .todo { position: relative; z-index: 1; }
.work-body { padding: 26px 28px 28px; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.work-meta span { padding: 4px 11px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.work-card--next { justify-content: center; align-items: flex-start; padding: 40px 34px; background: transparent; border: 2px dashed var(--line-2); }
.work-card--next:hover { border-color: var(--accent); box-shadow: none; }
.work-card--next .plus { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); transition: transform .5s var(--ease); }
.work-card--next:hover .plus { transform: rotate(90deg); }
.work-card--next .plus svg { width: 24px; height: 24px; }

/* Portfolio concepts: design examples with a desktop + phone mockup (pure HTML/CSS, scales with the card) */
.portfolio-note { margin: 0 0 36px; max-width: 46em; color: var(--muted); font-size: 1rem; }
.section-head .portfolio-note { margin: 14px 0 0; font-size: .98rem; color: var(--muted); }
.work-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 28px; padding: 32px 34px; }
.work-card--wide .plus { margin: 0; }
.work-card--wide h3 { margin-bottom: .3em; }
@media (max-width: 760px) {
  .work-card--wide { grid-template-columns: 1fr; padding: 32px 26px; }
  .work-card--wide .plus { margin-bottom: 20px; }
  .work-card--wide .btn { margin-top: 22px; justify-self: start; }
}
.work-shot--concept {
  display: block; padding: 0; aspect-ratio: 16 / 11; overflow: hidden; container-type: inline-size; text-align: start;
  background: linear-gradient(140deg, color-mix(in srgb, var(--c2) 16%, var(--bg-2)), color-mix(in srgb, var(--c1) 22%, var(--bg-2)));
}
.concept-badge { position: absolute; z-index: 4; top: 12px; inset-inline-start: 12px; padding: 4px 11px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .74rem; font-weight: 750; letter-spacing: .04em; }
[dir="rtl"] .concept-badge { letter-spacing: 0; font-size: .8rem; }
.zoom-btn { position: absolute; z-index: 4; top: 9px; inset-inline-end: 9px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 650 .78rem/1 var(--font); cursor: pointer; box-shadow: var(--shadow-sm); }
.zoom-btn svg { width: 15px; height: 15px; flex: none; }
.zoom-btn:hover { border-color: var(--ink); }
.zoom-btn[hidden] { display: none; }
.js .work-shot--concept.is-zoomable { cursor: zoom-in; }
.work-card.concept-card { padding: 0; }

/* Concept colour sets (fixed in both themes: they show the client's site, not ours) */
.c-elektro { --c1: #ffd23f; --c1-ink: #1a1a1a; --c2: #14213d; --c2-ink: #ffffff; --c2-text: #14213d; --soft: #fff4c2; --art1: #14213d; --art2: #2c4377; --hero: #f7f8fb; }
.c-shk     { --c1: #ff8a3d; --c1-ink: #1a1a1a; --c2: #0b5cab; --c2-ink: #ffffff; --c2-text: #0b5cab; --soft: #e3f0fc; --art1: #0b5cab; --art2: #38a3e8; --hero: #f4f8fc; }
.c-dental  { --c1: #ccfbf1; --c1-ink: #134e4a; --c2: #0f766e; --c2-ink: #ffffff; --c2-text: #0f766e; --soft: #e6fffa; --art1: #14b8a6; --art2: #0f766e; --hero: #f3fbfa; }
.c-physio  { --c1: #fde9b8; --c1-ink: #5c3a0a; --c2: #15803d; --c2-ink: #ffffff; --c2-text: #15803d; --soft: #dcfce7; --art1: #34c26a; --art2: #15803d; --hero: #f5faf5; }

.mock { position: absolute; inset: 0; }
.mk-root { position: absolute; inset: 0; color: #1b1e26; font-family: var(--font); line-height: 1.3; }
.mk-root svg { display: block; }
.mk-desk { position: absolute; top: 13cqi; inset-inline-start: 5cqi; width: 76cqi; height: 62cqi; font-size: 1.5cqi; border-radius: 1.4cqi; background: #fff; overflow: hidden; box-shadow: 0 .3em .8em rgba(18,19,26,.08), 0 2.4em 4em -1.4em rgba(18,19,26,.35); }
.mk-bar { display: flex; align-items: center; gap: .4em; height: 2.2em; padding-inline: .9em; background: #eef0f3; border-bottom: 1px solid #e1e4e9; }
.mk-bar i { width: .62em; height: .62em; border-radius: 50%; background: #c9ced6; }
.mk-bar b { flex: 1; height: 1.35em; margin-inline: .9em 4em; border-radius: 1em; background: #fff; font-size: .68em; font-weight: 500; line-height: 1.98em; color: #6b7280; text-align: center; direction: ltr; overflow: hidden; white-space: nowrap; }
.mk-notice { display: flex; align-items: center; justify-content: center; gap: .5em; padding: .45em 1em; background: var(--c1); color: var(--c1-ink); font-size: .7em; font-weight: 700; white-space: nowrap; overflow: hidden; }
.mk-notice svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.mk-nav { display: flex; align-items: center; gap: 1.4em; padding: .85em 1.6em; border-bottom: 1px solid #eef0f3; background: #fff; }
.mk-logo { display: flex; align-items: center; gap: .45em; font-size: .95em; font-weight: 800; letter-spacing: -.01em; color: #111; white-space: nowrap; }
.mk-logo i { display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: .42em; background: var(--c2); color: var(--c1); }
.mk-logo svg { width: 65%; height: 65%; fill: currentColor; }
.mk-links { display: flex; gap: 1.3em; margin-inline-start: auto; font-size: .7em; font-weight: 600; color: #4b5563; white-space: nowrap; }
.mk-btn { padding: .55em 1em; border-radius: .5em; background: var(--c2); color: var(--c2-ink); font-size: .7em; font-weight: 700; white-space: nowrap; }
.mk-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.6em; align-items: center; padding: 1.9em 1.6em 1.6em; background: var(--hero); }
.mk-hero > div { min-width: 0; }
.mk-kicker { display: block; font-size: .64em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c2-text); }
[dir="rtl"] .mk-kicker { letter-spacing: 0; font-size: .74em; }
.mk-h { display: block; margin: .3em 0 .38em; font-size: 1.9em; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: #10131a; }
[dir="rtl"] .mk-h { letter-spacing: 0; line-height: 1.18; }
.mk-p { display: block; margin-bottom: 1.15em; font-size: .78em; line-height: 1.45; color: #4b5563; }
.mk-actions { display: flex; flex-wrap: wrap; gap: .6em; }
.mk-cta { display: inline-block; padding: .75em 1.2em; border-radius: .55em; background: var(--c2); color: var(--c2-ink); font-size: .78em; font-weight: 750; white-space: nowrap; box-shadow: 0 .5em 1.1em -.5em var(--c2); }
.mk-cta--ghost { background: #fff; color: #111; border: 1px solid #d1d5db; box-shadow: none; }
.mk-cta--block { display: block; margin-top: .9em; text-align: center; }
.mk-art { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .8; border-radius: 1em; background: linear-gradient(140deg, var(--art1), var(--art2)); overflow: hidden; }
.mk-art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.1); inset-inline-end: -18%; top: -22%; }
.mk-art svg { position: relative; width: 58%; height: auto; }
.mk-float { position: absolute; bottom: .8em; inset-inline-start: .8em; padding: .5em .8em; border-radius: .6em; background: #fff; color: #111; font-size: .64em; font-weight: 750; white-space: nowrap; box-shadow: 0 .6em 1.4em -.6em rgba(0,0,0,.45); }
.mk-float b, .mk-trust b { color: var(--c2-text); }
.mk-trust { display: flex; justify-content: space-between; gap: 1em; margin: 0 1.6em; padding: .85em 0; border-bottom: 1px solid #eef0f3; font-size: .66em; font-weight: 700; color: #374151; white-space: nowrap; overflow: hidden; }
.mk-trust .mk-stars { color: #f5a400; letter-spacing: .05em; }
.mk-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; padding: 1.1em 1.6em; }
.mk-tile { display: block; padding: .9em; border: 1px solid #e5e7eb; border-radius: .8em; background: #fff; }
.mk-tile i { display: grid; place-items: center; width: 1.9em; height: 1.9em; margin-bottom: .6em; border-radius: .5em; background: var(--soft); color: var(--c2-text); }
.mk-tile svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mk-tile b { display: block; font-size: .76em; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tile s { display: block; height: .38em; width: 85%; margin-top: .55em; border-radius: .2em; background: #e9ebef; }
.mk-tile s + s { width: 60%; margin-top: .35em; }

.mk-phone { position: absolute; bottom: -7cqi; inset-inline-end: 5cqi; width: 23cqi; height: 47cqi; padding: .9cqi; font-size: 1.1cqi; border-radius: 3.4cqi; background: #14151b; box-shadow: 0 2.6em 4em -1.4em rgba(18,19,26,.55); }
.mk-screen { position: relative; height: 100%; padding-top: 1.9em; border-radius: 2.6cqi; background: #fff; overflow: hidden; }
.mk-screen::before { content: ""; position: absolute; top: .55em; left: 50%; width: 5.4em; height: 1.1em; margin-left: -2.7em; border-radius: 1em; background: #14151b; }
.mk-phone .mk-notice { padding: .45em .6em; font-size: .66em; }
.mk-phone .mk-nav { justify-content: space-between; padding: .8em 1em; }
.mk-phone .mk-logo { font-size: .88em; }
.mk-burger { display: grid; gap: .22em; }
.mk-burger i { display: block; width: 1.2em; height: .16em; border-radius: .1em; background: #111; }
.mk-phone .mk-hero { grid-template-columns: 1fr; padding: 1.2em 1em; }
.mk-phone .mk-h { font-size: 1.55em; }
.mk-phone .mk-trust { margin: 0 1em; font-size: .62em; }
.mk-phone .mk-services { grid-template-columns: 1fr 1fr; gap: .6em; padding: .9em 1em; }
.mk-phone .mk-tile { padding: .7em; }
.mk-dock { position: absolute; inset-inline: 0; bottom: 0; display: flex; gap: .5em; padding: .7em; background: #fff; border-top: 1px solid #e5e7eb; }
.mk-dock span { flex: 1; padding: .7em .4em; border-radius: .5em; border: 1px solid #d1d5db; font-size: .72em; font-weight: 750; text-align: center; white-space: nowrap; }
.mk-dock .on { background: var(--c2); border-color: var(--c2); color: var(--c2-ink); }
@media (prefers-reduced-motion: no-preference) {
  .mk-phone, .mk-desk { transition: transform .6s var(--ease); }
  .concept-card:hover .mk-phone { transform: translateY(-1.6cqi); }
  .concept-card:hover .mk-desk { transform: translateY(-.6cqi); }
}

/* Enlarged view (native <dialog>, created by main.js) */
.zoom-dialog { width: min(1100px, 94vw, calc(86vh * 16 / 11)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.zoom-dialog::backdrop { background: rgba(10, 11, 16, .74); }
.zoom-dialog .work-shot { border: 1px solid var(--line); border-radius: var(--radius); }
.zoom-close { position: absolute; z-index: 5; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.zoom-close svg { width: 20px; height: 20px; }
.work-card--next h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.work-card--next p { margin-bottom: 26px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font: 650 1.08rem/1.4 var(--font-display); border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5b3a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--ease), background-color .25s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer { padding: 0 24px 24px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .answer { animation: faqIn .4s var(--ease); }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* CTA band */
.cta-band { padding-block: clamp(24px, 5vw, 64px) var(--section); }
.cta-box { position: relative; overflow: hidden; isolation: isolate; padding: clamp(44px, 7vw, 88px) clamp(28px, 6vw, 80px); border-radius: 28px; background: var(--dark); color: var(--on-dark); text-align: center; }
.cta-box::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(30% 40% at 25% 30%, rgba(255, 91, 58, .38), transparent 70%), radial-gradient(30% 40% at 78% 75%, rgba(75, 75, 255, .35), transparent 70%); }
@media (prefers-reduced-motion: no-preference) { .cta-box::before { animation: drift 14s ease-in-out infinite alternate; } @keyframes drift { to { transform: translate(6%, -4%) rotate(8deg); } } }
.cta-box h2 { max-width: 16em; margin-inline: auto; color: var(--on-dark); }
.cta-box h2 .hl { color: #ff8a70; }
.cta-box p { max-width: 36em; margin: 0 auto 32px; color: var(--on-dark-muted); font-size: 1.12rem; }
.cta-box .btn--ghost { --b-fg: var(--on-dark); --b-bd: rgba(255, 255, 255, .28); }
.cta-box .btn--ghost:hover { border-color: var(--on-dark); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-note { margin: 22px 0 0 !important; font-size: .92rem !important; }

/* Page hero (subpages, legal) */
.page-hero { padding-block: clamp(56px, 9vw, 112px) clamp(32px, 5vw, 56px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 60%; height: 160%; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 70% 40%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
[dir="rtl"] .page-hero::before { inset: -30% auto auto -20%; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); max-width: 15em; }
.page-body { padding-block: 0 var(--section); }

/* Prose (legal) */
.prose { padding-bottom: var(--section); }
.prose > * { max-width: 780px; }
.prose h2 { font-size: 1.35rem; letter-spacing: -.01em; margin: 2.2em 0 .6em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 .5em; }
.prose p, .prose li, .prose address { color: var(--ink-2); }
.prose address { font-style: normal; padding: 20px 24px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); line-height: 1.8; }
.prose a { color: var(--accent-text); }
.prose li { margin-bottom: .4em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: var(--section); }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 650; font-size: .95rem; }
.opt { font-weight: 450; color: var(--muted); }
input[type="text"], input[type="email"], input[type="url"], textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink);
  font: 400 1rem/1.5 var(--font); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:hover, textarea:hover { border-color: var(--muted); }
input:focus, textarea:focus { outline: none; border-color: var(--indigo); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--indigo) 18%, transparent); }
input[type="url"] { direction: ltr; }
[dir="rtl"] input[type="url"], [dir="rtl"] input[type="email"] { text-align: right; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); font-weight: 550; font-size: .95rem; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice span::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); transition: border .2s; }
.choice:hover span { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.choice input:checked + span::before { border: 6px solid var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 26px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent-text); }
.form-card .btn[type="submit"] { width: 100%; }
.form-foot { margin: 14px 0 0; text-align: center; font-size: .86rem; color: var(--muted); }
.aside-card { padding: clamp(26px, 3vw, 36px); border-radius: 24px; background: var(--dark); color: var(--on-dark); position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card h2 { font-size: 1.4rem; color: var(--on-dark); }
.aside-steps { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 18px; counter-reset: a; }
.aside-steps li { position: relative; padding-inline-start: 46px; color: var(--on-dark-muted); font-size: .96rem; counter-increment: a; }
.aside-steps li::before { content: counter(a); position: absolute; inset-inline-start: 0; top: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: var(--on-dark); font-weight: 700; font-size: .85rem; }
.aside-steps strong { display: block; color: var(--on-dark); }
.direct { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 6px; }
.direct p { margin: 0 0 4px; color: var(--on-dark-muted); font-size: .9rem; }
.direct a { color: #ff8a70; font-weight: 650; word-break: break-all; }
.direct strong { font-weight: 600; font-size: .95rem; }
.reassure { display: flex; gap: 10px; align-items: center; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .9rem; color: var(--on-dark); }
.reassure svg { width: 20px; height: 20px; flex-shrink: 0; color: #45d39a; }

/* Thank you */
.thanks { text-align: center; padding-block: clamp(72px, 12vw, 150px); }
.thanks .lead { margin-inline: auto; }
.thanks h1 { margin-inline: auto; }
.check { width: 92px; height: 92px; margin: 0 auto 32px; color: var(--ok); }
.check circle { stroke-dasharray: 160; stroke-dashoffset: 0; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .check circle { animation: draw .9s var(--ease) both; }
  .check path { animation: draw .5s .7s var(--ease) both; }
  @keyframes draw { from { stroke-dashoffset: 160; } }
}
.thanks .hero-actions { justify-content: center; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-block: 72px 32px; font-size: .95rem; }
.site-footer .logo { color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-top p { margin: 18px 0 0; max-width: 30em; }
.site-footer h2 { margin: 6px 0 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); font-weight: 700; }
[dir="rtl"] .site-footer h2 { letter-spacing: 0; font-size: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover, .site-footer a[aria-current] { color: var(--on-dark); text-decoration: underline; }
.footer-cta .btn { margin-top: 4px; width: 100%; max-width: 300px; min-height: 46px; padding-block: 10px; line-height: 1.3; }
.footer-cta a.mail { display: inline-block; margin-top: 14px; word-break: break-all; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: .86rem; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: block; position: fixed; z-index: 40; inset: auto 0 0 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .sticky-cta .btn { width: 100%; min-height: 52px; }
  .show-sticky .sticky-cta { transform: none; }
  html:not(.js) .sticky-cta { transform: none; position: sticky; }
  body.has-sticky .site-footer { padding-bottom: 104px; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
.js .steps.reveal { opacity: 1; transform: none; }
.js .steps.reveal .step { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .steps.reveal.is-visible .step { opacity: 1; transform: none; }
.js .steps.reveal.is-visible .step:nth-child(2) { transition-delay: .25s; }
.js .steps.reveal.is-visible .step:nth-child(3) { transition-delay: .5s; }
.js .steps.reveal.is-visible .step:nth-child(4) { transition-delay: .75s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .morph { max-width: 520px; }
  .grid-3 { grid-template-columns: 1fr; max-width: 620px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .why { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-4, .work-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step::before { grid-row: span 3; margin: 0; }
  .form-row.two, .choices { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .chip { font-size: .74rem; padding: 7px 10px 7px 8px; }
  .chip i { width: 20px; height: 20px; }
  .chip.c1 { inset-inline-start: -2%; }
  .chip.c3 { inset-inline-start: 28%; }
  .price-line { padding: 22px; }
  .price-line .btn { width: 100%; }
  .card { padding: 26px 22px; }
}

/* ---------- Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .steps.reveal .step { opacity: 1 !important; transform: none !important; }
  .js .steps.reveal:not(.is-visible)::after { --progress: 1; }
}

@media print {
  .site-header, .sticky-cta, .site-footer, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}

/* SVG fills that follow the theme */
.f-surface { fill: var(--surface); } .f-bg2 { fill: var(--bg-2); } .f-line { fill: var(--line); } .f-line2 { fill: var(--line-2); }
.f-ink { fill: var(--ink); } .f-accent { fill: var(--accent); } .f-soft { fill: var(--accent-soft); } .f-isoft { fill: var(--indigo-soft); } .f-indigo { fill: var(--indigo); }
.s-line2 { stroke: var(--line-2); }
[dir="rtl"] .screen svg, [dir="rtl"] .phone-screen svg { transform: scaleX(-1); }
[dir="rtl"] .screen svg .t, [dir="rtl"] .phone-screen svg .t { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }

/* Small phones: keep the long CTA label on one line */
@media (max-width: 420px) {
  .hero-actions .btn, .cta-actions .btn, .sticky-cta .btn, .price-line .btn, .work-card--next .btn, .why-head .btn, .form-card .btn[type="submit"] { padding-inline: 14px; font-size: .97rem; letter-spacing: -.01em; }
  .hero-actions .btn .arrow, .cta-actions .btn .arrow, .sticky-cta .btn .arrow, .price-line .btn .arrow, .work-card--next .btn .arrow, .why-head .btn .arrow, .form-card .btn .arrow { display: none; }
}
