/* =============================================================
   aColor — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* warm mustard-tinted paper, not pure cream */
  --bg:          #FBF1DD;
  --bg-2:        #F4E3BE;
  --paper:       #FFFDF8;

  --mustard:      #E3A72B;
  --mustard-deep: #C4881B;
  --mustard-soft: #F0C563;

  --ink:         #241A2E;
  --ink-soft:    #392B47;
  --ink-mute:    #776B84;

  --terracotta:   #C1602E;
  --terracotta-2: #9C4A22;
  --sage:         #6E7F4F;
  --sage-2:       #566440;
  --violet:       #4A2E68;
  --violet-2:     #6C4090;

  --rainbow: linear-gradient(100deg, #E2542D 0%, #E3A72B 26%, #6E7F4F 52%, #3C7A89 74%, #6C4090 100%);

  --line:        rgba(36, 26, 46, .13);
  --line-soft:   rgba(36, 26, 46, .07);
  --shadow-color: 36, 26, 46;

  --serif: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", cursive;

  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-in:     cubic-bezier(.7,0,.84,0);
  --ease-soft:   cubic-bezier(.25,.46,.45,.94);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 20px;
  --radius-sm: 12px;
}

@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%; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  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.05; letter-spacing: -.01em; font-family: var(--serif); font-weight: 500; }
ul { list-style: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--terracotta); color: var(--paper); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--paper);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta-2);
  margin-bottom: .9rem;
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--terracotta);
}
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-style: italic; }
.section-lede { margin-top: 1rem; color: var(--ink-soft); font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 42ch; }

.text-rainbow {
  background: var(--rainbow);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.demo-note {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; color: var(--violet);
  background: rgba(74,46,104,.09);
  border: 1px solid rgba(74,46,104,.22);
  padding: .3rem .65rem; border-radius: 999px;
}

/* =============================================================
   4. Typography
   ============================================================= */
.wordmark {
  font-family: var(--script);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--violet);
  line-height: 1;
  letter-spacing: .01em;
}
.wordmark-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .35rem 1rem .5rem;
  background: var(--mustard);
  border-radius: 999px 999px 60% 999px;
  box-shadow: 0 6px 18px -8px rgba(196,136,27,.6);
}

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  box-shadow: 0 4px 14px rgba(var(--shadow-color), .1), 0 1px 3px rgba(var(--shadow-color), .08);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-4px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-primary {
  background: var(--terracotta); color: var(--paper);
  box-shadow: 0 4px 14px rgba(193,96,46,.28);
}
.btn-primary:hover { box-shadow: 0 22px 44px -12px rgba(193,96,46,.5); background: var(--terracotta-2); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); box-shadow: 0 18px 36px -16px rgba(var(--shadow-color), .25); }

.btn-whatsapp {
  background: #3E9C5B; color: #fff;
  box-shadow: 0 4px 14px rgba(62,156,91,.3);
}
.btn-whatsapp:hover { box-shadow: 0 22px 44px -12px rgba(62,156,91,.5); background: #348B4F; }

.btn-sm { padding: .6rem 1.1rem; font-size: .82rem; border-radius: 999px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  padding-block: 1.1rem;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), padding-block .4s var(--ease-out);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav.is-scrolled {
  background: rgba(251, 241, 221, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .7rem;
}
.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-link { position: relative; font-weight: 600; font-size: .92rem; padding: .25rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1.5px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
.nav-burger {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink);
  position: relative; transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  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-style: italic; font-size: 1.8rem; }
.nav-mobile .btn { margin-top: 1rem; }

/* Cards */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

/* mesh-color — signature background effect */
.mesh-color { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mesh-color::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(38% 32% at var(--mesh-x) var(--mesh-y), rgba(227,167,43,.55), transparent 70%),
    radial-gradient(34% 30% at calc(100% - var(--mesh-x)) calc(100% - var(--mesh-y)), rgba(193,96,46,.4), transparent 70%),
    radial-gradient(30% 28% at 80% 15%, rgba(110,127,79,.35), transparent 70%),
    conic-gradient(from var(--mesh-angle), rgba(108,64,144,.16), rgba(227,167,43,.1), rgba(193,96,46,.14), rgba(108,64,144,.16));
  filter: blur(70px) saturate(120%);
  animation: meshShift 26s linear infinite;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 24%; --mesh-y: 34%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 24%; --mesh-y: 34%; }
}
.mesh-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* cursor */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; display: none; mix-blend-mode: difference; opacity: 0; transition: opacity .25s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--paper); border-radius: 50%; }
.cursor-ring { width: 34px; height: 34px; margin: -17px; border: 1px solid var(--paper); border-radius: 50%; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out); }
.cursor.is-interactive .cursor-ring { width: 52px; height: 52px; margin: -26px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: var(--line-soft); pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--rainbow); transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear; }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-grid { position: relative; z-index: 2; display: grid; gap: 2.75rem; align-items: center; }
.hero-inner { max-width: 42rem; }
.hero-figure {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 50px 100px -40px rgba(var(--shadow-color), .45), 0 1px 0 rgba(255,255,255,.4) inset;
}
.hero-figure picture, .hero-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .hero-figure { aspect-ratio: 4/3; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-figure { aspect-ratio: 4/3; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--terracotta-2);
  margin-bottom: 1.4rem;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-style: italic;
  max-width: 15ch;
  color: var(--ink);
}
.hero-title em { font-style: italic; }
.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 38ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-meta { display: flex; gap: 1.6rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-meta-item { font-size: .84rem; color: var(--ink-mute); }
.hero-meta-item strong { display: block; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); }

/* --- Manifesto / proceso --- */
.manifesto-grid { display: grid; gap: 2.5rem; align-items: start; }
.manifesto-figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.manifesto-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.manifesto-text p + p { margin-top: 1.1rem; }
.manifesto-text { color: var(--ink-soft); font-size: 1.05rem; }

.process-row {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; gap: 1.6rem;
  position: relative;
}
.process-step {
  position: relative;
  padding: 1.6rem 1.5rem 1.8rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
}
.process-n {
  font-family: var(--serif); font-style: italic; font-size: 2.2rem;
  color: var(--mustard-deep);
  display: block; margin-bottom: .6rem;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.process-step p { font-size: .92rem; color: var(--ink-mute); }

/* --- Categorías --- */
.cat-grid { display: grid; gap: 1.5rem; }
.cat-card {
  padding: 2rem 1.7rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .5s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(var(--shadow-color), .3); border-color: var(--line); }
.cat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1.3rem;
}
.cat-card[data-cat="ceramica"] .cat-icon { background: rgba(193,96,46,.14); color: var(--terracotta); }
.cat-card[data-cat="textiles"] .cat-icon { background: rgba(110,127,79,.16); color: var(--sage); }
.cat-card[data-cat="objetos"] .cat-icon { background: rgba(108,64,144,.14); color: var(--violet); }
.cat-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.cat-card p { color: var(--ink-mute); font-size: .95rem; }
.cat-note { margin-top: 2rem; font-size: .92rem; color: var(--ink-mute); text-align: center; }

/* --- Galería / bento --- */
.bento { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.piece {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  --rx: 0deg; --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft);
}
.piece:hover { transition-duration: .15s; box-shadow: 0 40px 80px -30px rgba(var(--shadow-color), .35); }
.piece-media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.piece:nth-child(1) .piece-media, .piece:nth-child(6) .piece-media { aspect-ratio: 4/3; }
.piece-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .55s; }
.piece:hover .piece-media img { transform: scale(1.1); filter: saturate(1.15) brightness(1.03); }
.piece-body { padding: 1.2rem 1.3rem 1.4rem; }
.piece-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: var(--terracotta-2); }
.piece-name { font-size: 1.15rem; margin-top: .35rem; }
.piece-desc { font-size: .88rem; color: var(--ink-mute); margin-top: .45rem; }
.piece-cta { margin-top: 1rem; }

@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .piece:nth-child(1) { grid-column: span 7; }
  .piece:nth-child(2) { grid-column: span 5; }
  .piece:nth-child(3) { grid-column: span 4; }
  .piece:nth-child(4) { grid-column: span 4; }
  .piece:nth-child(5) { grid-column: span 4; }
  .piece:nth-child(6) { grid-column: span 7; }
  .piece:nth-child(7) { grid-column: span 5; }
  .piece:nth-child(8) { grid-column: span 12; }
  .piece:nth-child(8) .piece-media { aspect-ratio: 21/8; }
}

/* --- Visualizador IA --- */
.visualizer {
  position: relative;
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.visualizer .mesh-color { opacity: .55; }
.visualizer .mesh-color::before { filter: blur(90px) saturate(140%); }
.visualizer-head { position: relative; z-index: 2; max-width: 44rem; margin-bottom: 2.4rem; }
.visualizer .kicker { color: var(--mustard-soft); }
.visualizer .kicker::before { background: var(--mustard-soft); }
.visualizer-head h2 { color: var(--bg); }
.visualizer-head p { color: rgba(251,241,221,.78); margin-top: 1rem; font-size: 1.05rem; }

.viz-grid { position: relative; z-index: 2; display: grid; gap: 2rem; }

.viz-drop {
  border: 1.5px dashed rgba(251,241,221,.35);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  text-align: center;
  background: rgba(251,241,221,.05);
  transition: border-color .3s, background .3s;
}
.viz-drop.is-drag { border-color: var(--mustard-soft); background: rgba(251,241,221,.1); }
.viz-drop-icon { width: 46px; height: 46px; margin: 0 auto 1rem; opacity: .85; }
.viz-drop p { color: rgba(251,241,221,.72); font-size: .92rem; margin-top: .4rem; }
.viz-drop input[type="file"] { display: none; }
.viz-preview { display: none; margin-top: 1.4rem; }
.viz-preview.is-visible { display: block; }
.viz-preview img { border-radius: var(--radius-sm); max-height: 240px; margin-inline: auto; }

.viz-panel {
  background: rgba(251,241,221,.06);
  border: 1px solid rgba(251,241,221,.14);
  border-radius: var(--radius);
  padding: 1.8rem;
  min-height: 100%;
}
.viz-idle { color: rgba(251,241,221,.55); font-size: .95rem; text-align: center; padding-block: 2.4rem; }
.viz-loading { display: none; text-align: center; padding-block: 2.6rem; color: rgba(251,241,221,.8); }
.viz-loading.is-visible { display: block; }
.viz-spinner { width: 34px; height: 34px; margin: 0 auto 1rem; border-radius: 50%; border: 3px solid rgba(251,241,221,.25); border-top-color: var(--mustard-soft); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.viz-result { display: none; }
.viz-result.is-visible { display: block; animation: fadeUp .6s var(--ease-soft); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.viz-result h3 { color: var(--bg); font-size: 1.35rem; margin-bottom: .3rem; }
.viz-style-chip {
  display: inline-flex; margin-top: .3rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: .3rem .8rem; border-radius: 999px;
  background: rgba(227,167,43,.18); color: var(--mustard-soft);
  border: 1px solid rgba(227,167,43,.35);
}
.viz-swatches { display: flex; gap: .7rem; margin: 1.1rem 0 1.3rem; flex-wrap: wrap; }
.viz-swatch { width: 64px; flex: none; text-align: center; }
.viz-swatch-dot { display: block; width: 40px; height: 40px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(251,241,221,.3); margin: 0 auto .35rem; flex: none; }
.viz-swatch-name { display: block; width: 100%; font-size: .68rem; color: rgba(251,241,221,.65); }
.viz-note {
  font-size: .82rem; color: rgba(251,241,221,.6); font-style: italic;
  border-left: 2px solid var(--mustard-soft); padding-left: .8rem; margin-bottom: 1.4rem;
}
.viz-pieces { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1.5rem; }
.viz-piece-mini { flex: none; width: 120px; }
.viz-piece-mini img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.viz-piece-mini span { display: block; font-size: .74rem; color: rgba(251,241,221,.7); margin-top: .35rem; }

.viz-gate { display: none; margin-top: .5rem; }
.viz-gate.is-visible { display: block; }
.viz-gate-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.viz-gate-form input[type="email"] {
  flex: 1 1 200px; padding: .85rem 1rem; border-radius: 999px;
  border: 1px solid rgba(251,241,221,.3); background: rgba(251,241,221,.08); color: var(--bg);
}
.viz-gate-form input::placeholder { color: rgba(251,241,221,.5); }
.viz-gate-msg { font-size: .8rem; color: rgba(251,241,221,.55); margin-top: .6rem; }
.viz-unlocked { display: none; margin-top: 1.2rem; gap: .8rem; flex-wrap: wrap; }
.viz-unlocked.is-visible { display: flex; }
.viz-error { display: none; color: #F5B199; font-size: .88rem; margin-top: .8rem; }
.viz-error.is-visible { display: block; }

/* --- Testimonios --- */
.testi-grid { display: grid; gap: 1.4rem; }
.testi-card { padding: 1.9rem 1.7rem; position: relative; }
.testi-quote { font-size: 1.02rem; color: var(--ink-soft); font-style: italic; }
.testi-quote::before { content: "“"; font-family: var(--serif); color: var(--mustard-deep); }
.testi-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.3rem; gap: .6rem; flex-wrap: wrap; }
.testi-name { font-weight: 700; font-size: .92rem; }
.testi-role { font-size: .78rem; color: var(--ink-mute); }

/* --- FAQ --- */
.faq-list { max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink); transition: transform .3s var(--ease-out); }
.faq-plus::before { width: 10px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-plus::after { width: 1.5px; height: 10px; transform: translate(-50%,-50%); }
.faq-item[open] .faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-item[open] .faq-plus { border-color: var(--terracotta); }
.faq-answer { padding-bottom: 1.5rem; color: var(--ink-mute); max-width: 60ch; }

/* --- Contacto --- */
.contact-section { position: relative; overflow: hidden; }
.contact-card {
  position: relative; z-index: 2;
  border-radius: 32px;
  padding: clamp(2.2rem, 5vw, 4rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  text-align: center;
}
.contact-card h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.contact-card > p { max-width: 40ch; margin: 1rem auto 0; color: var(--ink-soft); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.contact-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 2.6rem; font-size: .88rem; color: var(--ink-mute); }
.contact-meta strong { display: block; color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 1.05rem; margin-bottom: .15rem; }

/* --- Footer --- */
.footer { padding-block: 3rem 2.2rem; border-top: 1px solid var(--line); }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.4rem; }
.footer-links { display: flex; gap: 1.4rem; font-size: .85rem; }
.footer-fine { font-size: .78rem; color: var(--ink-mute); max-width: 34rem; margin-top: 1.6rem; }

/* =============================================================
   7. Effects (misc keyframes not covered above)
   ============================================================= */
.hero-inner [data-split] .split-word { display: inline-block; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .manifesto-grid { grid-template-columns: .9fr 1.1fr; }
  .process-row { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .viz-grid { grid-template-columns: 1fr 1.15fr; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: clamp(3.4rem, 6vw, 5.6rem); }
}

/* =============================================================
   9. Reduced-motion — only intrusive effects gated
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mesh-color::before { animation: none; }
  .viz-spinner { animation-duration: 1.6s; }
}
