/* ==========================================================================
   Winch — design tokens
   Dark espresso + copper. Written with logical properties so the same
   stylesheet serves the English (LTR) and Hebrew (RTL) pages.
   ========================================================================== */
:root {
  --copper: #C67139;
  --copper-light: #E08A4F;
  --copper-dark: #9C5424;
  --copper-a10: rgba(198, 113, 57, 0.10);
  --copper-a15: rgba(198, 113, 57, 0.15);
  --copper-a30: rgba(198, 113, 57, 0.30);
  --copper-a50: rgba(198, 113, 57, 0.50);

  --bg: #120C08;
  --surface: #1C140F;
  --surface-2: #251A13;
  --text: #F6EDE4;
  --text-muted: #B8A595;
  --text-faint: #8C7867;
  --border: rgba(198, 113, 57, 0.15);
  --border-strong: rgba(198, 113, 57, 0.35);
  --danger: #F08A7A;
  --success: #9BD3A4;

  --font-en: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-he: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font: var(--font-en);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 10px 30px -10px rgba(198, 113, 57, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --container: 1180px;
  --gutter: 20px;
}

html[lang="he"] { --font: var(--font-he); }

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--copper); color: #fff; }

:focus-visible {
  outline: 2px solid var(--copper-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--copper);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

.ltr { direction: ltr; unicode-bidi: isolate; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--copper-light), var(--copper) 55%, var(--copper-dark));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(224, 138, 79, 0.7); }
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--copper); background: var(--copper-a10); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1.025rem; }
.btn-block { width: 100%; }

/* Arrows point the reading direction */
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(18, 12, 8, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(18, 12, 8, 0.97); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switch a {
  min-width: 36px;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  text-align: center;
  color: var(--text-muted);
  transition: color 0.2s, background-color 0.2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { background: var(--copper-a15); color: var(--copper-light); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  inset-inline-start: 12px;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-actions { margin-inline-start: auto; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    margin: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: var(--radius-sm); }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand img { height: 26px; }
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  padding-inline: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  margin-inline-start: 4px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px var(--copper-a15);
}

.section { padding-block: 104px; position: relative; }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--copper-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
html[lang="he"] .kicker { letter-spacing: 0.02em; font-size: 0.9rem; }
.section-title {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
html[lang="he"] .section-title { letter-spacing: 0; line-height: 1.2; }
.section-lead {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.1rem;
  text-wrap: pretty;
}
.text-copper {
  background: linear-gradient(120deg, var(--copper-light), var(--copper) 60%, #D9875A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 720px) {
  .section { padding-block: 72px; }
  .section-head { margin-bottom: 40px; }
  .section-lead { font-size: 1.025rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 112px;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(246, 237, 228, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 113, 57, 0.38), rgba(198, 113, 57, 0) 68%);
  will-change: transform;
}
.glow-1 { width: 720px; height: 720px; inset-inline-end: -180px; top: -160px; animation: drift 18s ease-in-out infinite alternate; }
.glow-2 { width: 520px; height: 520px; inset-inline-start: -220px; bottom: -260px; opacity: 0.55; animation: drift 22s ease-in-out infinite alternate-reverse; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
}
html[lang="he"] .hero h1 { letter-spacing: -0.01em; line-height: 1.1; }
.hero h1 .text-copper { white-space: nowrap; }
.hero-sub {
  margin-top: 24px;
  max-width: 560px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--copper); }
.tagline {
  margin-top: 36px;
  color: var(--text-faint);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Hero visual: the winch mark with orbits and floating notification cards */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(198, 113, 57, 0.28);
  animation: spin 60s linear infinite;
}
.orbit-2 { inset: 13%; border-style: solid; border-color: rgba(198, 113, 57, 0.14); animation-duration: 42s; animation-direction: reverse; }
.orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: -5px;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--copper-light);
  box-shadow: 0 0 14px 2px rgba(224, 138, 79, 0.7);
}
.orbit-2::after { top: 0; inset-inline-start: 50%; margin-top: -4px; width: 7px; height: 7px; opacity: 0.8; }

.mark-wrap {
  position: absolute;
  inset: 26%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #2A1D15, #160F0B 70%);
  border: 1px solid var(--border);
  box-shadow: 0 0 80px -10px rgba(198, 113, 57, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.hero-mark { width: 64%; height: auto; color: var(--copper); overflow: visible; }
.hero-mark .wm-cable { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) 0.3s forwards; }
.hero-mark .wm-core { transform-box: fill-box; transform-origin: center; animation: pop 0.8s var(--ease) 0.1s both; }
.hero-mark .wm-knob { transform-box: fill-box; transform-origin: center; animation: pop 0.6s var(--ease) 1.7s both; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  padding-inline-end: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(30, 21, 15, 0.94);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.75);
  font-size: 0.85rem;
  line-height: 1.3;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 600; color: var(--text); }
.float-card span { color: var(--text-faint); font-size: 0.78rem; }
.float-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--copper-a15);
  color: var(--copper-light);
}
.float-icon svg { width: 18px; height: 18px; }
.float-card.c1 { top: 8%; inset-inline-start: -6%; }
.float-card.c2 { top: 46%; inset-inline-end: -3%; animation-delay: -2.4s; }
.float-card.c3 { bottom: 6%; inset-inline-start: 2%; animation-delay: -4.6s; }

/* Pause looping hero motion when it's off-screen (class set by JS) */
.hero.is-paused .glow,
.hero.is-paused .orbit,
.hero.is-paused .float-card { animation-play-state: paused; }

@media (max-width: 960px) {
  .hero { padding-block: 48px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { max-width: 420px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.3rem, 1.4rem + 5vw, 2.9rem); }
  .hero-actions .btn { width: 100%; }
  .hero-visual { max-width: 340px; }
  .float-card { padding: 9px 12px; gap: 9px; font-size: 0.78rem; }
  .float-card span { font-size: 0.72rem; }
  .float-icon { width: 28px; height: 28px; border-radius: 8px; }
  /* Narrow screens: two cards above/below the mark so nothing covers it */
  .float-card.c1 { top: 1%; inset-inline-start: 0; }
  .float-card.c2 { top: auto; bottom: 1%; inset-inline-end: 0; }
  .float-card.c3 { display: none; }
  .glow-1 { width: 460px; height: 460px; }
}

/* ==========================================================================
   Cards (problem / services / audience)
   ========================================================================== */
.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), rgba(28, 20, 15, 0.6));
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--text-muted); }
.icon-badge {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--copper-a15), rgba(198, 113, 57, 0.04));
  color: var(--copper-light);
}
.icon-badge svg { width: 22px; height: 22px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; gap: 16px; } .card { padding: 24px; } }

.problem { padding-top: 40px; }
.problem .card { background: transparent; box-shadow: none; }
.problem .card:hover { transform: none; }
.problem .icon-badge { background: transparent; }

/* Services */
.services { background: linear-gradient(180deg, transparent, rgba(37, 26, 19, 0.45) 30%, rgba(37, 26, 19, 0.45) 70%, transparent); }
.service-card .outcome { color: var(--text); font-weight: 500; }
.service-card ul { margin-top: 18px; display: grid; gap: 9px; }
.service-card li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--copper-a15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E08A4F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  inset-inline: 12% 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-a50), transparent);
}
.step { position: relative; text-align: center; padding-inline: 8px; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--copper-light);
  font-weight: 700;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--bg);
}
.step h3 { font-size: 1.15rem; font-weight: 650; }
.step p { margin-top: 10px; color: var(--text-muted); font-size: 0.97rem; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: start; padding: 0; }
  .step-num { margin: 0; grid-row: span 2; }
  .step p { margin-top: 6px; }
}

/* ==========================================================================
   Audience
   ========================================================================== */
.audience-card { overflow: hidden; }
.audience-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  top: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 113, 57, 0.18), transparent 70%);
  pointer-events: none;
}
.audience-card .label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--copper-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
html[lang="he"] .audience-card .label { letter-spacing: 0; font-size: 0.9rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-text p { margin-top: 18px; color: var(--text-muted); font-size: 1.06rem; }
.about-text p strong { color: var(--text); font-weight: 600; }
.about-card { padding: 34px; }
.about-card:hover { transform: none; }
.about-person { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.monogram {
  object-fit: cover;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper-light), var(--copper-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.about-person strong { display: block; font-size: 1.1rem; }
.about-person div span { color: var(--text-faint); font-size: 0.92rem; }
.about-points { display: grid; gap: 16px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-muted); }
.about-points svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--copper-light); }
.about-points strong { color: var(--text); font-weight: 600; }

@media (max-width: 960px) { .about-inner { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .about-card { padding: 24px; } }

/* ==========================================================================
   Contact + form
   ========================================================================== */
.contact {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(198, 113, 57, 0.14), transparent 70%),
    linear-gradient(180deg, transparent, rgba(37, 26, 19, 0.5));
  border-top: 1px solid var(--border);
}
.contact-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact-intro .section-lead { margin-top: 18px; }
.contact-methods { display: grid; gap: 12px; margin-top: 36px; }
.contact-methods a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease);
}
.contact-methods a:hover { border-color: var(--border-strong); background: var(--copper-a10); transform: translateY(-2px); }
.contact-methods .icon-badge { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.contact-methods .icon-badge svg { width: 19px; height: 19px; }
.contact-methods small { display: block; color: var(--text-faint); font-size: 0.8rem; }
.contact-methods span.value { font-weight: 600; }

.form-card { padding: 36px; }
.form-card:hover { transform: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.field .req { color: var(--copper-light); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(246, 237, 228, 0.12);
  border-radius: 12px;
  background: rgba(18, 12, 8, 0.7);
  color: var(--text);
  font-size: 1rem; /* 16px+ prevents iOS zoom on focus */
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-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='%23B8A595' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 14px center;
  padding-inline-end: 42px;
}
html[dir="rtl"] .field select { background-position: left 14px center; }
.field input::placeholder, .field textarea::placeholder { color: #6E5D50; }
.field input:not([type="checkbox"]):hover, .field select:hover, .field textarea:hover { border-color: rgba(246, 237, 228, 0.22); }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px var(--copper-a15);
}
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.82rem; }
.field-error:empty { display: none; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(246, 237, 228, 0.14);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  pointer-events: none;
}
.chip input:hover + span { border-color: var(--border-strong); color: var(--text); }
.chip input:checked + span { border-color: var(--copper); background: var(--copper-a15); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--copper-light); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; cursor: pointer; }
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px; height: 22px;
  margin: 0;
  border: 1px solid rgba(246, 237, 228, 0.25);
  border-radius: 6px;
  background: rgba(18, 12, 8, 0.7);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s, border-color 0.2s;
}
.check input::after {
  content: "";
  width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.check input:checked { background: var(--copper); border-color: var(--copper); }
.check input:checked::after { transform: scale(1); }
.check a { color: var(--copper-light); text-decoration: underline; text-underline-offset: 3px; }
.check.has-error input { border-color: var(--danger); }
.consents { display: grid; gap: 14px; }

.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { margin-top: 8px; }
.form-submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}
.form-submit.is-loading .spinner { display: block; }
.form-submit.is-loading .arrow { display: none; }
.form-note { margin-top: 14px; color: var(--text-faint); font-size: 0.82rem; text-align: center; }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.form-status[hidden] { display: none; }
.form-status.is-error { border: 1px solid rgba(240, 138, 122, 0.4); background: rgba(240, 138, 122, 0.08); color: #FFD3CB; }
.form-status.is-error a { color: #fff; text-decoration: underline; }

.form-success { text-align: center; padding: 32px 8px; }
.form-success[hidden] { display: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--copper-a15);
  border: 1px solid var(--border-strong);
  color: var(--copper-light);
}
.success-icon svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; }
.form-success p { margin-top: 12px; color: var(--text-muted); }
.form-success .btn { margin-top: 26px; }

@media (max-width: 960px) { .contact-inner { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); padding-block: 56px 32px; color: var(--text-muted); font-size: 0.93rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 300px; color: var(--text-faint); }
.footer-col h2 { margin-bottom: 14px; color: var(--text); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
html[lang="he"] .footer-col h2 { letter-spacing: 0; font-size: 0.95rem; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--copper-light); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a:hover { color: var(--copper-light); }

@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   Legal / simple pages
   ========================================================================== */
.legal { padding-block: 64px 96px; }
.legal-inner { max-width: 780px; margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
html[lang="he"] .legal h1 { letter-spacing: 0; }
.legal .updated { margin-top: 12px; color: var(--text-faint); font-size: 0.92rem; }
.legal .notice {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--copper-a10);
  color: var(--text-muted);
  font-size: 0.93rem;
}
.legal h2 { margin-top: 44px; font-size: 1.3rem; font-weight: 650; color: var(--text); }
.legal h3 { margin-top: 24px; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 12px; display: grid; gap: 8px; }
.legal ul li { position: relative; padding-inline-start: 20px; }
.legal ul li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.legal a { color: var(--copper-light); text-decoration: underline; text-underline-offset: 3px; }
.legal .placeholder { color: var(--copper-light); font-weight: 600; }

.not-found { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding-block: 80px; }
.not-found .code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.not-found p { margin-top: 16px; color: var(--text-muted); font-size: 1.1rem; }
.not-found .hero-actions { justify-content: center; }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-40px, 30px, 0) scale(1.08); }
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}

/* Hero copy rises in on load */
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-copy > :nth-child(6) { animation-delay: 0.4s; }
.hero-visual { animation: rise 1.1s var(--ease) 0.2s both; }

/* Scroll reveal — only hides content once JS is confirmed running */
.js .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.08s; }
.js .reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-mark .wm-cable { stroke-dashoffset: 0; }
}

/* Inline icon set (Lucide-style strokes) */
.i { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Pages without a main nav (legal, 404): push actions to the far side */
.brand + .header-actions { margin-inline-start: auto; }
@media (min-width: 1240px) { .float-card.c2 { inset-inline-end: -9%; } }
