/* ==========================================================================
   TMB-COMMERCE — Design System
   Concept: "Manifest & Stamp" — the visual language of a customs manifest,
   a warehouse ledger and an authenticity ink-stamp. TMB-Commerce is the
   verified middle point between brand supply and buyers, at volume, across
   every product category, for both trade (B2B) and end customers (B2C).
   ========================================================================== */

:root {
  /* Color tokens — lighter blue palette */
  --ink: #14181d;
  --ink-soft: #3c4550;
  --steel: #edf2f7;
  --steel-2: #e1e9f2;
  --paper: #f6f8fb;
  --navy: #1d5fbf;
  --navy-soft: #2c74d6;
  --navy-deep: #0e2a52;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-2: #0891b2;
  --accent-light: #bae6fd;
  --line: #c9d3de;
  --line-dark: rgba(255, 255, 255, 0.22);
  --white: #ffffff;
  /* --accent-light is pale — only readable on dark (--navy/--navy-soft/--ink) backgrounds.
     --accent-2 is the darker secondary blue for accents on light/white backgrounds. */

  /* Type */
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.8rem + 1.6vw, 3rem);
  --step-4: clamp(2.6rem, 2.1rem + 2.6vw, 4.4rem);
  --step-5: clamp(3.2rem, 2.4rem + 4vw, 6.2rem);

  /* Spacing (8px rhythm, roomy for a marketing site) */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;

  --container: 78rem;
  --radius: 3px;
  --dur-1: 150ms;
  --dur-2: 320ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Wrap only at word boundaries — never split a word with a hyphen.
   overflow-wrap is a last-resort safety net for the rare unbroken string
   that's wider than its column (no hyphen glyph inserted, just a hard break). */
h1,
h2,
h3,
h4,
p,
dd,
li {
  overflow-wrap: break-word;
  hyphens: none;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

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

/* Visible keyboard focus, always */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible {
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  z-index: 200;
  font-family: var(--font-mono);
  font-size: var(--step--1);
}
.skip-link:focus {
  left: var(--space-3);
  top: var(--space-3);
}

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

@media (min-width: 56rem) {
  .wrap {
    padding-inline: var(--space-6);
  }
}

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

@media (min-width: 56rem) {
  .section {
    padding-block: var(--space-8);
  }
}

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

.section--navy {
  background: var(--navy);
  color: var(--steel);
}

.section--steel {
  background: var(--steel);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section--navy .eyebrow,
.section--navy .eyebrow-line,
.page-header .eyebrow,
.page-header .eyebrow-line,
.section--dark .eyebrow,
.section--dark .eyebrow-line {
  color: var(--white);
}

/* ---------- Dark section (deep navy, distinct from the brighter blue sections) ---------- */
.section--dark {
  background: var(--navy-deep);
  color: var(--steel-2);
}

.section--dark + .section--dark {
  border-top: 1px solid var(--line-dark);
}

.section--dark .lede {
  color: var(--steel-2);
}

.section--dark .process__step {
  border-top-color: var(--line-dark);
}

.section--dark .process__step::before {
  background: var(--navy-deep);
  color: var(--accent-light);
}

.section--dark .process__step p {
  color: var(--steel-2);
}

.section--dark .field .hint {
  color: var(--steel-2);
}

.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85em 1.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease),
    border-color var(--dur-1) var(--ease);
}

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

.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section:not(.section--navy):not(.section--dark) .btn--ghost:hover {
  background: rgba(20, 24, 29, 0.06);
}

.btn--whatsapp {
  background: #25d366;
  color: #ffffff;
}
.btn--whatsapp:hover {
  background: #1fb959;
}

/* ---------- WhatsApp-green section (same green as the WhatsApp button) ---------- */
.section--green {
  background: #25d366;
  color: var(--ink);
}

.section--green .eyebrow,
.section--green .eyebrow-line {
  color: var(--ink);
}

.section--green .ledger {
  border-top-color: rgba(20, 24, 29, 0.25);
}

.section--green .ledger__row {
  border-bottom-color: rgba(20, 24, 29, 0.25);
}

.section--green .ledger__label {
  color: var(--ink-soft);
}

.section--green .ledger__value {
  color: var(--ink);
}

.section--green .ledger__value small {
  color: var(--ink-soft);
}

/* Ghost buttons inside a white card keep the dark hover tint even when the
   surrounding section itself is dark. */
.audience-card .btn--ghost:hover {
  background: rgba(20, 24, 29, 0.06);
}

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

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-deep);
  color: var(--steel-2);
  font-family: var(--font-mono);
  font-size: var(--step--1);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
}

.topbar a {
  text-decoration: none;
  color: inherit;
}
.topbar a:hover {
  color: var(--accent-light);
}

.topbar__sep {
  opacity: 0.4;
  padding-inline: 0.6em;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-1);
}

.logo__mark {
  background: var(--accent);
  color: var(--white);
  padding: 0.15em 0.35em;
  border-radius: 2px;
  font-size: 0.75em;
}

.logo__tail {
  font-family: var(--font-mono);
  font-size: 0.4em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
}

.nav {
  display: none;
}

@media (min-width: 64rem) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-5);
  }
  .nav__links {
    display: flex;
    gap: var(--space-5);
    font-weight: 600;
    font-size: var(--step--1);
  }
  .nav__links a {
    text-decoration: none;
    position: relative;
    padding-block: 0.3em;
  }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    transition: right var(--dur-2) var(--ease);
  }
  .nav__links a:hover::after,
  .nav__links a[aria-current="page"]::after {
    right: 0;
  }
  .nav__links a[aria-current="page"] {
    color: var(--accent);
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
}

@media (min-width: 64rem) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}
.nav-toggle__bars::before {
  position: absolute;
  top: -6px;
}
.nav-toggle__bars::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  padding-block: var(--space-2);
}
.mobile-nav__links a {
  display: block;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
  display: flex;
  align-items: center;
}
.mobile-nav__links a[aria-current="page"] {
  color: var(--accent);
}
.mobile-nav__cta {
  padding: var(--space-3) var(--space-4);
}

@media (min-width: 64rem) {
  .mobile-nav,
  .nav-toggle {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(100deg, rgba(15, 35, 74, 0.93) 0%, rgba(20, 62, 128, 0.82) 45%, rgba(29, 95, 191, 0.65) 100%),
    url("../img/hero-lager.jpg");
  background-size: cover;
  background-position: center;
}

.hero__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.hero__grid > * {
  min-width: 0;
}

@media (min-width: 56rem) {
  .hero__grid > * {
    max-width: 42rem;
  }
}

.hero__title {
  font-size: clamp(1.3rem, 0.8rem + 3vw, 3.6rem);
  color: var(--white);
}

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

.hero__lede {
  margin-top: var(--space-4);
  max-width: 42ch;
  font-size: var(--step-1);
  color: var(--steel-2);
}

.hero__actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Stamp (signature element) ---------- */
.stamp {
  --stamp-color: var(--accent-light);
  width: clamp(11rem, 22vw, 15rem);
  height: clamp(11rem, 22vw, 15rem);
  transform: rotate(-9deg);
  color: var(--stamp-color);
}

.stamp text {
  font-family: var(--font-mono);
  fill: currentColor;
}

.stamp circle,
.stamp path.stamp-ring {
  fill: none;
  stroke: currentColor;
}

.stamp--inline {
  width: 3.2rem;
  height: 3.2rem;
  transform: rotate(-9deg);
  flex-shrink: 0;
}

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  background: var(--navy);
  color: var(--steel-2);
}

.page-header__title {
  font-size: var(--step-4);
  color: var(--white);
  margin-top: var(--space-2);
  max-width: 20ch;
}

.page-header__lede {
  margin-top: var(--space-4);
  font-size: var(--step-1);
  max-width: 48ch;
  color: var(--steel-2);
}

.page-header__crumbs {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel-2);
  opacity: 0.75;
  margin-bottom: var(--space-4);
}
.page-header__crumbs a {
  text-decoration: none;
  color: inherit;
}
.page-header__crumbs a:hover {
  color: var(--accent-light);
}

/* ---------- Manifest ticker ---------- */
.manifest {
  border-block: 1px solid var(--line-dark);
  background: var(--navy-soft);
  color: var(--steel-2);
  overflow: hidden;
}

.manifest__track {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-3);
  width: max-content;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: manifest-scroll 38s linear infinite;
}

.manifest:hover .manifest__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .manifest__track {
    animation: none;
  }
}

.manifest__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  white-space: nowrap;
}

.manifest__item::after {
  content: "\2022";
  margin-left: var(--space-4);
  color: var(--accent-light);
}

@keyframes manifest-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Split / audience cards ---------- */
.split {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

.audience-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.audience-card--b2c {
  border-top-color: var(--accent-2);
}

.audience-card__title {
  font-size: var(--step-2);
}

.audience-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.audience-card__list li {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.audience-card__list svg {
  flex-shrink: 0;
  margin-top: 0.2em;
  color: var(--accent);
}

.audience-card--b2c .audience-card__list svg {
  color: var(--accent-2);
}

.audience-card__actions {
  margin-top: auto;
  padding-top: var(--space-3);
}

/* ---------- Ledger / stats ---------- */
.ledger {
  border-top: 1px solid var(--line-dark);
}

.ledger__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  align-items: baseline;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line-dark);
}

.ledger__label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-2);
}

.ledger__value {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--white);
  white-space: nowrap;
}

.ledger__value small {
  font-family: var(--font-mono);
  font-size: 0.35em;
  color: var(--accent-light);
  margin-left: 0.4em;
  text-transform: uppercase;
}

@media (min-width: 48rem) {
  .ledger {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .ledger__row {
    grid-template-columns: none;
    flex-direction: column-reverse;
    display: flex;
    border-bottom: none;
    border-right: 1px solid var(--line-dark);
    padding: var(--space-5) var(--space-4);
  }
  .ledger__row:last-child {
    border-right: none;
  }
}

/* ---------- Process ---------- */
.process {
  display: grid;
  gap: var(--space-5);
  counter-reset: step;
}

@media (min-width: 56rem) {
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process__step {
  position: relative;
  padding-top: var(--space-5);
  border-top: 2px solid var(--line);
}

.process__step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.75em;
  left: 0;
  background: var(--paper);
  padding-right: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--step-1);
  color: var(--accent);
}

.process__step h3 {
  font-size: var(--step-1);
  margin-top: var(--space-2);
}

.process__step p {
  margin-top: var(--space-2);
  color: var(--ink-soft);
  font-size: var(--step--1);
}

/* ---------- Photo grid (Lager-Einblick) ---------- */
.photo-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 56rem) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-card {
  background: var(--white);
}

.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

.photo-card__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--line);
}

.photo-card__caption strong {
  font-weight: 700;
  font-size: var(--step--1);
}

.photo-card__caption span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Reason grid (Warum TMB-Commerce) ---------- */
.reason-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 56rem) {
  .reason-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.reason-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.reason-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reason-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.reason-card__num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--accent);
  letter-spacing: 0.04em;
}

.reason-card h3 {
  font-size: var(--step-1);
  margin-top: var(--space-2);
}

.reason-card p {
  margin-top: var(--space-2);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* ---------- Reviews ---------- */
.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  margin-bottom: var(--space-6);
}

.review-summary__score {
  font-family: var(--font-display);
  font-size: var(--step-4);
  color: var(--ink);
  line-height: 1;
}

.review-summary__score small {
  font-family: var(--font-mono);
  font-size: 0.35em;
  color: var(--ink-soft);
  margin-left: 0.3em;
}

.review-summary__meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stars {
  display: flex;
  gap: 0.15rem;
  color: var(--accent);
}

.stars svg {
  width: 1.1rem;
  height: 1.1rem;
}

.review-summary__count {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.review-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 40rem) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.review-card p {
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.review-card__author {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: var(--step--1);
  border-top: 1px solid var(--line);
  padding-top: var(--space-3);
}

.review-card__author strong {
  font-weight: 700;
}

.review-card__author span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.team-grid > * {
  min-width: 0;
}

@media (min-width: 40rem) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

.team-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
}

.team-card > div {
  min-width: 0;
}

.team-card__photo {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--steel-2);
}

.team-card__avatar {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--step-2);
  border: 3px solid var(--steel-2);
}

.team-card__avatar svg {
  width: 2.2rem;
  height: 2.2rem;
}

.team-card__name {
  font-size: var(--step-1);
  font-weight: 700;
}

.team-card__role {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.team-card__contact {
  margin-top: var(--space-2);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.team-card__contact a {
  color: var(--ink-soft);
  text-decoration: underline;
}

/* ---------- Category grid (Sortiment) ---------- */
.cat-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat-card {
  background: var(--white);
  color: var(--ink);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cat-card__icon {
  color: var(--accent);
}
.cat-card__icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.cat-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step-0);
}

.cat-card__desc {
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.cat-card__code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748b;
  letter-spacing: 0.05em;
}

/* ---------- Generic content blocks ---------- */
.prose {
  max-width: 62ch;
}
.prose > * + * {
  margin-top: var(--space-3);
}
.prose h2,
.prose h3 {
  margin-top: var(--space-5);
}

.lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 55ch;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.two-col {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 56rem) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.value-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 40rem) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: var(--space-4);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.value-card svg {
  color: var(--accent);
  width: 1.75rem;
  height: 1.75rem;
}
.value-card h3 {
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 700;
  margin-top: var(--space-3);
}
.value-card p {
  margin-top: var(--space-2);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

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

.form__row {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 40rem) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.field label {
  font-weight: 600;
  font-size: var(--step--1);
}

.field .hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.75em 0.85em;
  font: inherit;
  font-size: var(--step-0);
  border-radius: var(--radius);
  min-height: 48px;
  color: var(--ink);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
}

.field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7em;
}
.field--checkbox input {
  min-height: auto;
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  flex-shrink: 0;
}
.field--checkbox label {
  font-weight: 400;
  font-size: var(--step--1);
}

.form-note {
  background: var(--steel-2);
  border-left: 3px solid var(--accent);
  padding: var(--space-3) var(--space-4);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

.form-status {
  padding: var(--space-4);
  border: 1px solid var(--line);
  font-size: var(--step--1);
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status--ok {
  border-color: var(--accent);
  background: #eaf2fe;
}

/* ---------- Contact cards ---------- */
.contact-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

.info-card {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: var(--space-5);
}

.info-card dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-top: var(--space-3);
}
.info-card dt:first-child {
  margin-top: 0;
}
.info-card dd {
  margin: 0.2em 0 0;
  font-size: var(--step--1);
}

.map-frame {
  border: 1px solid var(--line);
  background: repeating-linear-gradient(
    45deg,
    var(--steel-2),
    var(--steel-2) 10px,
    var(--steel) 10px,
    var(--steel) 20px
  );
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-align: center;
  padding: var(--space-4);
}

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}
@media (min-width: 56rem) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cta-band__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--steel-2);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-7);
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-bottom: var(--space-3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  text-decoration: none;
  font-size: var(--step--1);
  color: var(--steel-2);
}
.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel-2);
  opacity: 0.8;
}

/* ---------- Reveal-on-scroll (progressive enhancement) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0 !important;
}
