﻿/* ============================================================
   Kabeleon - styles.css
   Mobile-first responsive. Breakpoints: 480px, 750px, 1200px.
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --primary:        #0C9591;
  --primary-dark:   #00605E;
  --primary-light:  #E0F5F4;
  --primary-xlight: #F0FAFA;

  --text:           #111827;
  --text-secondary: #4B5563;
  --text-muted:     #9CA3AF;

  --bg:             #FFFFFF;
  --bg-alt:         #F5FAFA;
  --bg-dark:        #012B29;

  --border:         #E5E7EB;

  --font:           'Inter', system-ui, -apple-system, sans-serif;
  --fw-light:  300;
  --fw-reg:    400;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-xbold:  800;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);

  --nav-h:     64px;
  --container: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-weight: var(--fw-reg);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem,   5.5vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem);  }
h3 { font-size: clamp(1rem,   2vw,   1.125rem); }

p { line-height: 1.7; }

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

address { font-style: normal; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: #fff;
  font-weight: var(--fw-semi);
  border-radius: var(--radius);
  z-index: 9999;
  transition: top 0.1s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.75rem;
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section--alt  { background: var(--bg-alt); }
.section--teal {
  background: var(--primary);
  color: #fff;
}
.section--teal h2,
.section--teal p { color: #fff; }

/* ---- Eyebrow ---- */
.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.875rem;
}
.eyebrow--light { color: rgba(255,255,255,0.75); }

/* ---- Section header ---- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 1.25rem; }

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: var(--fw-semi);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  line-height: 1;
}
.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.btn--sm {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-img     { height: 30px; width: auto; }
.logo-fallback {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--text);
  letter-spacing: -0.02em;
  display: none;
}

/* hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: var(--fw-semi);
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.15s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  border-radius: 1px;
}
.nav-link:hover,
.nav-link.active { color: var(--primary); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: var(--fw-semi);
  padding-left: 1.25rem;
  margin-left: 0.25rem;
  border-left: 1px solid var(--border);
}
.lang-current { color: var(--primary); }
.lang-sep     { color: var(--text-muted); }
.lang-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.lang-link:hover { color: var(--primary); }

/* ---- Mobile nav ---- */
@media (max-width: 749px) {
  .nav-toggle { display: flex; }

  /* Keep logo and toggle above the sliding menu within the header stacking context */
  .nav-logo,
  .nav-toggle {
    position: relative;
    z-index: 2;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    padding: 0.5rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    /* Push the menu fully above the viewport (100% of own height + header height) */
    transform: translateY(calc(-100% - var(--nav-h)));
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-list li { width: 100%; }
  .nav-link {
    display: block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }
  .nav-link::after { display: none; }
  .nav-lang {
    width: 100%;
    padding: 0.875rem 1.5rem 0;
    margin: 0.5rem 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 70% 70% at 90% 10%, rgba(12,149,145,0.07) 0%, transparent 60%),
    var(--bg);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 750px) {
  .hero-container {
    grid-template-columns: 55fr 45fr;
    min-height: calc(85vh - var(--nav-h));
  }
}

.hero-content { max-width: 600px; }

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: var(--fw-xbold);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-accent { color: var(--primary); }

.hero-subhead {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: var(--text-secondary);
  font-weight: var(--fw-light);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.hero-text-link {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.hero-text-link span {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-text-link:hover { color: var(--text); text-decoration: none; }
.hero-text-link:hover span { color: var(--primary-dark); }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrap {
  width: 100%;
  max-width: 480px;
  position: relative;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,96,94,0.15));
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}
@media (min-width: 750px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1rem;
  font-weight: var(--fw-semi);
  margin-bottom: 0.625rem;
  color: var(--text);
}
.card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.problem-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}

@media (max-width: 599px) {
  .problem-photos { grid-template-columns: 1fr; }
}

.problem-photo-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.problem-photo-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
@media (min-width: 750px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
}

.how-text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.how-text p:last-child { margin-bottom: 0; }

.how-img {
  width: 100%;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 8px 32px rgba(0,96,94,0.12));
}

.in-situ-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 480px) {
  .in-situ-grid { grid-template-columns: 1fr 1fr; }
}

.in-situ-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.in-situ-item img {
  width: 100%;
  height: auto;
  display: block;
}
.in-situ-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 750px) {
  .quotes-grid { grid-template-columns: repeat(3, 1fr); }
}

.quote-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote-card p {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.25rem;
}
.quote-card footer { margin-top: auto; }
.quote-card cite {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: var(--fw-semi);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   STATUS (teal band)
   ============================================================ */
.status-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.status-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 1.5rem;
}
.status-inner p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.25rem;
}
.status-inner .btn { margin-top: 0.75rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 480px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: var(--shadow); }

.team-avatar-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
  background: var(--primary-light);
  flex-shrink: 0;
}
.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.team-avatar-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  color: var(--primary-dark);
  background: var(--primary-light);
  z-index: 0;
}

.team-info h3 {
  font-size: 1rem;
  font-weight: var(--fw-semi);
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.team-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.team-location {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: var(--fw-semi);
  color: var(--text);
}
.required-mark {
  color: var(--primary);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(12,149,145,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #DC2626;
}
.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.field-error {
  font-size: 0.8125rem;
  color: #DC2626;
  min-height: 1.1em;
}

.contact-form .btn { margin-top: 0.75rem; }

/* form success */
.form-success {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--primary-light);
  border: 1px solid rgba(12,149,145,0.25);
  border-radius: var(--radius-xl);
  color: var(--primary-dark);
}
.form-success[hidden] { display: none; }
.form-success svg { flex-shrink: 0; color: var(--primary); }
.form-success p {
  font-size: 1rem;
  font-weight: var(--fw-semi);
  color: var(--primary-dark);
  margin: 0;
}

.contact-direct {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}
.contact-direct a {
  color: var(--primary);
  font-weight: var(--fw-semi);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand a {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
}
.footer-logo {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-logo-fallback {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: #fff;
  display: none;
}
.footer-contact {
  font-size: 0.9375rem;
  line-height: 1.7;
}
.footer-contact a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-contact a:hover { color: #fff; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }

.footer-credit {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
  padding: 1rem 0;
}
.cookie-banner[hidden] { display: none; }

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.cookie-inner p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ============================================================
   SCROLL-FADE ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Cascade stagger for grid children */
.cards-grid .fade-up:nth-child(2),
.quotes-grid .fade-up:nth-child(2),
.team-grid   .fade-up:nth-child(2) { transition-delay: 0.1s; }

.cards-grid .fade-up:nth-child(3),
.quotes-grid .fade-up:nth-child(3),
.team-grid   .fade-up:nth-child(3) { transition-delay: 0.2s; }

.team-grid .fade-up:nth-child(4)   { transition-delay: 0.3s; }

/* Honour prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   STUB PAGE (privacy / cookies)
   ============================================================ */
.stub-page {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 6rem;
  min-height: 70vh;
}
.stub-page h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}
.stub-page .notice {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: var(--fw-semi);
  margin-bottom: 2rem;
}
.stub-page p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 640px;
  line-height: 1.75;
}
.stub-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 2rem;
  font-size: 0.9375rem;
  font-weight: var(--fw-semi);
  color: var(--primary);
}
.stub-page .back-link:hover { color: var(--primary-dark); }
