/* ==========================================================================
   Rais.cw – public site styles (mobile first)
   ========================================================================== */

:root {
  --green-950: #012b14;
  --green-900: #013d1c;
  --green-800: #015326;   /* brand dark green */
  --green-600: #3c9148;
  --green-500: #00b050;   /* brand bright green */
  --green-100: #e3f3e6;
  --sand-50:  #fbf8f2;
  --sand-100: #f5efe3;
  --sand-200: #ebe1cc;
  --orange:   #ea7a2a;
  --coral:    #f37782;
  --ink:      #1d2621;
  --ink-soft: #48514f;
  --muted:    #6b746f;
  --line:     #e2dccf;
  --white:    #fff;

  --font-ui: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-read: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(1, 43, 20, .06), 0 2px 8px rgba(1, 43, 20, .06);
  --shadow: 0 10px 30px -12px rgba(1, 43, 20, .28);
  --header-h: 68px;
  --gutter: 16px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand-50);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); text-underline-offset: .18em; }
a:hover { color: var(--green-600); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.sr-only { position: absolute !important; 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: 12px; top: -60px; z-index: 100; background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.5em;
  border: 2px solid var(--green-500); border-radius: 999px;
  background: var(--green-500); color: #fff;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--green-800); border-color: var(--green-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--light { background: #fff; border-color: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--sand-100); border-color: var(--sand-100); color: var(--green-900); }
.btn--ghost { background: transparent; color: var(--green-800); }
.btn--ghost:hover { background: var(--green-800); color: #fff; }
.btn--small { min-height: 38px; padding: .45em 1em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-800); min-width: 0; }
.brand img { width: 56px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.brand-sub { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand--light, .brand--light .brand-sub { color: #fff; }
.brand--light .brand-sub { opacity: .75; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--green-100); color: var(--green-800); cursor: pointer; flex-shrink: 0;
}
.nav-toggle-bars { display: grid; gap: 5px; width: 22px; }
.nav-toggle-bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px var(--gutter) 24px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 1.125rem; color: var(--ink); text-decoration: none;
}
.nav-list a[aria-current="page"] { color: var(--green-500); }
.lang-switch { list-style: none; display: flex; gap: 8px; margin: 18px 0 0; padding: 0; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 36px; padding: 0 10px;
  border: 1.5px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); text-decoration: none;
}
.lang-switch a[aria-current="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }

@media (min-width: 1000px) {
  :root { --header-h: 84px; }
  .brand img { width: 68px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 22px;
    max-height: none; overflow: visible; padding: 0; border: 0; box-shadow: none; background: none;
    transform: none; opacity: 1; visibility: visible;
  }
  .nav-list { display: flex; gap: 2px; }
  .nav-list a { border: 0; padding: 8px 12px; font-size: .98rem; border-radius: 999px; position: relative; }
  .nav-list a:hover { background: var(--green-100); color: var(--green-800); }
  .nav-list a[aria-current="page"] { background: var(--green-800); color: #fff; }
  .lang-switch { margin: 0; gap: 4px; }
  .lang-switch a { min-width: 38px; height: 32px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--green-800); color: #fff;
  min-height: 340px; display: flex; flex-direction: column;
}
.hero--home { min-height: min(78vh, 720px); }
.hero--plain { min-height: 220px; background: linear-gradient(135deg, var(--green-800), var(--green-900)); }
.hero--bario { min-height: min(56vh, 520px); justify-content: flex-end; }
.hero-swiper { width: 100%; flex: 1; display: flex; }
.hero-swiper .swiper-wrapper { min-height: inherit; }
.hero-slide { position: relative; display: flex; align-items: flex-end; min-height: 340px; height: auto; }
.hero--home .hero-slide { min-height: min(78vh, 720px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(1, 43, 20, .05) 25%, rgba(1, 43, 20, .78) 100%),
              linear-gradient(90deg, rgba(1, 43, 20, .35), transparent 70%);
}
.hero-content { position: relative; padding-block: 56px 84px; }
.hero--bario .hero-content { padding-bottom: 72px; }
.hero-plain { padding-block: 56px 72px; margin-top: auto; }
.hero-title {
  margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.04;
  font-size: clamp(2.25rem, 8vw, 4.75rem); text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero-title::after {
  content: ""; display: block; width: 180px; height: 18px; margin-top: 14px;
  background: url("../img/nci-orange-brush-large.webp") left center / contain no-repeat;
}
.hero-sub { margin: 16px 0 24px; max-width: 40ch; font-size: clamp(1.05rem, 2.6vw, 1.35rem); opacity: .95; }
.hero-edge { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 34px; z-index: 3; fill: var(--sand-50); pointer-events: none; }
.hero-nav {
  position: absolute; bottom: 62px; z-index: 5;
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; backdrop-filter: blur(4px);
}
.hero-nav svg, .gallery-nav svg, .lightbox-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-nav:hover { background: rgba(255, 255, 255, .32); }
.hero-prev { right: 76px; } .hero-next { right: 20px; }
@media (min-width: 1280px) { .hero-prev { right: calc((100vw - var(--max)) / 2 + 72px); } .hero-next { right: calc((100vw - var(--max)) / 2 + 16px); } }
.hero-pagination { position: absolute; z-index: 5; left: 0; right: 0; bottom: 46px !important; display: flex; justify-content: center; gap: 4px; }
.hero-pagination .swiper-pagination-bullet { width: 28px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .5); opacity: 1; transition: width .3s, background .3s; }
.hero-pagination .swiper-pagination-bullet-active { width: 44px; background: #fff; }
.crumbs { font-size: .9rem; margin-bottom: 10px; opacity: .9; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .hero-nav { display: inline-flex; align-items: center; justify-content: center; }
  .hero-content { padding-block: 80px 110px; }
  .hero-edge { height: 48px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 56px; position: relative; }
.section--tight { padding-block: 40px; }
.section--sand { background: var(--sand-100); }
.section--green { background: var(--green-800); color: #fff; }
.section--green a:not(.btn) { color: #fff; }
.section--green .kicker { color: #9fe3b4; }
.section--green .section-title::after { background-image: url("../img/nci-light-green-brush-short.webp"); }
@media (min-width: 768px) { .section { padding-block: 88px; } .section--tight { padding-block: 56px; } }

.kicker { margin: 0 0 6px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.section-title {
  margin: 0 0 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.1;
  font-size: clamp(1.75rem, 4.6vw, 2.75rem); text-wrap: balance;
}
.section-title::after {
  content: ""; display: block; width: 120px; height: 14px; margin-top: 10px;
  background: url("../img/nci-orange-brush-large.webp") left center / contain no-repeat;
}
.section-title--center { text-align: center; }
.section-title--center::after { margin-inline: auto; background-position: center; }
.lead { font-size: 1.2rem; max-width: 60ch; margin-inline: auto; color: var(--ink-soft); }

.split { display: grid; gap: 32px; align-items: center; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; max-height: 560px; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; background: #fff; }
.split-media::before {
  content: ""; position: absolute; inset: 18px -12px -14px 18px; z-index: -1;
  border-radius: var(--radius-lg); background: var(--sand-200);
}
.section--sand .split-media::before { background: var(--green-100); }
.section--green .split-media::before { background: var(--green-600); }
.split--single { max-width: 820px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--single { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 2; }
}

/* Long-form text */
.prose { font-size: 1.06rem; color: inherit; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose h2, .prose h3, .prose h4 { font-weight: 700; line-height: 1.25; margin: 1.6em 0 .5em; }
.prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.3rem; } .prose h4 { font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--green-500); }
.prose blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.1em; border-left: 4px solid var(--orange); font-style: italic; color: var(--ink-soft); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); margin: 1em 0; }
.prose .note { font-size: .85em; color: var(--muted); }
.prose--center { max-width: 64ch; margin-inline: auto; }
.prose--article { font-family: var(--font-read); font-size: 1.125rem; line-height: 1.75; }
.prose--article strong { font-family: var(--font-ui); font-weight: 700; }
.prose--article > p:first-child::first-letter {
  float: left; font-family: var(--font-ui); font-weight: 800; font-size: 3.6em; line-height: .85;
  margin: .06em .1em 0 0; color: var(--green-800);
}
.section--green .prose { color: rgba(255, 255, 255, .92); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; }
.stat {
  display: flex; flex-direction: column-reverse; padding: 22px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.section--light .stat, .section--sand .stat { background: #fff; border-color: var(--line); }
.stat dd { margin: 0; font-weight: 800; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1; letter-spacing: -.02em; }
.stat dt { margin-top: 8px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Contact band + card */
.contact-band { display: grid; gap: 28px; align-items: center; }
.contact-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.contact-card p { margin: 0 0 10px; }
.contact-card a:not(.btn) { color: var(--green-800); }
.contact-card-name { font-weight: 700; font-size: 1.2rem; }
.contact-card .btn { margin-top: 8px; }
@media (min-width: 900px) { .contact-band { grid-template-columns: 1.2fr 1fr; gap: 72px; } }

/* ---------- Cards ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.section-head .section-title { margin-bottom: 8px; }
.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-200); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { margin: 0 0 6px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; color: var(--green-800); }
.card-text { margin: 0 0 14px; font-size: .95rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .4em;
  padding: .55em 1.15em; border-radius: 999px;
  background: var(--green-800); color: #fff;
  font-weight: 600; font-size: .92rem; line-height: 1.2;
  transition: background .2s;
}
.card:hover .card-more { background: var(--green-900); }

/* ---------- Listing tools ---------- */
.listing-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.listing-count { margin: 0; font-weight: 600; color: var(--muted); }
.listing-filters { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.search-field { position: relative; flex: 1 1 240px; }
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search-field input, .bario-select select {
  width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
}
.search-field input { padding: 0 18px 0 44px; }
.search-field input:focus, .bario-select select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(0, 176, 80, .15); }
.bario-select { display: flex; gap: 8px; flex: 1 1 220px; }
.bario-select select {
  padding: 0 44px 0 18px; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015326' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.section-head .bario-select { flex: 0 1 300px; }
@media (min-width: 900px) { .listing-filters { width: auto; flex: 0 1 620px; } }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
  border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none;
}
.page-link:hover { border-color: var(--green-500); color: var(--green-800); }
.page-link.is-current { background: var(--green-800); border-color: var(--green-800); color: #fff; }

/* ---------- Neighbourhood page ---------- */
.gallery-section { padding-top: 36px; }
.gallery-swiper { position: relative; padding-bottom: 40px; }
.gallery-slide { margin: 0; width: 82%; }
@media (min-width: 600px) { .gallery-slide { width: 46%; } }
@media (min-width: 1000px) { .gallery-slide { width: 31.5%; } }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: var(--sand-200); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-slide figcaption { padding: 10px 4px 0; font-size: .9rem; line-height: 1.4; }
.gallery-title { display: block; font-weight: 600; color: var(--ink); }
.gallery-caption { display: block; color: var(--muted); font-size: .85rem; }
.gallery-nav {
  position: absolute; top: calc(50% - 40px); z-index: 5; transform: translateY(-50%);
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--green-500); color: #fff; box-shadow: var(--shadow); cursor: pointer;
}
.gallery-nav:hover { background: var(--green-800); }
.gallery-nav.swiper-button-disabled { opacity: .35; cursor: default; }
.gallery-prev { left: 8px; } .gallery-next { right: 8px; }
@media (min-width: 768px) { .gallery-nav { display: inline-flex; } }
.gallery-pagination { position: absolute; left: 0; right: 0; bottom: 6px !important; text-align: center; }
.gallery-pagination .swiper-pagination-bullet-active, .lightbox .swiper-pagination-bullet-active { background: var(--green-500); }

.article { padding-top: 40px; }
.article-layout { display: grid; gap: 36px; }
.article-main { max-width: 72ch; min-width: 0; }
.aside-card { background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.aside-title { margin: 0 0 10px; font-weight: 700; }
.aside-card .bario-select { margin-bottom: 14px; }
.aside-link { font-weight: 600; text-decoration: none; }
@media (min-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .article-aside { position: relative; }
  .aside-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
.pn { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); min-width: 0; }
.pn span { font-size: .8rem; color: var(--muted); }
.pn strong { color: var(--green-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn:hover { border-color: var(--green-500); }
.pn--next { text-align: right; grid-column: 2; }

.notice { margin: 20px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--green-100); color: var(--green-900); font-size: .95rem; }
.notice--warn { background: #fff4e5; color: #7a4200; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(1, 20, 10, .94); display: flex; }
.lightbox[hidden] { display: none; }
.lightbox-swiper { width: 100%; height: 100%; }
.lightbox-slide { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 24px; }
.lightbox-slide img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; object-fit: contain; border-radius: 6px; }
.lightbox-slide figcaption { color: #e9efe9; text-align: center; max-width: 70ch; margin-top: 14px; font-size: .95rem; }
.lightbox-close { position: absolute; top: 10px; right: 12px; z-index: 10; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; z-index: 10; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: none; align-items: center; justify-content: center; }
.lightbox-prev { left: 12px; } .lightbox-next { right: 12px; }
@media (min-width: 768px) { .lightbox-nav { display: inline-flex; } }
.lightbox-counter { position: absolute; top: 22px; left: 20px; z-index: 10; color: #fff; font-size: .9rem; opacity: .8; }
body.no-scroll { overflow: hidden; }

/* ---------- Forms ---------- */
.contact-layout { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; } }
.contact-details { margin: 24px 0 0; display: grid; gap: 14px; }
.contact-details dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); }
.contact-details dd { margin: 2px 0 0; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
@media (min-width: 600px) { .form { padding: 36px; } }
.form-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.field abbr { color: var(--coral); text-decoration: none; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--sand-50);
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-500); background: #fff; box-shadow: 0 0 0 4px rgba(0, 176, 80, .15); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 12px; font-weight: 500; }
.alert--success { background: var(--green-100); color: var(--green-900); }
.alert--error { background: #fde8ea; color: #8a1c27; }

/* Partner logos */
.partner-logos { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; }
.partner-logos img { max-height: 72px; width: auto; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--green-900); color: rgba(255, 255, 255, .82); margin-top: 0; padding-top: 64px; }
.footer-edge {
  position: absolute; top: -1px; left: 0; right: 0; height: 30px;
  background: var(--sand-50);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v12c-70 8-130-6-200-2s-110 14-190 12-120-14-200-12-110 16-190 14-130-14-210-12-120 14-200 12S70 10 0 16z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v12c-70 8-130-6-200-2s-110 14-190 12-120-14-200-12-110 16-190 14-130-14-210-12-120 14-200 12S70 10 0 16z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
}
.section--green + .site-footer .footer-edge, .section--sand + .site-footer .footer-edge { display: none; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand p { max-width: 38ch; font-size: .95rem; }
.footer-title { margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9fe3b4; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.partner-list a, .partner-list li > span { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.partner-list img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px; font-size: .85rem; opacity: .75; }
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
