/* ============================================================================
   ClinicAI — landing site stylesheet
   Palette: deep indigo + copper · Hebrew RTL · Noto Sans Hebrew

   RTL rules followed throughout:
     · logical properties only (margin-inline, padding-inline, inset-inline)
     · no letter-spacing on Hebrew text
     · shadows kept symmetric (0 Y blur) so they never point the wrong way
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  /* Brand — deep cobalt indigo */
  --primary: 224 64% 36%;
  --primary-bright: 224 70% 52%;
  --primary-soft: 224 60% 95%;

  /* Accent — copper */
  --accent: 18 65% 50%;
  --accent-bright: 18 80% 60%;
  --accent-soft: 18 70% 95%;

  /* Ink — dark surfaces */
  --ink-900: 224 46% 7%;
  --ink-800: 224 42% 10%;
  --ink-700: 224 35% 14%;
  --ink-600: 224 30% 19%;
  --ink-500: 224 24% 26%;

  /* Light surfaces */
  --bg: 220 30% 97%;
  --surface: 0 0% 100%;
  --sunken: 220 22% 93%;

  /* Text */
  --fg: 224 35% 12%;
  --fg-muted: 220 10% 38%;
  --fg-subtle: 220 8% 52%;
  --on-dark: 220 25% 94%;
  --on-dark-muted: 220 12% 68%;

  /* Lines */
  --border: 220 16% 88%;
  --border-dark: 224 25% 22%;

  --success: 150 50% 34%;

  /* Type */
  /* One family across the whole site — headings included. Heebo stays as the
     first fallback because it covers the same Hebrew weights, so a slow or
     blocked Noto load degrades to a near-identical face rather than to a
     system default with different metrics. */
  --font-body: 'Noto Sans Hebrew', 'Heebo', system-ui, sans-serif;
  --font-display: 'Noto Sans Hebrew', 'Heebo', system-ui, sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* Elevation — symmetric, RTL-safe */
  --sh-sm: 0 1px 2px hsl(224 35% 12% / 0.05), 0 2px 8px hsl(224 35% 12% / 0.04);
  --sh-md: 0 4px 16px hsl(224 35% 12% / 0.07), 0 1px 4px hsl(224 35% 12% / 0.04);
  --sh-lg: 0 18px 44px hsl(224 35% 12% / 0.12), 0 4px 12px hsl(224 35% 12% / 0.06);
  --sh-glow: 0 12px 40px hsl(var(--primary) / 0.28);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shell: 1180px;
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Sticky header + mobile action bar clearance for anchor jumps */
  scroll-padding-block-start: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  /* Hebrew reads better a touch larger and looser than Latin */
  font-size: 16.5px;
  line-height: 1.7;
  word-spacing: 0.05em;
  letter-spacing: normal;
  color: hsl(var(--fg));
  background: hsl(var(--bg));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: normal;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
  /* `ol` matters here: the flow steps draw their own numbered badges from a
     CSS counter, so the native markers would render a second set alongside. */
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Every interactive element opts out of the double-tap-zoom wait. */
a,
button,
label,
input,
select,
textarea,
[role='button'] {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid hsl(var(--accent-bright));
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* Numbers and Latin fragments inside Hebrew keep their own order */
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — keyboard users land here first */
.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 200;
  background: hsl(var(--primary));
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: inset-block-start 0.2s var(--ease);
}
.skip-link:focus {
  inset-block-start: 16px;
}

/* -------------------------------------------------------------- sections */
.section {
  padding-block: clamp(64px, 9vw, 116px);
  position: relative;
}

.section--sunken {
  background: hsl(var(--sunken) / 0.55);
}

.section--dark {
  background:
    radial-gradient(120% 90% at 85% 0%, hsl(var(--primary) / 0.28) 0%, transparent 55%),
    radial-gradient(100% 80% at 5% 100%, hsl(var(--accent) / 0.14) 0%, transparent 50%),
    linear-gradient(180deg, hsl(var(--ink-900)) 0%, hsl(var(--ink-800)) 100%);
  color: hsl(var(--on-dark));
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-block-end: clamp(40px, 5vw, 60px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: hsl(var(--accent));
  margin-block-end: 14px;
}
.eyebrow::before {
  content: '';
  inline-size: 22px;
  block-size: 2px;
  border-radius: 2px;
  background: hsl(var(--accent));
}
.section--dark .eyebrow {
  color: hsl(var(--accent-bright));
}
.section--dark .eyebrow::before {
  background: hsl(var(--accent-bright));
}

.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
}

.section-lead {
  margin-block-start: 18px;
  font-size: clamp(16.5px, 1.7vw, 19px);
  color: hsl(var(--fg-muted));
  line-height: 1.75;
}
.section--dark .section-lead {
  color: hsl(var(--on-dark-muted));
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 16px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
  white-space: nowrap;
  text-align: center;
  /* Removes the 300ms tap delay mobile browsers keep for double-tap zoom */
  touch-action: manipulation;
}

/* Lift on hover only where a real pointer exists. On a touchscreen :hover
   latches after a tap and the button stays raised until something else is
   touched, which reads as a stuck state. */
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

/* Touch has no hover, so the press itself has to answer. Scale reads on every
   input type and never moves the elements around it. */
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  inline-size: 19px;
  block-size: 19px;
  flex-shrink: 0;
}

.btn--primary {
  background: hsl(var(--primary));
  color: #fff;
  box-shadow: var(--sh-glow);
}
.btn--primary:hover {
  background: hsl(var(--primary) / 0.92);
}

.btn--accent {
  background: hsl(var(--accent));
  color: #fff;
  box-shadow: 0 12px 34px hsl(var(--accent) / 0.32);
}
.btn--accent:hover {
  background: hsl(var(--accent) / 0.92);
}

.btn--whatsapp {
  background: #25d366;
  color: #06301a;
  box-shadow: 0 12px 34px rgb(37 211 102 / 0.3);
}
.btn--whatsapp:hover {
  background: #1fc25d;
}

.btn--ghost-dark {
  background: hsl(0 0% 100% / 0.06);
  border-color: hsl(0 0% 100% / 0.22);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn--ghost-dark:hover {
  background: hsl(0 0% 100% / 0.13);
  border-color: hsl(0 0% 100% / 0.4);
}

.btn--outline {
  background: hsl(var(--surface));
  border-color: hsl(var(--border));
  color: hsl(var(--fg));
  box-shadow: var(--sh-sm);
}
.btn--outline:hover {
  border-color: hsl(var(--primary) / 0.45);
  color: hsl(var(--primary));
}

.btn--lg {
  padding: 17px 36px;
  font-size: 17px;
}
.btn--block {
  inline-size: 100%;
}

/* ---------------------------------------------------------------- header */
.header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: hsl(var(--ink-900) / 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  border-block-end: 1px solid hsl(0 0% 100% / 0.08);
  transition: background-color 0.25s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-block-size: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.logo__mark {
  inline-size: 36px;
  block-size: 36px;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.header__nav a {
  padding: 9px 14px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 500;
  color: hsl(var(--on-dark-muted));
  transition:
    color 0.18s var(--ease),
    background-color 0.18s var(--ease);
}
.header__nav a:hover {
  color: #fff;
  background: hsl(0 0% 100% / 0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__actions .btn {
  padding: 10px 20px;
  font-size: 15px;
}

/* Icon-only round button, used for the header phone on tablet */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 44px is the minimum comfortable touch target on both iOS and Android */
  inline-size: 44px;
  block-size: 44px;
  border-radius: var(--r-full);
  background: hsl(0 0% 100% / 0.08);
  border: 1px solid hsl(0 0% 100% / 0.18);
  color: #fff;
  transition: background-color 0.18s var(--ease);
}
.icon-btn:hover {
  background: hsl(0 0% 100% / 0.16);
}
.icon-btn svg {
  inline-size: 19px;
  block-size: 19px;
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(115% 80% at 82% -5%, hsl(var(--primary) / 0.42) 0%, transparent 58%),
    radial-gradient(85% 70% at 8% 105%, hsl(var(--accent) / 0.18) 0%, transparent 55%),
    linear-gradient(175deg, hsl(var(--ink-900)) 0%, hsl(var(--ink-800)) 60%, hsl(var(--ink-700)) 100%);
  color: hsl(var(--on-dark));
  padding-block: clamp(56px, 8vw, 96px) clamp(72px, 10vw, 120px);
}

/* Faint technical grid — reads as "engineered", stays out of the way */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(0 0% 100% / 0.028) 1px, transparent 1px),
    linear-gradient(90deg, hsl(0 0% 100% / 0.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-full);
  background: hsl(0 0% 100% / 0.07);
  border: 1px solid hsl(0 0% 100% / 0.16);
  font-size: 13.5px;
  font-weight: 600;
  color: hsl(var(--on-dark));
  margin-block-end: 24px;
}
.hero__eyebrow .dot {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: hsl(var(--accent-bright));
  box-shadow: 0 0 0 4px hsl(var(--accent-bright) / 0.2);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.hero__title {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.13;
  color: #fff;
  text-wrap: balance;
}
.hero__title .hl {
  position: relative;
  color: hsl(var(--accent-bright));
  white-space: nowrap;
}

.hero__lead {
  margin-block-start: 24px;
  font-size: clamp(16.5px, 1.9vw, 19.5px);
  line-height: 1.75;
  color: hsl(var(--on-dark-muted));
  max-width: 56ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-block-start: 34px;
}

.hero__ctasub {
  margin-block-start: 16px;
  font-size: 14.5px;
  color: hsl(var(--on-dark-muted));
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__ctasub svg {
  inline-size: 16px;
  block-size: 16px;
  color: hsl(var(--success) / 1);
  flex-shrink: 0;
}

/* Trust chips under the hero copy */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 38px;
  padding-block-start: 28px;
  border-block-start: 1px solid hsl(0 0% 100% / 0.1);
}
.trust__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-full);
  background: hsl(0 0% 100% / 0.05);
  border: 1px solid hsl(0 0% 100% / 0.13);
  font-size: 13.5px;
  font-weight: 600;
  color: hsl(var(--on-dark));
}
.trust__chip svg {
  inline-size: 16px;
  block-size: 16px;
  color: hsl(var(--accent-bright));
  flex-shrink: 0;
}

/* Hero form card */
.hero__card {
  border-radius: var(--r-2xl);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 30px 70px hsl(224 46% 4% / 0.42);
  color: hsl(var(--fg));
  position: relative;
  /* Gradient border via two backgrounds clipped differently: the flat surface
     fills the padding box, the gradient fills the border box and shows only
     where the transparent border sits. A ::before at z-index:-1 would paint
     behind the card's own background and never be seen. */
  border: 1.5px solid transparent;
  background:
    linear-gradient(hsl(var(--surface)), hsl(var(--surface))) padding-box,
    linear-gradient(150deg, hsl(var(--accent) / 0.75), hsl(var(--accent) / 0.1) 42%, hsl(var(--primary-bright) / 0.7))
      border-box;
}
.hero__card h2 {
  font-size: 23px;
}
.hero__card .card-lead {
  margin-block-start: 8px;
  font-size: 14.5px;
  color: hsl(var(--fg-muted));
  line-height: 1.6;
}

/* ------------------------------------------------------------ card grids */
.grid {
  display: grid;
  gap: 20px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--r-xl);
  padding: 28px 26px;
  box-shadow: var(--sh-sm);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: hsl(var(--primary) / 0.3);
}
.card__title {
  font-size: 19px;
  margin-block: 18px 9px;
}
.card__body {
  font-size: 15.5px;
  color: hsl(var(--fg-muted));
  line-height: 1.72;
}

.card--dark {
  background: hsl(0 0% 100% / 0.045);
  border-color: hsl(0 0% 100% / 0.11);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.card--dark:hover {
  background: hsl(0 0% 100% / 0.075);
  border-color: hsl(var(--accent-bright) / 0.35);
  box-shadow: none;
}
.card--dark .card__body {
  color: hsl(var(--on-dark-muted));
}

/* Icon tile */
.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 46px;
  block-size: 46px;
  border-radius: var(--r-md);
  background: hsl(var(--primary) / 0.09);
  color: hsl(var(--primary));
}
.tile svg {
  inline-size: 23px;
  block-size: 23px;
}
.tile--accent {
  background: hsl(var(--accent) / 0.11);
  color: hsl(var(--accent));
}
.tile--dark {
  background: hsl(var(--accent-bright) / 0.15);
  color: hsl(var(--accent-bright));
}
.tile--onDarkPrimary {
  background: hsl(var(--primary-bright) / 0.18);
  color: hsl(var(--primary-bright));
}

/* -------------------------------------------------- de-identification flow */
.flow {
  margin-block-start: 44px;
  background: hsl(0 0% 100% / 0.04);
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: var(--r-2xl);
  padding: clamp(26px, 3.4vw, 44px);
}
.flow__title {
  font-size: clamp(22px, 2.8vw, 30px);
  color: #fff;
}
.flow__body {
  margin-block-start: 16px;
  color: hsl(var(--on-dark-muted));
  font-size: 16.5px;
  line-height: 1.78;
  max-width: 74ch;
}

.flow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-block-start: 34px;
  counter-reset: step;
}
.flow__step {
  position: relative;
  background: hsl(var(--ink-900) / 0.5);
  border: 1px solid hsl(0 0% 100% / 0.11);
  border-radius: var(--r-lg);
  padding: 22px 20px;
}
.flow__step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-block-start: -13px;
  inset-inline-start: 20px;
  inline-size: 27px;
  block-size: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: hsl(var(--accent));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-body);
}
/* The critical boundary — step 2 is where identity stops */
.flow__step--boundary {
  border-color: hsl(var(--accent) / 0.5);
  background: hsl(var(--accent) / 0.09);
}
.flow__step-label {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-block-end: 7px;
}
.flow__step-detail {
  font-size: 14.5px;
  color: hsl(var(--on-dark-muted));
  line-height: 1.6;
}

.flow__note {
  margin-block-start: 26px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: hsl(0 0% 100% / 0.045);
  border-inline-start: 3px solid hsl(var(--accent));
  font-size: 15px;
  color: hsl(var(--on-dark-muted));
  line-height: 1.7;
}

/* ---------------------------------------------------------- compliance */
.compliance {
  margin-block-start: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.compliance__item {
  padding: 24px 22px;
  border-radius: var(--r-lg);
  background: hsl(0 0% 100% / 0.045);
  border: 1px solid hsl(0 0% 100% / 0.11);
}
.compliance__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: hsl(var(--accent) / 0.2);
  border: 1px solid hsl(var(--accent) / 0.45);
  color: hsl(var(--accent-bright));
  font-size: 12px;
  font-weight: 800;
  margin-block-end: 12px;
}
.compliance__title {
  font-size: 18px;
  color: #fff;
  margin-block-end: 8px;
}
.compliance__body {
  font-size: 15px;
  color: hsl(var(--on-dark-muted));
  line-height: 1.7;
}

/* ------------------------------------------------------- flexible blocks */
.flexblock {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.flexblock__item {
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--r-2xl);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--sh-sm);
}
.flexblock__title {
  font-size: clamp(20px, 2.3vw, 25px);
  margin-block: 20px 12px;
}
.flexblock__body {
  font-size: 16px;
  color: hsl(var(--fg-muted));
  line-height: 1.75;
}
.checklist {
  margin-block-start: 22px;
  padding-block-start: 22px;
  border-block-start: 1px solid hsl(var(--border));
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15.5px;
  color: hsl(var(--fg));
  line-height: 1.6;
}
.checklist svg {
  inline-size: 20px;
  block-size: 20px;
  color: hsl(var(--success));
  flex-shrink: 0;
  margin-block-start: 3px;
}

/* ----------------------------------------------------------------- video */
.video {
  max-width: 940px;
  margin-inline: auto;
}
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: linear-gradient(150deg, hsl(var(--ink-700)), hsl(var(--ink-900)));
  border: 1px solid hsl(0 0% 100% / 0.14);
  box-shadow: 0 30px 80px hsl(224 46% 4% / 0.5);
  display: grid;
  place-items: center;
}
.video__frame video,
.video__frame iframe {
  inline-size: 100%;
  block-size: 100%;
  border: 0;
  object-fit: cover;
}
.video__placeholder {
  display: grid;
  place-items: center;
  gap: 18px;
  text-align: center;
  padding: 30px;
}
/* Play triangle points right regardless of direction — it refers to the
   timeline, not to reading order. Never mirror it. */
.video__play {
  inline-size: 78px;
  block-size: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: hsl(var(--accent));
  color: #fff;
  box-shadow: 0 0 0 12px hsl(var(--accent) / 0.16);
}
.video__play svg {
  inline-size: 30px;
  block-size: 30px;
  margin-inline-start: 4px;
}
.video__placeholder-text {
  font-size: 15px;
  color: hsl(var(--on-dark-muted));
  font-weight: 600;
}
.video__caption {
  margin-block-start: 18px;
  text-align: center;
  font-size: 14.5px;
  color: hsl(var(--on-dark-muted));
}

/* ----------------------------------------------------------- testimonial */
.quote {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 1;
  color: hsl(var(--accent) / 0.35);
}
.quote__text {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.7vw, 29px);
  line-height: 1.55;
  color: hsl(var(--fg));
  margin-block-start: 8px;
}
.quote__author {
  margin-block-start: 24px;
  font-weight: 700;
  font-size: 16.5px;
}
.quote__role {
  font-size: 15px;
  color: hsl(var(--fg-muted));
}

/* ------------------------------------------------------------------- faq */
.faq {
  max-width: 860px;
  margin-inline: auto;
}
.faq__item {
  border-block-end: 1px solid hsl(var(--border));
}
.faq__item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.5;
  list-style: none;
  transition: color 0.18s var(--ease);
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary:hover {
  color: hsl(var(--primary));
}
.faq__icon {
  margin-inline-start: auto;
  inline-size: 30px;
  block-size: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.09);
  color: hsl(var(--primary));
  display: grid;
  place-items: center;
  transition: transform 0.24s var(--ease);
}
.faq__icon svg {
  inline-size: 16px;
  block-size: 16px;
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}
.faq__answer {
  padding-block-end: 24px;
  font-size: 16px;
  color: hsl(var(--fg-muted));
  line-height: 1.8;
  max-width: 72ch;
}

/* ------------------------------------------------------------------ form */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.contact__direct {
  display: grid;
  gap: 12px;
  margin-block-start: 30px;
}
.contact__link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 20px;
  border-radius: var(--r-lg);
  background: hsl(0 0% 100% / 0.05);
  border: 1px solid hsl(0 0% 100% / 0.13);
  transition:
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}
.contact__link:hover {
  background: hsl(0 0% 100% / 0.1);
  border-color: hsl(0 0% 100% / 0.28);
  transform: translateY(-2px);
}
.contact__link-icon {
  inline-size: 44px;
  block-size: 44px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact__link-icon svg {
  inline-size: 22px;
  block-size: 22px;
}
.contact__link-icon--wa {
  background: #25d366;
  color: #06301a;
}
.contact__link-icon--tel {
  background: hsl(var(--primary-bright) / 0.2);
  color: hsl(var(--primary-bright));
}
.contact__link-label {
  font-size: 13.5px;
  color: hsl(var(--on-dark-muted));
}
.contact__link-value {
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}

/* Form card sits on the dark section */
.formcard {
  background: hsl(var(--surface));
  border-radius: var(--r-2xl);
  padding: clamp(24px, 3.2vw, 38px);
  box-shadow: 0 30px 70px hsl(224 46% 4% / 0.4);
  color: hsl(var(--fg));
}

.field {
  display: grid;
  gap: 7px;
  margin-block-end: 16px;
}
.field__label {
  font-size: 14.5px;
  font-weight: 600;
}
.field__label .req {
  color: hsl(var(--accent));
  margin-inline-start: 2px;
}
.field input,
.field select,
.field textarea {
  inline-size: 100%;
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1.5px solid hsl(var(--border));
  background: hsl(var(--surface));
  font-size: 16px; /* 16px min stops iOS zoom-on-focus */
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.12);
}
.field textarea {
  resize: vertical;
  min-block-size: 88px;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23636b7d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  /* Logical positioning: the caret follows the inline-end edge in RTL */
  background-position: left 14px center;
  padding-inline-end: 15px;
  padding-inline-start: 42px;
}
.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: hsl(0 70% 52%);
}
.field__error {
  font-size: 13.5px;
  color: hsl(0 70% 46%);
  display: none;
}
.field--invalid .field__error {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-block: 6px 20px;
  font-size: 13.5px;
  color: hsl(var(--fg-muted));
  line-height: 1.6;
}
.consent input {
  inline-size: 19px;
  block-size: 19px;
  margin-block-start: 2px;
  flex-shrink: 0;
  accent-color: hsl(var(--primary));
}

/* Honeypot — bots fill it, humans never see it */
.hp {
  position: absolute;
  inset-inline-start: -9999px;
  opacity: 0;
  pointer-events: none;
  block-size: 0;
}

.formstatus {
  display: none;
  margin-block-start: 18px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  font-size: 15.5px;
  line-height: 1.65;
}
.formstatus--ok {
  display: block;
  background: hsl(var(--success) / 0.1);
  border: 1px solid hsl(var(--success) / 0.35);
  color: hsl(var(--success));
}
.formstatus--err {
  display: block;
  background: hsl(0 70% 50% / 0.08);
  border: 1px solid hsl(0 70% 50% / 0.32);
  color: hsl(0 70% 42%);
}
.formstatus strong {
  display: block;
  font-size: 17px;
  margin-block-end: 4px;
}

/* ---------------------------------------------------------------- footer */
.footer {
  background: hsl(var(--ink-900));
  color: hsl(var(--on-dark-muted));
  padding-block: 56px 30px;
  border-block-start: 1px solid hsl(0 0% 100% / 0.08);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-block-end: 34px;
  border-block-end: 1px solid hsl(0 0% 100% / 0.08);
}
.footer__blurb {
  margin-block-start: 16px;
  font-size: 15px;
  line-height: 1.75;
  max-width: 46ch;
}
.footer__col h3 {
  font-size: 15px;
  color: #fff;
  margin-block-end: 14px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer__col ul {
  display: grid;
  gap: 9px;
}
.footer__col a,
.footer__col li {
  font-size: 14.5px;
  transition: color 0.18s var(--ease);
}
.footer__col a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-block-start: 22px;
  font-size: 13.5px;
}
.footer__iso {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__iso svg {
  inline-size: 16px;
  block-size: 16px;
  color: hsl(var(--accent-bright));
}

/* ------------------------------------------------------- mobile CTA bar */
.mobilebar {
  display: none;
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 120;
  background: hsl(var(--ink-900) / 0.95);
  backdrop-filter: blur(14px);
  border-block-start: 1px solid hsl(0 0% 100% / 0.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 9px;
}
.mobilebar .btn {
  flex: 1;
  /* Without min-width:0 a flex item refuses to shrink below its content, so a
     long CTA label pushes the whole bar past the viewport instead of fitting. */
  min-width: 0;
  padding: 13px 8px;
  font-size: 14.5px;
  gap: 7px;
  box-shadow: none;
}
.mobilebar .btn span {
  overflow: hidden;
  text-overflow: ellipsis;
}
/* WhatsApp and phone glyphs are universally read without a caption, and a
   truncated "וואט…" helps nobody. Dropping the two labels keeps both taps
   comfortably large and leaves the CTA enough room at any width — the
   accessible name comes from aria-label on the anchor. */
.mobilebar .btn--whatsapp span,
.mobilebar .btn--ghost-dark span {
  display: none;
}
.mobilebar .btn--whatsapp,
.mobilebar .btn--ghost-dark {
  flex: 0 0 58px;
}
.mobilebar .btn--accent {
  flex: 1;
}

/* --------------------------------------------------------- scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ====================================================================
   Responsive
   ==================================================================== */

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__lead {
    max-width: none;
  }
  .header__nav {
    display: none;
  }
  .header__actions {
    margin-inline-start: auto;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .flow__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .compliance {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .grid--3,
  .grid--2,
  .flexblock {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .shell {
    padding-inline: 18px;
  }
  .section {
    padding-block: 56px;
  }

  /* Header keeps the logo and a single tap-to-call; the bar below carries
     the rest, so the top stays uncluttered on a phone. */
  .header__actions .btn--desktop {
    display: none;
  }
  .logo {
    font-size: 19px;
  }
  .logo__mark {
    inline-size: 31px;
    block-size: 31px;
  }

  .hero {
    padding-block: 40px 60px;
  }
  .hero__cta .btn {
    inline-size: 100%;
  }
  .trust {
    gap: 8px;
  }
  .trust__chip {
    font-size: 12.5px;
    padding: 8px 12px;
  }

  .flow__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* ---------------------------------------------------------------------
     Touch targets. A finger needs 44px; these all sit near 20-32px at
     desktop sizes, which is fine for a cursor and not for a thumb.
     Sized up here rather than globally so the desktop layout is untouched.
     --------------------------------------------------------------------- */

  /* Footer links are stacked, so the height has to be real spacing rather
     than an expanded hit area — overlapping invisible targets on a list
     this tight would hand taps to the neighbouring link. */
  .footer__col ul {
    gap: 2px;
  }
  /* inline-flex, not flex: a block-level box fills the row, and the phone
     number carries direction:ltr, so it would anchor itself to the left edge
     while every neighbouring link stays right. Inline keeps it in RTL flow. */
  .footer__col a,
  .footer__bottom a {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
  }

  .logo {
    min-block-size: 44px;
  }

  /* The label already wraps the checkbox, so the whole row toggles it —
     this just guarantees the row itself clears 44px. */
  .consent {
    min-block-size: 44px;
  }

  /* The sticky action bar is the whole point on mobile — always reachable */
  .mobilebar {
    display: flex;
  }
  body {
    padding-block-end: 76px;
  }
  html {
    scroll-padding-block-end: 90px;
  }
}

/* Respect the user's motion preference — no exceptions */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .mobilebar,
  .hero__grid {
    display: none;
  }
}
