/* Eagle Vision IT — Components
   Buttons, cards, nav, badges, forms, accordion, etc. */

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8125rem var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

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

/* Primary — red fill */
.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background-color: #c8281f;
  border-color: #c8281f;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(232, 52, 42, 0.35);
}

/* Outline — white border (on dark backgrounds) */
.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-white);
}

/* Outline dark — for light backgrounds */
.btn--outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Ghost — text only. Text-safe blue: this button is 14px on white, so the
   raw brand blue's 2.83:1 would fail AA. */
.btn--ghost {
  background-color: transparent;
  color: var(--color-secondary-text);
  border-color: transparent;
  padding-inline: var(--space-3);
}
.btn--ghost:hover { color: var(--color-accent); }

/* Sizes */
.btn--lg {
  padding: 1rem var(--space-8);
  font-size: var(--text-base);
}
.btn--sm {
  padding: 0.5rem var(--space-4);
  font-size: var(--text-xs);
}

/* ── Button group ────────────────────────────────────── */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ── Badge / Tag ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-full);
  background-color: rgba(29, 161, 242, 0.12);
  /* 12px text on the tint above (#E4F4FD): brand blue is 2.51:1 there,
     the text-safe blue is 4.62:1. */
  color: var(--color-secondary-text);
  border: 1px solid rgba(29, 161, 242, 0.2);
}

.badge--red {
  background-color: rgba(232, 52, 42, 0.1);
  color: var(--color-accent);
  border-color: rgba(232, 52, 42, 0.2);
}

.badge--green {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.2);
}

/* ── Cards ───────────────────────────────────────────── */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

/* Card-link overlay. The <a> wraps only the card's heading, so its
   accessible name is just the title, but the ::after stretches over the
   whole card so the entire surface stays clickable. This replaces wrapping
   the card in an <a>, which made the link's visible text the full card copy
   and so could never satisfy WCAG 2.5.3 Label in Name.
   Requires position:relative on the .card — set inline by the generator. */
.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* Focus lands on the title text by default, which gives no hint that the
   whole card is the target. Outline the overlay instead. */
.card-link:focus-visible {
  outline: none;
}

.card-link:focus-visible::after {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-xl);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background-color: rgba(29, 161, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-secondary);
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.card__icon--red {
  background-color: rgba(232, 52, 42, 0.1);
  color: var(--color-accent);
}

.card__icon--navy {
  background-color: rgba(10, 22, 40, 0.07);
  color: var(--color-primary);
}

/* Category tints for the six service groups. These were previously written
   as inline style attributes repeated across pages; same values, now named.
   No contrast minimum applies: the icon itself is an aria-hidden emoji, so
   this is decoration under WCAG 1.4.3, and these hues deliberately stay off
   any text (see the CTA note in .build-services.js). */
.card__icon--purple {
  background-color: rgba(156, 68, 239, 0.1);
  color: #9c44ef;
}

.card__icon--green {
  background-color: rgba(16, 163, 74, 0.1);
  color: #10a34a;
}

.card__icon--amber {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.card__icon--teal {
  background-color: rgba(14, 165, 164, 0.1);
  color: #0ea5a4;
}

.card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card p {
  font-size: var(--text-sm);
  max-width: none;
}

/* Product card variant */
.card--product {
  border-top: 3px solid var(--color-accent);
}

/* ── Service card (expandable) ───────────────────────── */
.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.service-card:hover { box-shadow: var(--shadow-md); }

.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  cursor: pointer;
  user-select: none;
}

.service-card__header:focus,
.service-card__header:focus-visible {
  outline: none;
}

.service-card__header-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

.service-card__subtitle {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

.service-card__toggle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.service-card.is-open .service-card__toggle {
  background-color: var(--color-accent);
  color: white;
  transform: rotate(45deg);
}

.service-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.service-card.is-open .service-card__body {
  max-height: 900px;
}

/* The max-height pair above is a fallback. A fixed pixel cap silently clips
   content once a panel outgrows it — and these panels now hold eight to ten
   bullets plus a note, which on a one-column mobile layout gets close. So
   where fr-unit row sizing is available the collapse is driven by the
   content instead, and the cap is removed.
   `0fr` has parsed in grid-template-rows since grid shipped, so this query
   passes in older engines too; there the panel still opens and closes
   correctly, just without interpolation. Nothing is ever hidden. */
@supports (grid-template-rows: 0fr) {
  .service-card__body {
    display: grid;
    grid-template-rows: 0fr;
    max-height: none;
    transition: grid-template-rows var(--transition-slow) ease;
  }

  .service-card.is-open .service-card__body {
    grid-template-rows: 1fr;
    max-height: none;
  }

  /* Both declarations are required for the row to collapse to zero — a
     `0fr` track still takes an automatic minimum, which is the child's
     min-content height until these override it.
     This targets the single .service-card__panel wrapper rather than
     `> *` on purpose: `0fr` sizes only the tracks it names, so a body with
     two children put the second one in an implicit auto row and left it
     visible while closed. One wrapper means one row, whatever goes in it. */
  .service-card__panel {
    overflow: hidden;
    min-height: 0;
  }
}

.service-card__list {
  padding: 0 var(--space-8) var(--space-6);
  list-style: none;
  padding-left: var(--space-8);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-2) var(--space-6);
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--leading-snug);
}

.service-card__list li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* The custom-quote route beneath the three retainer tiers. Styled as a
   sibling of the pricing cards but intentionally full width rather than a
   fourth column, so it doesn't read as another monthly price point. */
.pricing-custom {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  border-top: 3px solid var(--color-primary);
}

.pricing-custom > div {
  max-width: 62ch;
}

.pricing-custom h3 {
  margin: var(--space-2) 0 var(--space-3);
}

.pricing-custom p {
  margin: 0;
  font-size: var(--text-sm);
}

/* "When this is the right choice / when it isn't" note under a service
   group. Deliberately plain and unstyled-looking: it is there to set
   expectations honestly, not to sell, so it should not read as a callout. */
.service-card__note {
  margin: 0 var(--space-8) var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  /* Not --color-muted: this sits on white inside the card, and the note is
     the one place in the panel carrying a full sentence worth reading. */
  color: var(--color-text);
}

.service-card__note strong {
  font-weight: var(--weight-semibold);
}

/* ── Navigation ──────────────────────────────────────── */
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.nav-logo span {
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-nav > .container > .nav-inner > nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu > li {
  display: flex;
  align-items: center;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-menu a.active {
  color: var(--color-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.nav-phone:hover { color: var(--color-white); }

/* ── Services dropdown ───────────────────────────────────
   "Services" stays a real link to the hub, so the keyboard and
   screen-reader path to /services/ is never lost. The submenu is
   a disclosure opened by :hover and :focus-within — tabbing into
   the link reveals it, so it works without JS. Escape-to-close is
   added in main.js on top of this. */
.has-dropdown {
  position: relative;
}

.nav-dropdown-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.nav-caret {
  display: block;
  width: 0.55em;
  height: 0.55em;
  flex-shrink: 0;
  /* Clip-path triangle — visual center matches the flex box center
     (unlike border triangles, which sit high in their box). */
  background-color: currentColor;
  clip-path: polygon(50% 78%, 0 22%, 100% 22%);
  opacity: 0.75;
  transform-origin: 50% 50%;
  transition: transform var(--transition-fast);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 0;
  min-width: 290px;
  margin: 0;
  padding: var(--space-2);
  list-style: none;
  background-color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast),
              visibility var(--transition-fast);
  z-index: calc(var(--z-nav) + 1);
}

/* Bridges the gap between the link and the panel so the pointer
   can travel into the menu without it closing. */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 0;
  right: 0;
  height: var(--space-3);
}

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

.has-dropdown:hover > .nav-dropdown-link .nav-caret,
.has-dropdown:focus-within > .nav-dropdown-link .nav-caret {
  transform: rotate(180deg);
}

.site-nav .nav-dropdown a {
  display: block;
  white-space: normal;
  line-height: var(--leading-snug);
  padding: var(--space-3);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 44px;
  flex-shrink: 0;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* WCAG 2.5.8 wants a 44x44 target. Height can simply be 44px — the bar
   is 72px tall and cross-axis growth is free. Width cannot: at 375px the
   row (logo + actions + toggle + gaps) has ~1px of slack, so a 44px-wide
   box would be flex-shrunk and drag the bars down with it. This overlay
   widens the hit area without taking layout space; clicks on a
   pseudo-element still land on the button. It overhangs 6px each side
   into the container's 16px padding, so it adds no page overflow. */
.nav-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 100%;
  transform: translateX(-50%);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ───────────────────────────────── */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  padding: var(--space-6) var(--container-padding) var(--space-8);
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  z-index: calc(var(--z-nav) - 1);
  border-top: 1px solid rgba(255,255,255,0.1);
}

body.admin-bar .nav-drawer {
  top: calc(var(--nav-height) + 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .nav-drawer {
    top: calc(var(--nav-height) + 46px);
  }
}

.nav-drawer.is-open { display: block; }

.nav-drawer .nav-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: var(--space-6);
}

/* The column flex container is align-items:flex-start, so each li
   shrink-wraps its text and the a's width:100% below resolves against
   that narrow box — leaving ragged dividers and text-width tap targets.
   Stretch the li so rows span the drawer as intended. */
.nav-drawer .nav-menu li {
  width: 100%;
}

.nav-drawer .nav-menu a {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-radius: 0;
}

/* The drawer flattens the Services dropdown: the hub link is the
   group header and its seven categories are indented beneath it,
   so mobile reaches every destination the desktop menu offers. */
.nav-drawer .drawer-group {
  font-weight: var(--weight-semibold);
  color: var(--color-white);
}

.nav-drawer .drawer-sub {
  padding-left: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
}

.nav-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.nav-drawer__actions .btn {
  text-align: center;
  justify-content: center;
}

/* ── Process steps ───────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  margin: 0 auto var(--space-5);
  border: 3px solid var(--color-accent);
  position: relative;
}

.process-step:nth-child(2) .process-step__number { border-color: var(--color-secondary); }
.process-step:nth-child(3) .process-step__number { border-color: var(--color-accent); }
.process-step:nth-child(4) .process-step__number { border-color: var(--color-secondary); }

.process-step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--text-sm);
  max-width: none;
}

/* ── Trust strip ─────────────────────────────────────── */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: var(--space-6) 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.trust-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background-color: rgba(232, 52, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.trust-item__label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  font-weight: var(--weight-regular);
  display: block;
}

/* ── Portfolio grid ──────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.portfolio-card {
  position: relative;
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
}

a.portfolio-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__tag {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.portfolio-card__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-white);
}

/* Portfolio placeholder (before images) */
.portfolio-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  /* Not --color-muted (#667085). This sits on --color-surface-2 (#EEF1F6),
     the darkest background the site puts body text on, where #667085 is
     4.39:1 and just misses AA. Darkened 2% to clear it at 4.60:1. The token
     itself is left alone — it passes on white and on --color-surface. */
  color: #636D80;
  font-size: var(--text-sm);
}

.portfolio-card__placeholder-domain {
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  color: var(--color-primary);
}

/* ── Problem-Solution table ───────────────────────────── */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.problem-col { background-color: var(--color-surface); }
.solution-col { background-color: var(--color-primary); }

/* The two columns are parallel lists, not tabular data. They previously
   carried role="table"/"columnheader"/"row", which is invalid here —
   a table needs rows as children and a row needs a table parent, so
   every one of those roles failed its ARIA contract. Marked up as real
   lists instead; this reset keeps the original appearance. */
.ps-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-header {
  margin: 0;
  padding: var(--space-4) var(--space-6);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.problem-col .ps-header {
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
}

.solution-col .ps-header {
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ps-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.solution-col .ps-row {
  border-bottom-color: rgba(255,255,255,0.07);
}

.ps-row:last-child { border-bottom: none; }

.ps-icon {
  font-size: var(--text-base);
  flex-shrink: 0;
  margin-top: 2px;
}

.ps-text {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

.problem-col .ps-text { color: var(--color-text); }
.solution-col .ps-text { color: rgba(255,255,255,0.85); }

/* ── FAQ accordion ───────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  line-height: var(--leading-snug);
}

.faq-question:hover { background-color: var(--color-surface); }

.faq-question:focus,
.faq-question:focus-visible {
  outline: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-primary);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.faq-item.is-open .faq-icon {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.faq-item.is-open .faq-answer { max-height: 500px; }

.faq-answer p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: none;
}

/* ── Contact form ────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--color-text);
  background-color: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.15);
}

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

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

/* ── Footer columns ──────────────────────────────────────
   These are h3, not h4: the last heading before the footer is an h2
   on every page, so h4 skipped a level and failed heading-order. The
   visual size is set here anyway, so the tag change is invisible. */
.footer-col h3 {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: var(--color-white); }

.footer-brand-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--leading-relaxed);
  margin-block: var(--space-4) var(--space-6);
  max-width: 30ch;
}

.social-links {
  display: flex;
  gap: var(--space-3);
}

/* The glyphs ("f", "in", "ig", "X") are brand marks standing in for real
   icons, not text labels — a speech-input user says "Instagram", not
   "ig". So the accessible name is the platform name (aria-label) and the
   glyph is rendered from a data attribute instead of a DOM text node.
   Keeping it out of the DOM text is what makes it a decorative mark
   rather than a visible label that contradicts the name (WCAG 2.5.3). */
.social-link::before {
  content: attr(data-glyph);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
  line-height: var(--leading-snug);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover { color: var(--color-white); }

.footer-contact-icon {
  font-size: var(--text-base);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Hero visuals ────────────────────────────────────── */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 52, 42, 0.15) 0%, transparent 70%);
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background-color: rgba(232, 52, 42, 0.12);
  border: 1px solid rgba(232, 52, 42, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-lg));
  color: rgba(255, 255, 255, 0.7);
  max-width: 54ch;
  margin-bottom: var(--space-10);
}

/* Location / delivery / longevity line under the hero CTAs. A list rather
   than a sentence with typed separators: the "·" lives in a ::before, so the
   DOM text stays three clean phrases for screen readers while still reading
   as one line visually. */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-8);
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.hero__meta li + li::before {
  content: '·';
  margin-right: var(--space-3);
  color: rgba(255, 255, 255, 0.35);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-number {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-white);
  line-height: 1;
  display: block;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--space-1);
  display: block;
}

/* ── Section CTA block ───────────────────────────────── */
.cta-section {
  text-align: center;
  background-color: var(--color-primary);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--container-padding);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 52, 42, 0.12) 0%, transparent 65%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 { color: var(--color-white); }
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-lg);
  margin: var(--space-4) auto var(--space-8);
  max-width: 56ch;
}

/* ── Checklist ───────────────────────────────────────── */
.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-6);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--leading-snug);
}

.checklist li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: var(--weight-extrabold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Benefit number cards ────────────────────────────── */
.benefit-card {
  padding: var(--space-8);
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.benefit-card__num {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: rgba(232, 52, 42, 0.12);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.04em;
}

.benefit-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.benefit-card p {
  font-size: var(--text-sm);
  max-width: none;
}

/* ── Industry tags ───────────────────────────────────── */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.industry-tag {
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.industry-tag:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
