/* ═══════════════════════════════════════════
   Main Stylesheet — Amit B. Cohen Law Firm
═══════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  color: var(--ink);
  background: var(--surface);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* RTL/LTR */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="ltr"] { direction: ltr; text-align: left; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
select, input, textarea { font-family: inherit; }

/* ── Scroll Progress Bar ──────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1000;
  transition: transform 0.1s linear;
}

/* ── Container ───────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Layout Sections ─────────────────── */
section { padding-block: var(--section-lg); }
@media (max-width: 768px) { section { padding-block: var(--section-md); } }

/* ── Typography ──────────────────────── */
.display-xl {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}
.headline-lg {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
}
.headline-md {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-black);
  line-height: var(--leading-snug);
}
.headline-sm {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}
.body-lg { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--muted); }
.body-md { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--muted); }
.label-bold { font-size: var(--text-sm); font-weight: var(--weight-bold); }
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}
.section-divider {
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  border-radius: var(--r-full);
  margin-block: 1rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-divider { margin-inline: auto; }

/* ── Buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  border-radius: var(--r-md);
  transition: all var(--ease-base);
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: var(--text-base);
  box-shadow: 0 4px 20px rgba(0,106,106,0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #007A7A 0%, #005A5A 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,106,106,0.3);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: calc(1rem - 2px) calc(2rem - 2px);
  font-size: var(--text-base);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: calc(1rem - 2px) calc(2rem - 2px);
  font-size: var(--text-base);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-sm { padding: 0.625rem 1.25rem; font-size: var(--text-sm); }
.btn-lg { padding: 1.25rem 2.5rem; font-size: var(--text-lg); }

/* ── Cards ───────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.card-icon-navy { background: rgba(11,31,58,0.06); color: var(--navy); }
.card-icon-teal { background: rgba(0,106,106,0.1); color: var(--teal); }
.card-icon-gold { background: rgba(229,194,129,0.2); color: var(--gold-dim); }

/* ── Badge / Pill ────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-navy { background: var(--navy); color: var(--white); }
.badge-teal { background: var(--teal); color: var(--white); }
.badge-gold { background: rgba(229,194,129,0.2); color: var(--gold-dim); }

/* ── Header ──────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-nav);
  transition: background var(--ease-base);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.logo-mark {
  display: flex;
  align-items: center;
  line-height: 1;
}
.logo-img {
  display: block;
  height: 60px;   /* ~220px wide at 500×137 ratio — prominent, law-firm standard */
  width: auto;
  object-fit: contain;
}
/* Footer logo — white on dark background */
.footer-logo-img {
  display: block;
  height: 56px;   /* matches header logo prominence */
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
/* Fallback text logo (when image fails) */
.logo-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: 1.2rem;
  color: var(--navy);
}
.logo-sub {
  font-size: var(--text-xs);
  color: var(--muted);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  position: relative;
  transition: color var(--ease-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  inset-inline: 0;
  height: 2px;
  background: var(--gold);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transition: transform var(--ease-base);
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--muted);
}
.lang-toggle button {
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-sm);
  transition: all var(--ease-fast);
  font-weight: var(--weight-bold);
  font-size: var(--text-xs);
}
.lang-toggle button.active {
  background: var(--navy);
  color: var(--white);
}
.lang-toggle button:not(.active):hover {
  color: var(--teal);
}
.lang-sep { color: var(--border); }

/* Mobile nav */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: var(--r-full);
  transition: all var(--ease-base);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-base), padding var(--ease-base);
}
.mobile-menu.open { max-height: 500px; padding: 1rem 0; }
.mobile-menu a {
  padding: 0.875rem 1.5rem;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  color: var(--navy);
  transition: color var(--ease-fast), background var(--ease-fast);
}
.mobile-menu a:hover { color: var(--teal); background: var(--surface-low); }
.mobile-menu .btn-primary { margin: 0.5rem 1.5rem; width: calc(100% - 3rem); }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .header-cta-desktop { display: none; }

  /* Logo aligned to the start edge, controls to the end — one baseline row.
     In RTL (Hebrew) logo sits right; in LTR (English) it flips to left. */
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* ── Hero Section ────────────────────── */
.hero {
  padding-top: calc(var(--section-md) + 5rem);
  padding-bottom: var(--section-md);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.02) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg-accent {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: var(--surface-low);
  border-radius: 0 0 0 5rem;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { display: flex; flex-direction: column; gap: 2rem; }
.hero-headline { color: var(--navy); }
.hero-headline .accent { color: var(--teal); }
.hero-body { color: var(--muted); font-size: var(--text-lg); line-height: var(--leading-relaxed); max-width: 35rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--muted);
}
.trust-item .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--teal);
}

/* ── Hero Profile Photo ──────────────── */
.hero-profile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.hero-profile-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.hero-profile-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-hover);
  display: block;
}
.hero-profile-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface-low);
  border-radius: var(--r-2xl);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  text-align: center;
  padding: 2rem;
}
.hero-profile-placeholder .material-symbols-outlined {
  font-size: 3rem;
  color: var(--border);
}
.hero-profile-placeholder p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
/* Name badge floating over photo */
.hero-profile-badge {
  position: absolute;
  bottom: -1.5rem;
  inset-inline-end: -1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-float);
  text-align: center;
  min-width: 10rem;
}
.hero-profile-badge-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: var(--text-base);
  color: var(--white);
  line-height: 1.2;
}
.hero-profile-badge-role {
  font-size: var(--text-xs);
  color: var(--gold);
  margin-top: 0.2rem;
  font-weight: var(--weight-medium);
}

/* ── Contact Form Card ───────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-form);
  border: 1px solid var(--border-light);
}
.form-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: var(--text-h3);
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.form-subtitle { font-size: var(--text-sm); color: var(--muted); margin-bottom: 2rem; }

/* Float label fields */
.field-wrap {
  position: relative;
  margin-bottom: 1.75rem;
}
.field-wrap input,
.field-wrap textarea,
.field-wrap select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(196,198,206,0.6);
  padding: 0.875rem 0;
  font-size: var(--text-base);
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease-fast);
  line-height: 1.5;
}
.field-wrap input:focus,
.field-wrap textarea:focus,
.field-wrap select:focus {
  border-bottom-color: var(--teal);
}
.field-wrap textarea { resize: none; }
.field-wrap select { appearance: none; cursor: pointer; }
.field-wrap .select-chevron {
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
  font-size: 1.25rem;
}
/* Float labels */
.field-wrap label {
  position: absolute;
  inset-inline-end: 0;
  top: 0.875rem;
  font-size: var(--text-base);
  color: var(--muted);
  pointer-events: none;
  transform-origin: right top;
  transition: transform var(--ease-base), font-size var(--ease-base), color var(--ease-base);
}
[dir="ltr"] .field-wrap label { transform-origin: left top; inset-inline-end: auto; inset-inline-start: 0; }
.field-wrap input:focus ~ label,
.field-wrap input:not(:placeholder-shown) ~ label,
.field-wrap textarea:focus ~ label,
.field-wrap textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-1.4rem) scale(0.75);
  color: var(--teal);
}
/* Other subject field */
.other-field-container {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin 0.35s ease;
  margin-top: 0;
}
.other-field-container.open {
  max-height: 100px;
  opacity: 1;
  margin-top: 1rem;
}
/* Privacy note */
.form-privacy {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success.show { display: flex; }
.form-success-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: rgba(0,106,106,0.1);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.form-success-icon .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--teal);
}

/* ── Stats Banner ────────────────────── */
.stats-banner {
  background: var(--navy);
  padding-block: 5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 2rem;
  border-inline-end: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-inline-end: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-stat);
  font-weight: var(--weight-black);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: var(--text-sm); color: rgba(255,255,255,0.7); font-weight: var(--weight-medium); }

/* ── About Section ───────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-hover);
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  inset-inline-start: -1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-float);
  text-align: center;
}
.about-badge-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: var(--weight-black);
  color: var(--gold);
  line-height: 1;
}
.about-badge-label { font-size: var(--text-xs); color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.about-content { display: flex; flex-direction: column; gap: 1.5rem; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.about-feature { display: flex; align-items: center; gap: 0.875rem; }
.about-feature .material-symbols-outlined { font-size: 1.75rem; color: var(--teal); flex-shrink: 0; }
.about-feature-title { font-size: var(--text-base); font-weight: var(--weight-bold); color: var(--navy); }
.about-feature-sub { font-size: var(--text-sm); color: var(--muted); margin-top: 0.1rem; }

/* ── Services Grid ───────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-card .card-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.25rem;
}
.service-card .card-icon .material-symbols-outlined { font-size: 2rem; }
.service-card h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-h3);
  color: var(--navy);
}
.service-card p { font-size: var(--text-sm); color: var(--muted); line-height: var(--leading-relaxed); flex-grow: 1; }

/* ── Dark Banner ─────────────────────── */
.dark-banner {
  background: var(--navy);
  padding-block: var(--section-lg);
  position: relative;
  overflow: hidden;
}
.dark-banner-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.08;
}
.dark-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}
.dark-banner-icon { font-size: 3.5rem; color: var(--gold); margin-bottom: 1.5rem; display: block; }
.dark-banner-title { color: var(--white); margin-bottom: 2rem; }
.dark-banner-body { color: rgba(255,255,255,0.8); font-size: var(--text-lg); line-height: var(--leading-relaxed); margin-bottom: 2.5rem; }

/* ── Process Steps ───────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  inset-inline-start: 15%;
  inset-inline-end: 15%;
  height: 1px;
  background: linear-gradient(to left, rgba(0,106,106,0.15), rgba(0,106,106,0.5), rgba(0,106,106,0.15));
}
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.step-circle {
  width: 5rem;
  height: 5rem;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}
.step-circle.teal { background: var(--teal); }
.step-circle.navy { background: var(--navy); }
.step-title { font-family: var(--font-heading); font-weight: var(--weight-bold); color: var(--navy); font-size: var(--text-base); }
.step-body { font-size: var(--text-sm); color: var(--muted); line-height: var(--leading-relaxed); }

/* ── Testimonials Carousel ───────────── */
.carousel-outer { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%;
  padding-inline: 0.5rem;
}
.carousel-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  max-width: 52rem;
  margin-inline: auto;
}
.carousel-card.dark {
  background: var(--navy);
  border-color: transparent;
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.05em; margin-bottom: 1rem; }
.testimonial-quote {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--muted);
  margin-bottom: 2rem;
  font-style: italic;
}
.carousel-card.dark .testimonial-quote { color: rgba(255,255,255,0.75); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border-light); }
.carousel-card.dark .testimonial-author { border-top-color: rgba(255,255,255,0.1); }
.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-full);
  background: rgba(11,31,58,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  color: var(--navy);
  flex-shrink: 0;
}
.carousel-card.dark .author-avatar { background: rgba(255,255,255,0.1); color: var(--white); }
.author-name { font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--navy); }
.carousel-card.dark .author-name { color: var(--white); }
.author-sub { font-size: var(--text-xs); color: var(--muted); margin-top: 0.1rem; }
.carousel-card.dark .author-sub { color: rgba(255,255,255,0.45); }

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-full);
  border: 2px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all var(--ease-fast);
  cursor: pointer;
}
.carousel-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--r-full);
  background: var(--border);
  transition: all var(--ease-base);
  cursor: pointer;
  border: none;
}
.carousel-dot.active { width: 1.5rem; background: var(--teal); }

/* ── FAQ Accordion ───────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--surface-low);
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  text-align: start;
  cursor: pointer;
  background: transparent;
  transition: background var(--ease-fast);
}
.faq-trigger:hover { background: rgba(0,0,0,0.02); }
.faq-trigger-text {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--navy);
  flex-grow: 1;
}
.faq-chevron {
  color: var(--teal);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform var(--ease-base);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Contact Section ─────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 3rem;
  height: 3rem;
  background: var(--navy);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon .material-symbols-outlined { font-size: 1.25rem; color: var(--gold); }
.contact-label { font-size: var(--text-xs); color: var(--muted); font-weight: var(--weight-medium); margin-bottom: 0.125rem; }
.contact-value { font-family: var(--font-heading); font-weight: var(--weight-bold); font-size: var(--text-base); color: var(--navy); }
.contact-value a { transition: color var(--ease-fast); }
.contact-value a:hover { color: var(--teal); }

/* ── Footer ──────────────────────────── */
.site-footer {
  background: var(--navy);
  padding-block: 5rem;
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: var(--weight-black);
  font-size: 1.4rem;
  color: var(--white);
}
.footer-brand-sub { font-size: var(--text-sm); color: var(--gold); font-weight: var(--weight-medium); margin-top: 0.125rem; }
.footer-brand-body { font-size: var(--text-sm); color: rgba(255,255,255,0.55); line-height: var(--leading-relaxed); margin-top: 1rem; max-width: 22rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease-fast);
}
.social-btn:hover { background: var(--teal); }
.footer-links-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.footer-links-list a { font-size: var(--text-sm); color: rgba(255,255,255,0.55); transition: color var(--ease-fast); }
.footer-links-list a:hover { color: var(--gold); }
.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-item .material-symbols-outlined { font-size: 1rem; color: var(--gold); margin-top: 0.1rem; flex-shrink: 0; }
.footer-contact-item span { font-size: var(--text-sm); color: rgba(255,255,255,0.55); line-height: var(--leading-relaxed); }
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color var(--ease-fast); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: var(--text-xs); color: rgba(255,255,255,0.35); }
.footer-policy-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-policy-links a { font-size: var(--text-xs); color: rgba(255,255,255,0.35); transition: color var(--ease-fast); }
.footer-policy-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Floating Buttons ────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  z-index: 100;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-full);
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.back-to-top {
  position: fixed;
  bottom: 6rem;
  inset-inline-start: 1.5rem;
  z-index: 100;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-full);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity var(--ease-base), transform var(--ease-base), background var(--ease-fast);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--teal); }

/* ── Legal Insights ──────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.insight-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.insight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.insight-date {
  font-size: var(--text-xs);
  color: var(--muted);
}
.insight-title {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-h4);
  color: var(--navy);
  line-height: var(--leading-snug);
}
.insight-excerpt {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-relaxed);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Policy Pages ────────────────────── */
.policy-hero {
  background: var(--navy);
  padding-top: calc(var(--section-md) + 5rem);
  padding-bottom: var(--section-md);
  text-align: center;
  color: var(--white);
}
.policy-hero h1 { color: var(--white); margin-bottom: 1rem; }
.policy-hero p { color: rgba(255,255,255,0.7); font-size: var(--text-lg); }
.policy-body {
  padding-block: var(--section-lg);
  background: var(--white);
}
.policy-content {
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.policy-section h2 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-h3);
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--surface);
}
.policy-section p {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: var(--leading-relaxed);
  margin-bottom: 0.875rem;
}
.policy-section ul {
  padding-inline-start: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.policy-section li { font-size: var(--text-base); color: var(--muted); line-height: var(--leading-relaxed); }
.policy-updated { font-size: var(--text-sm); color: rgba(196,198,206,0.9); font-style: italic; }

/* ── Fade-in Animation ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Global overflow guard ───────────── */
html, body { overflow-x: hidden; }

/* ── Skip to content ─────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-md);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Accessibility FAB ───────────────── */
.a11y-fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 300;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r-full);
  background: var(--navy);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 20px rgba(11,31,58,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease-fast), transform var(--ease-fast), box-shadow var(--ease-fast);
  text-decoration: none;
  font-family: inherit;
}
.a11y-fab:hover,
.a11y-fab:focus-visible {
  background: var(--teal);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0,106,106,0.4);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.a11y-fab .material-symbols-outlined { font-size: 1.5rem; }

/* ── Accessibility Panel ─────────────── */
#a11y-panel {
  position: fixed;
  bottom: 5.5rem;
  inset-inline-end: 1.5rem;
  z-index: 300;
  width: 17rem;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: 0 16px 60px rgba(11,31,58,0.18), 0 2px 8px rgba(11,31,58,0.08);
  border: 1px solid var(--border-light);
  direction: rtl;
  font-family: var(--font-body);
  overflow: hidden;
}
#a11y-panel[hidden] { display: none; }

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem 0.875rem;
  background: var(--navy);
  color: var(--white);
}
.a11y-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
}
.a11y-panel-title .material-symbols-outlined { font-size: 1.2rem; }
.a11y-close-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: var(--r-sm);
  color: var(--white);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease-fast);
  font-family: inherit;
}
.a11y-close-btn:hover { background: rgba(255,255,255,0.22); }
.a11y-close-btn .material-symbols-outlined { font-size: 1.1rem; }

.a11y-panel-body { padding: 0.875rem 1rem; display: flex; flex-direction: column; gap: 0.875rem; }

.a11y-group { display: flex; flex-direction: column; gap: 0.5rem; }
.a11y-group-label {
  font-size: 0.7rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.a11y-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.a11y-row-wrap { flex-wrap: wrap; }
.a11y-font-indicator {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--navy);
  background: var(--surface-low);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.5rem;
}

/* shared button style */
.a11y-btn,
.a11y-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--surface-low);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: all var(--ease-fast);
  line-height: 1;
  min-height: 36px;
  white-space: nowrap;
}
.a11y-btn .material-symbols-outlined,
.a11y-toggle-btn .material-symbols-outlined { font-size: 1rem; }
.a11y-btn:hover,
.a11y-toggle-btn:hover { background: var(--surface-container); border-color: var(--navy); }
.a11y-toggle-btn.active,
.a11y-toggle-btn[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.a11y-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.a11y-wide { width: 100%; }

.a11y-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-light);
  background: var(--surface-low);
}
.a11y-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--weight-semibold);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  transition: all var(--ease-fast);
  min-height: 32px;
}
.a11y-reset-btn:hover { border-color: var(--error); color: var(--error); }
.a11y-reset-btn .material-symbols-outlined { font-size: 0.95rem; }
.a11y-stmt-link {
  font-size: 0.7rem;
  color: var(--teal);
  text-decoration: underline;
  transition: color var(--ease-fast);
}
.a11y-stmt-link:hover { color: var(--teal-dark); }

/* ── Accessibility mode overrides ──── */
.a11y-high-contrast {
  filter: contrast(1.6) brightness(1.05);
}
.a11y-inverted {
  filter: invert(1) hue-rotate(180deg);
}
.a11y-inverted img,
.a11y-inverted video,
.a11y-inverted [style*="background-image"] {
  filter: invert(1) hue-rotate(180deg);
}
.a11y-grayscale {
  filter: grayscale(1);
}
.a11y-underline-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.a11y-readable-font,
.a11y-readable-font * {
  font-family: Arial, 'Helvetica Neue', sans-serif !important;
  letter-spacing: 0.01em;
  word-spacing: 0.05em;
}
.a11y-stop-animations *,
.a11y-stop-animations *::before,
.a11y-stop-animations *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}
.a11y-large-cursor,
.a11y-large-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M8 4l16 12-7 1-4 9z' fill='white' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* ── Touch targets ───────────────────── */
.btn, .faq-trigger, .carousel-btn, .hamburger,
.mobile-menu a, .lang-btn,
.field-wrap input, .field-wrap select, .field-wrap textarea {
  min-height: 44px;
}
.field-wrap select { min-height: 44px; padding-block: 0.75rem; }
.field-wrap input  { min-height: 44px; padding-block: 0.75rem; }

/* ── LTR chevron flip ────────────────── */
[dir="ltr"] .field-wrap .select-chevron {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
[dir="ltr"] .field-wrap select { padding-inline-start: 0; padding-inline-end: 1.5rem; }

/* ── Responsive ──────────────────────── */
@media (max-width: 1023px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-bg-accent { display: none; }
  .hero { padding-top: calc(var(--section-md) + 4.5rem); }

  /* On tablet, contact comes after content in about section */
  .about-image-wrap { order: -1; }

  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .insights-grid  { grid-template-columns: repeat(2, 1fr); }
  .process-steps  { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }

  /* Center the standalone form card on tablet */
  .form-card { max-width: 38rem; margin-inline: auto; }

  /* Hero profile: tighter frame on tablet */
  .hero-profile-frame { max-width: 340px; }
}

/* ── Mobile (≤ 767px) ────────────────── */
@media (max-width: 767px) {
  :root {
    --section-lg: 3.5rem;
    --section-md: 2.5rem;
    --gutter: 1.25rem;
  }

  /* Typography scale down */
  .display-xl  { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .headline-lg { font-size: clamp(1.5rem, 6vw,   1.9rem); }
  .headline-md { font-size: clamp(1.3rem, 5vw,   1.65rem); }
  .body-lg     { font-size: var(--text-base); }

  /* ── Logo ── */
  .logo-img { height: 46px; }

  /* ── Header / nav ── */
  .header-inner { padding-block: 0.6rem; }
  .mobile-menu a { font-size: var(--text-base); padding: 0.875rem 1.5rem; }
  .mobile-menu .btn-primary { margin: 0.75rem 1rem; width: calc(100% - 2rem); padding: 1rem; font-size: var(--text-base); }

  /* ── Hero ── */
  .hero { padding-top: calc(var(--section-md) + 5.25rem); padding-bottom: 3.5rem; }
  .hero-grid { gap: 2rem; }
  .hero-content { gap: 1.25rem; align-items: center; text-align: center; }
  .hero-body { font-size: var(--text-base); max-width: 100%; }
  .hero-headline { text-align: center; }
  .hero-ctas { flex-direction: column; gap: 0.75rem; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 22rem; justify-content: center; padding: 1rem 1.5rem; font-size: var(--text-base); }
  .hero-trust { flex-direction: column; gap: 0.625rem; align-items: center; }
  .trust-item { justify-content: center; }
  .badge { font-size: 0.65rem; padding: 0.35rem 0.875rem; }

  /* Profile photo: full width, cap height */
  .hero-profile-frame { max-width: 100%; }
  .hero-profile-photo,
  .hero-profile-placeholder { aspect-ratio: 4/3; }
  .hero-profile-badge {
    position: static;
    margin-top: 1rem;
    border-radius: var(--r-lg);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
  }
  .hero-profile-badge-name { font-size: var(--text-sm); }
  .hero-profile-badge-role { margin-top: 0; font-size: 0.7rem; }

  /* ── Stats ── */
  .stats-banner { padding-block: 2.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item {
    border-inline-end: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 1.5rem 1rem;
  }
  .stat-item:last-child { border-bottom: none; }
  .stat-number { font-size: clamp(2rem, 9vw, 2.75rem); }

  /* ── About ── */
  .about-grid { gap: 2.5rem; }
  .about-image-wrap { order: -1; margin-bottom: 1.5rem; }
  .about-image { aspect-ratio: 16/9; }
  .about-badge {
    inset-inline-start: 0.75rem;
    bottom: -1rem;
    padding: 0.875rem 1.25rem;
  }
  .about-badge-num { font-size: 1.75rem; }
  .about-features { grid-template-columns: 1fr; gap: 1rem; }
  .about-content { gap: 1.25rem; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 1.5rem; }

  /* ── Process ── */
  .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-step { flex-direction: row; text-align: start; gap: 1.25rem; padding-inline: 0; }
  .step-circle { flex-shrink: 0; width: 3.25rem; height: 3.25rem; font-size: 1.1rem; }

  /* ── Insights ── */
  .insights-grid { grid-template-columns: 1fr; gap: 1rem; }
  .insight-card { padding: 1.5rem; }
  .insight-excerpt { -webkit-line-clamp: 3; }

  /* ── Testimonials ── */
  .carousel-card { padding: 1.75rem 1.25rem; }
  .testimonial-quote { font-size: var(--text-base); margin-bottom: 1.25rem; }
  .carousel-track { touch-action: pan-y; }

  /* ── FAQ ── */
  .faq-trigger { padding: 1rem 1.25rem; gap: 0.75rem; }
  .faq-trigger-text { font-size: var(--text-sm); }
  .faq-answer-inner { padding: 0 1.25rem 1.25rem; font-size: var(--text-sm); }

  /* ── Contact ── */
  .contact-grid { gap: 2rem; }
  .form-card { padding: 1.75rem 1.25rem; max-width: 100%; border-radius: var(--r-xl); }
  .field-wrap { margin-bottom: 1.5rem; }

  /* ── Section header ── */
  .section-header { margin-bottom: 2rem; }
  .section-header .body-md { font-size: var(--text-sm); }
  .section-divider { margin-block: 0.75rem; }

  /* ── Mobile centering for list-style sections ── */
  .process-step { text-align: center; align-items: center; }
  .about-content { align-items: center; text-align: center; }
  .about-features { justify-items: center; }
  .about-feature { justify-content: center; text-align: start; max-width: 22rem; }
  .contact-info { align-items: center; text-align: center; }
  .contact-detail { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
  .footer-bottom { align-items: center; text-align: center; }

  /* ── Accessibility FAB mobile ── */
  .a11y-fab { width: 3rem; height: 3rem; bottom: 1rem; inset-inline-end: 1rem; }
  .a11y-fab .material-symbols-outlined { font-size: 1.3rem; }

  /* ── Dark banner ── */
  .dark-banner { padding-block: 3.5rem; }
  .dark-banner-title  { font-size: clamp(1.35rem, 5vw, 1.75rem); }
  .dark-banner-body   { font-size: var(--text-base); }
  .dark-banner-icon   { font-size: 2.5rem; margin-bottom: 1rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  /* מרכוז כל בלוקי הפוטר במובייל */
  .footer-grid > div { text-align: center; }
  .footer-brand-body { margin-inline: auto; }
  .footer-links-title { text-align: center; }
  /* קישורים מהירים בשתי עמודות, ממורכזים */
  .footer-links-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
    justify-items: center;
    max-width: 22rem;
    margin-inline: auto;
  }
  /* פרטי התקשרות ממורכזים */
  .footer-contact-list { align-items: center; }
  .footer-contact-item { justify-content: center; text-align: start; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-policy-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }
  .footer-copy,
  .footer-policy-links a { font-size: 0.7rem; }
  .footer-logo-img { height: 46px; }
  .site-footer { padding-block: 3.5rem; }

  /* ── FABs ── */
  .whatsapp-fab { width: 3rem; height: 3rem; bottom: 1rem; inset-inline-start: 1rem; }
  .back-to-top  { bottom: 4.75rem; inset-inline-start: 1rem; width: 2.5rem; height: 2.5rem; }
}

/* ─────────────────────────────────────────────────────────────
   Small phones  ≤ 480px
───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  :root { --gutter: 1rem; }

  /* ── Logo (small phones) ── */
  .logo-img { height: 42px; }

  .display-xl  { font-size: clamp(1.65rem, 8vw, 2rem); }
  .headline-lg { font-size: clamp(1.35rem, 6.5vw, 1.6rem); }

  .hero-ctas .btn { max-width: 100%; padding: 0.9rem 1rem; }

  .stat-number { font-size: clamp(1.75rem, 10vw, 2.25rem); }

  .form-card     { padding: 1.5rem 1rem; }
  .carousel-card { padding: 1.5rem 1rem; }
  .service-card  { padding: 1.25rem; }
  .insight-card  { padding: 1.25rem; }

  .cta-inner { padding: 2rem 1rem; }

  /* Touch targets */
  .nav-cta, .mobile-menu-btn, .btn { min-height: 44px; }

  /* iOS zoom prevention */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .field-wrap input,
  .field-wrap select,
  .field-wrap textarea { font-size: 1rem; }
}

/* ═══ WhatsApp button (hero / inline) ═══ */
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border: 2px solid #25d366;
}
.btn-whatsapp:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
  color: var(--white);
  transform: translateY(-2px);
}

/* ═══ Mobile sticky action bar ═══ */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 990;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 20px rgba(11, 31, 58, 0.12);
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}
.mobile-action-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.25rem;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: 0.85rem;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  /* גובה קבוע — זהה בעברית ובאנגלית גם כשהטקסט נשבר לשתי שורות */
  height: 3.5rem;
  min-height: 3.5rem;
}
.mobile-action-bar .mab-call     { background: var(--surface-low); color: var(--navy); border: 1px solid var(--border); }
.mobile-action-bar .mab-whatsapp { background: #25d366; color: var(--white); }
.mobile-action-bar .mab-contact  { background: var(--navy); color: var(--white); }
.mobile-action-bar .material-symbols-outlined { font-size: 1.1rem; }

@media (max-width: 767px) {
  .mobile-action-bar { display: flex; }
  body { padding-bottom: 4.25rem; }
  /* הכפתורים הצפים מפנים מקום לבר */
  .whatsapp-fab { display: none; }
  .a11y-fab   { bottom: 5.5rem; }
  .back-to-top { bottom: 8.25rem; }
}

/* ═══ Cookie consent banner ═══ */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  inset-inline: 1rem;
  z-index: 995;
  max-width: 34rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(11, 31, 58, 0.18);
  padding: 1rem 1.25rem;
  display: none;
  gap: 0.75rem;
  flex-direction: column;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: var(--text-xs); color: var(--muted); line-height: 1.6; margin: 0; }
.cookie-banner p a { color: var(--teal); }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner-actions button {
  flex: 1;
  min-height: 40px;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  cursor: pointer;
  padding: 0.5rem 1rem;
}
.cookie-accept  { background: var(--navy); color: var(--white); border: none; }
.cookie-decline { background: var(--white); color: var(--navy); border: 1px solid var(--border); }
@media (max-width: 767px) {
  .cookie-banner { bottom: 5rem; }
}
