/* ==========================================================================
   Eduviaa — main.css
   Tokens, reset, typography, shared components, header, footer.
   Page-specific rules live in their own file (home.css, etc.)

   Structure
   1. Tokens
   2. Reset & base
   3. Typography
   4. Layout primitives
   5. Buttons
   6. Badges, chips, stars
   7. Forms
   8. Announcement bar
   9. Header & navigation
   10. Footer
   11. Utilities & motion preferences
   ========================================================================== */

/* 1. TOKENS ============================================================== */

:root {
  color-scheme: light;

  /* Brand palette — fixed by the build plan */
  --c-forest: #0f4a3c;        /* primary: nav, footer, headings, fills */
  --c-forest-deep: #0a3a2e;   /* footer base, pressed states */
  --c-forest-tint: #17614f;   /* hover lift on forest surfaces */
  --c-amber: #ea8c1a;         /* secondary CTA — "Reserve My Seat" */
  --c-amber-deep: #c9740f;
  --c-grass: #16a34a;         /* success, checkmarks, primary action */
  --c-grass-deep: #12833c;

  /* Surfaces */
  --c-page: #ffffff;
  --c-surface: #ffffff;
  --c-mint: #e8f5f0;          /* hero tint */
  --c-haze: #f3f4f6;          /* alternating section band */
  --c-line: #dce5e1;
  --c-line-soft: #edf2f0;

  /* Text — derived from the brand green rather than a neutral black,
     so body copy sits in the same family as the brand. */
  --c-text: #1f2a26;
  --c-muted: #5a6b65;
  --c-faint: #84968f;         /* placeholder-level text */
  --c-on-dark: #ffffff;
  --c-on-dark-muted: #b9d2c8;

  /* Type */
  --font-display: 'Poppins', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid scale, major third at the top end */
  --t-display: clamp(2.25rem, 1.55rem + 2.9vw, 3.5rem);
  --t-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --t-h3: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem);
  --t-lead: clamp(1.02rem, 0.98rem + 0.2vw, 1.15rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-micro: 0.75rem;

  --lh-tight: 1.14;
  --lh-snug: 1.35;
  --lh-body: 1.65;
  --measure: 68ch;

  /* Spacing */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.25rem;  --s-6: 1.5rem;   --s-8: 2rem;     --s-10: 2.5rem;
  --s-12: 3rem;    --s-16: 4rem;    --s-20: 5rem;
  --s-section: clamp(3.5rem, 2rem + 6vw, 6rem);
  --gutter: clamp(1.25rem, 0.5rem + 2.5vw, 2rem);
  --wrap: 1200px;

  /* Radius — deliberately tiered, not one value everywhere */
  --r-input: 10px;
  --r-card: 16px;
  --r-panel: 20px;
  --r-media: 24px;
  --r-pill: 999px;

  /* Elevation — green-tinted, scaled to purpose */
  --sh-card: 0 1px 2px rgba(15, 74, 60, 0.06), 0 10px 24px -16px rgba(15, 74, 60, 0.28);
  --sh-raised: 0 2px 4px rgba(15, 74, 60, 0.08), 0 18px 40px -20px rgba(15, 74, 60, 0.38);
  --sh-float: 0 8px 30px -8px rgba(15, 74, 60, 0.30);

  --focus: 0 0 0 3px #ffffff, 0 0 0 6px var(--c-grass);
  --tap: 44px; /* minimum touch target */
}

[data-theme='dark'] {
  color-scheme: dark;
  --c-page: #0c1614;
  --c-surface: #132320;
  --c-mint: #102b25;
  --c-haze: #101d1a;
  --c-line: #24403a;
  --c-line-soft: #1c322d;
  --c-text: #e8f1ee;
  --c-muted: #a3b8b1;
  --c-faint: #7e948d;
  --c-forest: #1d7a62;
  --c-forest-deep: #0a1f1a;
  --c-forest-tint: #248a70;
  --sh-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 24px -16px rgba(0, 0, 0, 0.6);
  --sh-raised: 0 2px 4px rgba(0, 0, 0, 0.45), 0 18px 40px -20px rgba(0, 0, 0, 0.7);
  --sh-float: 0 8px 30px -8px rgba(0, 0, 0, 0.6);
  --focus: 0 0 0 3px #0c1614, 0 0 0 6px var(--c-grass);
}

/* 2. RESET & BASE ======================================================== */

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

/* JS toggles panels with the hidden attribute; this keeps a future author
   display rule from silently overriding it. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-page);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--c-forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-grass-deep); }
[data-theme='dark'] a:hover { color: var(--c-grass); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* Screen-reader-only, but focusable for the skip link */
.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;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--c-surface); color: var(--c-forest);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-input);
  box-shadow: var(--sh-raised); font-weight: 600; text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: var(--s-4); }

/* 3. TYPOGRAPHY ========================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  color: var(--c-forest);
  text-wrap: balance;
}
[data-theme='dark'] h1,
[data-theme='dark'] h2,
[data-theme='dark'] h3,
[data-theme='dark'] h4 { color: var(--c-text); }

h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: var(--lh-snug); letter-spacing: -0.01em; }

p { margin: 0 0 var(--s-4); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--t-lead);
  color: var(--c-muted);
  line-height: 1.6;
  max-width: 58ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-grass-deep);
  background: rgba(22, 163, 74, 0.10);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-pill);
  margin-bottom: var(--s-4);
}
[data-theme='dark'] .eyebrow { color: #6ee7a5; background: rgba(22, 163, 74, 0.18); }

/* 4. LAYOUT PRIMITIVES =================================================== */

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: var(--s-section); }
.section--mint { background: var(--c-mint); }
.section--haze { background: var(--c-haze); }
.section--forest { background: var(--c-forest); color: var(--c-on-dark); }
.section--forest h2 { color: var(--c-on-dark); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }

/* Section heading block: title left, action right on wide screens */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-10);
}
.section-head p { margin-bottom: 0; }
.section-head h2 { margin-bottom: var(--s-3); }
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center .lead { margin-inline: auto; }

/* 5. BUTTONS ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: var(--tap);
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease,
              color 0.18s ease, transform 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--c-grass); color: #fff; }
.btn--primary:hover { background: var(--c-grass-deep); color: #fff; }

.btn--forest { background: var(--c-forest); color: #fff; }
.btn--forest:hover { background: var(--c-forest-tint); color: #fff; }

.btn--amber { background: var(--c-amber); color: #24140a; }
.btn--amber:hover { background: var(--c-amber-deep); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: var(--c-line);
  color: var(--c-forest);
}
.btn--ghost:hover { border-color: var(--c-grass); color: var(--c-grass-deep); }
[data-theme='dark'] .btn--ghost { color: var(--c-text); }

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

.btn--lg { padding: 0.95rem 1.9rem; font-size: var(--t-body); }
.btn--block { width: 100%; }

/* Text link with a trailing chevron drawn in CSS, not typed as an arrow */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-small);
  color: var(--c-grass-deep);
  text-decoration: none;
}
.link-more::after {
  content: '';
  width: 0.42em; height: 0.42em;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  transition: translate 0.18s ease;
}
.link-more:hover::after { translate: 3px 0; }
[data-theme='dark'] .link-more { color: #6ee7a5; }

/* 6. BADGES, CHIPS, STARS ================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: var(--t-micro);
  font-weight: 600;
  line-height: 1.4;
}
.badge--body { background: var(--c-forest); color: #fff; }
.badge--quiet { background: var(--c-mint); color: var(--c-forest); }
.badge--amber { background: rgba(234, 140, 26, 0.14); color: var(--c-amber-deep); }
[data-theme='dark'] .badge--quiet { background: rgba(22, 163, 74, 0.16); color: #9ae6c0; }
[data-theme='dark'] .badge--amber { color: #f5b45c; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--c-surface);
  color: var(--c-text);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-float);
  font-size: var(--t-small);
  font-weight: 500;
}
.chip strong { font-family: var(--font-display); font-weight: 700; }

/* Star rating built from a masked shape so half values render exactly */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star {
  width: 0.95em;
  height: 0.95em;
  background: var(--c-line);
  -webkit-mask: var(--star-shape) center / contain no-repeat;
  mask: var(--star-shape) center / contain no-repeat;
}
:root {
  --star-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.26 6.85.72-5.1 4.6 1.42 6.72L12 16.9l-6.07 3.4 1.42-6.72-5.1-4.6 6.85-.72z'/%3E%3C/svg%3E");
}
.star.is-full { background: var(--c-amber); }
.star.is-half { background: linear-gradient(90deg, var(--c-amber) 50%, var(--c-line) 50%); }

.rating-line {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-small);
  color: var(--c-muted);
}
.rating-line b { color: var(--c-text); font-weight: 600; }

/* Checkmark list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.ticks li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--s-3);
  align-items: start;
  line-height: 1.5;
}
.ticks li::before {
  content: '';
  width: 1.5rem; height: 1.5rem;
  border-radius: var(--r-pill);
  background: var(--c-grass) var(--tick-shape) center / 0.8rem no-repeat;
}
:root {
  --tick-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* 7. FORMS =============================================================== */

.field { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.field > label {
  font-size: var(--t-small);
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--c-text);
}
.field .req { color: #c2410c; }
[data-theme='dark'] .field .req { color: #fb923c; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 0.7rem 0.9rem;
  background: var(--c-surface);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-input);
  color: var(--c-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
.field select { appearance: none; padding-right: 2.4rem; background-image: var(--caret-shape); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 0.7rem; }
:root {
  --caret-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.field input::placeholder,
.field textarea::placeholder { color: var(--c-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-grass);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'],
.field select[aria-invalid='true'] { border-color: #dc2626; }

.field-error {
  font-size: var(--t-small);
  color: #b91c1c;
  min-height: 1.2em;
}
[data-theme='dark'] .field-error { color: #fca5a5; }
.field-error:empty { min-height: 0; }

.form-note {
  font-size: var(--t-small);
  color: var(--c-muted);
  margin-top: var(--s-3);
}

/* Form-level status message, populated by JS after submission */
.form-status {
  display: none;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-input);
  font-size: var(--t-small);
  margin-bottom: var(--s-4);
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: rgba(22, 163, 74, 0.12); color: var(--c-grass-deep); }
.form-status.is-bad { background: rgba(220, 38, 38, 0.10); color: #b91c1c; }
[data-theme='dark'] .form-status.is-ok { color: #6ee7a5; }
[data-theme='dark'] .form-status.is-bad { color: #fca5a5; }

/* Honeypot. Moved off-screen rather than display:none or
   visibility:hidden, because the better spam bots skip fields hidden
   those two ways — which is exactly the population this is meant to
   catch. The input also carries tabindex="-1" and the wrapper
   aria-hidden="true", so keyboard and screen-reader users never reach
   it and no real submission can fill it in. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Setup hint shown only while APP_ENV is not 'production'. Deliberately
   plain and loud: it is a message to whoever is installing the site,
   not part of the design. */
.setup-notice {
  background: #fef3c7;
  color: #713f12;
  border-bottom: 2px solid #f59e0b;
  padding: var(--s-3) var(--s-4);
  font-size: var(--t-small);
  text-align: center;
  line-height: var(--lh-body);
}
.setup-notice code {
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.95em;
}
.setup-notice__env { display: block; opacity: 0.75; }

/* 8. ANNOUNCEMENT BAR ==================================================== */

.announce {
  background: var(--c-forest-deep);
  color: var(--c-on-dark);
  font-size: var(--t-small);
  overflow: hidden;
  position: relative;
}
.announce__track {
  display: flex;
  width: max-content;
  gap: var(--s-16);
  padding-block: 0.5rem;
  animation: marquee 34s linear infinite;
}
.announce__group {
  display: flex;
  gap: var(--s-16);
  flex-shrink: 0;
}
.announce__item { white-space: nowrap; }
.announce__item b { color: #ffd28a; font-weight: 600; }
.announce:hover .announce__track,
.announce:focus-within .announce__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--s-8))); }
}

/* 9. HEADER & NAVIGATION ================================================= */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-page);
  border-bottom: 1px solid var(--c-line-soft);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--c-forest);
  margin-right: auto;
}
[data-theme='dark'] .brand { color: var(--c-text); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--c-forest);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
[data-theme='dark'] .brand__mark { background: var(--c-grass); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-input);
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  background: none;
  border: 0;
}
.nav__link:hover { background: var(--c-mint); color: var(--c-forest); }
[data-theme='dark'] .nav__link:hover { color: var(--c-text); }
.nav__link[aria-current='page'] { color: var(--c-forest); font-weight: 600; }
[data-theme='dark'] .nav__link[aria-current='page'] { color: #6ee7a5; }

.nav__item { position: relative; }
.nav__caret {
  width: 0.4em; height: 0.4em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.18s ease;
}
.nav__link[aria-expanded='true'] .nav__caret { transform: rotate(-135deg) translate(-3px, -3px); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 290px;
  padding: var(--s-3);
  background: var(--c-surface);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-card);
  box-shadow: var(--sh-raised);
  display: none;
}
.dropdown.is-open { display: block; }
.dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3);
  border-radius: var(--r-input);
  font-size: var(--t-small);
  color: var(--c-text);
  text-decoration: none;
}
.dropdown__link:hover { background: var(--c-mint); color: var(--c-forest); }
[data-theme='dark'] .dropdown__link:hover { color: var(--c-text); }
.dropdown__all {
  margin-top: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-line-soft);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: var(--tap); height: var(--tap);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-input);
  background: transparent;
  color: var(--c-text);
  flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--c-grass); color: var(--c-grass-deep); }
[data-theme='dark'] .icon-btn:hover { color: var(--c-grass); }
.icon-btn svg { width: 20px; height: 20px; }

/* Theme toggle swaps which glyph is shown */
[data-theme='dark'] .icon-sun { display: none; }
.icon-moon { display: none; }
[data-theme='dark'] .icon-moon { display: block; }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .masthead__inner { gap: var(--s-3); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-1);
    padding: var(--s-4) var(--gutter) var(--s-6);
    background: var(--c-page);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-raised);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: var(--s-3); font-size: var(--t-body); }
  .nav__item { position: static; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--c-line);
    border-radius: 0;
    margin: var(--s-1) 0 var(--s-2) var(--s-3);
    padding: 0 0 0 var(--s-2);
    min-width: 0;
  }
  .nav .btn { margin-top: var(--s-2); }
}

/* 10. FOOTER ============================================================= */

.footer {
  background: var(--c-forest-deep);
  color: var(--c-on-dark-muted);
  padding-block: var(--s-16) var(--s-6);
  font-size: var(--t-small);
}
.footer a { color: var(--c-on-dark-muted); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__grid {
  display: grid;
  gap: var(--s-10) var(--s-8);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  align-items: start;
}
.footer__brand { grid-column: span 2; max-width: 34ch; }
@media (max-width: 700px) { .footer__brand { grid-column: span 1; } }

.footer .brand { color: #fff; margin-right: 0; margin-bottom: var(--s-4); }
.footer .brand__mark { background: var(--c-grass); }

.footer h3 {
  color: #fff;
  font-size: var(--t-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.footer__list li { display: flex; align-items: flex-start; gap: var(--s-2); line-height: 1.4; }
.footer__list .ico { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--c-grass); margin-top: 0.125rem; }
.footer p { color: var(--c-on-dark-muted); }

.social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.social a:hover { background: var(--c-grass); text-decoration: none; }
.social svg { width: 18px; height: 18px; }

.contact-list { display: grid; gap: var(--s-4); }
.contact-list > div { display: grid; grid-template-columns: 1.2rem 1fr; gap: var(--s-3); align-items: start; }
.contact-list svg { width: 1.1rem; height: 1.1rem; color: var(--c-grass); margin-top: 3px; }

.footer__base {
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  align-items: center;
  justify-content: space-between;
  font-size: var(--t-micro);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }

/* Floating WhatsApp affordance, present on every page */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: var(--r-pill);
  background: #25d366;
  color: #06331a;
  box-shadow: var(--sh-float);
}
.wa-float:hover { background: #1eb955; color: #06331a; }
.wa-float svg { width: 28px; height: 28px; }

/* 11. UTILITIES & MOTION ================================================= */

/* A block of running copy, capped at a comfortable measure. Lives here
   rather than in a page stylesheet because more than one page needs it
   and two definitions would drift. */
.prose { max-width: var(--measure); }
.prose + .prose { margin-top: var(--s-10); }
.prose h2 { margin: 0 0 var(--s-4); font-size: var(--t-h2); line-height: var(--lh-snug); }
.prose p { margin: 0 0 var(--s-4); color: var(--c-muted); }
.prose p:last-child { margin-bottom: 0; }

.stack-sm { display: grid; gap: var(--s-3); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }

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