/* KAPTEN STUDIO — one stylesheet. Mobile-first, RTL-first, one dark palette.
   Palette matches the Fiverr gallery assets (navy #0B121B / #1B2F45, teal #2FE0A8). */
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/heebo-hebrew.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/heebo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0B121B;
  --bg-2: #101A26;
  --surface: #16212F;
  --surface-2: #1B2F45;
  --line: rgba(255,255,255,.09);
  --text: #EEF3F8;
  --muted: #A9B6C4;
  --accent: #2FE0A8;
  --accent-2: #1FBF8C;
  --on-accent: #0B121B;
  --danger: #FF7A7A;
  --radius: 14px;
  --wrap: 1120px;
  --header-h: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Heebo', 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.6; direction: rtl; text-align: start; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* a link inside running text must be distinguishable without colour (WCAG 1.4.1) */
p a:not(.btn), li a:not(.btn):not(.nav a) { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem); text-align: center; margin-bottom: 1.2em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,18,27,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 800; font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.logo-mark { flex: none; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav { display: none; }
.nav.open { display: flex; position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); flex-direction: column; padding: 20px 16px; gap: 8px; overflow: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav li a { display: block; padding: 12px 10px; color: var(--text); font-weight: 600; border-radius: 10px; }
.nav li a:hover, .nav li a[aria-current="page"] { background: var(--surface); text-decoration: none; }
@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .nav, .nav.open { display: flex; position: static; flex-direction: row; align-items: center; gap: 14px; padding: 0; background: transparent; }
  .nav ul { flex-direction: row; gap: 2px; }
  .nav li a { padding: 8px 12px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .08s, background .15s, border-color .15s; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #4CE9B8; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.cta-row.center { justify-content: center; }

/* hero */
.hero { padding: 40px 0 28px; background: radial-gradient(120% 90% at 85% 0%, #1B2F45 0%, var(--bg) 60%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .02em; margin-bottom: 8px; }
.lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: var(--muted); max-width: 40ch; }
.hero-points { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: '✓'; color: var(--accent); margin-inline-end: 6px; font-weight: 800; }
.hero-visual { display: grid; justify-items: center; gap: 10px; }
.phone { width: min(280px, 72vw); aspect-ratio: 9 / 19; border-radius: 34px; padding: 10px; background: linear-gradient(160deg, #2A3B52, #0E1621); box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); position: relative; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; background: #0B121B; border-radius: 12px; z-index: 2; }
.phone-video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; background: #000; }
@media (min-width: 880px) { .hero { padding: 64px 0 48px; } .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero-page { padding: 34px 0 10px; }
.hero-page .lead { max-width: 60ch; }
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }

/* sections */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-2); }
@media (min-width: 880px) { .section { padding: 68px 0; } }
.cards { display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps p { margin: 0; color: var(--muted); }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { flex-direction: column; } }

/* packages */
.tiers { display: grid; gap: 14px; margin-top: 8px; }
.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.tier-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tier-tag { position: absolute; top: -12px; inset-inline-start: 18px; background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.price { font-size: 2rem; font-weight: 800; margin: 4px 0 0; }
.price-from { font-size: .95rem; font-weight: 500; color: var(--muted); margin-inline-end: 6px; }
.tier-list { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 6px; flex: 1; }
.tier-list li::before { content: '•'; color: var(--accent); margin-inline-end: 8px; }
@media (min-width: 880px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

/* portfolio */
.works { display: grid; gap: 22px; }
.work-frame { aspect-ratio: 9 / 16; max-width: 360px; margin-inline: auto; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.work-frame video { width: 100%; height: 100%; object-fit: cover; }
.work h3 { margin: 12px 0 4px; text-align: center; }
.work p { text-align: center; margin: 0 0 4px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin-inline: auto; }
.ba-grid figure { margin: 0; }
.ba-grid video { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; border-radius: 14px; background: #000; border: 1px solid var(--line); }
.ba-grid figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 6px; }
@media (min-width: 640px) { .works { grid-template-columns: repeat(2, 1fr); align-items: start; } }
@media (min-width: 1000px) { .works { grid-template-columns: repeat(3, 1fr); } .work-ba { grid-column: span 1; } .ba-grid { max-width: 360px; } }

/* faq */
.faq { display: grid; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.4rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* prose + related */
.prose h2 { text-align: start; margin-top: 1.2em; font-size: 1.35rem; }
.prose p { color: var(--muted); }
.related { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.related a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface); }
.related a:hover { border-color: var(--accent); text-decoration: none; }

/* form */
.section-quote { background: var(--bg-2); }
.lead-form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; font-size: .95rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 12px 14px; min-height: 48px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #7C8A99; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(47,224,168,.25); }
.invalid { border-color: var(--danger) !important; }
/* honeypot: visually hidden IN PLACE (clip), never off-canvas — an off-canvas box
   reads as horizontal overflow to any layout probe and to some screen readers */
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.form-status { min-height: 1.4em; margin: 0; color: var(--accent); text-align: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 90px; background: var(--bg); }
.footer-grid { display: grid; gap: 26px; }
.brand-foot { margin-bottom: 8px; }
.foot-h { font-size: 1rem; text-align: start; margin: 0 0 10px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-list a { color: var(--muted); }
.foot-bottom { margin-top: 24px; }
@media (min-width: 880px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }

/* sticky mobile CTA */
.sticky-cta { position: fixed; bottom: 0; inset-inline: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,18,27,.92); backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 40; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 880px) { .sticky-cta { display: none; } }
body.quote .sticky-cta, body.thanks .sticky-cta { display: none; }
body.quote .site-footer, body.thanks .site-footer { padding-bottom: 40px; }
