:root {
  --bg: #f0ede4;
  --bg-raised: #e7e2d3;
  --ink: #14140f;
  --ink-muted: #6b6759;
  --ink-dim: #96917f;
  --surface: #faf8f2;
  --border: rgba(19, 19, 16, 0.12);
  --emerald: #0d3b2e;
  --emerald-2: #146650;
  --scrim: rgba(240, 237, 228, 0.6);
  --radius: 2px;
  --section-pad: clamp(5rem, 12vw, 9rem);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: var(--section-pad);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-2);
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--emerald);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-invert {
  background: var(--bg);
  color: var(--emerald);
}

.btn-invert:hover {
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.15rem;
  transition: gap 0.25s ease, opacity 0.25s ease;
}

.link-arrow:hover {
  gap: 0.8rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--emerald);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}

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

:focus-visible {
  outline: 2px solid var(--emerald-2);
  outline-offset: 2px;
}

/* Nav */
.site-nav {
  position: fixed;
  top: 1.1rem;
  inset-inline: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: 1.25rem;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(250, 248, 242, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 16px 40px -20px rgba(19, 19, 16, 0.22);
  padding: 0.6rem 0.6rem 0.6rem 1.5rem;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-nav.is-scrolled .nav-inner {
  background: rgba(250, 248, 242, 0.94);
  box-shadow: 0 20px 50px -18px rgba(19, 19, 16, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 9px;
}

.nav-word {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-word span {
  color: var(--emerald-2);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav nav a:not(.btn):hover,
.site-nav nav a:not(.btn).active {
  color: var(--emerald-2);
}

.site-nav nav a:not(.btn).active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--emerald-2);
  border-radius: 2px;
}

.site-nav .btn-primary {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 860px) {
  .site-nav {
    top: 0.75rem;
    padding-inline: 0.75rem;
  }

  .nav-inner {
    padding: 0.45rem 0.5rem 0.45rem 1rem;
  }

  .nav-word {
    font-size: 0.95rem;
  }

  .nav-logo img {
    width: 28px;
    height: 28px;
  }

  .nav-toggle {
    display: flex;
    z-index: 10002;
    position: relative;
  }

  .nav-logo {
    z-index: 10002;
    position: relative;
  }

  .site-nav nav {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-nav {
    z-index: 10000;
  }

  body.nav-open .nav-inner {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.nav-open .site-nav nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding: 6.5rem 2rem 3rem;
  }

  body.nav-open .site-nav nav a {
    font-size: 1.6rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  body.nav-open .site-nav nav a:hover,
  body.nav-open .site-nav nav a.active {
    color: var(--emerald-2);
    transform: translateY(-2px);
  }

  body.nav-open .site-nav nav a.btn-primary {
    font-size: 1.15rem;
    padding: 0.9rem 2.5rem;
    margin-top: 0.5rem;
    color: #fff;
    background: var(--emerald);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(240, 237, 228, 0.65) 0%, rgba(240, 237, 228, 0.82) 60%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(7.5rem, 12vw, 9.5rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
}

.hero-content-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text {
  max-width: 100%;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  max-width: 16ch;
  line-height: 1.08;
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 48ch;
  color: var(--ink-muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(19, 19, 16, 0.08);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.trust-icon {
  font-size: 1.1rem;
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.trust-badge-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
}

/* Hero Visual Card (Right Side) */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.hero-glass-card {
  position: relative;
  background: rgba(250, 248, 242, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(13, 59, 46, 0.18);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow:
    0 24px 48px -18px rgba(13, 59, 46, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-glass-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 60px -20px rgba(13, 59, 46, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 59, 46, 0.07);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald-2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-2);
  border-radius: 50%;
  position: relative;
  animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 102, 80, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(20, 102, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(20, 102, 80, 0);
  }
}

.hero-location {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.hero-agency-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--emerald);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-title {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.badge-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.hero-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cap-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(19, 19, 16, 0.06);
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
}

.cap-icon {
  color: var(--emerald-2);
  display: flex;
  align-items: center;
}

.hero-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.5rem;
}

.tech-tag {
  background: var(--emerald);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.hero-floating-stat {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--emerald);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 16px 32px -10px rgba(13, 59, 46, 0.35);
  animation: float-badge 4s infinite ease-in-out;
}

@keyframes float-badge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.stat-icon-wrap {
  font-size: 1.3rem;
}

.stat-text-wrap {
  display: flex;
  flex-direction: column;
}

.stat-text-wrap strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-text-wrap span {
  font-size: 0.75rem;
  opacity: 0.85;
}

@media (max-width: 960px) {
  .hero-content-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    max-width: 500px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-floating-stat {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .hero-trust-badges {
    flex-wrap: wrap;
    gap: 0.85rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .hero-video {
    object-position: 60% center;
    opacity: 0.85;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(240, 237, 228, 0.88) 0%, rgba(240, 237, 228, 0.78) 55%, var(--bg) 100%);
  }

  .hero-content {
    padding: 6.25rem 1.25rem 2.5rem;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 8.8vw, 3.2rem);
    max-width: 100%;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-top: 1rem;
    color: #38352d;
  }

  .hero-ctas {
    gap: 1.25rem;
    margin-top: 1.75rem;
  }
}

/* Manifesto */
.manifesto {
  text-align: center;
}

.manifesto-inner {
  max-width: 900px;
  margin-inline: auto;
}

.manifesto h2 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
}

.manifesto p {
  margin-top: 1.75rem;
  font-size: 1.2rem;
  color: var(--ink-muted);
  max-width: 55ch;
  margin-inline: auto;
}

/* Services index */
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr 2fr;
  gap: 2rem;
  align-items: baseline;
  padding-block: 1.75rem;
  border-top: 1px solid var(--border);
}

.service-row:last-child {
  border-bottom: 1px solid var(--border);
}

.row-line {
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--emerald-2);
  transform-origin: left;
  pointer-events: none;
}

.service-index {
  font-family: var(--font-display);
  color: var(--ink-dim);
  font-size: 1rem;
}

.service-row h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
}

.service-row p {
  color: var(--ink-muted);
  max-width: 46ch;
}

@media (max-width: 700px) {
  .service-row {
    grid-template-columns: 3rem 1fr;
  }

  .service-row p {
    grid-column: 2;
  }
}

/* Showcase + stats */
.showcase {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.showcase-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

.showcase-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 15, 0.55);
}

.showcase-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--section-pad);
}

.showcase .eyebrow {
  color: #c9e8dc;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
  list-style: none;
  margin-top: 3rem;
}

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

.stat-card dt {
  color: rgba(240, 237, 228, 0.7);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.stat-num {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--bg);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  min-width: 3ch;
}

/* Process */
.process {
  list-style: none;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--border);
}

.process:last-child .process-step:last-child,
.process-step:last-of-type {
  border-bottom: 1px solid var(--border);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--emerald-2);
}

.process-step h3 {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--ink-muted);
  max-width: 46ch;
}

@media (max-width: 600px) {
  .process-step {
    grid-template-columns: 3rem 1fr;
  }
}

/* Testimonials */
.testimonial {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 3rem;
}

.testimonial + .testimonial {
  border-top: 1px solid var(--border);
}

.testimonial blockquote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.testimonial figcaption {
  margin-top: 1.5rem;
  color: var(--ink-muted);
}

.testimonial figcaption strong {
  color: var(--ink);
}

/* Big CTA */
.big-cta {
  background: var(--emerald);
  color: var(--bg);
  text-align: center;
}

.big-cta h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--bg);
}

.big-cta p {
  margin-top: 1.25rem;
  color: rgba(240, 237, 228, 0.75);
  font-size: 1.15rem;
  max-width: 46ch;
  margin-inline: auto;
}

.big-cta .btn {
  margin-top: 2.25rem;
}

/* Footer */
footer {
  background: var(--bg-raised);
  overflow: hidden;
  padding-top: var(--section-pad);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--ink-muted);
}

.footer-col li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--emerald-2);
}

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

.footer-col a:hover {
  color: var(--emerald-2);
}

.footer-col p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.newsletter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter input {
  flex: 1 1 140px;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
}

.newsletter .btn {
  flex-shrink: 0;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 22.5vw, 26rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: center;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  margin-block: 1.5rem 0;
  color: var(--ink);
  text-shadow:
    1px 1px 0 rgba(20, 20, 15, 0.12),
    2px 2px 0 rgba(20, 20, 15, 0.1),
    3px 3px 0 rgba(20, 20, 15, 0.08),
    4px 4px 0 rgba(20, 20, 15, 0.06),
    5px 5px 0 rgba(20, 20, 15, 0.04),
    6px 6px 0 rgba(20, 20, 15, 0.02);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--ink-dim);
  font-size: 0.9rem;
}

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal a {
  color: var(--ink-dim);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--emerald-2);
}

/* Floating buttons */
.floaters {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 40;
}

.floater {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -12px rgba(19, 19, 16, 0.3);
  text-decoration: none;
}

.floater-top,
.floater-call {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--emerald);
}

.floater-wa {
  background: var(--emerald);
  color: var(--bg);
}

/* Scroll reveal (JS-driven initial state only; no default hidden state here) */

/* ============ Inner pages ============ */

.page-hero {
  padding-block: clamp(7.5rem, 14vw, 10.5rem) var(--section-pad);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 18ch;
}

.page-hero p {
  margin-top: 1.25rem;
  max-width: 48ch;
  color: var(--ink-muted);
  font-size: 1.15rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.85rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(19, 19, 16, 0.12);
  border-color: rgba(20, 102, 80, 0.3);
}

.duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .duo-grid,
  .tri-grid {
    grid-template-columns: 1fr;
  }
}

.card-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--emerald-2);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--ink-muted);
}

.card .strong {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.team-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Forms */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-grid .row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald-2);
}

.form-success {
  margin-top: 1rem;
  color: var(--emerald-2);
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Accordion (FAQ) */
.accordion {
  max-width: 800px;
  display: flex;
  flex-direction: column;
}

.accordion details {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
}

.accordion details:last-child {
  border-bottom: 1px solid var(--border);
}

.accordion summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
}

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

.accordion summary::after {
  content: "+";
  float: right;
  color: var(--emerald-2);
}

.accordion details[open] summary::after {
  content: "\2212";
}

.accordion p {
  margin-top: 1rem;
  color: var(--ink-muted);
  max-width: 65ch;
}

.section-cta {
  margin-top: 3rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

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

.price-card.featured {
  background: var(--emerald);
  border-color: var(--emerald);
}

.price-card.featured * {
  color: var(--bg);
}

.price-card.featured .plan-tag {
  color: rgba(240, 237, 228, 0.75);
}

.plan-tag {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-2);
  margin-bottom: 0.5rem;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.price-card ul {
  list-style: none;
  margin-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.price-card li {
  padding-left: 1.3rem;
  position: relative;
  color: var(--ink-muted);
}

.price-card.featured li {
  color: rgba(240, 237, 228, 0.85);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-2);
}

.price-card.featured li::before {
  background: var(--bg);
}

.pricing-note {
  margin-top: 2.5rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
  text-align: center;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-thumb {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-raised);
  margin-bottom: 1rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-2);
  margin-bottom: 0.6rem;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-chips span {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
}

.project-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--emerald-2);
  font-weight: 600;
  text-decoration: none;
}

/* Legal */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.legal-nav a {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.legal-nav a:hover {
  color: var(--emerald-2);
  border-color: var(--emerald-2);
}

.legal-body {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.legal-body h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.legal-body h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-body .updated {
  color: var(--ink-dim);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.legal-body p,
.legal-body li {
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.legal-body ul {
  padding-left: 1.25rem;
}

/* Chat page */
.chat-card {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.5rem);
}

.wa-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--bg);
  margin-bottom: 1.5rem;
}

.chat-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.chat-card > p {
  margin-bottom: 1.5rem;
}

.chat-card .btn {
  margin-bottom: 1.5rem;
}

/* ============ Lead popup ============ */
.popup-overlay[hidden] {
  display: none !important;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(19, 19, 16, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.popup-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  position: relative;
  width: min(100%, 420px);
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
  padding: 2rem 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(19, 19, 16, 0.4);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.popup-overlay.is-open .popup-card {
  transform: none;
}

.popup-card h3 {
  font-size: 1.4rem;
  margin: 0.7rem 0 0.4rem;
}

.popup-card > p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1.2rem;
}

.popup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-dim);
  transition: color 0.2s;
}

.popup-close:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .popup-overlay,
  .popup-card {
    transition: none;
  }
}

/* ============ Interactive Components ============ */

/* Project Filters */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--emerald);
  color: var(--bg);
  border-color: var(--emerald);
  box-shadow: 0 4px 12px -2px rgba(13, 59, 46, 0.25);
}

.project-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card.is-hidden {
  display: none !important;
}

/* Pricing Toggle Switch */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  font-weight: 600;
}

.pricing-toggle-label {
  color: var(--ink-muted);
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.pricing-toggle-label.active {
  color: var(--ink);
  font-weight: 700;
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--bg-raised);
  border: 1px solid var(--border);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--emerald);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--emerald);
}

input:checked + .slider:before {
  transform: translateX(24px);
  background-color: var(--bg);
}

.savings-badge {
  background: #d1fae5;
  color: #065f46;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-val {
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-block: 0.75rem 0.25rem;
}

.price-card.featured .price-val {
  color: var(--bg);
}

.price-period {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-muted);
}

.price-card.featured .price-period {
  color: rgba(240, 237, 228, 0.8);
}

/* FAQ Search Input */
.faq-search-wrap {
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 2.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--emerald-2);
  box-shadow: 0 0 0 3px rgba(20, 102, 80, 0.15);
}

.faq-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-dim);
  pointer-events: none;
}

/* Button Spinners & Form Error States */
.btn .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  vertical-align: middle;
  margin-right: 0.4rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #dc2626 !important;
  background-color: #fef2f2;
}

.field-error-text {
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Floating Action Buttons Visibility Transition */
.floaters {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.floaters.is-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.floater {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floater:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px -12px rgba(19, 19, 16, 0.4);
}

/* ============ Leadership / Founders Section ============ */
.leadership-section {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 2rem;
}

.leadership-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px -20px rgba(19, 19, 16, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.leadership-row:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 102, 80, 0.35);
  box-shadow: 0 24px 50px -20px rgba(19, 19, 16, 0.18);
}

.leadership-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(19, 19, 16, 0.25);
  background: var(--surface);
}

.leadership-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.leadership-row:hover .leadership-img-wrap img {
  transform: scale(1.04);
}

.leadership-content h3 {
  font-size: 2.2rem;
  font-family: var(--font-display);
  margin: 0.4rem 0 0.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.leadership-title {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald-2);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.leadership-content p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
}

.leadership-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--emerald);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 16px rgba(13, 59, 46, 0.25);
}

.btn-email:hover {
  background: var(--emerald-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 59, 46, 0.35);
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #0a66c2;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.3);
}

.btn-linkedin:hover {
  background: #004182;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 102, 194, 0.45);
}

@media (max-width: 850px) {
  .leadership-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }

  .leadership-row.reverse .leadership-img-wrap {
    order: -1;
  }
}


