/* ==========================================================================
   ZARTASHA GENERAL TRADING L.L.C — PRODUCTION STYLESHEET
   Design system: warm parchment + terracotta, minimal, semantic, fluid
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces (parchment / paper / ink) */
  --color-parchment: #fef9ef;
  --color-aged-paper: #f5eee1;
  --color-warm-taupe: #d1c9bf;
  --color-ink: #1f2024;
  --color-charcoal: #2a2b2f;
  --color-graphite: #515151;
  --color-ash: #808988;

  /* Accent */
  --color-terracotta: #b05a36;
  --color-terracotta-hover: #9a4c2d;
  --color-terracotta-soft: #f3e1d6;
  --color-success: #3f6b4f;
  --color-danger: #a23b3b;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebe57;

  /* Semantic aliases */
  --surface: var(--color-parchment);
  --surface-alt: var(--color-aged-paper);
  --text-primary: var(--color-ink);
  --text-secondary: var(--color-charcoal);
  --text-muted: var(--color-graphite);
  --border: var(--color-warm-taupe);
  --primary: var(--color-terracotta);
  --primary-hover: var(--color-terracotta-hover);
  --primary-contrast: #ffffff;

  /* Header / Footer shared surface — kept as a single source of truth so
     the header and footer are always visually identical (see Design Spec §1.3) */
  --header-footer-bg: var(--color-ink);
  --header-footer-border: rgba(209, 201, 191, 0.18);

  /* Dropdown / mega-menu text tones, colour-matched to the approved
     "Services Dropdown" reference design */
  --color-menu-heading: var(--color-terracotta);
  --color-menu-heading-hover: var(--color-terracotta-hover);
  --color-menu-body: #5c534b;
  --color-menu-divider: rgba(209, 201, 191, 0.55);

  /* Type scale (clamp for fluid) */
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  --step--1: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.85vw, 1.95rem);
  --step-3: clamp(1.85rem, 1.6rem + 1.3vw, 2.5rem);
  --step-4: clamp(2.4rem, 2rem + 2vw, 3.4rem);
  --step-5: clamp(3rem, 2.5rem + 2.8vw, 4.25rem);

  /* Spacing system (8px base, fluid) */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: clamp(2rem, 4vw, 3rem);
  --space-7: clamp(3rem, 6vw, 5rem);
  --space-8: clamp(4rem, 8vw, 7rem);

  /* Radius */
  --radius-s: 4px;
  --radius-m: 12px;
  --radius-l: 20px;
  --radius-full: 9999px;

  /* Layout */
  --container: 1280px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 88px;
  --header-height-scrolled: 64px;

  /* Effects */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(31, 32, 36, 0.06);
  --shadow-md: 0 2px 4px rgba(31, 32, 36, 0.06), 0 14px 32px -14px rgba(31, 32, 36, 0.18);
  --shadow-lg: 0 12px 24px -8px rgba(31, 32, 36, 0.18);
  --shadow-xl: 0 24px 48px -12px rgba(31, 32, 36, 0.22);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

img,
picture {
  aspect-ratio: attr(width) / attr(height);
}

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

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

::selection {
  background: var(--primary);
  color: var(--primary-contrast);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--color-ink);
  color: var(--color-parchment);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-s);
  z-index: 999;
  transition: top 0.2s var(--ease);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Layout Helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.section--alt {
  background: var(--surface-alt);
}

.section--split {
  background: var(--surface-alt);
}

.section-head {
  max-width: 820px;
  margin-bottom: var(--space-6);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--primary);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--step-5);
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-2);
}

h4 {
  font-size: var(--step-1);
}

p {
  margin: 0;
}

.lede {
  font-size: var(--step-1);
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.55;
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin-block: 0;
}

.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;
}

/* ---------- Grid Utilities ---------- */
.grid {
  display: grid;
  gap: var(--space-4);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  gap: var(--space-5);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.product-cards .product-card {
  background: var(--color-aged-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 160px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-cards .product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-cards .product-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: var(--surface-alt);
}

.product-cards .product-card h5 {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  margin: 1.1rem 1.5rem 0.3rem;
  color: var(--text-primary);
}

.product-cards .product-card p {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.product-cards .product-card .spec-tag {
  margin: 0 1.5rem 1.4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  text-align: center;
}

.stats-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  position: relative;
}

.testi-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
  flex: none;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-contrast);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-ghost:hover {
  background: var(--text-primary);
  color: var(--surface);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--surface-alt);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  border-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: var(--header-footer-bg);
  color: var(--color-parchment);
  border-bottom: 1px solid var(--header-footer-border);
  box-shadow: var(--shadow-md);
  transition: padding 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  min-height: var(--header-height);
}

/* Slim brass/terracotta accent ribbon — the header's signature "trade" motif */
.site-header::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-terracotta) 0%,
    var(--color-terracotta-soft) 50%,
    var(--color-terracotta) 100%
  );
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-lg);
  border-bottom-color: rgba(209, 201, 191, 0.32);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
  padding-block: 1rem;
  transition: min-height 0.3s var(--ease), padding 0.3s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
  min-height: var(--header-height-scrolled);
  padding-block: 0.6rem;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: inherit;
  flex: none;
}

.brand__mark {
  width: 52px;
  height: 52px;
  flex: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}

.site-header.is-scrolled .brand__mark {
  width: 40px;
  height: 40px;
}

.brand__divider {
  width: 1px;
  align-self: stretch;
  min-height: 34px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(209, 201, 191, 0.45) 20%,
    rgba(209, 201, 191, 0.45) 80%,
    transparent
  );
  flex: none;
  transition: min-height 0.3s var(--ease);
}

.site-header.is-scrolled .brand__divider {
  min-height: 26px;
}

.brand__lockup {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  line-height: 1;
  min-width: 0;
}

.brand__wordmark {
  display: block;
  height: 36px;
  width: auto;
  max-width: 410px;
  flex: none;
  transition: height 0.3s var(--ease);
}

.site-header.is-scrolled .brand__wordmark {
  height: 29px;
}

.brand__tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-terracotta-soft);
  white-space: nowrap;
  transition: opacity 0.25s var(--ease), max-height 0.25s var(--ease);
}

.site-header.is-scrolled .brand__tagline {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.brand--footer .brand__wordmark {
  height: 24px;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  position: relative;
}

.main-nav__list {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.main-nav a {
  color: rgba(254, 249, 239, 0.88);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding-block: 0.5rem;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  transition: right 0.28s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-parchment);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current='page']::after {
  right: 0;
}

.main-nav a[aria-current='page'] {
  color: var(--color-parchment);
  font-weight: 600;
}

/* Dropdown */
.nav-item-dropdown {
  /* positioning context for .dropdown-menu moved to .main-nav (see above)
     so the mega-menu anchors to the whole nav bar, not to wherever the
     "Services" trigger link happens to sit in the row */
}

.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item-dropdown > a svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
  opacity: 0.8;
}

.nav-item-dropdown:hover > a svg,
.nav-item-dropdown:focus-within > a svg {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown-menu.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  min-width: 680px;
  width: 720px;
  max-width: min(720px, calc(100vw - 2rem));
  background: var(--color-parchment);
  color: var(--color-menu-body);
  border: 1px solid var(--color-warm-taupe);
  border-radius: var(--radius-m);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease);
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.nav-item-dropdown:hover .dropdown-menu.mega-menu,
.nav-item-dropdown:focus-within .dropdown-menu.mega-menu,
.nav-item-dropdown .dropdown-menu.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.mega-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dropdown-menu.mega-menu .dropdown-head,
.dropdown-menu.mega-menu .dropdown-sub {
  color: var(--color-menu-body);
}

.dropdown-menu.mega-menu .dropdown-head {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-menu-heading);
  font-size: 1rem;
  letter-spacing: -0.005em;
  padding: 0.15rem 0 0.65rem;
  border-bottom: 1px solid var(--color-menu-divider);
  margin-bottom: 0.15rem;
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
  background: transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.dropdown-head::after {
  display: none !important;
}

.dropdown-head:hover,
.dropdown-head:focus-visible {
  color: var(--color-menu-heading-hover);
  border-bottom-color: var(--color-menu-heading-hover);
}

.dropdown-menu.mega-menu .dropdown-sub {
  padding: 0.15rem 0 0.15rem 1rem;
  font-size: 0.85rem;
  color: var(--color-menu-body);
  font-family: var(--font-mono);
  border-left: 2px solid var(--color-warm-taupe);
  margin-left: 0.4rem;
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
  background: transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.dropdown-sub::after {
  display: none !important;
}

.dropdown-sub:hover,
.dropdown-sub:focus-visible {
  color: var(--color-menu-heading);
  border-left-color: var(--color-menu-heading);
  padding-left: 1.2rem;
}

/* Header actions: CTA + WhatsApp */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-left: 1.1rem;
  margin-left: 0.4rem;
  border-left: 1px solid rgba(209, 201, 191, 0.22);
}

.header-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  color: #fff;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-md);
}

.header-wa-btn:hover {
  background: var(--color-whatsapp-hover);
  transform: scale(1.06);
  box-shadow: var(--shadow-lg);
}

.header-wa-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  border: 1.5px solid rgba(254, 249, 239, 0.4);
  align-items: center;
  justify-content: center;
  color: inherit;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.25s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded='true'] span {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--color-ink);
  color: var(--color-parchment);
  padding-top: var(--header-height);
  padding-bottom: var(--space-7);
  overflow: hidden;
}

.hero__inner {
  width: 100%;
  display: grid;
  align-items: center;
}

.hero__text {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.hero-tag {
  color: var(--primary);
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.hero-tag::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--primary);
}

.hero h1 {
  color: var(--color-parchment);
  font-size: var(--step-5);
  max-width: 18ch;
  margin-inline: auto;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero p.lede {
  color: var(--color-parchment);
  margin-top: 1.4rem;
  margin-inline: auto;
  max-width: 56ch;
  font-size: var(--step-1);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(254, 249, 239, 0.3);
  align-items: center;
  justify-content: center;
}

.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: rgba(254, 249, 239, 0.8);
}

.hero-strip-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex: none;
}

/* Page hero (interior) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-parchment);
  color: var(--text-primary);
  padding-top: calc(var(--header-height) + var(--space-6));
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 22ch;
  font-size: var(--step-4);
}

.page-hero .lede {
  color: var(--text-secondary);
  margin-top: 1.2rem;
  font-size: var(--step-1);
}

.page-hero__inner {
  max-width: 760px;
}

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--surface-alt);
  color: var(--text-secondary);
  padding-block: 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  margin-top: var(--header-height);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-bar ol {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.breadcrumb-bar a {
  color: var(--text-secondary);
  opacity: 0.85;
}

.breadcrumb-bar a:hover {
  opacity: 1;
  color: var(--primary);
}

.breadcrumb-bar li[aria-current] {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-bar .sep {
  opacity: 0.45;
}

/* ---------- Cards (shared) ---------- */
.card {
  background: var(--color-aged-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.card__link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  padding-top: 0.5rem;
  align-self: flex-start;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.card__link:hover {
  border-bottom-color: var(--primary);
}

/* Feature card */
.feature-card__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-alt);
  flex: none;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.feature-card:hover .feature-card__media img {
  transform: scale(1.04);
}

.feature-card .card__body h3 {
  margin: 0;
  font-size: var(--step-1);
}

.feature-card .card__body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

/* Product card */
.product-card__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface-alt);
  flex: none;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card .card__body h3 {
  font-size: var(--step-1);
  margin: 0;
}

.product-card .card__body p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.55;
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--pad);
}

.portfolio-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.04);
}

.portfolio-card .card__body {
  padding: var(--pad);
}

.portfolio-card .portfolio-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-parchment);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-m);
}

.portfolio-card .card__body h3 {
  margin: 0 0 0.5rem;
  font-size: var(--step-1);
}

.portfolio-card .card__body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

/* Responsive: stack on mobile */
@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Icon badge */
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-m);
  background: var(--color-parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex: none;
  border: 1px solid var(--border);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

/* Stats bar */
.stats-bar {
  background: var(--color-ink);
  color: var(--color-parchment);
  padding-block: var(--space-7);
}

.stats-grid li {
  padding: 0.5rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--step-4);
  color: var(--color-terracotta-soft);
  line-height: 1;
  font-weight: 600;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-warm-taupe);
  margin-top: 0.75rem;
}

/* Workflow */
.workflow-step {
  position: relative;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.workflow-step .num {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  position: absolute;
  top: -0.65em;
  left: 0;
  background: var(--surface);
  padding-right: 0.6rem;
}

.workflow-step h3 {
  margin-bottom: 0.6rem;
  font-size: var(--step-1);
}

.workflow-step p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

/* About media */
.about-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stat-pill {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(31, 32, 36, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-warm-taupe);
  border-radius: var(--radius-m);
  padding: 1rem 1.25rem;
  color: var(--color-parchment);
  display: flex;
  flex-direction: column;
}

.stat-pill .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-terracotta-soft);
  line-height: 1;
  font-weight: 600;
}

.stat-pill .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-warm-taupe);
  margin-top: 0.3rem;
}

/* Stats box (light) */
.stats-box-grid {
  background: var(--color-ink);
  color: var(--color-parchment);
  border-radius: var(--radius-l);
  padding: 2rem;
  border: 1px solid var(--color-warm-taupe);
}

.stats-box-grid .stat-num {
  color: var(--color-terracotta-soft);
  font-size: var(--step-3);
}

.stats-box-grid .stat-label {
  color: var(--color-warm-taupe);
  font-size: 0.75rem;
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-secondary);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
}

/* Testimonials */
.testi-card {
  background: var(--color-aged-paper);
  padding: 1.75rem;
}

.testi-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.55;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-terracotta-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  flex: none;
}

.testi-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testi-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2.4rem;
  border-left: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.story-content .lede {
  max-width: 60ch;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--border);
}

.timeline-year {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.timeline-item h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.45rem;
  font-size: var(--step-1);
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  background: var(--color-ink);
  color: var(--color-parchment);
  border-radius: var(--radius-l);
  padding: clamp(2rem, 4.5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-warm-taupe);
}

.cta-band h2 {
  color: var(--color-parchment);
  max-width: 24ch;
  font-size: var(--step-2);
}

.cta-band p {
  color: var(--color-warm-taupe);
  margin-top: 0.7rem;
  font-size: var(--step-0);
  max-width: 50ch;
}

/* ---------- Services page Sticky Sub-Nav ---------- */
.service-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 40;
  background: var(--color-ink);
  border-bottom: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.service-nav .wrap {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-block: 0.8rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--color-ink);
}

.service-nav .wrap::-webkit-scrollbar {
  height: 4px;
}

.service-nav .wrap::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.service-nav a {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(254, 249, 239, 0.4);
  background: transparent;
  color: var(--color-parchment);
  transition: all 0.25s var(--ease);
  flex: none;
}

.service-nav a:hover,
.service-nav a.is-active {
  background: var(--primary);
  color: var(--color-parchment);
  border-color: var(--primary);
}

.division {
  padding-block: var(--space-7);
  scroll-margin-top: 160px;
}

.division:nth-of-type(even) {
  background: var(--surface-alt);
}

.division-head {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.division-title {
  flex: 1;
  min-width: 260px;
}

.division-title h2 {
  font-size: var(--step-3);
}

.division-title p {
  color: var(--text-secondary);
  max-width: 66ch;
  margin-top: 0.8rem;
  font-size: var(--step-0);
}

.subsection {
  margin-top: 1.5rem;
}

.subsection-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.15;
  flex-wrap: wrap;
}

.subsection-title::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 2px;
  flex: none;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  background: var(--color-parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 0.6rem 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.spec-tag {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--color-terracotta-soft);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-s);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--color-aged-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-s);
  background: var(--color-parchment);
  color: var(--text-primary);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--color-terracotta-soft);
  outline: none;
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--color-danger);
  background: #fff6f6;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.contact-info-item {
  display: flex;
  gap: 1.1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .icon-badge {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
}

.contact-info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.map-frame {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1.2rem;
  aspect-ratio: 16 / 9;
  background: var(--color-ink);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form-status {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-s);
}

.form-status.ok {
  display: block;
  background: #e9f2ec;
  color: var(--color-success);
  border: 1px solid #c8e3d2;
}

.form-status.err {
  display: block;
  background: #fbeaea;
  color: var(--color-danger);
  border: 1px solid #f3c5c5;
}

/* ---------- Sitemap ---------- */
.sitemap-col h3 {
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  font-size: var(--step-1);
}

.sitemap-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sitemap-col a {
  color: var(--text-secondary);
  font-size: 1rem;
}

.sitemap-col a:hover {
  color: var(--primary);
}

/* ---------- Footer ---------- */
.site-footer {
  /* Identical surface to .site-header — see --header-footer-bg in Design Tokens */
  background: var(--header-footer-bg);
  color: var(--color-warm-taupe);
  padding-block: var(--space-7) var(--space-5);
  border-top: 1px solid var(--color-warm-taupe);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-warm-taupe);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-warm-taupe);
  max-width: 36ch;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-terracotta-soft);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--color-warm-taupe);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--color-parchment);
}

.footer-col li:not(:has(a)) {
  font-size: 0.95rem;
  color: var(--color-warm-taupe);
  line-height: 1.55;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-whatsapp) !important;
  font-weight: 600;
}

.footer-whatsapp:hover {
  color: var(--color-whatsapp-hover) !important;
}

.footer-whatsapp svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-warm-taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-taupe);
  transition: all 0.25s var(--ease);
  background: transparent;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--color-parchment);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.88rem;
  color: var(--color-warm-taupe);
}

.footer-bottom a:hover {
  color: var(--color-parchment);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ---------- Utility States ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1100px) {
  .brand__wordmark {
    height: 30px;
  }

  .feature-grid,
  .workflow-grid,
  .testi-track,
  .stats-grid,
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  /* Tablet landscape: a cramped 2-column mega-menu is harder to scan at this
     width, so drop to a single, generously-spaced column instead of just
     shrinking the 2-column grid. Anchored to the right edge of the toggle
     (rather than the left) so it can't overflow off the right side of
     narrower tablet viewports. */
  .dropdown-menu.mega-menu {
    left: auto;
    right: 0;
    min-width: 0;
    width: min(400px, calc(100vw - 2rem));
    grid-template-columns: 1fr;
    gap: 1.4rem;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .hero {
    min-height: 80svh;
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--header-footer-bg);
    flex-direction: column;
    padding: 2rem var(--pad);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    height: calc(100svh - var(--header-height));
    overflow-y: auto;
    z-index: 90;
    align-items: stretch;
    margin-left: 0;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .main-nav a {
    font-size: 1.1rem;
    padding-block: 0.65rem;
    width: 100%;
  }

  .header-actions {
    margin-left: 0;
    margin-top: 1.2rem;
    padding-left: 0;
    border-left: none;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(209, 201, 191, 0.22);
    width: 100%;
    justify-content: flex-start;
  }

  .dropdown-menu.mega-menu {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: var(--color-aged-paper);
    border: 1px solid var(--color-warm-taupe);
    box-shadow: none;
    padding: 1rem;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
  }

  .mega-col {
    gap: 1.2rem;
    min-width: 0; /* Allow shrinking in grid layout */
  }

  .nav-item-dropdown > a {
    cursor: pointer;
  }

  /* Keep the same terracotta-heading / mocha-body language on mobile —
     only the surface (aged paper) and stacking change. */
  .dropdown-head,
  .dropdown-sub {
    white-space: normal;
    overflow-wrap: break-word;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .service-nav {
    top: var(--header-height);
  }
  .service-nav .wrap {
    padding-block: 0.6rem;
    gap: 0.5rem;
  }
  .service-nav a {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }
}

@media (max-width: 640px) {
  .service-nav .wrap {
    flex-direction: column;
    gap: 0.4rem;
    padding-block: 0.5rem;
  }
  .service-nav a {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.6rem 1rem;
  }

  .feature-grid,
  .workflow-grid,
  .stats-grid,
  .testi-track,
  .sitemap-grid,
  .product-grid,
  .stats-box-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--step-4);
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__divider {
    min-height: 26px;
  }

  .brand__wordmark {
    height: 20px;
    max-width: 225px;
  }

  .brand__tagline {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 360px) {
  /* Extra-narrow phones: drop the tagline first so the wordmark and the
     WhatsApp/CTA cluster never compete for space. */
  .brand__tagline {
    display: none;
  }
}

/* ---------- Video Hero ---------- */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--color-ink);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.45;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__text {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__text .hero-tag,
.hero__text h1,
.hero__text .lede {
  color: var(--color-parchment);
}

.hero__text .lede {
  color: rgba(254, 249, 239, 0.9);
}

.hero-strip {
  border-top-color: rgba(254, 249, 239, 0.3);
}

.hero-strip-item {
  color: rgba(254, 249, 239, 0.85);
}

.hero .btn-primary {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  color: #fff;
}

.hero .btn-ghost {
  background: transparent;
  border-color: rgba(254, 249, 239, 0.6);
  color: var(--color-parchment);
}

.hero .btn-ghost:hover {
  background: rgba(254, 249, 239, 0.15);
  border-color: var(--color-parchment);
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .hero-video-wrapper,
  .service-nav,
  .social-row,
  .nav-toggle,
  .reveal {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
