/* evoblog · estilos base
   Paleta y escala tipográfica heredadas de disstint (#F2B709 / #212529). */

:root {
  --c-brand: #f2b709;
  --c-brand-dark: #c69306;
  --c-brand-text: #8a6500; /* tono para texto pequeño sobre fondo claro (≥4.5:1) */
  --c-brand-soft: #fff8e3;
  --c-ink: #212529;
  --c-ink-2: #2c3136;
  --c-bg: #ffffff;
  --c-bg-alt: #f7f7f5;
  --c-border: #e4e4e0;
  --c-text: #212529;
  --c-text-muted: #5b6167;
  --c-text-invert: #ffffff;
  --c-ok: #2a7247;
  --c-ok-soft: #e8f4ec;
  --c-no: #a4301a;

  --font-sans: "sofia-pro", "Sofia Pro", "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(.86rem, .83rem + .15vw, .94rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.34rem + .8vw, 2rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.8rem + 2.4vw, 3.8rem);

  --space-xs: .5rem;
  --space-s: 1rem;
  --space-m: 1.75rem;
  --space-l: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7rem;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(33, 37, 41, .06), 0 8px 24px rgba(33, 37, 41, .06);
  --shadow-lg: 0 2px 4px rgba(33, 37, 41, .06), 0 18px 48px rgba(33, 37, 41, .10);
  --wrap: 1140px;
  --wrap-narrow: 760px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--c-brand); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--c-brand-dark); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 var(--space-s); font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -.005em; }
p { margin: 0 0 var(--space-s); }
ul, ol { margin: 0 0 var(--space-s); padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.wrap--narrow { width: min(var(--wrap-narrow), 100% - 2rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--c-ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-border); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-m); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.brand img { height: 42px; width: auto; transform: translateY(10%); } /* baja el texto: la cola de la "g" hace que parezca alto */
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a {
  text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--c-text);
  padding: .45rem .65rem; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { background: var(--c-bg-alt); color: var(--c-text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--c-brand); border-radius: 0; }
.header-cta { margin-left: .5rem; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--c-border);
  border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--c-ink); position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; order: 3; margin-left: .5rem; }
  .header-cta { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-s) 1rem var(--space-m); border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: .85rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--c-bg-alt); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--c-brand); padding-left: 1rem; }
  .nav .btn { margin-top: var(--space-s); justify-content: center; border-bottom: 0; }
}
@media (min-width: 1101px) { .nav .nav__cta-mobile { display: none; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 800; font-size: .98rem; line-height: 1.2;
  padding: .85rem 1.35rem; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-brand); color: var(--c-ink); box-shadow: 0 6px 18px rgba(242, 183, 9, .32); }
.btn--primary:hover { background: #ffc61a; color: var(--c-ink); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: #fff; }
.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { color: var(--c-ink); background: var(--c-brand-soft); }
.btn--ghost-invert { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost-invert:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--space-xl); }
.section--alt { background: var(--c-bg-alt); }
.section--ink { background: var(--c-ink); color: var(--c-text-invert); }
.section--ink a { color: #fff; }
.section--ink .btn--primary { color: var(--c-ink); }
.section--brand { background: var(--c-brand); color: var(--c-ink); }
.section--brand :focus-visible { outline-color: var(--c-ink); }
.section--soft { background: var(--c-brand-soft); }
.section--tight { padding-block: var(--space-l); }
.section__head { max-width: 720px; margin-bottom: var(--space-l); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-brand-text); margin-bottom: var(--space-s);
}
.section--ink .eyebrow { color: var(--c-brand); }
.section--brand .eyebrow { color: var(--c-ink); opacity: .75; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--c-text-muted); }
.section--ink .lead { color: rgba(255, 255, 255, .78); }
.section--brand .lead { color: var(--c-ink); }
.muted { color: var(--c-text-muted); }
.small { font-size: var(--step--1); }
.mark { background: linear-gradient(transparent 62%, rgba(242, 183, 9, .55) 62%); padding: 0 .08em; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-l) var(--space-xl); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-l); align-items: center; }
.hero h1 { margin-bottom: var(--space-m); font-size: clamp(2.1rem, 1.5rem + 2vw, 3.25rem); }
.hero .lead { margin-bottom: var(--space-m); max-width: 44ch; }
.hero__price { margin-top: var(--space-m); font-size: .95rem; color: var(--c-text-muted); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.hero__price strong { color: var(--c-ink); }
.hero__price span::before { content: "✓"; color: var(--c-brand-dark); font-weight: 800; margin-right: .4rem; }
.hero__media { position: relative; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.page-hero { padding-block: var(--space-xl) var(--space-l); background: linear-gradient(180deg, var(--c-brand-soft), #fff); }
.page-hero .lead { max-width: 60ch; }
.page-hero h1 { max-width: 20ch; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-l); align-items: center; }
.page-hero__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { font-size: .85rem; color: var(--c-text-muted); margin-bottom: var(--space-m); }
.breadcrumbs a { color: var(--c-text-muted); }
.breadcrumbs span { margin: 0 .4rem; }

/* ---------- Franja de confianza ---------- */
.trust { border-block: 1px solid var(--c-border); background: #fff; }
.trust__list { list-style: none; margin: 0; padding: var(--space-m) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-m); }
.trust__item { display: flex; gap: .8rem; align-items: flex-start; margin: 0; }
.trust__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--c-brand-soft); display: grid; place-items: center; }
.trust__icon svg { width: 22px; height: 22px; stroke: var(--c-ink); }
.trust__item strong { display: block; font-size: .98rem; line-height: 1.3; }
.trust__item small { color: var(--c-text-muted); font-size: .85rem; line-height: 1.4; display: block; }

/* ---------- Grids y tarjetas ---------- */
.grid { display: grid; gap: var(--space-m); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.split--top { align-items: start; }
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--space-m);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card--hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d6d6d0; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card--ink { background: var(--c-ink-2); border-color: rgba(255, 255, 255, .08); color: #fff; }
.card--ink p { color: rgba(255, 255, 255, .78); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--c-brand-soft); display: grid; place-items: center; margin-bottom: var(--space-s); }
.card__icon svg { width: 24px; height: 24px; stroke: var(--c-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--ink .card__icon { background: rgba(242, 183, 9, .14); }
.card--ink .card__icon svg { stroke: var(--c-brand); }
.card__link { display: inline-flex; gap: .35rem; font-weight: 800; text-decoration: none; margin-top: .5rem; font-size: .95rem; }
.card__link:hover { color: var(--c-brand-dark); }
.card__num { font-size: .8rem; font-weight: 800; color: var(--c-brand-text); letter-spacing: .06em; margin-bottom: .4rem; display: block; }

/* problema */
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-s); }
.problem-list li { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.3rem 1.4rem; background: #fff; border-radius: 14px; border: 1px solid var(--c-border); border-left: 4px solid var(--c-no); box-shadow: var(--shadow-lg); margin: 0; transition: transform .2s ease, box-shadow .2s ease; }
.problem-list li:hover { transform: translateX(4px); }
.problem-list .x { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--c-no); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.problem-list strong { display: block; font-size: var(--step-1); line-height: 1.25; margin-bottom: .2rem; }
.problem-list span.d { color: var(--c-text-muted); font-size: .95rem; }

/* diferencial */
.diff { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--space-xl); align-items: center; }
.diff__photo { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 5 / 4; }
.diff__photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-photo { aspect-ratio: 21 / 8; margin: var(--space-xl) 0 0; }

/* carrusel del equipo */
.team-carousel { position: relative; min-width: 0; width: 100%; max-width: 340px; margin-inline: auto; }
.team-carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 50%; scrollbar-width: none; }
.team-carousel__track::-webkit-scrollbar { display: none; }
.team-card { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; aspect-ratio: 1 / 1; }
.team-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-carousel__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: var(--space-s); }
.team-carousel__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }
.team-carousel__btn:hover { background: #fff; color: var(--c-ink); }
.team-carousel__dots { display: flex; gap: .5rem; }
.team-carousel__dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.team-carousel__dots button[aria-current="true"] { background: var(--c-brand); width: 24px; border-radius: 999px; }
.split-claim { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); margin: var(--space-m) 0; }
.split-claim > div { border-radius: 14px; padding: 1.1rem 1.2rem; }
.split-claim .sc-auto { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.split-claim .sc-team { background: var(--c-brand); color: var(--c-ink); }
.split-claim h3 { font-size: 1rem; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .06em; }
.split-claim ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-s); counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 4%; right: 4%; height: 2px; background: repeating-linear-gradient(90deg, var(--c-brand) 0 8px, transparent 8px 14px); }
.timeline li { position: relative; margin: 0; padding-top: 64px; counter-increment: step; }
.timeline li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-brand); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  transition: background-color .3s, transform .3s;
}
.timeline li.is-visible::before { background: var(--c-brand); }
.timeline h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.timeline p { font-size: .9rem; color: var(--c-text-muted); margin: 0; }
.who { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; padding: .35rem .7rem .35rem .55rem; border-radius: 999px; margin-bottom: .6rem; }
.who::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.who--team { background: var(--c-ink); color: #fff; }
.who--team::before { background: var(--c-brand); }
.who--you { background: var(--c-brand); color: var(--c-ink); }
.who--both { background: var(--c-brand-soft); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-brand); }
.who--both::before { background: linear-gradient(90deg, var(--c-ink) 50%, var(--c-brand) 50%); }

/* timeline vertical (página cómo funciona) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: var(--space-m); position: relative; padding-bottom: var(--space-l); margin: 0; }
.steps > li::before {
  content: counter(step); width: 56px; height: 56px; border-radius: 50%; background: var(--c-brand); display: grid; place-items: center;
  font-weight: 800; font-size: 1.3rem; position: relative; z-index: 1;
}
.steps > li::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--c-border); }
.steps > li:last-child::after { display: none; }
.steps h2, .steps h3 { margin-bottom: .4rem; font-size: var(--step-2); }
.steps .box { background: var(--c-bg-alt); border-radius: 12px; padding: 1rem 1.2rem; margin-top: .8rem; font-size: .95rem; }
.steps .box strong { display: block; margin-bottom: .2rem; }

/* demo propuesta trimestral */
.status { font-size: .74rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.status--proposed { background: var(--c-bg-alt); color: var(--c-text-muted); border: 1px solid var(--c-border); }
.status--approved { background: var(--c-brand-soft); color: #7a5b00; border: 1px solid var(--c-brand); }
.status--edited { background: #eef1f5; color: #3a4a5c; border: 1px solid #cfd8e3; }
.status--published { background: var(--c-ok-soft); color: var(--c-ok); border: 1px solid #bfe0cb; }

.states { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: var(--space-s) 0 var(--space-m); }
.states .arrow-s { color: var(--c-text-muted); }


/* WordPress */
.wp-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: var(--space-s); }
.wp-node { background: #fff; border-radius: 16px; padding: 1.2rem; text-align: center; border: 1px solid var(--c-border); box-shadow: var(--shadow); color: var(--c-text); }
.wp-node strong { display: block; font-size: 1.05rem; margin-top: .4rem; }
.wp-node small { color: var(--c-text-muted); display: block; line-height: 1.4; margin-top: .2rem; }
.wp-node--brand { background: var(--c-brand); border-color: var(--c-brand); }
.wp-node--brand small { color: var(--c-ink); }
.wp-node .ico { width: 44px; height: 44px; margin: 0 auto; border-radius: 12px; background: var(--c-bg-alt); display: grid; place-items: center; }
.wp-node--brand .ico { background: rgba(255, 255, 255, .5); }
.wp-node .ico svg { width: 24px; height: 24px; stroke: var(--c-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wp-node .ico--wp { width: 60px; height: 60px; background: none; }
.wp-node .ico--wp svg { color: #21759b; width: 60px; height: 60px; }
.wp-title { display: flex; align-items: center; gap: .8rem; margin-bottom: var(--space-s); }
.wp-title .eyebrow { margin-bottom: 0; }
.wp-logo { width: 48px; height: 48px; flex-shrink: 0; color: #fff; }
.wp-logo--color { color: #21759b; }
.wp-arrow { color: var(--c-brand); font-size: 1.6rem; font-weight: 800; }
.wp-help { margin-top: var(--space-s); text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.section:not(.section--ink) .wp-help { color: var(--c-text-muted); }

/* encaja / no encaja */
.fit { border-radius: var(--radius-lg); padding: var(--space-m); }
.fit--yes { background: var(--c-ok-soft); border: 1px solid #bfe0cb; }
.fit--no { background: #fff; border: 1px solid var(--c-border); }
.fit h3 { display: flex; gap: .6rem; align-items: center; }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { padding-left: 1.7rem; position: relative; margin-bottom: .6rem; }
.fit--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--c-ok); font-weight: 800; }
.fit--no li::before { content: "–"; position: absolute; left: .2rem; color: var(--c-text-muted); font-weight: 800; }

/* SEO + GEO diagrama */
.seo-diagram { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); position: relative; }
.seo-diagram__base {
  grid-column: 1 / -1; background: var(--c-ink); color: #fff; border-radius: 14px; padding: 1.1rem 1.2rem; text-align: center;
}
.seo-diagram__base strong { color: var(--c-brand); display: block; font-size: 1.05rem; }
.seo-diagram__base span { font-size: .9rem; color: rgba(255, 255, 255, .78); }
.seo-diagram__top { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 1.1rem; text-align: center; }
.seo-diagram__top strong { display: block; }
.seo-diagram__top span { font-size: .88rem; color: var(--c-text-muted); }
.seo-diagram__label { grid-column: 1 / -1; text-align: center; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-muted); }

/* comparativa */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--c-border); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .93rem; }
.compare th, .compare td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.compare thead th { font-size: .85rem; background: var(--c-bg-alt); font-weight: 800; }
.compare tbody th { font-weight: 700; width: 22%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .is-evo { background: var(--c-brand-soft); }
.compare thead .is-evo { background: var(--c-brand); }
.compare td { color: var(--c-text-muted); }
.compare td.is-evo { color: var(--c-ink); font-weight: 600; }

/* precio */
.price-card {
  background: #fff; color: var(--c-ink); border-radius: 22px; box-shadow: var(--shadow-lg); padding: var(--space-l) var(--space-m);
  border: 2px solid var(--c-brand); position: relative;
}
.price-card__badge { position: absolute; top: -14px; left: var(--space-m); background: var(--c-ink); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: .4rem; margin: .4rem 0 .2rem; }
.price__amount { font-size: clamp(3.2rem, 2.6rem + 3vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price__per { font-weight: 700; color: var(--c-text-muted); }
.price-card ul { list-style: none; padding: 0; margin: var(--space-m) 0; display: grid; gap: .55rem; }
.price-card li { padding-left: 1.8rem; position: relative; margin: 0; }
.price-card li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23212529' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.price-card .btn { width: 100%; justify-content: center; }
.price-note { font-size: .85rem; color: var(--c-text-muted); margin-top: var(--space-s); text-align: center; }
.price-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-xl); align-items: center; }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { background: #fff; border: 1px solid var(--c-border); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--c-brand); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.2rem; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-bg-alt); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s, background-color .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--c-brand); }
.faq .faq__a { padding: 0 1.2rem 1.2rem; color: var(--c-text-muted); }
.faq .faq__a p:last-child { margin: 0; }
.faq-group { margin-bottom: var(--space-l); }
.faq-group h2 { font-size: var(--step-2); }
.faq-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-l); }
.faq-nav a { text-decoration: none; font-weight: 700; font-size: .9rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--c-border); background: #fff; }
.faq-nav a:hover { border-color: var(--c-brand); color: var(--c-ink); }

/* nota / aviso */
.note { background: var(--c-brand-soft); border-left: 4px solid var(--c-brand); border-radius: 0 12px 12px 0; padding: 1rem 1.2rem; font-size: .95rem; }
.note p:last-child { margin: 0; }
.note--plain { background: var(--c-bg-alt); border-left-color: var(--c-ink); }

/* equipo / persona */
.contact-lines { list-style: none; padding: 0; margin: var(--space-s) 0 var(--space-m); display: grid; gap: .5rem; }
.contact-lines li { display: flex; gap: .7rem; align-items: center; margin: 0; }
.contact-lines svg { width: 20px; height: 20px; stroke: var(--c-brand); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.contact-lines a { text-decoration: none; }
.contact-lines li.contact-lines__label { display: block; padding-left: calc(20px + .7rem); margin-bottom: -.4rem; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 220px 220px; gap: var(--space-s); }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.03); }

/* blog hub */
.pillar { border-radius: var(--radius-lg); padding: var(--space-m); background: #fff; border: 1px solid var(--c-border); display: flex; flex-direction: column; }
.pillar__tag { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brand-text); }
.pillar h2, .pillar h3 { font-size: var(--step-1); margin: .4rem 0 .6rem; }
.pillar ul { list-style: none; padding: 0; margin: var(--space-s) 0 0; border-top: 1px solid var(--c-border); }
.pillar li { padding: .7rem 0; border-bottom: 1px solid var(--c-bg-alt); margin: 0; font-weight: 600; font-size: .95rem; display: flex; justify-content: space-between; gap: 1rem; }
.pillar li small { font-weight: 700; font-size: .7rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }

/* formulario */
.form-card { background: #fff; border-radius: 22px; padding: var(--space-m); box-shadow: var(--shadow-lg); border: 1px solid var(--c-border); color: var(--c-text); }
.form-card h2 { font-size: var(--step-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 800; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1.5px solid var(--c-border); border-radius: 10px; background: #fff; color: var(--c-text); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px var(--c-brand); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--c-text-muted); grid-column: 1 / -1; }
.check input { margin-top: .25rem; accent-color: var(--c-brand-dark); width: 18px; height: 18px; flex-shrink: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid var(--c-border); padding: .55rem .85rem; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.radio-row input { accent-color: var(--c-brand-dark); }
.radio-row label:has(input:checked) { border-color: var(--c-brand); background: var(--c-brand-soft); }
.form-msg { display: none; margin-top: var(--space-s); padding: .9rem 1rem; border-radius: 10px; background: var(--c-ok-soft); color: var(--c-ok); font-weight: 700; font-size: .92rem; }
.form-msg.is-visible { display: block; }
.form-msg.is-error { background: #fbeae6; color: var(--c-no); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 20ch; margin-inline: auto; }
.cta-final .lead { max-width: 52ch; margin-inline: auto; margin-bottom: var(--space-m); }
.cta-final .btn-row { justify-content: center; }
.cta-final .btn--ghost { border-color: var(--c-ink); }

/* textos largos */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-l); }
.prose h3 { margin-top: var(--space-m); }
.prose ul li::marker { color: var(--c-brand-dark); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-m); font-size: .93rem; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: .6rem .8rem; text-align: left; }
.prose th { background: var(--c-bg-alt); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--c-bg-alt); border-radius: 14px; padding: 1.1rem 1.2rem; font-size: .92rem; }
.toc strong { display: block; margin-bottom: .5rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted); }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc a { text-decoration: none; }
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-xl); align-items: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: rgba(255, 255, 255, .78); padding-block: var(--space-xl) var(--space-m); font-size: .93rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--c-brand); }
.site-footer .btn--primary, .site-footer .btn--primary:hover { color: var(--c-ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-l); }
.footer-brand img { height: 32px; width: auto; margin-bottom: var(--space-s); }
.footer-claim { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .5rem; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--space-s); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-bottom { margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.footer-bottom li { margin: 0; }
.footer-bottom p { margin: 0 72px 0 0; } /* hueco para el botón flotante de WhatsApp */

/* ---------- Animación de entrada ---------- */
/* Solo se oculta con JS activo (clase .js en <html>); sin JS el contenido se ve siempre */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid, .split, .diff, .price-grid, .with-toc { grid-template-columns: 1fr; }
  .split, .diff, .price-grid { gap: var(--space-l); }
  .hero__media { max-width: 560px; }
  .hero__photo { aspect-ratio: 4 / 3; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__photo { max-width: 560px; aspect-ratio: 16 / 9; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-l); }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .gallery figure:first-child { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  :root { --space-xl: 3.5rem; --space-l: 2.25rem; --header-h: 64px; }
  .brand img { height: 34px; }
  .grid--2, .grid--3, .grid--4, .split-claim, .form-grid, .seo-diagram { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: 1fr; gap: var(--space-s); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .wp-flow { grid-template-columns: 1fr; }
  .wp-arrow { transform: rotate(90deg); text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-m); }
  .contact-photo { aspect-ratio: 4 / 3; margin-top: var(--space-l); }
  .site-footer { padding-bottom: 96px; } /* hueco para el botón flotante de WhatsApp */
  .steps > li { grid-template-columns: 44px 1fr; gap: var(--space-s); }
  .steps > li::before { width: 44px; height: 44px; font-size: 1.05rem; }
  .steps > li::after { left: 21px; top: 44px; }
  .btn-row .btn { width: 100%; justify-content: center; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 130px 130px; }
}

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* logos de asistentes de IA (SEO + IA/GEO) */
.ai-logos { list-style: none; padding: 0; margin: 0 0 var(--space-m); display: flex; flex-wrap: wrap; gap: .7rem; }
.ai-logos li { display: flex; align-items: center; gap: .5rem; margin: 0; padding: .5rem .95rem; border: 1px solid var(--c-border); border-radius: 999px; background: #fff; font-weight: 700; font-size: .95rem; }
.ai-logos svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.ai-logos--hero { margin: var(--space-m) 0 0; }

/* barras con foto entre secciones (componente PhotoBar) */
.photo-bar-wrap { padding-block: var(--space-l); }
.section:not([class*="section--"]) + .photo-bar-wrap { padding-top: 0; } /* sin doble hueco tras una sección blanca */
.photo-bar { position: relative; display: flex; align-items: flex-start; min-height: clamp(280px, 30vw, 400px); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-ink); }
.photo-bar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 25, .85) 0%, rgba(20, 22, 25, .5) 45%, rgba(20, 22, 25, 0) 80%); }
.photo-bar__body { position: relative; z-index: 1; max-width: 560px; padding: clamp(1.5rem, 4vw, 2.75rem); }
.photo-bar h2 { color: #fff; font-size: var(--step-3); line-height: 1.1; margin: 0 0 var(--space-m); }
@media (max-width: 700px) {
  .photo-bar::after { background: linear-gradient(180deg, rgba(20, 22, 25, .85) 0%, rgba(20, 22, 25, .35) 70%, rgba(20, 22, 25, .2) 100%); }
}

/* Gráfica tipo Analytics (bloque SEO + IA de la home) */
.seo-chart { margin: 0; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-m); }
.seo-chart__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: var(--space-s); }
.seo-chart__head span { font-weight: 800; }
.seo-chart__head small { color: var(--c-text-muted); }
.seo-chart__graph { display: block; width: 100%; height: 170px; }
.seo-chart__grid line { stroke: var(--c-border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.seo-chart__line { fill: none; stroke: var(--c-brand-dark); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.seo-chart figcaption { border-top: 1px solid var(--c-border); margin-top: var(--space-s); padding-top: var(--space-s); }
.seo-chart__label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: .6rem; }
.seo-chart .ai-logos { margin: 0; gap: .5rem; }
.seo-chart .ai-logos li { font-size: .85rem; padding: .4rem .75rem; }
.seo-chart .ai-logos svg { width: 18px; height: 18px; }
.seo-chart__note { display: block; margin-top: .6rem; font-size: .75rem; color: var(--c-text-muted); }
