/* ==========================================================================
   GARDEN BEAUTY — Mayorista & distribuidora de belleza
   Estilos compartidos por index.html, kits.html y nosotros.html
   ========================================================================== */

:root {
  --bg:        #f3ede2;
  --bg-2:      #e9e1d1;
  --paper:     #fbf8f2;
  --ink:       #22251a;
  --ink-soft:  #4a4d3e;
  --mute:      #7a7c6a;
  --olive:     #33381f;
  --olive-2:   #474e2f;
  --olive-3:   #5d6640;
  --sage:      #a3aa8b;
  --sage-2:    #cdd1bb;
  --clay:      #b06a52;
  --clay-2:    #d9a28c;
  --cream-on-dark: #efe8da;
  --line:      rgba(34, 37, 26, 0.14);
  --line-dark: rgba(239, 232, 218, 0.16);

  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:  cubic-bezier(.22, 1, .36, 1);
  --ease-io:   cubic-bezier(.65, 0, .35, 1);
  --radius:    22px;
  --nav-h:     78px;
  --wrap:      1240px;
  --gutter:    clamp(16px, 4vw, 48px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 10px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--olive); color: var(--cream-on-dark); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 600; color: var(--clay); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--clay-2); }
p { margin: 0 0 1em; text-wrap: pretty; }

.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--f-body);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive-3);
  margin: 0 0 1.4rem;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .kicker { color: var(--sage); }

.h-xl { font-size: clamp(2.5rem, 5.8vw, 5.3rem); letter-spacing: 0.015em; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.7rem); letter-spacing: 0.012em; }
.h-md { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 56ch; }
.on-dark .lead { color: rgba(239, 232, 218, .78); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--olive); --b-fg: var(--cream-on-dark);
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: 1em 1.6em;
  border-radius: 999px;
  border: 1px solid var(--b-bg);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: .94rem; letter-spacing: .01em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-out), color .45s var(--ease-out), border-color .45s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--clay);
  transform: translateY(102%); border-radius: inherit;
  transition: transform .5s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); border-color: var(--clay); }
.btn:hover::after { transform: translateY(0); }
.btn .arr { transition: transform .45s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { color: var(--cream-on-dark); }
.btn--light { --b-bg: var(--cream-on-dark); --b-fg: var(--olive); }
.btn--light:hover { color: var(--cream-on-dark); }
.btn--wa { --b-bg: #1f7a4d; --b-fg: #fff; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.link-u {
  position: relative; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Splash (double safety: CSS 4.5s + JS) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: #f6efe3;
  animation: splashSafety .01s 4.5s forwards;
  transition: clip-path 1s var(--ease-io), opacity .6s;
  clip-path: inset(0 0 0 0);
}
.splash img { width: min(46vw, 230px); animation: splashIn 1.1s var(--ease-out) both; }
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.splash--video { animation-delay: 4.5s; background: #f3f1dc; clip-path: none; transition: opacity .9s var(--ease-out), visibility 0s .9s; }
.splash--video video { width: 100%; height: 100%; object-fit: contain; background: transparent; transition: transform 1.1s var(--ease-out), filter .9s var(--ease-out); }
.splash--video.is-out { clip-path: none; opacity: 0; visibility: hidden; }
.splash--video.is-out video { transform: scale(1.08); filter: blur(6px); }
@media (max-width: 700px) { .splash--video video { transform: scale(1.6); } .splash--video.is-out video { transform: scale(1.75); } }
/* Transiciones animadas entre páginas (navegadores compatibles; en el resto, navegación normal) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease-out) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }
.splash-skip { position: absolute; right: 20px; bottom: 20px; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(34,37,26,.25); background: rgba(255,255,255,.6); color: var(--ink); font-size: .8rem; font-weight: 600; cursor: pointer; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes splashIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(243, 237, 226, .94);
  box-shadow: 0 1px 0 var(--line);
  height: 66px;
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(243, 237, 226, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; color: var(--olive); }
.brand-txt { display: inline-flex; flex-direction: column; align-items: center; }
.brand-clip { position: relative; display: block; height: 58px; animation: logoBuild 9s var(--ease-out) infinite; }
.brand-mark { display: block; height: 100%; width: auto; max-width: none; pointer-events: none; }
@keyframes logoBuild {
  0%   { clip-path: inset(0 0 100% 0); opacity: 0; filter: blur(4px); }
  14%  { clip-path: inset(0 0 0 0); opacity: 1; filter: blur(0); }
  92%  { clip-path: inset(0 0 0 0); opacity: 1; filter: blur(0); }
  100% { clip-path: inset(0 0 0 0); opacity: 0; filter: blur(2px); }
}
@media (prefers-reduced-motion: reduce) { .brand-clip { animation: none; } }
.brand-clip + .brand-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav.is-scrolled .brand-clip { transform: scale(.85); transform-origin: left center; }
.brand-g { font-family: var(--f-display); font-size: 1.32rem; font-weight: 600; letter-spacing: .2em; }
.brand-b { font-size: .52rem; font-weight: 600; letter-spacing: .62em; margin-top: 4px; padding-left: .62em; display: flex; align-items: center; gap: 8px; }
.brand-b::before, .brand-b::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .7; }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: .9rem; font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; color: var(--ink-soft); transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--clay); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .75em 1.25em; font-size: .86rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav.is-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 22px;
    background: var(--bg);
    font-family: var(--f-display); font-size: 2.2rem;
    clip-path: circle(0 at calc(100% - 40px) 38px);
    transition: clip-path .7s var(--ease-io);
  }
  .nav-links a { color: var(--ink); }
  .nav.is-open .nav-links { clip-path: circle(150% at calc(100% - 40px) 38px); }
  .nav.is-open { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Reveal (IO threshold low + 6s safety) ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }   /* defensive, gotcha A.4.5 */
.no-js .reveal { opacity: 1; transform: none; }

.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.15s var(--ease-out); transition-delay: var(--d, 0s); }
.is-split.is-visible .split-line > span { transform: none; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.sec { padding-block: clamp(84px, 11vw, 150px); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head .lead { margin: 0; justify-self: end; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head .lead { justify-self: start; } }
.on-dark { background: var(--olive); color: var(--cream-on-dark); }

.leaf { width: 40px; height: 40px; color: var(--olive-3); }

/* ---------- HERO (home) ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 0 70px;
  display: flex; align-items: center;
  overflow: clip;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(circle at 50% 50%, rgba(163,170,139,.42), transparent 62%);
  filter: blur(30px); pointer-events: none;
  animation: breathe 14s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: translate(0,0) scale(1); } to { transform: translate(-6%, 6%) scale(1.12); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero-title { margin-bottom: 28px; }
.hero-sub { font-size: clamp(1.05rem, 1.35vw, 1.18rem); color: var(--ink-soft); max-width: 50ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--olive-3); }

.hero-visual { position: relative; min-height: 600px; }
.arch {
  position: absolute; right: 4%; top: 0; width: 70%; height: 88%;
  border-radius: 999px 999px 26px 26px; overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 40px 80px -40px rgba(51,56,31,.45);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.hero-visual.is-in .arch img { transform: scale(1); }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(51,56,31,.25)); }
.arch-ring { position: absolute; right: calc(4% - 16px); top: -16px; width: calc(70% + 32px); height: calc(88% + 32px); border-radius: 999px 999px 34px 34px; border: 1px solid rgba(51,56,31,.25); pointer-events: none; }

/* phone mockup (shared) */
.phone {
  position: relative; width: 210px; aspect-ratio: 9 / 18.5;
  border-radius: 34px; padding: 9px;
  background: #1b1d14;
  box-shadow: 0 40px 70px -30px rgba(20,22,12,.6), inset 0 0 0 1.5px #3a3d2c;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #2a2d20; }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 60px; height: 16px; border-radius: 10px; background: #1b1d14; transform: translateX(-50%); z-index: 4; }
.reel { position: absolute; inset: 0; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: reelFade 12s infinite; }
.reel--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel img:nth-child(2) { animation-delay: 4s; }
.reel img:nth-child(3) { animation-delay: 8s; }
@keyframes reelFade { 0% { opacity: 0; transform: scale(1.12); } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.reel-ui { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 12px 14px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 25%, transparent 60%, rgba(0,0,0,.6)); }
.reel-bars { display: flex; gap: 3px; }
.reel-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.reel-bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); animation: bar 12s linear infinite; }
.reel-bars i:nth-child(2)::after { animation-name: bar2; }
.reel-bars i:nth-child(3)::after { animation-name: bar3; }
@keyframes bar  { 0% { transform: scaleX(0); } 33.3% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes bar2 { 0%, 33.3% { transform: scaleX(0); } 66.6% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes bar3 { 0%, 66.6% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.reel-user { display: flex; align-items: center; gap: 7px; font-size: .66rem; font-weight: 700; margin-top: 10px; }
.reel-user b { width: 22px; height: 22px; border-radius: 50%; background: var(--cream-on-dark); color: var(--olive); display: grid; place-items: center; font-family: var(--f-display); font-size: .8rem; }
.reel-cap { font-size: .7rem; line-height: 1.35; }
.reel-cap strong { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; line-height: 1.05; margin-bottom: 4px; }
.reel-side { position: absolute; right: 10px; bottom: 70px; display: grid; gap: 12px; z-index: 3; }
.reel-side i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22); display: block; }

.hero .phone { position: absolute; left: 2%; bottom: 0; z-index: 3; transform: rotate(-6deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

.flyer {
  position: relative; width: 150px; aspect-ratio: 4 / 5;
  border-radius: 12px; overflow: hidden;
  background: var(--paper);
  box-shadow: 0 26px 50px -24px rgba(34,37,26,.55);
  display: flex; flex-direction: column;
}
.flyer img { width: 100%; height: 62%; object-fit: cover; }
.flyer-body { flex: 1; padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; }
.flyer-tag { font-size: .5rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.flyer-name { font-family: var(--f-display); font-size: 1.02rem; line-height: 1.05; color: var(--olive); }
.flyer-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 99px; background: var(--olive); color: var(--cream-on-dark); font-size: .5rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero .flyer { position: absolute; right: 0; top: 52%; z-index: 3; transform: rotate(7deg); animation: float 8s 1s ease-in-out infinite; }

.chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 10px; border-radius: 99px;
  background: var(--paper); box-shadow: 0 18px 40px -20px rgba(34,37,26,.45);
  font-size: .8rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.chip i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-2); color: var(--olive); font-style: normal; }
.chip i svg { width: 15px; height: 15px; }
.hero .chip--a { left: 30%; top: 6%; }
.hero .chip--b { right: -2%; bottom: 3%; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 540px; max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero-visual { min-height: 470px; }
  .arch { width: 78%; right: 0; }
  .arch-ring { display: none; }
  .hero .phone { width: 150px; left: 0; }
  .hero .flyer { width: 112px; right: 0; top: 46%; }
  .hero .chip--a { left: 4%; top: 2%; }
  .hero .chip--b { right: 0; bottom: 0; }
}

/* ---------- HERO 3D: carrusel curvo (frame 1440×1080) ---------- */
.h3d {
  --u: min(calc(100vw / 1440), calc(100svh / 1080));
  position: relative; display: flex; justify-content: center;
  background: radial-gradient(120% 70% at 50% 0%, #f7f3ea 0%, var(--bg) 60%);
  overflow: clip;
}
.h3d-frame { position: relative; width: calc(1440 * var(--u)); height: calc(1080 * var(--u)); min-height: 560px; }
.h3d-badge {
  position: absolute; left: 50%; top: calc(118 * var(--u)); transform: translateX(-50%);
  margin: 0; padding: calc(8 * var(--u)) calc(20 * var(--u)); border-radius: 99px;
  background: var(--sage-2); color: var(--olive);
  font-size: max(12px, calc(16.6 * var(--u))); font-weight: 600; white-space: nowrap;
  animation: h3dPop .7s .25s var(--ease-out) both;
}
.h3d-title {
  position: absolute; left: 0; right: 0; top: calc(178 * var(--u));
  text-align: center; font-size: calc(84 * var(--u)); line-height: calc(92 * var(--u));
  font-weight: 700; letter-spacing: 0.012em; color: var(--ink);
}
.h3d-title span { display: block; }
.h3d-l1 { animation: h3dRise 1s .4s var(--ease-out) both; }
.h3d-l2 { animation: h3dRise 1s .55s var(--ease-out) both; }
.h3d-sub {
  position: absolute; left: 50%; top: calc(386 * var(--u)); transform: translateX(-50%);
  width: calc(780 * var(--u)); margin: 0; text-align: center;
  font-family: var(--f-body); font-style: normal; font-weight: 400; letter-spacing: .005em; font-size: max(15px, calc(20 * var(--u))); line-height: 1.6; color: var(--ink-soft);
  animation: h3dFade .9s .75s var(--ease-out) both;
}
.h3d-band {
  position: absolute; left: 0; right: 0; top: calc(480 * var(--u)); height: calc(420 * var(--u));
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  animation: h3dBand 1.2s .85s var(--ease-out) both;
}
.h3d-band.is-drag { cursor: grabbing; }
.h3d-card {
  position: absolute; left: 0; top: 0; width: 170px; height: 280px;
  background: var(--sage-2); will-change: transform, clip-path;
}
.h3d-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; filter: saturate(1.05); }
.h3d-card--brand { background: #fff; }
.h3d-card--brand img { object-fit: contain; transform: scale(1.15); filter: none; }
.h3d-play {
  position: absolute; left: 0; top: 0; width: calc(34 * var(--u)); height: calc(34 * var(--u)); min-width: 22px; min-height: 22px;
  border-radius: 50%; background: rgba(255,255,255,.55);
}
@supports (backdrop-filter: blur(6px)) { .h3d-play { background: rgba(255,255,255,.32); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } }
.h3d-play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
.h3d-cta { position: absolute; left: 50%; top: calc(908 * var(--u)); transform: translateX(-50%); animation: h3dPop .8s 1.2s var(--ease-out) both; }
.h3d-cta::before { content: ""; position: absolute; inset: -8px; border-radius: 99px; border: 1.5px dashed var(--olive-3); pointer-events: none; }
.h3d-cta .btn { white-space: nowrap; }
.h3d { padding-bottom: max(0px, calc(132px - 172 * var(--u))); }
.h3d-links { position: absolute; left: 50%; top: calc(908 * var(--u) + 78px); transform: translateX(-50%); display: flex; gap: 12px; white-space: nowrap; animation: h3dFade .8s 1.5s var(--ease-out) both; }
.h3d-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px 11px 13px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line); color: var(--olive);
  font-size: .9rem; font-weight: 600; line-height: 1;
  box-shadow: 0 10px 24px -14px rgba(34,37,26,.45);
  animation: h3dFloat 4.5s ease-in-out infinite;
  transition: background .3s, color .3s, border-color .3s;
}
.h3d-chip + .h3d-chip { animation-delay: -2.2s; }
.h3d-chip svg { width: 20px; height: 20px; flex: none; color: var(--olive-3); transition: color .3s; }
.h3d-chip:hover { background: var(--olive); color: var(--cream-on-dark); border-color: var(--olive); }
.h3d-chip:hover svg { color: var(--cream-on-dark); }
@keyframes h3dFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

.h3d-note { position: absolute; margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 600; color: var(--olive-2); line-height: 1; text-align: center; animation: h3dFade .8s 1.6s both; }
.h3d-note--a { left: calc(1238 * var(--u)); top: calc(346 * var(--u)); font-size: calc(30 * var(--u)); transform: rotate(14deg); }
.h3d-note--b { left: calc(330 * var(--u)); top: calc(950 * var(--u)); font-size: calc(32 * var(--u)); transform: rotate(-10deg); }
.h3d-arrow, .h3d-doodle { position: absolute; fill: none; stroke: var(--olive-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.h3d-arrow--a { left: calc(1170 * var(--u)); top: calc(420 * var(--u)); width: calc(150 * var(--u)); height: calc(195 * var(--u)); }
.h3d-arrow--b { left: calc(530 * var(--u)); top: calc(905 * var(--u)); width: calc(64 * var(--u)); height: calc(44 * var(--u)); }
.h3d-doodle { left: calc(240 * var(--u)); top: calc(372 * var(--u)); width: calc(52 * var(--u)); height: calc(44 * var(--u)); }
.draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: h3dDraw 1.4s 1.5s var(--ease-io) forwards; }

@keyframes h3dPop  { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
@keyframes h3dRise { from { opacity: 0; transform: translateY(40px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes h3dFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes h3dBand { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
@keyframes h3dDraw { to { stroke-dashoffset: 0; } }

@media (max-width: 820px) {
  .h3d-frame { width: 100%; height: auto; min-height: 0; display: flex; flex-direction: column; align-items: center; padding: calc(var(--nav-h) + 26px) 0 64px; }
  .h3d-badge, .h3d-title, .h3d-sub, .h3d-cta, .h3d-band, .h3d-note--b { position: relative; left: auto; right: auto; top: auto; transform: none; }
  .h3d-badge { font-size: 12.5px; padding: 7px 14px; white-space: normal; text-align: center; max-width: calc(100% - 32px); }
  .h3d-title { margin: 22px 16px 0; font-size: clamp(38px, 10.5vw, 56px); line-height: 1.02; }
  .h3d-sub { width: auto; margin: 18px 20px 0; font-size: 15.5px; }
  .h3d-band { width: 100%; height: 250px; margin-top: 30px; }
  .h3d-cta { margin-top: 34px; }
  .h3d { padding-bottom: 0; }
  .h3d-links { position: relative; left: auto; top: auto; transform: none; order: 6; margin-top: 30px; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 16px; }
  .h3d-chip { font-size: .86rem; padding: 10px 14px 10px 12px; }
  .h3d-note--b { margin-top: 22px; font-size: 26px; transform: rotate(-6deg); }
  .h3d-note--a, .h3d-arrow, .h3d-doodle { display: none; }
  .h3d-badge { order: 1; } .h3d-title { order: 2; } .h3d-sub { order: 3; } .h3d-band { order: 4; } .h3d-cta { order: 5; } .h3d-note--b { order: 6; }
}
@media (prefers-reduced-motion: reduce) {
  .h3d-badge, .h3d-l1, .h3d-l2, .h3d-sub, .h3d-band, .h3d-cta, .h3d-note, .h3d-links, .h3d-chip { animation: none; }
  .draw { animation: none; stroke-dashoffset: 0; }
}

/* Subtítulo interactivo: palabras que responden al cursor */
.h3d-sub .w { display: inline-block; --p: 0; color: color-mix(in srgb, var(--clay) calc(var(--p) * 100%), var(--ink-soft)); transform: translateY(calc(var(--p) * -5px)); transition: color .35s, transform .45s var(--ease-out); opacity: 0; animation: wordIn .9s var(--ease-out) forwards; animation-delay: calc(.8s + var(--i) * 35ms); }
.h3d-sub .w:hover { --p: 1; }
@keyframes wordIn { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }
@media (max-width: 820px) { .h3d-sub { font-size: 17px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--paper); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-style: italic; color: var(--olive); white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .6em; color: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- STACKING TOOL CARDS (signature) ---------- */
.stack { display: grid; gap: 28px; padding-bottom: 6vh; }
.stack-card {
  position: sticky; top: calc(var(--nav-h) + 8px + var(--i, 0) * 14px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  min-height: min(76vh, 640px);
  padding: clamp(28px, 4.4vw, 64px);
  border-radius: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 -20px 50px -40px rgba(34,37,26,.45);
  transform-origin: 50% 0;
  will-change: transform;
}
.stack-card:nth-child(2n) { background: #f0e8da; }
.stack-card:nth-child(5) { background: var(--olive); color: var(--cream-on-dark); border-color: transparent; }
.stack-num { font-family: var(--f-display); font-size: 1rem; font-style: italic; color: var(--clay); margin-bottom: 18px; display: block; }
.stack-card h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 18px; }
.stack-card p { color: var(--ink-soft); max-width: 46ch; }
.stack-card:nth-child(5) p { color: rgba(239,232,218,.78); }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--sage-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333381f' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.stack-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
@media (max-width: 860px) {
  .stack-card { grid-template-columns: 1fr; min-height: 0; position: relative; top: auto; }
  .stack-visual { min-height: 320px; }
}

/* catalog mockup */
.browser { width: min(100%, 440px); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(34,37,26,.5); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #efe9de; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4cbb9; }
.browser-bar span { margin-left: 10px; flex: 1; padding: 4px 10px; border-radius: 99px; background: #fff; font-size: .66rem; color: var(--mute); }
.browser-body { padding: 14px; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.cat-head b { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; color: var(--olive); }
.cat-head small { font-size: .62rem; color: var(--mute); }
.cat-filters { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.cat-filters span { padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); font-size: .6rem; }
.cat-filters span:first-child { background: var(--olive); color: #fff; border-color: var(--olive); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-item { border-radius: 8px; overflow: hidden; background: #f6f1e8; font-size: .58rem; }
.cat-item img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.cat-item div { padding: 5px 6px 7px; }
.cat-item b { display: block; font-family: var(--f-display); font-weight: 600; font-size: .7rem; letter-spacing: .01em; }
.cat-item em { font-style: normal; color: #1f7a4d; font-weight: 700; }

/* flyers fan */
.fan { position: relative; width: 100%; height: 380px; }
.fan .flyer { position: absolute; left: 50%; top: 50%; width: 160px; transition: transform .8s var(--ease-out); }
.fan .flyer:nth-child(1) { transform: translate(-50%, -50%) translate(-150px, 16px) rotate(-14deg); }
.fan .flyer:nth-child(2) { transform: translate(-50%, -50%) translate(-52px, -6px) rotate(-5deg); }
.fan .flyer:nth-child(3) { transform: translate(-50%, -50%) translate(52px, -6px) rotate(5deg); }
.fan .flyer:nth-child(4) { transform: translate(-50%, -50%) translate(150px, 16px) rotate(14deg); }
@media (hover: hover) {
  .fan:hover .flyer:nth-child(1) { transform: translate(-50%, -50%) translate(-190px, 10px) rotate(-17deg); }
  .fan:hover .flyer:nth-child(2) { transform: translate(-50%, -50%) translate(-66px, -20px) rotate(-6deg); }
  .fan:hover .flyer:nth-child(3) { transform: translate(-50%, -50%) translate(66px, -20px) rotate(6deg); }
  .fan:hover .flyer:nth-child(4) { transform: translate(-50%, -50%) translate(190px, 10px) rotate(17deg); }
}
@media (max-width: 560px) {
  .fan .flyer { width: 118px; }
  .fan .flyer:nth-child(1) { transform: translate(-50%, -50%) translate(-96px, 14px) rotate(-12deg); }
  .fan .flyer:nth-child(2) { transform: translate(-50%, -50%) translate(-32px, -4px) rotate(-4deg); }
  .fan .flyer:nth-child(3) { transform: translate(-50%, -50%) translate(32px, -4px) rotate(4deg); }
  .fan .flyer:nth-child(4) { transform: translate(-50%, -50%) translate(96px, 14px) rotate(12deg); }
}

/* photo studio mockup */
.studio { position: relative; width: min(100%, 420px); aspect-ratio: 1; }
.studio-frame { position: absolute; inset: 8% 8% 14% 8%; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(34,37,26,.5); }
.studio-frame img { width: 100%; height: 100%; object-fit: cover; }
.studio-corners { position: absolute; inset: 14% 14% 20% 14%; pointer-events: none; }
.studio-corners i { position: absolute; width: 26px; height: 26px; border: 2px solid #fff; }
.studio-corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.studio-corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.studio-corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.studio-corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.studio-flash { position: absolute; inset: 8% 8% 14% 8%; border-radius: 18px; background: #fff; opacity: 0; animation: flash 5s infinite; pointer-events: none; }
@keyframes flash { 0%, 86%, 100% { opacity: 0; } 88% { opacity: .85; } }
.studio-thumbs { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 8px; }
.studio-thumbs img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; border: 3px solid var(--paper); box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); }

/* chat mockup */
.chatmock { width: min(100%, 400px); border-radius: 22px; background: rgba(239,232,218,.07); border: 1px solid var(--line-dark); padding: 18px; display: grid; gap: 10px; }
.chatmock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); font-size: .82rem; font-weight: 600; }
.chatmock-head b { width: 32px; height: 32px; border-radius: 50%; background: var(--cream-on-dark); color: var(--olive); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.1rem; }
.chatmock-head small { display: block; font-weight: 400; font-size: .7rem; color: var(--sage); }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .84rem; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0s); }
.bub--in { background: rgba(239,232,218,.12); border-bottom-left-radius: 4px; }
.bub--out { justify-self: end; background: var(--clay); color: #fff; border-bottom-right-radius: 4px; }
.is-visible .bub, .no-js .bub { opacity: 1; transform: none; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat {
  position: relative; display: block;
  border-radius: 999px 999px 18px 18px; overflow: hidden;
  aspect-ratio: 3 / 4.6; background: var(--bg-2);
  isolation: isolate;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; filter: saturate(.92); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(34,37,26,.82)); z-index: 1; }
.cat-label { position: absolute; inset: auto 18px 18px; z-index: 2; color: #fff; }
.cat-label h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.cat-label small { font-size: .74rem; opacity: .85; letter-spacing: .04em; }
@media (hover: hover) { .cat:hover img { transform: scale(1.08); filter: saturate(1.1); } }
@media (max-width: 960px) {
  .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58%; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; touch-action: pan-x pan-y; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; }
}
@media (max-width: 560px) { .cats { grid-auto-columns: 74%; } }

/* ---------- Extras de marketing (debajo del stack) ---------- */
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 10px; }
.extra { padding: 20px; border-radius: 18px; border: 1px dashed rgba(51,56,31,.3); background: rgba(251,248,242,.6); font-size: .9rem; color: var(--ink-soft); }
.extra b { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 500; color: var(--olive); line-height: 1.1; margin-bottom: 6px; }

/* ---------- Video interactivo (perfume) ---------- */
.scrub { position: relative; background: var(--bg); padding-block: clamp(80px, 10vw, 140px); }
.scrub-sticky { position: relative; }
.scrub-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.scrub-copy .h-lg { margin-bottom: 30px; }
.scrub-line { max-width: 40ch; font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.scrub-line--strong { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.35; color: var(--olive); }
.scrub-media { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: #1a1610; cursor: ew-resize; touch-action: pan-y; transform: perspective(1100px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) scale(var(--ts, 1)); transition: transform .5s var(--ease-out), box-shadow .5s, opacity 1s var(--ease-out); box-shadow: 0 50px 90px -50px rgba(34,37,26,.6); }
.scrub-media.is-hover { --ts: 1.02; box-shadow: 0 60px 110px -50px rgba(34,37,26,.7); transition: transform .12s linear, box-shadow .5s; }
.scrub-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 30%), rgba(255,240,215,.22), transparent 60%); opacity: 0; transition: opacity .4s; }
.scrub-media.is-hover .scrub-glare { opacity: 1; }
.scrub-hint { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 7px 14px; border-radius: 99px; background: rgba(15,17,11,.55); color: #f3ede2; font-size: .74rem; letter-spacing: .04em; white-space: nowrap; pointer-events: none; transition: opacity .5s; }
.scrub-media.is-used .scrub-hint { opacity: 0; }
@media (max-width: 860px) {
  .scrub-grid { grid-template-columns: 1fr; gap: 26px; }
  .scrub-media { order: -1; }
  .scrub-copy .h-lg { margin-bottom: 18px; }
  .scrub-line { font-size: .98rem; margin-bottom: 10px; }
}

/* ---------- Caja 3D (stock) ---------- */.stock3d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.box3d-stage { --bw: 340px; --bh: 210px; --bd: 230px; position: relative; height: 440px; perspective: 1400px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; }
.box3d-stage.is-drag { cursor: grabbing; }
.box3d { position: relative; width: var(--bw); height: var(--bh); transform-style: preserve-3d; transform: rotateX(var(--rx, -18deg)) rotateY(var(--ry, -32deg)); }
.bf { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; overflow: hidden; backface-visibility: hidden;
  background: linear-gradient(180deg, #d2ad7e, #c49a68); box-shadow: inset 0 0 0 1px rgba(90,60,30,.18), inset 0 0 40px rgba(90,60,30,.18); }
.bf::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 6px); pointer-events: none; }
.bf img { width: 62%; mix-blend-mode: multiply; filter: contrast(1.25) saturate(.9); }
.bf-front, .bf-back { width: var(--bw); height: var(--bh); margin: calc(var(--bh) / -2) 0 0 calc(var(--bw) / -2); }
.bf-left, .bf-right { width: var(--bd); height: var(--bh); margin: calc(var(--bh) / -2) 0 0 calc(var(--bd) / -2); }
.bf-top, .bf-bottom { width: var(--bw); height: var(--bd); margin: calc(var(--bd) / -2) 0 0 calc(var(--bw) / -2); }
.bf-front  { transform: translateZ(calc(var(--bd) / 2)); }
.bf-back   { transform: rotateY(180deg) translateZ(calc(var(--bd) / 2)); }
.bf-right  { transform: rotateY(90deg) translateZ(calc(var(--bw) / 2)); }
.bf-left   { transform: rotateY(-90deg) translateZ(calc(var(--bw) / 2)); }
.bf-top    { transform: rotateX(90deg) translateZ(calc(var(--bh) / 2)); background: linear-gradient(90deg, #c9a271, #d8b689 50%, #c9a271); }
.bf-bottom { transform: rotateX(-90deg) translateZ(calc(var(--bh) / 2)); background: #a8804f; }
.bf-top::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 34px; transform: translateY(-50%); background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.12)); box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.bf-left img, .bf-right img { width: 70%; }
.box3d-shadow { position: absolute; left: 50%; bottom: 40px; width: 420px; height: 60px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(51,56,31,.35), transparent); filter: blur(6px); pointer-events: none; }
.box3d-hint { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; margin: 0; font-size: .78rem; color: var(--mute); letter-spacing: .08em; }
@media (max-width: 900px) { .stock3d-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .box3d-stage { --bw: 230px; --bh: 150px; --bd: 160px; height: 340px; } .box3d-shadow { width: 290px; } }

/* ---------- Rubros ---------- */
.rubros { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.rubro { position: relative; padding: 26px 22px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease-out), background .5s, color .5s; }
.rubro svg { width: 34px; height: 34px; color: var(--clay); margin-bottom: 18px; }
.rubro h3 { font-size: 1.45rem; margin-bottom: 8px; }
.rubro p { font-size: .88rem; color: var(--ink-soft); margin: 0; transition: color .5s; }
@media (hover: hover) { .rubro:hover { transform: translateY(-6px); background: var(--olive); color: var(--cream-on-dark); } .rubro:hover p { color: rgba(239,232,218,.78); } .rubro:hover svg { color: var(--clay-2); } }
@media (max-width: 1020px) { .rubros { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .rubros { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .rubros { grid-template-columns: 1fr; } }

/* ---------- Asesoramiento ---------- */
.advice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.advice > div { padding: 30px 26px 6px 0; }
.advice > div + div { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.advice b { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; line-height: 1.1; margin-bottom: 10px; }
.advice p { color: rgba(239,232,218,.75); font-size: .94rem; }
@media (max-width: 900px) { .advice { grid-template-columns: 1fr 1fr; } .advice > div:nth-child(3) { padding-left: 0; border-left: 0; } .advice > div:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
@media (max-width: 560px) { .advice { grid-template-columns: 1fr; } .advice > div, .advice > div + div { padding-left: 0; border-left: 0; } .advice > div + div { border-top: 1px solid var(--line-dark); } }

.steps.steps.steps--6 { grid-template-columns: repeat(3, 1fr); }
.steps.steps--6 .step:nth-child(4) { padding-left: 0; border-left: 0; }
.steps.steps--6 .step:nth-child(n+4) { border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .steps.steps.steps--6 { grid-template-columns: 1fr 1fr; }
  .steps.steps--6 .step:nth-child(4) { padding-left: 28px; border-left: 1px solid var(--line); }
  .steps.steps--6 .step:nth-child(odd) { padding-left: 0; border-left: 0; }
  .steps.steps--6 .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) { .steps.steps.steps--6 { grid-template-columns: 1fr; } .steps.steps--6 .step { padding-left: 0 !important; border-left: 0 !important; } }

/* ---------- Inicio: cómo trabajamos rápido ---------- */
.quick { padding-bottom: clamp(40px, 5vw, 70px); }
.quick-head { margin-bottom: clamp(30px, 4vw, 54px); }
.steps.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps.steps--3 .step-n { font-size: 3.2rem; }
.quick-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.quick-badges { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; font-weight: 600; color: var(--olive); }
.quick-badges span::before { content: "✦ "; color: var(--clay); font-size: .7em; }
.quick + .sec { padding-top: clamp(30px, 4vw, 60px); }
@media (max-width: 760px) { .steps.steps--3 { grid-template-columns: 1fr; } .steps.steps--3 .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Botón "tecnológico" ---------- */
.btn--tech { --b-bg: #12170e; --b-fg: #d9f0a8; border-color: rgba(185,212,138,.45); box-shadow: 0 0 0 0 rgba(185,212,138,.35), 0 10px 30px -14px rgba(120,160,70,.6); }
.btn--tech::after { background: linear-gradient(90deg, #7fa34a, #b9d48a); }
.btn--tech:hover { color: #0d110a; }
.btn-dot { width: 8px; height: 8px; border-radius: 50%; background: #b9d48a; box-shadow: 0 0 10px #b9d48a; animation: dotPulse 1.8s ease-in-out infinite; }
@keyframes dotPulse { 50% { opacity: .35; transform: scale(.7); } }

/* ---------- Página Innovación: mismo diseño, otro tinte ---------- */
.theme-tech {
  --bg: #0d110a; --bg-2: #131a0e; --paper: #151c10;
  --ink: #eaf2db; --ink-soft: rgba(234,242,219,.72); --mute: rgba(234,242,219,.5);
  --olive: #b9d48a; --olive-3: #9fbf6a; --sage: #9fbf6a; --sage-2: rgba(185,212,138,.16);
  --clay: #b9d48a; --clay-2: #d9f0a8; --line: rgba(234,242,219,.12);
  background: var(--bg); color: var(--ink);
}
.theme-tech .nav.is-scrolled { background: rgba(13,17,10,.82); box-shadow: 0 1px 0 var(--line); }
.theme-tech .nav-links a { color: var(--ink-soft); }
.theme-tech .nav-links a:hover { color: var(--ink); }
.theme-tech .brand-mark { filter: brightness(0) invert(1) sepia(.35) saturate(1.6) hue-rotate(35deg); }
.theme-tech .nav-toggle span { background: var(--ink); }
.theme-tech .btn:not(.btn--tech):not(.btn--ghost) { --b-bg: #b9d48a; --b-fg: #0d110a; }
.theme-tech .btn--ghost { --b-fg: var(--ink); border-color: var(--line); }
.theme-tech .footer { background: #0a0d08; border-color: var(--line); }
.theme-tech .footer-logo { filter: brightness(0) invert(.9); mix-blend-mode: normal; }
.theme-tech .bot, .theme-tech .bot-log, .theme-tech .bot-quick, .theme-tech .bot-form { color: #22251a; }
@media (max-width: 960px) { .theme-tech .nav-links { background: var(--bg); } }

.tech-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 80px; }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; }
.tech-glow { position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -15%; top: -20%; background: radial-gradient(circle, rgba(140,190,80,.22), transparent 60%); filter: blur(20px); pointer-events: none; animation: breathe 12s ease-in-out infinite alternate; }
.tech-hero-inner { position: relative; z-index: 2; max-width: 980px; }
.tech-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(185,212,138,.3); background: rgba(185,212,138,.06); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #cfe7a0; }
.tech-title { margin: 26px 0 22px; }
.tech-title em { color: #b9d48a; text-shadow: 0 0 40px rgba(185,212,138,.35); }
.tech-type { margin-top: 26px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .95rem; color: #b9d48a; min-height: 1.6em; }
.tech-type .caret { display: inline-block; width: 9px; height: 1.1em; margin-left: 3px; vertical-align: -2px; background: #b9d48a; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.tech-sec { background: transparent; }
.tech-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech-card { position: relative; padding: 32px 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(185,212,138,.07), rgba(185,212,138,.015)); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.tech-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(185,212,138,.18), transparent 70%); opacity: 0; transition: opacity .4s; }
.tech-card:hover::before { opacity: 1; }
.tech-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(185,212,138,.12); color: #b9d48a; margin-bottom: 22px; }
.tech-ico svg { width: 24px; height: 24px; }
.tech-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.tech-card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
.tech-split-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tech-big { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3; color: var(--ink); margin: 0; }
.tech-stats { display: grid; gap: 14px; }
.tech-stats div { padding: 20px 24px; border-radius: 18px; border: 1px solid var(--line); background: rgba(185,212,138,.04); }
.tech-stats b { display: block; font-family: var(--f-display); font-size: 2.4rem; color: #b9d48a; line-height: 1; }
.tech-stats span { font-size: .85rem; color: var(--mute); }
.tech-close { padding: clamp(90px, 12vw, 160px) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 100%, rgba(140,190,80,.12), transparent 70%); }
.tech-quote { max-width: 26ch; margin: 0 auto; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.15; }
.tech-quote em { color: #b9d48a; }
@media (max-width: 900px) { .tech-cards { grid-template-columns: 1fr; } .tech-split-grid { grid-template-columns: 1fr; } }

/* ---------- Ventana Innovación (overlay en Quiénes somos) — estética editorial cálida ---------- */
.innov {
  --iv-bg:#f6f0e7; --iv-ink:#2a1a12; --iv-ink2:#5b4a3f; --iv-brown:#33381f; --iv-pill:#ece3d7;
  --iv-line:rgba(42,26,18,.08); --iv-glass:rgba(250,245,238,.55); --iv-glass-b:rgba(255,255,255,.55);
  --iv-ease:cubic-bezier(.22,1,.36,1); --iv-ease-io:cubic-bezier(.65,0,.35,1);
  position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column;
  background: var(--iv-bg); color: var(--iv-ink);
  font-family: "Inter Tight", system-ui, sans-serif; font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased;
  clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); visibility: hidden;
  transition: clip-path .9s var(--iv-ease-io), visibility 0s .9s;
}
.innov.is-open { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); visibility: visible; transition: clip-path .9s var(--iv-ease-io); }
html.innov-lock, html.innov-lock body { overflow: hidden; }
.innov h2, .innov h3, .innov h4, .innov h5 { font-family: "Inter Tight", system-ui, sans-serif; text-wrap: balance; }
.innov img, .innov video { display: block; max-width: 100%; }

.iv-bar { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 24px; background: rgba(246,240,231,.8); box-shadow: 0 1px 0 var(--iv-line); }
@supports (backdrop-filter: blur(10px)) { .iv-bar { background: rgba(246,240,231,.62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); } }
.iv-pill { justify-self: start; background: var(--iv-pill); border-radius: 999px; padding: 9px 20px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--iv-ink2); }
.iv-logo { height: 44px; width: auto; }
.iv-close { justify-self: end; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--iv-pill); color: var(--iv-ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: transform .6s var(--iv-ease), background .3s; }
.iv-close:hover { transform: rotate(90deg); background: #e3d6c6; }
.iv-scroll { position: relative; flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.iv-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* animaciones (solo si JS marcó .js-iv) */
.js-iv .innov .rv { opacity: 0; transform: translate3d(0,28px,0); filter: blur(8px); }
.innov .rv { transition: opacity 1.1s var(--iv-ease), transform 1.1s var(--iv-ease), filter 1.1s var(--iv-ease); transition-delay: calc(var(--d,0) * 90ms + var(--base,0ms)); }
.js-iv .innov .rv-scale { transform: scale(.96) translateY(24px); }
.js-iv .innov .rv.in { opacity: 1; transform: none; filter: none; }
.innov .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .12em; margin: 0 -.02em -.12em; }
.innov .split .w > span { display: inline-block; will-change: transform; }
.js-iv .innov .split .w > span { transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform 1.2s var(--iv-ease), opacity 1.2s var(--iv-ease); transition-delay: calc(var(--i) * 70ms + var(--base,0ms)); }
.js-iv .innov .split.in .w > span { transform: none; opacity: 1; }

/* HERO */
.iv-hero { padding-top: 64px; }
.iv-head { text-align: center; padding: 0 16px; }
.iv-eyebrow { display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.8); padding: 6px 12px; border-radius: 999px; color: var(--iv-ink2); }
.iv-display { font-weight: 400; font-size: clamp(42px, 7vw, 104px); line-height: .96; letter-spacing: -.045em; color: #2a2a18; margin: 20px auto 0; max-width: 14ch; }
.iv-display .w > span { background: linear-gradient(180deg, #2c3119 0%, #6b7550 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.iv-sub { font-style: italic; font-size: clamp(16px, 1.5vw, 20px); color: var(--iv-ink2); margin-top: 22px; }
.iv-card { position: relative; margin-top: 34px; border-radius: 34px; overflow: hidden; height: clamp(640px, 45.5vw, 840px); background: #e8dccb; box-shadow: 0 40px 80px -50px rgba(59,33,22,.45); }
.iv-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iv-shade { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 55%, rgba(246,240,231,.18), transparent 70%); }
.iv-studio { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(920px, 76%); display: grid; grid-template-columns: 1.7fr 1fr; border-radius: 26px; overflow: hidden;
  background: rgba(240,232,222,.8); border: 1px solid rgba(255,255,255,.55); box-shadow: 0 30px 60px -30px rgba(40,20,10,.35), inset 0 1px 0 rgba(255,255,255,.6); }
@supports (backdrop-filter: blur(20px)) { .iv-studio { background: rgba(240,232,222,.42); backdrop-filter: blur(26px) saturate(130%); -webkit-backdrop-filter: blur(26px) saturate(130%); } }
.iv-chat { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.iv-chat-top { display: flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #4b3a30; }
.iv-bubble { align-self: flex-end; max-width: 72%; background: rgba(255,253,249,.9); border-radius: 16px; padding: 10px 14px; font-size: 12.5px; line-height: 1.4; color: #3b2a20; box-shadow: 0 6px 18px -10px rgba(40,20,10,.25); }
.iv-ai { display: flex; gap: 8px; max-width: 84%; font-size: 12.5px; line-height: 1.5; color: #3d2e25; }
.iv-ai-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,253,249,.92); display: grid; place-items: center; overflow: hidden; }
.iv-ai-ic img { width: 16px; }
.innov .ai-t { display: grid; } .innov .ai-t > span { grid-area: 1 / 1; } .innov .ai-t .ghost { visibility: hidden; }
.innov .msg { opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .8s var(--iv-ease), transform .8s var(--iv-ease); }
.innov .msg.show { opacity: 1; transform: none; }
.innov .typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.innov .typing i { width: 5px; height: 5px; border-radius: 50%; background: #7a675b; animation: ivdot 1.2s infinite ease-in-out; }
.innov .typing i:nth-child(2) { animation-delay: .15s; } .innov .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ivdot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.iv-cd { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 6px; }
.iv-cd small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6a594d; }
.iv-cd strong { display: block; font-weight: 400; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.02em; margin-top: 2px; }
.iv-slider { width: 44%; min-width: 120px; text-align: right; }
.iv-slider small { font-size: 11.5px; text-transform: none; letter-spacing: 0; }
.iv-track { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.55); margin-top: 8px; }
.iv-track b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, #a3aa8b, #4b5e2b); transition: width 1.8s var(--iv-ease); }
.iv-track b::after { content: ""; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid #4b5e2b; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.iv-prod { padding: 14px; border-left: 1px solid rgba(255,255,255,.45); display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; color: #4b3a30; }
.iv-fig { position: relative; flex: 1; margin: 0; border-radius: 14px; overflow: hidden; min-height: 240px; }
.iv-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2.4s var(--iv-ease); }
.iv-fig.in img { transform: scale(1); }
.iv-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(-100%); }
.iv-fig.in::after { animation: ivsheen 1.6s var(--iv-ease) 1.4s forwards; }
@keyframes ivsheen { to { transform: translateX(100%); } }

/* BENTO */
.iv-sec { padding-top: 120px; }
.iv-last { padding-bottom: 60px; }
.iv-bento-shell { position: relative; border-radius: 34px; overflow: hidden; padding: 72px 40px 40px; isolation: isolate; background: linear-gradient(180deg, #e7ecdc 0%, #f3ede2 45%, #efe6d6 100%); }
.iv-sec-head { text-align: center; }
.iv-h2 { font-weight: 400; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -.04em; margin-top: 18px; color: #2a1a12; }
.iv-h2 .lt { color: #8d7b6f; font-weight: 300; }
.iv-lead { max-width: 480px; margin: 16px auto 0; font-size: 14px; color: var(--iv-ink2); line-height: 1.55; }
.iv-bento { margin-top: 48px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.iv-c { position: relative; border-radius: 24px; overflow: hidden; background: rgba(250,245,238,.8); border: 1px solid var(--iv-glass-b); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 20px 40px -30px rgba(40,30,20,.35); transition: transform .7s var(--iv-ease), box-shadow .7s var(--iv-ease); isolation: isolate; }
@supports (backdrop-filter: blur(20px)) { .iv-c { background: var(--iv-glass); backdrop-filter: blur(22px) saturate(130%); -webkit-backdrop-filter: blur(22px) saturate(130%); } }
.iv-c:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 30px 60px -30px rgba(40,30,20,.45); }
.iv-c h5 { font-size: 16px; font-weight: 400; margin: 0; }
.iv-c .txt p { font-size: 12px; line-height: 1.5; color: #5b4a3f; margin: 6px 0 0; }
.iv-pad { padding: 14px; display: flex; flex-direction: column; min-height: 272px; }
.iv-pad .txt { padding: 14px 6px 4px; }
.iv-big { grid-row: span 2; min-height: 560px; padding: 28px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: transparent; border-color: rgba(255,255,255,.35); }
.iv-big > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--iv-ease); }
.iv-big:hover > img { transform: scale(1.05); }
.iv-big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(48,30,20,.62) 0%, rgba(48,30,20,.25) 28%, rgba(60,40,28,0) 45%, rgba(60,40,28,.05) 60%, rgba(40,25,15,.6) 100%); }
.iv-big h4 { font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; letter-spacing: -.035em; margin: 0; color: #fff; }
.iv-big h4 span { opacity: .72; }
.iv-big .desc { font-size: 12.5px; opacity: .85; max-width: 300px; margin-top: 12px; }
.iv-avatars { display: flex; align-items: center; gap: 10px; font-size: 11.5px; }
.iv-avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; background: #fff; margin-left: -8px; }
.iv-avatars img:first-child { margin-left: 0; }
.iv-avatars span { margin-left: 4px; }
.iv-btn-white { display: block; text-align: center; background: #fff; color: #2a1a12; border-radius: 999px; padding: 12px; font-size: 13px; margin-top: 14px; transition: transform .4s var(--iv-ease); }
.iv-btn-white:hover { transform: translateY(-2px); }
.iv-rows { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 6px; }
.iv-rows .row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.62); border-radius: 12px; padding: 8px; font-size: 11.5px; opacity: 0; transform: translateX(-14px); transition: opacity .8s var(--iv-ease), transform .8s var(--iv-ease); transition-delay: calc(var(--i) * 140ms + 400ms); }
.iv-c.in .row, html:not(.js-iv) .iv-rows .row { opacity: 1; transform: none; }
.iv-rows img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.iv-rows b { display: block; font-size: 12px; font-weight: 500; }
.iv-rows em { font-style: normal; font-size: 10.5px; color: #8a7a6e; }
.iv-rows .ok { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: #33381f; display: grid; place-items: center; }
.iv-rows .ok svg { width: 9px; height: 9px; }
.iv-collage { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-height: 140px; border-radius: 16px; overflow: hidden; }
.iv-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform 1.2s var(--iv-ease); }
.iv-c:hover .iv-collage img { transform: scale(1.05); }
.iv-insight { position: relative; flex: 1; border-radius: 16px; overflow: hidden; min-height: 150px; }
.iv-insight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--iv-ease); }
.iv-c:hover .iv-insight img { transform: scale(1.06); }
.iv-chip { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.88); font-size: 10.5px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.3); animation: ivfloat 6s ease-in-out infinite; }
.iv-chip i { width: 8px; height: 8px; border-radius: 50%; background: #7fb07a; box-shadow: 0 0 0 4px rgba(127,176,122,.2); }
@keyframes ivfloat { 50% { transform: translateY(-6px); } }
.iv-gauge { position: relative; flex: 1; display: grid; place-items: center; min-height: 150px; }
.iv-gauge .val { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-20%); font-size: 30px; letter-spacing: -.03em; color: #33381f; }
.iv-gauge .ends { position: absolute; bottom: 6px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-size: 10px; color: #7a6a5e; }

/* VISIÓN */
.iv-vision { text-align: center; max-width: 980px; }
.iv-vision-t { font-weight: 300; font-size: clamp(24px, 3vw, 40px); line-height: 1.2; letter-spacing: -.03em; color: #2a1a12; margin: 22px auto 0; }

/* CTA */
.iv-cta { position: relative; border-radius: 34px; overflow: hidden; min-height: 460px; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.iv-cta .iv-media { z-index: -2; }
.iv-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246,240,231,.92) 0%, rgba(246,240,231,.6) 40%, rgba(246,240,231,.05) 70%); }
.iv-cta h3 { font-weight: 400; font-size: clamp(52px, 8vw, 120px); line-height: .9; letter-spacing: -.055em; color: #2a1a12; margin: 0; }
.iv-cta p { max-width: 360px; margin-top: 20px; font-size: 14px; color: #3d2e25; }
.iv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.iv-btn-dark, .iv-btn-ghost { position: relative; overflow: hidden; isolation: isolate; border-radius: 999px; padding: 12px 26px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: transform .5s var(--iv-ease), box-shadow .5s var(--iv-ease); }
.iv-btn-dark { background: var(--iv-brown); color: #f6ede2; border: 0; }
.iv-btn-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--iv-ease); }
.iv-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(51,56,31,.6); }
.iv-btn-dark:hover::before { transform: translateX(120%); }
.iv-btn-ghost { background: rgba(255,255,255,.7); color: var(--iv-ink); border: 1px solid rgba(255,255,255,.9); }
.iv-btn-ghost:hover { transform: translateY(-2px); }

@media (max-width: 1100px) {
  .iv-studio { width: 90%; } .iv-card { height: 700px; }
  .iv-bento { grid-template-columns: 1fr 1fr; } .iv-big { grid-row: auto; grid-column: span 2; min-height: 460px; }
}
@media (max-width: 860px) {
  .iv-card { height: auto; padding: 110px 14px 14px; }
  .iv-studio { position: relative; left: auto; top: auto; transform: none; width: 100%; grid-template-columns: 1fr; }
  .iv-prod { border-left: 0; border-top: 1px solid rgba(255,255,255,.45); }
  .iv-fig { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .iv-wrap { padding: 0 16px; } .iv-bar { padding: 10px 16px; } .iv-pill { display: none; }
  .iv-hero { padding-top: 40px; }
  .iv-card { border-radius: 24px; padding: 70px 10px 10px; } .iv-studio { border-radius: 20px; }
  .iv-chat { padding: 18px 16px; gap: 10px; } .iv-bubble, .iv-ai { max-width: 92%; font-size: 12px; }
  .iv-fig { aspect-ratio: 4 / 3; }
  .iv-cd { flex-direction: column; align-items: flex-start; } .iv-slider { width: 100%; text-align: left; }
  .iv-sec { padding-top: 80px; }
  .iv-bento-shell { padding: 48px 14px 14px; border-radius: 24px; }
  .iv-bento { grid-template-columns: 1fr; } .iv-big { grid-column: auto; min-height: 420px; padding: 22px; }
  .iv-cta { padding: 28px 20px; min-height: 480px; border-radius: 24px; }
  .iv-cta::before { background: linear-gradient(180deg, rgba(246,240,231,.1) 0%, rgba(246,240,231,.6) 45%, rgba(246,240,231,.92) 100%); }
}

/* ---------- Marcas ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.brand-tile {
  margin: 0; aspect-ratio: 1; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.brand-tile img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); }
@media (hover: hover) { .brand-tile:hover { transform: translateY(-5px); box-shadow: 0 26px 40px -28px rgba(34,37,26,.45); } }
.brand-tile figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.brands-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.brands-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--olive); }
.brands-badges span::before { content: "✦"; color: var(--clay); font-size: .7em; }
@media (max-width: 560px) { .brands { grid-template-columns: repeat(3, 1fr); gap: 10px; } .brand-tile { border-radius: 14px; } }

/* catálogo por marca (kits.html) */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.cat-card > img { width: 96px; height: 96px; border-radius: 16px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.cat-card small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-3); }
.cat-card h3 { font-size: 1.55rem; margin: 4px 0 8px; }
.cat-card p { font-size: .86rem; color: var(--ink-soft); margin: 0; }
.cat-card .logos-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cat-card .logos-mini img { width: 42px; height: 42px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
@media (max-width: 960px) { .catalog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .catalog { grid-template-columns: 1fr; } }

/* ---------- Compare (sin curva cerrada) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-col { border-radius: 26px; padding: clamp(26px, 3.6vw, 44px); border: 1px solid var(--line-dark); }
.compare-col h3 { font-size: 1.7rem; margin-bottom: 22px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.compare-col li { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; }
.compare-col li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.compare-col--old { color: rgba(239,232,218,.55); }
.compare-col--old li span { text-decoration: line-through; text-decoration-color: rgba(239,232,218,.35); }
.compare-col--new { background: var(--cream-on-dark); color: var(--ink); border-color: transparent; }
.compare-col--new h3 { color: var(--olive); }
.compare-col--new svg { color: #1f7a4d; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Kits ---------- */
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.kit {
  position: relative; display: flex; flex-direction: column;
  border-radius: 26px; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
@media (hover: hover) { .kit:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -40px rgba(34,37,26,.5); } }
.kit-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.kit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .kit:hover .kit-img img { transform: scale(1.06); } }
.kit-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 99px; background: var(--paper); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.kit-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.kit-body h3 { font-size: 1.9rem; margin-bottom: 10px; }
.kit-body p { color: var(--ink-soft); font-size: .95rem; }
.kit-body .ticks { margin: 4px 0 24px; font-size: .9rem; }
.kit-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.kit-price { font-family: var(--f-display); font-size: 1.3rem; font-style: italic; color: var(--clay); }
.kit--feat { background: var(--olive); color: var(--cream-on-dark); border-color: transparent; }
.kit--feat p, .kit--feat .ticks { color: rgba(239,232,218,.8); }
.kit--feat .kit-foot { border-color: var(--line-dark); }
.kit--feat .kit-price { color: var(--clay-2); }
@media (max-width: 960px) { .kits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .kits { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 34px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--f-display); font-size: 4.2rem; line-height: 1; font-style: italic; color: var(--sage); display: block; margin-bottom: 16px; }
.step h3 { font-size: 1.6rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: .95rem; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--clay); transition: width 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.step.is-visible::before { width: 100%; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
}

/* ---------- Argentina ---------- */
.ar-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ar-count { font-family: var(--f-display); font-size: clamp(6rem, 14vw, 11rem); line-height: .85; color: var(--olive); font-weight: 500; }
.ar-count small { display: block; font-family: var(--f-body); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-3); margin-top: 14px; }
.provs { display: flex; flex-wrap: wrap; gap: 8px; }
.prov {
  padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease-out);
  cursor: default;
}
.prov.is-lit { background: var(--olive); color: var(--cream-on-dark); border-color: var(--olive); }
@media (hover: hover) { .prov:hover { background: var(--clay); color: #fff; border-color: var(--clay); transform: translateY(-2px); } }
.ar-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.ar-note div { padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.ar-note b { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; color: var(--olive); margin-bottom: 4px; }
@media (max-width: 900px) { .ar-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ar-note { grid-template-columns: 1fr; } }

/* ---------- Manifesto ---------- */
.manifesto { text-align: center; }
.manifesto blockquote {
  margin: 0 auto; max-width: 22ch;
  font-family: var(--f-display); font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.08; font-weight: 400;
  text-wrap: balance;
}
.manifesto blockquote em { color: var(--clay-2); }
.manifesto p.lead { margin: 34px auto 0; text-align: center; }
.manifesto .leaf { margin: 0 auto 30px; color: var(--sage); width: 54px; height: 54px; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info { position: sticky; top: calc(var(--nav-h) + 30px); }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-list svg { width: 20px; height: 20px; color: var(--olive-3); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.6vw, 44px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive-3); background: #fff; box-shadow: 0 0 0 4px rgba(93,102,64,.15); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line); font-size: .86rem; cursor: pointer; transition: all .3s; user-select: none; }
.pill input:checked + span { background: var(--olive); border-color: var(--olive); color: var(--cream-on-dark); }
.pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(176,106,82,.35); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form-foot small { color: var(--mute); font-size: .8rem; max-width: 36ch; }
.form-ok { display: none; padding: 14px 18px; border-radius: 14px; background: var(--sage-2); color: var(--olive); font-size: .9rem; font-weight: 600; }
.form.is-sent .form-ok { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { position: static; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) 0 clamp(50px, 7vw, 90px); overflow: clip; }
.page-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; }
.page-hero .lead { margin: 0; }
.page-hero-art { justify-self: end; width: min(100%, 340px); aspect-ratio: 3 / 4; border-radius: 999px 999px 22px 22px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(51,56,31,.5); }
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero-art { justify-self: start; width: 70%; max-width: 300px; } }

/* ---------- Modalidades (kits page) ---------- */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.form-perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-soft); }
.form-perks li::before { content: "✦"; color: var(--clay); font-size: .7em; margin-right: 10px; }
.mode { padding: clamp(26px, 3.4vw, 40px); border-radius: 26px; border: 1px solid var(--line-dark); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; transition: background .5s; }
@media (hover: hover) { .mode:hover { background: rgba(239,232,218,.06); } }
.mode-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-on-dark); color: var(--olive); }
.mode-ico svg { width: 26px; height: 26px; }
.mode h3 { font-size: 1.75rem; margin-bottom: 10px; }
.mode p { color: rgba(239,232,218,.75); margin: 0; font-size: .96rem; }
@media (max-width: 760px) { .modes { grid-template-columns: 1fr; } .mode { grid-template-columns: 1fr; } }

/* Kit builder */
.builder { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.builder-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: all .35s var(--ease-out); }
.opt label img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; }
.opt label b { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; line-height: 1.1; }
.opt label small { font-size: .78rem; color: var(--mute); }
.opt input:checked + label { border-color: var(--olive); background: #fff; box-shadow: 0 0 0 2px var(--olive) inset; }
.opt input:focus-visible + label { box-shadow: 0 0 0 3px rgba(176,106,82,.4); }
.builder-sum { position: sticky; top: calc(var(--nav-h) + 24px); padding: 30px; border-radius: 26px; background: var(--olive); color: var(--cream-on-dark); }
.builder-sum h3 { font-size: 2rem; margin-bottom: 16px; }
.builder-sum ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; min-height: 60px; font-size: .95rem; }
.builder-sum ul li { display: flex; align-items: center; gap: 10px; animation: popIn .5s var(--ease-out); }
.builder-sum ul li::before { content: "✦"; color: var(--clay-2); font-size: .7em; }
.builder-sum .empty { color: rgba(239,232,218,.55); font-style: italic; }
.builder-sum .field label { color: rgba(239,232,218,.7); }
.builder-sum .field select { background: rgba(239,232,218,.08); border-color: var(--line-dark); color: var(--cream-on-dark); }
.builder-sum .field select option { color: var(--ink); }
.builder-sum .btn { width: 100%; justify-content: center; margin-top: 18px; }
@keyframes popIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .builder-sum { position: static; } }
@media (max-width: 520px) { .builder-opts { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-family: var(--f-display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .5s var(--ease-out), background .4s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease-out); }
.faq details[open] summary i { background: var(--sage-2); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { color: var(--ink-soft); max-width: 70ch; padding-bottom: 26px; margin: 0; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-text p { font-size: 1.06rem; color: var(--ink-soft); }
.owner-only { display: none !important; }
.is-editing .owner-only { display: block !important; }
.about-body p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 4.6rem; line-height: .8; padding: 6px 12px 0 0; color: var(--olive); }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photos figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.about-photos figure:first-child { grid-row: span 2; border-radius: 999px 999px 22px 22px; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 34px 30px; border-radius: 26px; border: 1px solid var(--line-dark); }
.value .leaf { color: var(--clay-2); margin-bottom: 18px; }
.value h3 { font-size: 1.75rem; margin-bottom: 10px; }
.value p { color: rgba(239,232,218,.75); margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.gallery figure:nth-child(2n) { transform: translateY(36px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .gallery figure:hover img { transform: scale(1.06); } }
.gallery figcaption { display: none; }
.edit-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 12px; background: var(--paper); border: 1px dashed var(--olive-3); font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(70px, 9vw, 120px); text-align: center; }
.cta-band h2 { max-width: 18ch; margin: 0 auto 22px; }
.cta-band .lead { margin: 0 auto 34px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #ece4d5; padding: 80px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 150px; mix-blend-mode: multiply; margin-left: -12px; }
.footer h4 { font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-3); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer ul a { color: var(--ink-soft); transition: color .3s; }
.footer ul a:hover { color: var(--clay); }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .8rem; color: var(--mute); }
.credits summary { cursor: pointer; }
.credits ul { margin-top: 12px; font-size: .74rem; gap: 4px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp + Assistant ---------- */
.fab-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 12px; justify-items: end; }
.fab { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 16px 34px -14px rgba(0,0,0,.45); transition: transform .4s var(--ease-out); }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 26px; height: 26px; }
.fab--wa { background: #1f7a4d; color: #fff; }
.fab--bot { background: var(--olive); color: var(--cream-on-dark); position: relative; box-shadow: 0 16px 34px -14px rgba(0,0,0,.45), 0 0 0 2px rgba(239,232,218,.85); }
.fab--bot::after { content: ""; position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--clay); border: 2px solid var(--bg); }

.bot {
  position: fixed; right: 18px; bottom: 160px; z-index: 95;
  width: min(380px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 190px));
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(34,37,26,.55);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; visibility: hidden;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s;
}
.bot.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--olive); color: var(--cream-on-dark); }
.bot-head b { width: 36px; height: 36px; border-radius: 50%; background: var(--cream-on-dark); color: var(--olive); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.2rem; flex: none; }
.bot-head div { flex: 1; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.bot-head small { display: block; font-weight: 400; font-size: .72rem; color: var(--sage); }
.bot-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: inherit; cursor: pointer; font-size: 1.1rem; }
.bot-log { flex: 1; overflow-y: auto; padding: 18px; display: grid; gap: 10px; align-content: start; background: var(--bg); }
.bot-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .88rem; line-height: 1.5; animation: popIn .45s var(--ease-out); }
.bot-msg--in { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bot-msg--out { justify-self: end; background: var(--olive); color: var(--cream-on-dark); border-bottom-right-radius: 4px; }
.bot-msg a { color: #1f7a4d; font-weight: 700; text-decoration: underline; }
.bot-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--paper); }
.bot-quick button { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: .76rem; cursor: pointer; transition: all .3s; }
.bot-quick button:hover { background: var(--olive); color: var(--cream-on-dark); border-color: var(--olive); }
.bot-form { display: flex; gap: 8px; padding: 10px 14px 14px; background: var(--paper); }
.bot-form input { flex: 1; padding: 11px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: .88rem; }
.bot-form input:focus { outline: none; border-color: var(--olive-3); }
.bot-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--clay); color: #fff; cursor: pointer; display: grid; place-items: center; }
.bot-form button svg { width: 18px; height: 18px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Reduced motion: only intrusive loops ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero .phone, .hero .flyer { animation: none; }
  .studio-flash { animation: none; }
}
