:root {
  --background: #f5f1e8;
  --foreground: #172115;
  --primary: #283b28;
  --primary-strong: #172618;
  --primary-soft: #dce5d7;
  --primary-foreground: #fffaf0;
  --secondary: #7c8b5b;
  --accent: #c2a36b;
  --accent-strong: #9c7b3e;
  --muted: #ebe5d6;
  --muted-foreground: #59634d;
  --surface: #fffaf0;
  --surface-deep: #e8dfca;
  --border: rgba(40, 59, 40, 0.16);
  --ring: #c2a36b;
  --shadow: 0 22px 60px rgba(23, 33, 21, 0.16);
  --shadow-soft: 0 14px 42px rgba(23, 33, 21, 0.1);
  --radius: 8px;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(194, 163, 107, 0.18), transparent 22rem),
    linear-gradient(180deg, #f8f3e9 0%, var(--background) 45%, #ebe4d3 100%);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 10px 14px;
  border-radius: 6px;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  left: 50%;
  top: 16px;
  z-index: 100;
  width: min(calc(100% - 28px), 1160px);
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 250, 240, 0.48);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.82);
  box-shadow: 0 16px 50px rgba(23, 33, 21, 0.11);
  backdrop-filter: blur(18px);
  transition:
    background 220ms var(--ease),
    box-shadow 220ms var(--ease),
    top 220ms var(--ease);
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(255, 250, 240, 0.93);
  box-shadow: 0 18px 55px rgba(23, 33, 21, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #40563a);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 1.08rem;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.22);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted-foreground);
  font-size: 0.72rem;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 7px;
  color: rgba(23, 33, 21, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(40, 59, 40, 0.1);
  color: var(--primary-strong);
  transform: translateY(-1px);
}

.header-cta,
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background 180ms var(--ease),
    color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.header-cta {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 12px 30px rgba(40, 59, 40, 0.22);
}

.header-cta svg,
.button svg,
.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-cta:active,
.button:active,
.nav-toggle:active,
.whatsapp-float:active {
  transform: scale(0.96);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.76);
  color: var(--foreground);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition:
    transform 180ms var(--ease),
    opacity 180ms var(--ease);
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.section {
  position: relative;
  scroll-margin-top: 98px;
}

.section-inner,
.hero-shell {
  width: min(calc(100% - 32px), 1160px);
  margin-inline: auto;
}

.hero {
  min-height: 100svh;
  padding: 112px 0 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255, 250, 240, 0.96), rgba(245, 241, 232, 0.76) 46%, rgba(40, 59, 40, 0.12)),
    radial-gradient(circle at 78% 18%, rgba(124, 139, 91, 0.28), transparent 26rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: clamp(30px, 6vw, 78px);
  min-height: calc(100svh - 190px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  color: var(--primary-strong);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  max-width: 12.2ch;
  font-size: clamp(3.45rem, 8.2vw, 6.35rem);
}

h2 {
  font-size: clamp(2.45rem, 7vw, 5.15rem);
}

h3 {
  margin: 0;
  color: var(--primary-strong);
  font-size: 1.18rem;
  line-height: 1.2;
}

.rotating-word {
  display: block;
  min-height: 1.02em;
  color: var(--secondary);
  font-style: italic;
  transition:
    opacity 280ms var(--ease),
    transform 280ms var(--ease);
}

.rotating-word.is-changing {
  opacity: 0;
  transform: translateY(14px);
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #3d4937;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-primary {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 18px 36px rgba(23, 33, 21, 0.24);
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: -45% auto -45% -35%;
  width: 32%;
  transform: skewX(-16deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  animation: sheen 4.8s ease-in-out infinite;
}

.button-secondary {
  background: rgba(255, 250, 240, 0.76);
  color: var(--primary);
  border-color: rgba(40, 59, 40, 0.2);
}

.button-secondary:hover {
  background: #fffaf0;
  border-color: rgba(40, 59, 40, 0.34);
  box-shadow: var(--shadow-soft);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(40, 59, 40, 0.15);
  border-radius: 7px;
  background: rgba(255, 250, 240, 0.68);
  color: #46543d;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-media {
  position: relative;
  z-index: 1;
  min-width: 0;
  aspect-ratio: 4 / 5;
  max-height: 720px;
}

.media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.5);
  border-radius: 8px;
  background: var(--primary-soft);
  box-shadow: var(--shadow);
  clip-path: inset(0 round 8px);
  animation: mediaReveal 1100ms var(--ease) both;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(23, 33, 21, 0.48));
  pointer-events: none;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 44%;
  filter: saturate(0.82) contrast(1.02);
  transform: scale(1.02);
}

.floating-panel {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 5px;
  width: min(260px, 54%);
  padding: 15px;
  border: 1px solid rgba(255, 250, 240, 0.54);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 18px 40px rgba(23, 33, 21, 0.14);
  backdrop-filter: blur(14px);
  animation: floatPanel 6s ease-in-out infinite;
}

.floating-panel strong {
  color: var(--primary-strong);
  font-size: 0.92rem;
  line-height: 1.25;
}

.panel-kicker,
.mini-label {
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-top {
  right: clamp(12px, 5vw, 34px);
  top: 24px;
}

.panel-bottom {
  left: -28px;
  bottom: 26px;
  animation-delay: -2s;
}

.spark-line {
  width: 72px;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(40, 59, 40, 0.12);
}

.spark-line::before {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: spark 2.2s ease-in-out infinite;
}

.hero-billboard {
  width: 100%;
  overflow: hidden;
  margin-top: clamp(18px, 4vw, 34px);
  border-block: 1px solid rgba(40, 59, 40, 0.16);
  background: var(--primary);
  color: var(--primary-foreground);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-group {
  display: flex;
  min-width: max-content;
}

.ticker-group span {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding-inline: clamp(20px, 4vw, 42px);
  color: rgba(255, 250, 240, 0.9);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2.35rem);
  white-space: nowrap;
}

.ticker-group span::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: clamp(20px, 4vw, 42px);
  border-radius: 50%;
  background: var(--accent);
}

.trust-band {
  padding: clamp(54px, 7vw, 96px) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-card,
.service-card,
.story-panel,
.process-card,
.bento-card,
.address-card,
.cta-panel,
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.68);
  box-shadow: var(--shadow-soft);
}

.trust-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 28px);
}

.trust-number {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 6.5rem);
  line-height: 0.85;
}

.trust-card p {
  max-width: 28ch;
  margin: 18px 0 0;
  color: var(--muted-foreground);
  font-weight: 700;
}

.services,
.experience,
.differentials,
.location {
  padding: clamp(74px, 10vw, 132px) 0;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 790px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading p:not(.eyebrow),
.story-copy p:not(.eyebrow),
.process-sticky p,
.experience-copy p,
.faq-intro p,
.cta-panel p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.section-heading.compact {
  max-width: 640px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.service-card:hover,
.bento-card:hover,
.process-card:hover {
  transform: translateY(-5px);
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(40, 59, 40, 0.1);
  color: var(--primary);
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.story-panel p,
.process-card p,
.bento-card p,
.address-card p,
.faq-item p {
  margin: 0;
  color: var(--muted-foreground);
}

.story {
  --p: 0;
  --wash-a: color-mix(in oklab, #223321, #4f633f calc(var(--p) * 80%));
  --wash-b: color-mix(in oklab, #667a4e, #c2a36b calc(var(--p) * 58%));
  padding: clamp(82px, 12vw, 150px) 0;
  background:
    radial-gradient(circle at calc(18% + var(--p) * 62%) 16%, rgba(255, 250, 240, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--wash-a), var(--wash-b));
  color: var(--primary-foreground);
  overflow: hidden;
}

.story h2,
.story h3,
.story .eyebrow {
  color: var(--primary-foreground);
}

.story .eyebrow {
  opacity: 0.76;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.story-copy {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
}

.story-copy p:not(.eyebrow),
.story-panel p {
  color: rgba(255, 250, 240, 0.78);
}

.story-stack {
  display: grid;
  gap: 16px;
}

.story-panel {
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 250, 240, 0.1);
  border-color: rgba(255, 250, 240, 0.22);
  box-shadow: 0 20px 60px rgba(8, 16, 8, 0.16);
  backdrop-filter: blur(14px);
}

.story-panel span {
  color: rgba(255, 250, 240, 0.58);
  font-family: var(--font-display);
  font-size: 3.8rem;
  line-height: 0.9;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.experience-media {
  position: relative;
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.02);
}

.experience-copy {
  display: grid;
  gap: 20px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #394633;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: inset 0 0 0 5px var(--primary-soft);
}

.process {
  padding: clamp(78px, 10vw, 140px) 0;
  background: linear-gradient(180deg, rgba(40, 59, 40, 0.06), rgba(194, 163, 107, 0.08));
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.process-sticky {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
}

.progress-shell {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(40, 59, 40, 0.11);
}

.progress-shell span {
  display: block;
  width: calc(var(--process-progress, 0) * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 180ms linear;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-card {
  position: sticky;
  top: calc(98px + var(--offset, 0px));
  min-height: 230px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 250, 240, 0.88);
}

.process-card:nth-child(1) {
  --offset: 0px;
}

.process-card:nth-child(2) {
  --offset: 18px;
}

.process-card:nth-child(3) {
  --offset: 36px;
}

.process-card:nth-child(4) {
  --offset: 54px;
}

.process-card span {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.process-card.is-active {
  border-color: rgba(194, 163, 107, 0.72);
  box-shadow: 0 24px 70px rgba(23, 33, 21, 0.18);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.bento-card {
  min-height: 240px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(22px, 4vw, 34px);
  transition:
    transform 220ms var(--ease),
    background 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.bento-card.large {
  min-height: 390px;
  grid-row: span 2;
  background:
    linear-gradient(135deg, rgba(40, 59, 40, 0.92), rgba(79, 99, 63, 0.94)),
    var(--primary);
}

.bento-card.large h3,
.bento-card.large p,
.bento-card.large .mini-label {
  color: var(--primary-foreground);
}

.bento-card.large p {
  color: rgba(255, 250, 240, 0.78);
}

.faq {
  padding: clamp(76px, 10vw, 132px) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--primary-strong);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
}

.faq-item p {
  padding: 0 20px 20px;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 14px;
  align-items: stretch;
}

.address-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 4vw, 32px);
  background: var(--primary);
  color: var(--primary-foreground);
}

.address-card .mini-label,
.address-card p,
.address-card address,
.address-card .phone-link {
  color: rgba(255, 250, 240, 0.82);
}

.address-card address {
  font-style: normal;
  font-weight: 700;
}

.address-card .button-secondary {
  width: fit-content;
  background: var(--primary-foreground);
}

.phone-link {
  font-size: 1.35rem;
  font-family: var(--font-display);
}

.map-frame {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-deep);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
}

.final-cta {
  padding: clamp(68px, 9vw, 126px) 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(36px, 7vw, 78px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(23, 38, 24, 0.96), rgba(69, 86, 55, 0.94)),
    var(--primary);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 250, 240, 0.15);
  border-radius: 8px;
  pointer-events: none;
}

.cta-panel h2,
.cta-panel .eyebrow {
  color: var(--primary-foreground);
}

.cta-panel p {
  max-width: 680px;
  color: rgba(255, 250, 240, 0.76);
}

.cta-panel .button-primary {
  background: var(--primary-foreground);
  color: var(--primary);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.site-footer {
  padding: clamp(54px, 8vw, 82px) 0 28px;
  background: #111a12;
  color: rgba(255, 250, 240, 0.78);
}

.footer-inner,
.footer-bottom {
  width: min(calc(100% - 32px), 1160px);
  margin-inline: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.18fr 0.68fr 0.88fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
}

.site-footer strong,
.site-footer .brand strong {
  color: var(--primary-foreground);
}

.site-footer .brand small,
.site-footer p,
.site-footer address,
.site-footer a {
  color: rgba(255, 250, 240, 0.72);
}

.footer-brand p {
  max-width: 36ch;
}

.footer-nav,
.footer-contact,
.footer-seo {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-contact address {
  font-style: normal;
}

.health-note {
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 250, 240, 0.12);
  color: rgba(255, 250, 240, 0.54);
  font-size: 0.84rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #1f7f4c;
  color: white;
  box-shadow: 0 18px 36px rgba(23, 33, 21, 0.28);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(23, 33, 21, 0.34);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 680ms var(--ease),
    transform 680ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes sheen {
  0%,
  58% {
    transform: translateX(0) skewX(-16deg);
  }
  82%,
  100% {
    transform: translateX(480%) skewX(-16deg);
  }
}

@keyframes mediaReveal {
  from {
    clip-path: inset(0 0 100% 0 round 8px);
    transform: translateY(18px);
  }
  to {
    clip-path: inset(0 round 8px);
    transform: translateY(0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spark {
  0% {
    transform: translateX(-100%);
  }
  50%,
  100% {
    transform: translateX(250%);
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .main-nav {
    justify-content: end;
  }

  .brand small {
    display: none;
  }

  .hero-grid,
  .story-grid,
  .process-grid,
  .faq-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-bottom: 20px;
  }

  .hero-copy {
    max-width: 760px;
  }

  h1 {
    max-width: 11.5ch;
  }

  .hero-media {
    width: min(100%, 640px);
    margin-inline: auto;
  }

  .story-copy,
  .process-sticky,
  .faq-intro {
    position: relative;
    top: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card {
    position: relative;
    top: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 62px;
    width: min(calc(100% - 22px), 720px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    left: 11px;
    right: 11px;
    top: 82px;
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms var(--ease),
      opacity 180ms var(--ease);
  }

  .nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    justify-content: center;
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-shell,
  .section-inner,
  .footer-inner,
  .footer-bottom {
    width: min(calc(100% - 24px), 680px);
  }

  h1 {
    max-width: 10.6ch;
    font-size: clamp(2.9rem, 13vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 3.75rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 14px;
  }

  .hero-proof span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero-media {
    aspect-ratio: 0.9 / 1;
  }

  .floating-panel {
    width: min(230px, 62%);
    padding: 12px;
  }

  .panel-bottom {
    left: 10px;
  }

  .trust-grid,
  .service-grid,
  .bento-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    min-height: 160px;
  }

  .service-card {
    min-height: 240px;
  }

  .story-grid,
  .process-grid,
  .faq-grid {
    gap: 28px;
  }

  .bento-card.large {
    min-height: 320px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 380px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-billboard {
    margin-top: 24px;
  }

  .ticker-group span {
    min-height: 56px;
  }

  .floating-panel {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 10px;
    animation: none;
  }

  .panel-top {
    display: none;
  }

  .hero-media {
    display: grid;
    gap: 10px;
    aspect-ratio: auto;
  }

  .media-frame {
    position: relative;
    aspect-ratio: 0.92 / 1;
  }

  .panel-bottom {
    left: auto;
    bottom: auto;
  }

  .trust-number {
    font-size: 4.4rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
    flex-wrap: wrap;
  }

  .story {
    --p: 0.45;
  }
}
