:root {
  --ink: #0f241f;
  --pine: #164a3c;
  --teal: #1f6f5b;
  --mint: #d8efe6;
  --foam: #f3faf7;
  --sand: #eef2ef;
  --accent: #c45c26;
  --accent-soft: #f6e4d8;
  --line: rgba(15, 36, 31, 0.12);
  --shadow: 0 18px 50px rgba(15, 36, 31, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9f0e7 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #f7e8dc 0%, transparent 45%),
    var(--foam);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

.topbar {
  background: var(--pine);
  color: #e8f6f0;
  font-size: .92rem;
}
.topbar-inner {
  max-width: 1120px; margin: 0 auto; padding: .55rem 1.25rem;
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between;
}
.topbar a { color: #fff; text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(243, 250, 247, 0.88);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 1.15rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  overflow: visible;
}
.brand {
  display: block;
  flex: 0 0 auto;
  overflow: visible;
  line-height: 0;
  text-decoration: none;
}
.brand img {
  display: block;
  width: min(260px, 70vw);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.nav-links {
  display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: .55rem .8rem; border-radius: 999px;
}
.nav-links a:hover { background: var(--mint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 999px; padding: .85rem 1.25rem;
  font-weight: 700; font-family: inherit; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(196, 92, 38, .28); }
.btn-primary:hover { background: #a84c1d; color: #fff; }
.btn-secondary { background: var(--pine); color: #fff; }
.btn-secondary:hover { color: #fff; background: #0f3329; }
.btn-ghost { background: transparent; color: var(--pine); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; color: var(--pine); }

.hero-slider {
  position: relative;
  min-height: min(92vh, 840px);
  color: #f7fffb;
  overflow: hidden;
  background: #0a1c18;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  display: flex;
  align-items: flex-end;
}
.hero-slide::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.03);
  transition: transform 7s ease-out;
  z-index: 0;
}
.hero-slide.is-active .hero-slide-media { transform: scale(1); }
.hero-slide-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(115deg, rgba(8, 24, 20, .78) 4%, rgba(16, 54, 44, .5) 38%, rgba(16, 54, 44, .2) 68%, rgba(16, 54, 44, .1) 100%),
    linear-gradient(0deg, rgba(8, 24, 20, .48), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px; width: 100%; margin: 0 auto;
  padding: 4.5rem 1.25rem 3.75rem;
}
.hero-brand {
  margin: 0 0 .65rem;
  overflow: visible;
  line-height: 0;
}
.hero-brand img {
  display: block;
  width: min(240px, 70vw);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.35));
}
.hero-kicker {
  display: inline-block; margin-bottom: .65rem; letter-spacing: .08em; text-transform: uppercase;
  font-size: .75rem; font-weight: 700; color: #d7f3e8;
}
.hero-slide h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  line-height: 1.15; margin: 0 0 .75rem; max-width: 18ch; letter-spacing: -.02em;
  font-weight: 500; color: #eefaf4;
}
.hero-slide p {
  max-width: 34rem; margin: 0 0 1.25rem; font-size: 1rem; color: #e4f4ed;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-btn-light {
  background: rgba(255,255,255,.92);
  color: var(--pine);
  border-color: transparent;
}
.hero-btn-light:hover { background: #fff; color: var(--pine); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(8, 24, 20, .45);
  color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; backdrop-filter: blur(8px);
}
.hero-arrow:hover { background: rgba(8, 24, 20, .7); }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }
.hero-dots {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  z-index: 3; display: flex; gap: .45rem;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45);
}
.hero-dot.is-active { width: 28px; background: #fff; }

.section {
  max-width: 1120px; margin: 0 auto; padding: 4.5rem 1.25rem;
}
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 .6rem; letter-spacing: -.02em;
}
.section-head p { margin: 0; color: #425850; }

.grid-3 {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-2 {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tile a.tile-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.tile-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--mint), #eef6f2);
  overflow: hidden;
}
.tile-media img {
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  transition: transform .45s ease;
}
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-media-empty {
  background:
    radial-gradient(circle at 30% 30%, #cfe8dc, transparent 55%),
    linear-gradient(135deg, var(--mint), #f7fbf9);
}
.tile-body { padding: 1.2rem 1.25rem 1.4rem; }
.tile-body h3 {
  font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 .45rem; letter-spacing: -.01em;
}
.tile-body p { margin: 0; color: #4d665e; font-size: .95rem; }

.band {
  background: linear-gradient(135deg, var(--pine), #1d5d4b 55%, #2a7a63);
  color: #f2fffa;
}
.band .section-head p { color: #d5eee4; }
.band-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.prose { max-width: 46rem; }
.prose h1, .prose h2, .prose h3 { font-family: var(--font-display); letter-spacing: -.02em; }
.prose p { color: #334841; }
.prose.legal-doc { max-width: 52rem; }
.prose.legal-doc h2 {
  font-size: 1.35rem; margin: 2rem 0 .75rem; color: var(--ink);
}
.prose.legal-doc h3 {
  font-size: 1.08rem; margin: 1.35rem 0 .55rem; color: var(--pine);
}
.prose.legal-doc ul {
  margin: .35rem 0 1rem; padding-left: 1.2rem; color: #334841;
}
.prose.legal-doc li { margin: .3rem 0; }
.prose.legal-doc strong { color: var(--ink); }

.page-hero {
  padding: 3.5rem 1.25rem 2rem;
  background:
    linear-gradient(180deg, rgba(216, 239, 230, .9), transparent),
    var(--foam);
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: 1120px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 .75rem; letter-spacing: -.02em;
}
.page-hero p { margin: 0; max-width: 40rem; color: #425850; }
.breadcrumb { font-size: .9rem; margin-bottom: .85rem; color: #5b7269; }
.breadcrumb a { color: inherit; }

.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: .8rem .9rem; font: inherit; background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.field-error { color: #a12622; font-size: .85rem; margin-top: .25rem; }
.alert {
  padding: .9rem 1rem; border-radius: 12px; margin-bottom: 1rem;
  background: var(--mint); border: 1px solid #b7dccf;
}
.alert-error { background: #fdeceb; border-color: #f0c2bd; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: .25rem; }

.site-footer {
  background: var(--ink); color: #d7e7e0; margin-top: 2rem;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 3rem 1.25rem 2rem;
  display: grid; gap: 1.5rem; grid-template-columns: 1.4fr 1fr 1fr;
}
.site-footer h3 {
  font-family: var(--font-display); color: #fff; margin: 0 0 .8rem; font-size: 1.15rem;
}
.site-footer a { color: #d7e7e0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: 1120px; margin: 0 auto; padding: 1rem 1.25rem 1.5rem;
  font-size: .88rem; color: #9fb4ab;
}
.float-wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); text-decoration: none; font-weight: 800;
}
.float-wa:hover { color: #fff; transform: translateY(-2px); }

@media (max-width: 900px) {
  .grid-3, .grid-2, .footer-inner, .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }
  .brand {
    flex: 1 1 100%;
    width: 100%;
    padding-top: .15rem;
  }
  .brand img {
    width: min(240px, 78vw);
    max-width: none;
  }
  .mobile-nav { display: flex; width: 100%; gap: .5rem; flex-wrap: wrap; }
  .mobile-nav a {
    text-decoration: none; color: var(--ink); font-weight: 650; font-size: .9rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem;
  }
  .hero-brand img {
    width: min(260px, 82vw);
  }
  .hero-slider { min-height: min(86vh, 720px); }
  .hero-arrow { width: 40px; height: 40px; font-size: 1.35rem; }
  .hero-prev { left: .6rem; }
  .hero-next { right: .6rem; }
  .hero-inner { padding: 5.5rem 1.15rem 3.5rem; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

.faq-list { display: grid; gap: .65rem; margin: 1rem 0 1.5rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: .65rem 0 0; color: #425850; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: rise-in .7s ease both;
}
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .btn:hover, .float-wa:hover { animation: none; transform: none; }
}

.promo-bar {
  display: none;
}
@media (max-width: 900px) {
  .site-main { padding-bottom: 4.5rem; }
  .float-wa { bottom: 4.6rem; }
  .promo-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: rgba(15, 36, 31, 0.96);
    border-top: 1px solid rgba(255,255,255,.12);
    padding: .35rem .4rem calc(.35rem + env(safe-area-inset-bottom));
  }
  .promo-bar a {
    color: #e8f6f0; text-decoration: none; text-align: center;
    font-size: .78rem; font-weight: 700; padding: .65rem .25rem;
  }
}
.prose ol { padding-left: 1.2rem; color: #334841; }
.prose ol li { margin: .35rem 0; }

.stack-form { display: grid; gap: .9rem; }
.stack-form label { display: grid; gap: .35rem; font-weight: 600; color: var(--ink); }
.stack-form input, .stack-form select, .stack-form textarea {
  font: inherit; padding: .7rem .85rem; border: 1px solid rgba(27,94,74,.22);
  border-radius: .55rem; background: #fff;
}
.alert {
  background: #e8f6f0; border: 1px solid rgba(27,94,74,.2);
  padding: .85rem 1rem; border-radius: .55rem; margin-bottom: 1rem;
}
.alert-error { background: #fdecea; border-color: #f5c2c0; color: #7a1f1f; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .75rem 0 0; }
.chip-list li {
  background: #fff; border: 1px solid rgba(27,94,74,.18);
  padding: .45rem .75rem; border-radius: .5rem; font-size: .92rem;
}
.soft-card {
  background: #fff; border: 1px solid rgba(27,94,74,.12);
  border-radius: .75rem; padding: 1.1rem 1.2rem;
}
.card-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.data-table th, .data-table td {
  text-align: left; padding: .65rem .5rem;
  border-bottom: 1px solid rgba(27,94,74,.12);
}
.data-table th { color: var(--pine); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.muted { color: #5a6f66; }
