/* ==========================================================================
   Nisarg Setu: site styles
   Brand: Forest #123A2E · Leaf #69B83F · Pale #F4F6EF
   ========================================================================== */

:root {
  --forest: #123a2e;
  --forest-900: #0b2820;
  --forest-800: #0f3127;
  --forest-700: #184a3b;
  --leaf: #69b83f;
  --leaf-400: #7cc653;
  --leaf-600: #58a032;
  --leaf-700: #3d7222;
  --leaf-100: #e6f3dc;
  --pale: #f4f6ef;
  --pale-2: #eaeee1;
  --white: #ffffff;
  --ink: #16241f;
  --muted: #56655f;
  --line: #dde3d4;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(18, 58, 46, 0.06), 0 2px 8px rgba(18, 58, 46, 0.05);
  --shadow: 0 10px 30px -12px rgba(18, 58, 46, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(11, 40, 32, 0.4);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pale);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.5em; color: var(--forest); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: var(--leaf); color: var(--forest); }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--forest); color: var(--white); padding: 10px 16px; border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--white { background: var(--white); }
.section--compact { padding: clamp(48px, 6vw, 80px) 0; }
.section--compact .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.section--compact .logo-tile { min-height: 116px; padding: 18px; }
.section--compact .logo-tile img { max-height: 72px; }
.section--tint { background: var(--pale-2); }
.section--dark { background: var(--forest); color: #d6e2da; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--leaf-700);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--leaf); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: #b7c8bf; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--leaf); --fg: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(70, 130, 40, 0.8); background: var(--leaf-400); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--dark { --bg: var(--forest); --fg: var(--white); }
.btn--dark:hover { background: var(--forest-700); box-shadow: 0 12px 24px -12px rgba(18, 58, 46, 0.7); }
.btn--ghost { --bg: transparent; --fg: var(--forest); border-color: rgba(18, 58, 46, 0.22); }
.btn--ghost:hover { background: var(--forest); color: var(--white); border-color: var(--forest); box-shadow: none; }
.btn--light { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn--light:hover { background: var(--white); color: var(--forest); border-color: var(--white); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--leaf-700);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 246, 239, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background-color 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18, 58, 46, 0.5); }
.site-header.is-scrolled::before { background: rgba(250, 251, 247, 0.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list a {
  position: relative; display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.97rem; color: var(--forest);
  transition: background-color 0.2s, color 0.2s;
}
.nav-list a:hover { background: rgba(18, 58, 46, 0.06); }
.nav-list a[aria-current="page"] { color: var(--leaf-700); }
.nav-list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px;
  background: var(--leaf); border-radius: 50%; transform: translateX(-50%);
}
.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); cursor: pointer; align-items: center; justify-content: center; position: relative; z-index: 120;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--forest); border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% 10%, #1f5a45 0%, transparent 60%), var(--forest);
  color: #cfe0d6;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background: url("../img/contours.svg") center / cover no-repeat;
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .accent { color: var(--leaf); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.hero-copy .lead { color: #bcd0c5; max-width: 560px; margin-bottom: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; list-style: none; font-size: 0.95rem; color: #bcd0c5; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg); background: var(--forest-700);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 40, 32, 0.55)); }
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.96); color: var(--forest);
  padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; line-height: 1.25;
  animation: floaty 6s ease-in-out infinite;
}
.hero-badge small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.hero-badge .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--leaf-100); color: var(--leaf-700); flex: none; }
.hero-badge .ico svg { width: 22px; height: 22px; }
.hero-badge--a { left: -28px; top: 14%; }
.hero-badge--b { right: -22px; bottom: 12%; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest); color: #c6d8ce;
  padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 7vw, 88px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.3;
  background: url("../img/contours.svg") center / cover no-repeat;
}
.page-hero h1 { color: var(--white); max-width: 880px; }
.page-hero .lead { color: #bcd0c5; max-width: 680px; }
.breadcrumb { display: flex; gap: 8px; list-style: none; font-size: 0.88rem; color: #9fb8ab; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: #cfe0d6; }
.breadcrumb a:hover { color: var(--leaf); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* ---------- Capability strip ---------- */
.strip { background: var(--forest-900); color: #cfe0d6; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.strip-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; list-style: none; }
.strip-list li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.strip-list svg { width: 22px; height: 22px; color: var(--leaf); flex: none; }

/* ---------- Media / photo ---------- */
.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--pale-2); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 16 / 11; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo-stack { position: relative; padding: 0 0 48px 48px; }
.photo-stack .photo--small {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--white); border-radius: 20px;
}
.photo-tag {
  position: absolute; right: 16px; top: 16px; background: rgba(255, 255, 255, 0.95); color: var(--forest);
  padding: 8px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; box-shadow: var(--shadow-sm);
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 12px; margin: 22px 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--leaf-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23468228' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(105, 184, 63, 0.18); }

.icon-card h3.small { font-size: 1.05rem; margin: 0; }
.taxa-title { font-size: 1.05rem; margin-bottom: 16px; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- Service cards ---------- */
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--pale-2); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .thumb--pattern {
  display: grid; place-items: center; color: var(--leaf);
  background: url("../img/contours.svg") center / cover, linear-gradient(135deg, var(--forest), var(--forest-700));
}
.thumb--pattern svg { width: 64px; height: 64px; }
.service-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card .num { font-family: var(--font-head); font-weight: 800; color: var(--leaf-700); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.service-card .link-arrow { margin-top: 8px; }
.service-card .stretched::after { content: ""; position: absolute; inset: 0; }

/* ---------- Feature / icon cards ---------- */
.icon-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--leaf-100); color: var(--leaf-700); margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; }
.section--dark .icon-card { background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); }
.section--dark .icon-card p { color: #b7c8bf; }
.section--dark .icon-badge { background: rgba(105, 184, 63, 0.16); color: var(--leaf); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; list-style: none; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(105, 184, 63, 0.55) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--forest); color: var(--leaf); border: 4px solid var(--pale-2);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.section--white .step::before { border-color: var(--white); }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Taxa chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--forest);
}
.chip svg { width: 16px; height: 16px; color: var(--leaf-700); }
.section--dark .chip { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: var(--white); }
.section--dark .chip svg { color: var(--leaf); }

/* ---------- Quote / mission band ---------- */
.mission {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line); overflow: hidden;
}
.mission::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; opacity: 0.08;
  background: url("../img/mark.png") center / contain no-repeat;
}
.mission blockquote { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4; color: var(--forest); letter-spacing: -0.01em; position: relative; z-index: 1; }
.mission blockquote .hl { color: var(--leaf-700); }

/* ---------- Collaborators ---------- */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.logo-tile {
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; min-height: 150px; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-tile img { max-height: 96px; width: auto; object-fit: contain; filter: grayscale(0.15); }
.logo-tile span { display: block; margin-top: 10px; font-size: 0.85rem; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(105, 184, 63, 0.5); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123a2e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--leaf-100); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer ul { padding-left: 20px; margin: 8px 0; }
.faq .answer li { margin: 6px 0; }
.faq .answer strong { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-700) 100%);
  padding: clamp(36px, 6vw, 72px); color: #c6d8ce;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35; background: url("../img/contours.svg") center / cover; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Service detail (services page) ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-family: var(--font-head);
  font-weight: 600; font-size: 0.9rem; color: var(--muted); transition: background-color 0.2s, color 0.2s;
}
.subnav a:hover { color: var(--forest); background: var(--pale); }
.subnav a.is-active { background: var(--forest); color: var(--white); }

.service-detail { scroll-margin-top: calc(var(--header-h) + 70px); }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail .tag { display: inline-block; font-family: var(--font-head); font-weight: 800; color: var(--leaf-700); letter-spacing: 0.12em; font-size: 0.82rem; margin-bottom: 10px; }
.deliverables { margin-top: 26px; padding: 22px 24px; background: var(--pale); border-radius: var(--radius); border: 1px solid var(--line); }
.deliverables h3 { margin-bottom: 12px; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.deliverables .checklist { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: center; padding: 20px 22px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .icon-badge { margin: 0; flex: none; }
.contact-card strong { display: block; font-family: var(--font-head); color: var(--forest); font-size: 1.02rem; }
.contact-card span { color: var(--muted); font-size: 0.95rem; word-break: break-word; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--forest); }
.field label .req { color: var(--leaf-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--pale); font-size: 1rem; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123a2e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: var(--white); box-shadow: 0 0 0 4px rgba(105, 184, 63, 0.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field .error { color: #b03a2e; font-size: 0.85rem; min-height: 0; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status.is-success { display: block; background: var(--leaf-100); color: var(--leaf-700); }
.form-status.is-error { display: block; background: #fbe9e7; color: #a33a2c; }

/* ---------- Careers ---------- */
.role {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.role h3 { margin: 0 0 4px; font-size: 1.12rem; }
.role p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.role .icon-badge { margin: 0; }

/* ---------- Prose (privacy etc.) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: #34443e; }
.prose ul { padding-left: 22px; margin-bottom: 1em; }
.prose a { color: var(--leaf-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: #a9bdb2; padding: clamp(56px, 7vw, 88px) 0 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-block; background: var(--pale); padding: 12px 16px; border-radius: 14px; margin-bottom: 20px; }
.footer-logo img { height: 44px; width: auto; }
.site-footer .footer-h { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--leaf); }
.footer-about { max-width: 340px; font-size: 0.97rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-dark);
  color: var(--white); transition: background-color 0.2s, border-color 0.2s;
}
.social a:hover { background: var(--leaf); border-color: var(--leaf); color: var(--forest); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line-dark); font-size: 0.88rem;
}
.footer-bottom a:hover { color: var(--leaf); }

/* ---------- Floating WhatsApp + back to top ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1c9b4e; color: var(--white); box-shadow: 0 12px 28px -8px rgba(28, 155, 78, 0.6);
  transition: transform 0.3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab-label {
  position: absolute; right: 70px; white-space: nowrap; background: var(--forest); color: var(--white); padding: 8px 12px; border-radius: 10px;
  font-size: 0.85rem; font-weight: 600; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity 0.25s, transform 0.25s;
}
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; transform: none; }

.to-top {
  position: fixed; right: 27px; bottom: 90px; z-index: 89; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--forest); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--leaf); letter-spacing: -0.04em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-badge--a { left: -8px; }
  .hero-badge--b { right: -8px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }

  .site-nav {
    position: fixed; inset: 0; z-index: 110; background: var(--pale);
    padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    display: flex; flex-direction: column; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open body { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 18px 4px; font-size: 1.35rem; border-radius: 0; font-weight: 700; }
  .nav-list a:hover { background: transparent; color: var(--leaf-700); }
  .nav-list a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; transform: translateY(-50%); width: 8px; height: 8px; }
  .mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
  .mobile-cta p { font-size: 0.92rem; color: var(--muted); margin: 12px 0 0; }
  .brand, .nav-toggle { position: relative; z-index: 120; }

  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .logos { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step::before { margin: 0; grid-row: span 2; }
  .step h3 { margin-top: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-badge { font-size: 0.82rem; padding: 10px 12px; }
  .hero-badge .ico { width: 34px; height: 34px; }
  .hero-badge--a { left: 10px; top: 12px; }
  .hero-badge--b { right: 10px; bottom: 12px; }
  .btn-row .btn { flex: 1 1 100%; }
  .photo-stack { padding: 0 0 36px 28px; }
  .role { grid-template-columns: 1fr; gap: 12px; }
  .strip-list { justify-content: flex-start; }
  .strip-list li { flex: 1 1 45%; font-size: 0.88rem; }
  .fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 21px; bottom: 82px; }
}

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

@media print {
  .site-header, .site-footer, .fab, .to-top, .subnav, .cta-band { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}

/* ---------- Home: service cards swipe sideways on phones ---------- */
@media (max-width: 640px) {
  .swipe-row {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .swipe-row::-webkit-scrollbar { display: none; }
  .swipe-row > * { flex: 0 0 84%; scroll-snap-align: start; }
  .swipe-row .service-card:hover { transform: none; }
  .js .swipe-row .reveal { opacity: 1; transform: none; }
}
.swipe-hint { display: none; }
@media (max-width: 640px) {
  .swipe-hint { display: block; margin: -8px 0 12px; font-size: 0.88rem; font-weight: 600; color: var(--leaf-700); text-align: center; }
}
@media (max-width: 640px) {
  .section--compact .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .section--compact .logo-tile { min-height: 84px; padding: 10px; border-radius: 12px; }
  .section--compact .logo-tile img { max-height: 56px; }
}
.icon-img { width: 56px; height: 56px; margin-bottom: 20px; }
