/* ==========================================================================
   AltriKlus — shared stylesheet
   Design tokens: navy base, lime-green accent, cream backgrounds
   ========================================================================== */

/* ==========================================================================
   Self-hosted fonts — Sora (headings) & Inter (body)
   SIL Open Font License. Subsetted to Latin for smaller file size.
   ========================================================================== */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1a2744;
  --navy-light: #243352;
  --cream: #f7f5f2;
  --cream-alt: #f0ece7;
  --ink: #2d2d2d;
  --grey: #6b7280;
  --grey-light: #9ca3af;
  --accent: #ccff66;
  --accent-ink: #234d0a;      /* dark green-black for text ON accent bg */
  --accent-dark: #a8d94a;     /* hover state for accent buttons */
  --border: #e5e7eb;
  --radius: 10px;
  --max-width: 1160px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(26, 39, 68, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 480px) {
  .container { padding: 0 22px; }
}

/* Visually hidden but accessible */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

/* ---------- Header ---------- */
.mobile-menu-brand, .mobile-menu-cta { display: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand-mark {
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.brand-text strong { font-family: var(--font-heading); display: block; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-text span { display: block; font-size: 0.68rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.65); text-transform: uppercase; }

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}
.main-nav li {
  list-style: none;
  margin: 0;
}
.main-nav a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 9px 11px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.main-nav a[aria-current="page"] { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-accent { display: none; }

  body.nav-open { overflow: hidden; }

  body.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--navy);
    padding: 100px 32px 120px;
    gap: 14px;
    z-index: 200;
    overflow-y: auto;
  }
  body.nav-open .main-nav li {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
  }
  body.nav-open .main-nav a {
    padding: 14px 16px;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
  }

  .mobile-menu-brand, .mobile-menu-cta { }
  body.nav-open .mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    top: 20px;
    left: 24px;
    z-index: 210;
    color: #fff;
  }
  body.nav-open .mobile-menu-cta {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 26px;
    z-index: 210;
  }
  body.nav-open .mobile-menu-cta .btn { width: 100%; max-width: 320px; justify-content: center; }

  body.nav-open .nav-toggle {
    position: fixed;
    top: 14px;
    right: 24px;
    z-index: 220;
    background: rgba(255,255,255,0.08);
  }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
  .nav-toggle .icon-close { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.94) 0%, rgba(26, 39, 68, 0.86) 42%, rgba(26, 39, 68, 0.55) 75%);
}
.hero.hero-compact::before {
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.88) 0%, rgba(26, 39, 68, 0.72) 45%, rgba(26, 39, 68, 0.38) 80%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 88px 0 76px;
  max-width: 680px;
}
.hero.hero-compact .hero-inner { padding: 64px 0 60px; max-width: 720px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 22px;
}
.badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--accent); }

.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

@media (max-width: 600px) {
  .hero-inner {
    padding: 56px 34px 68px;
  }
  .hero.hero-compact .hero-inner {
    padding: 52px 34px 40px;
  }
  .badge { margin-bottom: 26px; }
  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
    line-height: 1.22;
    margin-bottom: 22px;
  }
  .hero p.lead {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 26px;
  }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .trust-row { gap: 12px 20px; }
}

.trust-row {
  display: flex; flex-wrap: wrap; gap: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.trust-row span {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}
.trust-row svg { color: var(--accent); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-alt); }
.section-navy { background: var(--navy); color: #fff; }

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-navy .eyebrow { background: var(--accent); color: var(--navy); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--grey); font-size: 1.05rem; }
.section-navy .section-head p { color: rgba(255,255,255,0.75); }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--navy);
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--grey); font-size: 0.95rem; margin-bottom: 14px; }
.card-link { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.card-link::after { content: " →"; }

/* ---------- About / two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.stat-box {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 36px;
  text-align: center;
}
.stat-box .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-box .stat-label { color: rgba(255,255,255,0.75); margin-top: 8px; font-size: 0.95rem; }

.about-photo {
  position: relative;
}
.about-photo img {
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-photo-badge {
  position: absolute;
  right: 20px;
  bottom: -22px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 14px;
  padding: 18px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-photo-badge .stat-number { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.about-photo-badge .stat-label { font-size: 0.82rem; font-weight: 600; margin-top: 4px; }
@media (max-width: 480px) {
  .about-photo-badge { right: 14px; bottom: -18px; padding: 14px 20px; }
}

.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-list li { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.check-list svg { color: var(--navy); background: var(--accent); border-radius: 50%; padding: 3px; flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 52px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 26px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Werkgebied ---------- */
.area-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.area-pill {
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.area-pill.is-hq { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Referenties grid ---------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ref-grid { grid-template-columns: 1fr; } }

.ref-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ref-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ref-card-body { padding: 20px; }
.ref-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--cream-alt);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ref-card h3 { font-size: 1rem; margin-bottom: 6px; }
.ref-card p { font-size: 0.88rem; color: var(--grey); margin: 0; }

.testimonial {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
  padding: 34px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--ink); }
.testimonial cite { font-style: normal; color: var(--grey); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card, .info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.form-card h2, .info-card h2 { font-size: 1.2rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: none; }
.info-list .info-icon { color: var(--navy); background: var(--cream-alt); border-radius: 8px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-list strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--grey); }
.info-list span, .info-list a { font-size: 0.98rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 0.92rem; }

.footer-brand p { font-size: 0.92rem; max-width: 280px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ---------- Tegel / bento grid (homepage signature) ---------- */
.tile-section {
  background: var(--navy-light);
  padding: 6px;
  border-radius: 22px;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  grid-auto-flow: dense;
  gap: 6px;
}
.tile {
  position: relative;
  border-radius: 14px;
  padding: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tile-white { background: #fff; color: var(--ink); }
.tile-cream { background: var(--cream); color: var(--ink); }
.tile-navy { background: var(--navy); color: #fff; }
.tile-accent { background: var(--accent); color: var(--accent-ink); }

.tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tile p { font-size: 0.9rem; margin-bottom: 10px; }
.tile-navy p, .tile-cream .tile-muted { color: rgba(255,255,255,0.72); }
.tile-white p { color: var(--grey); }

.tile-icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--cream-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  color: var(--navy);
  flex-shrink: 0;
}
.tile-navy .tile-icon { background: rgba(255,255,255,0.12); color: var(--accent); }
.tile-accent .tile-icon { background: rgba(35,77,10,0.12); color: var(--accent-ink); }

.tile-link { font-size: 0.85rem; font-weight: 700; }
.tile-link::after { content: " →"; }
.tile-white .tile-link, .tile-cream .tile-link { color: var(--navy); }
.tile-navy .tile-link, .tile-accent .tile-link { color: inherit; }

/* Tile spans */
.tile--s   { grid-column: span 2; grid-row: span 1; }
.tile--m   { grid-column: span 2; grid-row: span 2; }
.tile--w   { grid-column: span 4; grid-row: span 1; }
.tile--wl  { grid-column: span 4; grid-row: span 2; }
.tile--l   { grid-column: span 3; grid-row: span 2; }
.tile--full{ grid-column: span 6; grid-row: span 1; }

.tile-stat-number { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.tile-stat-label { font-size: 0.85rem; opacity: 0.85; margin-top: 6px; }

.tile-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tile-pills span {
  background: rgba(255,255,255,0.12);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.tile-white .tile-pills span, .tile-cream .tile-pills span {
  background: var(--cream-alt);
  color: var(--navy);
}

.tile-quote { font-style: italic; font-size: 1rem; }
.tile-quote cite { display: block; font-style: normal; font-size: 0.82rem; margin-top: 10px; opacity: 0.8; }

@media (max-width: 900px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .tile--s, .tile--w, .tile--full { grid-column: span 2; grid-row: span 1; }
  .tile--m, .tile--l, .tile--wl { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 560px) {
  .tile-section { padding: 4px; border-radius: 16px; }
  .tile-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--s, .tile--m, .tile--w, .tile--l, .tile--wl, .tile--full { grid-column: span 1; grid-row: auto; min-height: 150px; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  z-index: 250;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab svg { width: 30px; height: 30px; }
@media (max-width: 600px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}
body.nav-open .whatsapp-fab { display: none; }
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-banner.is-hidden { display: none; }
.cookie-banner p { margin: 0; font-size: 0.92rem; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner-actions .btn { padding: 11px 20px; font-size: 0.9rem; }

/* ---------- Legal / policy pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: 2em; font-size: 1.3rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--grey); }
.legal-content ul { padding-left: 1.2em; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--ink); }
.legal-updated { color: var(--grey-light); font-size: 0.85rem; margin-bottom: 40px; }

/* ---------- Micro-animations ---------- */
.btn { transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.btn:active { transform: translateY(0) scale(0.97); }

.card, .ref-card, .tile {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, opacity 0.5s ease, translate 0.5s ease;
}

.brand-mark, .nav-toggle, .info-icon, .card-icon, .tile-icon { transition: transform 0.2s ease; }

.main-nav a { position: relative; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.hero-inner > * { animation: altriklus-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.02s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.14s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.2s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.26s; }

@keyframes altriklus-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal: JS toggles .is-visible; CSS handles the motion.
   Elements are visible by default (progressive enhancement — no JS = no animation, still visible). */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Form status / copy fallback ---------- */
.form-fallback {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--grey);
}
.form-fallback.is-hidden { display: none; }
.form-fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.btn-small {
  padding: 9px 16px;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn-small:active { transform: scale(0.97); }
.btn-small.is-copied { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Hover-only enhancements ----------
   Scoped to real pointer devices (mouse/trackpad) only. Without this,
   iOS Safari treats the first tap on any element with a :hover rule as
   "activating hover" rather than a click, so links need a second tap
   to actually navigate. Gating hover styles behind (hover: hover) avoids
   that entirely on toutouch devices. */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn-accent:hover { background: var(--accent-dark); }
  .btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
  .btn-outline-dark:hover { background: var(--navy); color: #fff; }
  .main-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .footer-grid a:hover { color: var(--accent); }
  .whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5); }
  .ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
  .card:hover .card-icon { transform: scale(1.08); }
  .main-nav a:hover::after { transform: scaleX(1); }
  .btn-small:hover { background: var(--cream-alt); }
}
