/* ============================================================
   ROZANI LAB — Design tokens & shared styles
   Editable palette: see :root below.
   ============================================================ */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/jost-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marcellus-regular.woff2') format('woff2');
}

:root {
  /* Brand colors — extrase din logo */
  --teal: #02D7D4;
  --teal-deep: #0D3238;
  --teal-deep-2: #123E45;

  /* Neutrals (teal-biased, not pure gray) */
  --ink: #0D3238;
  --sub: #56706F;
  --border: #DCE7E7;
  --border-soft: #E8F1F1;
  --bg: #F2F7F7;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;

  /* Semantic */
  --success: #1E8E5A;
  --error: #C0392B;
  --focus: var(--teal);

  --shadow-sm: 0 1px 2px rgba(13,50,56,.05);
  --shadow-md: 0 8px 24px rgba(13,50,56,.08);
  --shadow-lg: 0 16px 48px rgba(13,50,56,.12);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Spacing scale */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 140px;

  --section-pad: 120px;
  --section-pad-mobile: 64px;

  --container: 1160px;
  --z-nav: 100;
  --z-cookie: 200;
  --z-menu: 150;
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

body {
  font-family: 'Jost', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

::selection { background: var(--teal); color: #04191B; }

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Marcellus', serif;
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.18;
}
h1 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }

p { color: var(--ink); }
p.lede { color: var(--sub); font-size: 18px; max-width: 60ch; line-height: 1.6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: var(--sp-4);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--teal); display: inline-block; }

.text-sub { color: var(--sub); }
.text-center { text-align: center; }

/* ===== Layout ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--section-pad) 0;
}
.section--tight { padding: calc(var(--section-pad) * .6) 0; }
.section--pb-tight { padding-bottom: calc(var(--section-pad) * .5); }
.section--pt-tight { padding-top: calc(var(--section-pad) * .5); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--teal-deep); color: #EAFBFA; }
.section--deep h2, .section--deep h3 { color: #FFFFFF; }
.section--deep p { color: #BFE3E2; }
.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head.text-center { margin-left: auto; margin-right: auto; }

@media (max-width: 780px) {
  .section { padding: var(--section-pad-mobile) 0; }
  .section-head { margin-bottom: var(--sp-6); }
  .section--pb-tight { padding-bottom: calc(var(--section-pad-mobile) * .5); }
  .section--pt-tight { padding-top: calc(var(--section-pad-mobile) * .5); }
}

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  min-height: 44px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--teal-deep); color: #EAFBFA; }
.btn-primary:hover { background: var(--teal-deep-2); }
.btn-secondary { background: transparent; color: var(--teal-deep); border-color: var(--teal-deep); }
.btn-secondary:hover { background: rgba(13,50,56,.06); }
.section--deep .btn-secondary { color: #EAFBFA; border-color: #EAFBFA; }
.section--deep .btn-secondary:hover { background: rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: var(--teal-deep); padding: 10px 4px; text-transform: none; letter-spacing: 0; font-size: 15px; }
.btn-ghost svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ===== Cards ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(2,215,212,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--teal-deep); stroke-width: 1.5; fill: none; }
@media (prefers-reduced-motion: no-preference) {
  .card-icon { transition: transform .4s cubic-bezier(.34,1.56,.64,1), background-color .3s ease; }
  .card-icon svg { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
  .card:hover .card-icon,
  .compare-card:hover .card-icon {
    transform: scale(1.1) rotate(-6deg);
    background: rgba(2,215,212,.22);
  }
  .card:hover .card-icon svg,
  .compare-card:hover .card-icon svg {
    transform: scale(1.08) rotate(4deg);
  }
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--sub); font-size: 15px; }

/* ===== Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(242,247,247,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: 12px;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.nav-links a { padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); border-color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-4); }
.nav-actions .btn-primary {
  padding: 8px 16px;
  min-height: 22px;
  font-size: 11px;
  line-height: 1.3;
  flex-shrink: 0;
  min-width: 108px;
  text-align: center;
}

.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 6px;
  margin-bottom: 1px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .6;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 240px;
}
.nav-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  font-size: 13.5px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  white-space: nowrap;
}
.nav-dropdown-panel a:hover { background: rgba(2,215,212,.1); color: var(--teal-deep); }

.lang-switch {
  display: flex;
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667' stroke-width='2' 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 9px center;
  background-size: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 26px 7px 14px;
  min-height: 32px;
  font-family: 'Jost', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.lang-select option { font-family: 'Jost', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
.lang-select:hover { border-color: var(--teal-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); stroke-width: 1.6; }

/* Mobile menu overlay: hidden by default at every viewport width;
   only ever opened via JS (main.js) while .nav-toggle is visible (<1024px). */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-alt);
  z-index: var(--z-menu);
  padding: 20px 24px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-7); }
.mobile-menu-close { background: none; border: none; width: 44px; height: 44px; }
.mobile-menu-close svg { width: 24px; height: 24px; stroke: var(--ink); }
.mobile-menu-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.mobile-menu-links a { font-family: 'Marcellus', serif; font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); text-transform: uppercase; letter-spacing: .02em; }
.mobile-menu-links a.sub-link {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0 14px 18px;
  text-transform: none;
  letter-spacing: normal;
  color: var(--sub);
}
.mobile-menu .btn-primary { margin-top: var(--sp-6); }

@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: center;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-8);
  padding: var(--sp-7);
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-media {
  position: relative;
  align-self: stretch;
  margin: calc(var(--sp-7) * -1) calc(var(--sp-7) * -1) calc(var(--sp-7) * -1) 0;
}
.hero-media picture {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 0 28px 28px 0;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,.45) 16%, #000 38%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0,0,0,.45) 16%, #000 38%);
}
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero h1 { margin-bottom: var(--sp-5); }
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-6); }
.hero-features { display: flex; gap: var(--sp-6); margin-top: var(--sp-8); flex-wrap: wrap; }
.hero-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sub); }
.hero-feature svg { width: 20px; height: 20px; stroke: var(--teal-deep); stroke-width: 1.5; }

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
    padding: var(--sp-6);
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-6);
  }
  .hero-media {
    margin: 0 calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) calc(var(--sp-6) * -1);
  }
  .hero-media picture {
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 0 0 28px 28px;
  }
}

/* ===== Comparison cards (Private vs White label) ===== */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.compare-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-7); }
.compare-card .card-icon { background: rgba(2,215,212,.14); width: 52px; height: 52px; border-radius: 14px; }
.compare-card .card-icon svg { width: 26px; height: 26px; }
.compare-card ul { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.compare-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--sub); align-items: flex-start; }
.compare-card li svg { width: 18px; height: 18px; stroke: var(--teal); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 780px) { .compare-grid { grid-template-columns: 1fr; } }

/* ===== Process steps ===== */
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-6); counter-reset: step; }
.process-step { position: relative; padding-top: var(--sp-6); border-top: 2px solid var(--border); }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Marcellus', serif;
  font-size: 15px;
  color: var(--teal-deep);
  position: absolute;
  top: -13px;
  left: 0;
  background: var(--bg);
  padding-right: 10px;
}
.section--alt .process-step::before { background: var(--bg-alt); }
.process-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(2,215,212,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.process-icon svg { width: 22px; height: 22px; stroke: var(--teal-deep); stroke-width: 1.5; fill: none; }
.process-step h4 { margin-bottom: var(--sp-2); }
.process-step p { color: var(--sub); font-size: 14.5px; }
@media (prefers-reduced-motion: no-preference) {
  .process-icon { transition: transform .4s cubic-bezier(.34,1.56,.64,1), background-color .3s ease; }
  .process-icon svg { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
  .process-step:hover .process-icon { transform: scale(1.1) rotate(-6deg); background: rgba(2,215,212,.22); }
  .process-step:hover .process-icon svg { transform: scale(1.08) rotate(4deg); }
}

/* ===== Category cards ===== */
.cat-card { display: flex; flex-direction: column; height: 100%; }
.cat-card .btn-ghost { margin-top: auto; padding-top: var(--sp-4); align-self: flex-start; }

/* ===== MOQ slider ===== */
.moq-panel { background: var(--card); border: 1px solid var(--teal); border-radius: var(--radius-lg); padding: var(--sp-8); }
.moq-readout { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.moq-readout .moq-value { font-family: 'Marcellus', serif; font-size: clamp(30px, 4vw, 42px); font-variant-numeric: tabular-nums; }
.moq-readout .moq-unit { font-size: 14px; color: var(--sub); margin-left: 8px; }
.moq-tier-badge {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--teal-deep); background: rgba(2,215,212,.14);
  padding: 8px 16px; border-radius: var(--radius-pill);
}
input[type="range"].moq-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 4px;
  background: linear-gradient(to right, var(--teal) 0%, var(--teal) var(--fill, 0%), var(--border) var(--fill, 0%), var(--border) 100%);
  margin: var(--sp-4) 0 var(--sp-2);
}
input[type="range"].moq-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-deep);
  border: 4px solid var(--bg-alt);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-md);
  cursor: pointer;
}
input[type="range"].moq-range::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-deep);
  border: 4px solid var(--bg-alt);
  box-shadow: 0 0 0 1px var(--teal);
  cursor: pointer;
}
.moq-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--sub); font-variant-numeric: tabular-nums; }
.moq-tier-detail { margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px dashed var(--border); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: var(--sp-4); }
.moq-tier-detail div span { display: block; }
.moq-tier-detail .label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--sub); margin-bottom: 4px; }
.moq-tier-detail .value { font-size: 15px; font-weight: 500; }
.moq-note { margin-top: var(--sp-5); font-size: 12.5px; color: var(--sub); }
.moq-cta { display: inline-block; margin-top: var(--sp-6); }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.gallery-grid figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.gallery-grid .span-2 { grid-column: span 2; }
.gallery-outro { text-align: center; color: var(--sub); font-size: 16.5px; line-height: 1.7; max-width: 620px; margin: var(--sp-7) auto 0; }
@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .span-2 { grid-column: span 2; }
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--teal-deep);
  border-radius: var(--radius-lg);
  padding: var(--sp-9) var(--sp-8);
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: #BFE3E2; max-width: 52ch; margin: 0 auto var(--sp-6); }
.cta-band .btn-secondary { color: #fff; border-color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.1); }

/* ===== Footer ===== */
.site-footer { background: var(--teal-deep); color: #BFE3E2; padding: var(--sp-9) 0 var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-7); padding-bottom: var(--sp-8); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 80px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand p { color: #9FCFCE; font-size: 14px; max-width: 34ch; }
.footer-social { display: flex; gap: 14px; margin-top: var(--sp-5); }
.footer-social a { display: inline-flex; color: #9FCFCE; transition: color .2s ease; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.footer-col h4 { color: #fff; font-family: 'Jost', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: #9FCFCE; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--sp-5); font-size: 13px; color: #7FB8B6; flex-wrap: wrap; gap: var(--sp-3); }
.footer-bottom .lang-select {
  border-color: rgba(255,255,255,.2);
  color: #9FCFCE;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239FCFCE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.footer-bottom .lang-select:hover { border-color: var(--teal); }
.footer-bottom .lang-select option { color: #04191B; }

@media (max-width: 940px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.form-field .required { color: var(--error); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  min-height: 48px;
  width: 100%;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(2,215,212,.18);
}
.form-field .help { font-size: 12.5px; color: var(--sub); }
.form-field .error-msg { font-size: 12.5px; color: var(--error); display: none; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--error); }
.form-field.has-error .error-msg { display: block; }

.form-consent { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; }
.form-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-deep); flex-shrink: 0; }
.form-consent label { font-size: 13.5px; color: var(--sub); line-height: 1.5; }
.form-consent a { color: var(--teal-deep); text-decoration: underline; }

.form-status { padding: 16px 18px; border-radius: var(--radius-sm); font-size: 14.5px; margin-top: var(--sp-4); display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: rgba(30,142,90,.1); color: var(--success); border: 1px solid rgba(30,142,90,.3); }
.form-status.error { background: rgba(192,57,43,.08); color: var(--error); border: 1px solid rgba(192,57,43,.3); }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: 1; }
}

/* ===== Contact info blocks ===== */
.contact-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); margin-top: var(--sp-7); }
.contact-info-card { text-align: center; padding: var(--sp-6); }
.contact-info-card .card-icon { margin: 0 auto var(--sp-3); }
.contact-info-card:first-child { text-align: left; }
.contact-info-card:first-child .card-icon { margin: 0 0 var(--sp-3); }
.map-embed {
  margin-top: var(--sp-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-embed iframe { display: block; width: 100%; }
@media (max-width: 780px) { .contact-info-grid { grid-template-columns: 1fr; } }

/* ===== Certifications ===== */
.cert-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.cert-badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.cert-badge {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-deep);
  background: rgba(2,215,212,.12);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
}
.cert-card p { color: var(--sub); font-size: 14.5px; line-height: 1.7; }

/* ===== Legal pages ===== */
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-2); font-size: 17px; }
.legal-content p, .legal-content li { color: var(--sub); font-size: 15.5px; line-height: 1.75; }
.legal-content p { margin-top: var(--sp-3); }
.legal-content ul, .legal-content ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-top: var(--sp-3); }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content a { color: var(--teal-deep); text-decoration: underline; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content table { width: 100%; border-collapse: collapse; margin-top: var(--sp-4); font-size: 14.5px; }
.legal-content table td { border: 1px solid var(--border); padding: 10px 14px; color: var(--sub); vertical-align: top; }
.legal-content table td:first-child { width: 160px; background: var(--bg); }
.legal-updated { font-size: 13px; color: var(--sub); margin-bottom: var(--sp-7); }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5) var(--sp-6);
  z-index: var(--z-cookie);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: 13.5px; color: var(--sub); margin-bottom: var(--sp-4); }
.cookie-banner a { color: var(--teal-deep); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 20px; font-size: 12px; min-height: 40px; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); padding: var(--sp-5) 0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  cursor: pointer; list-style: none; font-family: 'Marcellus', serif; font-size: 18px; color: var(--ink);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q svg { width: 20px; height: 20px; stroke: var(--teal-deep); flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] .faq-q svg { transform: rotate(45deg); }
.faq-a { padding-top: var(--sp-3); color: var(--sub); font-size: 15px; }

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-deep);
  color: #fff;
  padding: 14px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Utility ===== */
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ===== Capabilities page ===== */
.snap-value {
  font-family: 'Marcellus', serif;
  font-size: 40px;
  line-height: 1;
  color: var(--teal-deep);
  margin-bottom: var(--sp-3);
}
.cap-group { margin-top: var(--sp-8); }
.cap-group:first-of-type { margin-top: 0; }
.cap-group-head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.cap-group-head h3 { font-size: 20px; }
.cap-group-head span { font-size: 13px; color: var(--sub); text-transform: uppercase; letter-spacing: .06em; }

/* ===== Hero trust bar (homepage) ===== */
.model-pills {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.model-pills a { transition: color .2s ease; }
.model-pills a:hover { color: var(--teal); }
.model-pills .sep { color: var(--teal); font-weight: 400; }

/* Variant sitting inside the hero, in place of the old feature row */
.model-pills--hero { margin-top: var(--sp-8); margin-bottom: 0; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.trust-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(2,215,212,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 21px; height: 21px; stroke: var(--teal-deep); stroke-width: 1.5; fill: none; }
.trust-card h3 { font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.trust-card p { color: var(--sub); font-size: 14px; line-height: 1.55; }

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--sub);
}
.trust-strip span { display: flex; align-items: center; gap: 10px; }
.trust-strip svg { width: 18px; height: 18px; stroke: var(--teal-deep); stroke-width: 1.5; fill: none; flex-shrink: 0; }
.trust-strip .divider { width: 1px; height: 18px; background: var(--border); padding: 0; }

@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-strip { flex-direction: column; gap: var(--sp-3); }
  .trust-strip .divider { display: none; }
}
