/* EcoVita Network — mobile-first stylesheet.
   Palette: Deep Navy #2D3063 (identity, headings, text) · Golden Yellow #D4AD4D
   (actions & accents) · White. Depth comes from spacing, borders and colour
   blocks only — no shadows, no gradients. */

:root {
  --primary: #2D3063;
  --primary-deep: #22244C;
  --primary-tint: #eef0f6;
  --accent: #D4AD4D;
  --accent-dark: #b5923a;
  --accent-tint: #f7efdc;
  --ink: #24264d;
  --muted: #565a7d;
  --line: #dfe1ec;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --wrap: 1200px;
  --radius: 12px;
  --measure: 68ch;
  /* Image slot aspect ratios — adjust when real photography arrives. */
  --ratio-hero: 4 / 3;
  --ratio-card: 16 / 9;
  --ratio-portrait: 3 / 4;
  --sticky-h: 64px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 46rem; }

h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: 1.9rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }
.lede { font-size: 1.1rem; color: var(--muted); }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* The EcoVita leaf — signature mark reused across lists, steps, trust items. */
.leaf { width: 34px; height: 34px; color: var(--primary); flex: none; }
.medallion {
  width: 1.9em; height: 1.9em;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  background: #fff;
  flex: none;
}
.medallion .icon { width: 0.95em; height: 0.95em; vertical-align: 0; }
.medallion-gold { border-color: var(--accent-dark); color: var(--primary-deep); background: var(--accent-tint); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0.6em 1.3em;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn-gold { background: var(--accent); color: var(--primary-deep); }
.btn-gold:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--primary-deep); }
.btn-navy { background: var(--primary); color: #fff; }
.btn-navy:hover { background: var(--primary-deep); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary-tint); color: var(--primary-deep); }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { background: var(--accent-tint); color: var(--primary-deep); }
.btn-lg { padding: 0.8em 1.6em; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 0.4em 0.9em; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-block + .btn-block { margin-top: 8px; }

.text-link { font-weight: 600; }
.text-link .icon { width: 1em; height: 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 120;
  background: var(--primary); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 8px; font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-word { font-size: 1.12rem; font-weight: 400; color: var(--primary); }
.brand-word b { font-weight: 800; }
.brand-word span { color: var(--muted); font-weight: 400; }
.brand-logo { height: 46px; width: auto; display: block; object-fit: contain; }
.brand-logo-footer {
  height: 48px; padding: 8px 14px;
  background: #fff; border-radius: 10px;
}

.main-nav {
  display: none;
  position: absolute;
  top: 68px; left: 0; right: 0;
  background: #fff;
  border-bottom: 2px solid var(--accent);
  padding: 8px 20px 16px;
  z-index: 70;
  flex-direction: column;
}
.main-nav.open { display: flex; }
.main-nav a {
  display: block;
  padding: 12px 8px;
  min-height: 46px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.main-nav a:hover { color: var(--primary-deep); background: var(--bg-alt); }
.main-nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--primary-deep);
  background: var(--primary-tint);
  box-shadow: inset 4px 0 0 var(--accent);
  font-weight: 800;
}
.main-nav a[aria-current="page"]:not(.nav-cta):hover { background: var(--primary-tint); }
.main-nav .nav-cta[aria-current="page"] { background: var(--accent-dark); }
.main-nav .nav-cta { margin-top: 12px; border-bottom: 0; color: var(--primary-deep); }
.main-nav .nav-cta:hover { background: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.call-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--primary); border: 1.5px solid var(--line); text-decoration: none;
}
.call-btn:hover { background: var(--primary-tint); color: var(--primary); }
.call-btn .icon { width: 1.15em; height: 1.15em; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--primary); cursor: pointer;
}
.nav-toggle .icon { width: 1.5em; height: 1.5em; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ------------------------------------------------------------ image slots */
.img-slot {
  width: 100%;
  aspect-ratio: var(--ar, var(--ratio-card));
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.img-slot.ph {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: #b7bbd3;
}
.ph-leaf { width: 20%; max-width: 88px; min-width: 44px; height: auto; }

/* ---------------------------------------------------------- photographic  */
.has-photo {
  position: relative;
  isolation: isolate;
  background-color: var(--primary-deep);
}
.has-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--ph-img) center / cover no-repeat;
}
.has-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(30, 32, 68, 0.78);
}
.has-photo h1, .has-photo h2 { color: #fff; }
.has-photo p, .has-photo .lede { color: #d9dced; }
.has-photo .eyebrow { color: var(--accent); }
.has-photo a:not(.btn) { color: #fff; }
.has-photo .crumbs, .has-photo .crumbs a { color: rgba(217, 220, 237, 0.85); }
.has-photo .crumbs a { text-decoration: underline; }
.has-photo .btn-outline { background: transparent; border-color: #fff; color: #fff; }
.has-photo .btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.has-photo .event-brand, .has-photo .hosts-line, .has-photo .post-meta { color: #d9dced; }
.has-photo .sdg-tag { background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(2px); }
.has-photo .proj-facts { background: rgba(255, 255, 255, 0.94); border-color: transparent; }
.has-photo .badge.muted { background: rgba(255, 255, 255, 0.9); }

/* ------------------------------------------------------------------- hero */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.hero-grid { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 26px; }
.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.hero-actions { display: flex; gap: 8px; margin: 1.3em 0 0.9em; flex-wrap: wrap; }
.hero-actions .btn { flex: 1 1 0; white-space: nowrap; min-height: 44px; padding: 0.5em 0.55em; font-size: 0.9rem; }
.hero-actions .btn-gold { flex-grow: 1.25; }
.hero-actions .btn .icon { width: 1.1em; height: 1.1em; }
.hero-actions.center { justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 0.9rem; color: var(--muted); }
.hero.has-photo .hero-grid { padding-top: 56px; padding-bottom: 56px; }
.hero-media .img-slot { --ar: var(--ratio-hero); }

/* ----------------------------------------------------------- page heads */
.page-head {
  background: var(--primary-tint);
  border-bottom: 2px solid var(--accent);
  padding: 34px 0;
}
.page-head .lede { margin-bottom: 0; }
.page-head.has-photo { padding: 52px 0; }
.page-head.has-photo::after { background: rgba(30, 32, 68, 0.72); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }

/* photo grids (field gallery, project galleries) */
.photo-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.photo-grid .img-slot { border-radius: var(--radius); }
.crumbs a { color: var(--primary); }

/* ----------------------------------------------------------- trust strip */
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 18px 8px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary); font-size: 0.95rem; }

/* -------------------------------------------------------------- sections */
.section { padding: 44px 0; }
.tint { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.navy-band { background: var(--primary); color: #fff; }
.navy-band h2, .navy-band h3 { color: #fff; }
.navy-band p, .navy-band li { color: #d9dced; }
.navy-band .img-slot.ph { background: var(--primary-deep); color: #7c82b5; border-color: #3d4070; }
.navy-band .btn-outline { background: transparent; border-color: #fff; color: #fff; }
.navy-band .btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.band-grid { display: grid; gap: 28px; align-items: center; }

.section-head { max-width: 46rem; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.section-head.row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.section-more { margin-top: 26px; text-align: center; }

.grid-3 { display: grid; gap: 16px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--accent-dark); }
.card .icon.card-icon { width: 2em; height: 2em; color: var(--primary); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card h3 { margin-top: 12px; }
.rel-card { display: flex; flex-direction: column; }
.rel-card .text-link { margin-top: auto; }

/* check lists — leaf bullet */
.check-list { list-style: none; margin: 0 0 1.4em; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; max-width: var(--measure); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 24 Q8 8 20 4 Q20 16 12 21 Q9 23 6 24 Z' fill='%232D3063'/%3E%3C/svg%3E");
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
}
.check-list.light li::before { background-color: var(--accent); }

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 0; }
.plain-list.nums { list-style: decimal; padding-left: 20px; }
.plain-list.nums li { border-bottom: 0; padding: 6px 0; }

/* audience rows */
.audience-list { border-top: 1px solid var(--line); }
.audience-row {
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "name arrow" "short arrow";
  gap: 4px 14px; padding: 16px 4px;
  border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.audience-row:hover { background: var(--bg-alt); }
.audience-name { grid-area: name; font-weight: 800; font-size: 1.05rem; color: var(--primary); }
.audience-short { grid-area: short; color: var(--muted); font-size: 0.95rem; }
.audience-arrow { grid-area: arrow; color: var(--accent-dark); font-weight: 800; font-size: 1.3rem; align-self: center; }
.audience-arrow .icon { width: 1.2em; height: 1.2em; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.steps .step {
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 18px;
}
.steps .step .medallion { margin-bottom: 10px; }
.steps .step h3 { font-size: 1.05rem; margin: 10px 0 4px; }
.steps .step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* impact */
.impact-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.impact-fig { border-top: 3px solid var(--accent); padding-top: 14px; }
.impact-value { display: block; font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 800; color: #fff; }
.impact-label { display: block; font-weight: 600; color: #fff; margin-top: 2px; }
.impact-detail { display: block; font-size: 0.82rem; color: #c5c9e8; margin-top: 4px; }

/* projects */
.proj-feature { display: grid; gap: 16px; }
.proj-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; background: #fff;
}
.proj-card:hover { border-color: var(--accent-dark); }
.proj-card .img-slot { border-radius: 0; border: 0; }
.proj-meta { display: block; padding: 16px 18px; }
.proj-title { display: block; font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.proj-sub { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.proj-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 18px 0 22px; padding: 18px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
}
.proj-facts span { display: flex; flex-direction: column; font-size: 0.95rem; }
.proj-facts b { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.proj-hero-img { margin-bottom: 24px; }
.gallery { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 1.4em; }
.video-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-bottom: 1.4em; }
.video-item { margin: 0; }
.video-item video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block;
  border-radius: var(--radius); background: var(--primary-deep);
}
.video-item figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

/* service cards (index) */
.service-cards { display: grid; gap: 14px; }
.service-card {
  display: grid; grid-template-columns: 104px 1fr; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; background: #fff;
}
.service-card:hover { border-color: var(--accent-dark); }
.service-card .svc-img { border-radius: 0; height: 100%; min-height: 110px; }
.svc-body { display: block; padding: 14px 16px; }
.svc-body h3 { margin: 0 0 4px; font-size: 1.02rem; }
.svc-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 6px; }

/* events */
.event-rows { border-top: 1px solid var(--line); }
.event-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 16px; align-items: center;
  padding: 16px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.event-row:hover { background: var(--bg-alt); }
.event-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px;
  font-size: 0.72rem; color: var(--muted);
}
.event-date b { font-size: 1.3rem; color: var(--primary); line-height: 1; }
.event-main { display: flex; flex-direction: column; }
.event-main b { color: var(--primary); }
.event-main span { color: var(--muted); font-size: 0.88rem; }
.event-row .badge { grid-column: 1 / -1; justify-self: start; }
.event-cards { display: grid; gap: 16px; }
.event-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; background: #fff;
}
.event-card:hover { border-color: var(--accent-dark); }
.event-card .img-slot { border-radius: 0; }
.event-card-body { display: block; padding: 18px; }
.event-card-meta { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.event-card-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.event-brand { font-weight: 600; color: var(--muted); }
.hosts-line { font-size: 0.92rem; color: var(--muted); }
.next-edition { border-left: 4px solid var(--accent); padding-left: 14px; font-weight: 600; }

/* badges, chips, sdg tags */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: var(--primary-deep);
  font-size: 0.78rem; font-weight: 600;
}
.badge.muted { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.badge.small { font-size: 0.72rem; padding: 2px 10px; }
.sdg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sdg-tag {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 600;
}
.cat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  display: inline-flex; align-items: center; min-height: 38px;
  padding: 6px 14px; border: 1.5px solid var(--primary); border-radius: 999px;
  color: var(--primary); font-size: 0.9rem; font-weight: 600; text-decoration: none;
}
.chip:hover { background: var(--primary-tint); }
.chip-on, .chip-on:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* quotes + marquee */
.quote-card {
  margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--accent); background: #fff;
}
.quote-card blockquote { margin: 0 0 16px; font-size: 1.02rem; font-style: italic; color: var(--primary); }
.quote-card figcaption { font-size: 0.9rem; font-weight: 600; }
.quote-card figcaption span { color: var(--muted); font-weight: 400; }
.stars { display: flex; gap: 2px; color: var(--accent-dark); margin-bottom: 10px; }
.stars .icon { width: 1em; height: 1em; }

.quote-marquee { overflow: hidden; }
.quote-track { display: flex; width: max-content; animation: quote-scroll 60s linear infinite; }
.quote-track .quote-card { flex: 0 0 auto; width: min(80vw, 340px); margin: 0 16px 0 0; }
.quote-marquee:hover .quote-track, .quote-track:focus-within { animation-play-state: paused; }
@keyframes quote-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .quote-track { animation: none; }
  .quote-marquee { overflow-x: auto; }
}

/* faq */
.faq-split { display: grid; gap: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 16px 40px 16px 4px;
  font-weight: 600; color: var(--primary); position: relative;
  list-style: none; min-height: 46px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 12px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--accent-dark);
  border-bottom: 2.5px solid var(--accent-dark);
  transform: translateY(-70%) rotate(45deg);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { color: var(--muted); padding: 0 40px 16px 4px; margin: 0; }

/* blog */
.post-rows { border-top: 1px solid var(--line); }
.post-row {
  display: grid; gap: 2px; padding: 16px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.post-row:hover { background: var(--bg-alt); }
.post-cat { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.post-title { font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.post-date { font-size: 0.85rem; color: var(--muted); }
.post-cards { display: grid; gap: 18px; }
.post-card {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; background: #fff;
}
.post-card:hover { border-color: var(--accent-dark); }
.post-card .img-slot { border-radius: 0; }
.post-card-body { display: block; padding: 18px; }
.post-card-body p { color: var(--muted); font-size: 0.95rem; }
.post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.article-img { margin-bottom: 26px; }
.article-cta {
  margin-top: 34px; padding: 24px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 10px;
}
.article-cta .btn { align-self: flex-start; }

/* cta band */
.cta-band { background: var(--accent); color: var(--primary-deep); }
.cta-in { padding: 40px 20px; }
.cta-in h2 { color: var(--primary-deep); }
.cta-in p { color: var(--primary-deep); margin-bottom: 0; }
.cta-band.has-photo .cta-in h2, .cta-band.has-photo .cta-in p { color: #fff; }
.cta-band.has-photo .cta-actions .btn-outline { background: transparent; border-color: #fff; color: #fff; }
.cta-band.has-photo .cta-actions .btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.cta-actions .btn-outline { border-color: var(--primary-deep); color: var(--primary-deep); background: transparent; }
.cta-actions .btn-outline:hover { background: var(--primary-deep); color: #fff; }

/* ------------------------------------------------------------------ forms */
.form-wrap { display: grid; gap: 28px; align-items: start; }
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.field { margin-bottom: 18px; border: 0; padding: 0; }
.field label, .field legend {
  display: block; font-weight: 600; font-size: 0.95rem;
  margin-bottom: 6px; color: var(--ink);
}
.field input, .field select, .field textarea,
.filters select, .status-form textarea, .status-form select, .reg-form input, .reg-form select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid #b9bdd4; border-radius: 8px;
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field textarea { min-height: 0; resize: vertical; }
.field input[type="file"] { padding: 12px; }
.field input:focus, .field select:focus, .field textarea:focus,
.reg-form input:focus, .reg-form select:focus {
  border-color: var(--primary);
}
.field-hint, .hint { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.form-errors {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fdf1ef; border: 1.5px solid #c9402f; border-radius: 8px;
  color: #7a2418; padding: 12px 14px; margin-bottom: 18px; font-weight: 600;
}
.form-errors ul { margin: 4px 0 0; padding-left: 18px; font-weight: 400; }
.form-errors .icon { margin-top: 3px; }
.form-success {
  background: #eef4ec; border: 1.5px solid #6f9a72; border-radius: 8px;
  color: #2c4a2f; font-weight: 600; padding: 12px 14px; margin-bottom: 18px;
}
label.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9rem; margin-bottom: 18px; cursor: pointer; font-weight: 400;
}
label.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.form-sep { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.form-row { display: grid; gap: 0; }
.field-row, .field-row-3 { display: grid; gap: 0; }

/* proposal stepper */
.kind-toggle { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.kind-btn {
  padding: 10px 18px; min-height: 46px; border-radius: 999px;
  border: 2px solid var(--line); background: #fff; color: var(--muted);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; font-family: inherit;
}
.kind-btn.active { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }
fieldset.step { border: 0; padding: 0; margin: 0 0 20px; }
fieldset.step legend { font-weight: 800; font-size: 1.12rem; color: var(--primary); padding: 0; margin-bottom: 18px; }
.step-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.step-progress { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* service detail layout */
.svc-hero { padding: 36px 0; border-bottom: 2px solid var(--accent); background: var(--primary-tint); }
.svc-hero.has-photo { padding: 52px 0; }
.svc-hero.has-photo::after { background: rgba(30, 32, 68, 0.72); }
.svc-hero-copy { max-width: 46rem; }
.svc-hero-grid { display: grid; gap: 26px; }
.svc-body { display: grid; gap: 34px; }
.svc-main h2 { margin-top: 1.6em; }
.svc-main h2:first-of-type { margin-top: 1.2em; }
.svc-side .side-box { }
.side-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 18px; background: #fff;
}
.side-box h3 { margin-top: 0; font-size: 1.05rem; }
.side-box p { font-size: 0.92rem; color: var(--muted); }
.side-box.accent { background: var(--accent-tint); border-color: #e8d9b0; }
.side-box.success { background: #eef4ec; border-color: #b6cdb0; }
.side-note { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }

.example-box {
  border: 1px solid var(--line); border-left: 5px solid var(--accent);
  border-radius: 8px; padding: 18px 20px; background: var(--bg-alt); margin: 20px 0;
}
.example-box h3 { margin-top: 0; }

.empty-state {
  border: 1.5px dashed #b9bdd4; border-radius: var(--radius);
  padding: 32px; text-align: center; color: var(--muted);
}
.empty-state p { max-width: none; }

.slot { border-bottom: 1.5px dashed var(--accent-dark); color: var(--muted); }
.slot-line { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; font-size: 0.95rem; }

.filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  padding: 18px; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 28px;
}
.filters label { font-weight: 600; font-size: 0.88rem; flex: 1 1 150px; }
.filters select { margin-top: 4px; }
.filters .btn { flex: none; }

/* vision band */
.vision-grid { display: grid; gap: 26px; }
.vision-text { font-size: 1.2rem; font-weight: 600; color: #fff; }

/* thanks / 404 */
.thanks { text-align: center; padding: 40px 0; }
.thanks p { margin-left: auto; margin-right: auto; }
.thanks-leaf { width: 54px; height: 54px; margin-bottom: 18px; }

/* legal */
.legal h2 { margin-top: 30px; font-size: 1.2rem; }
.legal p { color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--primary); color: #d9dced; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-top: 40px; padding-bottom: 28px; }
.footer-grid .footer-brand { grid-column: 1 / -1; }
.footer-grid .footer-col:last-child { grid-column: 1 / -1; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: #c5c9e8; font-size: 0.92rem; }
.footer-brand .tagline { color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; }
.footer-col h2 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: #fff; margin-bottom: 12px;
}
.footer-col a { display: flex; align-items: center; gap: 8px; color: #d9dced; padding: 5px 0; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col .icon { width: 1.1em; height: 1.1em; color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social a {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid #d9dced; border-radius: 50%;
}
.footer-social a:hover { border-color: var(--accent); }
.footer-base {
  border-top: 1px solid #3d4070;
  padding-top: 16px; padding-bottom: 96px;
  display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem;
}
.footer-base p { margin: 0; color: #c5c9e8; }
.footer-base a { color: #d9dced; }

/* ------------------------------------------------------- floating contact */
.float-actions {
  position: fixed; right: 14px; bottom: calc(16px + var(--float-offset, 0px));
  display: flex; flex-direction: column; gap: 10px; z-index: 90;
}
body.has-sticky { --float-offset: var(--sticky-h); }
.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; border: 2px solid #fff; color: #fff;
}
.float-btn.wa { background: #25D366; }
.float-btn.wa:hover { background: #128C7E; color: #fff; }
.float-btn.call { background: var(--primary); }
.float-btn.call:hover { background: var(--primary-deep); color: #fff; }
.float-btn .icon { width: 1.4em; height: 1.4em; }
.float-btn.wa .icon { width: 1.55em; height: 1.55em; }

/* sticky mobile cta bar */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  display: flex; gap: 10px; padding: 8px 14px;
  background: #fff; border-top: 1px solid var(--line);
  min-height: var(--sticky-h); align-items: center;
}
.sticky-cta .btn { flex: 1; min-height: 46px; padding: 10px 14px; }

/* ------------------------------------------------------------------ admin */
.admin .site-footer, .admin .float-actions { display: none; }
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.admin-content { min-width: 0; }
.admin-topbar {
  display: flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 8px 16px;
  background: #fff; border-bottom: 2px solid var(--accent);
}
.admin-topbar strong { color: var(--primary); }
.admin-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--primary); cursor: pointer; flex: none;
}
.admin-side {
  display: none; background: var(--primary-deep); padding: 16px 0;
}
.admin-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 18px 16px; margin-bottom: 8px;
  border-bottom: 1px solid #3d4070;
}
.admin-brand img {
  height: 32px; width: auto; padding: 4px 8px;
  background: #fff; border-radius: 8px; flex: none;
}
.admin-brand strong { color: #fff; font-size: 0.95rem; }
.admin-brand .side-close { margin-left: auto; }
.side-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1.5px solid #d9dced; border-radius: 8px;
  background: transparent; color: #fff; cursor: pointer;
}
.admin-nav { display: flex; flex-direction: column; }
.admin-nav a {
  display: block; padding: 11px 18px; min-height: 44px;
  color: #d9dced; text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.admin-nav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.09); color: #fff;
  box-shadow: inset 4px 0 0 var(--accent); font-weight: 800;
}
.admin-nav .nav-sep { border-top: 1px solid #3d4070; margin: 10px 0; }
.admin-main { padding: 30px 0 60px; }
@media (max-width: 899px) {
  .admin-side.open {
    display: block; position: fixed; top: 0; bottom: 0; left: 0;
    width: 260px; z-index: 80; overflow-y: auto;
    border-right: 4px solid var(--accent);
  }
}
@media (min-width: 900px) {
  .admin-shell { grid-template-columns: 236px minmax(0, 1fr); }
  .admin-side { display: block; }
  .admin-topbar, .admin-side .side-close { display: none; }
}
.admin-login { max-width: 400px; margin: 60px auto; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 32px; }
.stat {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  text-decoration: none; color: var(--ink); font-weight: 600; display: block; background: #fff;
}
.stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.stat span { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.admin-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
  background: #fff; border: 1px solid var(--line);
}
.admin-table th {
  text-align: left; padding: 10px 12px; background: var(--primary-tint);
  color: var(--primary); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.admin-table td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.admin-table-wide { display: block; overflow-x: auto; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.status-new { background: var(--accent-tint); color: #7a5b16; }
.status-contacted, .status-discovery-call-booked { background: var(--primary-tint); color: var(--primary); }
.status-proposal-sent { background: var(--primary-tint); color: var(--primary); }
.status-won { background: #eef4ec; color: #2c4a2f; }
.status-lost { background: #eee; color: var(--muted); }
.status-upcoming { background: var(--accent-tint); color: #7a5b16; }
.status-past { background: var(--bg-alt); color: var(--muted); }
.admin-thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; display: block; }
.admin-sub { color: var(--muted); font-size: 0.85rem; }
.pick-row { display: flex; gap: 10px; align-items: center; }
.pick-row select { flex: 1; min-width: 0; }
.pick-thumb {
  width: 76px; height: 50px; object-fit: cover; flex: none;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-alt);
}
.up-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.up-previews:empty { display: none; }
.up-previews figure { margin: 0; width: 96px; }
.up-previews img, .up-previews video {
  width: 96px; height: 64px; object-fit: cover; display: block;
  border: 1px solid var(--line); border-radius: 8px; background: var(--primary-deep);
}
.up-previews figcaption {
  font-size: 0.68rem; color: var(--muted); margin-top: 3px;
  word-break: break-all; line-height: 1.3;
}
.detail-list { display: grid; grid-template-columns: 1fr; gap: 4px 18px; }
.detail-list dt { font-weight: 600; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.detail-list dd { margin: 0 0 12px; }
.admin-detail { display: grid; gap: 20px; margin-bottom: 26px; }
.status-form { max-width: 480px; }
.status-form label { display: block; font-weight: 600; margin-bottom: 14px; }

/* ============================================================ breakpoints */
@media (max-width: 599px) {
  .wrap { padding: 0 14px; }
  .section { padding: 36px 0; }
  .card { padding: 16px; }
  .btn { min-height: 46px; }
  .cta-in { padding: 36px 14px; }

  /* type scale — stop oversized headings on small screens */
  h1 { font-size: 1.72rem; }
  h2 { font-size: 1.28rem; }
  .lede { font-size: 1.02rem; }
  .section-head { margin-bottom: 20px; }
  .section-head p { font-size: 0.95rem; }

  /* heroes — shallower photo bands */
  .hero-grid { padding-top: 34px; padding-bottom: 34px; }
  .hero.has-photo .hero-grid { padding-top: 48px; padding-bottom: 48px; }
  .page-head { padding: 28px 0; }
  .page-head.has-photo { padding: 44px 0; }
  .svc-hero { padding: 30px 0; }
  .svc-hero.has-photo { padding: 44px 0; }

  /* 2-per-line compact blocks */
  .trust-grid { gap: 10px 14px; padding: 14px 4px; }
  .trust-item { font-size: 0.85rem; gap: 8px; }
  .trust-item .medallion { width: 1.7em; height: 1.7em; }
  .steps { gap: 10px; }
  .steps .step { padding: 14px; }
  .steps .step .medallion { width: 1.7em; height: 1.7em; margin-bottom: 6px; }
  .steps .step h3 { font-size: 0.95rem; margin: 8px 0 4px; }
  .steps .step p { font-size: 0.85rem; }
  .impact-grid { gap: 14px; }
  .impact-value { font-size: 1.55rem; }
  .stat { padding: 14px; }
  .stat b { font-size: 1.4rem; }
  .photo-grid, .gallery { gap: 8px; }

  /* cards + rows — tighter padding */
  .form-card, .side-box { padding: 16px; }
  .proj-meta { padding: 12px 14px; }
  .event-card-body, .post-card-body { padding: 14px; }
  .post-card-body p { font-size: 0.9rem; }
  .service-card { grid-template-columns: 92px 1fr; }
  .service-card .svc-img { min-height: 96px; }
  .service-card .svc-body { padding: 12px 14px; }
  .event-row { padding: 12px 4px; }
  .post-row { padding: 12px 4px; }
  .proj-facts { padding: 14px; gap: 10px 14px; margin: 14px 0 18px; }
  .proj-facts span { font-size: 0.88rem; }
  .thanks { padding: 30px 0; }
  .thanks-leaf { width: 44px; height: 44px; margin-bottom: 14px; }

  /* nav + footer + filters */
  .main-nav { padding: 6px 14px 14px; }
  .filters { padding: 14px; }
  .filters label { flex-basis: 132px; }
  .footer-grid { gap: 22px 20px; padding-top: 30px; padding-bottom: 22px; }
  .footer-col a { padding: 4px 0; font-size: 0.9rem; }
  .cta-actions .btn { min-height: 46px; }
}

@media (min-width: 600px) {
  .hero-actions .btn { flex: 0 0 auto; padding-left: 1.6em; padding-right: 1.6em; font-size: 1rem; }
  .hero-actions .btn-gold { flex-grow: 0; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .trust-grid { column-gap: 26px; padding: 18px 20px; }
  .field-row, .form-row { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .field-row-3 { grid-template-columns: 1.2fr 1.2fr 1fr; gap: 0 12px; }
  .post-cards, .event-cards { grid-template-columns: 1fr 1fr; }
  .event-row { grid-template-columns: 72px 1fr auto; }
  .event-row .badge { grid-column: auto; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { grid-template-columns: 200px 1fr; }
  .impact-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  body { font-size: 1.06rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .footer-grid .footer-brand, .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-base { flex-direction: row; justify-content: space-between; padding-bottom: 26px; }
  .faq-split { grid-template-columns: 1fr 1.6fr; }
  .float-actions { bottom: 24px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .page-head.has-photo { padding: 80px 0; }
}

@media (min-width: 900px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.55rem; }
  .nav-toggle { display: none; }
  .call-btn { display: none; }
  .main-nav {
    display: flex; position: static; flex-direction: row;
    border: 0; padding: 0; gap: 4px; align-items: center;
  }
  .main-nav a { border: 0; padding: 10px 12px; border-radius: 8px; font-size: 0.95rem; min-height: 44px; }
  .main-nav a[aria-current="page"]:not(.nav-cta) {
    background: var(--primary-tint);
    color: var(--primary-deep);
    box-shadow: inset 0 -3px 0 var(--accent);
    font-weight: 800;
  }
  .main-nav .nav-cta { margin: 0 0 0 10px; padding: 0.6em 1.3em; min-height: 46px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
  .band-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .hero.has-photo .hero-grid { padding-top: 96px; padding-bottom: 96px; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .proj-feature { grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; }
  .proj-feature .proj-card.large { grid-row: 1 / 3; }
  .proj-feature .proj-card.large .img-slot { height: 100%; }
  .audience-row { grid-template-columns: 280px 1fr auto; grid-template-areas: "name short arrow"; align-items: center; gap: 18px; padding: 20px 12px; }
  .post-row { grid-template-columns: 180px 1fr auto; align-items: center; gap: 18px; }
  .svc-hero.has-photo { padding: 96px 0; }
  .svc-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
  .svc-side { position: sticky; top: 92px; }
  .form-wrap { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .cta-actions { margin-top: 0; flex: none; }
  .vision-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .admin-detail { grid-template-columns: 1fr 240px; }
  .detail-list { grid-template-columns: 180px 1fr; }
  .detail-list dd { margin-bottom: 10px; }
  .proj-facts { grid-template-columns: repeat(5, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .event-cards { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }
  body.has-sticky { --float-offset: 0px; }
}

@media (min-width: 1280px) {
  :root { --wrap: 1180px; }
  body { font-size: 1.09rem; }
  .section { padding: 56px 0; }
}

@media (min-width: 1600px) {
  :root { --wrap: 1280px; }
  .hero-grid { gap: 64px; }
}
