/* ═══════════════════════════════════════════════════════════════
   אהוטו – תפעול ציוד מכני כבד ועגורנים
   Light, clean, industrial. Brand = logo charcoal + safety gold.
   CSP: no inline styles anywhere, so everything lives here.
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted, OFL) ───────────────────────────────────── */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/rubik-hebrew-wght-normal.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: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/rubik-latin-wght-normal.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;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/heebo-hebrew-wght-normal.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(/fonts/heebo-latin-wght-normal.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;
}

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --surface-2: #EFEDE6;
  --ink: #1D1F23;
  --ink-2: #464A52;
  --ink-3: #62666E;
  --line: #E5E2D9;
  --line-2: #D3CEC1;

  --charcoal: #2E3035; /* logo charcoal */
  --charcoal-2: #36393F;
  --on-dark: #FFFFFF;
  --on-dark-2: #C9CCD2;

  --gold: #F2C230;
  --gold-hover: #E3AF14;
  --gold-soft: #FBEFC6;
  --gold-ink: #7A5600;

  /* WhatsApp actions: deeper than brand #25D366 so white text passes AA (4.8:1) */
  --wa: #0D8440;
  --wa-hover: #0A6E35;
  --wa-ink: #0B7439;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --pill: 999px;

  --shadow-1: 0 1px 2px rgb(29 31 35 / .06), 0 1px 1px rgb(29 31 35 / .04);
  --shadow-2: 0 12px 32px -14px rgb(29 31 35 / .22), 0 2px 6px rgb(29 31 35 / .05);
  --shadow-3: 0 34px 70px -28px rgb(29 31 35 / .35);

  --font-display: "Rubik", "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "Heebo", system-ui, "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.125rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 9vw, 7.5rem);
  --header-h: 72px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ── 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-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; }
strong { font-weight: 700; }
button, summary { font: inherit; }

.nw { white-space: nowrap; unicode-bidi: isolate; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Stroke styling lives here (not on the symbols) so it inherits through <use>
   and can be thinned per context, e.g. the large fallback art. */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .cta :focus-visible, .stats :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--charcoal);
  color: var(--on-dark);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-s);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Type ───────────────────────────────────────────────────────── */
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--ink);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--gold-ink);
}
.eyebrow__bar {
  width: 28px;
  height: 8px;
  border-radius: 2px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 5px, var(--charcoal) 5px 10px);
}
.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__lead {
  margin-top: 1rem;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
  text-wrap: pretty;
}
.hl {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.hl::after {
  content: "";
  position: absolute;
  inset-inline: -.08em;
  bottom: .06em;
  height: .32em;
  background: var(--gold);
  border-radius: 4px;
  z-index: -1;
  transform-origin: right center;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease-out), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn .icon { width: 22px; height: 22px; }
.btn--sm { min-height: 44px; padding: .5rem 1.05rem; font-size: 1rem; }
.btn--sm .icon { width: 20px; height: 20px; }
.btn--lg { min-height: 58px; padding: .85rem 1.7rem; font-size: 1.125rem; }
.btn:active { transform: scale(.98); }

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgb(227 175 20 / .9), inset 0 -2px 0 rgb(0 0 0 / .08);
}
.btn--primary:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) scale(.98); }

.btn--wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgb(13 132 64 / .75), inset 0 -2px 0 rgb(0 0 0 / .12);
}
.btn--wa:hover { background: var(--wa-hover); transform: translateY(-2px); }
.btn--wa:active { transform: translateY(0) scale(.98); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--dark { background: var(--charcoal); color: var(--on-dark); }
.btn--dark:hover { background: #000; }

.btn--outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgb(255 255 255 / .35);
}
.btn--outline-light:hover { border-color: var(--on-dark); transform: translateY(-2px); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--on-dark);
  touch-action: manipulation;
}
.icon-btn .icon { width: 20px; height: 20px; }

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(247 246 242 / .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
@supports (animation-timeline: scroll()) {
  .site-header {
    animation: header-lift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 80px;
  }
  @keyframes header-lift {
    to { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgb(0 0 0 / .45); }
  }
}
@supports not (animation-timeline: scroll()) {
  .site-header { border-bottom-color: var(--line); }
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}
.logo__mark { width: 52px; height: 52px; flex: none; }
@media (max-width: 559px) { .logo__mark { width: 46px; height: 46px; } }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; }
.logo__sub { font-size: .78rem; color: var(--ink-3); font-weight: 500; margin-top: .15rem; }

.site-nav { display: none; }
.site-nav ul { display: flex; gap: .25rem; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .85rem;
  border-radius: var(--pill);
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }

.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.site-header__wa { display: none; }

@media (min-width: 640px) {
  .site-header__wa { display: inline-flex; }
}
@media (min-width: 1080px) {
  .site-nav { display: block; }
  .site-header__call { display: none; }
}
@media (max-width: 380px) {
  .logo__sub { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: relative;
  margin: .5rem var(--gutter) 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #cfd8dd;
  box-shadow: var(--shadow-2);
}
.hero__media picture, .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media img { object-position: 30% 50%; }
.hero__inner { position: relative; }
.hero__content {
  padding-block: 2rem 3.5rem;
  max-width: 640px;
}
.eyebrow--hero { margin-bottom: 1rem; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.3rem + 4.2vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 1.25rem;
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.3rem);
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.hero__cta .btn { flex: 1 1 auto; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .6rem;
  margin-top: 1.75rem;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem .4rem .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.hero__trust .icon { width: 18px; height: 18px; color: var(--gold-ink); }

@media (min-width: 960px) {
  .hero {
    min-height: min(760px, calc(100svh - var(--header-h)));
    display: grid;
    align-items: center;
  }
  .hero__media {
    position: absolute;
    inset: .75rem var(--gutter) .75rem;
    margin: 0;
    aspect-ratio: auto;
    border-radius: var(--radius-xl);
    z-index: -1;
  }
  .hero__media img { object-position: 50% 45%; }
  /* Light veil on the text side (right in RTL) so dark ink stays readable over sky */
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgb(247 246 242 / .96) 0%, rgb(247 246 242 / .9) 38%, rgb(247 246 242 / .55) 52%, rgb(247 246 242 / 0) 68%);
  }
  .hero__content {
    padding-block: 5rem;
    padding-inline-start: clamp(1rem, 3vw, 3rem);
  }
  .hero__cta .btn { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-zoom 1.6s var(--ease-out) both; }
  @keyframes hero-zoom { from { transform: scale(1.06); } to { transform: none; } }
  .hero__content > * { animation: rise .8s var(--ease-out) both; }
  .hero__content > :nth-child(2) { animation-delay: .06s; }
  .hero__content > :nth-child(3) { animation-delay: .12s; }
  .hero__content > :nth-child(4) { animation-delay: .18s; }
  .hero__content > :nth-child(5) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .hl::after { animation: marker .7s .45s var(--ease-out) both; }
  @keyframes marker { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ── Hazard stripe ──────────────────────────────────────────────── */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--charcoal) 14px 28px);
}

/* ── Stats ──────────────────────────────────────────────────────── */
.stats { background: var(--charcoal); color: var(--on-dark); }
.stats__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  padding-block: 2.75rem;
}
@media (min-width: 900px) { .stats__list { grid-template-columns: repeat(4, 1fr); padding-block: 3.25rem; } }
.stat { text-align: center; }
.stat__num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .3rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 2.6vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: .42em; font-weight: 600; color: var(--on-dark-2); }
.stat__label { display: block; margin-top: .55rem; color: var(--on-dark-2); font-size: 1rem; }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-2); }

/* ── About ──────────────────────────────────────────────────────── */
.about__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 5fr 6fr; } }
.about__photo {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 5;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
.about__photo picture, .about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo img { object-position: 45% 50%; }
.about__photo figcaption {
  position: absolute;
  inset-inline-start: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .95rem;
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--pill);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}
.about__photo figcaption .icon { color: var(--gold-ink); width: 18px; height: 18px; }
.about__body .h2 { margin-bottom: 2rem; }
.benefits { display: grid; gap: 1rem; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefit {
  display: flex;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.benefit__icon, .note__icon, .region__pin {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--charcoal);
}
.benefit__icon .icon, .note__icon .icon, .region__pin .icon { width: 24px; height: 24px; }
.benefit__title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.3; margin-bottom: .3rem; }
.benefit p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }

/* ── Services ───────────────────────────────────────────────────── */
.svc-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.svc {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.svc__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.svc__media picture, .svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__media img { transition: transform .6s var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 2.1rem 1.5rem 1.5rem; flex: 1; }
.svc__icon {
  position: absolute;
  top: -28px;
  inset-inline-start: 1.5rem;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 10px 20px -10px rgb(0 0 0 / .45);
}
.svc__icon .icon { width: 28px; height: 28px; }
.svc__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.3; }
.svc p { color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.svc__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: auto;
  padding-top: .6rem;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--wa-ink);
  text-decoration: none;
  align-self: flex-start;
}
.svc__link .svc__wa { width: 20px; height: 20px; }
.svc__link .icon { width: 20px; height: 20px; transition: transform .25s var(--ease-out); }
.svc__link:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.svc__link:hover .icon:last-child { transform: translateX(-4px); }

/* Call-to-action tile: completes the 3x2 grid on tablet/desktop */
.svc--cta { background: var(--charcoal); border-color: var(--charcoal); color: var(--on-dark); }
.svc--cta::before {
  content: "";
  display: block;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, #1D1F23 14px 28px);
}
.svc-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .85rem; flex: 1; padding: 2rem 1.75rem; }
.svc-cta__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--charcoal); }
.svc-cta__icon .icon { width: 28px; height: 28px; }
.svc--cta .svc__title { color: var(--on-dark); font-size: 1.45rem; }
.svc--cta p { color: var(--on-dark-2); }
.svc-cta .btn { margin-top: .4rem; }
.svc-cta__call { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--on-dark-2); font-weight: 500; }
.svc-cta__call:hover { color: var(--on-dark); }
.svc-cta__call .icon { width: 18px; height: 18px; color: var(--gold); }
.svc--cta :focus-visible { outline-color: var(--gold); }
@media (max-width: 679px) { .svc--cta { display: none; } }

/* Fallback art for a service without a photo yet */
.svc-art {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background-color: var(--surface-2);
  background-image:
    linear-gradient(rgb(43 45 50 / .07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(43 45 50 / .07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.svc-art .icon { width: 42%; max-width: 150px; height: auto; aspect-ratio: 1; color: var(--charcoal); stroke-width: 1.1; }

/* ── Process ────────────────────────────────────────────────────── */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.step {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.step__icon {
  position: absolute;
  top: 1.6rem;
  inset-inline-end: 1.5rem;
  width: 26px;
  height: 26px;
  color: var(--line-2);
}
.step__title { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.step p { margin-top: .35rem; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }

/* ── Safety / credentials ───────────────────────────────────────── */
.safety__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .safety__grid { grid-template-columns: 6fr 5fr; } }
.dossier {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.dossier::before {
  content: "";
  display: block;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--charcoal) 14px 28px);
}
.dossier__head { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem 1.5rem 0; }
.dossier__head p { color: var(--ink-2); }
.dossier__head strong { color: var(--ink); }
.dossier__lock {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--charcoal);
  color: var(--gold);
}
.dossier__lock .icon { width: 24px; height: 24px; }
.checklist { display: grid; gap: .6rem; padding: 1.25rem 1.5rem 1.6rem; }
@media (min-width: 640px) { .checklist { padding-inline-start: calc(1.5rem + 52px + 1rem); } }
.checklist li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.checklist .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
}
.safety__photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 3;
}
.safety__photo picture, .safety__photo img { width: 100%; height: 100%; object-fit: cover; }
.safety__photo img { object-position: 35% 50%; }
@media (min-width: 960px) { .safety__photo { aspect-ratio: 4 / 5; } }

/* ── Areas ──────────────────────────────────────────────────────── */
.areas__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .areas__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.coast {
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
}
.coast__svg { width: 100%; height: auto; overflow: visible; }
.coast__dot { fill: var(--charcoal); stroke: var(--gold); stroke-width: 3; }
.coast__ring { fill: var(--gold); opacity: .35; transform-box: fill-box; transform-origin: center; }
.coast__label { font-family: var(--font-display); font-weight: 700; font-size: 17px; fill: var(--ink); direction: rtl; text-anchor: end; }
.coast__sea-label { font-family: var(--font-body); font-size: 14px; letter-spacing: .08em; fill: var(--ink-3); direction: rtl; text-anchor: middle; }
@media (max-width: 899px) {
  .coast { max-width: 260px; padding: .9rem; }
}

.regions { display: grid; gap: 1rem; }
.region {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.region__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li {
  padding: .3rem .8rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
}
.chips li:last-child { border-style: dashed; color: var(--ink-3); }

/* ── Availability ───────────────────────────────────────────────── */
.avail {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
}
.week { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
@media (min-width: 720px) { .week { grid-template-columns: repeat(6, 1fr); } }
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1rem .5rem;
  border-radius: var(--radius);
  background: var(--gold-soft);
  text-align: center;
}
.day__name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--charcoal); }
.day__slot { font-size: .9rem; font-weight: 500; color: var(--ink-2); line-height: 1.3; }
.day--fri { background: var(--charcoal); }
.day--fri .day__name { color: var(--gold); }
.day--fri .day__slot { color: var(--on-dark); font-variant-numeric: tabular-nums; }
.avail__notes { display: grid; gap: 1rem; margin-top: 1.75rem; }
@media (min-width: 900px) { .avail__notes { grid-template-columns: repeat(3, 1fr); } }
.note { display: flex; gap: .9rem; align-items: flex-start; }
.note__title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.note p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.avail__flex {
  display: flex;
  gap: .7rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  background: var(--bg);
  font-weight: 500;
}
.avail__flex .icon { width: 24px; height: 24px; color: var(--gold-ink); }

/* ── Terms ──────────────────────────────────────────────────────── */
.terms__grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .terms__grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } .terms__grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 2rem); } }
.terms__list { display: grid; gap: 1rem; }
.term {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-1);
}
.term__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
}
.term p { font-size: 1.08rem; font-weight: 500; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq__container { max-width: 860px; }
.faq__list { display: grid; gap: .75rem; }
.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s, border-color .2s;
}
.qa[open] { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: var(--radius);
}
.qa summary::-webkit-details-marker { display: none; }
.qa__chev {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
  background: var(--surface-2);
  transition: transform .3s var(--ease-out), background-color .2s;
}
.qa[open] .qa__chev { transform: rotate(180deg); background: var(--gold); }
.qa__a { padding: 0 1.35rem 1.25rem; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .qa[open] .qa__a { animation: fade-in .35s var(--ease-out); }
  @keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* ── CTA ────────────────────────────────────────────────────────── */
.cta { background: var(--charcoal); color: var(--on-dark); overflow: hidden; }
.cta__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
@media (min-width: 900px) { .cta__grid { grid-template-columns: 7fr 5fr; } }
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem);
  line-height: 1.12;
  text-wrap: balance;
}
.cta__lead { margin-top: 1rem; color: var(--on-dark-2); font-size: 1.15rem; max-width: 52ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.cta__vcard {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  margin-top: 1rem;
  color: var(--on-dark-2);
  font-weight: 500;
}
.cta__vcard:hover { color: var(--on-dark); }
.cta__vcard .icon { width: 20px; height: 20px; color: var(--gold); }
.cta__art { display: none; }
@media (min-width: 900px) { .cta__art { display: block; } }
.crane { width: 100%; max-width: 420px; margin-inline: auto; overflow: visible; }
.crane__trolley, .crane__hoist, .crane__cable, .crane__load { transform-box: view-box; }
.crane__hoist { transform-origin: 193px 119px; }
.crane__cable { transform-origin: 193px 119px; }
@media (prefers-reduced-motion: no-preference) {
  .crane__trolley { animation: trolley 10s var(--ease-in-out) infinite alternate; }
  @keyframes trolley { 0%, 10% { transform: translateX(-110px); } 90%, 100% { transform: translateX(40px); } }
  .crane__hoist { animation: swing 2.6s ease-in-out infinite alternate; }
  @keyframes swing { from { transform: rotate(2.2deg); } to { transform: rotate(-2.2deg); } }
  .crane__cable { animation: cable 5s var(--ease-in-out) infinite alternate; }
  @keyframes cable { from { transform: scaleY(.7); } to { transform: scaleY(1.2); } }
  .crane__load { animation: load 5s var(--ease-in-out) infinite alternate; }
  @keyframes load { from { transform: translateY(-30px); } to { transform: translateY(20px); } }
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-block: 3.5rem 2rem;
}
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__brand p { margin-top: 1rem; color: var(--ink-2); max-width: 40ch; font-size: 1rem; }
.site-footer__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.site-footer__nav ul { display: grid; gap: .1rem; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 1rem;
}
.site-footer__nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__nav .icon { width: 18px; height: 18px; color: var(--ink-3); }
.site-footer__legal { padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); }
.site-footer__legal p { color: var(--ink-3); font-size: .9rem; }

/* ── Mobile action bar ──────────────────────────────────────────── */
.mbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 45;
  display: flex;
  gap: .6rem;
  padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -20px rgb(0 0 0 / .35);
}
.mbar .btn { min-height: 52px; }
.mbar__wa { flex: 1 1 auto; }
.mbar__call { flex: 0 0 auto; padding-inline: 1.3rem; }
body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .mbar { display: none; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .mbar {
      animation: mbar-in linear both;
      animation-timeline: scroll(root);
      animation-range: 120px 320px;
    }
    @keyframes mbar-in { from { transform: translateY(115%); } to { transform: none; } }
  }
}

/* ── Scroll reveal (CSS scroll-driven; no JS, no hidden-content risk) ── */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @keyframes reveal {
      from { opacity: 0; transform: translateY(36px); }
      to { opacity: 1; transform: none; }
    }
    .benefits .reveal:nth-child(2), .svc-grid .reveal:nth-child(3n+2), .steps .reveal:nth-child(2) { animation-range: entry 8% entry 63%; }
    .benefits .reveal:nth-child(3), .svc-grid .reveal:nth-child(3n), .steps .reveal:nth-child(3) { animation-range: entry 16% entry 71%; }
    .benefits .reveal:nth-child(4), .steps .reveal:nth-child(4) { animation-range: entry 24% entry 79%; }

    /* coastline draws in, zones and pins appear in order */
    .coast { view-timeline-name: --coast; }
    .coast__line { stroke-dasharray: 1; animation: draw linear both; animation-timeline: --coast; animation-range: entry 10% cover 45%; }
    @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    .coast__pin { animation: pop linear both; animation-timeline: --coast; }
    .coast__pin--1 { animation-range: entry 30% cover 40%; }
    .coast__pin--2 { animation-range: entry 45% cover 48%; }
    .coast__pin--3 { animation-range: entry 60% cover 56%; }
    @keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  }
  .coast__ring { animation: ping 2.4s var(--ease-out) infinite; }
  .coast__pin--2 .coast__ring { animation-delay: .8s; }
  .coast__pin--3 .coast__ring { animation-delay: 1.6s; }
  @keyframes ping { 0% { transform: scale(.6); opacity: .55; } 80%, 100% { transform: scale(2.1); opacity: 0; } }
}

/* ── Documents (privacy / accessibility / 404) ──────────────────── */
.doc { padding-block: clamp(3rem, 6vw, 5rem); }
.doc__inner { max-width: 760px; }
.doc h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.15;
  margin-bottom: .5rem;
}
.doc__meta { color: var(--ink-3); font-size: .95rem; margin-bottom: 2.5rem; }
.doc h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin: 2.25rem 0 .6rem; }
.doc p, .doc li { color: var(--ink-2); }
.doc p + p { margin-top: .8rem; }
.doc ul { list-style: disc; padding-inline-start: 1.4rem; display: grid; gap: .35rem; margin-top: .6rem; }
.doc a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.doc .card {
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 7rem); line-height: 1; color: var(--gold); -webkit-text-stroke: 2px var(--charcoal); }
.nf p { margin: 1rem auto 2rem; max-width: 40ch; color: var(--ink-2); }
.nf .hero__cta { justify-content: center; }
.nf .hero__cta .btn { flex: 0 0 auto; }

/* ═════════════ Phone refinements ═════════════ */
@media (max-width: 959px) {
  .hero__media { aspect-ratio: 16 / 9; }
  .hero__content { padding-block: 1.6rem 2.75rem; }
  .eyebrow--hero { margin-bottom: .7rem; }
}
@media (max-width: 559px) {
  .hero__title { font-size: 2.15rem; line-height: 1.12; }
  .hero__lead { margin-top: .9rem; font-size: 1.0625rem; line-height: 1.65; }
  .hero__cta { flex-wrap: nowrap; margin-top: 1.4rem; gap: .6rem; }
  .hero__cta .btn--wa { flex: 1 1 auto; }
  .hero__call { flex: 0 0 58px; width: 58px; padding: 0; }
  .hero__call .btn__label { display: none; }
  .hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1.1rem; }
  .hero__trust li {
    flex-direction: column;
    justify-content: center;
    gap: .3rem;
    padding: .65rem .3rem;
    border-radius: 14px;
    text-align: center;
    font-size: .875rem;
    line-height: 1.3;
  }
  .hero__trust .icon { width: 20px; height: 20px; }

  .section-head { margin-bottom: 1.75rem; }
  .section-head__lead { margin-top: .7rem; }

  .about__photo { aspect-ratio: 5 / 4; }
  .about__photo img { object-position: 50% 32%; }
  .about__body .h2 { margin-bottom: 1.4rem; }
  .benefits { gap: .75rem; }
  .benefit { padding: 1.1rem; gap: .85rem; }
  .benefit__icon { width: 42px; height: 42px; border-radius: 12px; }

  .svc__media { aspect-ratio: 16 / 9; }
  .svc__body { padding: 1.9rem 1.25rem 1.2rem; gap: .5rem; }
  .svc__title { font-size: 1.2rem; }

  /* steps become a compact vertical timeline */
  .steps { gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 1rem;
    padding: 0 0 1.6rem;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .step__num { grid-row: 1 / span 2; position: relative; z-index: 1; }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50px;
    bottom: 6px;
    inset-inline-start: 21px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--line-2) 0 6px, transparent 6px 12px);
  }
  .step__icon { display: none; }
  .step__title { margin-top: .4rem; }
  .step p { margin-top: .15rem; }

  .dossier { margin-top: 1.4rem; }
  .dossier__head { padding: 1.25rem 1.25rem 0; }
  .checklist { padding: 1rem 1.25rem 1.35rem; }
  .safety__photo { aspect-ratio: 16 / 10; }

  /* the coastline map is decorative; on phones the region cards carry it */
  .coast { display: none; }
  .region { padding: 1.15rem 1.2rem; gap: .85rem; }
  .region__pin { width: 42px; height: 42px; border-radius: 12px; }
  .region__title { font-size: 1.12rem; margin-bottom: .5rem; }
  .chips li { font-size: .9rem; padding: .25rem .7rem; }

  .avail { padding: 1.1rem; border-radius: var(--radius-l); }
  .week { grid-template-columns: repeat(6, 1fr); gap: .35rem; }
  .day { padding: .75rem .2rem; border-radius: 12px; }
  .day__name { font-size: 1.3rem; }
  .day__slot { display: none; }
  .avail__notes { margin-top: 1.25rem; gap: .9rem; }
  .note__icon { width: 42px; height: 42px; border-radius: 12px; }
  .avail__flex { margin-top: 1.25rem; padding: .9rem 1rem; font-size: 1rem; align-items: flex-start; }

  .term { padding: 1.1rem; gap: 1rem; }
  .term__num { width: 44px; height: 44px; font-size: 1.05rem; }
  .term p { font-size: 1rem; }

  .qa summary { padding: .9rem 1.1rem; font-size: 1.02rem; }
  .qa__a { padding: 0 1.1rem 1.1rem; }

  .cta__grid { padding-block: 3rem; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; padding-block: 2.5rem 1.5rem; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media print {
  .site-header, .mbar, .cta__art, .hazard { display: none !important; }
  body { padding: 0; background: #fff; }
}
