/* =========================================================
   ליאב מערכות אבטחה — Ultra-Premium Landing Page
   Palette: Black / White / Deep Red — Glass + Glow
   ========================================================= */

:root {
  /* Dark tokens — reserved for the hero's cinematic photo treatment,
     the persistent header/nav chrome, and the lightbox: deliberate dark
     "bookend" accents against the white page, not the page background. */
  --black: #050506;
  --black-1: #0a0a0c;
  --black-2: #111114;
  --black-3: #17171b;

  --white: #ffffff;
  --ivory: #f3f1ee;
  --gray: #9b9aa1;
  --gray-light: #cac9ce;

  /* Light theme — the page's actual background/surfaces/text from here down. */
  --page-bg: #ffffff;
  --surface: #f8f7f4;
  --surface-2: #ffffff;
  --surface-3: #f1f0eb;
  --line: rgba(15, 14, 20, 0.09);
  --line-strong: rgba(15, 14, 20, 0.16);
  --text: #18181c;
  --text-muted: #57565f;
  --text-faint: #86848d;
  --glass-bg-light: rgba(15, 14, 20, 0.028);
  --glass-border-light: rgba(15, 14, 20, 0.09);
  --shadow-card: 0 12px 32px rgba(20, 18, 24, 0.07);
  --shadow-card-hover: 0 20px 44px rgba(20, 18, 24, 0.11);

  --red: #c81e2f;
  --red-bright: #ff2d42;
  --red-dark: #6e0d18;
  --red-soft: rgba(200, 30, 47, 0.14);
  --red-soft-light: rgba(200, 30, 47, 0.08);

  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.09);

  --font: 'Heebo', 'Segoe UI', system-ui, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-red: 0 16px 40px rgba(200, 30, 47, 0.35);
  --transition: 0.4s cubic-bezier(.22, .61, .36, 1);
  --container: 1240px;
}

/* ===== Reset ===== */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

::selection { background: var(--red); color: var(--white); }

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ===== Glass pill ===== */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 0 rgba(255, 45, 66, 0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 66, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 45, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 66, 0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red) 55%, var(--red-dark));
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(255, 45, 66, 0.45);
}

.btn-glass {
  background: var(--glass-bg-light);
  border-color: var(--glass-border-light);
  color: var(--text);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.btn-glass:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  background: rgba(15,14,20,0.055);
}

.btn-ghost {
  color: var(--text);
  padding: 10px 18px;
  font-size: 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.btn-ghost:hover { border-color: var(--red-bright); color: var(--red-bright); }

.btn-whatsapp-big {
  background: linear-gradient(135deg, #2fdb6e, #1fa955);
  color: var(--black);
  margin-top: 30px;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp-big:hover { transform: translateY(-3px); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 18, 24, 0.08);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; letter-spacing: 0.2px; }
.logo-icon { color: var(--red-bright); display: inline-flex; }
/* Header logo is dark-on-light; footer logo (further down) stays light-on-dark. */
.header-inner .logo-text strong { color: var(--text); font-weight: 800; }
.footer-brand .logo-text strong { color: var(--white); font-weight: 800; }

.main-nav ul { display: flex; gap: 6px; align-items: center; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 14px;
  left: 14px;
  height: 2px;
  background: var(--red-bright);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform var(--transition), opacity var(--transition); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: grayscale(40%) contrast(1.05) saturate(0.8) brightness(1.1); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0.85) 55%, var(--page-bg) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.4) 45%, rgba(255,255,255,0.88) 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  pointer-events: none;
}
.hero-glow--a { width: 520px; height: 520px; background: var(--red); top: -140px; right: -80px; }
.hero-glow--b { width: 420px; height: 420px; background: var(--red-dark); bottom: -120px; left: -60px; opacity: 0.22; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,14,20,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,14,20,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 78%);
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; color: var(--text); }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title .line { display: block; }
.text-red {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(255, 45, 66, 0.2);
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 38px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.hero-microline { color: var(--text-faint); font-size: 0.88rem; margin-bottom: 42px; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 9px; color: var(--text-muted); font-size: 0.92rem; font-weight: 500; }
.trust-item svg { color: var(--red-bright); flex-shrink: 0; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--red-bright);
  animation: scroll-cue 1.8s infinite;
}
@keyframes scroll-cue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 8px; }
}

/* ===== Section shared ===== */
section { padding: 120px 0; position: relative; }
.section-eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  position: relative;
  padding-inline-start: 30px;
}
.section-eyebrow::before {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 2px;
  background: var(--red-bright);
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 760px;
  letter-spacing: -0.5px;
}
.section-sub { color: var(--text-muted); max-width: 620px; font-size: 1.05rem; margin-bottom: 20px; }

/* ===== Unified photo grading (cohesive premium look across mixed sources) ===== */
.media-frame img,
.gallery-item img,
.review-photo img,
.client-photo img {
  filter: grayscale(45%) contrast(1.12) saturate(0.85) brightness(0.94);
  transition: filter 0.5s ease, transform 0.7s ease;
}
.service-card:hover .media-frame img,
.gallery-item:hover img,
.review-card--photo:hover .review-photo img,
.client-card--photo:hover .client-photo img {
  filter: grayscale(10%) contrast(1.08) saturate(1.05) brightness(1);
}

/* ===== Media frame (image w/ graceful fallback) ===== */
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(200,30,47,0.10), transparent 60%), linear-gradient(160deg, var(--surface-3), var(--surface));
  margin-bottom: -34px;
}
.media-frame::before {
  content: "";
  position: absolute; inset: 0;
  display: flex;
  background-image: radial-gradient(circle, rgba(15,14,20,0.06) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.5;
}
.media-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.4s ease;
}

/* ===== Services ===== */
.services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 26px;
  margin-top: 60px;
}
.service-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 26px 30px;
  padding-top: 60px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(200,30,47,0.35);
  box-shadow: var(--shadow-card-hover);
}
.service-card:hover .media-frame img { transform: scale(1.08); }
.service-icon {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(200,30,47,0.32);
  border: 3px solid var(--surface-2);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; font-weight: 700; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.96rem; }

/* ===== Process ===== */
.process { background: var(--page-bg); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 50px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 26px 26px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.process-step:hover { transform: translateY(-6px); border-color: rgba(200,30,47,0.35); box-shadow: var(--shadow-card-hover); }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  left: -13px;
  width: 26px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(200,30,47,0.5) 0 6px, transparent 6px 10px);
  display: none;
}
@media (min-width: 1025px) {
  .process-step:not(:last-child)::after { display: block; }
}
.process-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red-bright);
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.process-step p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Clients ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.client-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 26px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.client-card:hover { transform: translateY(-8px); border-color: rgba(200,30,47,0.35); box-shadow: var(--shadow-card-hover); }
.client-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(200,30,47,0.3);
  border: 3px solid var(--surface-2);
}
/* Real client logos: white badge (most brand marks are dark-on-transparent),
   image contained so nothing gets stretched or cropped. */
.client-card h3 { position: relative; z-index: 1; font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.client-card p { position: relative; z-index: 1; color: var(--text-faint); font-size: 0.88rem; }

.client-card--photo { padding-top: 0; }
.client-photo {
  width: calc(100% + 52px);
  margin: 0 -26px 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.client-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,6,0.1) 0%, var(--surface-2) 92%);
}
.client-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.client-card--photo:hover .client-photo img { transform: scale(1.08); }
/* Brand logos are small squares, not wide photos. Cropping them with `cover`
   would cut the mark off; shrinking them to fit reads as empty dead space.
   Instead: the logo itself, blurred and scaled up, fills the whole frame as
   a soft backdrop — then the same logo sits crisp and large on top. Every
   frame reads as full and intentional regardless of the source image's
   shape, with nothing stretched or cropped. */
.client-photo--logo {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-photo--logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.3) brightness(0.92);
  transform: scale(1.3);
}
.client-photo--logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,14,20,0.12) 0%, rgba(15,14,20,0.32) 100%);
}
.client-photo--logo img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.35));
}
.client-card--photo:hover .client-photo--logo img { transform: scale(1.05); }
.client-card--photo .client-mark { margin-top: -35px; }

/* ===== Stats ===== */
.stats { background: var(--surface); overflow: hidden; }
.stats-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(200,30,47,0.08), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-box { display: flex; flex-direction: column; gap: 8px; }
.stat-count {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-caption { color: var(--text-muted); font-size: 0.98rem; }

/* ===== Gallery (editorial bento grid) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 18px;
  margin-top: 50px;
}
.gallery-item {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
  border: 1px solid var(--line);
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-item--large { grid-column: span 3; grid-row: span 3; }
.gallery-item--wide { grid-column: span 3; grid-row: span 2; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  border-bottom: 2px solid var(--red-bright);
  padding-bottom: 4px;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; }

/* ===== Reviews ===== */
.reviews { background: var(--surface); }
.midrag-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  margin-bottom: 10px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.midrag-badge:hover { transform: translateY(-3px); border-color: rgba(200,30,47,0.3); box-shadow: var(--shadow-card-hover); }
.midrag-score {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(200,30,47,0.3);
}
.midrag-info { display: flex; flex-direction: column; gap: 4px; }
.midrag-info .stars { margin: 0; font-size: 0.9rem; letter-spacing: 2px; }
.midrag-info span:last-child { color: var(--text-muted); font-size: 0.85rem; }
.midrag-info strong { color: var(--text); }
.review-source {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-soft-light);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.reviews-slider { margin-top: 34px; overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 26px;
  transition: transform 0.6s cubic-bezier(.22,.61,.36,1);
}
.review-card {
  flex: 0 0 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.review-card--photo { padding-top: 20px; }
.review-photo {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.review-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.review-card--photo:hover .review-photo img { transform: scale(1.06); }
.stars { color: var(--red-bright); letter-spacing: 4px; margin-bottom: 18px; font-size: 1.15rem; }
.review-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.02rem; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.98rem; color: var(--text); }
.review-author span { color: var(--text-faint); font-size: 0.85rem; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.slider-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background var(--transition), transform var(--transition); cursor: pointer; }
.slider-dot.active { background: var(--red-bright); transform: scale(1.3); }

@media (min-width: 860px) {
  .review-card { flex: 0 0 calc((100% - 52px) / 3); }
}

/* ===== FAQ ===== */
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition);
}
.faq-item:has(.faq-question[aria-expanded="true"]) { border-color: rgba(200,30,47,0.35); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  text-align: right;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
}
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red-soft-light);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition);
}
.faq-answer > p { overflow: hidden; padding: 0 24px; color: var(--text-muted); }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }
.faq-question[aria-expanded="true"] + .faq-answer > p { padding: 0 24px 22px; }
.faq-answer { display: grid; }

/* ===== Contact ===== */
.contact { background: var(--surface); }
.contact-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 500px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(200,30,47,0.07), transparent 70%);
  pointer-events: none;
}
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--text-muted); }
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--red-soft-light);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list a:hover { color: var(--red); }

.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
}
.social-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: translateY(-3px); }

.contact-form {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--red-bright); background: var(--surface-2);
}
.form-group.has-error input, .form-group.has-error textarea { border-color: #d92b3f; }
.error-msg { color: #c81e2f; font-size: 0.82rem; min-height: 1em; }

.form-success {
  display: none; margin-top: 16px; padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--red-soft-light);
  border: 1px solid rgba(200,30,47,0.3);
  color: var(--red-dark);
  font-size: 0.92rem; text-align: center;
}
.form-success.show { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px);} to { opacity: 1; transform: translateY(0);} }

/* ===== Map ===== */
.map-placeholder {
  margin-top: 90px;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)),
    repeating-linear-gradient(45deg, #eceae4 0 2px, #f6f5f1 2px 40px),
    repeating-linear-gradient(-45deg, #eceae4 0 2px, #f6f5f1 2px 40px);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border: 1px solid var(--line);
}
.map-placeholder-inner { text-align: center; color: var(--red); max-width: 460px; padding: 0 20px; }
.map-placeholder-inner svg { margin: 0 auto 14px; }
.map-placeholder-inner p { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.map-placeholder-inner span { color: var(--text-faint); font-size: 0.85rem; }

/* ===== Footer ===== */
.site-footer { background: #030303; color: var(--gray-light); padding-top: 80px; border-top: 1px solid rgba(200,30,47,0.18); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand p { color: var(--gray); margin: 16px 0 20px; font-size: 0.92rem; max-width: 320px; }
.footer-links h5, .footer-contact h5 { color: var(--red-bright); font-size: 1rem; margin-bottom: 18px; font-weight: 700; }
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--gray-light); font-size: 0.94rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--red-bright); }
.footer-contact li { color: var(--gray-light); font-size: 0.94rem; }
.footer-contact li:nth-child(1) { direction: ltr; text-align: right; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--gray); font-size: 0.85rem; }

/* ===== Floating actions ===== */
.floating-actions {
  position: fixed; bottom: 24px; left: 24px; z-index: 1200;
  display: flex; flex-direction: column; gap: 14px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Hidden while the hero (which has its own full-size call/WhatsApp buttons) is in view,
   so this fixed-position duplicate never overlaps and steals taps meant for the hero CTAs. */
.floating-actions.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab:hover { transform: scale(1.08) translateY(-2px); }
.fab-whatsapp { background: linear-gradient(135deg, #2fdb6e, #1fa955); color: var(--black); animation: pulse-wa 2.6s infinite; }
.fab-call { background: linear-gradient(135deg, var(--red-bright), var(--red-dark)); color: var(--white); }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(47, 219, 110, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(47, 219, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 219, 110, 0); }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(3,3,4,0.94);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: 900px; width: 100%; text-align: center; }
.lightbox-figure img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
.lightbox-figure figcaption { color: var(--gray-light); margin-top: 18px; font-size: 1rem; }
.lightbox-close {
  position: absolute; top: 26px; left: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--white); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--red); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: var(--red); }
.lightbox-prev { right: 30px; }
.lightbox-next { left: 30px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-inline: auto; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 130px; }
  .gallery-item { grid-column: span 2; grid-row: span 2; }
  .gallery-item--large { grid-column: span 2; grid-row: span 3; }
  .gallery-item--wide { grid-column: span 4; grid-row: span 2; }
  .faq-inner, .contact-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .lightbox-prev { right: 10px; }
  .lightbox-next { left: 10px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: 0; inset-inline-end: 0; height: 100vh;
    width: min(80vw, 320px);
    background: #0a0a0c;
    border-inline-start: 1px solid rgba(200,30,47,0.25);
    padding: 100px 30px 30px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  html[dir="rtl"] .main-nav { transform: translateX(-100%); }
  .main-nav.open,
  html[dir="rtl"] .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  /* The drawer itself stays dark, so its nav links need light text again here. */
  .nav-link { display: block; width: 100%; padding: 14px 8px; color: var(--gray-light); }
  .nav-link:hover, .nav-link.active { color: var(--white); }
  .nav-link::after { display: none; }
  .menu-toggle { display: flex; }
  .header-call span { display: none; }
  .header-call { padding: 10px; }
}

@media (max-width: 700px) {
  section { padding: 80px 0; }
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item, .gallery-item--large, .gallery-item--wide { grid-column: span 2; grid-row: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; min-height: auto; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .trust-strip { gap: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .floating-actions { bottom: 16px; left: 16px; }
  .fab { width: 52px; height: 52px; }
  .lightbox { padding: 20px; }
  .lightbox-nav { width: 44px; height: 44px; }
}
