/* =============================================================
   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 — editorial dark warm, adapted with a brass/polished accent */
  --bg:        #100d0a;
  --bg-2:      #17130e;
  --bg-3:      #201a13;
  --bg-4:      #2a2216;
  --cream:     #f3ece1;
  --cream-2:   #ddcfb8;
  --cream-3:   #8f7f66;
  --accent:    #c8a15b;
  --accent-2:  #8f6f38;
  --accent-soft: rgba(200, 161, 91, 0.18);
  --stone:     #8b93a1;
  --line:      rgba(243, 236, 225, 0.12);
  --line-2:    rgba(243, 236, 225, 0.06);

  --serif: "Cormorant", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --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; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; color: var(--cream); font-weight: 500; }
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: 8px; font-weight: 600; font-size: .9rem;
}
.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(4.5rem, 9vw, 8rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem; 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: 1.05rem; color: var(--cream-3); margin-top: 1rem; max-width: 56ch; }
.section-head.is-center .section-sub { margin-inline: auto; }

h2.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-family: var(--serif); font-style: normal; }
h2.section-title em { font-style: italic; color: var(--accent); font-weight: 500; }

/* =============================================================
   4. Buttons & links
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s, color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  box-shadow: 0 10px 30px -8px rgba(200,161,91,.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(200,161,91,.65); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-ghost {
  border: 1px solid var(--line); color: var(--cream);
}
.btn-ghost:hover { background: var(--line-2); border-color: var(--cream-3); transform: translateY(-3px); }
.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(16,13,10,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: 1.25rem; color: var(--cream); }
.nav-brand .mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: none; align-items: center; gap: 2rem; font-size: .92rem; color: var(--cream-2); }
.nav-links a { position: relative; padding-block: .3rem; }
.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: 1.8rem; 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(16,13,10,.94) 10%, rgba(16,13,10,.75) 45%, rgba(16,13,10,.4) 75%),
    linear-gradient(0deg, rgba(16,13,10,.9), transparent 45%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(50% 45% at var(--mesh-x) var(--mesh-y), rgba(200,161,91,.22), transparent 65%),
    conic-gradient(from var(--mesh-angle), rgba(200,161,91,.1), rgba(139,147,161,.05), rgba(143,111,56,.12), rgba(200,161,91,.1));
  filter: blur(90px) saturate(120%);
  animation: meshShift 24s linear infinite;
  mix-blend-mode: screen;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 25%; --mesh-y: 35%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 72%; --mesh-y: 55%; }
  100% { --mesh-angle: 360deg; --mesh-x: 25%; --mesh-y: 35%; }
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; padding-block: 3rem; }
.hero-title {
  font-family: var(--serif); font-size: clamp(2.6rem, 6.6vw, 5rem); line-height: 1.04;
  max-width: 16ch; margin-inline: 0;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream-2); max-width: 52ch; margin-top: 1.5rem; }
.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-image: linear-gradient(180deg, rgba(16,13,10,.88), rgba(16,13,10,.96)), url("assets/img/nosotros-terrazo.webp");
  background-size: cover; background-position: center;
  filter: saturate(.75);
}
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem 1.5rem; }
.stat b {
  display: block; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--accent); font-weight: 500;
}
.stat span { font-size: .85rem; color: var(--cream-3); }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }

.badges { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }
.badge {
  display: flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); font-size: .82rem; 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.6rem 1.8rem; border: 1px solid var(--line); border-radius: 16px;
  background: var(--bg-3); transition: border-color .35s, transform .35s var(--ease-soft);
}
.family-card:hover { border-color: rgba(200,161,91,.4); transform: translateY(-3px); }
.family-card h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: .25rem; }
.family-card p { font-size: .85rem; color: var(--cream-3); }
.family-card .go { flex: none; width: 38px; height: 38px; 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.8rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-3); }
.testi-card p.quote { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--cream); margin-bottom: 1rem; }
.testi-card footer { font-size: .82rem; color: var(--cream-3); font-family: var(--mono); }
@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-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); grid-template-columns: 1fr; }
.contact-info { display: grid; gap: 1.4rem; align-content: start; }
.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-size: .95rem; color: var(--cream); margin-bottom: .2rem; }
.contact-info p, .contact-info a { font-size: .9rem; color: var(--cream-3); }

.cta-form { position: relative; display: grid; gap: 1.1rem; }
.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: 10px;
  background: var(--bg-3); color: var(--cream); font-family: inherit; font-size: .95rem;
}
.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: .95rem;
}
.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: .68rem; 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(16,13,10,.3); 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: 1.4rem; }
.cta-success p { color: var(--cream-3); font-size: .9rem; }

/* =============================================================
   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: .88rem; color: var(--cream-3); }
.footer-col h4 { font-family: var(--mono); font-size: .72rem; 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: .9rem; 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: .78rem; 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; }

/* =============================================================
   17.5 Gallery page
   ============================================================= */
.gallery-header { padding-block: clamp(6.5rem, 12vw, 9rem) 2rem; }
.gallery-masonry { columns: 2 220px; column-gap: .8rem; }
@media (min-width: 720px)  { .gallery-masonry { columns: 3 260px; } }
@media (min-width: 1280px) { .gallery-masonry { columns: 4 280px; } }
.gallery-item {
  display: block; margin-bottom: .8rem; break-inside: avoid;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  position: relative;
}
.gallery-item img { width: 100%; display: block; transition: transform .6s var(--ease-soft), filter .4s; }
.gallery-item:hover img { transform: scale(1.04); filter: saturate(1.08); }

.lightbox {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: rgba(8,6,4,.92); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out); padding: 4vh 4vw;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--cream);
  display: grid; place-items: center; font-size: 1.3rem;
}

/* =============================================================
   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) */
}
