/* ============================================================
   CARBASE — Base Stylesheet
   Design: Premium Utilitarian Minimalism
   ============================================================ */

/* Smooth same-origin page navigation (Chrome/Edge/Safari). Replaces the
   jarring white flash between pages with a short cross-fade. Progressive
   enhancement — browsers without support navigate normally. */
@view-transition {
  navigation: auto;
}

/* --- Custom Properties --- */
:root {
  /* Canvas & surfaces */
  --canvas:   #FBFBFA;
  --surface:  #FFFFFF;
  --border:   #EAEAEA;

  /* Text */
  --text-1: #111111;
  --text-2: #787774;
  --text-3: #AEABA6;

  /* Dark chrome (header / footer) */
  --dark-bg:     #111111;
  --dark-text:   rgba(255, 255, 255, 0.90);
  --dark-muted:  rgba(255, 255, 255, 0.50);
  --dark-border: rgba(255, 255, 255, 0.10);

  /* Pastel accents */
  --blue-bg:    #E1F3FE;
  --blue-text:  #1F6C9F;
  --green-bg:   #EDF3EC;
  --green-text: #346538;
  --yellow-bg:  #FBF3DB;
  --yellow-text:#956400;
  --red-bg:     #FDEBEC;
  --red-text:   #9F2F2D;

  /* Typography */
  --font-sans:  'SF Pro Display', 'Helvetica Neue', 'Switzer', system-ui, -apple-system, sans-serif;
  --font-serif: 'Newsreader', 'Playfair Display', 'Instrument Serif', Georgia, serif;
  --font-mono:  'SF Mono', 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --container-w: 72rem;
  --header-h:    64px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 200ms var(--ease-out);
}


/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  /* Match the page canvas so the pre-paint frame on navigation is not a
     pure-white flash before <body> renders. */
  background: var(--canvas);
}
body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; }
fieldset { border: none; }


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-1);
}
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem); }
h4 { font-size: 1.25rem; }
p  { color: var(--text-2); font-size: 1rem; }
strong { font-weight: 600; color: var(--text-1); }


/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 40rem) {
  .container { padding: 0 2rem; }
}
@media (min-width: 80rem) {
  .container { padding: 0 2.5rem; }
}

.site-main {
  min-height: calc(100vh - var(--header-h) - 220px);
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

/* Brand */
.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  transition: opacity var(--t);
}
.brand:hover { opacity: 0.65; }
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* Primary nav (desktop) */
.nav-primary {
  display: none;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  margin-left: 1rem;
}
@media (min-width: 48rem) {
  .nav-primary { display: flex; }
}
.nav-primary a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-muted);
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav-primary a:hover,
.nav-primary a.active {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.08);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.lang-btn {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dark-muted);
  padding: 0.3125rem 0.4375rem;
  border-radius: var(--r-sm);
  line-height: 1;
  transition: color var(--t), background var(--t);
}
.lang-btn:hover,
.lang-btn.active {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.08);
}
.lang-sep {
  font-size: 0.6875rem;
  color: var(--dark-muted);
  opacity: 0.35;
  user-select: none;
  pointer-events: none;
}

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: background var(--t);
}
.hamburger:hover { background: rgba(255, 255, 255, 0.08); }
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--dark-text);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 280ms var(--ease-out), opacity 280ms var(--ease-out);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 48rem) {
  .hamburger { display: none; }
}


/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 300ms var(--ease-out),
              opacity   300ms var(--ease-out);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-muted);
  padding: 0.625rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color var(--t), background var(--t);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.08);
}
.mobile-nav-divider {
  height: 1px;
  background: var(--dark-border);
  margin: 0.5rem 0;
}
.mobile-nav-lang {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem 0.625rem;
}

@media (min-width: 48rem) {
  .mobile-nav { display: none !important; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111111;
  border-top: 1px solid var(--dark-border);
  padding: 3rem 0 2rem;
}
.footer-card {
  padding: 0;
}

/* Mobile-first: single-column stack */
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Desktop: 4-column grid */
@media (min-width: 56rem) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1.0fr 0.75fr 1.6fr 1.0fr;
    gap: 2.5rem;
    align-items: start;
  }
}

/* Base column */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* Col 1 — Brand */
.footer-col .brand-logo {
  height: 22px;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--dark-muted);
  line-height: 1.45;
  margin-top: 0.125rem;
}

/* Col 2 — Nav: inline row on mobile, stacked on desktop */
.footer-col-nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.footer-col-nav a {
  font-size: 0.875rem;
  color: var(--dark-muted);
  text-decoration: none;
  line-height: 1.7;
  transition: color var(--t);
}
.footer-col-nav a:hover { color: var(--dark-text); }
@media (min-width: 56rem) {
  .footer-col-nav {
    flex-direction: column;
    gap: 0.375rem;
  }
}

/* Col 3 — Social: icon-only row on mobile, labelled 2-col grid on desktop */
.footer-col-social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.625rem;
}
/* Labels hidden on mobile */
.footer-social-label {
  display: none;
}
@media (min-width: 56rem) {
  .footer-col-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.25rem;
  }
  .footer-social-label {
    display: block;
    font-size: 0.8125rem;
    line-height: 1;
  }
}
.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--dark-muted);
  transition: color var(--t);
}
.footer-social-link:hover { color: var(--dark-text); }
/* Mobile: slightly larger tap targets */
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  flex-shrink: 0;
  transition: background var(--t);
}
.footer-social-link:hover .footer-social-icon {
  background: rgba(255, 255, 255, 0.13);
}
.footer-social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
/* Desktop: tighter icons */
@media (min-width: 56rem) {
  .footer-social-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }
  .footer-social-icon svg {
    width: 14px;
    height: 14px;
  }
}

/* Col 4 — Phone + Privacy: left-aligned on mobile, right-aligned on desktop */
.footer-col-contact {
  gap: 1rem;
}
@media (min-width: 56rem) {
  .footer-col-contact {
    align-items: flex-end;
  }
}
.footer-phone-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity var(--t);
}
.footer-phone-cta:hover { opacity: 0.75; }
.footer-phone-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-phone-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--dark-text);
}
.footer-phone-details {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}
.footer-phone-number {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.footer-phone-label {
  font-size: 0.6875rem;
  color: var(--dark-muted);
  line-height: 1;
}
.footer-privacy-link {
  font-size: 0.75rem;
  color: var(--dark-muted);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity var(--t);
}
.footer-privacy-link:hover { opacity: 1; }

/* Divider + bottom bar */
.footer-divider {
  height: 1px;
  background: var(--dark-border);
  margin: 2.5rem 0 1.5rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
/* Desktop: bottom bar mirrors the 4-column grid so copyright
   sits in the same column as the phone number above it */
@media (min-width: 56rem) {
  .footer-bottom {
    display: grid;
    grid-template-columns: 1.0fr 0.75fr 1.6fr 1.0fr;
    gap: 0 2.5rem;
    align-items: center;
  }
  .footer-bottom .lang-switcher {
    grid-column: 1;
  }
  .footer-rights-col {
    grid-column: 4;
    justify-self: end;
  }
}
.footer-rights {
  font-size: 0.75rem;
  color: var(--dark-muted);
  opacity: 0.7;
  display: flex;
  gap: 0.375rem;
}

/* ============================================================
   NOVANO CREDIT — footer easter egg (developed by novano.us)
   ============================================================ */
.footer-rights-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.footer-credit {
  font-size: 0.7rem;
  color: var(--dark-muted);
  opacity: 0.6;
  display: flex;
  gap: 0.3rem;
  align-items: baseline;
}

.novano {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 1.6s ease 1.3s, text-shadow 1.6s ease 1.3s;
}

.novano-slot {
  position: relative;
  display: inline-block;
}

.novano-tld {
  display: inline-block;
}

/* lightbulb — sits hidden above the slot until the egg triggers */
.novano-bulb {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.7em;
  height: 0.7em;
  opacity: 0;
  transform: translate(-50%, -320%);
  transform-origin: 50% 100%;
  pointer-events: none;
}

.novano-bulb-glass {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.7em;
  height: 0.7em;
  margin-left: -0.35em;
  border-radius: 50%;
  background: #6b6b6b; /* off */
  box-shadow: none;
}

.novano-bulb-cap {
  position: absolute;
  left: 50%;
  bottom: -0.1em;
  width: 0.34em;
  height: 0.18em;
  margin-left: -0.17em;
  background: linear-gradient(#9a9a9a, #6f6f6f);
  border-radius: 0 0 0.06em 0.06em;
}

/* triggered state — persists until reload (JS never removes .is-lit) */
.novano.is-lit {
  color: #ffcf6b;
  text-shadow: 0 0 6px rgba(255, 190, 80, 0.5);
}

.novano.is-lit .novano-tld {
  animation: novano-tld-fall 1s ease-in-out 0.15s forwards;
}

.novano.is-lit .novano-bulb {
  animation: novano-bulb-drop 1.5s ease-in-out 0.2s forwards;
}

.novano.is-lit .novano-bulb-glass {
  animation: novano-halogen 3.2s ease-in 1.5s forwards;
}

/* anticipation lift, then a slow arcing fall */
@keyframes novano-tld-fall {
  0%   { transform: translate(0, 0) rotate(0);            opacity: 1; }
  22%  { transform: translate(0, -0.2em) rotate(-7deg);   opacity: 1; }
  100% { transform: translate(0.28em, 1.6em) rotate(52deg); opacity: 0; }
}

/* drop with a hold (anticipation), squash on impact, then settling bounces */
@keyframes novano-bulb-drop {
  0%   { transform: translate(-50%, -320%) scaleY(1) scaleX(1);       opacity: 0; }
  12%  { transform: translate(-50%, -320%) scaleY(1) scaleX(1);       opacity: 0; }
  18%  { transform: translate(-50%, -300%) scaleY(1.15) scaleX(0.9);  opacity: 1; }
  46%  { transform: translate(-50%, -8%)   scaleY(1.3) scaleX(0.82);  opacity: 1; }
  55%  { transform: translate(-50%, 0%)    scaleY(0.68) scaleX(1.28); }
  68%  { transform: translate(-50%, -30%)  scaleY(1.14) scaleX(0.9); }
  78%  { transform: translate(-50%, 0%)    scaleY(0.85) scaleX(1.12); }
  88%  { transform: translate(-50%, -11%)  scaleY(1.05) scaleX(0.97); }
  95%  { transform: translate(-50%, 0%)    scaleY(0.96) scaleX(1.03); }
  100% { transform: translate(-50%, 0%)    scaleY(1) scaleX(1);       opacity: 1; }
}

/* American halogen: flash on, off, dim flash, off (clip), dark beat, then slow warm-up to full */
@keyframes novano-halogen {
  0%   { background: #6b6b6b; box-shadow: none; }
  6%   { background: #fff2cc; box-shadow: 0 0 5px 1px rgba(255, 190, 90, 0.85); }
  11%  { background: #6b6b6b; box-shadow: none; }
  18%  { background: #ffe9b0; box-shadow: 0 0 4px 1px rgba(255, 190, 90, 0.55); }
  24%  { background: #6b6b6b; box-shadow: none; }
  34%  { background: #6b6b6b; box-shadow: none; }
  50%  { background: #8a7a55; box-shadow: 0 0 2px rgba(255, 190, 90, 0.3); }
  72%  { background: #e7d49a; box-shadow: 0 0 5px 1px rgba(255, 190, 90, 0.6); }
  100% { background: #fff2cc; box-shadow: 0 0 7px 2px rgba(255, 190, 90, 0.95), 0 0 3px rgba(255, 220, 150, 1); }
}

@media (prefers-reduced-motion: reduce) {
  .novano.is-lit .novano-tld { animation: none; opacity: 0; }
  .novano.is-lit .novano-bulb { animation: none; opacity: 1; transform: translate(-50%, 0%); }
  .novano.is-lit .novano-bulb-glass {
    animation: none;
    background: #fff2cc;
    box-shadow: 0 0 7px 2px rgba(255, 190, 90, 0.95);
  }
}


/* ============================================================
   PAGE SECTIONS
   ============================================================ */
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 8rem 0; }

.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-header p {
  margin-top: 0.75rem;
  max-width: 42rem;
}

.divider {
  height: 1px;
  background: var(--border);
}


/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow var(--t);
}
.card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.card-body { padding: 1.5rem; }
.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--border);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background var(--t), transform var(--t), opacity var(--t), border-color var(--t);
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--text-1);
  color: #FFFFFF;
}
.btn-primary:hover { background: #2a2a2a; }
.btn-secondary {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(0, 0, 0, 0.03); }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 0.75rem 0;
}
.btn-ghost:hover { color: var(--text-1); }
.btn-lg  { font-size: 1rem;      padding: 0.875rem 2rem; }
.btn-sm  { font-size: 0.8125rem; padding: 0.5rem  1rem;  }
.btn-full { width: 100%; }


/* ============================================================
   FORMS
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 40rem) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #999;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-3); }
.form-textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.form-select-wrap {
  position: relative;
}
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-3);
  pointer-events: none;
}
.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.form-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--text-1);
  cursor: pointer;
}
.form-checkbox-row label {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.5;
  cursor: pointer;
}
.form-error {
  font-size: 0.8125rem;
  color: var(--red-text);
  margin-top: 0.25rem;
}
.form-success {
  font-size: 0.875rem;
  color: var(--green-text);
  background: var(--green-bg);
  border: 1px solid rgba(52, 101, 56, 0.15);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
}
/* Form submit button row — replaces inline style="margin-top: ..." */
.form-actions { margin-top: 1.5rem; }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-article {
  max-width: 52rem;
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 6rem;
}

/* Language selector tabs */
.privacy-lang-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.privacy-lang-tab {
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--t);
}
.privacy-lang-tab:hover { border-color: var(--text-1); color: var(--text-1); }
.privacy-lang-tab.active { background: var(--text-1); border-color: var(--text-1); color: var(--canvas); }

/* Language content blocks */
.privacy-lang-section { display: none; }
.privacy-lang-section.active { display: block; }

/* Approval stamp */
.privacy-approval {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.875rem 1.25rem;
  margin-bottom: 2rem;
}
.privacy-approval p {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}
.privacy-approval p:first-child {
  font-style: normal;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.125rem;
}

/* Document title */
.privacy-doc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

/* Chapter */
.privacy-chapter { margin-bottom: 2.5rem; }
.privacy-chapter-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Numbered paragraphs */
.privacy-section-item {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.privacy-section-item:last-child { margin-bottom: 0; }
.privacy-section-item strong { color: var(--text-1); font-weight: 600; }
.privacy-section-item em { font-style: italic; }
.privacy-section-item a { color: var(--text-1); text-decoration: underline; text-underline-offset: 2px; }

/* Bullet sub-lists */
.privacy-subsection-list {
  list-style: none;
  padding: 0;
  margin: 0.625rem 0 0;
}
.privacy-subsection-list li {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.75;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.375rem;
}
.privacy-subsection-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-3);
}
.privacy-subsection-list li strong { color: var(--text-1); font-weight: 600; }
.privacy-subsection-list a { color: var(--text-1); text-decoration: underline; text-underline-offset: 2px; }

/* Privacy policy link inside consent label */
.consent-privacy-link {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-privacy-link:hover { color: var(--text-1); }

/* Honeypot — visually hidden, not display:none (better bot trap) */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}


/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  line-height: 1;
  white-space: nowrap;
}
.badge-blue    { background: var(--blue-bg);   color: var(--blue-text);   }
.badge-green   { background: var(--green-bg);  color: var(--green-text);  }
.badge-yellow  { background: var(--yellow-bg); color: var(--yellow-text); }
.badge-red     { background: var(--red-bg);    color: var(--red-text);    }
.badge-neutral { background: var(--border);    color: var(--text-2);      }


/* ============================================================
   CALLOUT
   ============================================================ */
.callout {
  background: var(--blue-bg);
  border: 1px solid rgba(31, 108, 159, 0.15);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
}
.callout p { color: var(--blue-text); font-size: 0.9375rem; margin: 0; }
.callout.callout-green {
  background: var(--green-bg);
  border-color: rgba(52, 101, 56, 0.15);
}
.callout.callout-green p { color: var(--green-text); }


/* ============================================================
   LOADING & EMPTY STATES
   ============================================================ */
.state-loading,
.state-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-3);
  font-size: 0.9375rem;
}


/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

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

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


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease-out),
              transform 600ms var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease-out),
              transform 600ms var(--ease-out);
}
.stagger > *.visible { opacity: 1; transform: none; }
.stagger > *:nth-child(1)  { transition-delay:   0ms; }
.stagger > *:nth-child(2)  { transition-delay:  80ms; }
.stagger > *:nth-child(3)  { transition-delay: 160ms; }
.stagger > *:nth-child(4)  { transition-delay: 240ms; }
.stagger > *:nth-child(5)  { transition-delay: 320ms; }
.stagger > *:nth-child(6)  { transition-delay: 400ms; }
.stagger > *:nth-child(7)  { transition-delay: 480ms; }
.stagger > *:nth-child(8)  { transition-delay: 560ms; }


/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; }
.text-muted { color: var(--text-2); }
.text-dim   { color: var(--text-3); }
.text-center { text-align: center; }
.font-serif { font-family: var(--font-serif); }
.font-mono  { font-family: var(--font-mono); }

.mt-xs { margin-top: 0.5rem; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.mt-xl { margin-top: 4rem; }

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.gap-sm     { gap: 0.75rem; }
.gap-md     { gap: 1.5rem; }

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


/* ============================================================
   MOBILE STICKY CALL BUTTON
   ============================================================ */
.sticky-call {
  display: none;
}
@media (max-width: 47.9375rem) {
  .sticky-call {
    display: flex;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translate(-50%, 0.75rem);
    z-index: 90;
    align-items: center;
    gap: 0.5rem;
    background: var(--text-1);
    color: #FFFFFF;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t), box-shadow var(--t), opacity var(--t), visibility var(--t);
  }
  .sticky-call.is-visible {
    transform: translateX(-50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .sticky-call.is-visible:active { transform: translateX(-50%) scale(0.97); }
}

/* ── Anchor card resets ──────────────────────────────────────────────────────── */
a.service-full-card,
a.part-card {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* ── SEO Index (crawlable product link lists) ─────────────────────────────────  */
.seo-index {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--canvas);
}
.seo-index-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-1);
  margin-bottom: 1.75rem;
}
.seo-index-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem 2rem;
}
.seo-index-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 0.6rem;
}
.seo-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.seo-index-list a {
  font-size: 0.875rem;
  color: var(--text-1);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.seo-index-list a:hover {
  color: var(--text-1);
  border-bottom-color: var(--text-3);
}

/* ── 404 page ────────────────────────────────────────────────────────────────── */
body.page-404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.page-404 .site-main {
  flex: 1;
  display: flex;
}
.error-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
  text-align: center;
}
.error-inner { max-width: 480px; }
.error-code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 300;
  line-height: 1;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.error-heading {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.error-sub {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
