/* ==========================================================================
   Djangu Digital — shared styles
   Mobile-first. Palette: warm savanna.
   ========================================================================== */

:root {
  --ochre: #d9822b;
  --ochre-dark: #b86a1c;
  --terracotta: #b5502f;
  --acacia: #1f3d2b;
  --acacia-deep: #142a1d;
  --sand: #f4e9d8;
  --cream: #fbf7f0;
  --ink: #22201c;
  --muted: #5e574d;
  --line: #e6dac6;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(34, 32, 28, 0.06), 0 2px 8px rgba(34, 32, 28, 0.05);
  --shadow: 0 10px 30px rgba(34, 32, 28, 0.1);
  --container: 1180px;
  --header-h: 72px;

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 24 L12 12 L24 24 L36 12 L48 24' fill='none' stroke='%23d9822b' stroke-width='2'/%3E%3Cpath d='M0 12 L12 0 L24 12 L36 0 L48 12' fill='none' stroke='%23b5502f' stroke-width='2'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--acacia); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--acacia-deep);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--acacia); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }

.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 110px 0; } }
.section--sand { background: var(--sand); }
.section--dark { background: var(--acacia-deep); color: #e9e2d4; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #c9c1b1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--ochre); }

.pattern-divider { height: 24px; background: var(--pattern) repeat-x center; opacity: 0.35; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 0.98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ochre); color: var(--acacia-deep); }
.btn--primary:hover { background: #e8953f; color: var(--acacia-deep); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--dark { background: var(--acacia); color: var(--white); }
.btn--dark:hover { background: var(--acacia-deep); color: var(--white); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header.is-scrolled,
.site-header--solid { background: rgba(251, 247, 240, 0.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--white); }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo__text { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
.logo__text span { color: var(--ochre); }
.is-scrolled .logo, .site-header--solid .logo, .site-footer .logo { color: var(--acacia-deep); }
.site-footer .logo { color: var(--white); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--ochre); }
.is-scrolled .nav a, .site-header--solid .nav a { color: var(--ink); }
.is-scrolled .nav a:hover, .site-header--solid .nav a:hover { color: var(--terracotta); }
.nav .btn { color: var(--acacia-deep); }

.nav-toggle {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.is-scrolled .nav-toggle span, .site-header--solid .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span { background: var(--ink); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-open .site-header { background: var(--cream); }
  .nav-open .logo { color: var(--acacia-deep); }
  .nav-open .nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream);
    padding: 24px 16px; overflow-y: auto;
  }
  .nav-open .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-open .nav li a:not(.btn) { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.1rem; }
  .nav-open .nav .btn { margin-top: 1.4rem; width: 100%; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 960px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); background: var(--acacia-deep); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 60px;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04);
}
.hero__slides img.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 42, 29, 0.92) 0%, rgba(20, 42, 29, 0.7) 45%, rgba(20, 42, 29, 0.25) 100%),
    linear-gradient(0deg, rgba(20, 20, 15, 0.55), transparent 40%);
}
.hero__content { max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero h1 em { font-style: italic; color: var(--ochre); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #ece4d4; max-width: 600px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 3rem; }
.hero__industries {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; list-style: none; padding: 1.4rem 0 0; margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.92rem; color: #d8cfbe;
}
.hero__industries li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__industries svg { width: 18px; height: 18px; color: var(--ochre); }
.hero__caption {
  position: absolute; right: 16px; bottom: 18px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7);
  display: none;
}
@media (min-width: 900px) { .hero__caption { display: block; right: 28px; } }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Industries ---------- */
.industry {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  display: flex; align-items: flex-end; color: var(--white); background: var(--acacia);
  box-shadow: var(--shadow-sm);
}
.industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 30, 20, 0.88) 10%, rgba(20, 30, 20, 0.05) 65%); }
.industry:hover img { transform: scale(1.05); }
.industry__body { position: relative; z-index: 1; padding: 24px; }
.industry h3 { color: var(--white); margin-bottom: 0.35em; }
.industry p { margin: 0; font-size: 0.95rem; color: #e3dccd; }

/* ---------- Services ---------- */
.services { display: grid; gap: 22px; }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .services { grid-template-columns: repeat(3, 1fr); } }

.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand); color: var(--terracotta); margin-bottom: 20px;
}
.service__icon svg { width: 26px; height: 26px; }
.service p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; font-size: 0.94rem; }
.service li { position: relative; padding-left: 1.4rem; }
.service li::before {
  content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px;
  background: var(--ochre); transform: rotate(45deg);
}
.tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--acacia); color: var(--white); padding: 0.2rem 0.55rem; border-radius: 6px; margin-left: 0.4rem; vertical-align: middle; }

/* ---------- About ---------- */
.about { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.about__media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border-radius: var(--radius-lg); background: var(--pattern), var(--sand); z-index: -1;
}
.about__media { isolation: isolate; }
.about__note {
  position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 320px;
  background: var(--cream); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow);
  font-size: 0.92rem;
}
.about__note strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--acacia-deep); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { width: 22px; height: 22px; flex: none; color: var(--terracotta); margin-top: 3px; }
.facts strong { display: block; color: var(--acacia-deep); }
.facts span { color: var(--muted); font-size: 0.94rem; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--ochre); margin-bottom: 18px;
}
.step p { margin: 0; color: #c9c1b1; font-size: 0.96rem; }

/* ---------- Team ---------- */
.team { display: grid; gap: 22px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(6, 1fr); } .member--lead { grid-column: span 3; } }

.member {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
}
.member--lead { flex-direction: column; }
@media (min-width: 560px) { .member--lead { flex-direction: row; align-items: flex-start; gap: 24px; } }
.avatar {
  flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--white);
  background: linear-gradient(135deg, var(--terracotta), var(--ochre)); position: relative; overflow: hidden;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar--green { background: linear-gradient(135deg, var(--acacia), #3f6b4d); }
.member h3 { margin-bottom: 0.15em; }
.member__role { font-weight: 600; color: var(--terracotta); font-size: 0.95rem; margin-bottom: 0.3rem; }
.member__exp {
  display: inline-block; font-size: 0.78rem; font-weight: 600; color: var(--acacia);
  background: var(--sand); border-radius: 999px; padding: 0.2rem 0.7rem; margin-bottom: 0.8rem;
}
.member p { color: var(--muted); font-size: 0.95rem; }
.member__links { display: flex; gap: 0.6rem; margin-top: auto; }
.member__links a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--acacia);
}
.member__links a:hover { background: var(--acacia); color: var(--white); }
.member__links svg { width: 16px; height: 16px; }

.team__support {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 0;
  color: var(--muted); font-size: 0.98rem; text-align: center;
}
.team__support svg { width: 22px; height: 22px; flex: none; color: var(--terracotta); }

/* ---------- Client audits slider ---------- */
.examples-head { display: grid; gap: 8px 48px; margin-bottom: 36px; }
.examples-head .section-head { margin-bottom: 0; }

.examples__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.examples__tabs {
  display: flex; gap: 4px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.examples__tabs::-webkit-scrollbar { display: none; }
.examples__tabs button {
  flex: none; border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  font: 600 0.9rem/1 var(--font-body); color: var(--muted); padding: 0.7rem 1.1rem; border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}
.examples__tabs button:hover { color: var(--acacia-deep); }
.examples__tabs button[aria-selected="true"] { background: var(--acacia); color: var(--white); }
.examples__nav { display: flex; align-items: center; gap: 10px; }
.examples__count { font-size: 0.88rem; color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.examples__count b { color: var(--acacia-deep); }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  cursor: pointer; display: grid; place-items: center; color: var(--acacia); transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.round-btn:hover:not(:disabled) { background: var(--acacia); color: var(--white); }
.round-btn:disabled { opacity: 0.4; cursor: default; }
.round-btn svg { width: 18px; height: 18px; }

.examples__track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.examples__track::-webkit-scrollbar { display: none; }

.example {
  scroll-snap-align: start; display: grid; gap: 32px; align-content: start; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px;
}
@media (min-width: 640px) { .example { padding: 36px; } }
@media (min-width: 1000px) { .example { grid-template-columns: 1fr 1.1fr; gap: 56px; padding: 48px; } }

.example__tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--acacia);
  background: var(--sand); border-radius: 999px; padding: 0.3rem 0.8rem; margin-bottom: 1rem;
}
.example h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-bottom: 1.4rem; }
.example h4 { font-family: var(--font-body); }
.example__label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.8rem;
}
.example__issues { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.example__issues li { position: relative; padding-left: 1.6rem; }
.example__issues li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 50%;
  background: #f7e3da url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4.5 4.5l5 5M9.5 4.5l-5 5' stroke='%23b5502f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.example__plan { list-style: none; padding: 0; margin: 0; counter-reset: plan; font-size: 0.95rem; }
.example__plan li { position: relative; padding: 0 0 1rem 2.4rem; counter-increment: plan; }
.example__plan li::before {
  content: counter(plan); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ochre); color: var(--acacia-deep); font-weight: 700; font-size: 0.8rem;
}
.example__plan li:not(:last-child)::after {
  content: ""; position: absolute; left: 12px; top: 30px; bottom: 4px; width: 2px; background: var(--line);
}
.example__cta { display: inline-flex; gap: 0.4rem; margin-top: 1rem; font-weight: 600; text-decoration: none; }
.example__cta span { transition: transform 0.2s; }
.example__cta:hover span { transform: translateX(3px); }

.example__data { min-width: 0; }
.example__chart { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 8px; }
.example__chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.example__chart-head h4 { font-size: 0.92rem; margin: 0; color: var(--ink); }
.badge { font-size: 0.72rem; font-weight: 600; color: var(--terracotta); background: #fbe9dc; border-radius: 999px; padding: 0.2rem 0.6rem; white-space: nowrap; }

.chart { width: 100%; height: auto; overflow: visible; font-family: var(--font-body); }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__axis { fill: #8a8273; font-size: 12px; }
.chart__area { fill: rgba(31, 61, 43, 0.08); }
.chart__line { fill: none; stroke: var(--acacia); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.chart__mile { fill: var(--white); stroke: var(--ochre); stroke-width: 2.5; }
.chart__note { fill: var(--terracotta); font-size: 12px; font-weight: 600; }
.chart__end { fill: var(--acacia); }
.chart__value { fill: var(--acacia-deep); font-size: 14px; font-weight: 700; }
.chart.is-drawn .chart__line { transition: stroke-dashoffset 1.4s ease; }
.chart.is-drawn .chart__area { transition: opacity 0.8s ease 0.5s; }
.chart.is-drawn .chart__mile, .chart.is-drawn .chart__note,
.chart.is-drawn .chart__end, .chart.is-drawn .chart__value { transition: opacity 0.5s ease 1.1s; }
.js .chart:not(.is-drawn) .chart__line { stroke-dashoffset: 1; }
.js .chart:not(.is-drawn) .chart__area, .js .chart:not(.is-drawn) .chart__mile, .js .chart:not(.is-drawn) .chart__note,
.js .chart:not(.is-drawn) .chart__end, .js .chart:not(.is-drawn) .chart__value { opacity: 0; }

.example__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 14px 0; }
.example__stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; background: var(--sand); border-radius: 12px; padding: 14px; }
.example__stats dd { margin: 0 0 0.2rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--acacia-deep); line-height: 1.2; }
.example__stats dt { font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.example__thinking { background: #eef3ec; border-radius: var(--radius); padding: 18px 20px; }
.example__thinking h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acacia); margin-bottom: 0.5rem; }
.example__thinking p { margin: 0; font-size: 0.94rem; color: #3f4a40; }
.example__assumptions { margin: 12px 0 0; font-size: 0.8rem; color: #8a8273; }

@media (max-width: 559px) {
  .examples__controls { gap: 12px; }
  .examples__tabs { width: 100%; }
  .examples__tabs button { flex: 1; padding: 0.65rem 0.4rem; font-size: 0.8rem; }
  .examples__nav { width: 100%; justify-content: flex-end; }
  .examples__count { margin-right: auto; }
  /* SVG text scales down with the chart, so enlarge it and drop the milestone captions */
  .chart__axis { font-size: 20px; }
  .chart__value { font-size: 24px; }
  .chart__note { display: none; }
  .chart__mile, .chart__end { r: 7; }
  .example__stats { grid-template-columns: 1fr; gap: 8px; }
  .example__stats div { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
  .example__stats dd { margin: 0; font-size: 1.2rem; white-space: nowrap; }
  .example__stats dt { text-align: left; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--acacia-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--terracotta); border-bottom: 2px solid var(--terracotta);
  transform: rotate(45deg); transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.contact__info ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact__info li { display: flex; gap: 14px; align-items: flex-start; }
.contact__info li svg { width: 22px; height: 22px; flex: none; color: var(--ochre); margin-top: 3px; }
.contact__info li svg.icon-whatsapp { color: #25d366; }
.contact__info a { color: var(--white); }
.contact__info a:hover { color: var(--ochre); }
.contact__info small { display: block; color: #a9a190; font-size: 0.82rem; }

.form { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form { padding: 36px; } }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--acacia-deep); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 0.8rem 0.9rem; border-radius: 10px;
  border: 1px solid #d8ccb7; background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ochre); box-shadow: 0 0 0 3px rgba(217, 130, 43, 0.25); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 0.82rem; min-height: 0; }
.form__consent { font-size: 0.84rem; color: var(--muted); margin: 4px 0 18px; }
.form__status { margin: 14px 0 0; font-weight: 600; }
.form__status.is-success { color: var(--acacia); }
.form__status.is-error { color: #b3261e; }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f2016; color: #bdb5a4; padding: 72px 0 28px; font-size: 0.94rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h3 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: #bdb5a4; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.footer-about p { margin: 1rem 0 1.2rem; max-width: 320px; }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.18); }
.socials a:hover { border-color: var(--ochre); }
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-size: 0.85rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Inner pages ---------- */
.page-hero { padding: calc(var(--header-h) + 64px) 0 56px; background: var(--sand); position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: var(--pattern) repeat-x; opacity: 0.3; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { color: var(--muted); max-width: 640px; font-size: 1.08rem; margin: 0; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; margin: 1rem 0 1.5rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); }
.notice {
  background: #fff6e8; border-left: 4px solid var(--ochre); padding: 14px 18px; border-radius: 8px;
  font-size: 0.92rem; color: var(--muted); margin-bottom: 2rem;
}

.values { display: grid; gap: 22px; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.value p { color: var(--muted); margin: 0; }

.cta-band { background: var(--terracotta); color: var(--white); border-radius: var(--radius-lg); padding: 44px 28px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: 0.12; filter: brightness(3); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #f6e3d6; max-width: 560px; margin: 0 auto 1.6rem; }

.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 16px 60px; background: var(--sand); }
.not-found__code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--ochre); margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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