/* ---------------------------------------------------------------------
   Design tokens
--------------------------------------------------------------------- */
:root {
  --bg: #f6f7f8;
  --bg-alt: #edf0f3;
  --surface: #ffffff;
  --text: #142433;
  --text-muted: #57697b;
  --border: #e1e6ea;
  --primary: #1b3a5c;
  --primary-dark: #0f2740;
  --primary-light: #e7edf3;
  --accent: #b8892b;
  --accent-light: #f7ecd6;
  --good: #1a8f5e;
  --bad: #c73b3b;
  --whatsapp: #25d366;
  --hero-grad-1: #16304b;
  --hero-grad-2: #0a1826;
  --hero-text-muted: #b7c4d4;
  --shadow: 0 10px 30px -12px rgba(10, 30, 50, 0.2);
  --shadow-sm: 0 2px 10px rgba(10, 30, 50, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Inter", "Segoe UI", sans-serif;
  --font-en-display: "Merriweather", Georgia, "Times New Roman", serif;
  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c151f;
    --bg-alt: #111f2a;
    --surface: #16232f;
    --text: #edf1f4;
    --text-muted: #9aa9b8;
    --border: #24333f;
    --primary: #7fa5cc;
    --primary-dark: #b0c9e3;
    --primary-light: #1b2c3d;
    --accent: #dcae57;
    --accent-light: #2c2515;
    --good: #4cc990;
    --bad: #ef6a6a;
    --hero-grad-1: #0e1e30;
    --hero-grad-2: #070f18;
    --hero-text-muted: #9fb0c2;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #0c151f;
  --bg-alt: #111f2a;
  --surface: #16232f;
  --text: #edf1f4;
  --text-muted: #9aa9b8;
  --border: #24333f;
  --primary: #7fa5cc;
  --primary-dark: #b0c9e3;
  --primary-light: #1b2c3d;
  --accent: #dcae57;
  --accent-light: #2c2515;
  --good: #4cc990;
  --bad: #ef6a6a;
  --hero-grad-1: #0e1e30;
  --hero-grad-2: #070f18;
  --hero-text-muted: #9fb0c2;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------------------
   Reset & base
--------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-en);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s ease, color 0.25s ease;
}
body.lang-ar { font-family: var(--font-ar); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3 { line-height: 1.28; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
body.lang-en h1, body.lang-en h2 { font-family: var(--font-en-display); font-weight: 900; letter-spacing: -0.015em; }
p { margin: 0 0 1em; color: var(--text-muted); }
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }

/* accessible focus states */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* icons */
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 17px; height: 17px; flex-shrink: 0; }
.icon-good { color: var(--good); }
.icon-bad { color: var(--bad); }

/* ---------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.hero .btn-primary, .cta-banner .btn-primary {
  background: var(--accent);
  color: #1c1406;
}
.hero .btn-primary:hover, .cta-banner .btn-primary:hover { filter: brightness(0.92); }
.hero .btn-primary { animation: heroCtaPulse 2.6s ease-out infinite; }
.hero .btn-primary:hover, .hero .btn-primary:focus-visible { animation-play-state: paused; }
@keyframes heroCtaPulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 174, 87, 0.55), var(--shadow-sm); }
  70% { box-shadow: 0 0 0 16px rgba(220, 174, 87, 0), var(--shadow-sm); }
  100% { box-shadow: 0 0 0 0 rgba(220, 174, 87, 0), var(--shadow-sm); }
}
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.25s ease, background 0.15s ease;
}
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
@media (prefers-reduced-motion: reduce) {
  .hero .btn-primary { animation: none; }
}
.btn-ghost { background: var(--bg-alt); color: var(--text); }
.btn-lg { padding: 0.85rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.88rem; }

/* ---------------------------------------------------------------------
   Header
--------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1rem; padding-block: 0.7rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand-logo { height: 40px; width: auto; }
.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  white-space: nowrap;
}
.footer-brand-lockup { margin-bottom: 0.6rem; }
.footer-brand-lockup .brand-logo { height: 52px; }
.footer-brand-lockup .brand-name { font-size: 1.15rem; }
.main-nav { flex: 1; min-width: 0; }
.main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.6rem;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav ul > li { flex-shrink: 0; }
.nav-lang-item { display: none; }
.nav-link { font-weight: 600; color: var(--text-muted); padding-block: 0.4rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-new-badge {
  display: inline-block;
  margin-inline-start: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1c1406;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  vertical-align: middle;
  animation: navNewPulse 2s ease-in-out infinite;
}
@keyframes navNewPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-new-badge { animation: none; }
}
.nav-link:hover, .nav-link.is-active { color: var(--primary); border-color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-switch {
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  position: relative;
}
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.header-cta { display: none; }
.menu-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.search-toggle { display: none; }

@media (max-width: 900px) {
  /* App-style dark header, matching the mobile mockup */
  .site-header {
    background: linear-gradient(155deg, var(--hero-grad-1), var(--hero-grad-2));
    backdrop-filter: none;
    border-bottom: none;
  }
  .brand-logo { height: 30px; }
  .brand-name { color: #fff; font-size: 0.95rem; }
  .search-toggle {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    color: #fff;
  }
  .lang-switch { display: none; }
  .theme-toggle { display: none; }
  .menu-toggle { border: none; background: none; color: #fff; }
  .menu-toggle-desktop { display: none; }
  .header-cta { display: none !important; }

  .main-nav {
    display: none;
    position: fixed;
    inset-inline: 0;
    top: 68px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .main-nav.is-open { display: block; }
  .main-nav.is-open.is-visible { opacity: 1; transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.5rem 1.25rem 1.25rem; gap: 0.1rem; }
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
  }
  .nav-link.is-active, .nav-link:hover, .nav-link:focus-visible { color: var(--primary); }
  .nav-link::after {
    content: "";
    width: 8px;
    height: 8px;
    border-inline-start: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(135deg);
    opacity: 0.45;
    flex-shrink: 0;
  }
  .nav-lang-item { display: block; margin-top: 0.4rem; }
  .nav-lang-item .nav-link { color: var(--text-muted); font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav { transition: none; }
}
@media (min-width: 901px) {
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------------------------------------------------------------------
   Mobile search overlay
--------------------------------------------------------------------- */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 14, 20, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.search-overlay.is-open { display: block; }
.search-overlay.is-visible { opacity: 1; }
.search-panel {
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(-16px);
  transition: transform 0.2s ease;
}
.search-overlay.is-visible .search-panel { transform: translateY(0); }
.search-panel-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  background: linear-gradient(155deg, var(--hero-grad-1), var(--hero-grad-2));
}
.search-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}
.search-input-wrap input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font: inherit;
  color: var(--text);
}
.search-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.search-results { overflow-y: auto; padding: 0.5rem; }
.search-result { display: block; padding: 0.8rem 0.9rem; border-radius: var(--radius-sm); }
.search-result:hover, .search-result:focus-visible { background: var(--bg-alt); }
.search-result-type { display: block; font-size: 0.72rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.15rem; }
.search-result strong { display: block; color: var(--text); }
.search-result p { margin: 0.2rem 0 0; font-size: 0.85rem; }
.search-empty { text-align: center; color: var(--text-muted); padding: 2rem 1rem; }
@media (min-width: 640px) {
  .search-panel { max-width: 560px; margin-inline: auto; margin-top: 4vh; border-radius: var(--radius); }
}
@media (prefers-reduced-motion: reduce) {
  .search-overlay, .search-panel { transition: none; }
}

/* ---------------------------------------------------------------------
   Mobile bottom tab bar
--------------------------------------------------------------------- */
.bottom-tab-bar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 68px; }
  .bottom-tab-bar {
    display: flex;
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 60;
    background: linear-gradient(155deg, var(--hero-grad-1), var(--hero-grad-2));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: 0.4rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
  }
  .bottom-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding-block: 0.3rem;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
  }
  .bottom-tab:hover, .bottom-tab:focus-visible { color: #fff; }
}

/* ---------------------------------------------------------------------
   Hero
--------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: 4rem 6.5rem;
  overflow: hidden;
  background: linear-gradient(155deg, var(--hero-grad-1), var(--hero-grad-2));
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(184, 137, 43, 0.14), transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero-claims { display: none; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: #ffffff; }
.hero .lead { color: var(--hero-text-muted); }
.hero .badge {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.badge-link { cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.badge-link:hover, .badge-link:focus-visible { transform: translateY(-2px); }
.hero .badge-link:hover, .hero .badge-link:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(220, 174, 87, 0.4);
}
.hero-wave { position: absolute; inset-inline: 0; bottom: -1px; height: 56px; line-height: 0; z-index: 1; }
.hero-wave svg { width: 100%; height: 100%; display: block; }
.eyebrow {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}
.lead { font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-block: 1.4rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.hero-media { position: relative; z-index: 1; transition: transform 0.2s ease-out; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: -1;
  background: radial-gradient(circle, rgba(220, 174, 87, 0.45), transparent 68%);
  filter: blur(12px);
  animation: heroGlowPulse 3.4s ease-in-out infinite;
}
.hero-media img { border-radius: var(--radius); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.1); }
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1.05fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media { transition: none; }
  .hero-media::before { animation: none; }
}

/* App-style hero: full photo on top; only the short heading dips into its bottom edge, mobile only */
@media (max-width: 900px) {
  .hero { padding: 0; overflow: visible; background: var(--surface); }
  .hero-inner { position: static; display: flex; flex-direction: column-reverse; gap: 0; }
  .hero-media { position: static; }
  .hero-media::before { display: none; }
  .hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1180 / 1132;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    border: none;
    animation: none;
    display: block;
  }
  .hero-content {
    position: relative;
    z-index: 2;
    margin-top: -84px;
    padding: 0 1.25rem 2rem;
    display: flex;
    flex-direction: column;
  }
  .hero-content .eyebrow { order: 1; }
  .hero-content .hero-claims { order: 2; }
  .hero-content .hero-actions { order: 3; margin-block: 1rem 1.2rem; }
  .hero-content .lead { order: 4; }
  .hero-content .badge-row { order: 5; margin-top: 1.2rem; }
  .hero-content h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .hero-claims {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  .hero-claims .claim {
    font-weight: 800;
    font-size: 1.32rem;
    line-height: 1.5;
  }
  .hero-claims .claim-dark { color: #142433; }
  .hero-claims .claim-gold { color: #b8892b; }
  .hero-content .eyebrow,
  .hero-claims .claim {
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.75), 0 2px 18px rgba(255, 255, 255, 0.85);
  }
  .hero::after { display: none; }
  .hero-wave { display: none; }
  .hero-content .eyebrow { color: #b8892b; }
  .hero h1 { color: var(--text); }
  .hero .lead { color: var(--text-muted); }
  .hero .badge {
    background: var(--surface);
    color: var(--primary-dark);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }
  .hero .badge-link:hover, .hero .badge-link:focus-visible {
    background: var(--primary-light);
    border-color: var(--accent);
    box-shadow: none;
  }
  .hero .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
  }
  .hero .btn-outline:hover {
    background: var(--primary-light);
    box-shadow: none;
  }
  .hero .btn {
    border-radius: 14px;
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.3rem;
  }
  .hero-actions { flex-direction: column; }
}

/* ---------------------------------------------------------------------
   Sections
--------------------------------------------------------------------- */
.section { padding-block: 3.2rem; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 2rem; }
.section-head p:last-child { margin-bottom: 0; }
.section-cta { margin-top: 2rem; text-align: center; }
.page-hero { padding-block: 2.6rem 1rem; }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* stats */
.stats-bar { background: var(--primary); color: #fff; padding-block: 1.8rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
.stat-value { display: block; font-size: 1.7rem; font-weight: 800; }
.stat-label { font-size: 0.85rem; opacity: 0.9; }
@media (min-width: 700px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* trust bar */
.trust-bar { padding-block: 1.4rem; border-block: 1px solid var(--border); }
.trust-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.92rem; color: var(--text); }
@media (min-width: 800px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* features */
.features-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.35s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 0.9rem;
}
.feature-card p { margin-bottom: 0; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

/* products */
.products-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.product-card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { margin-bottom: 0.2rem; }
.product-ideal { font-size: 0.84rem; margin-bottom: 0.5rem; }
.price-tag { font-weight: 800; color: var(--primary-dark); font-size: 1.05rem; margin-bottom: 0.8rem; }
.price-tag-lg { font-size: 1.5rem; }
.product-card-actions { display: flex; gap: 0.5rem; margin-top: auto; }
@media (min-width: 700px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1050px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

/* material comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { border-collapse: collapse; width: 100%; background: var(--surface); min-width: 560px; }
th, td { padding: 0.85rem 1rem; text-align: start; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.compare-table thead th { background: var(--bg-alt); font-weight: 800; }
.compare-table .highlight-col { background: var(--primary-light); font-weight: 600; }
.compare-table td svg { vertical-align: -3px; margin-inline-end: 0.3rem; }
.spec-table th { width: 42%; background: var(--bg-alt); font-weight: 700; }
.note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.8rem; }

/* checklist */
.checklist { display: grid; gap: 0.8rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.8rem 1rem; }
.checklist-terms li { background: var(--bg-alt); }

/* testimonials */
.testimonial-slider { position: relative; }
.testimonial-track { display: flex; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; gap: 1.2rem; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.testimonial-card p { color: var(--text); font-size: 1.05rem; font-style: italic; }
.testimonial-card footer { color: var(--text-muted); font-size: 0.9rem; }
.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.testimonial-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border); padding: 0; }
.testimonial-dots button.is-active { background: var(--primary); }
@media (min-width: 800px) { .testimonial-card { flex-basis: calc(50% - 0.6rem); } }

/* faq */
.faq-list { display: grid; gap: 0.9rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 700;
  text-align: start;
}
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; }
.faq-plus::before { inset-inline-start: 0; top: 7px; width: 16px; height: 2px; }
.faq-plus::after { inset-inline-start: 7px; top: 0; width: 2px; height: 16px; transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-plus::after { transform: scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; opacity: 0; padding-inline: 1.2rem; transition: max-height 0.3s ease, opacity 0.25s ease; }
.faq-answer p { padding-bottom: 1rem; margin: 0; }
.faq-answer-img { max-width: 320px; border-radius: var(--radius-sm); margin: 0 0 1rem; box-shadow: var(--shadow-sm); }
.faq-item.is-open .faq-answer { opacity: 1; }
.faq-question { transition: color 0.15s ease; }
@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
}

/* cta banner */
.cta-banner { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding-block: 2.6rem; }
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner-inner { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.cta-banner .btn-outline { border-color: #fff; color: #fff; }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.15); }
@media (min-width: 800px) { .cta-banner-inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* breadcrumbs */
.breadcrumbs { padding-block: 1rem 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs li[aria-current] { color: var(--text); font-weight: 700; }
.breadcrumbs .sep { opacity: 0.5; }

/* product detail */
.product-hero-grid { display: grid; gap: 2rem; }
.product-gallery img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 860px) { .product-hero-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }

/* calculator */
.calculator-shell { max-width: 640px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.calc-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; background: var(--bg-alt); border-radius: 999px; padding: 0.3rem; }
.calc-tab { flex: 1; padding: 0.6rem; border: none; background: none; border-radius: 999px; font-weight: 700; color: var(--text-muted); }
.calc-tab.is-active { background: var(--primary); color: #fff; }
.calc-panel label { display: block; font-weight: 700; margin-bottom: 0.4rem; margin-top: 1rem; }
.calc-panel input[type="range"] { width: 100%; accent-color: var(--primary); }
.calc-panel output { display: inline-block; margin-top: 0.3rem; font-weight: 800; color: var(--primary-dark); }
.calc-result { margin-top: 1.6rem; padding: 1.2rem; border-radius: var(--radius-sm); background: var(--primary-light); }
.calc-result .result-title { font-weight: 800; color: var(--primary-dark); margin-bottom: 0.4rem; }
.calc-result .result-product { display: flex; align-items: center; gap: 1rem; margin-top: 0.8rem; }
.calc-result img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }

/* contact */
.contact-grid { display: grid; gap: 2rem; }
.contact-cards { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.contact-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.contact-card strong { display: block; }
.contact-card span { font-size: 0.85rem; color: var(--text-muted); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); display: grid; gap: 0.9rem; }
.contact-form label { font-weight: 700; display: grid; gap: 0.35rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
}
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------------
   Footer
--------------------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-block: 2.8rem 1.2rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand p { max-width: 320px; }
.social-row { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.social-row a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); font-size: 0.72rem; font-weight: 800; }
.footer-col h3 { font-size: 1rem; margin-bottom: 0.8rem; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--primary); }
.contact-list a { display: flex; align-items: center; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.2rem; }
.footer-bottom p { margin: 0; font-size: 0.82rem; text-align: center; }
.footer-bottom .footer-credit { margin-top: 0.4rem; }
.footer-bottom .footer-credit a { color: inherit; text-decoration: underline; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

/* ---------------------------------------------------------------------
   Articles / blog
--------------------------------------------------------------------- */
.articles-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.article-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.article-card-body time { font-size: 0.78rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.article-card-body h3 { margin-bottom: 0.1rem; }
.article-card-body h3 a { color: var(--text); }
.article-card-body h3 a:hover { color: var(--primary); }
.article-card-body p { margin-bottom: 0.4rem; }
.article-card-body .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 700px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-hero .eyebrow time { color: inherit; font-weight: 700; }
.article-byline { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; margin-top: -0.6rem; }
.article-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin-bottom: 2rem;
}
.article-toc-title { font-weight: 800; margin: 0 0 0.5rem; color: var(--text); }
.article-toc ol { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: 0.35rem; }
.article-toc a { color: var(--primary-dark); font-weight: 700; }
.article-toc a:hover { color: var(--primary); }
.article-featured-media { margin-top: 1.6rem; }
.article-featured-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-body { max-width: 760px; margin-inline: auto; }
.article-body h2 { margin-top: 2rem; }
.article-body p { color: var(--text); }

/* ---------------------------------------------------------------------
   Service-area / city pages
--------------------------------------------------------------------- */
.cities-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.city-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.city-card h3 a { color: var(--text); }
.city-card h3 a:hover { color: var(--primary); }
.city-card p { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; }
@media (min-width: 700px) { .cities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .cities-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------------------
   Floating action buttons
--------------------------------------------------------------------- */
.fab-stack { position: fixed; inset-block-end: 1.2rem; inset-inline-end: 1.2rem; z-index: 50; display: flex; flex-direction: column; gap: 0.7rem; }
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.fab .icon { width: 26px; height: 26px; }
.fab-whatsapp { background: var(--whatsapp); }
.fab-call { background: var(--primary); }
.fab:hover { transform: scale(1.08); }
@media (max-width: 900px) {
  .fab-call { display: none; }
  .fab-stack { inset-block-end: calc(68px + 1rem); }
}

/* ---------------------------------------------------------------------
   Scroll-reveal system
--------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; transform: none; opacity: 1; }
}

/* hero float */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-float { animation: heroFloat 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-float { animation: none; }
}

/* stat count-up (purely a hook for JS; no extra styling needed) */
.count-num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------
   Material quality meters
--------------------------------------------------------------------- */
.meters { display: grid; gap: 1.3rem; margin-bottom: 1.6rem; }
.meter-label { font-weight: 700; margin-bottom: 0.4rem; font-size: 0.94rem; }
.meter-line { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.meter-track { flex: 1; height: 10px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.meter-fill {
  height: 100%;
  border-radius: 999px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
[dir="rtl"] .meter-fill { transform-origin: right center; }
.meter-row.is-visible .meter-fill { transform: scaleX(var(--pct)); }
.meter-fill.pe { background: var(--primary); }
.meter-fill.std { background: var(--text-muted); opacity: 0.55; }
.meter-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.meter-dot.pe { background: var(--primary); }
.meter-dot.std { background: var(--text-muted); opacity: 0.55; }
.meters-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.meters-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
@media (prefers-reduced-motion: reduce) {
  .meter-fill { transition: none; }
}

/* ---------------------------------------------------------------------
   Product image quick-view (zoom) button
--------------------------------------------------------------------- */
.product-card-media { position: relative; }
.img-zoom-btn {
  position: absolute;
  inset-block-start: 0.6rem;
  inset-inline-end: 0.6rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s ease;
}
.product-card:hover .img-zoom-btn,
.img-zoom-btn:focus-visible { opacity: 1; transform: scale(1); }
.img-zoom-btn:hover { background: var(--primary); color: #fff; }
@media (hover: none) {
  .img-zoom-btn { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------------------------
   Lightbox / quick-view modal
--------------------------------------------------------------------- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 14, 20, 0.62);
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay.is-open.is-visible { opacity: 1; }
.lightbox-panel {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  display: grid;
  transform: scale(0.94) translateY(8px);
  transition: transform 0.2s ease;
}
.lightbox-overlay.is-visible .lightbox-panel { transform: scale(1) translateY(0); }
.lightbox-panel img { width: 100%; max-height: 320px; object-fit: cover; }
.lightbox-body { padding: 1.4rem 1.5rem 1.6rem; position: relative; }
.lightbox-close {
  position: absolute;
  inset-block-start: 0.7rem;
  inset-inline-end: 0.7rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  color: var(--text);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.lightbox-body h3 { margin-bottom: 0.4rem; }
.lightbox-body .price-tag { margin-bottom: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay, .lightbox-panel { transition: none; }
}

/* ---------------------------------------------------------------------
   Calculator tank-fill visual
--------------------------------------------------------------------- */
.calc-visual-row { display: grid; gap: 1.6rem; align-items: center; margin-top: 1.6rem; }
.tank-visual { position: relative; width: 140px; margin-inline: auto; }
.tank-visual svg { width: 100%; height: auto; overflow: visible; }
.tank-outline { fill: none; stroke: var(--primary); stroke-width: 4; }
.tank-gauge { stroke: var(--border); stroke-width: 2; stroke-dasharray: 4 4; }
.tank-water {
  fill: var(--primary);
  opacity: 0.55;
  transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1), y 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  animation: waterPulse 3s ease-in-out infinite;
}
@keyframes waterPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.68; }
}
.tank-fill-label {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-dark);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}
@media (min-width: 700px) { .calc-visual-row { grid-template-columns: 160px 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .tank-water { transition: none; animation: none; }
}

/* utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
