/* ==========================================================================
   DAIRA TOOLS — Main Stylesheet
   Smart Tools. Simple Solutions.
   --------------------------------------------------------------------------
   HOW THIS FILE IS ORGANISED (search for the numbered headings):
     01. Brand variables (colours, spacing, radii, shadows)
     02. Reset & base typography
     03. Layout helpers (container, grid, section)
     04. Buttons & links
     05. Badges, pills & small components
     06. Header & navigation  (header HTML is rendered by assets/js/app.js)
     07. Hero
     08. Cards: product, category, feature, step
     09. Product detail page & gallery + lightbox
     10. FAQ accordion
     11. Contact page
     12. Footer
     13. 404 page
     14. Animations & accessibility
     15. Responsive breakpoints
   --------------------------------------------------------------------------
   You normally do NOT need to edit this file. To change your WhatsApp
   number, Facebook link, prices or products, edit:
     assets/js/config.js     (contact details, brand text)
     assets/js/products.js   (products)
   ========================================================================== */

/* ==========================================================================
   01. BRAND VARIABLES
   ========================================================================== */
:root {
  /* Official DAIRA TOOLS brand colours */
  --navy: #142b45;
  --navy-900: #0d1d30;
  --navy-700: #1d3a5c;
  --blue: #2878d0;
  --blue-dark: #1c5fa8;
  --blue-soft: #e8f1fb;
  --gold: #f4b942;
  --gold-dark: #d99f22;
  --gold-soft: #fdf3dd;
  --soft-white: #f8f8f5;
  --white: #ffffff;

  /* Neutrals derived from the brand navy (kept warm/cool consistent) */
  --ink: #142b45;
  --ink-soft: #40566f;
  --ink-muted: #6b7d92;
  --line: #e3e7ec;
  --line-strong: #d3dae2;

  /* Small accent used only for the WhatsApp glyph */
  --wa: #1fa855;

  /* Typography */
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.0625rem;
  --fs-h4: 1.15rem;
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.6rem, 1.25rem + 1.6vw, 2.35rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.8vw, 3.35rem);

  /* Spacing */
  --gap: 1.5rem;
  --section-y: clamp(3.25rem, 2rem + 5vw, 6rem);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(20, 43, 69, 0.06);
  --sh-sm: 0 2px 10px rgba(20, 43, 69, 0.06);
  --sh-md: 0 10px 30px -12px rgba(20, 43, 69, 0.22);
  --sh-lg: 0 26px 60px -28px rgba(20, 43, 69, 0.35);

  --header-h: 74px;
  --max: 1180px;
}

/* ==========================================================================
   02. RESET & BASE TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--soft-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }

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

ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--ink); font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: var(--navy); }

/* Skip link for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   03. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.container-narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.section--white { background: var(--white); }
.section--soft { background: var(--soft-white); }
.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: #fff; }

.section-head { max-width: 660px; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-muted); font-size: var(--fs-lg); margin-bottom: 0; }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.8rem;
  margin-bottom: 1rem;
}
.section--navy .eyebrow { background: rgba(255, 255, 255, 0.1); color: var(--gold); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Products page toolbar: search + sort side by side on desktop, stacked on phones */
.toolbar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 1rem;
  align-items: end;
}
@media (max-width: 720px) {
  .toolbar-grid { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: var(--gap); }

.divider-gold {
  width: 56px;
  height: 4px;
  border-radius: 99px;
  background: var(--gold);
  margin: 0 0 1.25rem;
}
.section-head--center .divider-hair { margin-inline: auto; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.text-muted { color: var(--ink-muted); }

/* ==========================================================================
   04. BUTTONS & LINKS
   ========================================================================== */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  box-shadow: var(--sh-sm);
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { --btn-bg: var(--blue); }
.btn--primary:hover { --btn-bg: var(--blue-dark); }

.btn--navy { --btn-bg: var(--navy); }
.btn--navy:hover { --btn-bg: var(--navy-700); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy); }
.btn--gold:hover { --btn-bg: var(--gold-dark); --btn-fg: var(--navy); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bd: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--navy); box-shadow: var(--sh-sm); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: #fff; --btn-bd: #fff; box-shadow: none; }

.btn--lg { padding: 1rem 1.75rem; font-size: var(--fs-base); }
.btn--sm { padding: 0.6rem 1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

/* Small round icon badge used inside WhatsApp buttons */
.btn .ic-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  flex: none;
}
.btn .ic-wa svg { width: 13px; height: 13px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--blue-dark);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.16s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Text link used in the footer and legal pages */
.link-quiet { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.link-quiet:hover { color: var(--blue-dark); }

/* ==========================================================================
   05. BADGES & SMALL COMPONENTS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--blue-dark);
  border: 1px solid transparent;
}
.badge--available { background: #e7f6ed; color: #12793f; }
.badge--soon { background: var(--gold-soft); color: #8a5f00; }
.badge--dev { background: #eef0f3; color: var(--ink-muted); }
.badge--legacy { background: #fdeaea; color: #a12a2a; }
.badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.16s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue-dark); }
.chip[aria-pressed="true"], .chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.chip .count {
  font-size: 0.72rem;
  background: rgba(20, 43, 69, 0.08);
  border-radius: 99px;
  padding: 0.05rem 0.4rem;
}
.chip[aria-pressed="true"] .count, .chip.is-active .count { background: rgba(255, 255, 255, 0.2); }

.note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: var(--gold-soft);
  border: 1px solid #f3ddab;
  color: #6b4a00;
  font-size: var(--fs-sm);
}
.note svg { width: 20px; height: 20px; flex: none; color: var(--gold-dark); }
.note p { margin: 0; }
.note strong { color: #5a3e00; }

.note--info { background: var(--blue-soft); border-color: #cfe2f7; color: #164b83; }
.note--info svg { color: var(--blue); }
.note--info strong { color: #103c69; }

/* ==========================================================================
   06. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  flex: none;
}
.brand:hover { color: var(--navy); }
.brand img,
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.06rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-name span { color: var(--blue); }
.brand-tagline {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li { margin: 0; }
.nav a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--navy); background: var(--blue-soft); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 800; background: var(--blue-soft); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  color: var(--navy);
  padding: 0;
}
.nav-toggle:hover { background: var(--soft-white); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }
.nav-toggle .ic-menu { display: none; }
.nav-toggle[aria-expanded="false"] .ic-menu,
.nav-toggle:not([aria-expanded]) .ic-menu { display: block; }

/* Mobile drawer */
@media (max-width: 940px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: 0.85rem clamp(1.1rem, 4vw, 2rem) 1.4rem;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav a { padding: 0.8rem 0.7rem; font-size: var(--fs-base); border-radius: 10px; }
  .nav .nav-cta { margin-top: 0.85rem; }
  .nav .nav-cta .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
  /* Keep a WhatsApp button in the header on phones, as a compact icon button.
     The visible label is hidden with font-size:0, but it stays in the
     accessibility tree so screen readers still announce "WhatsApp". */
  .header-actions .btn-wa-header {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    font-size: 0;
    gap: 0;
    flex: none;
  }
  .header-actions .btn-wa-header .ic-wa { width: 22px; height: 22px; }
  .header-actions .btn-wa-header .ic-wa svg { width: 13px; height: 13px; }
}

/* ==========================================================================
   07. HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(40, 120, 208, 0.45), transparent 62%),
    radial-gradient(700px 380px at 0% 100%, rgba(244, 185, 66, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, 0.86);
  padding-block: clamp(3rem, 2rem + 6vw, 6.5rem);
}
.hero::after {
  /* subtle dotted texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  mask-image: linear-gradient(120deg, #000 0%, transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .accent { color: var(--gold); }
.hero-lede {
  font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 34em;
  margin-bottom: 1.75rem;
}
.hero .badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.35rem;
}
.hero .badge-brand .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(244, 185, 66, 0.2);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 1.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.72);
  list-style: none;
  padding-left: 0;
}
.hero-trust li { display: flex; align-items: center; gap: 0.45rem; margin: 0; }
.hero-trust svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

/* Hero visual: a brand "product card" built from UI, not a fake screenshot */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--r-xl);
  padding: 1.35rem;
  box-shadow: var(--sh-lg);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-card-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.hero-card-top .hc-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex: none;
}
.hero-card-top .hc-mark svg { width: 24px; height: 24px; }
.hero-card-top h3 { font-size: 0.98rem; margin: 0; line-height: 1.25; }
.hero-card-top p { margin: 0; font-size: var(--fs-xs); color: var(--ink-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}
.hero-modules li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--soft-white);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.5rem 0.6rem;
}
.hero-modules svg { width: 15px; height: 15px; color: var(--blue); flex: none; }
.hero-card-foot {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.hero-float {
  position: absolute;
  right: -8px;
  bottom: -22px;
  background: var(--gold);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 800;
  padding: 0.6rem 0.95rem;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-float svg { width: 16px; height: 16px; }

/* Simple page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(40, 120, 208, 0.35), transparent 65%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(2.5rem, 2rem + 3.5vw, 4.25rem);
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { max-width: 44em; margin-inline: auto; font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.78); }
.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
}
.page-hero .breadcrumb li { margin: 0; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.page-hero .breadcrumb a:hover { color: var(--gold); }

/* ==========================================================================
   08. CARDS
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 0.6vw, 1.75rem);
  box-shadow: var(--sh-xs);
}

/* --- Product card --- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line-strong); }

.product-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eef3f9, #f7f9fc);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-media .media-fallback {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  text-align: center;
  color: var(--ink-muted);
  padding: 1rem;
}
.product-card-media .media-fallback svg { width: 38px; height: 38px; color: var(--blue); opacity: 0.5; }
.product-card-media .media-fallback span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.product-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  box-shadow: var(--sh-sm);
  background: #fff;
}

.product-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.product-card-cat {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
}
.product-card h3 {
  font-size: 1.08rem;
  margin: 0;
  line-height: 1.3;
}
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--blue-dark); }
.product-card p {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-foot {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.price {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.price small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }

/* --- Category card --- */
.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.3rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  height: 100%;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--blue); color: var(--ink); }
.category-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}
.category-icon svg { width: 24px; height: 24px; }
.category-card h3 { font-size: 1.02rem; margin: 0; }
.category-card p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 0; }
.category-card .cat-meta {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

/* --- Feature / value card --- */
.feature-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  height: 100%;
}
.feature-card .f-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  margin-bottom: 1rem;
}
.feature-card .f-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.feature-card p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 0; }

/* --- Steps (how it works) --- */
.steps { counter-reset: step; display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  position: relative;
  padding: 1.6rem 1.4rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1.02rem; color: #fff; margin-bottom: 0.4rem; }
.step p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.72); margin: 0; }

/* --- Benefit list with ticks --- */
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.tick-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.tick-list svg { width: 19px; height: 19px; flex: none; color: var(--blue); margin-top: 2px; }
.tick-list--light li { color: rgba(255, 255, 255, 0.82); }
.tick-list--light svg { color: var(--gold); }

/* --- Split media section --- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.split-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--sh-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* --- Stats / quick facts (no invented numbers: only factual brand facts) --- */
.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fact-row li {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
}
.fact-row .f-act-label { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.fact-row .f-act-value { font-weight: 800; color: var(--ink); font-size: 1rem; }

/* ==========================================================================
   09. PRODUCT DETAIL
   ========================================================================== */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3rem);
  align-items: start;
}
.product-intro h1 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 0.6rem; }
.product-intro .lede { font-size: var(--fs-lg); color: var(--ink-muted); }

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.meta-list li { margin: 0; }
.meta-list dt, .meta-list .m-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}
.meta-list .m-value { font-weight: 700; color: var(--ink); font-size: var(--fs-sm); }

/* Gallery */
.gallery { display: grid; gap: 0.7rem; }
.gallery-main {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #eef3f9, #f7f9fc);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.gallery-main .media-fallback { padding: 2rem; text-align: center; color: var(--ink-muted); }
.gallery-main .media-fallback svg { width: 54px; height: 54px; color: var(--blue); opacity: 0.45; margin: 0 auto 0.6rem; }
.gallery-main .media-fallback strong { display: block; color: var(--ink); font-size: var(--fs-sm); }
.gallery-main .media-fallback span { font-size: var(--fs-xs); }
.gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 2px;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  aspect-ratio: 16 / 10;
  transition: border-color 0.15s ease;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Purchase / inquiry box */
.buy-box {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  box-shadow: var(--sh-md);
}
.buy-box .price-block { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.buy-box .price-big { font-size: 1.65rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.buy-box .price-note { font-size: var(--fs-xs); color: var(--ink-muted); margin-top: 0.3rem; }
.buy-box .btn-row { flex-direction: column; align-items: stretch; }
.buy-box .btn { width: 100%; }
.buy-box .buy-meta { margin-top: 1.1rem; display: grid; gap: 0.55rem; }
.buy-box .buy-meta div {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}
.buy-box .buy-meta svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* Feature grid on product page */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-grid li {
  margin: 0;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.8rem 0.9rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
}
.feature-grid svg { width: 18px; height: 18px; flex: none; color: var(--blue); margin-top: 2px; }

.prose { color: var(--ink-soft); }
.prose h2 { margin-top: 2.25rem; font-size: var(--fs-h3); }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose li { margin-bottom: 0.5rem; }
.prose > *:first-child { margin-top: 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(13, 29, 48, 0.94);
  display: none;
  place-items: center;
  padding: 2.5rem 1rem;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 84vh; object-fit: contain; border-radius: var(--r-md); box-shadow: var(--sh-lg); background: #fff; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close { top: 1.1rem; right: 1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav svg, .lightbox-close svg { width: 22px; height: 22px; }
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.75); font-size: var(--fs-xs); }

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq-list { display: grid; gap: 0.7rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: var(--fs-base);
  list-style: none;
  line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-dark); }
.faq-item summary .faq-icon {
  margin-left: auto;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item summary .faq-icon svg { width: 15px; height: 15px; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-answer { padding: 0 1.2rem 1.25rem; color: var(--ink-muted); font-size: var(--fs-sm); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { font-weight: 700; }

/* FAQ preview on the home page uses the same component in a white card */
.faq-preview .faq-item { background: var(--white); }

/* ==========================================================================
   11. CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 1rem + 3vw, 3rem);
  align-items: start;
}
.contact-method {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.contact-method:hover { color: var(--ink); border-color: var(--blue); box-shadow: var(--sh-sm); }
.contact-method .cm-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.contact-method .cm-icon--wa { background: #e8f7ee; color: var(--wa); }
.contact-method .cm-icon--fb { background: #e9effa; color: #1b4f9c; }
.contact-method .cm-icon svg { width: 22px; height: 22px; }
.contact-method h3 { font-size: 1rem; margin: 0 0 0.15rem; }
.contact-method p { font-size: var(--fs-sm); color: var(--ink-muted); margin: 0; word-break: break-word; }
.contact-method .cm-go { margin-left: auto; align-self: center; color: var(--ink-muted); flex: none; }
.contact-method .cm-go svg { width: 18px; height: 18px; }

/* The message builder form (opens WhatsApp — no backend needed) */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 1rem + 1vw, 2rem);
  box-shadow: var(--sh-sm);
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field .hint { font-size: var(--fs-xs); color: var(--ink-muted); font-weight: 500; margin-top: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--soft-white);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(40, 120, 208, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: var(--fs-xs); color: var(--ink-muted); margin-top: 0.9rem; }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.66);
  padding-block: clamp(2.75rem, 2rem + 3vw, 4rem) 1.5rem;
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.9fr)) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-tagline { color: rgba(255, 255, 255, 0.5); }
.footer-about p { margin-top: 1rem; max-width: 32em; color: rgba(255, 255, 255, 0.6); }
.footer-col h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.9rem;
  font-weight: 800;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-col li { margin: 0; }
.footer-col a { color: rgba(255, 255, 255, 0.68); }
.footer-col a:hover { color: var(--gold); }
.footer-contact { display: grid; gap: 0.6rem; }
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}
.footer-contact a:hover { color: var(--gold); }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: var(--gold); }

/* Sticky WhatsApp button on mobile */
.wa-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: none;
  place-items: center;
  box-shadow: 0 10px 26px -8px rgba(31, 168, 85, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab:hover { color: #fff; transform: scale(1.05); }
@media (max-width: 940px) { .wa-fab { display: grid; } }

/* ==========================================================================
   13. 404 PAGE
   ========================================================================== */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(3rem, 2rem + 6vw, 6rem);
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(40, 120, 208, 0.22), transparent 68%),
    var(--soft-white);
}
.error-code {
  font-size: clamp(4.5rem, 3rem + 12vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.error-code span { color: var(--gold); }

/* ==========================================================================
   14. ANIMATIONS & ACCESSIBILITY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Print (used by the documentation pages) */
@media print {
  .site-header, .site-footer, .wa-fab, .no-print { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 1rem; }
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .product-layout { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .meta-list { grid-template-columns: 1fr 1fr; }
  .fact-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-card { padding: 1.1rem; }
  .hero-float { bottom: -16px; right: 4px; font-size: 0.7rem; padding: 0.5rem 0.8rem; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .brand-tagline { display: none; }
  .product-card-foot { flex-wrap: wrap; }
  .gallery-thumbs { grid-auto-columns: 33%; }
  .lightbox-nav { top: auto; bottom: 1rem; transform: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
