/* =============================================================
   Jazz Hipster — Phase 1 Prototype Stylesheet (Visual Refresh)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---- Design tokens ---- */
:root {
  --color-bg: #ffffff;
  --color-bg-muted: #f6f6f4;
  --color-bg-dark: #0d1014;
  --color-text: #181818;
  --color-text-muted: #585858;
  --color-text-on-dark: #f0f0f0;
  --color-text-muted-on-dark: #9fa3aa;
  --color-accent: #b9132a;
  --color-accent-dark: #8f0d20;
  --color-border: #e8e8e6;
  --color-border-on-dark: #272b31;

  --font-sans: "Inter", "Helvetica Neue", "Arial", "Noto Sans TC", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --font-display: "Inter", "Helvetica Neue", "Arial", "Noto Sans TC", sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --container-max: 1200px;
  --container-pad: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

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

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

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

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

.center { text-align: center; }

/* =============================================================
   Site Header
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0a0a0a;
  border-bottom: 1px solid #1c1c1c;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 72px;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-on-dark);
  flex: 0 0 auto;
}
.site-header__logo-image {
  width: 188px;
  height: auto;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}
.site-nav__list {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1.3vw, 26px);
}
.site-nav__item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.site-nav__item--has-submenu > a {
  padding-right: 2px;
}
.site-header .site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: #c8cace;
  padding: 24px 0;
  position: relative;
  transition: color 0.15s ease;
}
.site-header .site-nav a:hover {
  color: #fff;
}
.site-header .site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}
.site-header .site-nav a[aria-current="page"] {
  color: #fff;
}
.site-header .site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}
.site-nav__caret {
  width: 8px;
  height: 5px;
  flex: 0 0 auto;
  opacity: 0.6;
}
.site-nav__submenu {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 240px;
  background: #b9132a;
  border-top: 2px solid #d53249;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.site-nav:not(.site-nav--utility) .site-nav__item:nth-last-child(-n+3) > .site-nav__submenu {
  left: auto;
  right: 0;
}
.site-nav__submenu li {
  display: block;
}
.site-header .site-nav__submenu a {
  display: block;
  padding: 10px 18px;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.site-header .site-nav__submenu a::after {
  display: none;
}
.site-header .site-nav__submenu a:hover {
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
}
.site-nav__item:hover > .site-nav__submenu,
.site-nav__item:focus-within > .site-nav__submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav--utility {
  flex: 0 0 auto;
}
.site-nav--utility .site-nav__list {
  gap: 0;
}
.site-nav--utility .site-nav__submenu {
  left: auto;
  right: 0;
  min-width: 160px;
}

.site-header__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 0 0 auto;
}

/* Prototype tabs */
.proto-tabs {
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
  font-size: 12.5px;
}
.proto-tabs__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.proto-tabs__label {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-size: 10.5px;
}
.proto-tabs nav {
  display: flex;
  gap: var(--space-5);
}
.proto-tabs__inner--simple {
  justify-content: flex-start;
}
.proto-tab {
  color: var(--color-text-muted);
  font-weight: 500;
}
.proto-tab:hover { color: var(--color-accent); }
.proto-tab--current {
  color: var(--color-text);
  font-weight: 600;
}

/* =============================================================
   Typography
   ============================================================= */
.display {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-5);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.display--md {
  font-size: clamp(30px, 3.8vw, 50px);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 var(--space-3);
}
.eyebrow--light { color: #f08a96; }

.lede {
  font-size: clamp(16px, 1.2vw, 18.5px);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 0 var(--space-6);
}

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

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn--sm { padding: 9px 16px; font-size: 13.5px; }

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(185,19,42,0.28);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(24,24,24,0.4);
}
.btn--ghost:hover {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

.btn--ghost-on-dark {
  color: rgba(240,240,240,0.85);
  border-color: rgba(240,240,240,0.3);
}
.btn--ghost-on-dark:hover {
  background: rgba(240,240,240,0.12);
  color: #fff;
  border-color: rgba(240,240,240,0.6);
}

.cta-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.cta-row--banner {
  justify-content: flex-start;
}
@media (min-width: 900px) {
  .cta-row--banner { justify-content: flex-end; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover { color: var(--color-accent-dark); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #f9c6cc; }
.link-arrow--light:hover { color: #fff; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-9) 0;
  background: var(--color-bg);
}
.hero--compact {
  padding: var(--space-8) 0 var(--space-7);
  border-bottom: 1px solid var(--color-border);
}
.hero--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}
.hero--dark .lede { color: var(--color-text-muted-on-dark); }
.hero--dark .eyebrow { color: #f08a96; }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero__content--compact { max-width: 740px; }

/* =============================================================
   Sections
   ============================================================= */
.section { padding: var(--space-9) 0; }
.section--muted { background: var(--color-bg-muted); }
.section--news {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.section--news .section__header::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin: var(--space-4) auto 0;
  background: var(--color-accent);
}
.section--news .card__media {
  border-bottom: 3px solid var(--color-accent);
}
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}
.section--dark .section__title,
.section--dark h3,
.section--dark h4,
.section--dark p { color: var(--color-text-on-dark); }
.section--dark .card__text { color: var(--color-text-muted-on-dark); }

.section__header {
  max-width: 680px;
  margin: 0 auto var(--space-7);
  text-align: center;
}
.section__header--left { text-align: left; margin-left: 0; }
.section__header--light { color: var(--color-text-on-dark); }
.section__intro {
  color: var(--color-text-muted);
  font-size: 16.5px;
  line-height: 1.65;
}

/* =============================================================
   Card grid
   ============================================================= */
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 720px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #ddd;
}

.card--dark {
  background: #14171d;
  border-color: var(--color-border-on-dark);
  color: var(--color-text-on-dark);
}
.card--dark:hover {
  border-color: #3a3e46;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card--reason {
  padding: var(--space-4);
  background: #fff;
}
.card--reason:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__media {
  aspect-ratio: 16 / 9;
  background: #ebebea;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--color-border);
  font-family: "Courier New", monospace;
}
.card__image {
  width: 100%;
  min-height: 0;
  object-fit: cover;
  padding: 0;
  border-radius: 0;
  font-family: inherit;
}
.card--dark .card__media {
  background: #1c1f26;
  color: #5a5e68;
  border-bottom-color: var(--color-border-on-dark);
}

.card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-2);
}
.card--dark .card__eyebrow { color: #f08a96; }
.card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.card__text {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}
#production-readiness .card__text {
  flex: 0 0 auto;
}
.page--solutions .solution-card-grid {
  gap: 30px;
  align-items: stretch;
}

.page--solutions .solution-card-grid.card-grid--2 {
  grid-template-columns: 1fr;
}

.page--solutions .solution-card-grid .card--detail {
  min-width: 0;
  border-radius: 8px;
}

.page--solutions .solution-card-grid .card__media {
  min-height: 0;
  height: clamp(190px, 18vw, 235px);
  aspect-ratio: auto;
  border-radius: 0;
}

.page--solutions .solution-card-grid .card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 30px;
}

.page--solutions .solution-card-grid .card__eyebrow {
  margin-bottom: 10px;
}

.page--solutions .solution-card-grid .card__title {
  max-width: 440px;
  min-height: 0;
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.22;
}

.page--solutions .solution-card-grid .card__text {
  flex: 0 0 auto;
  min-height: 0;
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.62;
}

.page--solutions .solution-card-grid .bullets {
  margin-bottom: 24px;
}

.page--solutions .solution-card-grid .bullets--compact li {
  padding: 7px 0 7px 22px;
  font-size: 14.5px;
  line-height: 1.52;
}

.page--solutions .solution-card-grid .bullets--compact li::before {
  top: 17px;
}

.page--solutions .solution-card-grid .link-arrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-self: flex-end;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  text-align: right;
}

.page--solutions .solution-card-grid .link-arrow::after {
  flex: 0 0 auto;
}

@media (min-width: 900px) {
  .page--solutions .solution-card-grid.card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }
}

@media (max-width: 719px) {
  .page--solutions .solution-card-grid {
    gap: 22px;
  }

  .page--solutions .solution-card-grid .card__media {
    height: 178px;
  }

  .page--solutions .solution-card-grid .card__body {
    padding: 22px;
  }

  .page--solutions .solution-card-grid .card__title {
    font-size: 20px;
  }
}

/* =============================================================
   Split (left image + right text, or flipped)
   ============================================================= */
.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split--image-right .split__body { order: 1; }
  .split--image-right .split__media { order: 2; }
}

.split__media { min-height: 360px; }
.split__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
}
.split__image--simulation {
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  padding: var(--space-3);
  background: #fff;
  border: 1px solid var(--color-border);
}
.split__body { max-width: 540px; }

/* =============================================================
   Stat strip
   ============================================================= */
.stat-strip {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 720px) {
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .stat-strip { grid-template-columns: repeat(6, 1fr); }
  .stat-strip--5 { grid-template-columns: repeat(5, 1fr); }
}
.stat { display: flex; flex-direction: column; gap: 5px; }
.stat__value {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  line-height: 1;
}
.stat__label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.certs {
  margin-top: var(--space-6);
  font-size: 13.5px;
  color: var(--color-text-muted);
  text-align: center;
}
.certs em { color: var(--color-accent); font-style: normal; }

/* =============================================================
   Bullets / feature lists
   ============================================================= */
.bullets {
  margin: 0 0 var(--space-5);
}
.bullets li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.6;
  font-size: 15px;
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 21px;
  width: 9px; height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}
.bullets--compact li {
  padding: 6px 0 6px 20px;
  border-bottom: 0;
  font-size: 14px;
}
.bullets--compact li::before { top: 14px; width: 8px; }

.feature-list {
  display: grid;
  gap: var(--space-4);
}
.feature-list h4 {
  font-size: 15.5px;
  margin: 0 0 4px;
  color: var(--color-text);
  font-weight: 700;
}
.feature-list p { margin: 0; color: var(--color-text-muted); font-size: 14.5px; }

/* =============================================================
   Two column / pillar grid
   ============================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
.two-col__item {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.two-col__item:hover {
  border-color: #d8d8d6;
  box-shadow: var(--shadow-md);
}
.solutions-platform-visual {
  min-height: 300px;
  align-self: stretch;
}
.engagement-card .card__body {
  gap: var(--space-2);
}
.engagement-icon,
.capability__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(185, 19, 42, 0.18);
  border-radius: 50%;
  background: rgba(185, 19, 42, 0.055);
  color: var(--color-accent);
}
.engagement-icon svg,
.capability__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.engagement-card .card__title {
  margin-bottom: var(--space-2);
}
.engagement-card .card__text {
  flex: 0 0 auto;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
}
.pillar {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  position: relative;
  transition: border-top-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pillar:hover {
  border-top-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pillar__index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.pillar h3 {
  font-size: 19px;
  margin: 0 0 var(--space-3);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pillar p { color: var(--color-text-muted); margin: 0; font-size: 15px; line-height: 1.6; }

/* Capability grid */
.capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
@media (min-width: 720px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .capability-grid { grid-template-columns: repeat(3, 1fr); }
}
.capability {
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.capability:hover {
  box-shadow: var(--shadow-md);
  border-color: #ddd;
}
.capability__icon {
  width: 42px;
  height: 42px;
  margin-bottom: var(--space-4);
  border-color: rgba(24, 24, 24, 0.12);
  background: #f7f4f1;
  color: var(--color-text);
}
.capability__icon svg {
  width: 21px;
  height: 21px;
}
.capability h4 {
  font-size: 15px;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.capability p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  counter-reset: step;
  margin: 0;
}
@media (min-width: 900px) {
  .process {
    grid-template-columns: repeat(5, 1fr);
    position: relative;
  }
  .process::before {
    content: "";
    position: absolute;
    top: 24px; left: 5%; right: 5%;
    height: 1px;
    background: var(--color-border);
  }
}
.process li {
  position: relative;
  padding: var(--space-3) var(--space-3) 0;
  list-style: none;
  background: transparent;
}
.process__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: var(--space-3);
  box-shadow: 0 2px 8px rgba(185,19,42,0.28);
}
.process h4 {
  margin: 0 0 5px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.process p { margin: 0; color: var(--color-text-muted); font-size: 13.5px; line-height: 1.5; }

/* =============================================================
   CTA banner
   ============================================================= */
.cta-banner {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border-on-dark);
  border-bottom: 1px solid var(--color-border-on-dark);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(185,19,42,0.12), transparent 60%);
  pointer-events: none;
}
.cta-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) {
  .cta-banner__inner { grid-template-columns: 2fr 1fr; gap: var(--space-7); }
}
.cta-banner__title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--color-text-on-dark);
  text-wrap: balance;
}
.cta-banner__text {
  color: var(--color-text-muted-on-dark);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.contact-direct {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-7) 0;
  border-top: 1px solid var(--color-border-on-dark);
  border-bottom: 1px solid var(--color-border-on-dark);
}
.contact-direct__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 900px) {
  .contact-direct__inner { grid-template-columns: 2fr 1fr; gap: var(--space-7); }
}
.contact-direct__title {
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  line-height: 1.2;
  color: var(--color-text-on-dark);
}
.contact-direct__text {
  color: var(--color-text-muted-on-dark);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* =============================================================
   Contact form
   ============================================================= */
.form-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  text-transform: uppercase;
}
.field em { color: var(--color-accent); font-style: normal; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14.5px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fafafa;
  color: var(--color-text);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #b0b0b0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(185, 19, 42, 0.10);
}

.check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--color-text-muted);
}
.check input { width: 17px; height: 17px; accent-color: var(--color-accent); flex: 0 0 auto; }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
}
.form__privacy {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-muted);
  max-width: 420px;
  line-height: 1.5;
}

/* =============================================================
   Locations
   ============================================================= */
.locations {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 800px) {
  .locations { grid-template-columns: repeat(3, 1fr); }
}
.location {
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: box-shadow 0.2s ease;
}
.location:hover {
  box-shadow: var(--shadow-md);
}
.location h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 8px;
  font-weight: 700;
}
.location__name {
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}
.location address {
  font-style: normal;
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-3);
  overflow-wrap: anywhere;
}
.location__role {
  font-size: 12.5px;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0;
}
.extra-coverage {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-muted);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.section--location {
  background: #fff;
}
.section--location .location-header {
  max-width: 680px;
  margin: 0 auto var(--space-7);
}
.section--location .location-header::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin: var(--space-4) auto 0;
  background: var(--color-accent);
}
.section--location .locations {
  gap: var(--space-7);
}
.section--location .location {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.section--location .location:hover {
  box-shadow: none;
}
.section--location .location h4 {
  display: inline-block;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.section--location .location__name {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.section--location .location address {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.section--location .location a {
  color: var(--color-accent);
}
.section--location .location a:hover {
  color: var(--color-accent-dark);
}

/* =============================================================
   Trust strip
   ============================================================= */
.trust-strip {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border-on-dark);
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 13.5px;
  color: var(--color-text-muted-on-dark);
}
.trust-strip__inner > span {
  padding: 6px var(--space-5);
  border-right: 1px solid var(--color-border-on-dark);
}
.trust-strip__inner > span:last-child {
  border-right: none;
}
.trust-strip strong { color: var(--color-text-on-dark); font-weight: 600; }

/* =============================================================
   Placeholder images
   ============================================================= */
.placeholder-image {
  background:
    repeating-linear-gradient(
      45deg,
      #f0f0ee,
      #f0f0ee 10px,
      #eaeae8 10px,
      #eaeae8 20px
    );
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  min-height: 160px;
  text-align: center;
  padding: var(--space-4);
  font-family: "Courier New", monospace;
}
.placeholder-image--hero {
  position: absolute;
  inset: 0;
  min-height: unset;
  border-radius: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(185,19,42,0.22), transparent 50%),
    repeating-linear-gradient(
      135deg,
      #111620,
      #111620 11px,
      #202633 11px,
      #202633 22px
    );
  color: rgba(255,255,255,0.34);
}
.page--contact .placeholder-image--hero,
.page--solutions .placeholder-image--hero {
  color: transparent;
}
.placeholder-image--tall { min-height: 360px; }
.placeholder-image--dark {
  background:
    repeating-linear-gradient(
      45deg,
      #191c22,
      #191c22 10px,
      #1f2229 10px,
      #1f2229 20px
    );
  color: #4e525c;
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: #080a0d;
  color: var(--color-text-muted-on-dark);
  padding-top: var(--space-8);
  font-size: 13.5px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border-on-dark);
}
@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: var(--space-6);
  }
}

.site-footer h5 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 var(--space-4);
  font-weight: 700;
}
.site-footer ul li {
  padding: 5px 0;
}
.site-footer a {
  color: var(--color-text-muted-on-dark);
  transition: color 0.15s ease;
}
.site-footer a:hover { color: #fff; }

.site-footer__logo {
  display: inline-flex;
  margin-bottom: var(--space-4);
}
.site-footer__logo-image {
  width: 168px;
  height: auto;
  opacity: 0.9;
}
.site-footer__col--brand p {
  font-size: 13px;
  line-height: 1.6;
}

.site-footer__contact {
  margin-top: var(--space-3);
  font-size: 13px;
  line-height: 1.8;
}
.footer-contact-icons {
  display: flex;
  gap: 8px;
  margin: 0 0 var(--space-4);
}
.footer-contact-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
}
.site-footer .footer-contact-icon {
  color: #fff;
}
.footer-contact-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.footer-contact-icon:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-1px);
}

.site-footer__legal {
  padding: var(--space-4) 0;
}
.site-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 12px;
  color: #555a63;
}
.lang-switch a { color: #555a63; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { color: var(--color-text-on-dark); font-weight: 600; }

/* =============================================================
   Page spacer between pages (prototype only)
   ============================================================= */
.page + .page { border-top: 6px solid var(--color-bg-muted); }

/* =============================================================
   Responsive tweaks
   ============================================================= */
@media (max-width: 720px) {
  .site-nav { display: none; }
  .site-header__inner { gap: var(--space-3); }
  .site-header__logo-image { width: 152px; }
  .section { padding: var(--space-8) 0; }
  .hero { padding: var(--space-8) 0; }
  .cta-banner__inner { text-align: left; }
  .stat-strip { padding: var(--space-5) 0; }
  .trust-strip__inner > span {
    border-right: none;
    border-bottom: 1px solid var(--color-border-on-dark);
    width: 100%;
    text-align: center;
    padding: var(--space-3) 0;
  }
  .trust-strip__inner > span:last-child { border-bottom: none; }
}
