/* =========================================================
   EDVISE — Design System
   Signature idea: the diagonal seam. Two business areas
   (marketing/coral, quiz/turquoise) meet along one navy line —
   the same seam motif recurs in the hero, section dividers and
   the quiz "answer sheet" cards, standing in for "one person,
   two ways in."
   ========================================================= */

:root {
  /* Color tokens */
  --navy: #172033;
  --navy-soft: #2b3550;
  --offwhite: #F7F5F0;
  --offwhite-dim: #ece8de;
  --coral: #F97B2F;
  --coral-dark: #d9620f;
  --coral-tint: #fde8d8;
  --turquoise: #35B8A6;
  --turquoise-dark: #268f81;
  --turquoise-tint: #d9f2ee;
  --yellow: #FFD166;

  /* Type */
  --font-display: 'Manrope', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Radii / shadow */
  --r-card: 16px;
  --r-btn: 8px;
  --shadow-card: 0 1px 2px rgba(23,32,51,0.06), 0 8px 24px rgba(23,32,51,0.06);

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2.5rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  --container: 1120px;
}

/* ---------- Reset ---------- */
*, *::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; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* Visible focus states everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Type scale ---------- */
h1, .h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2, .h2 { font-size: clamp(1.6rem, 3.1vw, 2.3rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.9vw, 1.4rem); }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; }
.small { font-size: 0.9rem; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--sp-7) 0; }
.section--tight { padding: var(--sp-6) 0; }
@media (max-width: 640px) {
  .section { padding: var(--sp-6) 0; }
  .section--tight { padding: var(--sp-5) 0; }
}
.section--navy { background: var(--navy); color: var(--offwhite); }
.section--offwhite-dim { background: var(--offwhite-dim); }
.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--5 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); }
.btn-turquoise { background: var(--turquoise); color: #fff; }
.btn-turquoise:hover { background: var(--turquoise-dark); }
.btn-navy { background: var(--navy); color: var(--offwhite); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline-light { border-color: var(--offwhite); color: var(--offwhite); background: transparent; }
.btn-outline-light:hover { background: rgba(247,245,240,0.12); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: rgba(23,32,51,0.06); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(23,32,51,0.08);
}
/* backdrop-filter on an ancestor can make iOS Safari mis-position fixed
   descendants (a WebKit quirk, not spec behaviour). The mobile nav panel
   below is position:fixed, so it isolates itself from that by living in
   its own stacking context via position + z-index, independent of the
   header's filter. See @media block below for the actual fix details. */
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: var(--container); margin: 0 auto; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 2px; }
.wordmark span.dot { color: var(--coral); }
.nav-links { display: flex; gap: var(--sp-5); align-items: center; }
.nav-links a { font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--coral); }
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta[aria-current="page"] {
  border-bottom: none;
  padding: 0.6rem 1.2rem;
}
.nav-cta { margin-left: var(--sp-2); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px); /* dvh where supported, avoids iOS toolbar jump */
    margin: 0;
    background-color: #F7F5F0; /* solid, opaque: no blur, no alpha, matches --offwhite */
    background-image: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    flex-direction: column; align-items: flex-start; padding: var(--sp-4) 1.5rem;
    gap: var(--sp-3);
    z-index: 100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 12px 24px rgba(23,32,51,0.15);
    /* Visibility (not opacity) drives show/hide, so the panel is either
       fully solid or fully absent, never part-transparent mid-transition. */
    visibility: hidden;
    transform: translateY(-8px);
    transition: transform 0.18s ease, visibility 0s linear 0.18s;
  }
  .nav-links.is-open {
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.18s ease, visibility 0s linear 0s;
  }
  .nav-links a { font-size: 1.1rem; width: 100%; color: var(--navy); }
  .nav-cta { margin-left: 0; }
}


/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--offwhite); padding: var(--sp-6) 0 var(--sp-4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-4); } }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: var(--sp-2); color: var(--offwhite); }
.footer-grid a, .footer-grid p { color: rgba(247,245,240,0.75); }
.footer-grid a:hover { color: var(--offwhite); }
.footer-links li { margin-bottom: 0.5rem; }
.footer-bottom { margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid rgba(247,245,240,0.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; color: rgba(247,245,240,0.55); font-size: 0.85rem; }

/* ---------- Hero: the seam ---------- */
.hero {
  background: var(--navy);
  color: var(--offwhite);
  padding: var(--sp-8) 0 var(--sp-7);
}
.hero__grid { display: flex; align-items: center; gap: var(--sp-6); }
.hero__content { max-width: 600px; }
.hero__art {
  display: none;
  flex: 0 0 300px;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__art svg { width: 100%; height: 100%; display: block; }
@media (min-width: 900px) { .hero__art { display: block; } }
.hero .eyebrow { color: var(--yellow); margin-bottom: var(--sp-3); display: inline-block; }
.hero h1 { margin-bottom: var(--sp-3); }
.hero .lede { color: rgba(247,245,240,0.85); max-width: 560px; margin-bottom: var(--sp-4); }
.hero__cta-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* Page hero (secondary pages) — simpler, single accent */
.page-hero { padding: var(--sp-7) 0 var(--sp-6); }
.page-hero--coral { background: var(--navy); border-bottom: 6px solid var(--coral); }
.page-hero--turquoise { background: var(--navy); border-bottom: 6px solid var(--turquoise); }
.page-hero { color: var(--offwhite); }

/* ---------- Cards ---------- */
.card {
  display: block;
  background: #fff;
  border-radius: var(--r-card);
  padding: var(--sp-4);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(23,32,51,0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
a.card:hover { box-shadow: 0 2px 4px rgba(23,32,51,0.08), 0 12px 28px rgba(23,32,51,0.1); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--navy-soft); }

.path-card { padding: var(--sp-5); border-radius: 20px; color: #fff; position: relative; overflow: hidden; }
.path-card--coral { background: linear-gradient(150deg, var(--coral) 0%, var(--coral-dark) 100%); }
.path-card--turquoise { background: linear-gradient(150deg, var(--turquoise) 0%, var(--turquoise-dark) 100%); }
.path-card h3 { font-size: 1.5rem; margin-bottom: var(--sp-2); }
.path-card p { color: rgba(255,255,255,0.9); margin-bottom: var(--sp-4); }

.service-card { display: flex; flex-direction: column; gap: var(--sp-2); }
.service-card__icon { width: 40px; height: 40px; }

/* ---------- Section dividers (seam motif) ---------- */
.seam-divider { height: 3px; width: 64px; border-radius: 2px; margin-bottom: var(--sp-3); }
.seam-divider--coral { background: var(--coral); }
.seam-divider--turquoise { background: var(--turquoise); }
.seam-divider--navy { background: var(--navy); }

/* ---------- Image placeholders ---------- */
.placeholder {
  background: repeating-linear-gradient(135deg, var(--offwhite-dim), var(--offwhite-dim) 10px, #e2ddcf 10px, #e2ddcf 20px);
  border: 1px dashed rgba(23,32,51,0.35);
  border-radius: var(--r-card);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--navy-soft); font-size: 0.85rem; padding: var(--sp-3);
  min-height: 220px;
}
.placeholder strong { display: block; font-family: var(--font-display); color: var(--navy); margin-bottom: 4px; }

/* Equal-height cards in a grid */
.grid--3.cards-equal, .grid--2.cards-equal { align-items: stretch; }
.grid--3.cards-equal > *, .grid--2.cards-equal > * { display: flex; flex-direction: column; }
.grid--3.cards-equal > * form, .grid--2.cards-equal > * form { flex: 1; display: flex; flex-direction: column; }
.grid--3.cards-equal > * form .btn { margin-top: auto; }

/* ---------- Service carousel (slowly scrolling icon strip) ---------- */
.service-carousel { overflow: hidden; position: relative; padding: var(--sp-2) 0; }
.service-carousel::before, .service-carousel::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.service-carousel::before { left: 0; background: linear-gradient(to right, var(--offwhite-dim), transparent); }
.service-carousel::after { right: 0; background: linear-gradient(to left, var(--offwhite-dim), transparent); }
.service-carousel__track { display: flex; gap: var(--sp-4); animation: carousel-scroll 28s linear infinite; width: max-content; }
@media (prefers-reduced-motion: reduce) { .service-carousel__track { animation: none; } }
.service-carousel:hover .service-carousel__track,
.service-carousel:focus-within .service-carousel__track { animation-play-state: paused; }
@keyframes carousel-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.service-carousel__item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; min-width: 100px; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-card); flex-shrink: 0; }
.service-carousel__item svg { width: 32px; height: 32px; color: var(--coral); }
.service-carousel__item span { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: var(--navy); text-align: center; white-space: nowrap; }

/* ---------- Skapa/Synas/Utvecklas: icon placeholder (no real photo yet) ---------- */
.skapa-tile__icon-placeholder { display: flex; align-items: center; justify-content: center; height: 200px; width: 100%; }
.skapa-tile--wide .skapa-tile__icon-placeholder { height: 240px; }
.skapa-tile--portrait .skapa-tile__icon-placeholder { height: 320px; }

/* ---------- Skapa: photo/video tiles ---------- */
.skapa-tile { border-radius: var(--r-card); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.skapa-tile img, .skapa-tile video { width: 100%; display: block; object-fit: cover; }
.skapa-tile--wide img, .skapa-tile--wide video { height: 240px; }
.skapa-tile--portrait img, .skapa-tile--portrait video { height: 320px; }
/* ---------- Skapa: photo/video tiles ---------- */
.skapa-tile { border-radius: var(--r-card); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.skapa-tile img, .skapa-tile video { width: 100%; display: block; object-fit: cover; }
.skapa-tile--wide img, .skapa-tile--wide video { height: 240px; }
/* UGC 9:16 – show full video, nothing cropped */
.skapa-tile--portrait img { height: 320px; object-fit: cover; }
.skapa-tile--portrait video { height: 320px; object-fit: cover; }

/* UGC tile: thumbnail with play button */
.ugc-thumb { position: relative; cursor: pointer; display: block; }
.ugc-thumb img { width: 100%; height: 320px; object-fit: cover; display: block; transition: filter 0.2s; }
.ugc-thumb:hover img, .ugc-thumb:focus img { filter: brightness(0.85); }
.ugc-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ugc-play-btn svg { width: 64px; height: 64px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); transition: transform 0.18s; }
.ugc-thumb:hover .ugc-play-btn svg, .ugc-thumb:focus .ugc-play-btn svg { transform: scale(1.1); }

/* UGC lightbox */
.ugc-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 200; display: flex; align-items: center; justify-content: center; }
.ugc-lightbox[hidden] { display: none; }
.ugc-lightbox__close { position: absolute; top: 1.25rem; right: 1.25rem; background: rgba(255,255,255,0.15); border: none; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 201; }
.ugc-lightbox__close:hover { background: rgba(255,255,255,0.28); }
.ugc-lightbox__close svg { width: 20px; height: 20px; }
.skapa-tile__label { padding: var(--sp-3); flex: 1; }
.skapa-tile__label .eyebrow { display: block; margin-bottom: var(--sp-1); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.skapa-tile__label p { color: rgba(247,245,240,0.8); font-size: 0.88rem; line-height: 1.5; margin: 0; }
@media (max-width: 640px) { .skapa-tile--wide img, .skapa-tile--wide video { height: 200px; } .skapa-tile--portrait img { height: 260px; } }

/* ---------- Portrait photo frame ---------- */
.portrait-frame {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.portrait-frame img { width: 100%; height: auto; object-fit: cover; display: block; }

/* ---------- Skapa: branded category tiles (placeholder until real photos exist) ---------- */
.category-tile {
  border-radius: var(--r-card);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
  text-align: center;
  color: #fff;
}
.category-tile svg { width: 40px; height: 40px; }
.category-tile span { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.category-tile--navy { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 100%); }
.category-tile--coral { background: linear-gradient(150deg, var(--coral) 0%, var(--coral-dark) 100%); }
.category-tile--turquoise { background: linear-gradient(150deg, var(--turquoise) 0%, var(--turquoise-dark) 100%); }
.category-tile--yellow { background: linear-gradient(150deg, var(--yellow) 0%, #e8ad2e 100%); color: var(--navy); }

/* ---------- Photo marquee (auto-scrolling gallery) ---------- */
.photo-marquee {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.photo-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: max-content;
  padding: var(--sp-2) 0;
  animation: photo-marquee-scroll 55s linear infinite;
}
.photo-marquee:hover .photo-marquee__track,
.photo-marquee:focus-within .photo-marquee__track {
  animation-play-state: paused;
}
.photo-marquee__track img {
  height: 260px;
  width: auto;
  flex-shrink: 0;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  display: block;
}
@media (max-width: 640px) {
  .photo-marquee__track img { height: 170px; }
  .photo-marquee__track { gap: var(--sp-2); }
}
@keyframes photo-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .photo-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .photo-marquee__track { animation: none; width: max-content; }
  .photo-marquee__track img[data-dup="true"] { display: none; }
}

/* ---------- Quiz answer-sheet motif ---------- */
.quiz-card {
  background: #fff; border-radius: var(--r-card); padding: var(--sp-4);
  border: 2px solid var(--navy); position: relative;
}
.quiz-card__label {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--navy);
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  margin-bottom: var(--sp-2);
}
.quiz-card--a .quiz-card__label { background: var(--turquoise); color: #fff; border-color: var(--turquoise); }
.quiz-card--b .quiz-card__label { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.quiz-card--c .quiz-card__label { background: var(--navy); color: #fff; }
.quiz-card ul { margin-top: var(--sp-2); }
.quiz-card li { padding: 0.25rem 0; border-bottom: 1px dotted rgba(23,32,51,0.2); font-size: 0.95rem; }
.quiz-card li:last-child { border-bottom: none; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: var(--sp-3); }
.form-field label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-field .hint { display: block; font-size: 0.82rem; color: var(--navy-soft); margin-top: 0.3rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: 8px; border: 1.5px solid rgba(23,32,51,0.25);
  background: #fff; color: var(--navy);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(23,32,51,0.4); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy); outline: none; }
.form-field label { color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
fieldset { border: none; padding: 0; margin: 0 0 var(--sp-3); }
fieldset legend { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; padding: 0; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.radio-group label, .checkbox-group label {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-family: var(--font-body);
  background: #fff; border: 1.5px solid rgba(23,32,51,0.2);
  padding: 0.55rem 0.9rem; border-radius: 999px; cursor: pointer;
  color: var(--navy); min-height: 44px; line-height: 1.3;
  /* Prevent text from wrapping away from the radio/checkbox circle */
  white-space: nowrap;
}
/* On narrow screens, allow wrapping but keep button + first word together */
@media (max-width: 640px) {
  .radio-group, .checkbox-group { flex-direction: column; gap: 0.4rem; }
  .radio-group label, .checkbox-group label { width: 100%; white-space: normal; border-radius: 10px; }
}
.radio-group label:has(input:checked), .checkbox-group label:has(input:checked) { border-color: var(--coral); background: var(--coral-tint); }
/* Vertical stack variant (already set, always stacks) */
.radio-group--stack { flex-direction: column; gap: 0.4rem; }
.radio-group--stack label { width: 100%; white-space: normal; border-radius: 10px; }
.form-status { margin-top: var(--sp-3); font-family: var(--font-display); font-weight: 700; display: none; }
.form-status.is-visible { display: block; }

/* ---------- Multi-select dropdown ---------- */
.multiselect { position: relative; }
.multiselect__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.75rem 0.9rem; border-radius: 8px; border: 1.5px solid rgba(23,32,51,0.25);
  background: #fff; font-family: inherit; font-size: 1rem; color: var(--navy); text-align: left; cursor: pointer;
}
.multiselect__toggle:hover { border-color: rgba(23,32,51,0.4); }
.multiselect.is-open .multiselect__toggle { border-color: var(--navy); }
.multiselect__toggle-text { color: var(--navy-soft); }
.multiselect__toggle-text.has-value { color: var(--navy); font-weight: 500; }
.multiselect__chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.15s ease; }
.multiselect.is-open .multiselect__chevron { transform: rotate(180deg); }
.multiselect__panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: #fff; border: 1.5px solid rgba(23,32,51,0.15); border-radius: 12px;
  box-shadow: var(--shadow-card); padding: 0.6rem; max-height: 280px; overflow-y: auto;
}
.multiselect__option {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.6rem; border-radius: 8px;
  font-weight: 500; cursor: pointer; min-height: 44px; color: var(--navy);
}
.multiselect__option:hover { background: var(--offwhite-dim); }
.multiselect__option input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--coral); }

/* ---------- Testimonials (built, empty until content exists) ---------- */
.testimonial-card { background: var(--offwhite-dim); border-radius: var(--r-card); padding: var(--sp-5) var(--sp-4); }
.testimonial-card__quote { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; line-height: 1.6; color: var(--navy); margin-bottom: var(--sp-4); }
.testimonial-card__who { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); flex-shrink: 0; overflow: hidden; }
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonials-empty { text-align: center; padding: var(--sp-5) var(--sp-3); border: 1.5px dashed rgba(23,32,51,0.3); border-radius: var(--r-card); color: var(--navy-soft); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.max-w-content { max-width: 680px; }
.tag {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px;
}
.tag--coral { background: var(--coral-tint); color: var(--coral-dark); }
.tag--turquoise { background: var(--turquoise-tint); color: var(--turquoise-dark); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--offwhite);
  padding: 0.75rem 1.25rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
