/* ==========================================================================
   RootedTechnics — website styles
   Brand: Oswald (headlines, upper case) + Inter (text)
   Palette: warm white, charcoal, soft sage — Root Green for emphasis
   Layout: soft rounded panels, floating header, flowing ribbon backgrounds
   ========================================================================== */

:root {
  /* Brand */
  --root-green: #006633;
  --root-green-dark: #00502a;
  --leaf-green: #2e9e5b;
  --ink: #111111;
  --charcoal: #2f2f2d;

  /* Calm website palette */
  --bg: #f1f0eb;
  --panel: #faf9f5;
  --white: #ffffff;
  --sage: #e4ebe2;
  --sage-2: #d3ddd0;
  --dark: #1c1c1a;
  --dark-2: #272725;
  --text: #3a3a37;
  --muted: #6c6c66;
  --line: #e3e1d9;

  --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-text: "Inter", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 10vw, 136px);

  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;

  --shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 14px 36px rgba(17, 17, 17, 0.07);
  --shadow-raised: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(17, 17, 17, 0.05), 0 16px 40px rgba(17, 17, 17, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.005em;
}
h1 { font-weight: 700; font-size: clamp(2.9rem, 6.6vw, 6.1rem); line-height: 0.98; }
h2 { font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1; }
h3 { font-weight: 600; font-size: 1.4rem; line-height: 1.15; }

.payoff { color: var(--root-green); display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--root-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 102, 51, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--root-green-dark); transform: translateY(-1px); }

.btn--dark { background: var(--dark); box-shadow: 0 10px 24px rgba(17, 17, 17, 0.2); }
.btn--dark:hover { background: #000; }

.btn--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-raised); }
.btn--light:hover { background: var(--white); color: var(--root-green); }

.btn--small { padding: 12px 22px; font-size: 0.95rem; box-shadow: none; }

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--leaf-green);
  outline-offset: 3px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--root-green);
  text-decoration: none;
}
.link .icon { width: 18px; height: 18px; transition: transform 0.2s ease; }
.link:hover .icon { transform: translateX(4px); }

/* ---------- Header (floating rounded bar) ---------- */
.header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 var(--gutter);
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  height: 76px;
  padding: 0 12px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.07), 0 1px 2px rgba(17, 17, 17, 0.04);
}

.logo img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }

.nav a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.98rem;
  color: var(--charcoal);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-color: var(--root-green); color: var(--ink); }
.nav a[aria-current="page"] { border-color: var(--root-green); color: var(--root-green); }
.nav .btn { margin-left: 8px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .header { top: 12px; }
  .header-inner { height: 64px; padding: 0 10px 0 20px; }
  .logo img { height: 36px; }

  .nav-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
  }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    position: relative;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  .nav-burger span::before { position: absolute; top: -7px; }
  .nav-burger span::after { position: absolute; top: 7px; }

  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--leaf-green); }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 24px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.1);
  }
  .nav a:not(.btn) { font-size: 1.2rem; padding: 10px 0; }
  .nav .btn { margin: 14px 0 0; }
  .nav-toggle:checked ~ .nav { display: flex; }
}

/* ---------- Rounded panels & ribbon ---------- */
.panel-wrap { padding: 14px; }

.ribbon-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 60% 55% at 42% 46%, #fcfbf8 0%, rgba(252, 251, 248, 0) 70%),
    linear-gradient(160deg, #f4f3ef 0%, #eceee8 50%, #e2e8df 100%);
}

.ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dark-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--dark);
  color: #c9c8c2;
}
.dark-panel h2,
.dark-panel h3 { color: #fff; }
.dark-panel .payoff { color: var(--leaf-green); }
.dark-panel .section-head p { color: #a9a8a2; }

@media (max-width: 900px) {
  .panel-wrap { padding: 10px; }
  .ribbon-panel,
  .dark-panel { border-radius: 26px; }
}

/* ---------- Hero ---------- */
.hero-card {
  min-height: min(calc(100svh - 28px), 960px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 120px;
}
.hero-card--page { min-height: min(calc(86svh - 28px), 760px); padding: 170px 24px 110px; }

.hero-inner { position: relative; z-index: 1; max-width: 1240px; }
.hero-card--page .hero-inner { max-width: 900px; }
.hero-card--page h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); }

.hero-inner h1 .line { display: block; }

.hero-inner .lead {
  margin: clamp(56px, 6.5vw, 88px) auto 0;
  max-width: 560px;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--text);
}
.hero-inner .btn { margin-top: 36px; }

/* Green pill inside the headline, with icon tiles rising out of it */
.pill {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  width: 2.6em;
  height: 0.82em;
  margin-left: 0.16em;
  transform: translateY(-0.06em);
}
.pill-box {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #005a2d 0%, #0b7a40 100%);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.09),
    0 23px 37px rgba(0, 102, 51, 0.17),
    0 76px 123px rgba(0, 102, 51, 0.06),
    0 56px 83px rgba(0, 102, 51, 0.22),
    0 14px 34px rgba(0, 102, 51, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* Clipped at the pill's top edge so the tiles look like they rise out of it */
.pill-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.2em;
  overflow: hidden;
}

.tile-pos {
  position: absolute;
  width: 0.62em;
  height: 0.62em;
  animation: tile-rise 1.1s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}
.tile-pos--1 { left: 19%; top: 0; animation-delay: 0.55s; }
.tile-pos--2 { left: 54%; top: 0.29em; animation-delay: 0.7s; }
.tile-pos--3 { left: 26%; top: 0.86em; animation-delay: 0.85s; }

.tile {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 0.15em;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(var(--r, 0deg));
  animation: tile-float 4s ease-in-out infinite;
}
.tile-pos--1 .tile { --r: -16deg; animation-delay: 1.6s; }
.tile-pos--2 .tile { --r: 12deg; animation-delay: 2.1s; }
.tile-pos--3 .tile { --r: -8deg; animation-delay: 2.6s; }
.tile svg { width: 58%; height: 58%; }

@keyframes tile-rise {
  from { opacity: 0; transform: translate(0, 0.5em); }
  to { opacity: 1; transform: translate(-0.1em, -0.1em); }
}
@keyframes tile-float {
  0%, 100% { transform: rotate(var(--r)) translateY(0); }
  50% { transform: rotate(var(--r)) translateY(-0.05em); }
}

/* Headline entrance: fades in while tilting up (like the reference) */
.hero-inner h1 {
  transform-origin: 50% 0;
  animation: title-in 1s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}
.hero-inner .lead { animation: fade-up 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.35s both; }
.hero-inner .btn { animation: fade-up 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s both; }

@keyframes title-in {
  from { opacity: 0; transform: perspective(400px) rotateX(45deg) translateY(40%); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-card { min-height: 0; padding: 130px 20px 88px; }
  .hero-card--page { padding: 130px 20px 80px; }
  .pill { display: block; margin: 0.22em auto 0.1em; transform: none; width: 3.2em; height: 1em; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 34px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-group { display: flex; align-items: center; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #9a9992;
  white-space: nowrap;
}
.marquee-item img { width: 26px; height: 26px; opacity: 0.55; }

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

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-raised);
  padding: 34px 32px 36px;
  display: flex;
  flex-direction: column;
}
.card h3 { margin-top: 26px; }
.card p { margin-top: 12px; color: var(--muted); }
.card .link { margin-top: auto; padding-top: 26px; }

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--root-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 102, 51, 0.25);
  flex: none;
}
.icon-tile .icon { width: 26px; height: 26px; }

.icon-soft {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: linear-gradient(145deg, #ffffff, #eeeee8);
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px rgba(17, 17, 17, 0.09);
  color: var(--root-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-soft .icon { width: 36px; height: 36px; stroke-width: 1.6; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .grid--2,
  .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Intro (heading + dark photo card + light card) ---------- */
.intro-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.intro-head p { max-width: 420px; color: var(--muted); font-size: 1.1rem; }

.intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 460px;
  background: var(--dark);
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, 0.78) 100%);
}
.photo-card-body {
  position: relative;
  z-index: 1;
  padding: 36px;
  color: #e9e7e1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}
.photo-card-body h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.photo-card-body h3 .payoff { color: #9fd8b4; }

.list-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-raised);
  padding: 34px 32px;
}
.list-card h3 { font-size: 1.6rem; margin-bottom: 8px; }

.icon-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.icon-row:last-child { border-bottom: 0; padding-bottom: 0; }
.icon-row .icon-mini {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--root-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-row strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  color: var(--ink);
}
.icon-row span { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .photo-card { min-height: 380px; }
}

/* ---------- Services accordion ---------- */
.split-acc {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.split-acc-text { position: sticky; top: 130px; }
.split-acc-text p { margin-top: 20px; color: var(--muted); font-size: 1.1rem; max-width: 420px; }
.split-acc-text .btn { margin-top: 34px; }

.acc { display: grid; gap: 14px; }
.acc details {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-raised);
  transition: background 0.25s ease;
}
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 28px 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--ink);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "";
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform 0.25s ease;
}
.acc details[open] { background: var(--dark); }
.acc details[open] summary { color: #fff; }
.acc details[open] summary::after {
  background: var(--leaf-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M1 7h12' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}
.acc-body { padding: 0 32px 32px; color: #bcbab3; }
.acc-body p { max-width: 520px; }
.acc-body .link { margin-top: 22px; color: #8fd3a9; }

@media (max-width: 900px) {
  .split-acc { grid-template-columns: 1fr; }
  .split-acc-text { position: static; }
}

/* ---------- Showcase (big photo card) ---------- */
.showcase {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 14px;
  box-shadow: var(--shadow-raised);
}
.showcase-img { border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 7; }
.showcase-img img { width: 100%; height: 100%; object-fit: cover; }
.showcase-meta {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 30px 26px 22px;
  align-items: start;
}
.showcase-meta h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1; }
.showcase-meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--root-green);
  margin-bottom: 6px;
}
.showcase-meta p { color: var(--muted); font-size: 0.98rem; }

@media (max-width: 900px) {
  .showcase-img { aspect-ratio: 4 / 3; }
  .showcase-meta { grid-template-columns: 1fr; gap: 20px; padding: 24px 14px 12px; }
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-raised);
  padding: 30px 28px 24px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
}
.step h3 { margin-top: 30px; }
.step p { margin-top: 12px; color: var(--muted); font-size: 0.98rem; }
.step-num {
  margin-top: auto;
  padding-top: 20px;
  align-self: flex-end;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4rem;
  line-height: 1;
  color: rgba(17, 17, 17, 0.1);
}

@media (max-width: 1000px) {
  .steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 72%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 6px 4px 24px;
    margin: -6px -4px 0;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; min-height: 300px; }
}

/* ---------- Benefit cards ---------- */
.benefit {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-raised);
  padding: 40px 36px;
}
.benefit h3 { margin-top: 30px; }
.benefit p { margin-top: 10px; color: var(--muted); }

/* ---------- Reviews (dark panel) ---------- */
.review {
  margin: 0;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.review-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.6;
  height: 30px;
  color: var(--leaf-green);
}
.review blockquote {
  margin: 22px 0 0;
  font-size: 1.12rem;
  line-height: 1.55;
  color: #eceae4;
}
.review figcaption {
  margin-top: auto;
  padding-top: 30px;
  font-size: 0.95rem;
  color: #95948e;
}
.review figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: #fff;
}

/* ---------- Contact panel ---------- */
.contact-panel { padding: clamp(28px, 5vw, 72px); }
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.contact-text p { margin-top: 20px; font-size: 1.1rem; max-width: 420px; }

.contact-list { display: grid; gap: 12px; margin-top: 34px; }
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 8px 22px 8px 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
}
.contact-pill span.ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.contact-pill .icon { width: 18px; height: 18px; }
a.contact-pill:hover { color: var(--root-green); }

.cta-center { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-center p { margin: 20px auto 0; font-size: 1.1rem; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* Form */
.form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
}
.form h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.92rem; color: var(--charcoal); margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #f5f4f0;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232f2f2d' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--root-green); background: #fff; outline: none; }

.form .btn { margin-top: 24px; width: 100%; justify-content: center; }
.form-status { margin-top: 14px; color: #b42318; text-align: center; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-help { margin-top: 16px; font-size: 0.92rem; color: var(--muted); text-align: center; }
.form-help a { color: var(--root-green); }
.hidden-field { display: none; }

#quote { scroll-margin-top: 100px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Map ---------- */
.map-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 14px;
  box-shadow: var(--shadow-raised);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  border-radius: 26px;
  filter: grayscale(0.85) sepia(0.1);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 11vw, 150px) 0 32px;
  text-align: center;
}
.footer-word {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 12vw, 11.5rem);
  line-height: 1;
  white-space: nowrap;
  color: rgba(17, 17, 17, 0.045);
  pointer-events: none;
  user-select: none;
}
.footer-inner { position: relative; z-index: 1; }
.footer-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 22px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.2);
}
.footer-mark img { width: 46px; height: 46px; }
.footer h2 { margin-top: 26px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.footer-sub { margin-top: 12px; color: var(--muted); }

.footer-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.footer-pills .contact-pill { background: var(--white); box-shadow: var(--shadow-raised); padding: 8px 8px 8px 24px; }
.footer-pills .contact-pill span.ic { order: 2; }

.footer-bottom {
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--charcoal); }
.footer-links a:hover,
.to-top:hover { color: var(--root-green); }
.to-top { color: var(--charcoal); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.to-top .icon { width: 18px; height: 18px; }

@media (max-width: 700px) {
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ---------- WhatsApp button ---------- */
.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--root-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 102, 51, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.whatsapp:hover { background: var(--root-green-dark); transform: translateY(-2px); }
.whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .marquee-track { animation: none; }
  .hero-inner h1,
  .hero-inner .lead,
  .hero-inner .btn,
  .tile-pos,
  .tile { animation: none; }
  .tile-pos { transform: translate(-0.1em, -0.1em); }
}
