:root {
  --ink: #10241c;
  --ink-soft: #2a4036;
  --muted: #5d7268;
  --foam: #f4f8f5;
  --paper: #eaf2ec;
  --pine: #14503f;
  --river: #178296;
  --sun: #f0b429;
  --sun-deep: #d9970a;
  --line: rgba(16, 36, 28, 0.12);
  --max: 1180px;
  --narrow: 640px;
  --header-h: 4.4rem;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: var(--river);
}

/* —— Ambient background FX —— */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 12% -5%, rgba(23, 130, 150, 0.16), transparent 60%),
    radial-gradient(800px 480px at 92% 18%, rgba(20, 80, 63, 0.14), transparent 55%),
    linear-gradient(180deg, #e7f1ea 0%, #f4f8f5 40%, #f7faf8 100%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
  mix-blend-mode: multiply;
  animation: orb-float 18s var(--ease-out) infinite alternate;
}

.bg-orb--a {
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  left: -8%;
  top: 18%;
  background: rgba(23, 130, 150, 0.28);
}

.bg-orb--b {
  width: 36vw;
  height: 36vw;
  min-width: 240px;
  min-height: 240px;
  right: -10%;
  top: 48%;
  background: rgba(240, 180, 41, 0.18);
  animation-delay: -6s;
  animation-duration: 22s;
}

.bg-orb--c {
  width: 28vw;
  height: 28vw;
  min-width: 200px;
  min-height: 200px;
  left: 40%;
  bottom: 4%;
  background: rgba(20, 80, 63, 0.22);
  animation-delay: -11s;
  animation-duration: 26s;
}

@keyframes orb-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -6%, 0) scale(1.12); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 36, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 36, 28, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, var(--narrow));
  margin-inline: auto;
}

main,
.site-header,
.site-footer,
.sticky-call,
.marquee {
  position: relative;
  z-index: 1;
}

/* —— Header —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  height: 2.7rem;
  width: auto;
}

.brand-logo--footer {
  height: 2.9rem;
}

.header-phone {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.9rem;
  background: rgba(240, 180, 41, 0.96);
  color: var(--ink);
  border-radius: 0.45rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-phone:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero {
  position: relative;
  height: clamp(40rem, 92svh, 58rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-color: #2f6b5a;
  background-image: var(--slide);
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease-out);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  animation: slide-ken 7.2s var(--ease-out) forwards;
}

.hero-slide.is-prev {
  opacity: 1;
  z-index: 1;
}

@keyframes slide-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 50% 48%, rgba(8, 20, 16, 0.42) 0%, rgba(8, 20, 16, 0.18) 52%, rgba(8, 20, 16, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 20, 16, 0.45) 0%, rgba(8, 20, 16, 0.12) 42%, rgba(8, 20, 16, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, 44rem);
  margin: 0 auto;
  padding: calc(var(--header-h) + 0.25rem) 0 2.25rem;
  text-align: center;
  display: grid;
  justify-items: center;
  will-change: transform, opacity;
}

.hero-logo {
  display: block;
  width: auto;
  height: clamp(3.7rem, 10vw, 5.9rem);
  margin: 0 0 0.85rem;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.4));
}

.hero h1,
.cta-shell-content h2 {
  margin: 0.1rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-punch {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sun);
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.phone-mega {
  display: grid;
  gap: 0.15rem;
  width: min(100%, 26rem);
  margin: 0 0 1rem;
  padding: 1rem 1.25rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, #ffd056 0%, var(--sun) 55%, var(--sun-deep) 100%);
  border-radius: 0.7rem;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 16px 40px rgba(0, 0, 0, 0.3);
  animation: pulse-cta 2.4s var(--ease-out) infinite;
  transition: transform 0.2s var(--ease-out), filter 0.2s ease;
}

.phone-mega:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  animation-play-state: paused;
}

.phone-mega-label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.phone-mega-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 16px 40px rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 0 0 7px rgba(255, 208, 86, 0.28), 0 20px 48px rgba(0, 0, 0, 0.35); }
}

.lead {
  margin: 0 0 1.1rem;
  max-width: 28rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease-out), background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-lg {
  min-height: 3.55rem;
  padding-inline: 1.5rem;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--sun);
  color: var(--ink);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dots button.is-active {
  background: var(--sun);
  transform: scale(1.25);
}

/* —— Marquee —— */
.marquee {
  overflow: hidden;
  background: var(--pine);
  color: rgba(255, 255, 255, 0.92);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
}

.marquee-track span::after {
  content: "·";
  margin-left: 2.5rem;
  opacity: 0.45;
  color: var(--sun);
}

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

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-intro,
.mosaic-head {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.section-intro h2,
.mosaic-head h2,
.section-more h2,
.section-legal h2,
.cta-shell-content h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-intro p,
.mosaic-head p,
.section-more p,
.section-legal p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.flow-item {
  display: grid;
  gap: 0.4rem;
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(16, 36, 28, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.flow-item:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 130, 150, 0.28);
}

.flow-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--river);
}

.flow-item h2,
.flow-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.flow-item p {
  margin: 0;
  color: var(--muted);
}

/* —— Mosaic —— */
.section-mosaic {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(9rem, 17vh);
  gap: 0.55rem;
  width: min(100% - 1.1rem, var(--max));
  margin-inline: auto;
}

.mosaic-cell {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #d7e5dc;
}

.mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.mosaic-cell:hover img {
  transform: scale(1.07);
}

.mosaic-cell--a { grid-column: 1 / -1; grid-row: span 2; min-height: 16rem; }
.mosaic-cell--b { grid-row: span 1; }
.mosaic-cell--c { grid-row: span 2; }
.mosaic-cell--d { grid-row: span 1; }
.mosaic-cell--e { grid-column: 1 / -1; grid-row: span 2; min-height: 14rem; }
.mosaic-cell--f,
.mosaic-cell--g,
.mosaic-cell--h { display: none; }

/* Topics */
.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.topic-list li {
  border-top: 1px solid var(--line);
}

.topic-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.topic-list span {
  display: block;
  padding: 1.15rem 0;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease-out), color 0.25s ease;
}

.topic-list li:hover span {
  transform: translateX(0.4rem);
  color: var(--pine);
}

/* Variants */
.variant-grid {
  display: grid;
  gap: 1rem;
}

.variant-tile {
  overflow: hidden;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(16, 36, 28, 0.08);
  backdrop-filter: blur(10px);
}

.variant-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.variant-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.variant-tile:hover .variant-media img {
  transform: scale(1.05);
}

.variant-body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.variant-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.variant-body p {
  margin: 0;
  color: var(--muted);
}

.variants-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

/* CTA shell */
.section-cta {
  padding-inline: 1rem;
}

.cta-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  min-height: clamp(26rem, 62vh, 36rem);
  display: grid;
  place-items: center;
  color: #fff;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.cta-shell-bg {
  position: absolute;
  inset: 0;
  background-image: var(--slide);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: cta-drift 16s var(--ease-out) infinite alternate;
}

@keyframes cta-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(0, -2%, 0); }
}

.cta-shell-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(8, 20, 16, 0.5), rgba(8, 20, 16, 0.72));
}

.cta-shell-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 40rem);
  text-align: center;
  display: grid;
  justify-items: center;
  padding: 3rem 0;
}

.cta-shell-content h2,
.cta-shell-content .hero-punch {
  color: inherit;
}

.cta-shell-content h2 {
  color: #fff;
}

.phone-note {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.section-intro-seo p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section-intro-seo a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(16, 36, 28, 0.08);
  border-radius: 0.9rem;
  padding: 0.15rem 1.1rem;
  backdrop-filter: blur(10px);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--river);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.faq-item a {
  font-weight: 700;
}

.section-legal {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.section-legal p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 2.5rem 0 calc(5.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--pine);
}

.footer-copy {
  margin: 0;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(244, 248, 245, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.sticky-call .btn {
  width: 100%;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.35rem);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(1.3rem);
  animation: hero-in 0.9s var(--ease-out) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.14s; }
.hero-content > *:nth-child(3) { animation-delay: 0.22s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }
.hero-content > *:nth-child(5) { animation-delay: 0.38s; }
.hero-content > *:nth-child(6) { animation-delay: 0.46s; }

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .bg-orb,
  .marquee-track,
  .hero-slide,
  .cta-shell-bg,
  .phone-mega,
  .reveal,
  .hero-content > * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (min-width: 720px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .variant-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }

  .mosaic {
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-auto-rows: minmax(10rem, 17vh);
  }

  .mosaic-cell--a { grid-column: 1 / 3; grid-row: span 2; min-height: 0; }
  .mosaic-cell--b { grid-column: 3; grid-row: span 1; }
  .mosaic-cell--c { grid-column: 3; grid-row: span 2; }
  .mosaic-cell--d { grid-column: 1; grid-row: span 1; }
  .mosaic-cell--e { grid-column: 2; grid-row: span 2; min-height: 0; }
  .mosaic-cell--f { display: block; grid-column: 3; grid-row: span 1; }
  .mosaic-cell--g { display: block; grid-column: 1; grid-row: span 1; }
  .mosaic-cell--h { display: block; grid-column: 2; grid-row: span 1; }

  .sticky-call {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.75rem;
  }
}
