/* ============================================================
   Shalom Jeep Tours - main stylesheet
   Palette: "Desert & Luxury" (approved direction from questionnaire)
   Mobile-first: base rules target phones, min-width queries enhance up.
   ============================================================ */

:root {
  --navy: #1f344a;
  --navy-deep: #16263a;
  --gold: #c8913e;
  --gold-light: #d9ab63;
  --sand: #e9dcc6;
  --sand-light: #f3ecdd;
  --cream: #faf6ee;
  --green: #3f7d46;
  --green-deep: #2e5c36;
  /* WhatsApp green darkened so white text passes WCAG AA (5.0:1) */
  --whatsapp: #16803a;
  /* Gold is too light for text on white/cream; these darker golds pass AA */
  --gold-text: #8a5f28;
  --brand-gold: #b07b2e;
  --ink: #2e2a24;
  --muted: #6f675a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 52, 74, 0.12);
  --nav-height: 64px;
  /* Text-size multiplier driven by the accessibility widget (1 = default).
     Every font-size below is multiplied by it. */
  --fscale: 1;
  /* Heading scale for card-level titles (h3) */
  --fs-h3-xl: calc(22px * var(--fscale));
  --fs-h3-lg: calc(20px * var(--fscale));
  --fs-h3: calc(17.5px * var(--fscale));
  --fs-h3-sm: calc(16.5px * var(--fscale));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Assistant', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: calc(16px * var(--fscale));
}

h1, h2, h3, .brand-name { font-family: 'Rubik', sans-serif; color: var(--navy); }
h2, h3 { line-height: 1.2; }

/* Visually hidden, still read by screen readers */
.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;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Anchored scroll targets land below the sticky nav */
section[id], .daytrip, .barmitzva { scroll-margin-top: 76px; }

.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 10000;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ============ NAV ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
  transition: box-shadow .25s;
}
.site-nav.scrolled { box-shadow: 0 6px 24px rgba(31, 52, 74, 0.12); }
.nav-inner {
  display: flex;
  flex-direction: row-reverse; /* RTL: logo visually left, actions right */
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--nav-height);
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 16px;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: calc(19px * var(--fscale)); color: var(--navy); white-space: nowrap; }
.brand-gold { color: var(--brand-gold); }
.brand-sub { font-size: calc(12.5px * var(--fscale)); color: var(--muted); letter-spacing: .02em; }

.nav-links { display: none; }
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: calc(15px * var(--fscale));
  padding: 8px 4px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-text); }
.nav-links .nav-cta {
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 18px;
}
.nav-links .nav-cta:hover { background: var(--gold-light); color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: calc(13px * var(--fscale));
  cursor: pointer;
  min-height: 44px; /* touch target */
}
.lang-toggle:hover { background: var(--navy); color: #fff; }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  min-width: 44px; /* touch target */
  min-height: 44px;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile menu open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  inset-inline: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  padding: 12px 20px 20px;
  gap: 4px;
  box-shadow: var(--shadow);
}
.nav-links.open a { padding: 11px 4px; border-bottom: 1px solid var(--sand-light); }
.nav-links.open .nav-cta { border-bottom: none; text-align: center; margin-top: 8px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: calc(15.5px * var(--fscale));
  text-decoration: none;
  min-height: 48px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--whatsapp); color: #fff; box-shadow: 0 6px 18px rgba(22, 128, 58, 0.35); }
.btn-call { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.6); backdrop-filter: blur(4px); }
.btn-call-dark { background: var(--navy); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.wa-icon, .call-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-defender-view.jpg') center 65% / cover no-repeat;
  /* endless slow "Ken Burns" breathing: zooms in, then back out, forever;
     disabled under reduced-motion below */
  animation: hero-zoom 16s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 38, 58, 0.82) 0%, rgba(22, 38, 58, 0.5) 45%, rgba(22, 38, 58, 0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 90px 22px 60px;
  max-width: 720px;
}
.hero-logo {
  height: clamp(96px, 18vw, 150px);
  width: auto;
  margin-inline: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}
.hero-kicker {
  color: var(--gold-light);
  font-weight: 700;
  font-size: calc(15px * var(--fscale));
  letter-spacing: .04em;
  margin-bottom: 12px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.hero h1 {
  color: #fff;
  font-size: calc(clamp(34px, 9vw, 58px) * var(--fscale));
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
/* On phones the title breaks 1 + 2 words (heavier second line) instead
   of leaving a single orphan word; desktop keeps a single line. */
.hero-title-line2 { display: block; }
.hero-sub {
  color: #e8e4da;
  font-size: calc(clamp(16px, 4.2vw, 19px) * var(--fscale));
  margin-bottom: 26px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-ctas .btn { flex: 1 1 0; max-width: 240px; min-width: 170px; }
.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 30px;
}
.trust-strip li {
  color: #f0ead9;
  font-size: calc(14px * var(--fscale));
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust-strip li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============ SCROLL CUE ============ */
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-cue span {
  display: block;
  width: 12px; height: 12px;
  border-right: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
  transform: rotate(45deg);
  animation: cue-bob 1.8s ease-in-out infinite;
}
@keyframes cue-bob {
  0%, 100% { translate: 0 0; opacity: .9; }
  50% { translate: 0 8px; opacity: .4; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue { display: none; } .hero-bg { animation: none; } }

/* ============ VERSE BAND ============ */
.verse-band {
  background: linear-gradient(180deg, #131f30, var(--navy));
  text-align: center;
  padding-top: 46px;
}
.verse-text {
  font-family: 'Frank Ruhl Libre', 'Rubik', serif;
  color: #f0e7d3;
  font-size: calc(clamp(21px, 5vw, 32px) * var(--fscale));
  font-weight: 500;
  line-height: 1.5;
  max-width: 700px;
  margin-inline: auto;
}
.verse-ref {
  color: var(--gold-light);
  font-size: calc(14px * var(--fscale));
  font-weight: 600;
  letter-spacing: .12em;
  margin-top: 10px;
}
.verse-ref::before, .verse-ref::after {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-inline: 10px;
  opacity: .6;
}
.verse-band .wave-divider { margin-top: 6px; }

/* ============ WAVE DIVIDERS ============ */
/* The negative bottom margin makes the wave overlap the next section by
   2px, hiding the dark hairline that fractional-pixel rounding leaves at
   the section boundary on mobile screens. */
.wave-divider { margin-bottom: -2px; position: relative; z-index: 1; }
.wave-divider svg { display: block; width: 100%; height: 44px; }

/* ============ SECTIONS (shared) ============ */
.section { padding: 56px 0; }
.section h2 { font-size: calc(clamp(26px, 6.5vw, 38px) * var(--fscale)); font-weight: 800; margin-bottom: 12px; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 28px; font-size: calc(16.5px * var(--fscale)); }

/* ============ AREAS ============ */
.areas { background: var(--cream); }
.area-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.area-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform .25s, box-shadow .25s;
}
.area-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31, 52, 74, 0.18); }
.area-card.theme-green { border-top-color: var(--green); }
.area-img { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.area-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.area-card:hover .area-img img { transform: scale(1.04); }
.theme-line {
  margin-top: 12px;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: calc(16px * var(--fscale));
  color: var(--navy);
}
.theme-sep {
  color: var(--gold);
  font-size: calc(12px * var(--fscale));
  margin-inline: 10px;
  vertical-align: 1px;
}
.area-body { padding: 18px 20px 22px; }
.area-cta { margin-top: 18px; }
.area-body h3 { font-size: var(--fs-h3-lg); margin-bottom: 6px; }
.area-body p { font-size: calc(15.5px * var(--fscale)); color: var(--muted); }

/* ============ LOCATIONS TOGGLE + CAROUSEL ============ */
.locations-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 12px 22px;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: calc(16.5px * var(--fscale));
  color: var(--navy);
  min-height: 48px;
  transition: border-color .15s, color .15s, transform .15s;
}
.locations-toggle:hover { border-color: var(--gold); color: var(--gold-text); transform: translateY(-1px); }
.toggle-chevron {
  width: 22px; height: 22px;
  color: var(--gold);
  transition: transform .3s;
  flex-shrink: 0;
}
.locations-toggle[aria-expanded="true"] .toggle-chevron { transform: rotate(180deg); }

.locations-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s ease;
}
.locations-panel.open { grid-template-rows: 1fr; }
.locations-panel-inner { overflow: hidden; min-height: 0; }
.locations-panel.open .locations-panel-inner { padding-top: 14px; }

.carousel-head {
  display: none;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.carousel-nav { display: none; gap: 8px; flex-shrink: 0; }
.car-btn {
  width: 44px; height: 44px; /* touch target */
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.car-btn:hover { background: var(--gold); color: var(--navy); }
.car-btn svg { width: 20px; height: 20px; }
/* flip the chevrons when the page runs LTR */
[dir="ltr"] .car-btn svg { transform: scaleX(-1); }

.carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.car-card {
  flex: 0 0 60%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.car-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.car-body { padding: 13px 16px 16px; }
.car-body h3 { font-size: var(--fs-h3); margin-bottom: 3px; }
.car-body p { font-size: calc(14px * var(--fscale)); color: var(--muted); line-height: 1.5; }

.pickup-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: calc(15px * var(--fscale));
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pickup-note::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============ DAY TRIP (10h) ============ */
.daytrip {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, #fdf9f0, #f4e8d2);
  border: 1px solid #e8d5ae;
  box-shadow: var(--shadow);
}
.daytrip .slideshow { aspect-ratio: 4 / 3; }
.daytrip-body { padding: 24px 22px 26px; }
.daytrip-body h3 { font-size: var(--fs-h3-xl); margin-bottom: 8px; }
.daytrip-body p { color: var(--muted); font-size: calc(15.5px * var(--fscale)); margin-bottom: 18px; }

/* ============ SECTION BACKGROUND RHYTHM ============
   Sections alternate cream / sand so each one reads as its own band:
   verse (navy) > formats (sand) > areas (cream) > vehicles (sand) >
   walking (cream) > barmitzva (sand) > about (cream) > gallery (sand) >
   contact (navy). */

/* ============ FORMATS ============ */
.formats { background: var(--sand-light); }
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.format-tile {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.format-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31, 52, 74, 0.16); }
.format-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  margin-inline: auto;
  margin-bottom: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand-light), #fff);
  border: 1px solid var(--sand);
  color: var(--gold);
}
.format-icon svg { width: 24px; height: 24px; }
.format-duration {
  display: block;
  font-size: calc(12.5px * var(--fscale));
  font-weight: 700;
  color: var(--gold-text);
  letter-spacing: .04em;
  margin-bottom: 3px;
}
.format-tile h3 { font-size: var(--fs-h3-sm); margin-bottom: 4px; }
.format-tile p { font-size: calc(13.5px * var(--fscale)); color: var(--muted); line-height: 1.5; }
.private-note {
  margin-top: 20px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--sand);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: calc(15.5px * var(--fscale));
  box-shadow: var(--shadow);
}
.private-note strong { color: var(--navy); }
.baby-note { margin-top: 8px; font-size: calc(13px * var(--fscale)); color: var(--muted); text-align: center; }

/* ============ VEHICLES ============ */
.vehicles { background: var(--sand-light); }
.vehicle-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.vehicle-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vehicle-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.vehicle-body { padding: 16px 20px 20px; }
.vehicle-body h3 { font-size: var(--fs-h3-lg); margin-bottom: 4px; }
.vehicle-body p { font-size: calc(15px * var(--fscale)); color: var(--muted); }

/* ============ WALKING ============ */
.walking { background: var(--cream); }
.walking-list { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.walking-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.walk-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand-light), #fff);
  border: 1px solid var(--sand);
  color: var(--gold);
}
.walk-icon svg { width: 24px; height: 24px; }
.walking-list h3 { font-size: var(--fs-h3); margin-bottom: 2px; }
.walking-list p { font-size: calc(14.5px * var(--fscale)); color: var(--muted); }

.walking-cta { text-align: center; margin: 4px 0 6px; }

.barmitzva-section { background: var(--sand-light); }
.barmitzva {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.barmitzva-text { padding: 26px 24px; }
.barmitzva h3 { color: #fff; font-size: calc(22px * var(--fscale)); margin-bottom: 8px; }
.barmitzva p { color: #d8dde4; font-size: calc(15.5px * var(--fscale)); margin-bottom: 18px; }
.barmitzva .btn-outline { color: #fff; border-color: var(--gold); }
.barmitzva-logo { width: 100%; height: auto; max-height: 340px; object-fit: contain; background: #fff; padding: 12px; }

/* ============ ABOUT ============ */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.about-text p { margin-bottom: 14px; font-size: calc(16px * var(--fscale)); }
.why-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.why-grid li {
  background: #fff;
  border-radius: 12px;
  padding: 13px 15px;
  border-inline-start: 3px solid var(--gold);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.why-grid strong { font-family: 'Rubik', sans-serif; color: var(--navy); font-size: calc(14.5px * var(--fscale)); }
.why-grid span { font-size: calc(13px * var(--fscale)); color: var(--muted); line-height: 1.45; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ============ CONTACT ============ */
.contact {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  text-align: center;
  position: relative;
  padding-top: 96px; /* room for the wave at the top */
}
/* Wave flipped to sit at the top of a section: the cream band of the
   previous section curves down into the navy. */
.wave-divider-top {
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  margin: 0;
  transform: rotate(180deg);
}
.contact h2 { color: #fff; }
.contact .section-intro { color: #d8dde4; margin-inline: auto; }
.contact .hero-ctas { margin-top: 8px; }
.contact .btn-call-dark { background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.5); }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy-deep); color: #b9c2cd; }
.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding-top: 38px;
  padding-bottom: 28px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; }
.footer-logo {
  height: 150px;
  width: auto;
  margin-bottom: 14px;
  background: var(--cream);
  border-radius: 14px;
  padding: 10px 16px;
}
/* English pages: emblem + Latin wordmark replaces the Hebrew logo */
.footer-logo-en {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  background: var(--cream);
  border-radius: 14px;
  padding: 10px 18px;
}
.footer-logo-en img { height: 64px; width: auto; }
.footer-brand-name { font-family: 'Rubik', sans-serif; font-weight: 800; font-size: calc(22px * var(--fscale)); color: var(--navy); white-space: nowrap; }
body.lang-en .footer-logo { display: none; }
body.lang-en .footer-logo-en { display: flex; }
.footer-brand p { font-size: calc(14px * var(--fscale)); max-width: 460px; }
.footer-brand .footer-creds { font-size: calc(12.5px * var(--fscale)); color: #8b95a3; margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-nav a { color: #d3d9e0; text-decoration: none; font-size: calc(14.5px * var(--fscale)); padding: 10px 4px; display: inline-block; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  font-size: calc(12.5px * var(--fscale));
  color: #8b95a3;
  /* the floating WhatsApp / accessibility buttons sit in the bottom corners */
  padding-bottom: 84px;
}
.footer-credit { color: #8b95a3; text-decoration: none; }
.footer-credit:hover { color: var(--gold-light); }

/* ============ FLOATING WHATSAPP ============ */
.wa-float {
  position: fixed;
  bottom: 18px;
  inset-inline-end: 18px;
  z-index: 999;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* ============ MOBILE CENTERING ============ */
/* Phones get centered content; desktop reverts to start-alignment in the
   min-width block below. The long about-me paragraphs stay start-aligned
   on purpose - centered multi-line prose is hard to read. */
.section h2 { text-align: center; }
.section-intro { text-align: center; margin-inline: auto; }
.area-body { text-align: center; }
.carousel-head { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.car-body { text-align: center; }
.pickup-note { justify-content: center; text-align: center; }
.daytrip-body { text-align: center; }
.private-note { text-align: center; }
.vehicle-body { text-align: center; }
.walking-list li { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.barmitzva-text { text-align: center; }
.why-grid li { align-items: center; text-align: center; }
.gallery-note { text-align: center; }

/* ============ SLIDESHOWS ============ */
.slideshow { position: relative; overflow: hidden; }
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}
.slideshow img.active { opacity: 1; }
.car-card .slideshow { aspect-ratio: 16 / 9; }

/* ============ REVEAL ON SCROLL ============ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .area-img img { transition: none; }
}

/* ============================================================
   Desktop enhancements
   ============================================================ */
@media (min-width: 760px) {
  .section { padding: 80px 0; }

  /* revert the phone-only centering (private-note stays centered) */
  .section h2, .section-intro, .area-body, .car-body, .daytrip-body,
  .vehicle-body, .barmitzva-text { text-align: start; }
  .section-intro { margin-inline: 0; }
  .contact h2, .contact .section-intro { text-align: center; }
  .contact .section-intro { margin-inline: auto; }
  .carousel-head { display: flex; }
  .pickup-note { justify-content: flex-start; text-align: start; }
  .why-grid li { align-items: flex-start; text-align: start; }

  .nav-links { display: flex; align-items: center; gap: 18px; }
  .hamburger { display: none; }
  .brand-text { align-items: flex-start; text-align: start; }

  .hero-ctas .btn { flex: 0 0 auto; }
  .hero-title-line2 { display: inline; }

  /* 6-track grid: the feature card spans all tracks, the three
     secondary cards sit together in one row of three. */
  .area-grid { grid-template-columns: repeat(6, 1fr); gap: 24px; }
  .area-card { grid-column: span 2; }
  .area-card.feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
  }
  /* The image fills the column absolutely so a portrait photo cannot
     stretch the card - the text column dictates the card height. */
  .area-card.feature .area-img { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .area-card.feature .area-img img { position: absolute; inset: 0; object-position: center 30%; }
  .area-card.feature .area-body { align-self: center; padding: 30px 34px; }
  .area-card.feature h3 { font-size: calc(26px * var(--fscale)); }
  .area-card.feature p { font-size: calc(16.5px * var(--fscale)); }
  .format-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .walking-list { grid-template-columns: repeat(3, 1fr); }
  .walking-list li { flex-direction: column; gap: 8px; align-items: flex-start; text-align: start; }

  .barmitzva { grid-template-columns: 1.2fr 1fr; }
  .barmitzva-text { padding: 38px 36px; align-self: center; }
  .barmitzva-logo { height: 100%; max-height: none; padding: 20px; }

  .carousel-nav { display: flex; }
  .car-card { flex-basis: calc((100% - 28px) / 3); }
  .daytrip { grid-template-columns: 1fr 1.3fr; }
  .daytrip .slideshow { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .daytrip-body { padding: 32px 34px; align-self: center; }

  .about-grid { grid-template-columns: 1.25fr 1fr; gap: 44px; }

  .contact { padding-top: 120px; }

  .footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 60px;
    align-items: start;
    text-align: start;
  }
  .footer-brand { align-items: flex-start; }
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 12px; }
  .footer-nav a { padding: 6px 0; }
  .footer-bottom { flex-direction: row; justify-content: space-between; padding: 16px 96px 22px; }
}

/* Tablets: the Hebrew links fit on one line when tightened; the longer
   English labels do not, so English keeps the hamburger menu up to 1023px. */
@media (min-width: 760px) and (max-width: 1023px) {
  .nav-links { gap: 10px; }
  .nav-links a { font-size: calc(14px * var(--fscale)); padding: 8px 2px; }
  .nav-links .nav-cta { padding: 8px 14px; }
  .brand-sub { display: none; }
  body.lang-en .nav-links:not(.open) { display: none; }
  body.lang-en .hamburger { display: flex; }
  body.lang-en .nav-links.open { align-items: stretch; gap: 4px; }
  body.lang-en .nav-links.open a { text-align: center; padding: 11px 4px; }
  body.lang-en .nav-links.open .nav-cta { align-self: center; padding: 10px 28px; }
}

@media (min-width: 1080px) {
  .hero h1 { font-size: calc(60px * var(--fscale)); }
}
