/* ==========================================================================
   Fourie Computer Services — one-page website
   Built on the FCS design system (tokens mirror project/tokens.json).
   Structure: 1 Tokens · 2 Base · 3 Layout · 4 Components · 5 Sections · 6 Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand */
  --brand-blue: #004b97;
  --brand-green: #5ec021;
  --brand-grey: #666666;
  --white: #ffffff;

  /* Scales */
  --blue-50: #f2f6fa;  --blue-100: #e0e9f3; --blue-200: #bdd0e4; --blue-300: #8fb0d1;
  --blue-600: #1a5da1; --blue-800: #003c79; --blue-900: #002a55;
  --green-50: #f4fbef; --green-100: #e3f5d8; --green-300: #a1db7e; --green-400: #7dcd4f;
  --green-700: #3d7d16;
  --grey-50: #f7f7f7;  --grey-100: #eeeeee; --grey-200: #dddddd; --grey-500: #858585;
  --grey-900: #1a1a1a;

  /* Semantic */
  --bg: var(--white);
  --surface: var(--white);
  --surface-subtle: var(--grey-50);
  --surface-brand: var(--blue-50);
  --surface-inverse: var(--blue-900);
  --border: var(--grey-200);
  --border-strong: var(--grey-500);
  --text: var(--grey-900);
  --text-heading: var(--brand-blue);
  --text-muted: var(--brand-grey);
  --text-inverse: var(--white);
  --text-inverse-muted: var(--blue-200);
  --primary: var(--brand-blue);
  --primary-hover: var(--blue-800);
  --primary-active: var(--blue-900);
  --on-primary: var(--white);
  --secondary: var(--brand-green);
  --secondary-hover: var(--green-400);
  --on-secondary: var(--blue-900);
  --accent: var(--brand-green);
  --link: var(--brand-blue);
  --link-hover: var(--blue-600);
  --focus-ring: var(--brand-blue);
  --success: var(--green-700);
  --success-bg: var(--green-50);
  --error: #b42318;
  --error-bg: #fdecea;
  /* WhatsApp buttons use the logo green; dark blue text keeps 4.5:1+ contrast (white on green fails) */
  --whatsapp: var(--brand-green);
  --whatsapp-hover: var(--green-400);
  --on-whatsapp: var(--blue-900);

  /* Pillars */
  --pillar-support: var(--brand-blue);      --pillar-support-bg: var(--blue-100);
  --pillar-solutions: var(--blue-900);      --pillar-solutions-bg: var(--grey-100);
  --pillar-growth: var(--green-700);        --pillar-growth-bg: var(--green-100);

  /* Typography */
  --font-display: "Saira", "Square721 BT", "Square 721", Arial, sans-serif;
  --font-body: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  --display-stretch: 112.5%;

  --fs-display: clamp(2.25rem, 1.4rem + 3.1vw, 3.5rem);   /* 36 → 56 */
  --lh-display: 1.07;
  --fs-h1: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);           /* 32 → 44 */
  --fs-h2: clamp(1.75rem, 1.45rem + 1.1vw, 2.125rem);      /* 28 → 34 */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);         /* 20 → 24 */
  --fs-h4: 1.1875rem;                                       /* 19 */
  --fs-body-lg: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);/* 17 → 19 */
  --fs-body: 1rem;
  --fs-body-sm: 0.875rem;
  --fs-caption: 0.75rem;
  --fs-eyebrow: 0.8125rem;
  --fs-stat: clamp(2.25rem, 1.9rem + 1.2vw, 2.75rem);

  /* Spacing (4px base) */
  --space-2xs: 2px; --space-xs: 4px; --space-sm: 8px; --space-md: 16px;
  --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px;
  --space-4xl: 96px; --space-5xl: 128px;
  --section-pad: clamp(56px, 4rem + 3vw, 96px);

  /* Shape & depth */
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 10px; --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 42, 85, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 42, 85, 0.10), 0 1px 3px rgba(0, 42, 85, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 42, 85, 0.16);

  /* Layout */
  --container: 1200px;
  --gutter: 32px;
  --header-h: 76px;

  /* Motion */
  --duration-fast: 120ms; --duration-base: 200ms; --duration-slow: 320ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  color: var(--text-heading);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.14; font-weight: 700; letter-spacing: -0.005em; }
h2 { font-size: var(--fs-h2); line-height: 1.18; font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; }
h4 { font-size: var(--fs-h4); line-height: 1.37; font-weight: 600; }

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

a { color: var(--link); text-underline-offset: 3px; transition: color var(--duration-fast) var(--ease-standard); }
a:hover { color: var(--link-hover); }

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

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

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

.skip-link {
  position: absolute;
  left: var(--space-md); top: -100px;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary); color: var(--on-primary);
  border-radius: var(--radius-md);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-md); color: var(--on-primary); }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); position: relative; }
.section--subtle { background: var(--surface-subtle); }
.section--brand { background: var(--surface-brand); }
.section--inverse { background: var(--surface-inverse); color: var(--text-inverse); }
.section--inverse h2, .section--inverse h3 { color: var(--text-inverse); }

.section-head {
  max-width: 720px;
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p { color: var(--text-muted); font-size: var(--fs-body-lg); line-height: 1.58; }
.section--inverse .section-head p { color: var(--text-inverse-muted); }

/* 4. COMPONENTS ------------------------------------------------------------ */

/* Eyebrow + green rule */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  font-size: var(--fs-eyebrow); line-height: 16px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--accent); flex: none;
}
.section--inverse .eyebrow { color: var(--green-300); }
.eyebrow__sep { color: var(--accent); font-weight: 700; }

/* Buttons — square-shouldered, never pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem; line-height: 20px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard),
              color var(--duration-fast) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); box-shadow: var(--shadow-md); }
.btn--primary:active { background: var(--primary-active); }

.btn--secondary { background: var(--secondary); color: var(--on-secondary); }
.btn--secondary:hover { background: var(--secondary-hover); color: var(--on-secondary); }

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

.btn--outline-inverse { background: transparent; color: var(--text-inverse); border-color: rgba(255, 255, 255, 0.6); }
.btn--outline-inverse:hover { color: var(--text-inverse); border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--whatsapp { background: var(--whatsapp); color: var(--on-whatsapp); }
.btn--whatsapp:hover { background: var(--whatsapp-hover); color: var(--on-whatsapp); box-shadow: var(--shadow-md); }

.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

.section--inverse :focus-visible { outline-color: var(--green-300); }

/* Text link with arrow */
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none; color: var(--link);
}
.text-link svg { width: 18px; height: 18px; transition: transform var(--duration-base) var(--ease-standard); }
.text-link:hover svg { transform: translateX(3px); }

/* Icons */
.icon { width: 24px; height: 24px; flex: none; }
.icobox {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; flex: none;
  border-radius: var(--radius-lg);
  background: var(--pillar-support-bg); color: var(--pillar-support);
}
.icobox .icon { width: 28px; height: 28px; }
.icobox--support { background: var(--pillar-support-bg); color: var(--pillar-support); }
.icobox--solutions { background: var(--pillar-solutions-bg); color: var(--pillar-solutions); }
.icobox--growth { background: var(--pillar-growth-bg); color: var(--pillar-growth); }
.icobox--sm { width: 44px; height: 44px; border-radius: var(--radius-md); }
.icobox--sm .icon { width: 22px; height: 22px; }

/* Tick list */
.ticks { display: grid; gap: var(--space-sm); }
.ticks li {
  position: relative; padding-left: 28px;
  font-size: var(--fs-body-sm); line-height: 22px; color: var(--text);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: var(--radius-sm);
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233d7d16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: box-shadow var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard),
              border-color var(--duration-base) var(--ease-standard);
}

/* Crescent motif (from the logo arc) */
.crescent { position: absolute; pointer-events: none; color: var(--accent); }

/* 5. SECTIONS -------------------------------------------------------------- */

/* Top bar */
.topbar {
  background: var(--surface-inverse);
  color: var(--text-inverse-muted);
  font-size: var(--fs-body-sm);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg);
  min-height: 40px;
}
.topbar__tag { letter-spacing: 0.14em; text-transform: uppercase; font-size: var(--fs-caption); font-weight: 600; }
.topbar__tag span { color: var(--accent); padding-inline: 6px; }
.topbar__links { display: flex; align-items: center; gap: var(--space-lg); }
.topbar a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-inverse); text-decoration: none;
}
.topbar a:hover { color: var(--green-300); }
.topbar .icon { width: 16px; height: 16px; color: var(--green-300); }
.topbar :focus-visible { outline-color: var(--green-300); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--duration-base) var(--ease-standard);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg);
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex: none; }
.brand img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: var(--space-xl); }
.nav__list { display: flex; align-items: center; gap: var(--space-xs); }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 12px;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-base) var(--ease-standard);
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__link[aria-current="true"] { color: var(--primary); }
.nav__actions { display: flex; align-items: center; gap: var(--space-sm); }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); color: var(--primary);
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform var(--duration-base) var(--ease-standard), opacity var(--duration-fast);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* 1 · Hero */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(56px, 3rem + 4vw, 112px) clamp(64px, 3rem + 4vw, 120px);
  min-height: 620px;
  display: flex; align-items: center;
  background: var(--bg);
}
.hero > .container { flex: 1; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 96px); align-items: center;
}
.hero__content { display: grid; gap: var(--space-lg); justify-items: start; }
.hero__title {
  font-size: var(--fs-display); line-height: var(--lh-display);
  letter-spacing: -0.01em;
}
.hero__title em { font-style: normal; color: var(--text); }
.hero__lead { font-size: var(--fs-body-lg); line-height: 1.58; color: var(--text-muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-sm); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl);
  justify-self: stretch;
  padding-top: var(--space-lg); margin-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-size: var(--fs-body-sm); color: var(--text-muted);
}
.hero__meta a { color: var(--text); font-weight: 600; text-decoration: none; }
.hero__meta a:hover { color: var(--primary); }
.hero__meta li { display: inline-flex; align-items: center; gap: var(--space-sm); }
.hero__meta .icon { width: 18px; height: 18px; color: var(--primary); }

/* Feature image fills the right half of the hero, edge to edge */
.hero__visual { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background: var(--blue-100); }
.hero__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__crescent { width: 560px; right: -120px; top: 50%; transform: translateY(-50%); }

.contact-card {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-card__head {
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--surface-inverse); color: var(--text-inverse);
}
.avatar {
  display: grid; place-items: center;
  width: 64px; height: 64px; flex: none;
  border-radius: var(--radius-full);
  background: var(--blue-800);
  border: 2px solid var(--accent);
  font-family: var(--font-display); font-stretch: var(--display-stretch);
  font-weight: 700; font-size: 1.25rem; color: var(--white);
}
.contact-card__name { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.contact-card__role { font-size: var(--fs-body-sm); color: var(--text-inverse-muted); }
.contact-card__body { display: grid; gap: var(--space-md); padding: var(--space-lg); }
.pillar-row { display: flex; align-items: flex-start; gap: var(--space-md); }
.pillar-row__title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: 1.0625rem; line-height: 1.4; font-weight: 600; color: var(--text-heading); }
.pillar-row p { font-size: var(--fs-body-sm); line-height: 22px; color: var(--text-muted); }
.contact-card__foot {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm);
  padding: 0 var(--space-lg) var(--space-lg);
}

/* 2 · Services */
.services__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}
.service-card { display: flex; flex-direction: column; gap: var(--space-md); }
.service-card h3 { font-size: 1.1875rem; line-height: 1.35; }
.service-card p { font-size: var(--fs-body-sm); line-height: 22px; color: var(--text-muted); }
.service-card .ticks { margin-top: auto; padding-top: var(--space-md); border-top: 1px solid var(--border); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-200); }

.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding: var(--space-lg) var(--space-xl);
  background: var(--surface-brand);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
}
.cta-strip h3 { font-size: 1.25rem; }
.cta-strip p { color: var(--text-muted); font-size: var(--fs-body-sm); }
.cta-strip__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* Refurbished computers */
.section--tight { padding-block: clamp(48px, 2.5rem + 3vw, 80px); }
.promo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-xl);
  align-items: center;
  padding: clamp(24px, 3vw, 48px);
  background: var(--green-50);
  border: 1px solid var(--green-300);
  border-radius: var(--radius-lg);
}
.promo__icon { width: 72px; height: 72px; }
.promo__icon .icon { width: 36px; height: 36px; }
.promo__body { display: grid; gap: var(--space-sm); max-width: 640px; }
.promo__body h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.promo__body p:last-child { color: var(--text-muted); }
.promo__actions { display: grid; gap: var(--space-sm); justify-items: center; }
.promo__email { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--fs-body-sm); font-weight: 600; text-decoration: none; }
.promo__email .icon { width: 18px; height: 18px; }
.promo__email:hover { text-decoration: underline; }

/* 3 · About */
.about { overflow: hidden; }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.about__media { position: relative; }
.about__image {
  position: relative; z-index: 1;
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--blue-200);
  box-shadow: var(--shadow-md);
}
.photo-frame {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5;
  display: grid; place-items: center; align-content: center; gap: var(--space-md);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(135deg, rgba(0, 75, 151, 0.05) 0 12px, transparent 12px 24px),
    var(--blue-100);
  border: 1px solid var(--blue-200);
  color: var(--primary);
  text-align: center;
}
.photo-frame .icon { width: 40px; height: 40px; }
.photo-frame__label { font-size: var(--fs-body-sm); font-weight: 600; max-width: 22ch; }
.photo-frame__hint { font-size: var(--fs-caption); color: var(--text-muted); }
.about__badge {
  position: absolute; z-index: 2;
  right: -24px; bottom: 40px;
  display: flex; align-items: center; gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 300px;
}
.about__badge img { width: 48px; height: 48px; }
.about__badge strong { display: block; font-family: var(--font-display); font-stretch: var(--display-stretch); color: var(--text-heading); font-size: 1rem; line-height: 1.3; }
.about__badge span { font-size: var(--fs-body-sm); color: var(--text-muted); line-height: 20px; display: block; }

.about__content { display: grid; gap: var(--space-lg); }
.about__content > p { color: var(--text); }
.about__content > p.lead { font-size: var(--fs-body-lg); line-height: 1.58; color: var(--text-muted); }

.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); margin-top: var(--space-sm); }
.benefit { display: flex; gap: var(--space-md); align-items: flex-start; }
.benefit h3 { font-size: 1.0625rem; line-height: 1.4; margin-bottom: 2px; }
.benefit p { font-size: var(--fs-body-sm); line-height: 22px; color: var(--text-muted); }

.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat { padding: var(--space-lg); display: grid; gap: var(--space-xs); }
.stat + .stat { border-left: 1px solid var(--border); }
.stat__value {
  font-family: var(--font-display); font-stretch: var(--display-stretch);
  font-size: var(--fs-stat); line-height: 1.1; font-weight: 700; color: var(--primary);
}
.stat__value--word { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); line-height: 1.45; }
.stat__label { font-size: var(--fs-body-sm); line-height: 20px; color: var(--text-muted); }

/* 4 · Process */
.process { overflow: hidden; }
.process__crescent { width: 720px; right: -280px; top: -420px; }
.process .container { position: relative; z-index: 1; }
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
  counter-reset: step;
}
.step {
  position: relative;
  display: grid; gap: var(--space-md); align-content: start;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: #0b3561;
  border: 1px solid rgba(189, 208, 228, 0.22);
  border-radius: var(--radius-lg);
  transition: background-color var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard);
}
.step:hover { background: #0f3d6d; border-color: rgba(161, 219, 126, 0.5); }
.step__num {
  font-family: var(--font-display); font-stretch: var(--display-stretch);
  font-size: 2.5rem; line-height: 1; font-weight: 700; color: var(--accent);
}
.step__line {
  position: absolute; top: 52px; right: calc(-1 * var(--space-lg)); width: var(--space-lg);
  height: 2px; background: rgba(161, 219, 126, 0.5);
}
.step:last-child .step__line { display: none; }
.step h3 { font-size: 1.1875rem; line-height: 1.35; }
.step p { font-size: var(--fs-body-sm); line-height: 22px; color: var(--text-inverse-muted); }

.assurance {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xl); align-items: center;
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(189, 208, 228, 0.22);
}
.assurance__list { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); }
.assurance__list li { display: inline-flex; align-items: center; gap: var(--space-sm); font-weight: 500; }
.assurance__list .icon { width: 20px; height: 20px; color: var(--accent); }
.assurance__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* 5 · Contact */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.contact__intro { display: grid; gap: var(--space-md); margin-bottom: var(--space-xl); }
.contact__intro p { color: var(--text-muted); font-size: var(--fs-body-lg); line-height: 1.58; }

.methods { display: grid; gap: var(--space-sm); }
.method {
  display: flex; align-items: center; gap: var(--space-md);
  padding: 14px var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none; color: var(--text);
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
a.method:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); transform: translateY(-1px); color: var(--text); }
.method__text { display: grid; min-width: 0; }
.method__label { font-size: var(--fs-caption); line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.method__value { font-weight: 600; color: var(--text-heading); overflow-wrap: anywhere; }
.method__arrow { margin-left: auto; width: 20px; height: 20px; color: var(--border-strong); transition: color var(--duration-fast), transform var(--duration-base) var(--ease-standard); }
a.method:hover .method__arrow { color: var(--primary); transform: translateX(3px); }
.icobox--wa { background: var(--green-100); color: var(--green-700); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3vw, 40px);
  border-top: 4px solid var(--accent);
}
.form-card__head { display: grid; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.form-card__head p { color: var(--text-muted); font-size: var(--fs-body-sm); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); }
.field { display: grid; gap: 6px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .field__legend { font-size: var(--fs-body-sm); line-height: 20px; font-weight: 600; color: var(--text); }
.field__opt { font-weight: 400; color: var(--text-muted); }
.req { color: var(--error); }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit; font-size: 1rem; line-height: 22px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
  appearance: none;
}
.textarea { min-height: 132px; resize: vertical; }
.select {
  padding-right: 44px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004b97' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
}
.input::placeholder, .textarea::placeholder { color: #767676; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--grey-900); }
.input:focus, .select:focus, .textarea:focus {
  outline: 2px solid var(--focus-ring); outline-offset: 2px;
  border-color: var(--primary);
}
.field__hint { font-size: var(--fs-caption); line-height: 16px; color: var(--text-muted); }
.field__error { display: none; align-items: center; gap: 6px; font-size: 0.8125rem; line-height: 18px; color: var(--error); font-weight: 500; }
.field__error .icon { width: 16px; height: 16px; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--error); background-color: #fffafa; }
.field.is-invalid .field__error { display: flex; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-body-sm); line-height: 22px; color: var(--text); }
.check input {
  appearance: none; flex: none;
  width: 22px; height: 22px; margin: 0;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface) center / 16px no-repeat;
  cursor: pointer;
  transition: background-color var(--duration-fast), border-color var(--duration-fast);
}
.check input:checked {
  background-color: var(--primary); border-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E");
}
.check input:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.field.is-invalid .check input { border-color: var(--error); }

.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form__footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; }
.form__note { font-size: var(--fs-caption); line-height: 16px; color: var(--text-muted); }

.alert {
  grid-column: 1 / -1;
  display: flex; gap: 12px; align-items: flex-start;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--fs-body-sm); line-height: 22px;
}
.alert[hidden] { display: none; }
.alert .icon { width: 22px; height: 22px; }
.alert strong { display: block; }
.alert--success { background: var(--success-bg); color: var(--success); border: 1px solid var(--green-300); }
.alert--success p { color: var(--grey-900); }
.alert--error { background: var(--error-bg); color: var(--error); border: 1px solid #f3b8b1; }

/* Footer */
.site-footer { background: var(--surface-subtle); border-top: 1px solid var(--border); }
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-2xl);
  padding-block: var(--space-3xl) var(--space-2xl);
}
.footer__brand { display: grid; gap: var(--space-md); align-content: start; }
.footer__brand img { width: 240px; }
.footer__brand p { font-size: var(--fs-body-sm); line-height: 22px; color: var(--text-muted); max-width: 34ch; }
.footer__heading {
  font-family: var(--font-body); font-stretch: normal;
  font-size: var(--fs-eyebrow); line-height: 16px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.footer__list { display: grid; gap: 4px; font-size: var(--fs-body-sm); }
.footer__services { grid-column: span 2; }
.footer__list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); }
.footer__list a { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 32px; color: var(--text); text-decoration: none; }
.footer__list a:hover { color: var(--primary); text-decoration: underline; }
.footer__list .icon { width: 16px; height: 16px; color: var(--primary); }
.footer__list address { font-style: normal; color: var(--text); line-height: 22px; padding-top: 5px; }

.social { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.social a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: var(--fs-body-sm); font-weight: 500; color: var(--text); text-decoration: none; background: var(--surface);
}
.social a:hover { border-color: var(--primary); color: var(--primary); }

.footer__bottom { border-top: 1px solid var(--border); }
.footer__bottom .footer__bottom-inner { flex-direction: column; justify-content: center; align-items: center; gap: var(--space-xs); text-align: center; }
.footer__credit a { color: var(--primary); font-weight: 600; text-decoration: none; }
.footer__credit a:hover { color: var(--link-hover); text-decoration: underline; }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap;
  min-height: 64px; padding-block: var(--space-md);
  font-size: var(--fs-caption); line-height: 18px; color: var(--text-muted);
}
.legal { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.legal a { color: var(--text-muted); text-decoration: none; }
.legal a:hover { color: var(--primary); text-decoration: underline; }
.footer__tagline { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.footer__tagline span { color: var(--accent); padding-inline: 6px; }

/* Go to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary); color: var(--on-primary);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard),
              visibility var(--duration-base),
              background-color var(--duration-fast) var(--ease-standard);
}
.to-top.is-visible, .to-top:focus-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-hover); color: var(--on-primary); }
.to-top .icon { width: 24px; height: 24px; }

/* Floating WhatsApp (mobile) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  background: var(--whatsapp); color: var(--on-whatsapp);
  box-shadow: var(--shadow-lg);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { color: var(--on-whatsapp); background: var(--whatsapp-hover); }

/* 6. RESPONSIVE ------------------------------------------------------------ */

/* Wide */
@media (min-width: 1440px) {
  :root { --container: 1280px; }
}

/* Below desktop */
@media (max-width: 1180px) {
  .nav__actions .btn--outline { display: none; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step__line { display: none; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

/* Tablet & mobile navigation */
@media (max-width: 1023px) {
  :root { --header-h: 68px; --gutter: 24px; }
  .brand img { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none;
    flex-direction: column; align-items: stretch; gap: var(--space-md);
    padding: var(--space-md) var(--gutter) var(--space-lg);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: flex; min-height: 52px; padding: 0 var(--space-sm); border-bottom: 1px solid var(--border); font-size: 1.0625rem; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="true"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: var(--space-md); }
  .nav__actions { display: grid; grid-template-columns: 1fr; }
  .nav__actions .btn--outline { display: inline-flex; }

  .hero { display: block; min-height: 0; padding-bottom: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { position: relative; width: 100%; margin-top: var(--space-2xl); aspect-ratio: 580 / 480; max-height: 520px; }
  .hero__crescent { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .about__badge { right: 16px; bottom: -24px; }
  .about__content { padding-top: var(--space-lg); }

  .contact__grid { grid-template-columns: 1fr; }
  .promo { grid-template-columns: auto minmax(0, 1fr); }
  .promo__actions { grid-column: 1 / -1; justify-items: start; }
  .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .assurance { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 639px) {
  :root { --gutter: 16px; }
  .topbar__tag { text-align: center; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: var(--space-md); }
  .topbar__email { display: none !important; }

  .nav__actions { grid-template-columns: 1fr; }
  .nav__actions .btn { width: 100%; }

  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { flex-direction: column; }
  .contact-card__foot { grid-template-columns: 1fr; }

  .services__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .cta-strip { flex-direction: column; align-items: stretch; padding: var(--space-lg); }
  .cta-strip__actions { flex-direction: column; }
  .cta-strip__actions .btn { width: 100%; }

  .benefits { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
  .about__badge { position: relative; right: auto; bottom: auto; margin: -32px 16px 0; max-width: none; }

  .steps { grid-template-columns: 1fr; }
  .assurance__list { flex-direction: column; }
  .assurance__actions { flex-direction: column; }
  .assurance__actions .btn { width: 100%; }

  .methods { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr; gap: var(--space-lg); }
  .promo__actions { justify-items: stretch; text-align: center; }
  .promo__actions .btn { width: 100%; white-space: normal; }
  .promo__email { justify-content: center; }
  .form { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__services { grid-column: auto; }

  .wa-float { display: inline-flex; }
  .to-top { right: 20px; bottom: 84px; }
  .site-footer { padding-bottom: 72px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover, .service-card:hover, a.method:hover { transform: none; }
}
