/* crespillo.net · estilos públicos · colores de marca: azul #0157E9 / #2A44A7, naranja #FF7F00 */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0157e9;
  --blue-deep: #2a44a7;
  --blue-light: #3984ff;
  --navy: #0d1a4a;
  --navy-2: #13245f;
  --orange: #ff7f00;
  --orange-btn: #e56700;      /* blanco sobre este tono: 3,4:1, solo con texto grande en negrita */
  --orange-btn-hover: #c75800;
  --ink: #16203d;
  --ink-soft: #46506b;
  --muted: #5d6680;
  --line: #e2e7f2;
  --soft: #f3f6fd;
  --soft-2: #eaf0ff;
  --white: #fff;
  --warn: #8a5300;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(13, 26, 74, .06), 0 2px 8px rgba(13, 26, 74, .05);
  --shadow: 0 10px 30px -10px rgba(13, 26, 74, .18), 0 2px 6px rgba(13, 26, 74, .05);
  --shadow-lg: 0 30px 60px -20px rgba(1, 87, 233, .35);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: #fff; }

.env-banner { background: var(--navy); color: #c9d4f5; font-size: .8125rem; text-align: center; padding: .4rem var(--gutter); }
.pending {
  display: inline-block; margin-left: .4em; padding: 0 .5em; vertical-align: .15em;
  font-size: .6875rem; font-weight: 600; letter-spacing: .02em; line-height: 1.6;
  color: var(--warn); background: #fff4e0; border: 1px dashed #e9b86a; border-radius: 999px; white-space: nowrap;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 750; font-size: 1.1875rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-sm { min-height: 44px; padding: .5rem 1.1rem; font-size: 1rem; }
.btn-lg { min-height: 56px; padding: .9rem 1.7rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--orange-btn); color: #fff; box-shadow: 0 10px 24px -10px rgba(229, 103, 0, .7); }
.btn-accent:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-sm.btn-accent { font-size: 1.1875rem; } /* mantiene tamaño de texto grande para el contraste */
.btn-primary { background: var(--blue); color: #fff; font-size: 1.0625rem; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; font-size: 1.0625rem; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; min-height: 76px; flex-wrap: wrap; }
.brand img { width: 168px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.nav-toggle[hidden] { display: none; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(57, 132, 255, .18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 127, 0, .10), transparent 60%),
    linear-gradient(180deg, #f6f8ff 0%, #fff 100%);
}
.hero-grid { display: grid; gap: 2rem; align-items: center; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }
.hero-copy h1 { margin-bottom: .45em; }
.hl { color: var(--blue); background: linear-gradient(transparent 68%, rgba(255, 127, 0, .28) 68%); padding: 0 .05em; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: .9rem; }
.eyebrow-light { color: #ffb36b; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--ink-soft); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-soft); font-weight: 600; font-size: .9688rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .icon { color: var(--blue); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(1, 87, 233, .12), transparent 70%); z-index: 0; }
.hero-art img { position: relative; z-index: 1; width: 100%; max-width: 620px; margin-inline: auto; }
.hero-service .hero-art img { max-width: 440px; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .875rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; }

/* ---------- Ventajas ---------- */
.benefits { position: relative; z-index: 2; margin-top: -1.5rem; }
.benefit-grid { list-style: none; margin: 0; padding: 1.25rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.benefit { display: flex; gap: .9rem; align-items: flex-start; padding: .5rem; }
.benefit-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--soft-2); color: var(--blue); }
.benefit-icon .icon { width: 24px; height: 24px; }
.benefit-title { font-size: 1.0625rem; margin: .1rem 0 .2rem; letter-spacing: -.01em; }
.benefit p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split-reverse > :first-child { order: 0; }
}
.prose p { color: var(--ink-soft); }
.art-frame { background: radial-gradient(circle at 50% 45%, var(--soft-2), transparent 70%); border-radius: var(--radius-lg); padding: 1rem; }
.art-frame img { margin-inline: auto; }
.art-frame-warm { background: radial-gradient(circle at 50% 50%, #fff1e3, transparent 70%); }

/* Servicios */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column; }
.service-card:hover, .service-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(1, 87, 233, .35); }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; margin-bottom: 1.1rem; box-shadow: 0 10px 20px -10px rgba(1, 87, 233, .8); }
.service-icon .icon { width: 26px; height: 26px; }
.service-kicker { font-size: .8125rem; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-deep); margin-bottom: .35rem; }
.service-card h3 { margin-bottom: .5rem; }
.service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.service-card p { color: var(--muted); }
.service-card-cta { background: linear-gradient(140deg, #fff7ef 0%, #fff 60%); border-color: #ffd3a8; }
.service-card-cta .service-icon { background: linear-gradient(135deg, var(--orange), var(--orange-btn)); box-shadow: 0 10px 20px -10px rgba(229, 103, 0, .8); }
.service-card-cta .service-kicker { color: var(--orange-btn-hover); }
.service-card-cta .service-link { color: var(--orange-btn-hover); }
.service-link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--blue); }
.service-link .icon { width: 1em; height: 1em; transition: transform .2s ease; }
.service-card:hover .service-link .icon { transform: translateX(3px); }

/* Sección oscura */
.section-dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-deep) 100%); color: #dbe3ff; }
.section-dark h2 { color: #fff; }
.on-dark-muted { color: #c2ccf0; font-size: 1.125rem; }
.pain-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.pain-list li { display: flex; gap: .7rem; align-items: flex-start; color: #e8edff; font-weight: 600; }
.pain-list .icon { color: #ff9a3d; margin-top: .2em; }
.solution-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-lg); }
.solution-card img { margin: -.5rem auto 1rem; max-width: 360px; width: 100%; }
.solution-card p { color: var(--muted); }

/* Qué incluye y precio */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.checklist .icon { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: .15em; }
.price-inline { border-left: 4px solid var(--orange); padding: .25rem 0 .25rem 1rem; margin-bottom: 1.5rem; }
.price-big { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; margin-bottom: .2rem; }
.price-sub { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.price-label { font-weight: 750; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; color: var(--blue-deep); margin-bottom: .4rem; }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; border: 1px solid var(--line); position: relative; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange-btn); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.step p { color: var(--muted); margin: 0; }

/* Sectores */
.chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.chips-left { justify-content: flex-start; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.15rem; font-weight: 650; color: var(--navy); box-shadow: var(--shadow-sm); }

/* FAQ */
.faq-wrap { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; color: var(--navy); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft-2); color: var(--blue); font-size: 1.3rem; font-weight: 600; }
.faq details[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.faq details p { color: var(--muted); padding-bottom: 1.15rem; margin: 0; }

/* Llamada final */
.cta-band { background: radial-gradient(800px 400px at 100% 0%, rgba(255, 127, 0, .25), transparent 60%), linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 60%, var(--navy) 100%); color: #e6ecff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cta-inner { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.25fr .9fr; gap: 4rem; } }
.cta-band h2 { color: #fff; }
.cta-lead { font-size: 1.15rem; color: #dbe4ff; }
.cta-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; font-weight: 600; }
.cta-points li { display: flex; gap: .6rem; align-items: flex-start; }
.cta-points .icon { color: #ffb36b; margin-top: .15em; }
.cta-points .pending { color: var(--warn); }
.cta-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .45); }
.cta-card-title { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.cta-mail { text-align: center; margin: 1rem 0 .3rem; font-weight: 700; overflow-wrap: anywhere; }
.cta-note { text-align: center; color: var(--muted); margin: 0; }

/* 404 */
.section-404 h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy); color: #b9c4e8; padding-top: 3.5rem; font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb36b; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.footer-about img { width: 176px; margin-bottom: 1rem; }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: .9rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-muted { color: #8f9bc6; font-size: .875rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.2rem; padding-bottom: 1.6rem; font-size: .875rem; }
.footer-bottom p { margin: 0; }

/* =====================================================================
   v3 · dirección visual de alto impacto
   ===================================================================== */
:root { --night: #060d2b; --night-2: #0a1640; }

/* Cabecera oscura integrada con el hero */
.site-header { background: rgba(6, 13, 43, .92); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.env-banner { background: #000; color: #aab6e0; }

.h2-xl { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); letter-spacing: -.03em; }
.grad { background: linear-gradient(92deg, #ff7f00 0%, #ffb347 55%, #ffd29a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-blue { background: linear-gradient(92deg, #0157e9, #3984ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-sm { font-size: 1.125rem; }

.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); font-size: 1.0625rem; backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* Hero */
.hx { position: relative; overflow: hidden; background: radial-gradient(1200px 700px at 70% -10%, #13307f 0%, transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #c9d3f6; padding-bottom: 2.5rem; }
.hx-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hx-glow-a { width: 520px; height: 520px; background: #0157e9; top: -160px; right: -80px; }
.hx-glow-b { width: 420px; height: 420px; background: #ff7f00; bottom: -220px; left: -120px; opacity: .28; }
.hx-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
.hx-inner { position: relative; display: grid; gap: 3rem; align-items: center; padding-top: clamp(2.5rem, 5vw, 4.25rem); padding-bottom: clamp(2rem, 4vw, 3.25rem); }
@media (min-width: 1000px) { .hx-inner { grid-template-columns: 1.02fr 1fr; gap: 3.5rem; } }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #dfe6ff; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 1.4rem; }
.pill-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #ff7f00; box-shadow: 0 0 0 4px rgba(255, 127, 0, .25); }
.hx-title { color: #fff; font-size: clamp(2.4rem, 1.3rem + 4vw, 4.1rem); line-height: 1.02; letter-spacing: -.04em; margin-bottom: .5em; }
.hx-lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: #c3cdf2; max-width: 56ch; }
.hx-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2rem 0 1.5rem; }
.hx-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #dfe6ff; font-weight: 600; font-size: .95rem; }
.hx-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hx-points .icon { color: #ffb36b; }
.hx-sectors { position: relative; list-style: none; margin: 1rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; color: #8f9cd0; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.hx-sectors li::before { content: "◆"; color: #ff7f00; font-size: .6rem; margin-right: .6rem; vertical-align: .2em; }

/* Dispositivos */
.hx-devices { position: relative; max-width: 600px; margin-inline: auto; width: 100%; padding: 0 0 2rem; }
.dv-laptop { position: relative; animation: floaty 7s ease-in-out infinite; }
.dv-screen { background: #0b1230; border: 10px solid #1b2347; border-bottom-width: 14px; border-radius: 16px 16px 6px 6px; box-shadow: 0 40px 80px -30px rgba(1, 87, 233, .65), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; aspect-ratio: 16 / 10; }
.dv-base { height: 14px; margin: 0 -6%; background: linear-gradient(#2a3363, #121a40); border-radius: 0 0 14px 14px; }
.dv-phone { position: absolute; width: 27%; right: -2%; bottom: -2%; aspect-ratio: 9 / 18.5; background: #0b1230; border: 6px solid #1b2347; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); animation: floaty 7s ease-in-out -3.5s infinite; }
.dv-notch { position: absolute; z-index: 2; top: 4px; left: 50%; transform: translateX(-50%); width: 36%; height: 10px; background: #1b2347; border-radius: 999px; }
.dv-badge { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 750; font-size: .8125rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); white-space: nowrap; }
.dv-badge .icon { color: var(--blue); width: 1.1em; height: 1.1em; }
.dv-badge-a { left: -4%; top: 12%; animation: floaty 6s ease-in-out -1s infinite; }
.dv-badge-b { left: 8%; bottom: 4%; animation: floaty 6s ease-in-out -2.5s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 520px) { .dv-badge { font-size: .7rem; padding: .4rem .6rem; } .dv-badge-a { left: 0; } }

/* Mini web de ejemplo */
.ms { --m1: #0157e9; --m2: #ff7f00; --mbg: #fff; --mink: #0d1a4a; --msoft: #eef3ff; height: 100%; min-height: 100%; background: var(--mbg); color: var(--mink); font-size: clamp(7px, 1.15vw, 11px); display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.ms-nav { display: flex; align-items: center; gap: 1em; padding: 1em 1.4em; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.ms-logo { display: inline-flex; align-items: center; gap: .5em; font-weight: 800; font-size: 1.05em; white-space: nowrap; }
.ms-logo-dot { width: 1.2em; height: 1.2em; border-radius: .35em; background: linear-gradient(135deg, var(--m1), var(--m2)); }
.ms-links { display: flex; gap: .9em; margin-left: auto; }
.ms-links i { display: block; width: 3.4em; height: .55em; border-radius: 99px; background: rgba(0, 0, 0, .12); }
.ms-nav-btn { margin-left: auto; padding: .45em 1em; border-radius: 99px; background: var(--m2); color: #fff; font-weight: 700; font-size: .85em; min-width: 2.2em; min-height: 1.6em; white-space: nowrap; }
.ms-links + .ms-nav-btn { margin-left: .6em; }
.ms-hero { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2em; align-items: center; padding: 1.6em 1.4em; background: linear-gradient(135deg, var(--msoft), var(--mbg)); }
.ms-kicker { display: block; width: 6em; height: .55em; border-radius: 99px; background: var(--m2); opacity: .8; margin-bottom: .9em; }
.ms-title { display: block; font-size: 2.05em; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin-bottom: .55em; color: var(--mink); }
.ms-line { display: block; height: .55em; border-radius: 99px; background: rgba(0, 0, 0, .12); margin-bottom: .5em; width: 92%; }
.ms-short { width: 64%; }
.ms-cta { display: inline-block; margin-top: .7em; padding: .65em 1.3em; border-radius: 99px; background: var(--m1); color: #fff; font-weight: 750; white-space: nowrap; }
.ms-visual { position: relative; height: 100%; min-height: 9em; border-radius: 1.2em; background: linear-gradient(140deg, var(--m1), var(--m2)); overflow: hidden; }
.ms-shape { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.ms-shape-a { width: 70%; aspect-ratio: 1; right: -18%; top: -20%; }
.ms-shape-b { width: 45%; aspect-ratio: 1; left: 10%; bottom: -15%; background: rgba(255, 255, 255, .18); }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9em; padding: 1.1em 1.4em 1.4em; }
.ms-cards i { display: block; height: 3.6em; border-radius: .7em; background: var(--msoft); border: 1px solid rgba(0, 0, 0, .05); }
.ms-mobile { font-size: clamp(6px, .9vw, 9px); }
.ms-mobile .ms-nav { padding-top: 2em; }
.ms-mobile .ms-hero { grid-template-columns: 1fr; align-content: start; }
.ms-mobile .ms-visual { min-height: 7em; order: -1; }
.ms-mobile .ms-title { font-size: 1.8em; }
.ms-mobile .ms-cards { grid-template-columns: 1fr; }
.ms-mobile .ms-cards i { height: 2.4em; }
.ms-clinic { --m1: #0e8f8a; --m2: #3bb5a8; --msoft: #e6f6f4; --mink: #0b3b3a; }
.ms-food { --m1: #b23a1c; --m2: #f2a33a; --msoft: #fbefe2; --mink: #3a1a0e; --mbg: #fffaf4; }
.ms-shop { --m1: #111; --m2: #d9467a; --msoft: #f7eef2; --mink: #111; }
.ms-old { --m1: #7a7a7a; --m2: #a9a9a9; --msoft: #ececec; --mink: #555; --mbg: #f4f4f4; font-family: "Times New Roman", serif; }
.ms-old .ms-title { font-weight: 400; letter-spacing: 0; font-size: 1.6em; }
.ms-old .ms-visual { background: repeating-linear-gradient(45deg, #ddd 0 8px, #e8e8e8 8px 16px); border-radius: 0; }
.ms-old .ms-cta, .ms-old .ms-nav-btn { border-radius: 0; background: #8a8a8a; }

/* Navegador */
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgba(13, 26, 74, .45), 0 0 0 1px rgba(13, 26, 74, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #eef1f8; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; height: 16px; margin-left: 10px; border-radius: 99px; background: #fff; }
.browser .ms { aspect-ratio: 16 / 10.5; height: auto; }

/* Servicios v3 */
.svc { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 2rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); opacity: 0; transition: opacity .25s ease; }
.svc-card:hover, .svc-card:focus-within { transform: translateY(-6px); box-shadow: 0 30px 50px -25px rgba(1, 87, 233, .45); border-color: rgba(1, 87, 233, .3); }
.svc-card:hover::before, .svc-card:focus-within::before { opacity: 1; }
.svc-num { position: absolute; top: 1.2rem; right: 1.5rem; font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--soft-2); letter-spacing: -.04em; }
.svc-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; margin-bottom: 1.3rem; box-shadow: 0 14px 26px -12px rgba(1, 87, 233, .9); position: relative; }
.svc-icon .icon { width: 27px; height: 27px; }
.svc-kicker { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--blue); margin-bottom: .4rem; }
.svc-card h3 { font-size: 1.4rem; margin-bottom: .55rem; }
.svc-card h3 a { color: var(--navy); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card p { color: var(--muted); }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 750; color: var(--blue); }
.svc-link .icon { width: 1em; height: 1em; transition: transform .2s ease; }
.svc-card:hover .svc-link .icon { transform: translateX(4px); }
.svc-card-main { background: linear-gradient(150deg, #0a1a55 0%, #0157e9 120%); border-color: transparent; color: #cfd9ff; }
.svc-card-main h3 a { color: #fff; }
.svc-card-main p { color: #cfd9ff; }
.svc-card-main .svc-kicker, .svc-card-main .svc-link { color: #ffb36b; }
.svc-card-main .svc-num { color: rgba(255, 255, 255, .1); }
.svc-card-main .svc-icon { background: linear-gradient(135deg, #ff7f00, #e56700); box-shadow: 0 14px 26px -12px rgba(255, 127, 0, .9); }
.svc-card-cta { background: linear-gradient(150deg, #fff6ec, #fff 70%); border-color: #ffd3a8; }
.svc-card-cta .svc-icon { background: linear-gradient(135deg, #ff7f00, #e56700); box-shadow: 0 14px 26px -12px rgba(255, 127, 0, .9); }
.svc-card-cta .svc-kicker, .svc-card-cta .svc-link { color: var(--orange-btn-hover); }

/* Escaparate */
.showcase { background: radial-gradient(900px 500px at 50% 0%, #13307f 0%, transparent 70%), var(--night); color: #c3cdf2; }
.showcase h2 { color: #fff; }
.showcase .section-head p:not(.eyebrow) { color: #aab6e0; }
.show-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.show-item { transition: transform .3s ease; }
.show-item:hover { transform: translateY(-6px) rotate(-.4deg); }
.show-item .browser { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.show-label { margin: 1rem 0 0; text-align: center; color: #fff; font-weight: 750; }

/* Problema: antes y después */
.pain { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.pain li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 650; color: var(--ink); }
.pain .icon { color: #fff; background: #d93a40; border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: .15em; }
.solution { padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--soft-2); border-left: 4px solid var(--blue); color: var(--ink-soft); margin-bottom: 1.6rem; }
.solution strong { color: var(--navy); }
.ba { position: relative; display: grid; gap: 1rem; }
.ba-item { position: relative; }
.ba-before { width: 82%; filter: saturate(.4); opacity: .85; }
.ba-after { width: 88%; margin-left: auto; margin-top: -18%; z-index: 1; }
.ba-tag { position: absolute; z-index: 2; top: -12px; left: 16px; padding: .3rem .8rem; border-radius: 999px; background: #4b5563; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.ba-tag-after { background: var(--orange-btn-hover); }

/* Proceso v3 */
.section-dark { background: radial-gradient(800px 400px at 0% 0%, rgba(1, 87, 233, .35), transparent 60%), var(--night); color: #c3cdf2; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.flow-step { position: relative; padding: 1.8rem; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.flow-num { display: block; font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 1rem; background: linear-gradient(92deg, #ff7f00, #ffd29a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flow-step h3 { color: #fff; }
.flow-step p { color: #aab6e0; margin: 0; }
.section-dark .section-head p:not(.eyebrow), .showcase .section-head p:not(.eyebrow) { color: #b4c0ea; }

/* Qué incluye y precio */
.checklist-lg li { font-size: 1.0625rem; }
.price-hero { position: relative; padding: 2.4rem; border-radius: 26px; background: linear-gradient(160deg, #0a1a55 0%, #0157e9 130%); color: #cfd9ff; box-shadow: 0 40px 80px -35px rgba(1, 87, 233, .8); overflow: hidden; text-align: center; }
.price-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: #ff7f00; filter: blur(90px); opacity: .35; right: -80px; top: -80px; }
.price-hero > * { position: relative; z-index: 1; }
.price-hero .price-label { color: #ffb36b; }
.price-from { margin: .6rem 0 0; font-weight: 700; color: #aab6e0; }
.price-amount { font-size: clamp(3.4rem, 2.4rem + 4vw, 5.2rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #fff; margin: .2rem 0 .6rem; }
.price-amount .pending { font-size: .8rem; vertical-align: super; letter-spacing: 0; }
.price-period { color: #cfd9ff; margin-bottom: 1.6rem; }
.price-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; color: #fff; font-weight: 700; }
.price-more:hover { color: #ffb36b; }
.hx-title-md { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem); }
.hx-service { padding-bottom: 0; }
.breadcrumb-dark { color: #8f9cd0; }
.breadcrumb-dark a { color: #dfe6ff; }
.price-more .icon { width: 1em; height: 1em; }

/* Formulario de contacto */
.cta-alt { margin-top: 1.4rem; color: #c3cdf2; }
.cta-alt a { color: #fff; font-weight: 700; }
.form-card { background: #fff; color: var(--ink); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.form-title { font-size: 1.45rem; font-weight: 800; color: var(--navy); margin-bottom: 1.1rem; letter-spacing: -.02em; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: .35rem; color: var(--navy); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #f7f9fe; border: 1.5px solid #cfd8ea; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(1, 87, 233, .15); }
.field [aria-invalid="true"] { border-color: #c62828; background: #fff6f6; }
.field-error { color: #b71c1c; font-size: .875rem; font-weight: 600; margin: .35rem 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; }
.field-check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--blue); }
.field-check label { font-weight: 500; font-size: .875rem; color: var(--ink-soft); margin: 0; }
.field-check .field-error { grid-column: 1 / -1; }
.pending-inline { color: var(--warn); }
.form-alert { background: #fff3f3; border: 1px solid #f3c2c2; color: #8e1b1b; border-radius: 12px; padding: .75rem 1rem; font-weight: 600; }
.form-note { margin: .9rem 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.page-head { background: var(--night); color: #c3cdf2; padding: 3rem 0 1rem; }
.page-head h1 { color: #fff; }
.hx-inner-single { grid-template-columns: 1fr !important; max-width: 820px; }
.hx-thanks { min-height: 60vh; }

/* Barra fija de presupuesto en móvil */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta { display: block; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(6, 13, 43, .94); backdrop-filter: blur(8px); border-top: 1px solid rgba(255, 255, 255, .1); transition: transform .25s ease; }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  body { padding-bottom: 76px; }
}

/* Aparición al hacer scroll (solo con JS y sin movimiento reducido) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-ready .svc-card.is-visible:hover, .reveal-ready .svc-card.is-visible:focus-within, .reveal-ready .show-item.is-visible:hover { transform: translateY(-6px); transition-delay: 0s; }
.reveal-ready .svc [data-reveal]:nth-child(2), .reveal-ready .show-grid [data-reveal]:nth-child(2), .reveal-ready .flow [data-reveal]:nth-child(2) { transition-delay: .08s; }
.reveal-ready .svc [data-reveal]:nth-child(3), .reveal-ready .show-grid [data-reveal]:nth-child(3), .reveal-ready .flow [data-reveal]:nth-child(3) { transition-delay: .16s; }
.reveal-ready .svc [data-reveal]:nth-child(4), .reveal-ready .flow [data-reveal]:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .service-card:hover, .show-item:hover, .svc-card:hover { transform: none; }
}

/* =====================================================================
   v5 · logo nuevo y cabecera compacta (D-055, D-056)
   ===================================================================== */
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 6px 14px rgba(1, 87, 233, .45)); }
.logo-word { font-weight: 800; font-size: 1.32rem; letter-spacing: -.035em; line-height: 1; color: #fff; }
.logo-light .logo-word { color: var(--navy); }
.logo-tld { color: #ff8a00; font-weight: 700; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand:hover .logo-mark { transform: rotate(-6deg); transition: transform .25s ease; }
.footer-about .logo { margin-bottom: 1.1rem; }

.site-header { background: rgba(6, 13, 43, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.header-inner { min-height: 66px; gap: .5rem 1.5rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav .nav-list > li > a:not(.btn-nav), .nav-dd > summary {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .85rem; border-radius: 999px;
  color: #cfd8f7; font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap;
}
.nav-dd > summary::-webkit-details-marker { display: none; }
.site-nav .nav-list > li > a:not(.btn-nav):hover, .nav-dd > summary:hover, .nav-dd[open] > summary { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-caret { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-dd[open] .nav-caret { transform: rotate(180deg); }
.nav-dd { position: relative; }
.nav-dd-menu { list-style: none; margin: 0; padding: .5rem; display: grid; gap: .15rem; }
.nav-dd-menu a { display: flex; gap: .8rem; align-items: center; padding: .65rem .75rem; border-radius: 12px; text-decoration: none; color: var(--ink); }
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible { background: var(--soft-2); }
.nav-dd-menu a[aria-current="page"] { background: var(--soft-2); }
.nav-dd-menu strong { display: block; font-size: .9375rem; color: var(--navy); }
.nav-dd-menu small { display: block; font-size: .8125rem; color: var(--muted); }
.dd-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
.dd-icon .icon { width: 19px; height: 19px; }
.nav-cta-item { margin-left: .5rem; }
.btn-nav {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.1rem; border-radius: 999px;
  background: #ff8a00; color: #0d1a4a; font-weight: 800; font-size: .9375rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 22px -10px rgba(255, 138, 0, .9); transition: background-color .15s ease, transform .15s ease;
}
.btn-nav:hover { background: #ffa033; color: #0d1a4a; transform: translateY(-1px); }

@media (min-width: 960px) {
  .nav-toggle { display: none !important; }
  .header-inner { flex-wrap: nowrap; }
  .site-nav { display: block !important; width: auto !important; padding: 0 !important; }
  .nav-dd-menu { position: absolute; top: calc(100% + 10px); left: -.5rem; width: 340px; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(13, 26, 74, .06); }
  .nav-dd-menu::before { content: ""; position: absolute; top: -6px; left: 2.2rem; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
}
@media (max-width: 959px) {
  .js .site-nav { display: none; width: 100%; padding: .5rem 0 1.25rem; }
  .js .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .site-nav .nav-list > li > a:not(.btn-nav), .nav-dd > summary { width: 100%; border-radius: 12px; }
  .nav-dd-menu { background: rgba(255, 255, 255, .04); border-radius: 14px; margin-top: .25rem; }
  .nav-dd-menu a { color: #dfe6ff; }
  .nav-dd-menu strong { color: #fff; }
  .nav-dd-menu small { color: #9fb0d8; }
  .nav-dd-menu a:hover, .nav-dd-menu a[aria-current="page"] { background: rgba(255, 255, 255, .07); }
  .nav-cta-item { margin: .6rem 0 0; }
  .btn-nav { width: 100%; justify-content: center; min-height: 48px; }
  .site-nav:not(.is-open) { display: none; }
  html:not(.js) .site-nav { display: block; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .brand:hover .logo-mark { transform: none; } }

/* Comparativa privada de logos */
.logo-compare { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.lc-card { border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; background: #fff; box-shadow: var(--shadow-sm); }
.lc-title { font-size: 1.15rem; }
.lc-row { display: flex; align-items: center; justify-content: center; padding: 1.4rem; border-radius: 14px; margin-bottom: .75rem; }
.lc-dark { background: var(--night); }
.lc-light { background: var(--soft); }
.lc-sizes { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; padding: 1rem 0; }
.lc-size { display: grid; justify-items: center; gap: .3rem; color: var(--muted); }
.lc-mark { display: block; }
.lc-tab { justify-content: flex-start; background: #dfe3ea; padding: .55rem .8rem; }
.lc-favicon { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border-radius: 8px 8px 0 0; padding: .35rem .8rem; font-size: .8125rem; color: #333; }

.menu-open .mobile-cta { transform: translateY(110%); }
@media (max-width: 640px) { .env-more { display: none; } }
.lc-size small { white-space: nowrap; }


/* =====================================================================
   v6 · escena animada del hero (D-058)
   ===================================================================== */
.hx-devices { perspective: 1400px; }
.dv-stage { position: relative; transform-style: preserve-3d; transform: rotateY(calc(var(--px, 0) * 9deg)) rotateX(calc(var(--py, 0) * -7deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.dv-halo { position: absolute; inset: 4% 0 0; z-index: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 87, 233, .75), rgba(57, 132, 255, .25) 55%, transparent 75%); filter: blur(28px); animation: dv-halo 5s ease-in-out infinite; pointer-events: none; }
.dv-laptop { z-index: 1; animation: dv-in-up 1s cubic-bezier(.2, .8, .2, 1) both, dv-float-a 6s ease-in-out 1s infinite; }
.dv-phone { z-index: 2; overflow: hidden; animation: dv-in-right 1s cubic-bezier(.2, .8, .2, 1) .3s both, dv-float-b 5s ease-in-out 1.3s infinite; }
.dv-phone-screen { position: absolute; inset: 0; overflow: hidden; border-radius: 20px; }
.dv-scroll { animation: dv-phone-scroll 9s ease-in-out 1.6s infinite; will-change: transform; }
.dv-scroll .ms { height: auto; min-height: 100%; }
.dv-badge { z-index: 3; animation: dv-pop .7s cubic-bezier(.3, 1.6, .5, 1) both, dv-bob 4.2s ease-in-out infinite; }
.dv-badge-a { animation-delay: .8s, 1.5s; }
.dv-badge-b { animation-delay: 1s, 2.3s; }
.dv-badge-c { top: -9%; left: 38%; right: auto; bottom: auto; animation-delay: 1.2s, 3.1s; }
.dv-badge .icon { color: var(--blue); }

/* Vida dentro de las pantallas */
.dv-screen { position: relative; }
.dv-cursor { position: absolute; z-index: 4; width: 5.5%; height: auto; left: 85%; top: 88%; opacity: 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); animation: dv-cursor 6s ease-in-out 1.8s infinite; }
.dv-screen .ms-cta { animation: dv-cta 6s ease-out 1.8s infinite; }
.dv-screen .ms-line, .dv-scroll .ms-line { background: linear-gradient(90deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .24) 50%, rgba(0, 0, 0, .1) 100%); background-size: 200% 100%; animation: dv-shimmer 2.2s linear infinite; }
.dv-screen .ms-visual, .dv-scroll .ms-visual { background-size: 180% 180%; animation: dv-gradient 7s ease-in-out infinite; }
.dv-screen .ms-shape-a { animation: dv-orbit 9s ease-in-out infinite; }

@keyframes dv-in-up { from { opacity: 0; translate: 0 70px; scale: .92; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes dv-in-right { from { opacity: 0; translate: 90px 30px; rotate: 10deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes dv-float-a { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -18px; rotate: -1.2deg; } }
@keyframes dv-float-b { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: -6px -26px; rotate: -3.5deg; } }
@keyframes dv-pop { 0% { opacity: 0; scale: .3; } 70% { opacity: 1; scale: 1.12; } 100% { opacity: 1; scale: 1; } }
@keyframes dv-bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -12px; rotate: -2deg; } }
@keyframes dv-halo { 0%, 100% { opacity: .55; scale: .92; } 50% { opacity: 1; scale: 1.06; } }
@keyframes dv-phone-scroll { 0%, 14% { translate: 0 0; } 44%, 58% { translate: 0 -34%; } 86%, 100% { translate: 0 0; } }
@keyframes dv-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes dv-gradient { 0%, 100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }
@keyframes dv-orbit { 0%, 100% { translate: 0 0; } 50% { translate: -12% 14%; } }
@keyframes dv-cursor {
  0% { left: 85%; top: 88%; opacity: 0; scale: 1; }
  8% { opacity: 1; }
  38% { left: 10.5%; top: 66%; scale: 1; }
  43% { left: 10.5%; top: 66%; scale: .75; }
  48% { left: 10.5%; top: 66%; scale: 1; }
  78% { left: 10.5%; top: 66%; opacity: 1; }
  92%, 100% { left: 30%; top: 95%; opacity: 0; }
}
@keyframes dv-cta {
  0%, 40% { box-shadow: 0 0 0 0 rgba(255, 138, 0, 0); scale: 1; }
  43% { box-shadow: 0 0 0 0 rgba(255, 138, 0, .85); scale: .92; }
  48% { scale: 1.05; }
  60% { box-shadow: 0 0 0 1.4em rgba(255, 138, 0, 0); scale: 1; }
  100% { box-shadow: 0 0 0 0 rgba(255, 138, 0, 0); scale: 1; }
}

@media (max-width: 520px) { .dv-badge-c { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .dv-stage { transform: none !important; transition: none; }
  .dv-laptop, .dv-phone, .dv-scroll, .dv-badge, .dv-halo, .dv-cursor, .dv-screen .ms-cta, .ms-line, .ms-visual, .ms-shape-a { animation: none !important; }
  .dv-cursor { display: none; }
}

/* Páginas de servicio */
.benefit-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.checklist-dark { text-align: left; margin: 0 auto 1.6rem; max-width: 340px; }
.checklist-dark li { color: #e6ecff; }
.checklist-dark .icon { background: #ff8a00; color: #0d1a4a; }
.checklist-dark .pending { color: #8a5300; }
.price-amount-text { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem); }
.price-conditions { font-size: .875rem; color: #b4c0ea; margin: -.6rem 0 1.4rem; }

/* Ejemplos de la portada enlazados a su web de ejemplo (D-073) */
.show-link { display: block; text-decoration: none; color: inherit; border-radius: 16px; }
.show-link .browser { transition: box-shadow .3s ease; }
.show-link:hover .browser, .show-link:focus-visible .browser { box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .85), 0 0 0 2px #ff8a00; }
.show-go { display: inline-flex; align-items: center; gap: .3rem; margin-left: .4rem; color: #ffb766; font-weight: 700; font-size: .9rem; }
.show-go svg { width: 1em; height: 1em; transition: transform .2s ease; }
.show-link:hover .show-go svg { transform: translateX(3px); }

/* Blog (D-075) */
.post-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; background: linear-gradient(180deg, #f2f6ff, #fff); }
.post-cat { margin: .8rem 0 .4rem; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.post-cat a { color: #0157e9; text-decoration: none; }
.post-title { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 1rem; text-wrap: balance; }
.post-lead { font-size: 1.2rem; color: #3b4766; margin: 0 0 1rem; }
.post-meta { color: #5d6884; font-size: .9rem; margin: 0; }
.post-figure { margin-top: 1rem; margin-bottom: 2rem; }
.post-figure img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(6, 13, 43, .55); }
.post-figure figcaption { font-size: .8rem; color: #5d6884; margin-top: .5rem; }
.post-body { font-size: 1.08rem; }
.post-body h2 { margin-top: 2.2rem; }
.post-body a { color: #0157e9; text-underline-offset: 3px; }
.post-body blockquote { margin: 1.5rem 0; padding: .4rem 1.2rem; border-left: 4px solid #ff8a00; color: #3b4766; }
.post-sources { margin: 2.5rem 0 0; padding: 1.2rem 1.4rem; border-radius: 14px; background: #f5f7fc; font-size: .95rem; }
.post-sources h2 { font-size: 1.05rem; margin: 0 0 .5rem; }
.post-sources ul { margin: 0; padding-left: 1.1rem; }
.post-sources a { color: #0157e9; }
.post-cta { display: flex; gap: 1.2rem; align-items: flex-start; margin: 2rem 0 3rem; padding: 1.6rem; border-radius: 18px; color: #fff;
  background: radial-gradient(600px 300px at 90% -20%, rgba(61, 123, 255, .5), transparent 60%), #060d2b; }
.post-cta p { margin: 0 0 .6rem; color: #d6ddf5; }
.post-cta-kicker { font-weight: 800; color: #ffb766 !important; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.post-cta-title { font-size: 1.35rem; font-weight: 800; color: #fff !important; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem !important; }

.post-cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.post-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px -30px rgba(6, 13, 43, .5); border: 1px solid #e6ebf5; }
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 1.1rem 1.3rem 1.4rem; }
.post-card h3 { font-size: 1.15rem; margin: 0 0 .5rem; line-height: 1.3; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: #0157e9; }
.post-card p { margin: 0; color: #4a5570; }
@media (max-width: 560px) { .post-cta { flex-direction: column; } }

/* Blog: tarjetas horizontales, toda la tarjeta clicable */
.post-cards { grid-template-columns: 1fr; gap: 1.2rem; }
.post-card { position: relative; display: grid; grid-template-columns: minmax(220px, 38%) minmax(0, 1fr); align-items: stretch;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card-noimg { width: 100%; height: 100%; min-height: 200px; display: block; }
/* Imagen completa en 16:9 (lleva borde y logo de la marca, D-091): sin recortes laterales. */
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; align-self: center; }
.post-card-noimg { background: linear-gradient(135deg, #e8eefc, #f6f8fe); }
.post-card-body { padding: 1.4rem 1.6rem; display: flex; flex-direction: column; justify-content: center; }
.post-card .post-cat { margin-top: 0; }
.post-card h3 { font-size: 1.3rem; }
.post-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card-link:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid #ff8a00; outline-offset: 3px; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 28px 50px -30px rgba(6, 13, 43, .55); border-color: #c9d6f5; }
.post-card:hover h3 a { color: #0157e9; }
.post-card-more { margin-top: .9rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .9rem; color: #0157e9; }
.post-card-more svg { width: 1em; height: 1em; transition: transform .2s ease; }
.post-card:hover .post-card-more svg { transform: translateX(4px); }
@media (max-width: 640px) {
  .post-card { grid-template-columns: 132px minmax(0, 1fr); }
  .post-card-noimg { min-height: 100%; }
  .post-card-body { padding: .9rem 1rem; }
  .post-card h3 { font-size: 1.02rem; }
  .post-card-body > p:not(.post-cat) { display: none; }
  .post-card-more { margin-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) { .post-card, .post-card-more svg { transition: none; } .post-card:hover { transform: none; } }
.post-card { background: #f3f6fd; border-color: #dfe6f5; }
.post-card:hover { background: #eef3fd; }

/* Numeración del blog */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin: 2.2rem 0 0; }
.pager ol { list-style: none; display: flex; gap: .35rem; margin: 0; padding: 0; }
.pager a, .pager li[aria-hidden] { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .4rem .8rem;
  border-radius: 10px; border: 1.5px solid #dfe6f5; background: #f3f6fd; color: #101a33; font-weight: 700; text-decoration: none; }
.pager li[aria-hidden] { border-color: transparent; background: none; }
.pager a:hover { border-color: #0157e9; color: #0157e9; }
.pager a[aria-current="page"] { background: #0157e9; border-color: #0157e9; color: #fff; }
.related-more { margin: 1.4rem 0 0; } .related-more a { font-weight: 800; color: #0157e9; display: inline-flex; gap: .35rem; align-items: center; } .related-more svg { width: 1em; height: 1em; }
.section-soft .post-card { background: #fff; } .section-soft .post-card:hover { background: #fbfcff; }

/* Sobre mí */
/* Sobre mí (D-083): cabecera oscura con la foto del propietario como fondo tenue */
.ab-hx { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem); }
.ab-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; background: url("../img/javier-fondo-3.webp") 30% top / cover no-repeat; opacity: .5; pointer-events: none; }
.ab-hx-inner { position: relative; z-index: 1; }
.ab-hx .hx-title { max-width: 15ch; }
.ab-hx .hx-lead { max-width: 52ch; }
.ab-facts { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 880px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); }
.ab-facts li { padding: 1.1rem 1.2rem; background: rgba(6, 13, 43, .55); }
.ab-facts strong { display: block; color: #fff; font-size: 1.15rem; letter-spacing: -.01em; }
.ab-facts span { display: block; color: #b6c2ee; font-size: .875rem; line-height: 1.4; margin-top: .2rem; }

.ab-story { background: radial-gradient(700px 380px at 100% 0%, rgba(1, 87, 233, .12), transparent 65%), radial-gradient(600px 360px at 0% 100%, rgba(255, 127, 0, .1), transparent 65%), linear-gradient(180deg, #eef3ff 0%, #f7f9ff 100%); }
.ab-story-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.ab-story-head { position: sticky; top: 110px; }
.ab-quote { margin: 1.5rem 0 0; padding: 1.6rem 1.7rem; border-radius: 20px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; box-shadow: 0 24px 50px -24px rgba(1, 87, 233, .7); position: relative; }
.ab-quote::before { content: "\201C"; position: absolute; top: -.35em; left: .35em; font-size: 5rem; line-height: 1; color: #ffb36b; font-weight: 800; }
.ab-quote p { margin: 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 650; line-height: 1.45; }
.ab-timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; position: relative; display: grid; gap: 1.1rem; }
.ab-timeline::before { content: ""; position: absolute; left: .45rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(180deg, var(--blue), #ff7f00); border-radius: 2px; }
.ab-timeline li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.4rem; box-shadow: 0 14px 34px -22px rgba(13, 26, 74, .45); }
.ab-timeline li::before { content: ""; position: absolute; left: -1.5rem; top: 1.6rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px rgba(1, 87, 233, .15); }
.ab-timeline li:last-child::before { border-color: #ff7f00; box-shadow: 0 0 0 4px rgba(255, 127, 0, .18); }
.ab-tl-tag { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--soft-2); border-radius: 999px; padding: .25rem .7rem; margin-bottom: .6rem; }
.ab-timeline h3 { font-size: 1.2rem; margin: 0 0 .35rem; }
.ab-timeline p { margin: 0; color: var(--muted); line-height: 1.6; }

.ab-how-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.ab-how-card { position: relative; padding: 1.6rem 1.4rem 1.5rem; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); overflow: hidden; transition: border-color .25s ease; }
.ab-how-card:hover { border-color: rgba(255, 179, 107, .5); }
.ab-how-num { position: absolute; right: 1rem; top: .5rem; font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; color: rgba(255, 255, 255, .07); }
.ab-how-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(135deg, #ff7f00, #ffb347); color: #1b1203; margin-bottom: 1rem; box-shadow: 0 12px 26px -12px rgba(255, 127, 0, .8); }
.ab-how-icon .icon { width: 24px; height: 24px; }
.ab-how-card h3 { color: #fff; font-size: 1.1rem; margin: 0 0 .4rem; }
.ab-how-card p { margin: 0; color: #b6c2ee; font-size: .9375rem; line-height: 1.55; }

.ab-svc { background: linear-gradient(180deg, #f3f6fd 0%, #e9efff 100%); }
.ab-svc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.ab-svc-grid a { display: flex; gap: 1rem; align-items: center; height: 100%; padding: 1.15rem 1.2rem; border-radius: 18px; background: #fff; border: 1px solid #dfe6f6; text-decoration: none; color: inherit; box-shadow: 0 12px 30px -24px rgba(13, 26, 74, .5); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ab-svc-grid a:hover, .ab-svc-grid a:focus-visible { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(1, 87, 233, .55); }
.ab-svc-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; }
.ab-svc-icon .icon { width: 24px; height: 24px; }
.ab-svc-text { flex: 1; min-width: 0; }
.ab-svc-text strong { display: block; color: var(--navy); font-size: 1.05rem; }
.ab-svc-text small { color: var(--muted); font-size: .9rem; }
.ab-svc-go { color: var(--blue); transition: transform .2s; }
.ab-svc-grid a:hover .ab-svc-go { transform: translateX(4px); }
.ab-profiles { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 2rem; }
.ab-profiles p { margin: 0; color: var(--muted); font-weight: 600; }
.ab-profiles ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ab-profiles a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.1rem; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s; }
.ab-profiles a:hover { background: var(--blue); color: #fff; }

@media (max-width: 900px) {
  .ab-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-story-grid { grid-template-columns: 1fr; }
  .ab-story-head { position: static; }
  .ab-photo { width: 75%; opacity: .32; }
}
@media (max-width: 560px) {
  .ab-photo { width: 100%; opacity: .2; background-position: 40% top; }
  .ab-facts li { padding: .9rem 1rem; }
  .ab-facts strong { font-size: 1rem; }
}

/* WhatsApp flotante (D-083): única vía por teléfono, discreta y siempre a mano */
.wa-float { position: fixed; z-index: 55; right: 20px; bottom: 20px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45); transition: transform .2s ease, box-shadow .2s ease; }
.wa-float:hover, .wa-float:focus-visible { color: #fff; transform: scale(1.07); box-shadow: 0 14px 32px -8px rgba(0, 0, 0, .5); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 767px) {
  .wa-float { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .menu-open .wa-float { opacity: 0; pointer-events: none; }
}
@media print { .wa-float { display: none; } }

/* Textos legales (D-087) */
.legal-hx { padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.legal-updated { margin: 1rem 0 0; color: #8f9cd0; font-size: .875rem; }
.legal-body { background: linear-gradient(180deg, #f3f6fd 0%, #fff 40%); }
.legal-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.legal-nav { position: sticky; top: 110px; }
.legal-nav ul { list-style: none; margin: 0; padding: .5rem; display: grid; gap: .25rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 30px -24px rgba(13, 26, 74, .5); }
.legal-nav a { display: block; padding: .6rem .85rem; border-radius: 10px; color: var(--navy); font-weight: 650; text-decoration: none; }
.legal-nav a:hover { background: var(--soft-2); }
.legal-nav a[aria-current="page"] { background: var(--blue); color: #fff; }
.legal-text { max-width: 72ch; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 0 16px 40px -30px rgba(13, 26, 74, .5); }
.legal-text h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p, .legal-text li { color: var(--ink); line-height: 1.7; }
.legal-text ul { padding-left: 1.2rem; }
.site-footer .footer-muted a { color: inherit; }
@media (max-width: 800px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-nav ul { display: flex; flex-wrap: wrap; }
}

/* Entradas importadas de WordPress (D-093): imágenes y código dentro del artículo */
.post-body figure { margin: 1.8rem 0; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 1.5rem auto; }
.post-body figure img { margin: 0 auto; }
.post-body figcaption { margin-top: .5rem; font-size: .875rem; color: var(--muted); text-align: center; }
.post-body h4 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.post-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; background: #eef2fb; color: #13245f; padding: .12em .4em; border-radius: 6px; overflow-wrap: anywhere; }
.post-body pre { background: #0d1a4a; color: #e6ecff; padding: 1rem 1.2rem; border-radius: 12px; overflow-x: auto; }
.post-body pre code { background: none; color: inherit; padding: 0; }
