/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }
@property --shine-x    { syntax: "<percentage>"; inherits: false; initial-value: -20%; }

:root {
  /* palette — clean corporate light, structured & precise (hygiene teal accent) */
  --bg:        #ffffff;
  --bg-2:      #f5f7f6;
  --bg-3:      #eef2f1;
  --bg-4:      #e3e9e7;
  --cream:     #12211d;   /* primary ink (kept var name for drop-in compatibility) */
  --cream-2:   #33453f;   /* secondary ink */
  --cream-3:   #64766f;   /* muted / metadata */
  --accent:    #0d6e5f;   /* deep hygienic teal */
  --accent-2:  #0a4f45;
  --accent-soft: rgba(13, 110, 95, 0.09);
  --stone:     #64766f;
  --line:      rgba(18, 33, 29, 0.12);
  --line-2:    rgba(18, 33, 29, 0.06);

  --serif: "Sora", "Inter", -apple-system, sans-serif;   /* structured geometric sans — no italic serif */
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* strict type scale — every component draws from these, no ad-hoc sizes */
  --fs-h1:    clamp(2.25rem, 4vw, 3.4rem);
  --fs-h2:    clamp(1.6rem, 2.5vw, 2.15rem);
  --fs-h3:    1.2rem;
  --fs-lead:  1.125rem;
  --fs-body:  1rem;
  --fs-small: .9rem;
  --fs-micro: .72rem;
  --fs-stat:  1.4rem;   /* fixed — sized to fit "CIMS + AAP" on one line at the narrowest 4-col breakpoint */

  /* one measure for long-form copy, one for short intros — nothing else */
  --measure:      66ch;
  --measure-lead: 52rem;

  /* two radii only: tight, engineered corners — never pills, never 16px+ */
  --radius:    4px;
  --radius-lg: 8px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p {
  text-wrap: pretty;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
}
h1, h2, h3, h4 { font-family: var(--serif); text-wrap: balance; line-height: 1.12; letter-spacing: -0.01em; color: var(--cream); font-weight: 700; }
em { font-style: normal; }
.nav-brand em { color: var(--accent); font-weight: 700; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--cream); color: var(--bg);
  border-radius: var(--radius); font-weight: 600; font-size: var(--fs-small);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section { position: relative; padding-block: clamp(4rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.section:first-of-type, #inicio.hero { border-top: 0; }
.section-head { max-width: var(--measure-lead); margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: .55rem;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--accent); display: inline-block; }
.section-head.is-center .kicker { justify-content: center; }
.section-head.is-center .kicker::before { display: none; }
.section-sub { font-size: var(--fs-body); color: var(--cream-3); margin-top: .9rem; max-width: var(--measure); line-height: 1.6; }
.section-head.is-center .section-sub { margin-inline: auto; }
.section-head-secondary { margin-top: clamp(3rem, 5vw, 4rem); }

h2.section-title { font-size: var(--fs-h2); font-weight: 700; }
h2.section-title em { color: var(--accent); font-weight: 700; }

/* =============================================================
   4. Buttons & links
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.6rem; border-radius: var(--radius); font-weight: 600; font-size: var(--fs-small);
  font-family: var(--sans); letter-spacing: .01em;
  transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft), background-color .3s, color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: none;
}
.btn-primary:hover { background: var(--accent-2); }
.btn-primary:active { transition-duration: .1s; }
.btn-ghost {
  border: 1px solid var(--cream); color: var(--cream);
}
.btn-ghost:hover { background: var(--cream); color: var(--bg); }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-underline { position: relative; padding-bottom: .2rem; }
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: var(--fs-h3); font-weight: 700; color: var(--cream); }
.nav-brand .mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: var(--fs-small); color: var(--cream-2); }
.nav-links a { position: relative; padding-block: .3rem; text-align: center; white-space: nowrap; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
.nav-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 16px; height: 1.5px; background: var(--cream);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.nav-toggle::before { transform: translateY(-4.5px); }
.nav-toggle::after { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(0) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.nav-mobile {
  position: fixed; inset: 0; z-index: 95; background: var(--bg);
  display: grid; place-items: center; gap: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.nav-mobile a { font-family: var(--serif); font-size: var(--fs-h2); color: var(--cream); }
@media (min-width: 960px) { .nav-mobile { display: none; } }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: clip;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  filter: saturate(1.05) contrast(1.03);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(255,255,255,.97) 12%, rgba(255,255,255,.88) 45%, rgba(255,255,255,.55) 75%),
    linear-gradient(0deg, rgba(255,255,255,.85), transparent 45%);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 22% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(70% 60% at 22% 30%, #000 0%, transparent 72%);
  opacity: .7;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--measure-lead); padding-block: 3rem; }
.hero-title {
  font-family: var(--serif); font-size: var(--fs-h1); line-height: 1.08; font-weight: 700;
  max-width: 16ch; margin-inline: 0;
}
.hero-title em { color: var(--accent); font-weight: 700; }
.hero-title .tm { font-size: .45em; vertical-align: super; color: var(--accent); }
.hero-tagline { font-family: var(--mono); font-size: var(--fs-small); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 1.2rem; }
.hero-sub { font-size: var(--fs-lead); color: var(--cream-2); max-width: var(--measure); margin-top: 1.4rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.trust-bar {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .03em; color: var(--cream-3);
}
.trust-bar li { display: flex; align-items: center; gap: .55rem; }
.trust-bar svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* =============================================================
   7. Polish slider (signature effect)
   ============================================================= */
.polish-demo {
  position: relative; aspect-ratio: 16/10; max-height: 520px;
  border-radius: 20px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
  touch-action: pan-y;
}
.polish-pane { position: absolute; inset: 0; background: var(--bg-3); }
.polish-pane img { width: 100%; height: 100%; object-fit: cover; }
.polish-after { clip-path: inset(0 50% 0 0); }
.polish-after::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) var(--shine-x, 40%), transparent 55%);
  animation: shineSweep 6s ease-in-out infinite;
}
@keyframes shineSweep {
  0%, 100% { --shine-x: -10%; opacity: .5; }
  50%      { --shine-x: 110%; opacity: .9; }
}
.polish-label {
  position: absolute; top: 1.2rem; z-index: 2;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .45rem .8rem; border-radius: 999px; background: rgba(16,13,10,.55); color: var(--cream);
  backdrop-filter: blur(6px);
}
.polish-before .polish-label { right: 1.2rem; }
.polish-after .polish-label { left: 1.2rem; }
.polish-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none;
}
.polish-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 2;
  width: 2px; background: var(--cream); transform: translateX(-50%);
  pointer-events: none;
}
.polish-handle::after {
  content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--bg); font-size: 1.1rem; box-shadow: 0 10px 26px rgba(0,0,0,.4);
}

/* =============================================================
   8. Materials grid
   ============================================================= */
.materials-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.1rem;
}
.material-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.3rem; overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), border-color .4s, box-shadow .4s;
}
.material-card:hover { transition-duration: .15s; border-color: rgba(200,161,91,.4); }
.material-card:hover { box-shadow: 0 30px 60px -24px rgba(200,161,91,.35), 0 0 0 1px rgba(200,161,91,.18); }
.material-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(200,161,91,.22), transparent 60%);
  mix-blend-mode: screen;
}
.material-card:hover::before { opacity: 1; }

.material-swatch {
  position: relative; height: 148px; border-radius: 10px; margin-bottom: 1.1rem; overflow: hidden;
  border: 1px solid var(--line-2); transform: translateZ(20px);
}
.material-swatch img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-soft), filter .5s;
}
.material-card:hover .material-swatch img { transform: scale(1.08); filter: saturate(1.1) brightness(1.03); }
.material-swatch .real-tag {
  position: absolute; left: .55rem; bottom: .55rem; z-index: 1;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 999px; background: rgba(16,13,10,.6); color: var(--cream-2);
  backdrop-filter: blur(4px);
}
.material-card h3, .material-card p { position: relative; z-index: 1; transform: translateZ(20px); }
.material-card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-bottom: .4rem; }
.material-card p { font-size: .88rem; color: var(--cream-3); line-height: 1.55; }


/* =============================================================
   9. Process
   ============================================================= */
.process { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
.process-steps { display: grid; gap: 1.6rem; counter-reset: step; }
.process-step { display: flex; gap: 1.2rem; }
.process-step .num {
  font-family: var(--mono); font-size: .85rem; color: var(--accent);
  border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px;
  display: grid; place-items: center; flex: none;
}
.process-step h3 { font-size: 1.1rem; font-family: var(--serif); margin-bottom: .3rem; }
.process-step p { color: var(--cream-3); font-size: .93rem; }
.process-figure { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.process-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; filter: saturate(.92) brightness(.94); }
.process-figure figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  font-size: .75rem; color: var(--cream-3); background: rgba(16,13,10,.6);
  padding: .5rem .7rem; border-radius: 8px; backdrop-filter: blur(6px);
}
@media (min-width: 960px) { .process { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   10. Stats / why us
   ============================================================= */
.stats-section { position: relative; isolation: isolate; overflow: clip; }
.stats-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 60% at 20% 15%, var(--accent-soft), transparent 65%),
    var(--bg-2);
}
.metrics-section { padding-block: clamp(2.5rem, 4vw, 3.5rem); }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem 1.5rem; }
.stat { border-top: 1px solid var(--line); padding-top: 1rem; }
.stat b {
  display: block;
  font-family: var(--serif); font-size: var(--fs-stat); color: var(--accent); font-weight: 700;
  line-height: 1; white-space: nowrap; margin-bottom: .5rem;
}
.stat span { display: block; font-size: var(--fs-small); color: var(--cream-3); }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }

.badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.5rem; }
.badge {
  display: flex; align-items: center; gap: .6rem; padding: .65rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--line); font-size: var(--fs-small); color: var(--cream-2);
}
.badge svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* =============================================================
   11. Sister brands
   ============================================================= */
.family-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.family-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-3); transition: border-color .3s;
}
.family-card:hover { border-color: var(--accent); }
.family-card h3 { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 700; margin-bottom: .25rem; }
.family-card p { font-size: var(--fs-small); color: var(--cream-3); }
.family-card .go { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.family-card .go svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.family-card:hover .go svg { transform: translate(3px,-3px); }
@media (min-width: 720px) { .family-grid { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   12. Testimonials
   ============================================================= */
.testi-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.testi-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-3); }
.testi-card p.quote { font-family: var(--sans); font-size: var(--fs-body); font-weight: 400; color: var(--cream-2); margin-bottom: 1.1rem; line-height: 1.6; }
.testi-card footer { font-size: var(--fs-micro); color: var(--cream-3); font-family: var(--mono); letter-spacing: .04em; }
@media (min-width: 960px) { .testi-grid { grid-template-columns: repeat(3,1fr); } }

/* =============================================================
   13. FAQ (native details/summary — works without JS)
   ============================================================= */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0; cursor: pointer; font-family: var(--serif); font-size: 1.1rem; color: var(--cream);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent);
  transform: translate(-50%,-50%); transition: transform .35s var(--ease-out);
}
.faq-item summary .plus::before { width: 14px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 14px; }
.faq-item[open] summary .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-item p { padding-bottom: 1.4rem; color: var(--cream-3); max-width: 68ch; font-size: .95rem; }

/* =============================================================
   14. Contact / form
   ============================================================= */
.contact-info { display: grid; gap: 1.3rem; align-content: start; }
.contact-info.is-center { max-width: var(--measure-lead); margin-inline: auto; }
#contacto .contact-info { margin-bottom: 3rem; }
.contact-info .row { display: flex; gap: .9rem; align-items: flex-start; }
.contact-info svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: .15rem; }
.contact-info h3 { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .3rem; font-weight: 600; }
.contact-info p, .contact-info a { font-size: var(--fs-body); color: var(--cream); }

.cta-form { position: relative; display: grid; gap: 1rem; max-width: var(--measure-lead); margin-inline: auto; }
.field-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.1rem 1rem .6rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); color: var(--cream); font-family: inherit; font-size: var(--fs-small);
}
.field textarea { resize: vertical; min-height: 110px; }
.field label {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; transition: all .25s var(--ease-out); color: var(--cream-3); font-size: var(--fs-small);
}
.field textarea + label { top: 1.3rem; transform: none; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: .55rem; transform: none; font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }

.cta-submit { position: relative; justify-self: start; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 16px; height: 16px; border: 1.5px solid rgba(0,0,0,.22); border-top-color: var(--bg);
  border-radius: 50%; animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-form.is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .5s, transform .5s; }
.cta-success {
  position: absolute; inset: 0; display: grid; place-items: start center; align-content: center; text-align: center; gap: .6rem;
  opacity: 0; pointer-events: none; transition: opacity .7s var(--ease-out); padding: 2rem;
}
.cta-success.is-visible { opacity: 1; pointer-events: auto; }
.cta-success h3 { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 700; }
.cta-success p { color: var(--cream-3); font-size: var(--fs-small); }

/* =============================================================
   15. WhatsApp floating button
   ============================================================= */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90;
  display: flex; align-items: center; gap: .6rem; padding: .85rem 1.2rem; border-radius: 999px;
  background: #25d366; color: #06210f; font-weight: 600; font-size: .88rem;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
  transition: transform .4s var(--ease-soft);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 20px; height: 20px; flex: none; }

/* =============================================================
   16. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
.footer-brand { max-width: 340px; }
.footer-brand .nav-brand { margin-bottom: .9rem; }
.footer-brand p { font-size: var(--fs-small); color: var(--cream-3); }
.footer-credits { margin-top: 1rem; font-size: var(--fs-micro); color: var(--cream-3); }
.footer-credits a { text-decoration: underline; }
.footer-col h4 { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { font-size: var(--fs-small); color: var(--cream-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center;
  padding-top: 1.8rem; border-top: 1px solid var(--line);
  font-size: var(--fs-micro); color: var(--cream-3);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* =============================================================
   17. Scroll reveal (universal)
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
[data-reveal-stagger].is-revealed > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-revealed > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].is-revealed > *:nth-child(2) { transition-delay: .06s; }
[data-reveal-stagger].is-revealed > *:nth-child(3) { transition-delay: .12s; }
[data-reveal-stagger].is-revealed > *:nth-child(4) { transition-delay: .18s; }
[data-reveal-stagger].is-revealed > *:nth-child(n+5) { transition-delay: .22s; }

/* =============================================================
   12.5 Service accordion (7 services — accordion, not cards)
   ============================================================= */
.service-accordion { border-top: 1px solid var(--line); }
.service-item { border-bottom: 1px solid var(--line); }
.service-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.7rem 0; cursor: pointer; list-style: none;
}
.service-item summary::-webkit-details-marker { display: none; }
.service-summary-main { display: flex; gap: 1.3rem; align-items: flex-start; flex: 1; min-width: 0; }
.service-num { font-family: var(--mono); font-size: var(--fs-micro); color: var(--accent); flex: none; padding-top: .3rem; }
.service-heading h3 { font-family: var(--serif); font-size: var(--fs-h3); color: var(--cream); font-weight: 700; margin-bottom: .4rem; }
.service-heading p { font-size: var(--fs-small); color: var(--cream-3); max-width: var(--measure); line-height: 1.5; }
.service-item summary .plus { flex: none; width: 24px; height: 24px; position: relative; margin-top: .25rem; }
.service-item summary .plus::before, .service-item summary .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent);
  transform: translate(-50%,-50%); transition: transform .35s var(--ease-out);
}
.service-item summary .plus::before { width: 14px; height: 1.5px; }
.service-item summary .plus::after { width: 1.5px; height: 14px; }
.service-item[open] summary .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.service-item[open] summary { padding-bottom: 1.1rem; }

.service-body { padding: 0 0 2.4rem; max-width: var(--measure); }
.service-body h4 {
  font-family: var(--mono); color: var(--accent); font-weight: 600;
  font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase;
  margin: 1.8rem 0 .9rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.service-body h4:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.service-body p { color: var(--cream-3); line-height: 1.7; margin-bottom: 1.05rem; font-size: var(--fs-body); }
.service-body ul, .service-body ol {
  display: grid; gap: .6rem; margin: 0 0 1.1rem 0; padding-left: 1.3rem; color: var(--cream-3); font-size: var(--fs-small); line-height: 1.6;
}
.service-body ul { list-style: disc; }
.service-body ol { list-style: decimal; }
.service-body li strong { color: var(--cream-2); }
.service-body strong { color: var(--cream); font-weight: 600; }

.service-callout {
  border: 1px solid var(--line); border-left: 2px solid var(--accent);
  border-radius: var(--radius); padding: 1.5rem 1.7rem; margin: 1.8rem 0; background: var(--bg-3);
}
.service-callout p:first-child { margin-top: 0; }
.service-callout p:last-child { margin-bottom: 0; }
.service-callout .callout-tag {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: block;
}
.service-callout h4 { margin-top: 0; padding-top: 0; border-top: 0; }
.service-callout h5 {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream); margin: 1.3rem 0 .6rem; font-weight: 600;
}
.service-callout h5:first-of-type { margin-top: 0; }

/* =============================================================
   14.5 Path toggle (dual-path contact form)
   ============================================================= */
.path-toggle { display: grid; gap: .8rem; margin-bottom: .3rem; }
.path-option {
  position: relative; display: block; padding: 1.1rem 1.3rem; border: 1px solid var(--line);
  border-radius: var(--radius); cursor: pointer; transition: border-color .3s, background-color .3s;
}
.path-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.path-option span { font-size: var(--fs-small); color: var(--cream-2); }
.path-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.path-option:has(input:checked) span { color: var(--cream); font-weight: 600; }
.path-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 640px) { .path-toggle { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   20. Editorial (pull-quote section)
   ============================================================= */
.editorial { position: relative; }
.editorial-body { max-width: var(--measure); margin-inline: auto; display: grid; gap: 1.5rem; }
.editorial-body p { font-size: var(--fs-body); line-height: 1.75; color: var(--cream-2); }
.editorial-body p:first-of-type {
  font-family: var(--serif); font-size: var(--fs-h3); font-weight: 700;
  color: var(--cream); line-height: 1.5;
}

/* =============================================================
   21. Credentials strip (speaker / recognitions) + certification groups
   ============================================================= */
.cert-groups { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.cert-group h3 {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line);
}
.cert-list { display: grid; gap: .75rem; }
.cert-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: .3rem 1.2rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line-2);
}
.cert-name { font-size: var(--fs-small); color: var(--cream-2); max-width: var(--measure); }
.cert-issuer { font-family: var(--mono); font-size: var(--fs-micro); color: var(--cream-3); flex: none; white-space: nowrap; }
@media (min-width: 860px) { .cert-groups { grid-template-columns: 1fr 1fr; } }

.credentials-list { border-top: 1px solid var(--line); }
.credential-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.2rem 0; border-bottom: 1px solid var(--line);
}
.credential-row .label { font-size: var(--fs-body); color: var(--cream); max-width: var(--measure); }
.credential-row .tag {
  font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); flex: none;
}

/* =============================================================
   18. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .stats-grid { gap: 2rem; }
}
@media (min-width: 1280px) {
  .container { padding-inline: var(--gutter); }
}

/* =============================================================
   19. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation-duration: 40s; }
  /* Do NOT disable: tilt, hover, fades, shine sweep (slow, functional) */
}
