/* Nawlogic website
   Warm ivory base, ink text, teal + orange accents (from the Nawlogic identity). */

:root {
  --bg: #f8f4ee;
  --surface: #fffcf7;
  --sand: #eee5d8;
  --sand-2: #eae1d5;
  --line: #ded5ca;
  --field: #f4efe8;

  --ink: #0f172a;
  --ink-2: #1b283c;
  --ink-line: #324156;
  --slate: #2b374d;
  --muted: #655f59;

  --teal: #0ea5a4;
  --teal-ink: #076c6b;
  --teal-soft: #dff3ef;
  --teal-soft-line: #bbddd6;
  --teal-light: #76d5c7;
  --orange: #f97316;

  --on-dark-muted: #c3ccd9;
  --error: #b42318;

  --radius: 12px;
  --radius-sm: 8px;
  --lift: 6px 6px 0 var(--sand-2);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

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

.icon {
  width: 24px; height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 238, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { flex: none; border-radius: 4px; }
.brand img { height: 32px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(32px, 6vw, 120px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--ink); }
.nav-link .icon { width: 16px; height: 16px; transition: transform 0.2s; }

.nav-link.is-active {
  color: var(--ink);
  font-weight: 600;
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}
.menu-toggle.is-active::after { right: 20px; }

.has-menu { position: relative; }

.nav-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 380px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
/* Invisible bridge so the menu stays open while the pointer moves down to it. */
.nav-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -18px;
  height: 18px;
}

.has-menu.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-menu.is-open .menu-toggle .icon { transform: rotate(180deg); }

@media (hover: hover) and (min-width: 961px) {
  .has-menu:hover .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.menu-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.menu-item:hover { background: var(--bg); }
.menu-item .icon { color: var(--teal-ink); margin-top: 2px; }
.menu-item > span { display: block; }
.menu-item strong { display: block; color: var(--ink); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.menu-item strong + span { display: block; color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
.menu-item[aria-current="page"] { background: var(--teal-soft); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn .icon { width: 20px; height: 20px; transition: transform 0.2s; }
.btn:hover .icon { transform: translate(2px, -2px); }

.btn-dark { min-width: 232px; background: var(--ink); color: #fff; }
.btn-dark .icon { color: var(--orange); }
.btn-dark:hover { background: #1d2943; }

.btn-light {
  min-width: 220px;
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-light .icon { color: var(--teal-ink); }
.btn-light:hover { border-color: var(--teal); }

.btn-sm { min-width: 150px; min-height: 44px; padding: 10px 14px; gap: 32px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: progress; }

/* ---------- Shared type ---------- */

.crumbs { padding-top: 18px; font-size: 0.75rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow--rule::before {
  content: "";
  flex: none;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.h1 {
  margin-top: 22px;
  font-size: clamp(2.25rem, 1.1rem + 2.75vw, 3.375rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.h1 .line,
.lead .line { display: block; }

.lead {
  max-width: 37rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.fine-print { margin-top: 24px; color: var(--muted); font-size: 0.8125rem; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero { padding-bottom: 56px; }
.hero-body { padding-top: 32px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 428px);
  align-items: stretch;
  gap: clamp(32px, 5vw, 72px);
}
.hero-grid--home { grid-template-columns: minmax(0, 1fr) minmax(0, 408px); align-items: start; }
.hero-grid--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: start; }
.hero-grid--contact { grid-template-columns: minmax(0, 1fr) minmax(0, 512px); align-items: start; }

.hero-copy { display: flex; flex-direction: column; min-width: 0; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 36px;
}

.hero-note { margin-top: 18px; color: var(--muted); font-size: 0.8125rem; }

.hero-foot { margin-top: auto; padding-top: 48px; }

.useful-when {
  max-width: 34rem;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--teal);
  color: var(--muted);
  font-size: 0.9375rem;
}

/* ---------- Panels ---------- */

.panel {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel--surface { background: var(--surface); }
.panel--sand { background: var(--sand); }
.panel--lift { box-shadow: var(--lift); }
.panel--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel--dark .eyebrow { color: var(--teal-light); }

.panel-title {
  margin-top: 22px;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.018em;
}
.panel-title .line { display: block; }

.panel-note { margin-top: 22px; color: var(--muted); font-size: 0.8125rem; }
.panel--dark .panel-note { color: var(--on-dark-muted); }

.panel-mark { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; }

/* Home: connected business panel */
.flow-list { display: grid; gap: 12px; margin-top: 26px; }
.flow-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.flow-item .icon { color: var(--teal-ink); }
.flow-item strong { display: block; font-size: 1rem; line-height: 1.35; }
.flow-item span { display: block; color: var(--muted); font-size: 0.8125rem; }

.foundations { margin-top: 26px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.chip .icon { width: 18px; height: 18px; color: var(--teal-ink); }

/* Approach: review table */
.review-table { width: 100%; margin-top: 28px; border-collapse: collapse; }
.review-table th {
  padding: 0 12px 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--teal-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}
.review-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.review-table tr:last-child td { border-bottom: 0; }
.review-table td strong { display: block; font-size: 1rem; line-height: 1.35; }
.review-table td span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.75rem; }
.review-table .next { color: var(--teal-ink); font-size: 0.875rem; font-weight: 700; }

/* Checklists (dark panels) */
.checklist { display: grid; gap: 16px; margin-top: 22px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; line-height: 1.45; }
.checklist .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal-light); }
.checklist strong { display: block; font-size: 1rem; }
.checklist span { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: 0.8125rem; }
.checklist--rich { gap: 22px; margin-top: 30px; }

/* Managed IT: scope list */
.scope-list { margin-top: 26px; border-top: 1px solid var(--line); }
.scope-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.scope-list li:last-child { border-bottom: 0; }
.scope-list .icon { color: var(--teal-ink); }
.scope-list strong { display: block; font-size: 1rem; line-height: 1.4; }
.scope-list span { display: block; color: var(--muted); font-size: 0.8125rem; }

.callout {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 0.8125rem;
}

/* Cybersecurity: feature tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile {
  padding: 12px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-soft-line);
  border-radius: var(--radius-sm);
}
.tile-head { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 700; line-height: 1.3; }
.tile-head .icon { color: var(--teal-ink); }
.tile p { margin-top: 8px; color: var(--muted); font-size: 0.75rem; }

/* Backup: sample record */
.record { margin: 28px 0 0; border-top: 1px solid var(--line); }
.record div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.record div:last-child { border-bottom: 0; }
.record dt { font-size: 0.9375rem; font-weight: 700; }
.record dd { margin: 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.6; }

/* Integration: flow diagram */
.flow { margin-top: 40px; }
.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 4px;
}
.flow-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.flow-box strong { font-size: 0.8125rem; line-height: 1.3; }
.flow-box span { color: var(--muted); font-size: 0.75rem; }
.flow-arrow { align-self: center; width: 18px; height: 18px; color: var(--teal-ink); }
.flow-drop { width: 1px; height: 24px; margin: 0 auto; background: var(--teal); }
.flow-alert { padding: 14px 16px; background: var(--ink); border-radius: var(--radius-sm); color: #fff; }
.flow-alert .eyebrow { color: var(--teal-light); font-size: 0.625rem; }
.flow-alert p:last-child { margin-top: 8px; font-size: 0.875rem; font-weight: 600; }

/* Automation: controlled steps */
.steps-dark { display: grid; gap: 8px; margin-top: 26px; }
.steps-dark li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  padding: 8px 12px;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
}
.steps-dark .n { color: var(--teal-light); font-size: 0.6875rem; font-weight: 700; }
.steps-dark strong { display: block; font-size: 0.9375rem; line-height: 1.4; }
.steps-dark span { display: block; color: var(--on-dark-muted); font-size: 0.75rem; }

/* ---------- Sections & cards ---------- */

.section { padding-bottom: 72px; }
.section-label { padding-top: 24px; }
.divider { margin: 0; border: 0; border-top: 1px solid var(--line); }

.cards { display: grid; gap: 16px; margin-top: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  position: relative;
  display: block;
  height: 100%;
  padding: 20px 20px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
}
.card > .icon { color: var(--teal-ink); }
.card-num { position: absolute; top: 18px; right: 18px; color: var(--muted); font-size: 0.6875rem; font-weight: 700; }
.card-title { margin-top: 16px; font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.012em; }
.card-text { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }

.card--link { transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.card--link:hover { border-color: var(--teal); box-shadow: var(--lift); transform: translateY(-2px); }

.card--service { min-height: 168px; padding: 16px 16px 40px; }
.card--service .card-title { margin-top: 12px; font-size: 1.0625rem; }
.card--service .card-text { margin-top: 10px; font-size: 0.8125rem; }
.card-arrow {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 18px; height: 18px;
  color: var(--teal-ink);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.card--link:hover .card-arrow,
.card--link:focus-visible .card-arrow { opacity: 1; transform: translate(2px, -2px); }

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--sand);
  border-radius: var(--radius-sm);
}
.cta-strip h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.cta-strip p { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }

/* Approach: what you receive */
.receive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr);
  gap: 16px;
}
.receive-grid .card { padding-bottom: 40px; }

.note-strip {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--sand);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

/* Solutions: offers */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 20px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.offer:hover { border-color: var(--teal); box-shadow: var(--lift); transform: translateY(-2px); }
.offer h2,
.offer h3 { margin-top: 14px; font-size: 1.375rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.012em; }
.offer p { margin-top: 8px; padding-bottom: 32px; color: var(--muted); font-size: 0.9375rem; }
.offer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
  color: var(--teal-ink);
  font-size: 0.8125rem;
  font-weight: 700;
}
.offer-foot .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.offer:hover .offer-foot .icon { transform: translate(2px, -2px); }

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.process li { display: grid; grid-template-columns: 28px minmax(0, 1fr); }
.process .n { padding-top: 3px; color: var(--teal-ink); font-size: 0.6875rem; font-weight: 700; }
.process strong { display: block; font-size: 1rem; line-height: 1.4; }
.process span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.8125rem; }

/* About: brand card */
.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius);
  color: #fff;
}
.brand-card-body { display: flex; flex: 1; flex-direction: column; padding: 34px 32px 0; }
.brand-card .logo { width: 180px; height: auto; }
.brand-card .mark { position: absolute; top: 34%; right: 32px; width: 60px; height: 60px; }
.brand-card .tagline {
  margin-top: auto;
  padding: 56px 0 52px;
  font-size: clamp(2rem, 1.5rem + 1.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.brand-bar { display: grid; grid-template-columns: repeat(3, 1fr); height: 8px; }
.brand-bar span:nth-child(1) { background: var(--teal); }
.brand-bar span:nth-child(2) { background: var(--orange); }
.brand-bar span:nth-child(3) { background: var(--slate); }

.pillars { margin-top: 24px; color: var(--teal-ink); font-size: 0.875rem; font-weight: 700; }

/* ---------- Contact ---------- */

.next-steps-wrap { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.next-steps-wrap h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.015em; }
.next-steps { display: grid; gap: 24px; margin-top: 24px; }
.next-steps li { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: start; }
.next-steps .n {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 0.6875rem;
  font-weight: 700;
}
.next-steps strong { display: block; font-size: 1.0625rem; line-height: 1.4; }
.next-steps span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; }
.contact-note { max-width: 22rem; margin-top: 28px; color: var(--muted); font-size: 0.8125rem; }

.email-direct { margin-top: 36px; }
.email-direct h3 { font-size: 1.0625rem; font-weight: 700; }
.email-cards { display: grid; gap: 10px; max-width: 30rem; margin-top: 14px; }
.email-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.email-card:hover { border-color: var(--teal); box-shadow: var(--lift); }
.email-card .icon { margin-top: 2px; color: var(--teal-ink); }
.email-card > span { min-width: 0; }
.email-label { display: block; color: var(--teal-ink); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.email-card strong { display: block; margin-top: 2px; font-size: 1rem; overflow-wrap: anywhere; }
.email-desc { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8125rem; }

.form-hint { margin-top: -8px; color: var(--muted); font-size: 0.75rem; text-align: center; }

.form-card .panel-title { margin-top: 18px; }
.form-required { margin-top: 10px; color: var(--muted); font-size: 0.75rem; }

.enquiry-form { display: grid; gap: 18px; margin-top: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.8125rem; font-weight: 700; }

.input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.input::placeholder { color: #857e77; }
.input:hover { border-color: #cfc4b7; }
.input:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.2); }
.input[aria-invalid="true"] { border-color: var(--error); }

select.input {
  padding-right: 42px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23076c6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}
textarea.input { min-height: 104px; resize: vertical; }

.field-error { color: var(--error); font-size: 0.75rem; }

.field .consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 0.8125rem; font-weight: 400; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal-ink); cursor: pointer; }

.form-status { font-size: 0.875rem; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 10px 12px; border-radius: 6px; background: var(--teal-soft); color: var(--teal-ink); }
.form-status.is-error { padding: 10px 12px; border-radius: 6px; background: #fdecea; color: var(--error); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.vendors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 28px 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.vendors li { display: flex; align-items: center; }
.vendor-ms { display: flex; align-items: center; gap: 8px; color: #2b2b2b; font-size: 1.0625rem; font-weight: 500; }
.vendor-ms svg { width: 22px; height: 22px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #fff; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 44px;
}
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { max-width: 30ch; margin-top: 18px; color: var(--on-dark-muted); font-size: 0.9375rem; }
.footer-brand .btn { margin-top: 24px; }
.footer-brand .btn-dark { background: #fff; color: var(--ink); }
.footer-brand .btn-dark:hover { background: var(--teal-soft); }

.footer-col h2 { color: var(--teal-light); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; margin-top: 18px; }
.footer-col a { color: #e3e8f0; font-size: 0.9375rem; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col .footer-contact { gap: 14px; }
.footer-contact li { display: grid; gap: 2px; }
.footer-contact span { color: var(--on-dark-muted); font-size: 0.75rem; }
.footer-contact a { overflow-wrap: anywhere; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--ink-line);
  color: #9aa6b8;
  font-size: 0.8125rem;
}

/* ---------- Section heads, links, FAQ, closing banner ---------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 20px;
}
.section-head--rule { padding-top: 32px; border-top: 1px solid var(--line); }
.section-title {
  margin-top: 10px;
  font-size: clamp(1.625rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.text-link:hover { text-decoration: underline; }
.text-link:hover .icon { transform: translate(2px, -2px); }
.inline-link { color: var(--teal-ink); font-weight: 600; }

.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 0.75rem;
  font-weight: 700;
}
.card-kicker {
  display: block;
  margin-top: 12px;
  color: var(--teal-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-kicker + .card-title { margin-top: 4px; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.list-check { display: grid; gap: 10px; margin-top: 16px; }
.list-check li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; line-height: 1.5; }
.list-check .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal-ink); }
.list-check--muted .icon { color: var(--muted); }

.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cta-strip a:not(.btn) { color: var(--teal-ink); font-weight: 600; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-ink); }
.faq summary .icon { width: 20px; height: 20px; color: var(--teal-ink); transition: transform 0.2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { max-width: 48rem; padding: 0 40px 20px 0; color: var(--muted); }
.faq a { color: var(--teal-ink); font-weight: 600; }

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink);
  border-radius: var(--radius);
  color: #fff;
}
.cta-band h2 { font-size: clamp(1.625rem, 1.15rem + 1.5vw, 2.375rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.cta-band p { margin-top: 14px; color: var(--on-dark-muted); line-height: 1.8; }
.cta-band a:not(.btn) { color: #fff; overflow-wrap: anywhere; }
.cta-band .btn-dark { background: #fff; color: var(--ink); }
.cta-band .btn-dark:hover { background: var(--teal-soft); }

/* ---------- Privacy notice ---------- */

.hero--compact { padding-bottom: 24px; }
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; align-items: start; }
.prose-lang {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--teal-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prose h3 { margin-top: 28px; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.prose-lang + h3 { margin-top: 0; }
.prose p, .prose ul { margin-top: 10px; color: #3f3a35; line-height: 1.7; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--teal-ink); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .cards--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .receive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .receive-grid .panel { grid-column: 1 / -1; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(15, 23, 42, 0.35);
  }
  .nav-open .site-nav { display: flex; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1rem; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { color: var(--teal-ink); }

  .nav-menu {
    position: static;
    display: none;
    width: auto;
    padding: 0 0 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-menu::before { display: none; }
  .has-menu.is-open .nav-menu { display: block; transform: none; }
  .menu-item { padding: 10px 8px; }

  .nav-cta { width: 100%; }

  .hero-grid,
  .hero-grid--home,
  .hero-grid--wide,
  .hero-grid--contact { grid-template-columns: minmax(0, 1fr); }

  .hero-foot { padding-top: 36px; }

  .brand-card { min-height: 320px; }
  .prose-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .cards--3,
  .offers { grid-template-columns: minmax(0, 1fr); }
  .cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .receive-grid { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding-bottom: 24px; }
  .section { padding-bottom: 56px; }
  .btn-dark, .btn-light { min-width: 0; }
  .hero-actions .btn { flex: 1 1 220px; }
  .cta-strip .btn { width: 100%; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .faq details p { padding-right: 0; }
}

@media (max-width: 520px) {
  .cards--5,
  .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .card--service { min-height: 0; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { gap: 32px 20px; }

  .flow-row { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); }
  .flow-box { min-height: 0; gap: 6px; }

  .record div { grid-template-columns: minmax(0, 1fr); gap: 4px; }

  .review-table thead { display: none; }
  .review-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .review-table tr:last-child { border-bottom: 0; }
  .review-table td { display: block; padding: 0; border: 0; }
  .review-table td + td { margin-top: 6px; }
  .review-table td.next::before { content: "Next step: "; color: var(--muted); font-weight: 400; }

  .brand-card .mark { width: 48px; height: 48px; top: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
