/* =========================================================
   NV Pixel Studio · Hoja de estilos principal
   Paleta y tipografía según 01_Identidad_visual_NV_Pixel_Studio
   ========================================================= */

/* ---------- Fuentes locales (OFL, sin servicios externos) ---------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --midnight: #101936;
  --midnight-2: #18234a;
  --midnight-3: #0b1229;
  --indigo: #4338f2;
  --indigo-ink: #3329d6;
  --lime: #c8f45b;
  --coral: #ff776d;
  --warm: #f8f7f2;
  --paper: #efede4;
  --white: #ffffff;
  --slate: #737d95;       /* metadatos (texto grande o decorativo) */
  --ink-2: #4f5873;       /* texto secundario con contraste AA */
  --lavender: #eef0fa;    /* superficies suaves (línea SEO) */
  --coral-soft: #fff0ed;  /* avisos y ejemplos */
  --green-soft: #f2f8df;  /* puntos destacados */
  --line: rgba(16, 25, 54, 0.12);
  --line-strong: rgba(16, 25, 54, 0.22);
  --on-dark-2: rgba(248, 247, 242, 0.74);
  --line-dark: rgba(248, 247, 242, 0.16);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 16px;
  --max: 1200px;
  --header-h: 68px;
  --shadow: 0 1px 2px rgba(16, 25, 54, 0.06), 0 12px 32px -18px rgba(16, 25, 54, 0.28);
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1080px) { :root { --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--midnight);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible, .catalog-dark :focus-visible, .mosaic :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--midnight); color: var(--warm); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; line-height: 1.1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-primary { background: var(--indigo); color: var(--white); box-shadow: 0 10px 22px -12px rgba(67, 56, 242, .8); }
.btn-primary:hover { background: var(--indigo-ink); }
.btn-dark { background: var(--midnight); color: var(--warm); }
.btn-dark:hover { background: var(--indigo); }
.btn-ghost { background: transparent; color: var(--midnight); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--midnight); background: var(--white); }
.btn-lime { background: var(--lime); color: var(--midnight); }
.btn-lime:hover { background: #d6fa7a; }
.btn-outline-light { background: transparent; color: var(--warm); border-color: var(--line-dark); }
.btn-outline-light:hover { border-color: var(--warm); }
.btn:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:disabled .icon { transform: none; }

/* ---------- Píxeles ---------- */
.px { display: inline-block; width: 10px; height: 10px; flex: none; }
.px-lime { background: var(--lime); }
.px-indigo { background: var(--indigo); }
.px-coral { background: var(--coral); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 242, 0.9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(16, 25, 54, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; padding: 6px 0; border-radius: 4px; text-decoration: none; }
.brand img { height: 26px; width: auto; }
@media (min-width: 1080px) { .brand img { height: 28px; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--white); cursor: pointer; color: var(--midnight);
}
.nav-toggle .icon { width: 22px; height: 22px; }

.site-nav ul a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2);
  position: relative; transition: color .15s ease;
}
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--midnight); }

@media (max-width: 1079.98px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--warm); border-top: 1px solid var(--line);
    padding: 12px var(--gutter) 28px;
    box-shadow: 0 30px 40px -30px rgba(16, 25, 54, .45);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .site-nav ul { display: grid; }
  .site-nav ul a { display: flex; align-items: center; min-height: 52px; font-size: 1.12rem; color: var(--midnight); border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current]::after { content: ""; width: 8px; height: 8px; margin-left: 10px; background: var(--lime); }
  .nav-cta { margin-top: 20px; width: 100%; min-height: 52px; }
}
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 28px; }
  .site-nav ul { display: flex; gap: 22px; }
  .site-nav ul a { padding: 8px 0; }
  .site-nav ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); }
}
@media (min-width: 1240px) { .site-nav ul { gap: 30px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); position: relative; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 7.4vw, 5.1rem);
  line-height: .98; letter-spacing: -0.045em;
}
.hero h1 .hl { color: var(--indigo); display: block; }
.hero h1 em, .section-head h2 em, .about h2 em, .contact h2 em {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em;
}
.lead { margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36rem; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--midnight);
}
.hero-note::before { content: ""; width: 32px; height: 3px; background: var(--coral); }
@media (max-width: 479.98px) { .hero-actions .btn { flex: 1 1 100%; } }

/* Mosaico / directorio */
.mosaic {
  position: relative; background: var(--midnight); color: var(--warm);
  border-radius: 28px; padding: 22px; isolation: isolate;
  box-shadow: 0 40px 60px -40px rgba(16, 25, 54, .7);
}
.mosaic::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(248, 247, 242, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 247, 242, .06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.mosaic-title {
  display: flex; justify-content: space-between; margin-bottom: 16px;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--on-dark-2);
}
.mosaic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 116px; height: 100%; padding: 14px 14px 16px; border-radius: 14px;
  text-decoration: none; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile a:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--lime); }
.tile-lime a:hover, .tile-paper a:hover { box-shadow: 5px 5px 0 var(--indigo); }
.tile-wide { grid-column: span 2; }
.tile-wide a { min-height: 132px; }
.tile-n { font-size: .74rem; font-weight: 800; letter-spacing: .08em; opacity: .75; }
.tile-name { font-size: 1.02rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; max-width: 12ch; }
.tile-wide .tile-name { font-size: 1.3rem; max-width: none; }
.tile .icon { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; opacity: .9; }
.tile-indigo a { background: var(--indigo); color: var(--white); }
.tile-lime a { background: var(--lime); color: var(--midnight); }
.tile-coral a { background: var(--coral); color: var(--midnight); }
.tile-paper a { background: var(--warm); color: var(--midnight); }
.tile-line a { background: rgba(248, 247, 242, .04); color: var(--warm); box-shadow: inset 0 0 0 1px var(--line-dark); }
.tile-line a:hover { box-shadow: inset 0 0 0 1px var(--line-dark), 5px 5px 0 var(--coral); }
@media (min-width: 560px) and (max-width: 959.98px) {
  .mosaic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 3; }
}
@media (min-width: 1080px) {
  .mosaic { padding: 26px; }
  .tile a { min-height: 128px; }
}
/* píxeles decorativos que "escapan" del mosaico */
.mosaic-px { position: absolute; width: 18px; height: 18px; z-index: 1; }
.mosaic-px-a { background: var(--lime); top: -18px; right: 46px; }
.mosaic-px-b { background: var(--coral); top: -36px; right: 28px; }
.mosaic-px-c { background: var(--indigo); bottom: -18px; left: 40px; }
@media (min-width: 960px) {
  .mosaic-px { width: 22px; height: 22px; }
  .mosaic-px-a { top: -22px; right: 58px; }
  .mosaic-px-b { top: -44px; right: 36px; }
  .mosaic-px-c { bottom: -22px; left: 48px; }
}

.audiences {
  margin-top: clamp(48px, 7vw, 76px);
  display: grid; gap: 0; border-top: 1px solid var(--line-strong);
}
.audiences li { padding: 18px 0 18px 26px; position: relative; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: .98rem; }
.audiences li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 10px; background: var(--indigo); }
.audiences li:nth-child(2)::before { background: var(--coral); }
.audiences li:nth-child(3)::before { background: var(--lime); }
.audiences strong { color: var(--midnight); }
@media (min-width: 860px) {
  .audiences { grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 0; }
  .audiences li { border-bottom: 0; border-top: 1px solid var(--line-strong); padding-top: 22px; }
  .audiences li::before { top: 30px; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--midnight); color: var(--warm); }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row { max-width: none; display: grid; gap: 18px; }
@media (min-width: 900px) { .section-head-row { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; } }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--indigo);
}
.kicker-n {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  background: var(--midnight); color: var(--lime); font-size: .72rem; letter-spacing: 0;
}
.kicker-on-dark { color: var(--lime); }
.kicker-on-dark .kicker-n { background: var(--lime); color: var(--midnight); }
.section-head h2, .about h2, .contact h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.035em; }
.section-head h2 em, .about h2 em { color: var(--indigo); }
.section-intro { margin-top: 18px; color: var(--ink-2); font-size: 1.06rem; max-width: 40rem; }
.section-head-row .section-intro { margin-top: 0; }

/* ---------- Ranuras de enlace ("Próximamente") ---------- */
.link-slot { display: inline-flex; align-items: center; }
.link-slot:empty::before { content: "Próximamente"; }
.soon, .link-slot:empty::before {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1.5px dashed var(--line-strong); color: var(--ink-2);
  font-size: .82rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.soon::before { content: ""; width: 7px; height: 7px; background: var(--coral); }
.slot-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  font-weight: 800; color: var(--indigo); text-decoration: none;
  border-bottom: 2px solid currentColor;
}
.slot-link:hover .icon { transform: translateX(3px); }
.slot-link .icon { transition: transform .18s ease; }
.catalog-dark .soon, .section-dark .soon, .site-footer .soon { border-color: var(--line-dark); color: var(--on-dark-2); }
.catalog-dark .slot-link, .section-dark .slot-link { color: var(--lime); }

/* ---------- Servicios ---------- */
.service-list { display: grid; gap: 22px; }
.service {
  display: grid; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
@media (min-width: 860px) { .service { grid-template-columns: 300px 1fr; } }
@media (min-width: 1080px) { .service { grid-template-columns: 360px 1fr; } }

.service-art { position: relative; min-height: 170px; padding: 22px; overflow: hidden; }
.art-n { font-size: clamp(3.4rem, 8vw, 5.6rem); font-weight: 800; line-height: .9; letter-spacing: -0.06em; }
.art-icon { position: absolute; right: 22px; top: 22px; width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art-px, .art-px::before, .art-px::after { position: absolute; width: 22px; height: 22px; }
.art-px { right: 22px; bottom: 22px; }
.art-px::before { content: ""; right: 24px; bottom: 0; }
.art-px::after { content: ""; right: 0; bottom: 24px; }
@media (min-width: 860px) {
  .service-art { min-height: 100%; }
  .art-px, .art-px::before, .art-px::after { width: 28px; height: 28px; }
  .art-px::before { right: 30px; } .art-px::after { bottom: 30px; }
}
.art-indigo { background: var(--indigo); color: var(--white); }
.art-indigo .art-px { background: var(--lime); } .art-indigo .art-px::before { background: var(--white); } .art-indigo .art-px::after { background: var(--coral); }
.art-lime { background: var(--lime); color: var(--midnight); }
.art-lime .art-px { background: var(--indigo); } .art-lime .art-px::before { background: var(--midnight); } .art-lime .art-px::after { background: var(--white); }
.art-coral { background: var(--coral); color: var(--midnight); }
.art-coral .art-px { background: var(--midnight); } .art-coral .art-px::before { background: var(--white); } .art-coral .art-px::after { background: var(--indigo); }
.art-midnight { background: var(--midnight); color: var(--warm); }
.art-midnight .art-px { background: var(--lime); } .art-midnight .art-px::before { background: var(--indigo); } .art-midnight .art-px::after { background: var(--coral); }
/* textura de cuadrícula sobre el arte */
.service-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(135deg, transparent 35%, #000 100%); mask-image: linear-gradient(135deg, transparent 35%, #000 100%);
}

.service-body { padding: clamp(22px, 3.4vw, 40px); }
.service-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service-lead { margin-top: 10px; color: var(--ink-2); font-size: 1.04rem; max-width: 38rem; }
.checks { margin-top: 22px; display: grid; gap: 10px 28px; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { position: relative; padding-left: 30px; font-weight: 600; font-size: .98rem; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(67, 56, 242, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338F2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.note { margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.note .icon { margin-top: 2px; color: var(--indigo); }
.note-strong { color: var(--midnight); font-weight: 700; }
.note-strong .icon { color: var(--coral); }
.note-on-dark { color: var(--on-dark-2); }
.note-on-dark .icon { color: var(--lime); }
.service-foot { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

.packages { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--warm); border: 1px solid var(--line); }
.packages-title { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.pending-text { font-size: .92rem; color: var(--ink-2); }
.packages-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .packages-list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.packages-list ul { margin-top: 6px; display: grid; gap: 4px; font-size: .9rem; color: var(--ink-2); }

/* Comparativa redes vs publicidad */
.compare {
  background: var(--midnight); color: var(--warm); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 20px; position: relative; overflow: hidden;
}
@media (min-width: 860px) { .compare { grid-template-columns: 300px 1fr; align-items: center; } }
@media (min-width: 1080px) { .compare { grid-template-columns: 360px 1fr; } }
.compare-title { font-size: 1.5rem; }
.compare-title span { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--lime); margin-top: 4px; }
.compare-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.compare-col { padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); background: rgba(248, 247, 242, .03); }
.compare-col p:last-child { color: var(--on-dark-2); font-size: .95rem; }
.compare-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 8px; color: var(--warm); }
.compare-tag::before { content: ""; width: 10px; height: 10px; }
.tag-lime::before { background: var(--lime); }
.tag-coral::before { background: var(--coral); }

/* ---------- Tienda y catálogo ---------- */
.catalog {
  background: var(--warm); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(22px, 3.6vw, 40px);
}
.catalog + .catalog { margin-top: 22px; }
.catalog-dark { background: var(--midnight); color: var(--warm); border-color: transparent; }
.catalog-head { display: grid; gap: 14px; align-items: start; margin-bottom: 26px; }
@media (min-width: 760px) { .catalog-head { grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; } }
.catalog-n {
  display: inline-grid; place-items: center; width: 58px; height: 58px;
  background: var(--midnight); color: var(--lime); font-weight: 800; font-size: 1.15rem;
}
.catalog-dark .catalog-n { background: var(--lime); color: var(--midnight); }
.catalog-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.catalog-head p { margin-top: 6px; color: var(--ink-2); max-width: 40rem; }
.catalog-dark .catalog-head p { color: var(--on-dark-2); }

.shelf { display: grid; gap: 14px; }
@media (min-width: 720px) { .shelf { grid-template-columns: repeat(3, 1fr); } }
.shelf-item {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 20px;
  border-radius: 18px; background: var(--white); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.shelf-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.catalog-dark .shelf-item { background: var(--midnight-2); border-color: var(--line-dark); }
.shelf-item h4 { margin-top: 10px; font-size: 1.12rem; letter-spacing: -0.015em; }
.shelf-item p { color: var(--ink-2); font-size: .94rem; flex: 1; }
.catalog-dark .shelf-item p { color: var(--on-dark-2); }
.shelf-item .link-slot { margin-top: 10px; }

.shelf-art {
  position: relative; height: 128px; border-radius: 12px; overflow: hidden;
  background-image: linear-gradient(rgba(16,25,54,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(16,25,54,.07) 1px, transparent 1px);
  background-size: 16px 16px;
}
.shelf-art span { position: absolute; width: 32px; height: 32px; }
.shelf-art span:nth-child(1) { left: calc(50% - 48px); top: calc(50% + 0px); }
.shelf-art span:nth-child(2) { left: calc(50% - 16px); top: calc(50% - 32px); }
.shelf-art span:nth-child(3) { left: calc(50% + 16px); top: calc(50% - 64px); opacity: .9; }
.shelf-art::after { content: ""; position: absolute; width: 32px; height: 32px; left: calc(50% - 16px); top: 50%; background: var(--midnight); opacity: .9; }
.shelf-indigo { background-color: #e7e6ff; } .shelf-indigo span { background: var(--indigo); }
.shelf-coral { background-color: #ffe4e1; } .shelf-coral span { background: var(--coral); }
.shelf-lime { background-color: #f0fbd2; } .shelf-lime span { background: #9fcf2a; }
.shelf-lime span:nth-child(2) { background: var(--lime); }
.catalog-dark .shelf-art { background-image: linear-gradient(rgba(248,247,242,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(248,247,242,.07) 1px, transparent 1px); }
.catalog-dark .shelf-indigo { background-color: rgba(67, 56, 242, .22); }
.catalog-dark .shelf-coral { background-color: rgba(255, 119, 109, .18); }
.catalog-dark .shelf-lime { background-color: rgba(200, 244, 91, .14); }
.catalog-dark .shelf-art::after { background: var(--warm); }
.catalog-dark .note-on-dark { margin-top: 24px; }

/* ---------- Aprendizaje ---------- */
.learn { display: grid; gap: 8px; }
@media (min-width: 1000px) { .learn { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } .learn-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.learn-head .link-slot { margin-top: 24px; }
.shelf-books { display: grid; gap: 14px; }
@media (min-width: 560px) { .shelf-books { grid-template-columns: 1fr 1fr; } }
.book {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  min-height: 230px; padding: 22px 22px 22px 34px; border-radius: 8px 18px 18px 8px; overflow: hidden;
  transition: transform .2s ease;
}
.book:hover { transform: translateY(-4px) rotate(-.4deg); }
.book::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 3px; background: currentColor; opacity: .22; }
.book-n { font-size: .78rem; font-weight: 800; letter-spacing: .1em; opacity: .85; }
.book h3 { font-size: 1.5rem; margin-top: auto; }
.book p { font-size: .95rem; opacity: .86; }
.book .link-slot { margin-top: 12px; }
.book-indigo { background: var(--indigo); color: var(--white); }
.book-midnight { background: var(--midnight); color: var(--warm); }
.book-coral { background: var(--coral); color: var(--midnight); }
.book-lime { background: var(--lime); color: var(--midnight); }
.book-indigo .soon, .book-midnight .soon { color: var(--warm); border-color: rgba(248,247,242,.42); }
.book-coral .soon, .book-lime .soon { color: var(--midnight); border-color: rgba(16,25,54,.38); }
.book-indigo .soon::before { background: var(--lime); }
.book-coral .soon::before { background: var(--midnight); }
.book-indigo .slot-link, .book-midnight .slot-link { color: var(--lime); }
.book-coral .slot-link, .book-lime .slot-link { color: var(--midnight); }

/* ---------- Proyectos ---------- */
.projects { display: grid; gap: 18px; }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.project { height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-media { position: relative; aspect-ratio: 4 / 3; background: var(--warm); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-badge {
  position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(16, 25, 54, .82); color: var(--warm); font-size: .76rem; font-weight: 700;
}
.project-ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--slate);
  background-color: var(--warm);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
}
.project-ph .icon { width: 40px; height: 40px; stroke-width: 1.4; }
.project-ph::before, .project-ph::after { content: ""; position: absolute; width: 24px; height: 24px; }
.project-ph::before { right: 48px; bottom: 24px; }
.project-ph::after { right: 24px; bottom: 48px; }
.ph-0::before { background: var(--indigo); } .ph-0::after { background: var(--lime); }
.ph-1::before { background: var(--coral); } .ph-1::after { background: var(--indigo); }
.ph-2::before { background: var(--lime); } .ph-2::after { background: var(--coral); }
.project-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.project-cat { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.project-body h3 { font-size: 1.25rem; }
.project-body p:not(.project-cat) { color: var(--ink-2); font-size: .95rem; }
.project-empty { border-style: dashed; border-color: var(--line-strong); }

/* ---------- Nosotros ---------- */
.about { display: grid; gap: 40px; }
@media (min-width: 960px) { .about { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.about-copy p { margin-top: 18px; color: var(--ink-2); font-size: 1.06rem; max-width: 34rem; }
.about-copy h2 + p { margin-top: 24px; }
.traits { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.traits li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; }

.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.partner { padding: 14px 14px 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.partner-b { transform: translateY(28px); }
@media (max-width: 479.98px) { .partner-b { transform: none; } }
.partner-media { aspect-ratio: 1; border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.partner-media img { width: 100%; height: 100%; object-fit: cover; }
.partner-ph { width: 100%; height: 100%; display: grid; place-items: center; position: relative; }
.partner-ph .icon { width: 44%; height: 44%; stroke-width: 1.2; }
.partner-a .partner-ph { background: var(--midnight); color: var(--coral); }
.partner-b .partner-ph { background: var(--midnight); color: var(--lime); }
.partner-ph::before, .partner-ph::after { content: ""; position: absolute; width: 18px; height: 18px; }
.partner-a .partner-ph::before { background: var(--indigo); left: 16px; bottom: 16px; } .partner-a .partner-ph::after { background: var(--coral); left: 34px; bottom: 34px; }
.partner-b .partner-ph::before { background: var(--lime); right: 16px; top: 16px; } .partner-b .partner-ph::after { background: var(--indigo); right: 34px; top: 34px; }
.partner h3 { font-size: 1.15rem; }
.partner-role { margin-top: 4px; color: var(--ink-2); font-size: .9rem; }
.partner p + p { margin-top: 8px; font-size: .92rem; color: var(--ink-2); }

.process { margin-top: clamp(72px, 9vw, 112px); padding-top: 36px; border-top: 1px solid var(--line-strong); }
.process-title, .faq-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 26px; }
.process-steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 640px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-steps li { position: relative; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; font-weight: 800; color: var(--midnight); margin-bottom: 16px; }
.process-steps li:nth-child(1) .step-n { background: var(--lime); }
.process-steps li:nth-child(2) .step-n { background: var(--coral); }
.process-steps li:nth-child(3) .step-n { background: var(--indigo); color: var(--white); }
.process-steps li:nth-child(4) .step-n { background: var(--midnight); color: var(--lime); }
.process-steps h4 { font-size: 1.12rem; }
.process-steps p { margin-top: 6px; color: var(--ink-2); font-size: .94rem; }

.faq { margin-top: clamp(56px, 7vw, 88px); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-of-type { border-top: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 0; font-weight: 700; font-size: 1.04rem; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; background: var(--indigo);
  clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--coral); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 44rem; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.contact h2 em { color: var(--lime); }
.contact-copy > p { margin-top: 20px; color: var(--on-dark-2); font-size: 1.06rem; max-width: 32rem; }
.channels { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.channels li { display: grid; grid-template-columns: 24px 1fr; gap: 4px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 520px) { .channels li { grid-template-columns: 24px 150px 1fr; } }
.channels .icon { color: var(--lime); width: 22px; height: 22px; }
.channel-label { font-weight: 700; }
.channels li > a, .channels li > span:last-child { grid-column: 2 / -1; }
@media (min-width: 520px) { .channels li > a, .channels li > span:last-child { grid-column: auto; justify-self: start; } }
.channels a { color: var(--warm); font-weight: 700; text-underline-offset: 4px; }

.brief { background: var(--midnight-2); border: 1px solid var(--line-dark); border-radius: 24px; padding: clamp(22px, 3.4vw, 34px); }
.brief-title { font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.brief-title::before { content: ""; width: 10px; height: 10px; background: var(--coral); }
.field { display: grid; gap: 8px; margin-bottom: 16px; align-content: start; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line-dark); background: rgba(248, 247, 242, .06); color: var(--warm);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8F45B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { color: var(--midnight); }
.field input::placeholder, .field textarea::placeholder { color: rgba(248, 247, 242, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200, 244, 91, .25); }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.brief-actions .btn { flex: 1 1 200px; }
.brief-help { margin-top: 16px; font-size: .86rem; color: var(--on-dark-2); }
.brief-error { margin-top: 12px; font-size: .92rem; font-weight: 700; color: var(--coral); }

/* ---------- Pie ---------- */
.site-footer { background: var(--midnight-3); color: var(--warm); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.logo-plate { display: inline-flex; padding: 14px 18px; background: var(--warm); border-radius: 12px; }
.logo-plate img { height: 26px; width: auto; }
.footer-brand p { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--on-dark-2); }
.footer-label { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.footer-nav ul, .footer-social ul { display: grid; gap: 2px; }
.footer-nav a, .footer-social a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--on-dark-2); font-weight: 600; }
.footer-nav a:hover, .footer-social a:hover { color: var(--warm); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--on-dark-2); }
.footer-bottom .slot-link { color: var(--on-dark-2); border-bottom-width: 1px; font-weight: 600; }

/* ---------- Aparición ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.partner-b.reveal.is-in { transform: translateY(28px); }
@media (max-width: 479.98px) { .partner-b.reveal.is-in { transform: none; } }

/* ---------- Modo revisión (?revision) ---------- */
.revision [data-pending] { outline: 2px dashed var(--coral); outline-offset: 4px; }
.revision-badge {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60;
  background: var(--coral); color: var(--midnight); font-weight: 800; font-size: .9rem;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(16,25,54,.6);
  max-width: calc(100% - 32px); text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Páginas legales ---------- */
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.035em; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 1.02rem; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--indigo); }
.legal-meta { margin-top: 12px; font-size: .92rem; }
.legal-draft {
  margin-bottom: 32px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: #ffe4e1; color: var(--midnight) !important; font-weight: 700; font-size: .95rem !important;
}
.legal [data-pending]:not(.legal-draft) { background: rgba(255, 119, 109, .16); border-radius: 4px; padding: 0 4px; color: var(--midnight); font-weight: 600; }
.legal-back { margin-top: 48px; }
.site-footer-slim { padding: 8px 0 28px; }
.site-footer-slim .footer-bottom { margin-top: 0; }
.footer-home { color: var(--on-dark-2); font-weight: 600; text-decoration: none; }
.footer-home:hover { color: var(--warm); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; padding: 48px 0; }
.notfound-inner { max-width: 44rem; }
.notfound .brand img { height: 28px; width: auto; }
.notfound h1 { margin-top: 4px; font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: 1; letter-spacing: -0.045em; }
.notfound h1 em { font-family: var(--serif); font-weight: 400; color: var(--indigo); }
.notfound-px { position: relative; width: 120px; height: 72px; margin: 56px 0 28px; }
.notfound-px span { position: absolute; width: 22px; height: 22px; }
.notfound-px span:nth-child(1) { left: 0; top: 50px; background: var(--indigo); }
.notfound-px span:nth-child(2) { left: 34px; top: 50px; background: var(--lime); }
.notfound-px span:nth-child(3) { left: 68px; top: 50px; background: var(--coral); }
.notfound-px span:nth-child(4) { left: 102px; top: 50px; box-shadow: inset 0 0 0 2px var(--line-strong); }
.notfound-px span:nth-child(5) { display: none; }
.notfound .kicker-n { width: auto; padding: 0 6px; }

/* =========================================================
   Línea SEO y posicionamiento orgánico (seo/index.html)
   ========================================================= */
.art-lavender { background: var(--lavender); color: var(--midnight); }
.art-lavender .art-px { background: var(--indigo); } .art-lavender .art-px::before { background: var(--lime); } .art-lavender .art-px::after { background: var(--midnight); }

.brand-with-descriptor { display: inline-flex; align-items: center; gap: 12px; }
.brand-descriptor {
  padding-left: 12px; border-left: 1.5px solid var(--line-strong);
  font-size: .78rem; font-weight: 700; color: var(--ink-2); line-height: 1.2; max-width: 9.5rem;
}
@media (max-width: 419.98px) { .brand-descriptor { display: none; } }

.crumbs { display: flex; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 22px; }
.crumbs a { color: var(--indigo); text-underline-offset: 3px; }
.hero-fineprint { margin-top: 6px; font-size: .86rem; color: var(--ink-2); }

.seo-map { margin: 0; background: var(--lavender); border-radius: 28px; padding: 22px 22px 18px; position: relative; }
.seo-map svg { width: 100%; height: auto; }
.seo-map figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); text-align: center; }
.map-links path { fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; }
.map-links .map-link-soft { stroke: rgba(67, 56, 242, .35); stroke-dasharray: 4 6; }
.map-query rect:first-child { fill: var(--white); stroke: var(--line-strong); stroke-width: 1.5; }
.map-query circle, .map-query path { fill: none; stroke: var(--midnight); stroke-width: 2.4; stroke-linecap: round; }
.map-bar { fill: rgba(16, 25, 54, .14); }
.map-page rect:first-child { fill: var(--white); stroke: var(--line-strong); stroke-width: 1.5; }
.map-page-main rect:first-child { fill: var(--midnight); stroke: none; }
.map-line { fill: rgba(16, 25, 54, .22); }
.map-line-soft { fill: rgba(16, 25, 54, .1); }
.map-page-main .map-line { fill: var(--lime); }
.map-page-main .map-line-soft { fill: rgba(248, 247, 242, .4); }
.map-px-lime { fill: var(--lime); } .map-px-indigo { fill: var(--indigo); } .map-px-coral { fill: var(--coral); }

.seo-services { display: grid; gap: 18px; }
@media (min-width: 760px) { .seo-services { grid-template-columns: 1fr 1fr; } }
.seo-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 26px; overflow: hidden; display: flex; flex-direction: column; }
.seo-card > *:not(.seo-card-top) { margin-left: 24px; margin-right: 24px; }
.seo-card-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; margin-bottom: 22px; }
.seo-card-top .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.seo-card-n { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.tone-lavender { background: var(--lavender); color: var(--midnight); }
.tone-indigo { background: var(--indigo); color: var(--white); }
.tone-lime { background: var(--lime); color: var(--midnight); }
.tone-coral { background: var(--coral); color: var(--midnight); }
.seo-card h3 { font-size: 1.45rem; }
.seo-card h3 + p { margin-top: 8px; color: var(--ink-2); }
.seo-sub { margin-top: 18px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.checks-1 { grid-template-columns: 1fr !important; margin-top: 10px; }
.seo-deliver { margin-top: auto; padding-top: 18px; font-size: .94rem; font-weight: 600; }
.seo-card .seo-deliver { margin-top: 18px; }
.seo-deliver span { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: var(--green-soft); color: var(--midnight); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.modes { margin-top: 22px; padding: clamp(22px, 3.4vw, 34px); background: var(--midnight); color: var(--warm); border-radius: var(--radius); }
.modes-title { font-size: 1.4rem; margin-bottom: 18px; }
.modes-list { display: grid; gap: 12px; }
@media (min-width: 760px) { .modes-list { grid-template-columns: repeat(3, 1fr); } }
.modes-list li { padding: 18px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); display: grid; gap: 6px; }
.modes-list strong { display: flex; align-items: center; gap: 10px; }
.modes-list strong::before { content: ""; width: 10px; height: 10px; background: var(--lime); flex: none; }
.modes-list li:nth-child(2) strong::before { background: var(--coral); }
.modes-list li:nth-child(3) strong::before { background: var(--indigo); box-shadow: 0 0 0 1px var(--warm); }
.modes-list span { color: var(--on-dark-2); font-size: .95rem; }
.modes .note { color: var(--on-dark-2); }
.modes .note .icon { color: var(--lime); }

.stages { display: grid; gap: 14px; }
@media (min-width: 640px) { .stages { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .stages { grid-template-columns: repeat(3, 1fr); } }
.stages li { background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.stage-n { font-weight: 800; color: var(--indigo); font-size: .9rem; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 8px; }
.stage-n::before { content: ""; width: 10px; height: 10px; background: var(--midnight); }
.stages li:nth-child(3n+2) .stage-n::before { background: var(--lime); }
.stages li:nth-child(3n) .stage-n::before { background: var(--coral); }
.stages h3 { font-size: 1.2rem; }
.stages p { color: var(--ink-2); font-size: .95rem; }
.stages .stage-out { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-strong); color: var(--midnight); font-weight: 600; }
.stage-out span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }

.measure-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .measure-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .measure-grid { grid-template-columns: repeat(4, 1fr); } }
.measure { padding: 22px; border-radius: var(--radius-sm); background: var(--lavender); }
.measure .icon { width: 28px; height: 28px; color: var(--indigo); margin-bottom: 14px; }
.measure h3 { font-size: 1.15rem; }
.measure p { margin-top: 6px; color: var(--ink-2); font-size: .95rem; }

.do-dont { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 760px) { .do-dont { grid-template-columns: 1fr 1fr; } }
.do, .dont { padding: 22px; border-radius: var(--radius-sm); }
.do { background: var(--green-soft); }
.dont { background: var(--coral-soft); }
.do ul, .dont ul { margin-top: 12px; display: grid; gap: 8px; }
.do li, .dont li { position: relative; padding-left: 20px; font-size: .96rem; }
.do li::before, .dont li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; }
.do li::before { background: #7aa317; }
.dont li::before { background: var(--coral); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.status .icon { width: 22px; height: 22px; padding: 3px; border-radius: 6px; stroke-width: 2.6; }
.status-ok .icon { background: var(--lime); color: var(--midnight); }
.status-warn .icon { background: var(--coral); color: var(--midnight); }
.status-ok-dark { color: var(--lime); }
.status-ok-dark .icon { background: var(--lime); color: var(--midnight); }

.limit { margin-top: 22px; display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius-sm); border: 1.5px solid var(--coral); background: var(--white); }
.limit .icon { width: 24px; height: 24px; color: var(--coral); margin-top: 2px; }
.limit p { color: var(--ink-2); }
.limit strong { color: var(--midnight); }

.ownership { margin-top: clamp(48px, 6vw, 72px); }
.ownership-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 20px; }
.ownership-list { display: grid; gap: 14px; }
@media (min-width: 900px) { .ownership-list { grid-template-columns: repeat(3, 1fr); } }
.ownership-list li { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.ownership-list .icon { width: 26px; height: 26px; color: var(--indigo); margin-top: 2px; }
.ownership-list p { margin-top: 4px; color: var(--ink-2); font-size: .94rem; }
.fineprint { margin-top: 16px; font-size: .82rem; color: var(--ink-2); }

.cases-empty { grid-column: 1 / -1; }
.cases-empty .project { max-width: 40rem; }
.case-result { color: var(--midnight) !important; font-weight: 700; }
.case-source { font-size: .84rem !important; }

.faq-seo { margin-top: 0; }
.faq-seo details, .faq-seo .faq-title-lg { max-width: 52rem; }
.faq-title-lg { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -0.035em; }

.seo-next { margin-top: 28px; display: grid; gap: 12px; }
.seo-next li { display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); }
.step-dot { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--lime); color: var(--midnight); font-weight: 800; font-size: .9rem; flex: none; }
.seo-next li:nth-child(2) .step-dot { background: var(--coral); }
.seo-next li:nth-child(3) .step-dot { background: var(--warm); }

.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-help { font-size: .8rem; color: var(--on-dark-2); }
.req { color: var(--coral); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.field-choice { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.field-choice legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.choice {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border: 1.5px solid var(--line-dark); border-radius: 12px; cursor: pointer; font-weight: 600;
}
.choice:has(input:checked) { border-color: var(--lime); background: rgba(200, 244, 91, .1); }
.choice input { accent-color: var(--lime); width: 18px; height: 18px; margin: 0; }
.choice.is-off { opacity: .55; cursor: not-allowed; }
.choice .soon { min-height: 26px; padding: 0 10px; font-size: .74rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--on-dark-2); margin: 4px 0 18px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--lime); flex: none; }
.consent a { color: var(--lime); text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.confirm { display: grid; gap: 12px; }
.confirm:focus { outline: none; }
.confirm h3 { font-size: 1.5rem; }
.confirm p { color: var(--on-dark-2); }
.confirm .brief-actions { margin-top: 8px; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 18px 0 16px; border-radius: 999px;
  background: var(--midnight); color: var(--warm); font-weight: 700; font-size: 0.95rem; text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(16, 25, 54, 0.55);
  transition: transform .25s ease, opacity .25s ease, background-color .2s ease;
}
.wa-float .icon { width: 22px; height: 22px; color: var(--lime); }
.wa-float:hover { background: var(--indigo); }
.wa-float:focus-visible { outline-color: var(--indigo); }
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
@media (max-width: 639px) {
  .wa-float { width: 52px; padding: 0; justify-content: center; }
  .wa-float-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
.revision .wa-float { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
.nav-open .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
.partner-link { margin-top: 12px; font-size: .92rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.footer-legal a { color: var(--on-dark-2); font-weight: 600; text-decoration: none; }
.footer-legal a:hover { color: var(--warm); }
