/* =====================================================================
   Lev Yam — styles.css
   Hebrew RTL · Brand: blue #2c92bf / cream #fff7ea / orange #f49834
   ===================================================================== */

/* ── Font Faces ──────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-hebrew.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  src: url('../fonts/Heebo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: 'Assistant';
  src: url('../fonts/Assistant-hebrew.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Assistant';
  src: url('../fonts/Assistant-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

/* ── Design Tokens ───────────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-blue:        #2c92bf;
  --color-blue-deep:   #1f6f93;
  --color-cream:       #fff7ea;
  --color-orange:      #f49834;
  --color-orange-deep: #d97f1f;
  --color-ink:         #1a3340;
  --color-ink-soft:    #4a6571;
  --color-line:        #e8d9b8;
  --color-white:       #ffffff;

  /* Spacing (4px grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 2.5rem;
  --space-7: 3rem;

  /* Layout */
  --container-max:    1440px;
  --container-narrow: 760px;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 51, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 51, 64, 0.10);

  /* Typography */
  --font-display: 'Assistant', 'Heebo', system-ui, sans-serif;
  --font-body:    'Heebo', 'Assistant', system-ui, sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-h2:   clamp(2.2rem, 1.8rem + 1.8vw, 3.2rem);
  --text-h1:   clamp(2.5rem, 1.8rem + 3vw, 4.5rem);

  --leading-tight: 1.15;
  --leading-body:  1.65;

  /* Header height */
  --header-h: 72px;
}

/* ── Arabic font stack (Heebo/Assistant cover Hebrew + Latin only) ───── */
html[lang="ar"] {
  --font-display: 'SF Arabic', 'Geeza Pro', 'Noto Sans Arabic', 'Tahoma', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'SF Arabic', 'Geeza Pro', 'Noto Sans Arabic', 'Tahoma', 'Segoe UI', system-ui, sans-serif;
}
html[lang="ar"] body {
  line-height: 1.7;
}

/* ── Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-5);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-ink);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* ── Skip Link ───────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  inset-block-start: var(--space-3);
  inset-inline-start: var(--space-3);
  z-index: 10000;
  padding: var(--space-2) var(--space-4);
  background: var(--color-ink);
  color: var(--color-cream);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}

/* ── Containers ──────────────────────────────────────────────────────── */
.container {
  inline-size: min(100%, var(--container-max));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container-narrow {
  max-inline-size: var(--container-narrow);
}

/* ── Global Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  color: var(--color-ink);
  text-wrap: balance;
}

.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: var(--leading-tight);
  position: relative;
  display: block;
  inline-size: fit-content;
  max-inline-size: 100%;
  margin-inline: auto;
  margin-block-end: var(--space-4);
  padding-block-end: 0.55rem;
  text-align: center;
}
.section-title::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  block-size: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(244, 152, 52, 0.55) 15%,
    var(--color-orange) 50%,
    rgba(244, 152, 52, 0.55) 85%,
    transparent 100%);
  box-shadow: 0 0 14px rgba(244, 152, 52, 0.40);
}

.subsection-title {
  font-size: var(--text-lead);
  font-weight: 600;
  margin-block-end: var(--space-3);
}

.section-sub {
  font-size: var(--text-lead);
  color: var(--color-ink-soft);
  line-height: 1.5;
  margin-block-start: 0;
  margin-block-end: 0;
}

.section-header {
  text-align: center;
  margin-block-end: clamp(1.25rem, 2.5vw, 2rem);
}

.section-header .section-title {
  margin-block-end: var(--space-3);
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.65;
  color: var(--color-ink-soft);
  margin-block-end: var(--space-2);
  text-wrap: pretty;
}

p {
  margin-block-end: var(--space-2);
  text-wrap: pretty;
}
p:last-child {
  margin-block-end: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding-block: 0.75rem;
  padding-inline: var(--space-5);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  min-block-size: 44px;
  min-inline-size: 44px;
  text-align: center;
  transition: background-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: scale(1.02);
  }
}

.btn:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-deep));
  color: #fff;
  box-shadow: 0 2px 10px rgba(244, 152, 52, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-orange-deep), #bf6e12);
  box-shadow: 0 4px 16px rgba(244, 152, 52, 0.45);
}

.btn-ghost {
  background-color: rgba(44, 146, 191, 0.22);
  color: var(--color-cream);
  border: 2px solid rgba(44, 146, 191, 0.75);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background-color: rgba(44, 146, 191, 0.38);
  border-color: rgba(44, 146, 191, 0.95);
}

/* ── Wave Divider ────────────────────────────────────────────────────── *
   Tiled zigzag — repeats horizontally so triangles stay the same size at  *
   any viewport width (instead of stretching). Sits on its own neutral     *
   cream strip so both edges have visible "breathing room" against either  *
   adjacent section colour.                                                */
.wave-divider {
  display: block;
  inline-size: 100%;
  block-size: 28px;
  margin-block: 0;
  background-color: var(--color-cream);
  background-repeat: repeat-x;
  background-position: center;
  background-size: 80px 16px;
}

.wave-divider--orange {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='16' viewBox='0 0 80 16'%3E%3Cpath d='M0 8 L20 2 L60 14 L80 8' fill='none' stroke='%23f49834' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wave-divider--blue {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='16' viewBox='0 0 80 16'%3E%3Cpath d='M0 8 L20 2 L60 14 L80 8' fill='none' stroke='%232c92bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── Site Header ─────────────────────────────────────────────────────── */
.hero-topbar {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  block-size: 96px;
  padding-inline: var(--space-5);
  background: linear-gradient(to bottom,
    rgba(12, 26, 36, 0.55) 0%,
    rgba(12, 26, 36, 0.25) 70%,
    transparent 100%);
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img {
  block-size: 80px;
  inline-size: auto;
}

@media (min-width: 961px) {
  .logo {
    position: fixed;
    top: 8px;
    right: var(--space-5);
    z-index: 1000;
  }
}

.primary-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.primary-nav ul {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.primary-nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-cream);
  padding-block: var(--space-2);
  border-block-end: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.primary-nav a:hover {
  color: var(--color-orange);
  border-block-end-color: var(--color-orange);
}


.header-social {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  margin-inline-start: auto;
}
.header-social a {
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: color 0.2s, background-color 0.2s;
}
.header-social a:hover {
  color: var(--color-orange);
  background-color: rgba(255, 247, 234, 0.12);
}

/* ── Language toggle ─────────────────────────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(12, 26, 36, 0.28);
  border: 1px solid rgba(255, 247, 234, 0.22);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.lang-opt {
  min-inline-size: 32px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 247, 234, 0.72);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
  line-height: 1.4;
}
.lang-opt:hover:not(.is-active) {
  color: var(--color-cream);
}
.lang-opt.is-active {
  background: rgba(255, 247, 234, 0.95);
  color: var(--color-blue-deep);
}
.lang-opt:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}


.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: var(--space-2);
  block-size: 44px;
  inline-size: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(12, 26, 36, 0.55);
  border: 1px solid rgba(255, 247, 234, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.nav-toggle span {
  display: block;
  block-size: 2px;
  inline-size: 20px;
  background-color: var(--color-cream);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Nav ──────────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 999;
  background: rgba(12, 26, 36, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-2) var(--space-3) var(--space-3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-block-end: 1px solid rgba(255, 247, 234, 0.07);
}

.mobile-nav[hidden] {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes nav-slide-down {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: none; opacity: 1; }
  }
  .mobile-nav:not([hidden]) {
    animation: nav-slide-down 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* Header row: brand + close button */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-1);
  margin-block-end: var(--space-2);
  border-block-end: 1px solid rgba(255, 247, 234, 0.08);
}

.mobile-nav-brand {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: rgba(255, 247, 234, 0.55);
  letter-spacing: 0.04em;
}

.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 247, 234, 0.10);
  color: rgba(255, 247, 234, 0.80);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.mobile-nav-close:hover {
  background: rgba(255, 247, 234, 0.18);
  color: var(--color-cream);
}

/* 2-column grid — compact and tidy */
.mobile-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

/* Last item spans full width for balanced layout (5 items → 2+2+1) */
.mobile-nav li:last-child {
  grid-column: span 2;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 247, 234, 0.82);
  background: rgba(255, 247, 234, 0.06);
  border: 1px solid rgba(255, 247, 234, 0.09);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-cream);
  background: rgba(255, 247, 234, 0.13);
  border-color: rgba(255, 247, 234, 0.18);
}
.mobile-nav a:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-block-size: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-blue);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}


.hero-poster-fallback {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(26, 51, 64, 0.15) 0%,
      rgba(26, 51, 64, 0.40) 40%,
      rgba(26, 51, 64, 0.75) 72%,
      rgba(26, 51, 64, 0.93) 100%
    ),
    radial-gradient(ellipse 100% 70% at 50% 45%,
      transparent 35%,
      rgba(26, 51, 64, 0.28) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-cream);
  padding-inline: var(--space-5);
  max-inline-size: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-content > .hero-title  { margin-block-start: var(--space-3); }
.hero-content > .hero-lead   { margin-block-start: var(--space-2); }
.hero-content > .hero-ctas   { margin-block-start: var(--space-5); }

.hero-content::before {
  content: '';
  position: absolute;
  inset: -60px -80px;
  background: radial-gradient(ellipse 55% 50% at 50% 50%,
    rgba(10, 25, 35, 0.35) 0%,
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
}

/* ── Hero logo build sequence ─────────────────────────────────────────── */
.hero-logo {
  position: relative;
  /* vw-responsive on all viewports: ~43vw on mobile, capped at 330px on desktop */
  width: clamp(170px, 43vw, 330px);
  aspect-ratio: 1;
  margin-block-end: 0;
  margin-inline: auto;
  will-change: transform;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.logo-build {
  position: absolute;
  inset: 0;
}

.logo-build-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

/* Reduced-motion: show the final (complete) frame immediately */
@media (prefers-reduced-motion: reduce) {
  .lbf-3 { opacity: 1; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-cream);
  margin-block-end: 0;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 24px rgba(10, 25, 35, 0.9),
    0 8px 48px rgba(10, 25, 35, 0.6);
}

.hero-accent {
  color: var(--color-orange);
  text-shadow:
    0 0 8px rgba(244, 152, 52, 0.65),
    0 0 20px rgba(244, 152, 52, 0.28),
    0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-accent-blue {
  color: var(--color-blue);
  text-shadow:
    0 0 8px rgba(44, 146, 191, 0.65),
    0 0 20px rgba(44, 146, 191, 0.28),
    0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-lead {
  font-size: clamp(0.95rem, 3.6vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255, 247, 234, 0.98);
  margin-block-end: 0;
  margin-inline: auto;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
@media (prefers-reduced-motion: no-preference) {

  @keyframes hero-enter {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes hero-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
  }

  /* Frame fade-in: each layer fades up (opacity only — no glow/blur).      */
  @keyframes logo-frame-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  @keyframes logo-build-rise {
    0%, 50% { transform: translateY(0); }
    100%    { transform: translateY(-8px); }
  }

  @keyframes logo-build-expand {
    0%, 50% { transform: scale(1); }
    100%    { transform: scale(1.022); }
  }

  @keyframes logo-float {
    0%, 100% { transform: translateY(-8px); }
    50%      { transform: translateY(0); }
  }

  @keyframes logo-breathe-scale {
    0%, 100% { transform: scale(1.022); }
    50%      { transform: scale(1); }
  }

  .lbf-1 { animation: logo-frame-in 2.2s ease-in-out 0.3s both; }
  .lbf-2 { animation: logo-frame-in 2.2s ease-in-out 1.4s both; }
  .lbf-3 { animation: logo-frame-in 2.2s ease-in-out 2.5s both; }

  .logo-build {
    animation:
      logo-build-expand   5.5s ease-in-out 0s   both,
      logo-breathe-scale  4.5s ease-in-out 5.5s infinite;
  }

  .hero-logo {
    animation:
      logo-build-rise   5.5s ease-in-out 0s   both,
      logo-float        4.5s ease-in-out 5.5s infinite;
  }

  .hero-title { animation: hero-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
  .hero-lead  { animation: hero-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both; }
  .hero-ctas  { animation: hero-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.50s both; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ── Intro ───────────────────────────────────────────────────────────── */
.intro {
  padding-block: clamp(2rem, 2.5vw + 1.25rem, 3.5rem);
  text-align: center;
}

.intro .container-narrow {
  margin-inline: auto;
}

.intro .container-narrow::before {
  content: '';
  display: block;
  inline-size: 64px;
  block-size: 2px;
  margin-inline: auto;
  margin-block-end: var(--space-4);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-orange) 50%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(244, 152, 52, 0.45);
}

.intro .lead {
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.6rem);
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1.7;
  text-wrap: balance;
  max-inline-size: 700px;
  margin-inline: auto;
}

.intro-brand {
  font-weight: 800;
  white-space: nowrap;
}

/* Brand name — keep "לב ים" / "ليف يام" on one line, bold, wherever it
   appears inside body copy. */
.brand-name {
  white-space: nowrap;
  font-weight: 700;
}


/* ── Services ────────────────────────────────────────────────────────── */
.services {
  padding-block: clamp(2rem, 2.5vw + 1.25rem, 3.5rem);
  background-color: var(--color-blue);
}

.services .section-title {
  color: var(--color-cream);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.service-card {
  flex: 0 0 calc(33.333% - 1rem);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}

.service-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: color-mix(in srgb, var(--color-blue) 18%, var(--color-cream));
}

.service-media picture {
  display: block;
  block-size: 100%;
}
.service-media picture img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}

.service-media--illustration {
  background-color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-media--illustration picture {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}

.service-media--illustration picture img {
  object-fit: contain;
  max-height: 100%;
}

.service-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
  text-align: center;
  align-items: center;
}

.service-body h3 {
  font-size: var(--text-lead);
  font-weight: 600;
  color: var(--color-blue-deep);
}

.service-body h3::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-blue);
  margin-inline: auto;
  margin-block-start: var(--space-2);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.service-card:hover .service-body h3::after {
  width: 44px;
}

.service-body p {
  font-size: var(--text-base);
  color: var(--color-ink-soft);
  line-height: var(--leading-body);
  flex: 1;
  margin: 0;
}

.service-body .btn {
  align-self: center;
  margin-block-start: auto;
  padding-block: 0.6rem;
  padding-inline: var(--space-4);
  font-size: 0.9375rem;
}

/* ── Why ─────────────────────────────────────────────────────────────── */
.why {
  padding-block: clamp(2rem, 2.5vw + 1.25rem, 3.5rem);
  background-color: var(--color-cream);
}

.why .container-narrow {
  margin-inline: auto;
  text-align: center;
  margin-block-end: var(--space-5);
}

.village-block {
  margin-inline: auto;
  padding: var(--space-6) var(--space-7);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-block-start: 3px solid var(--color-orange);
}

.village-block .subsection-title {
  color: var(--color-blue-deep);
}

.village-block p {
  color: var(--color-ink-soft);
  line-height: var(--leading-body);
}

/* ── Gallery ─────────────────────────────────────────────────────────── */
.gallery {
  padding-block: clamp(2rem, 2.5vw + 1.25rem, 3.5rem);
  background-color: var(--color-blue);
}

.gallery .section-title,
.gallery .section-sub {
  color: var(--color-cream);
}

/* ── Gallery carousel — filmstrip ───────────────────────────────────── */
.gallery-carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  direction: ltr;
  /* height drives the frame; items fill it */
  height: clamp(200px, 34vw, 440px);
  background: rgba(12, 26, 36, 0.6);
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

/* 3 images visible on desktop */
.gallery-item {
  flex-shrink: 0;
  width: calc(33.333% - 4px);
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background-color: rgba(12, 26, 36, 0.7);
  scroll-snap-align: start;
  transition: filter 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item:hover { filter: brightness(0.82); }
}

.gallery-item:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: -3px;
}

.gallery-item img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item:hover img { transform: scale(1.03); }
}

/* Arrow buttons — float over left/right edges */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(12, 26, 36, 0.68);
  color: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 247, 234, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.carousel-btn:hover {
  background: rgba(12, 26, 36, 0.92);
  border-color: rgba(255, 247, 234, 0.5);
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}
.carousel-prev { left: var(--space-3); }
.carousel-next { right: var(--space-3); }

/* Counter + progress bar below the filmstrip */
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-start: var(--space-3);
}

.carousel-counter {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 247, 234, 0.50);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.carousel-counter .counter-current {
  color: rgba(255, 247, 234, 0.90);
  font-size: 0.95rem;
}

.carousel-progress {
  display: block;
  height: 2px;
  background: rgba(255, 247, 234, 0.14);
  border-radius: 2px;
  margin-block-start: var(--space-2);
  overflow: hidden;
}
.carousel-progress-fill {
  height: 100%;
  background: var(--color-orange);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0%;
}

/* ── Lightbox ────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: 100%;
  max-block-size: 100%;
  margin: auto;
  padding: var(--space-5);
  background: rgba(10, 20, 28, 0.95);
  border: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  z-index: 5000;
}

.lightbox::backdrop {
  background: rgba(10, 20, 28, 0.95);
}

.lightbox[open] {
  display: flex;
}

.lightbox-img {
  max-inline-size: min(90vw, 1400px);
  max-block-size: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  inset-block-start: var(--space-4);
  inset-inline-start: var(--space-4);
  color: var(--color-cream);
  block-size: 44px;
  inline-size: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.15s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-close:focus-visible {
  outline: 3px solid var(--color-orange);
}

.lightbox-prev,
.lightbox-next {
  color: var(--color-cream);
  block-size: 52px;
  inline-size: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  transition: background 0.15s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 3px solid var(--color-orange);
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  padding-block: clamp(2rem, 2.5vw + 1.25rem, 3.5rem);
  background-color: var(--color-cream);
}

.faq .container-narrow {
  margin-inline: auto;
}

.faq-item {
  border-block-end: 1px solid var(--color-line);
  padding-block: var(--space-5);
}

.faq-item:first-of-type {
  border-block-start: 1px solid var(--color-line);
}

.faq-item summary {
  font-size: var(--text-lead);
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  padding-inline-end: var(--space-2);
  user-select: none;
  transition: color 0.2s ease;
}
.faq-item summary:hover {
  color: var(--color-orange-deep);
}
.faq-item[open] summary {
  color: var(--color-blue-deep);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-orange);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.faq-answer {
  padding-block-start: var(--space-3);
  padding-inline-end: var(--space-6);
}

.faq-answer p {
  color: var(--color-ink-soft);
  line-height: var(--leading-body);
}

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%,
      rgba(244, 152, 52, 0.18) 0%,
      rgba(244, 152, 52, 0.05) 40%,
      transparent 70%),
    linear-gradient(180deg,
      var(--color-blue) 0%,
      var(--color-blue-deep) 100%);
  overflow: hidden;
}

/* Subtle shimmering top edge — separates contact from the section above */
.contact::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(244, 152, 52, 0.5) 30%,
    rgba(255, 247, 234, 0.6) 50%,
    rgba(244, 152, 52, 0.5) 70%,
    transparent 100%);
  pointer-events: none;
}

.contact > .container {
  padding-block: clamp(2rem, 2.5vw + 1.25rem, 3.5rem);
  position: relative;
  z-index: 1;
}

.contact .section-title {
  color: var(--color-cream);
}
.contact .section-sub {
  color: rgba(255, 247, 234, 0.82);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: stretch;
}

.contact-map {
  display: flex;
  flex-direction: column;
}

.map-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex: 1;
  min-block-size: 380px;
  box-shadow:
    0 24px 50px -22px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 247, 234, 0.10),
    inset 0 0 0 1px rgba(255, 247, 234, 0.06);
  isolation: isolate;
}

/* Soft inner vignette so the map blends into the section */
.map-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 80px rgba(26, 51, 64, 0.18);
  z-index: 401;
}

.map-canvas {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%,
      rgba(44, 146, 191, 0.25) 0%,
      rgba(31, 111, 147, 0.12) 60%,
      transparent 100%),
    var(--color-blue-deep);
}

/* Fallback shown until Leaflet renders tiles */
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: rgba(255, 247, 234, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.map-fallback img {
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
  opacity: 0.9;
}
.map-frame.is-ready .map-fallback {
  opacity: 0;
}

/* "Open in Google Maps" pill — sits on top of the map */
.map-cta {
  position: absolute;
  inset-block-end: var(--space-3);
  inset-inline-start: var(--space-3);
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: rgba(255, 247, 234, 0.96);
  color: var(--color-ink);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow:
    0 8px 22px -8px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(26, 51, 64, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.map-cta:hover,
.map-cta:focus-visible {
  background: var(--color-cream);
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px -8px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(26, 51, 64, 0.12);
}
.map-cta svg {
  color: var(--color-orange-deep);
  flex-shrink: 0;
}

/* ── Custom Leaflet marker: brand-orange pin + pulsing ring ────────────── */
.lev-yam-marker {
  position: relative;
  display: block;
  width: 40px;
  height: 52px;
  cursor: pointer;
}
.lev-yam-marker:focus-visible {
  outline: none;
}
.lev-yam-marker:focus-visible .lym-pin {
  filter: drop-shadow(0 0 0 3px rgba(244, 152, 52, 0.55))
          drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4));
}

/* Pulsing ring centered on the pin tip (the geographic point) */
.lev-yam-marker .lym-pulse {
  position: absolute;
  inset-block-end: -6px;
  inset-inline-start: 50%;
  width: 36px;
  height: 36px;
  margin-inline-start: -18px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(244, 152, 52, 0.60) 0%,
    rgba(244, 152, 52, 0.28) 35%,
    rgba(244, 152, 52, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.lev-yam-marker .lym-pin {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  transform-origin: 50% 100%;
  transition: transform 0.2s ease, filter 0.2s ease;
  z-index: 2;
}
.lev-yam-marker:hover .lym-pin {
  transform: scale(1.12);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.42));
}

@media (prefers-reduced-motion: no-preference) {
  .lev-yam-marker .lym-pulse {
    animation: lym-pulse 2.4s ease-in-out infinite;
  }
  @keyframes lym-pulse {
    0%, 100% { transform: scale(0.7); opacity: 0.7; }
    50%       { transform: scale(1.6); opacity: 0; }
  }
}

/* Tone the Israel Hiking tiles to fit our palette: less green-saturated, slightly warmer */
.map-canvas .leaflet-tile-pane {
  filter: saturate(0.78) contrast(0.98) brightness(1.02) sepia(0.04);
}

/* Hide ugly default Leaflet attribution background, keep the link readable */
.map-canvas .leaflet-control-attribution {
  background: rgba(255, 247, 234, 0.85) !important;
  color: var(--color-ink-soft) !important;
  font-size: 10px !important;
  padding: 2px 6px !important;
  border-radius: var(--radius-sm) 0 0 0;
}
.map-canvas .leaflet-control-attribution a {
  color: var(--color-ink) !important;
}

/* Custom-style the zoom buttons */
.map-canvas .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.35) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}
.map-canvas .leaflet-control-zoom a {
  background: rgba(255, 247, 234, 0.95) !important;
  color: var(--color-ink) !important;
  border: none !important;
  font-weight: 700 !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  transition: background 0.15s ease;
}
.map-canvas .leaflet-control-zoom a:hover {
  background: var(--color-cream) !important;
  color: var(--color-orange-deep) !important;
}


.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.contact-intro {
  font-size: var(--text-lead);
  color: rgba(255, 247, 234, 0.95);
  font-weight: 500;
  margin-block-end: 0;
  line-height: 1.6;
  text-align: center;
  position: relative;
  padding-block-end: 0.6rem;
  letter-spacing: 0.01em;
}
.contact-intro::after {
  content: '';
  display: block;
  inline-size: 28px;
  block-size: 2px;
  margin: 0.6rem auto 0;
  border-radius: var(--radius-pill);
  background: rgba(244, 152, 52, 0.7);
}

.contact-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

/* ── Contact action buttons — postcard cards ─────────────────────────── */
.btn-contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.1rem 1.6rem;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  color: var(--color-ink);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease;
}

/* Soft warm halo behind the icon — subtle "golden hour" feel */
.btn-contact::before {
  content: '';
  position: absolute;
  top: -25%;
  left: 50%;
  width: 130%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(244, 152, 52, 0.16) 0%,
    rgba(244, 152, 52, 0.04) 45%,
    transparent 75%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0.85;
}

/* Brand zigzag wave at the bottom — the signature Lev Yam mark */
.btn-contact::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  block-size: 10px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='10' viewBox='0 0 80 10'%3E%3Cpath d='M0 5 L20 1 L60 9 L80 5' fill='none' stroke='%23f49834' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 56px 10px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: center;
}

.btn-contact:hover,
.btn-contact:focus-visible {
  transform: translateY(-5px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(244, 152, 52, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  outline: none;
}
.btn-contact:hover::before,
.btn-contact:focus-visible::before {
  opacity: 1;
}
.btn-contact:hover::after,
.btn-contact:focus-visible::after {
  opacity: 1;
}
.btn-contact:active {
  transform: translateY(-2px);
}
.btn-contact:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 4px;
}

/* Brand icon */
.btn-contact-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: var(--space-3);
  filter: drop-shadow(0 4px 8px rgba(31, 111, 147, 0.18));
}
.btn-contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-contact:hover .btn-contact-icon img {
    transform: scale(1.08) rotate(-4deg);
  }
}

/* Title */
.btn-contact strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-blue-deep);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Subtitle */
.btn-contact small {
  font-size: 0.815rem;
  color: var(--color-ink-soft);
  margin-block-start: 4px;
  line-height: 1.5;
  font-weight: 400;
  max-inline-size: 22ch;
}

/* ── Site Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-ink);
  padding-block-end: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-2);
}

/* Desktop: leave room on the inline-start (RTL: left) for the floating
   WhatsApp button so the footer credit line isn't visually overlapped. */
@media (min-width: 641px) {
  .footer-inner {
    padding-inline-end: 88px;
  }
}

.footer-contact {
  margin-inline-start: auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.footer-logo {
  width: 36px;
  height: auto;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
}

.footer-tagline {
  color: rgba(255, 247, 234, 0.45);
  font-size: 0.8125rem;
  margin: 0;
  white-space: nowrap;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.8125rem;
}
.footer-contact a {
  color: rgba(255, 247, 234, 0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.footer-contact a:hover {
  color: var(--color-cream);
}
.footer-contact span {
  color: rgba(255, 247, 234, 0.20);
}
.footer-dot {
  color: rgba(255, 255, 255, 0.2) !important;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  margin: 0;
}

/* ── WhatsApp Float ──────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-end: 20px;
  z-index: 9999;
  inline-size: 56px;
  block-size: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.wa-float:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .wa-float {
    animation: wa-pulse 2.4s ease-out infinite;
  }
  .wa-float.pulse-stopped {
    animation: none;
  }
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  60%  { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ── Reveal Animation ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Print ───────────────────────────────────────────────────────────── */
@media print {
  .wa-float,
  .nav-toggle,
  .mobile-nav,
  .hero-video,
  .lightbox {
    display: none !important;
  }
}

/* ── Responsive: Tablet (≤900px) ─────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: start;
  }

  .contact-map {
    display: block;
  }

  .map-frame {
    flex: none;
    block-size: 320px;
    min-block-size: unset;
  }

  .contact-actions {
    justify-content: flex-start;
    gap: var(--space-4);
  }

  /* Gallery filmstrip — show ~2 images */
  .gallery-item { width: calc(50% - 3px); }
}

/* ── Responsive: Compact desktop nav (961–1200px) ────────────────────── */
@media (min-width: 961px) and (max-width: 1200px) {
  .primary-nav ul {
    gap: var(--space-3);
  }
  .primary-nav a {
    font-size: 0.8125rem;
  }
}

/* ── Responsive: Mobile nav breakpoint (≤960px) ──────────────────────── */
@media (max-width: 960px) {
  :root {
    --header-h: 56px;
  }

  .hero-topbar {
    justify-content: space-between;
  }

  .logo {
    display: none;
  }

  .primary-nav {
    display: none;
  }

  /* Mobile order (right → left in RTL):
     hamburger (right) → socials (middle) → lang toggle (left) */
  .nav-toggle {
    display: flex;
    order: 0;
    margin-inline-start: 0;
  }

  /* Social icons are in the footer — hide them in the topbar on mobile */
  .header-social {
    display: none;
  }

  .lang-toggle {
    order: 1;
    margin-inline-start: 0;
  }
  .lang-opt {
    padding: 3px 8px;
    font-size: 0.72rem;
    min-inline-size: 28px;
  }
}

/* ── Responsive: Mobile (≤640px) ────────────────────────────────────── */
@media (max-width: 700px) {
  .service-card {
    flex: 0 0 calc(50% - var(--space-4));
  }
}

@media (max-width: 640px) {
  .service-card {
    flex: 0 0 100%;
  }

  .service-body h3 {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }

  .hero-ctas .btn {
    inline-size: min(100%, 270px);
    padding-block: 0.6rem;
    padding-inline: var(--space-4);
    font-size: 0.9rem;
  }

  /* Gallery filmstrip — show ~1.3 images (peek next) */
  .gallery-item { width: calc(78% - 3px); }

  .carousel-btn {
    width: 38px;
    height: 38px;
  }

  .carousel-prev { left: var(--space-2); }
  .carousel-next { right: var(--space-2); }

  /* Contact buttons: thin horizontal cards, icon on inline-start, text truly centered */
  .contact-buttons {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .btn-contact {
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    grid-template-rows: auto auto;
    column-gap: var(--space-2);
    align-items: center;
    text-align: center;
    padding: 0.7rem 0.85rem 0.85rem;
  }

  .btn-contact-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 46px;
    height: 46px;
    margin-block-end: 0;
  }

  .btn-contact strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 1rem;
  }

  .btn-contact small {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.78rem;
    margin-block-start: 1px;
    max-inline-size: none;
  }

  /* Hide the soft halo on mobile — looks cleaner */
  .btn-contact::before { display: none; }

  /* Slimmer zigzag at the bottom on mobile */
  .btn-contact::after {
    block-size: 6px;
    background-size: 36px 6px;
  }

  /* Map smaller on small screens */
  .map-frame {
    block-size: 280px;
    min-block-size: unset;
  }
  .map-cta {
    font-size: 0.78rem;
    padding: 0.45rem 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
    padding-block: var(--space-2);
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
  }

  .footer-tagline {
    display: none;
  }

  .footer-contact {
    margin-inline-start: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-3);
  }

  .footer-dot {
    display: none;
  }

  .faq-answer {
    padding-inline-end: var(--space-3);
  }

  .faq-item summary {
    font-size: var(--text-base);
  }

  .lightbox {
    padding: var(--space-3);
    gap: var(--space-2);
  }

  .lightbox-prev,
  .lightbox-next {
    block-size: 40px;
    inline-size: 40px;
  }

  .hero {
    min-block-size: 100svh;
  }

  .village-block {
    padding: var(--space-4);
  }

  .wa-float {
    inset-block-end: 16px;
    inset-inline-end: 16px;
    inline-size: 52px;
    block-size: 52px;
  }

  .service-body {
    padding: var(--space-4);
  }

  .why .container-narrow {
    margin-block-end: var(--space-4);
  }
}

/* ── Responsive: Small mobile (≤400px) ──────────────────────────────── */
@media (max-width: 400px) {
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
}

