/* ==========================================================================
   AutoSPF — Tema WordPress para Autonom-IA
   Estilos principales. La cabecera del tema vive en /style.css.
   ========================================================================== */

:root {
  --bg: oklch(0.14 0.003 0);
  --bg-2: oklch(0.17 0.004 0);
  --bg-3: oklch(0.21 0.005 0);
  --line: oklch(0.30 0.006 0 / 0.5);
  --line-strong: oklch(0.42 0.008 0 / 0.7);
  --fg: oklch(0.97 0.005 250);
  --fg-mute: oklch(0.78 0.012 250);
  --fg-dim: oklch(0.55 0.014 250);
  --accent: oklch(0.82 0.13 230);
  --accent-glow: oklch(0.82 0.13 230 / 0.40);
  --accent-soft: oklch(0.82 0.13 230 / 0.10);
  --danger: oklch(0.72 0.18 25);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--display); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #000; }

/* WP admin bar adjust */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .nav { top: 46px; }
}

/* Background grid */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  opacity: .35;
}
.bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.85'/></svg>");
}

/* Layout primitives */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
@media (max-width: 720px) { .wrap { padding: 0 18px; } }

.mono { font-family: var(--mono); letter-spacing: 0.01em; }
.section-num {
  font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: .15em;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  background: oklch(0.14 0.012 250 / 0.65);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 32px; align-items: center; font-size: 13px; color: var(--fg-mute); }
.nav-links a { transition: color .2s; padding: 8px 0; }
.nav-links a:hover { color: var(--fg); }
.nav-links .nav-menu {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 32px; align-items: center;
}
.nav-links .nav-menu a { color: var(--fg-mute); }
.nav-links .nav-menu a:hover { color: var(--fg); }
.nav-cta {
  font-family: var(--mono); font-size: 12px; padding: 9px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
@media (max-width: 820px) { .nav-links { display: none; } }

/* HERO */
.hero { position: relative; padding: 140px 0 80px; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-canvas canvas { width: 100%; height: 100%; display: block; }
.hero-orb {
  position: absolute; right: -10%; top: 10%; width: 720px; height: 720px;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
  filter: blur(20px); pointer-events: none; opacity: .55;
}
.hero-content { position: relative; z-index: 2; }
.hero-top {
  display: flex; gap: 24px; align-items: center; margin-bottom: 48px;
  font-family: var(--mono); font-size: 12px; color: var(--fg-mute); flex-wrap: wrap;
}
.hero-top .chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: oklch(0.14 0.012 250 / 0.6);
}
.hero-top .chip .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(48px, 8.4vw, 132px); line-height: .96; letter-spacing: -0.035em;
  margin: 0 0 32px; max-width: 14ch;
}
.hero h1 .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.hero h1 .stroke { -webkit-text-stroke: 1px var(--fg-mute); color: transparent; }
.hero-sub {
  max-width: 56ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: var(--fg-mute);
  margin: 0 0 48px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 22px;
  border-radius: 999px; font-size: 14px; font-weight: 500; transition: all .25s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #001a08; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 32px var(--accent-glow); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arr { width: 14px; height: 14px; display: inline-block; transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }

.hero-stats {
  margin-top: 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; font-family: var(--display); }
.hero-stat .num em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.hero-stat .lbl { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: .12em; margin-top: 8px; }
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Section header */
.section { padding: 120px 0; position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 72px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 16px 0 0; }
.sec-head h2 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.sec-head .lede { font-size: 16px; line-height: 1.55; color: var(--fg-mute); max-width: 56ch; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* Services */
.services-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.svc {
  grid-column: span 4; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-height: 320px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; transition: background .3s; overflow: hidden;
}
.svc:hover { background: var(--bg-2); }
.svc::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.svc:hover::before { transform: scaleX(1); }
.svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc-id { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: .12em; }
.svc-icon { width: 48px; height: 48px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent); transition: all .3s; }
.svc:hover .svc-icon { border-color: var(--accent); background: var(--accent-soft); }
.svc-icon svg { width: 22px; height: 22px; }
.svc h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.015em; margin: 24px 0 12px; line-height: 1.15; }
.svc p { color: var(--fg-mute); font-size: 14px; line-height: 1.55; margin: 0 0 20px; }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.svc-tag { font-family: var(--mono); font-size: 10px; padding: 4px 8px; border-radius: 4px; background: var(--bg-3); color: var(--fg-mute); letter-spacing: .04em; }
@media (max-width: 1024px) { .svc { grid-column: span 6; } }
@media (max-width: 640px) { .svc { grid-column: span 12; } }

/* Process */
.process { margin-top: 80px; padding: 56px; border: 1px solid var(--line); position: relative; background: linear-gradient(180deg, var(--bg-2) 0%, transparent 100%); }
.process .ctr-tl, .process .ctr-tr, .process .ctr-bl, .process .ctr-br { position: absolute; width: 14px; height: 14px; border: 1px solid var(--accent); }
.process .ctr-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.process .ctr-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.process .ctr-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.process .ctr-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding-right: 24px; border-right: 1px dashed var(--line); position: relative; }
.step:last-child { border-right: none; }
.step-num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .15em; display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.step-num::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 999px; box-shadow: 0 0 12px var(--accent-glow); }
.step h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 10px; }
.step p { font-size: 13px; color: var(--fg-mute); line-height: 1.55; margin: 0; }
@media (max-width: 820px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step { border-right: none; padding-right: 0; }
  .process { padding: 32px; }
}

/* Clients & Testimonial */
.clients-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client { padding: 56px 24px; display: grid; place-items: center; border-right: 1px solid var(--line); transition: background .25s; }
.client:last-child { border-right: none; }
.client:hover { background: var(--bg-2); }
.client-logo { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .55; transition: opacity .25s, filter .25s; }
.client:hover .client-logo { opacity: 1; filter: grayscale(0) brightness(1) invert(0); }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; border: 1px solid var(--line-strong); margin-bottom: 8px; }

/* Team photos */
.member-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.4) contrast(1.05); transition: filter .4s, transform .6s; }
.member:hover .member-photo { filter: grayscale(0) contrast(1.1); transform: scale(1.03); }
.member-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--mono); font-size: 10px; color: var(--fg); letter-spacing: .12em; padding: 4px 8px; background: oklch(0.14 0.012 250 / 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); }

/* Cities */
.cities { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 4px; }
.cities .city { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; transition: all .2s; }
.cities .city:hover { border-color: var(--accent); color: var(--accent); }
.cities .city strong { font-weight: 500; }
.cities .city em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--fg-dim); letter-spacing: .1em; }

.testimonial { margin-top: 80px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.testimonial blockquote { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 400; margin: 0; color: var(--fg); }
.testimonial blockquote em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.testimonial-meta { display: flex; flex-direction: column; gap: 8px; }
.testimonial-meta .label { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: .15em; }
.testimonial-meta .name { font-size: 18px; font-weight: 500; }
.testimonial-meta .role { font-family: var(--mono); font-size: 12px; color: var(--fg-mute); }
.quote-mark { font-family: var(--serif); font-size: 120px; line-height: 1; color: var(--accent); opacity: .25; margin: -30px 0 -10px -8px; }
@media (max-width: 820px) {
  .testimonial { grid-template-columns: 1fr; }
  .clients-row { grid-template-columns: repeat(2, 1fr); }
  .client:nth-child(2) { border-right: none; }
  .client:nth-child(1), .client:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { border: 1px solid var(--line); padding: 0; overflow: hidden; position: relative; transition: border-color .3s; background: var(--bg-2); }
.member:hover { border-color: var(--accent); }
.member-portrait { aspect-ratio: 4/5; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 30%, oklch(0.30 0.04 250) 0%, oklch(0.16 0.012 250) 70%); }
.member-portrait .grain { position: absolute; inset: 0; background-image: linear-gradient(var(--accent-soft) 1px, transparent 1px); background-size: 100% 4px; opacity: .4; mix-blend-mode: screen; }
.member-info { padding: 20px 22px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.member-info h4 { font-size: 20px; font-weight: 500; margin: 0 0 4px; letter-spacing: -0.01em; }
.member-info .role { font-family: var(--mono); font-size: 11px; color: var(--fg-mute); letter-spacing: .1em; text-transform: uppercase; }
.member-info .id { font-family: var(--mono); font-size: 10px; color: var(--fg-dim); letter-spacing: .12em; }
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; } }

/* Community */
.community { margin-top: 80px; padding: 56px; border: 1px solid var(--line); position: relative; background: radial-gradient(ellipse at top right, var(--accent-soft) 0%, transparent 60%), var(--bg-2); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.community h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 16px; }
.community h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.community p { color: var(--fg-mute); font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.community ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.community li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.community li:last-child { border-bottom: none; }
.community li .check { color: var(--accent); font-family: var(--mono); flex-shrink: 0; }
.community li strong { font-weight: 500; display: block; margin-bottom: 2px; }
.community li span { color: var(--fg-mute); font-size: 13px; }
@media (max-width: 820px) { .community { grid-template-columns: 1fr; padding: 32px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.contact-left { padding: 48px; border-right: 1px solid var(--line); }
.contact-right { padding: 48px; background: var(--bg-2); }
.contact-left h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 28px; }
.contact-info-list { display: grid; gap: 28px; }
.contact-info { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.contact-info .ico { width: 32px; height: 32px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent); }
.contact-info .ico svg { width: 14px; height: 14px; }
.contact-info .label { font-family: var(--mono); font-size: 10px; color: var(--fg-dim); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info .val { font-size: 15px; color: var(--fg); line-height: 1.4; }
.contact-info .val a:hover { color: var(--accent); }

.map-frame { margin-top: 32px; height: 220px; border: 1px solid var(--line); position: relative; overflow: hidden; background: var(--bg-3); }
.map-frame svg { width: 100%; height: 100%; }
.city-pin { position: absolute; width: 10px; height: 10px; border-radius: 999px; background: var(--accent); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px var(--accent-soft), 0 0 18px var(--accent-glow); animation: ping 2.4s infinite; }
.city-pin em { position: absolute; left: 14px; top: -4px; font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--fg); letter-spacing: .08em; white-space: nowrap; padding: 2px 6px; background: oklch(0.14 0.012 250 / 0.85); border: 1px solid var(--line); pointer-events: none; }
.city-pin:nth-child(1) { animation-delay: 0s; }
.city-pin:nth-child(2) { animation-delay: .5s; }
.city-pin:nth-child(3) { animation-delay: 1s; }
.city-pin:nth-child(4) { animation-delay: 1.5s; }
.city-pin:nth-child(5) { animation-delay: 2s; }
@keyframes ping { 0%,100%{box-shadow:0 0 0 6px var(--accent-soft),0 0 24px var(--accent-glow)} 50%{box-shadow:0 0 0 12px transparent,0 0 24px var(--accent-glow)} }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--mono); font-size: 10px; color: var(--fg-dim); letter-spacing: .15em; text-transform: uppercase; }
.field input, .field textarea, .field select { background: transparent; border: none; border-bottom: 1px solid var(--line-strong); color: var(--fg); padding: 10px 0; font-family: var(--display); font-size: 15px; outline: none; transition: border-color .2s; border-radius: 0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 80px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-mute) 50%), linear-gradient(135deg, var(--fg-mute) 50%, transparent 50%); background-position: calc(100% - 14px) center, calc(100% - 8px) center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { background: var(--bg-2); color: var(--fg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-submit { margin-top: 8px; padding: 8px 14px; border: none; border-radius: 999px; background: var(--accent); color: #001a08; font-weight: 500; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all .25s; align-self: flex-start; justify-self: start; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; }
.form-submit .arr { width: 11px; height: 11px; }
.form-submit:hover { box-shadow: 0 8px 32px var(--accent-glow); transform: translateY(-1px); }
.form-submit:disabled { opacity: .5; cursor: wait; }
.form-status { font-family: var(--mono); font-size: 12px; padding: 12px 16px; border: 1px solid var(--accent); color: var(--accent); background: var(--accent-soft); display: flex; align-items: center; gap: 10px; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 1px solid var(--line); padding: 32px; }
  .contact-right { padding: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-grid h5 { font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: .15em; text-transform: uppercase; margin: 0 0 16px; font-weight: 500; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { font-size: 14px; color: var(--fg-mute); transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-tag { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; max-width: 32ch; line-height: 1.2; margin: 16px 0 0; }
.footer-tag em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: .08em; }
.footer-bottom .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.footer-bottom .pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* Scroll-reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 32px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 64px; animation: scroll 40s linear infinite; font-size: clamp(64px, 10vw, 140px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track span::after { content: '◇'; font-family: var(--serif); color: var(--accent); font-size: .5em; }
.marquee-stroke { -webkit-text-stroke: 1px var(--fg-mute); color: transparent; }
.marquee-fill em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section bg variant */
.section-alt { background: linear-gradient(180deg, transparent 0%, oklch(0.12 0.012 250) 40%, oklch(0.12 0.012 250) 60%, transparent 100%); }

/* Reset de elementos del editor de Gutenberg si los hubiera */
.wp-block-image figcaption { color: var(--fg-mute); }
