/* Generated by _build/build.py from css/*.css — edit the source files, not this one. */

/* ---- variables.css ---- */
/* ==========================================================================
   Ariston-Elite — Design tokens
   Change the brand look from this single file.
   ========================================================================== */
:root {
  /* Brand */
  --c-brand: #b3122e;          /* primary burgundy-red (CTA, accents) */
  --c-brand-600: #9b1835;      /* hover */
  --c-brand-700: #66142a;      /* deep wine */
  --c-brand-50: #fcedf0;       /* tinted background */
  --c-brand-100: #f7d5dc;

  /* Neutrals */
  --c-ink: #101114;            /* graphite black */
  --c-ink-2: #2c2f36;
  --c-text: #23262c;
  --c-muted: #626873;
  --c-line: #e4e6ea;
  --c-line-2: #d3d7dd;
  --c-soft: #f5f6f8;
  --c-silver: #c9cdd3;
  --c-white: #ffffff;

  /* Status */
  --c-wa: #128c4a;             /* WhatsApp action (AA contrast with white) */
  --c-wa-600: #0e733c;
  --c-success: #127a46;
  --c-danger: #b3261e;
  --c-focus: #1a5fd0;

  /* Typography */
  --font-sans: "IBM Plex Sans Arabic", "Poppins", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
  --font-latin: "Poppins", "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);
  --fs-2xl: clamp(1.85rem, 1.4rem + 2vw, 2.9rem);
  --fs-hero: clamp(2rem, 1.35rem + 3.2vw, 3.6rem);
  --lh-tight: 1.25;
  --lh-base: 1.7;

  /* Spacing (4px scale) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --section-y: clamp(3rem, 2rem + 4vw, 5.5rem);

  /* Layout */
  --container: 1440px;
  --container-narrow: 960px;
  --gutter: 16px;
  --header-h: 64px;
  --mobilebar-h: 72px; /* bar (65px) + breathing room */

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(16, 17, 20, 0.06);
  --sh-2: 0 6px 18px rgba(16, 17, 20, 0.08);
  --sh-3: 0 18px 40px rgba(16, 17, 20, 0.14);
  --sh-brand: 0 10px 24px rgba(179, 18, 46, 0.28);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-1: 150ms;
  --dur-2: 260ms;
  --dur-3: 520ms;

  /* Z-index layers */
  --z-header: 50;
  --z-dropdown: 60;
  --z-mobilebar: 70;
  --z-float: 75;
  --z-drawer: 90;
  --z-toast: 100;
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
    --header-h: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-1: 0ms;
    --dur-2: 0ms;
    --dur-3: 0ms;
  }
}

/* ---- reset.css ---- */
/* Modern reset + base typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--sp-3);
  line-height: var(--lh-tight);
  color: var(--c-ink);
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0 0 var(--sp-4);
}

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

img,
video {
  height: auto;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

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

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

.skip-link {
  position: absolute;
  inset-inline-start: var(--sp-4);
  top: -100px;
  z-index: 200;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--r-md);
}

.skip-link:focus {
  top: var(--sp-3);
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: var(--font-latin);
}

/* ---- layout.css ---- */
/* Layout primitives */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section {
  padding-block: var(--section-y);
}

.section--soft {
  background: var(--c-soft);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.6);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.section-head__text {
  max-width: 680px;
}

.section-head h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}

.section-head p {
  color: var(--c-muted);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-brand);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}

/* Page title area (listing pages) */
.page-head {
  padding-block: var(--sp-6) var(--sp-4);
}

.page-head h1 {
  font-size: var(--fs-2xl);
  margin: var(--sp-2) 0 var(--sp-2);
}

.page-head p {
  color: var(--c-muted);
  max-width: 760px;
  margin: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: var(--sp-2);
  color: var(--c-line-2);
}

.breadcrumbs a:hover {
  color: var(--c-brand);
}

/* Mobile: leave space for the fixed bottom action bar */
@media (max-width: 1023.98px) {
  body.has-mobilebar {
    padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom, 0px));
  }
}

/* ---- components.css ---- */
/* ==========================================================================
   Components
   ========================================================================== */

/* ---------- Icons ---------- */
.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 46px;
  padding: 0 var(--sp-5);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease),
    transform var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--pill {
  border-radius: var(--r-pill);
}

.btn--brand {
  --btn-bg: var(--c-brand);
}

.btn--brand:hover {
  --btn-bg: var(--c-brand-600);
  box-shadow: var(--sh-brand);
}

.btn--wa {
  --btn-bg: var(--c-wa);
}

.btn--wa:hover {
  --btn-bg: var(--c-wa-600);
}

.btn--dark:hover {
  --btn-bg: var(--c-ink-2);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-line-2);
}

.btn--ghost:hover {
  --btn-bd: var(--c-ink);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--c-brand-700);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
  --btn-bd: #fff;
  --btn-bg: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  min-height: 54px;
  padding: 0 var(--sp-6);
  font-size: var(--fs-base);
}

.btn--sm {
  min-height: 38px;
  padding: 0 var(--sp-4);
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  background: #fff;
  transition: color var(--dur-1), border-color var(--dur-1), background-color var(--dur-1);
}

.icon-btn:hover {
  color: var(--c-brand);
  border-color: var(--c-brand-100);
}

.icon-btn--wa {
  color: var(--c-wa);
}

.icon-btn--plain {
  border-color: transparent;
}

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: #f1f2f4;
  border: 1px solid transparent;
  color: var(--c-ink-2);
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: background-color var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}

.chip:hover,
.chip[aria-current="page"],
.chip.is-active {
  background: var(--c-brand-50);
  color: var(--c-brand);
  border-color: var(--c-brand-100);
}

/* ---------- Header ---------- */
.topline {
  height: 4px;
  background: linear-gradient(90deg, var(--c-brand-700), var(--c-brand) 40%, var(--c-brand));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--dur-2) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--sh-2);
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "burger brand actions"
    "search search search";
  align-items: center;
  gap: 10px 12px;
  padding-block: 10px;
}

.header-burger {
  grid-area: burger;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand__ar {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-ink);
}

.brand__en {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--c-brand);
  direction: ltr;
  text-align: end;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 10px;
  padding-inline-end: 6px;
}

.header-phone .i {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: var(--c-brand-50);
  color: var(--c-brand);
}

.header-phone small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.2;
}

.header-phone b {
  display: block;
  font-family: var(--font-latin);
  font-size: 1rem;
  color: var(--c-ink);
  direction: ltr;
  line-height: 1.3;
}

.header-cta {
  display: none;
}

.header-call-mobile {
  color: var(--c-brand);
}

/* Category mega button */
.cat-menu {
  display: none;
  position: relative;
}

.cat-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 0;
  z-index: var(--z-dropdown);
  width: min(560px, 80vw);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
}

.cat-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.cat-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2);
  border-radius: var(--r-md);
  transition: background-color var(--dur-1);
}

.cat-link:hover {
  background: var(--c-soft);
}

.cat-link img {
  width: 56px;
  height: 56px;
  background: var(--c-soft);
  border-radius: var(--r-md);
}

.cat-link b {
  display: block;
  color: var(--c-ink);
  font-size: var(--fs-sm);
}

.cat-link small {
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

.cat-menu__all {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-3);
  padding: var(--sp-3) var(--sp-2) 0;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-brand);
}

/* Header search */
.header-search {
  grid-area: search;
  position: relative;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.header-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: var(--fs-sm);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}

.header-search input::placeholder {
  color: #8a9099;
}

.header-search input:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px var(--c-brand-50);
}

.header-search .btn {
  min-height: 44px;
  padding-inline: 14px;
}

.header-search__label {
  display: none;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  z-index: var(--z-dropdown);
  max-height: min(60vh, 420px);
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
}

.search-suggest li a,
.search-suggest .search-suggest__empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}

.search-suggest li a[aria-selected="true"],
.search-suggest li a:hover {
  background: var(--c-soft);
}

.search-suggest img {
  width: 36px;
  height: 36px;
  flex: none;
}

.search-suggest small {
  display: block;
  color: var(--c-brand);
  font-size: var(--fs-xs);
}

.search-suggest mark {
  background: var(--c-brand-50);
  color: inherit;
  border-radius: 3px;
}

.search-suggest__empty {
  color: var(--c-muted);
}

/* Chip bar ("Trending" row) */
.chipbar {
  border-top: 1px solid var(--c-line);
}

.chipbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
}

.chipbar__label {
  flex: none;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-brand);
}

.chipbar__track {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(to left, #000 88%, transparent);
  mask-image: linear-gradient(to left, #000 88%, transparent);
}

.chipbar__track::-webkit-scrollbar {
  display: none;
}

.chipbar__track li {
  scroll-snap-align: start;
}

.chipbar__arrow {
  display: none;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--c-muted);
  place-items: center;
}

.chipbar__arrow:hover {
  color: var(--c-brand);
  background: var(--c-soft);
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .header-main {
    grid-template-columns: auto auto minmax(260px, 1fr) auto;
    grid-template-areas: "brand cat search actions";
    gap: 24px;
    padding-block: 18px;
  }
  .header-burger,
  .header-call-mobile {
    display: none;
  }
  .brand__mark {
    width: 48px;
    height: 48px;
  }
  .brand__ar {
    font-size: 1.25rem;
  }
  .cat-menu {
    display: block;
  }
  .header-search {
    max-width: 640px;
    justify-self: center;
    width: 100%;
  }
  .header-search .btn {
    padding-inline: 26px;
  }
  .header-search__label {
    display: inline;
  }
  .header-search__icon {
    display: none;
  }
  .chipbar__arrow {
    display: inline-grid;
  }
  .chipbar__track {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (min-width: 1280px) {
  .header-phone {
    display: inline-flex;
  }
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 17, 20, 0.5);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}

.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(88vw, 360px);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: var(--sh-3);
  transform: translateX(100%);
  transition: transform var(--dur-2) var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

[dir="ltr"] .drawer__panel {
  transform: translateX(-100%);
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--sp-4);
  border-bottom: 1px solid var(--c-line);
}

.drawer__nav {
  padding: var(--sp-2) var(--sp-4);
}

.drawer__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid var(--c-line);
  font-weight: 600;
  color: var(--c-ink);
}

.drawer__nav a img {
  width: 34px;
  height: 34px;
}

.drawer__nav a .i {
  width: 22px;
  height: 22px;
  color: var(--c-brand);
  margin-inline: 6px;
}

.drawer__nav a[aria-current="page"] {
  color: var(--c-brand);
}

.drawer__group {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-muted);
}

.drawer__foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding: var(--sp-4);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
  background: var(--c-soft);
}

body.is-locked {
  overflow: hidden;
}

/* ---------- Service card (mirrors the product card of the reference) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 156px), 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
  }
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
    transform var(--dur-2) var(--ease);
  scroll-margin-top: calc(var(--header-h) + 80px);
}

.svc-card:target,
.svc-card.is-highlight {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px var(--c-brand-50), var(--sh-2);
}

.svc-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.86;
  padding: 26px 12px 4px;
  background: radial-gradient(70% 60% at 50% 45%, #fff 0%, #f7f8f9 70%, #f1f2f4 100%);
}

.svc-card__media img {
  width: 82%;
  height: auto;
  transition: transform var(--dur-3) var(--ease);
}

.svc-card__issue {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-end: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-brand);
  box-shadow: var(--sh-2);
}

.svc-card__issue .i {
  width: 18px;
  height: 18px;
}

.svc-card__badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 0;
  z-index: 2;
  padding: 3px 10px 3px 8px;
  border-start-end-radius: 6px;
  border-end-end-radius: 6px;
  background: var(--c-ink);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.6;
}

.svc-card__quick {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  display: grid;
  gap: 6px;
}

.svc-card__quick a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
  background: #fff;
  color: var(--c-brand);
  transition: background-color var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}

.svc-card__quick a:hover {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
}

.svc-card__quick .i {
  width: 16px;
  height: 16px;
}

.svc-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 12px 14px;
}

.svc-card__cat {
  margin: 0 0 4px;
  font-size: var(--fs-xs);
  color: var(--c-brand);
}

.svc-card__title {
  margin: 0 0 8px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-card__title a::after {
  /* Make the whole card body clickable without nesting links */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.svc-card__desc {
  display: none;
  margin: 0 0 8px;
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--c-muted);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-card__parts {
  margin: 0 0 10px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--c-text);
}

.svc-card__parts b {
  color: var(--c-ink);
}

.svc-card__foot {
  margin-top: auto;
}

.svc-card__cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-brand);
}

.svc-card__cta .i {
  width: 18px;
  height: 18px;
}

.svc-card__brand {
  display: block;
  margin-top: 4px;
  font-family: var(--font-latin);
  font-size: 0.6875rem;
  color: var(--c-muted);
  direction: ltr;
  text-align: end;
}

@media (min-width: 768px) {
  .svc-card__body {
    padding: 14px 16px 16px;
  }
  .svc-card__desc {
    display: -webkit-box;
  }
  .svc-card__title {
    font-size: 0.9375rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .svc-card:hover {
    border-color: var(--c-line-2);
    box-shadow: var(--sh-2);
  }
  .svc-card:hover .svc-card__media img {
    transform: scale(1.05);
  }
}

/* ---------- Device tile ---------- */
.device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 1024px) {
  .device-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.device-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  background: linear-gradient(160deg, #ffffff 0%, #f3f4f6 100%);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease),
    border-color var(--dur-2);
}

.device-tile::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% -30%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(179, 18, 46, 0.12), transparent);
  opacity: 0;
  transition: opacity var(--dur-3) var(--ease);
}

.device-tile__img {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 6px;
  transition: transform var(--dur-3) var(--ease);
}

.device-tile h3 {
  position: relative;
  margin: 0;
  font-size: var(--fs-base);
}

.device-tile p {
  position: relative;
  display: none;
  margin: 6px 0 0;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.6;
}

.device-tile__meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.device-tile__go {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  transition: background-color var(--dur-2);
}

.device-tile__go .i {
  width: 16px;
  height: 16px;
}

.device-tile a::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (min-width: 768px) {
  .device-tile {
    padding: 20px;
  }
  .device-tile p {
    display: block;
  }
  .device-tile h3 {
    font-size: var(--fs-md);
  }
}

@media (hover: hover) and (pointer: fine) {
  .device-tile:hover {
    border-color: var(--c-line-2);
    box-shadow: var(--sh-3);
  }
  .device-tile:hover::before {
    opacity: 1;
  }
  .device-tile:hover .device-tile__img {
    transform: translateY(-6px) scale(1.04);
  }
  .device-tile:hover .device-tile__go {
    background: var(--c-brand);
  }
}

/* ---------- FAQ (details/summary) ---------- */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color var(--dur-1);
}

.faq-item[open] {
  border-color: var(--c-line-2);
  box-shadow: var(--sh-1);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--c-ink);
  list-style: none;
}

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

.faq-item summary .i {
  color: var(--c-brand);
  transition: transform var(--dur-2) var(--ease);
}

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

.faq-item__a {
  padding: 0 18px 16px;
  color: var(--c-muted);
}

.faq-item__a p:last-child {
  margin: 0;
}

/* ---------- Forms ---------- */
.field {
  display: grid;
  gap: 6px;
}

.field label,
.field legend {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
}

.field .req {
  color: var(--c-brand);
}

.field .hint {
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line-2);
  border-radius: var(--r-md);
  background: #fff;
  font-size: 1rem; /* >=16px prevents iOS zoom on focus */
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626873' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: left 14px center;
}

[dir="ltr"] .select {
  background-position: right 14px center;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px var(--c-brand-50);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--c-danger);
  background-color: #fffafa;
}

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--c-danger);
  font-weight: 600;
}

.field__error::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--c-danger);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  cursor: pointer;
  font-size: var(--fs-sm);
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--c-brand);
  flex: none;
}

.check__count {
  margin-inline-start: auto;
  color: var(--c-muted);
  font-size: var(--fs-xs);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: #b7bcc4;
  font-size: var(--fs-sm);
}

.footer-cta {
  background: linear-gradient(115deg, var(--c-brand-700), var(--c-brand) 60%, #c8243f);
  color: #fff;
}

.footer-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-block: var(--sp-8);
}

.footer-cta h2 {
  color: #fff;
  font-size: var(--fs-lg);
  margin: 0 0 4px;
}

.footer-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8) var(--sp-6);
  padding-block: var(--sp-12) var(--sp-8);
}

.footer-col--brand {
  grid-column: 1 / -1;
}

.footer-col h3 {
  margin-bottom: var(--sp-4);
  font-size: var(--fs-base);
  color: #fff;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-4);
}

.footer-brand .brand__ar {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: var(--sp-4);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}

.footer-contact .i {
  color: var(--c-silver);
}

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--sp-5);
  font-size: var(--fs-xs);
  line-height: 1.8;
}

.footer-note p {
  margin: 0 0 6px;
}

.footer-note strong {
  color: #fff;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1.6fr repeat(3, 1fr);
  }
  .footer-col--brand {
    grid-column: auto;
  }
}

/* ---------- Mobile action bar + floating WhatsApp ---------- */
.mobilebar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-mobilebar);
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 20px rgba(16, 17, 20, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobilebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.mobilebar__call {
  background: var(--c-soft);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}

.mobilebar__wa {
  background: var(--c-wa);
  color: #fff;
}

.mobilebar__req {
  background: var(--c-brand);
  color: #fff;
}

.wa-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: var(--z-float);
  display: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--c-wa);
  color: #fff;
  box-shadow: 0 10px 26px rgba(18, 140, 74, 0.35);
  transition: transform var(--dur-2) var(--ease);
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float .i {
  width: 30px;
  height: 30px;
}

@media (min-width: 1024px) {
  .mobilebar {
    display: none;
  }
  .wa-float {
    display: grid;
  }
}

/* ---------- Misc ---------- */
.notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-text);
}

.notice .i {
  color: var(--c-brand);
  margin-top: 3px;
}

.notice--success {
  background: #eef8f2;
  border-color: #bfe3cd;
}

.notice--success .i {
  color: var(--c-success);
}

/* ---- animations.css ---- */
/* Lightweight motion. Only active when JS is running (html.js) and
   the visitor has not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .float-y {
    animation: float-y 6s ease-in-out infinite;
  }

  .float-y--slow {
    animation-duration: 8s;
    animation-delay: -2s;
  }

  .hero__title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.4em);
    animation: word-in 700ms var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 90ms + 120ms);
  }
}

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

@keyframes word-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 140, 74, 0.45);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(18, 140, 74, 0);
  }
}
