/* ==========================================================================
   ARF Concrete Products — Design System
   Style: Minimalism & Swiss Style  |  Industrial grey + safety orange
   Type:  Inter (structural) + Playfair Display italic (editorial accent)
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand */
  --color-primary: #64748B;
  --color-on-primary: #FFFFFF;
  --color-secondary: #94A3B8;
  /* Brand safety orange. Used for graphics, borders, icon fills and for text
     on the dark "ink" surfaces, where it clears AA at 5.29:1. */
  --color-accent: #EA580C;
  /* Accessible variants. #EA580C is only 3.4:1 on a light background and
     3.56:1 behind white text, so anything that is TEXT or a filled button
     uses the darker tone instead: 4.95:1 on light, 5.18:1 behind white. */
  --color-accent-text: #C2410C;
  --color-accent-btn: #C2410C;
  --color-accent-hover: #9A3412;
  --color-on-accent: #FFFFFF;

  /* Surfaces */
  --color-background: #F8FAFC;
  --color-foreground: #1E293B;
  --color-card: #FFFFFF;
  --color-card-foreground: #334155;
  --color-muted: #EBF0F5;
  --color-muted-foreground: #475569;
  --color-border: #E2E8F0;
  --color-ring: #EA580C;

  /* Industrial darks (hero / footer) */
  --color-ink: #0B1120;
  --color-ink-2: #131C2E;
  --color-ink-fg: #E2E8F0;
  --color-ink-muted: #94A3B8;
  --color-ink-border: rgba(226, 232, 240, 0.14);

  /* Semantic */
  --color-success: #15803D;
  --color-star: #F59E0B;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;

  /* Spacing (density 4 — standard) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;

  /* Shape & depth — sharp shadows, minimal radius (Swiss) */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 56px rgba(15, 23, 42, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur: 220ms;
  --dur-slow: 400ms;

  --container: 1200px;
  --nav-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --color-accent-text: #EA580C;
    --color-background: #0B1120;
    --color-foreground: #E2E8F0;
    --color-card: #131C2E;
    --color-card-foreground: #CBD5E1;
    --color-muted: #1B2637;
    --color-muted-foreground: #A8B5C7;
    --color-border: rgba(226, 232, 240, 0.14);
    --color-primary: #94A3B8;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme='dark'] {
  --color-accent-text: #EA580C;
  --color-background: #0B1120;
  --color-foreground: #E2E8F0;
  --color-card: #131C2E;
  --color-card-foreground: #CBD5E1;
  --color-muted: #1B2637;
  --color-muted-foreground: #A8B5C7;
  --color-border: rgba(226, 232, 240, 0.14);
  --color-primary: #94A3B8;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 56px rgba(0, 0, 0, 0.6);
}

/* On the dark "ink" surfaces the relationship inverts: the brighter brand
   orange reads at 5.29:1 there, while the darker text tone would not. */
.hero,
.section--ink,
.cta-band,
.footer,
.topbar,
.bot-head {
  --color-accent-text: var(--color-accent);
}

/* ---------- 2. RESET & BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-foreground);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ---------- 3. LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section {
  padding-block: var(--space-8);
  position: relative;
}

.section--tight { padding-block: var(--space-7); }

.section--muted { background: var(--color-muted); }

.section--ink {
  background: var(--color-ink);
  color: var(--color-ink-fg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Section heading block */
.sec-head {
  max-width: 720px;
  margin-bottom: var(--space-6);
}
.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-accent-text);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  flex: none;
}
.sec-head--center .eyebrow::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  flex: none;
}

.sec-title {
  font-size: clamp(1.875rem, 1.2rem + 2.6vw, var(--text-4xl));
  margin-bottom: var(--space-3);
}

.sec-sub {
  font-size: var(--text-lg);
  color: var(--color-muted-foreground);
}
.section--ink .sec-sub { color: var(--color-ink-muted); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  --btn-bg: var(--color-accent-btn);
  --btn-fg: var(--color-on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 12px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  --btn-bg: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn:active { transform: translateY(0); }

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  border-color: color-mix(in srgb, currentColor 55%, transparent);
}
.btn--ghost:hover {
  --btn-bg: color-mix(in srgb, currentColor 14%, transparent);
  border-color: currentColor;
  box-shadow: none;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--color-ink);
}
.btn--light:hover { --btn-bg: #E2E8F0; }

.btn--wa {
  --btn-bg: var(--color-whatsapp);
  --btn-fg: #052e16;
}
.btn--wa:hover { --btn-bg: var(--color-whatsapp-dark); --btn-fg: #fff; }

.btn--sm { min-height: 44px; padding: 10px 18px; font-size: var(--text-xs); }
.btn--block { width: 100%; }

/* ---------- 5. TOP BAR + NAV ---------- */
.topbar {
  background: var(--color-ink);
  color: var(--color-ink-muted);
  font-size: var(--text-xs);
  border-bottom: 1px solid var(--color-ink-border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar__item svg { width: 14px; height: 14px; color: var(--color-accent); flex: none; }
.topbar a {
  display: inline-block;
  padding-block: 6px;
  transition: color var(--dur) var(--ease);
}
.topbar a:hover { color: #fff; }
.topbar__socials { display: flex; gap: var(--space-2); }
.topbar__socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.topbar__socials a:hover { background: rgba(255, 255, 255, 0.1); }
.topbar__socials svg { width: 16px; height: 16px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--color-background) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.is-stuck { box-shadow: var(--shadow); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  flex: none;
}
.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: var(--radius);
  overflow: hidden;
}
.brand__name {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand__tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 11px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted-foreground);
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--color-foreground); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--color-foreground); }

.nav__actions { display: flex; align-items: center; gap: var(--space-2); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-muted-foreground);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.icon-btn:hover {
  background: var(--color-muted);
  color: var(--color-foreground);
  border-color: var(--color-primary);
}
.icon-btn svg { width: 20px; height: 20px; }

.nav__toggle { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}
.drawer[data-open='true'] { display: block; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, 0.6);
  backdrop-filter: blur(3px);
  animation: fade-in var(--dur) var(--ease);
}
.drawer__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(340px, 88vw);
  background: var(--color-background);
  border-left: 1px solid var(--color-border);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow-y: auto;
  animation: slide-in var(--dur-slow) var(--ease);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.drawer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.drawer__links a {
  display: block;
  padding: 14px 8px;
  font-size: var(--text-lg);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.drawer__links a:hover { color: var(--color-accent-text); padding-left: 16px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  /* Sized to the screen minus the top bar + nav (measured into --chrome-h by
     main.js) so the CTAs land above the fold on a 768px-tall laptop. */
  min-height: min(calc(100svh - var(--chrome-h, 118px)), 760px);
  display: flex;
  align-items: center;
  background: var(--color-ink);
  color: var(--color-ink-fg);
  overflow: hidden;
  /* bottom padding keeps copy clear of the fixed WhatsApp button */
  padding-block: var(--space-5) calc(var(--space-6) + 24px);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img,
.hero__bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 17, 32, 0.96) 0%, rgba(11, 17, 32, 0.86) 42%, rgba(11, 17, 32, 0.55) 100%),
    radial-gradient(120% 100% at 88% 30%, rgba(234, 88, 12, 0.22) 0%, transparent 60%);
}

/* Animated blueprint grid */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 100%);
  animation: grid-drift 28s linear infinite;
}
@keyframes grid-drift {
  to { background-position: 64px 64px, 64px 64px; }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-7);
  align-items: center;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px 14px;
  border: 1px solid var(--color-ink-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-3);
}
.hero__badge svg { width: 14px; height: 14px; color: var(--color-star); }
.hero__badge b { color: #fff; white-space: nowrap; }

.hero__title {
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, var(--text-5xl));
  line-height: 1.05;   /* tighter than the global 1.15 — display sizes need less */
  color: #fff;
  margin-bottom: var(--space-3);
}
.hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.hero__lede {
  font-size: var(--text-lg);
  color: var(--color-ink-muted);
  max-width: 62ch;
  margin-bottom: var(--space-4);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero__points svg { width: 18px; height: 18px; color: var(--color-accent); flex: none; }

/* Hero quick-quote card */
.quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-ink-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xl);
}
.quote-card h2 {
  font-size: var(--text-xl);
  color: #fff;
  margin-bottom: var(--space-1);
}
.quote-card p {
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  margin-bottom: var(--space-4);
}

/* ---------- 7. FORMS ---------- */
.field { margin-bottom: var(--space-3); }

.field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--color-muted-foreground);
}
.quote-card .field label { color: var(--color-ink-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--color-card);
  color: var(--color-card-foreground);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }

.quote-card .field input,
.quote-card .field select,
.quote-card .field textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-ink-border);
  color: #fff;
}
.quote-card .field select option { color: #1E293B; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.28);
}

.field__hint {
  display: block;
  margin-top: 6px;
  font-size: var(--text-xs);
  color: var(--color-muted-foreground);
}
.quote-card .field__hint { color: var(--color-ink-muted); }

.field__error {
  display: none;
  margin-top: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #FCA5A5;
}
.field.has-error .field__error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #EF4444; }
.section .field__error { color: #B91C1C; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

/* ---------- 8. STATS STRIP ---------- */
.stats {
  border-block: 1px solid var(--color-border);
  background: var(--color-card);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-6);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border);
}
.stat__num {
  font-size: clamp(2rem, 1.4rem + 2vw, var(--text-4xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-foreground);
  line-height: 1;
}
.stat__num span { color: var(--color-accent); }
.stat__label {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

/* ---------- 9. PRODUCT CARDS ---------- */
.grid {
  display: grid;
  gap: var(--space-4);
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-muted);
  overflow: hidden;
}
.card__media img,
.card__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.card:hover .card__media img,
.card:hover .card__media svg { transform: scale(1.05); }

.card__tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 5px 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.card__title {
  font-size: var(--text-xl);
  font-weight: 700;
}
.card__text {
  font-size: var(--text-sm);
  color: var(--color-muted-foreground);
  flex: 1;
}
.card__specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card__specs li {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 9px;
  background: var(--color-muted);
  color: var(--color-muted-foreground);
  border-radius: 999px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent-text);
  align-self: flex-start;
  min-height: 44px;
}
.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}
.card__link:hover svg { transform: translateX(4px); }

/* ---------- 10. SERVICES ---------- */
.service {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.service__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  color: var(--color-accent-text);
  border-radius: var(--radius);
}
.service__icon svg { width: 24px; height: 24px; }
.service h3 { font-size: var(--text-lg); margin-bottom: 4px; }
.service p { font-size: var(--text-sm); color: var(--color-muted-foreground); }

/* ---------- 11. PROCESS ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: var(--space-5);
  counter-increment: step;
}
.step::before {
  content: '0' counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1;
  color: color-mix(in srgb, var(--color-accent) 30%, transparent);
  letter-spacing: -0.04em;
}
.step::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 62px;
  right: -12px;
  height: 1px;
  background: var(--color-ink-border);
}
.step:last-child::after { display: none; }
.step h3 {
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-2);
  padding-top: var(--space-3);
}
.step p { font-size: var(--text-sm); color: var(--color-ink-muted); }

/* ---------- 12. GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: var(--space-3);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-muted);
  border: 1px solid var(--color-border);
}
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item img,
.gallery__item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.gallery__item:hover img,
.gallery__item:hover svg { transform: scale(1.06); }
.gallery__cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: linear-gradient(transparent, rgba(11, 17, 32, 0.88));
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  transform: translateY(6px);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.gallery__item:hover .gallery__cap,
.gallery__item:focus-within .gallery__cap { transform: translateY(0); opacity: 1; }

/* ---------- 13. TESTIMONIALS ---------- */
.review {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: 100%;
}
.review__stars { display: flex; gap: 2px; color: var(--color-star); }
.review__stars svg { width: 18px; height: 18px; }
.review__quote {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-card-foreground);
  flex: 1;
}
.review__who {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
}
.review__name { font-weight: 700; font-size: var(--text-sm); }
.review__meta { font-size: var(--text-xs); color: var(--color-muted-foreground); }

/* ---------- 14. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-4) var(--space-2);
  background: none;
  border: 0;
  text-align: left;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-foreground);
  min-height: 56px;
  transition: color var(--dur) var(--ease);
}
.faq__q:hover { color: var(--color-accent-text); }
.faq__q svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--color-accent);
  transition: transform var(--dur) var(--ease);
}
.faq__q[aria-expanded='true'] svg { transform: rotate(45deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease);
}
.faq__a[data-open='true'] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 var(--space-2) var(--space-4);
  color: var(--color-muted-foreground);
}

/* ---------- 15. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.info-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-4); }
.info-item { display: flex; gap: var(--space-3); }
.info-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius);
  background: var(--color-ink);
  color: var(--color-accent);
}
.info-item__icon svg { width: 20px; height: 20px; }
.info-item h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 4px;
}
.info-item p, .info-item a { font-size: var(--text-base); font-weight: 600; }
.info-item a { transition: color var(--dur) var(--ease); }
.info-item a:hover { color: var(--color-accent-text); }

.map {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-muted);
  aspect-ratio: 16 / 10;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow);
}

/* ---------- 16. CTA BANNER ---------- */
.cta-band {
  background:
    radial-gradient(120% 130% at 12% 20%, rgba(234, 88, 12, 0.3) 0%, transparent 55%),
    var(--color-ink);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, var(--text-4xl));
  margin-bottom: var(--space-3);
}
.cta-band p {
  color: var(--color-ink-muted);
  font-size: var(--text-lg);
  max-width: 60ch;
  margin: 0 auto var(--space-5);
}
.cta-band__btns { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ---------- 17. FOOTER ---------- */
.footer {
  background: var(--color-ink);
  color: var(--color-ink-muted);
  padding-top: var(--space-7);
  font-size: var(--text-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
}
.footer h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-3);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer li > a {
  display: inline-block;
  padding-block: 7px;   /* 17px text -> 31px hit area, with row spacing between */
}
.footer a { transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--color-accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-ink-border);
  font-size: var(--text-xs);
}

/* Build credit: sits as plain text until hovered or focused, then reveals
   itself as a link. Focus styling is kept so keyboard users can still find it. */
.credit__link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.credit__link:hover,
.credit__link:focus-visible {
  color: var(--color-accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 18. FLOATING WHATSAPP (BOTTOM-LEFT) ---------- */
.wa-fab {
  position: fixed;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  color: #052e16;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.wa-fab:hover {
  background: var(--color-whatsapp-dark);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
}
.wa-fab svg { width: 32px; height: 32px; }

/* Attention pulse — inset to the button so it tracks any size change */
.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-whatsapp);
  animation: wa-pulse 2.4s var(--ease) infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 19. CHATBOT (BOTTOM-RIGHT) ---------- */
.bot-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.42);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.bot-fab:hover { background: var(--color-accent-hover); transform: translateY(-3px) scale(1.05); }
.bot-fab svg { width: 28px; height: 28px; }
.bot-fab__close { display: none; }
.bot-fab[aria-expanded='true'] .bot-fab__open { display: none; }
.bot-fab[aria-expanded='true'] .bot-fab__close { display: block; }

.bot-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22C55E;
  border: 2px solid var(--color-background);
  border-radius: 50%;
}
.bot-fab[aria-expanded='true'] .bot-dot { display: none; }

.bot-panel {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 72px);
  z-index: 101;
  width: min(380px, calc(100vw - 40px));
  height: min(560px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.bot-panel[data-open='true'] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.bot-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-ink);
  color: #fff;
  flex: none;
}
.bot-head__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--color-accent);
}
.bot-head__avatar svg { width: 22px; height: 22px; }
.bot-head__name { font-weight: 700; font-size: var(--text-sm); line-height: 1.3; }
.bot-head__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: #86EFAC;
}
.bot-head__status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
}
.bot-head button {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.bot-head button:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.bot-head button svg { width: 20px; height: 20px; }

.bot-log {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-muted);
  scrollbar-width: thin;
}

.msg {
  display: flex;
  gap: var(--space-2);
  max-width: 88%;
  animation: msg-in 280ms var(--ease);
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg--bot { align-self: flex-start; }
.msg--user { align-self: flex-end; flex-direction: row-reverse; }

.msg__bubble {
  padding: 11px 14px;
  border-radius: 14px;
  font-size: var(--text-sm);
  line-height: 1.5;
  background: var(--color-card);
  color: var(--color-card-foreground);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}
.msg--user .msg__bubble {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}
.msg__bubble strong { font-weight: 700; }
.msg__bubble a {
  display: inline-block;
  padding-block: 4px;
  color: var(--color-accent-text);
  text-decoration: underline;
  font-weight: 600;
}
.msg--user .msg__bubble a { color: #fff; }
.msg__bubble ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 3px; }

.bot-typing { display: flex; gap: 4px; padding: 14px; }
.bot-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-secondary);
  animation: typing 1.2s infinite;
}
.bot-typing span:nth-child(2) { animation-delay: 0.18s; }
.bot-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.bot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 var(--space-4) var(--space-3);
  background: var(--color-muted);
  flex: none;
}
.chip {
  padding: 10px 13px;
  min-height: 40px;
  background: var(--color-card);
  border: 1px solid var(--color-accent-text);
  color: var(--color-accent-text);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:hover { background: var(--color-accent); color: #fff; }

.bot-input {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-3);
  border-top: 1px solid var(--color-border);
  background: var(--color-card);
  flex: none;
}
.bot-input input {
  flex: 1;
  min-height: 44px;
  padding: 11px 14px;
  background: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: var(--text-sm);
}
.bot-input input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.22);
}
.bot-input button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  flex: none;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  border-radius: 50%;
  transition: background var(--dur) var(--ease);
}
.bot-input button:hover { background: var(--color-accent-hover); }
.bot-input button svg { width: 18px; height: 18px; }

/* ---------- 20. SCROLL REVEAL ----------
   Content is VISIBLE by default. The hidden start state only applies once the
   inline head script has confirmed that JS runs and motion is allowed, so a
   failed script, a blocked CDN or a stalled rAF loop can never leave the page
   blank. */
html.js-anim .reveal { opacity: 0; transform: translateY(20px); }
html.js-anim .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

/* Scroll progress bar */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--color-accent);
  z-index: 130;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .quote-card { max-width: 520px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item:nth-child(6) { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__cta { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .stat:nth-child(3)::before { display: none; }
}

@media (max-width: 640px) {
  :root { --space-8: 64px; --space-7: 48px; }
  .grid--3,
  .grid--4,
  .grid--2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  /* One row only: the phone number and socials. Address and hours are both
     repeated in the contact section and the footer. */
  .topbar__list .topbar__item--hide-sm { display: none; }
  .topbar__inner { flex-wrap: nowrap; }
  .topbar__list { flex-wrap: nowrap; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(6) { grid-column: span 1; grid-row: span 1; }
  .stat + .stat::before { display: none; }

  .wa-fab { width: 56px; height: 56px; }
  .wa-fab svg { width: 30px; height: 30px; }
  .bot-fab { width: 56px; height: 56px; }
  .bot-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px);
    height: min(520px, calc(100vh - 120px));
  }
}

/* Phones: trim the hero's vertical cost so the first screen ends above the
   floating WhatsApp button instead of running underneath it. */
@media (max-width: 640px) {
  .hero__badge {
    font-size: 0.7rem;
    margin-bottom: var(--space-2);
  }
  .hero__title { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 2.5rem); }
  .hero__lede {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
  }
  .hero__cta { margin-bottom: var(--space-3); }
  .hero__points {
    font-size: var(--text-xs);
    gap: var(--space-2) var(--space-3);
  }
  .hero__points svg { width: 16px; height: 16px; }
}

/* Short viewports (laptops at 1280x720 and below, browsers with toolbars open).
   Trim the hero's vertical cost so the CTAs stay above the fold on load. */
@media (min-width: 901px) and (max-height: 740px) {
  .hero { padding-block: var(--space-4) var(--space-5); }
  .hero__title { font-size: clamp(2rem, 0.9rem + 3.2vw, 3rem); }
  .hero__lede {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
  }
  .hero__badge { margin-bottom: var(--space-2); }
  .hero__cta { margin-bottom: var(--space-3); }
}

/* ---------- 22. REDUCED MOTION ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__grid { animation: none; }
  .wa-fab::before { display: none; }
}

/* ---------- 23. PRINT ---------- */
@media print {
  .nav, .topbar, .wa-fab, .bot-fab, .bot-panel, .progress, .cta-band, .hero__grid { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 16px; }
}
