/* ═══════════════════════════════════════════════════════════
   CAPITAL CONSTANTE — Steadfast Sage
   Arena / salvia / bosque / oro · Literata + Figtree
   Editorial orgánico claro
   ═══════════════════════════════════════════════════════════ */

:root {
  --sand: #F3EDE4;
  --wheat: #FAF6F0;
  --white: #FFFFFF;
  --forest: #1A2E23;
  --sage: #4A6B54;
  --sage-light: #6B8F72;
  --sage-pale: #D4E4D0;
  --gold: #B8943F;
  --gold-light: #E8D5A8;
  --text: #2A3D32;
  --muted: #5C6B62;
  --muted-light: #8A9690;
  --border: rgba(26, 46, 35, 0.1);
  --shadow: 0 12px 40px rgba(26, 46, 35, 0.07);
  --shadow-lg: 0 24px 64px rgba(26, 46, 35, 0.1);
  --font: system-ui, sans-serif;
  --font-head: Georgia, serif;
  --ribbon-h: 34px;
  --header-h: 76px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-ccst-fonts] {
  --font: "Figtree", system-ui, sans-serif;
  --font-head: "Literata", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ribbon-h) + var(--header-h) + 1rem); }
body { font-family: var(--font); background: var(--sand); color: var(--text); line-height: 1.65; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.25s, border-color 0.25s, transform 0.25s; }
.container, .wrap { width: min(1140px, 92%); margin-inline: auto; }

/* Wave pattern */
.organic-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400'%3E%3Cpath d='M0 200 Q200 120 400 200 T800 200' fill='none' stroke='%234A6B54' stroke-width='1' opacity='0.12'/%3E%3Cpath d='M0 260 Q200 180 400 260 T800 260' fill='none' stroke='%234A6B54' stroke-width='0.8' opacity='0.08'/%3E%3Cpath d='M0 320 Q200 240 400 320 T800 320' fill='none' stroke='%23B8943F' stroke-width='0.6' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 800px 400px;
}

.compliance-ribbon {
  position: relative; z-index: 400;
  background: var(--forest);
  color: rgba(255,255,255,0.88);
  font-size: 0.72rem;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.45;
  border-bottom: 2px solid var(--sage);
}
.compliance-ribbon a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }

.site-header {
  position: fixed;
  top: var(--ribbon-h);
  left: 0; right: 0;
  z-index: 300;
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header__inner, .site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0;
  width: min(1140px, 92%);
  margin-inline: auto;
}
.site-header.is-scrolled {
  background: rgba(243,237,228,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.logo { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--forest); }
.logo__glyph {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
}
.logo__glyph.sm { width: 32px; height: 32px; font-size: 0.62rem; }
.logo__text span { color: var(--sage); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.site-nav a:not(.btn):hover { color: var(--forest); }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: var(--white); border: 1px solid var(--border); border-radius: 50%; cursor: pointer;
}
.menu-toggle i { display: block; height: 2px; background: var(--forest); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle.is-open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open i:nth-child(2) { opacity: 0; }
.menu-toggle.is-open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 0.875rem;
  padding: 0.65rem 1.35rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn-sage { background: var(--sage); color: var(--white); box-shadow: 0 4px 16px rgba(74,107,84,0.25); }
.btn-sage:hover { transform: translateY(-2px); background: var(--sage-light); box-shadow: 0 8px 24px rgba(74,107,84,0.3); }
.btn-ghost { background: transparent; color: var(--forest); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #a68335; transform: translateY(-2px); }
.btn-xl { padding: 0.9rem 1.75rem; font-size: 0.9375rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: none; font: inherit; color: var(--sage); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

.eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.75rem; }
.eyebrow--light { color: var(--gold); }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 1.05rem; max-width: 540px; margin-top: 0.5rem; }
.center .sub { margin-inline: auto; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* HERO */
.sage-hero {
  position: relative; z-index: 1;
  padding: calc(var(--header-h) + var(--ribbon-h) + 2.5rem) 0 4rem;
  overflow: hidden;
}
.sage-hero__wave {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 Q360 0 720 60 T1440 60 L1440 120 L0 120 Z' fill='%23FAF6F0'/%3E%3C/svg%3E") bottom/cover no-repeat;
  pointer-events: none;
}
.sage-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.sage-hero__pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.sage-hero__pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.sage-hero__disclaimer { font-size: 0.75rem; color: var(--muted-light); margin-bottom: 1rem; }
.sage-hero__disclaimer a { color: var(--sage); text-decoration: underline; }
.sage-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--forest);
  margin-bottom: 1.25rem;
}
.sage-hero__title em { font-style: italic; color: var(--sage); }
.sage-hero__lead { font-size: 1.08rem; color: var(--muted); max-width: 500px; margin-bottom: 2rem; line-height: 1.7; }
.sage-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.sage-hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sage-hero__trust div strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--sage); }
.sage-hero__trust div span { font-size: 0.72rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: 0.06em; }

.sage-hero__visual { position: relative; }
.sage-hero__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.sage-hero__frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sage-hero__card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.sage-hero__card-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-light); margin-bottom: 0.25rem; }
.sage-hero__card-val { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }
.sage-hero__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.4rem 0.85rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
}

/* NAP */
.nap-band {
  position: relative; z-index: 1;
  background: var(--wheat);
  border-block: 1px solid var(--border);
  padding: 0.85rem 0;
}
.nap-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem; color: var(--muted);
}
.nap-band__inner strong { color: var(--forest); }
.nap-band__inner a { color: var(--sage); font-weight: 600; }

/* SERVICES ROWS */
.section-pad { position: relative; z-index: 1; padding: 5rem 0; }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
}
.section-head h2 em { font-style: italic; color: var(--sage); }

.svc-rows { display: flex; flex-direction: column; gap: 1rem; }
.svc-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.svc-row:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.svc-row--featured { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(184,148,63,0.06), var(--white)); }
.svc-row__thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; }
.svc-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__num { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; color: var(--sage); margin-bottom: 0.25rem; }
.svc-row__body h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--forest); margin-bottom: 0.35rem; }
.svc-row__body p { font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.svc-row__side { text-align: right; }
.svc-row__price { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--sage); display: block; margin-bottom: 0.35rem; }
.svc-row__link { font-size: 0.8125rem; font-weight: 600; color: var(--gold); }

/* PROCESS */
.process-sage {
  background: var(--forest);
  color: var(--white);
  padding: 4rem 0;
  position: relative; z-index: 1;
}
.process-sage .eyebrow { color: var(--gold-light); }
.process-sage h2 { font-family: var(--font-head); font-size: clamp(1.75rem,3vw,2.5rem); font-weight: 700; margin-bottom: 2.5rem; }
.process-sage h2 em { font-style: italic; color: var(--sage-pale); }
.process-sage__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.process-sage__step { padding: 1.5rem; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); }
.process-sage__step-n { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 0.75rem; }
.process-sage__step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.process-sage__step p { font-size: 0.8125rem; color: rgba(255,255,255,0.7); line-height: 1.55; }

/* SHOWCASE */
.showcase-sage {
  display: grid; grid-template-columns: 1.2fr 1fr;
  min-height: 400px;
  border-block: 1px solid var(--border);
  position: relative; z-index: 1;
}
.showcase-sage__img { overflow: hidden; }
.showcase-sage__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.showcase-sage__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem;
  background: var(--wheat);
}
.showcase-sage__copy h2 { font-family: var(--font-head); font-size: clamp(1.75rem,3vw,2.35rem); font-weight: 700; color: var(--forest); margin-bottom: 1rem; line-height: 1.15; }
.showcase-sage__copy h2 em { font-style: italic; color: var(--sage); }
.showcase-sage__copy p { color: var(--muted); margin-bottom: 1.75rem; max-width: 400px; line-height: 1.65; }

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.pricing-table th, .pricing-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.pricing-table th { background: var(--forest); color: var(--white); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: rgba(74,107,84,0.04); }
.pricing-table .price { font-family: var(--font-head); font-weight: 700; color: var(--sage); font-size: 1.05rem; white-space: nowrap; }
.pricing-table .tag { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; padding: 0.15rem 0.5rem; background: var(--gold); color: var(--white); border-radius: 999px; margin-left: 0.35rem; vertical-align: middle; }
.pricing-note { margin-top: 1.5rem; text-align: center; font-size: 0.875rem; color: var(--muted-light); }
.pricing-note a { color: var(--sage); font-weight: 600; }

/* WHY */
.why-sage { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.why-sage__card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--sage);
  transition: box-shadow 0.3s;
}
.why-sage__card:hover { box-shadow: var(--shadow); }
.why-sage__icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.why-sage__card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--forest); margin-bottom: 0.4rem; }
.why-sage__card p { font-size: 0.8125rem; color: var(--muted); line-height: 1.55; }

/* FAQ + TESTIMONIALS */
.split-sage { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.faq-sage details { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-sage summary { font-family: var(--font-head); font-weight: 700; font-size: 0.9375rem; cursor: pointer; list-style: none; color: var(--forest); }
.faq-sage summary::-webkit-details-marker { display: none; }
.faq-sage details p { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; line-height: 1.65; }
.faq-sage a { color: var(--sage); font-weight: 600; }

.testimonial-sage { display: flex; flex-direction: column; gap: 1rem; }
.testimonial-disclaimer { font-size: 0.72rem; color: var(--muted-light); line-height: 1.55; padding: 0.85rem; background: var(--wheat); border-radius: var(--radius); border-left: 3px solid var(--gold); }
.testimonial-disclaimer a { color: var(--sage); }
.testimonial-card { padding: 1.35rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.testimonial-card__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.testimonial-card__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sage); color: var(--white); display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; }
.stars { color: var(--gold); font-size: 0.75rem; }
.testimonial-card p { font-size: 0.875rem; color: var(--muted); font-style: italic; line-height: 1.6; margin-bottom: 0.75rem; }
.testimonial-card footer { font-size: 0.75rem; color: var(--muted-light); font-weight: 600; }

/* CONTACT */
.contact-sage { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-visual { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.contact-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.info-list { list-style: none; margin: 1.5rem 0; }
.info-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; color: var(--muted); }
.info-list strong { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); margin-bottom: 0.15rem; }
.info-list a { color: var(--forest); font-weight: 600; }
.info-list a:hover { color: var(--sage); }
.map-box { margin-top: 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-box iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact-form {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--forest); margin-bottom: 0.25rem; }
.form-note { font-size: 0.8125rem; color: var(--muted-light); margin-bottom: 1.25rem; }
.field { margin-bottom: 0.75rem; }
.field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--sand); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: var(--font); font-size: 0.9375rem;
  transition: border-color 0.25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); }
.check { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.8125rem; color: var(--muted); margin: 1rem 0; cursor: pointer; }
.check a { color: var(--sage); font-weight: 600; }
.check input { accent-color: var(--sage); margin-top: 0.15rem; }
.err { display: block; font-size: 0.75rem; color: #c0392b; min-height: 1rem; margin-bottom: 0.25rem; }
.ok { font-size: 0.8125rem; color: var(--sage); margin-top: 0.75rem; }

/* ADS + LEGAL HUB */
.ads-box { padding: 2rem; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ads-box h2 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--forest); margin-bottom: 0.75rem; }
.ads-box > p { color: var(--muted); margin-bottom: 1rem; }
.ads-box ul { padding-left: 1.25rem; }
.ads-box li { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.5rem; line-height: 1.6; }
.ads-box a { color: var(--sage); font-weight: 600; }

.legal-hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 0.85rem; }
.legal-card {
  display: block; padding: 1.25rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: left; cursor: pointer; font-family: inherit; color: inherit;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.legal-card:hover { transform: translateY(-2px); border-color: var(--sage); box-shadow: var(--shadow); }
.legal-card--btn { width: 100%; }
.legal-card__icon { font-size: 1.35rem; display: block; margin-bottom: 0.5rem; }
.legal-card h3 { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--forest); margin-bottom: 0.25rem; }
.legal-card p { font-size: 0.75rem; color: var(--muted-light); margin: 0; }

.legal-strip {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center;
  padding: 1.25rem; background: var(--wheat); border-top: 1px solid var(--border);
  font-size: 0.75rem; position: relative; z-index: 1;
}
.legal-strip a, .legal-strip button { color: var(--muted); background: none; border: none; font: inherit; cursor: pointer; }
.legal-strip a:hover, .legal-strip button:hover { color: var(--sage); }

/* FOOTER */
.site-footer { position: relative; z-index: 1; background: var(--forest); color: rgba(255,255,255,0.75); padding-top: 3rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 2rem; padding-bottom: 2rem; }
.site-footer__brand p { font-size: 0.8125rem; margin-top: 0.75rem; max-width: 280px; line-height: 1.6; color: rgba(255,255,255,0.6); }
.site-footer .logo__glyph { background: var(--sage); }
.site-footer h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 0.85rem; }
.site-footer a, .footer-cookie-btn { display: block; font-size: 0.8125rem; color: rgba(255,255,255,0.65); margin-bottom: 0.45rem; background: none; border: none; font-family: inherit; cursor: pointer; text-align: left; padding: 0; }
.site-footer a:hover, .footer-cookie-btn:hover { color: var(--white); }
.site-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.site-footer__bar a { color: var(--gold-light); }

.compliance-bar { position: relative; z-index: 1; text-align: center; padding: 0.75rem; font-size: 0.7rem; color: var(--muted-light); background: var(--sand); border-top: 1px solid var(--border); }

body.legal { background: var(--sand); }
body.legal .site-header { background: rgba(243,237,228,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }

@media (max-width: 1024px) {
  .sage-hero__layout { grid-template-columns: 1fr; gap: 2rem; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row__thumb { max-width: 280px; }
  .svc-row__side { text-align: left; }
  .process-sage__grid { grid-template-columns: repeat(2,1fr); }
  .showcase-sage { grid-template-columns: 1fr; }
  .why-sage { grid-template-columns: repeat(2,1fr); }
  .split-sage, .contact-sage { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav {
    position: fixed; inset: calc(var(--ribbon-h) + var(--header-h)) 0 0 0;
    flex-direction: column; align-items: stretch; padding: 1.5rem; gap: 0;
    background: rgba(243,237,228,0.98); backdrop-filter: blur(12px);
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    border-left: 1px solid var(--border);
  }
  .site-nav.is-open, .site-nav.open { transform: translateX(0); }
  .site-nav a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }
  .menu-toggle { display: flex; }
  .sage-hero__card { left: 0.5rem; bottom: -1rem; }
  .process-sage__grid { grid-template-columns: 1fr; }
  .why-sage { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .pricing-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
