/* =========================================================
   NeoData Group — estilos
   Colores del logo. Contraste de texto verificado (WCAG AA).
   ========================================================= */
@view-transition { navigation: auto; }

:root {
  --blue-900: #062a75;
  --blue-700: #0a3fa8;
  --blue-500: #1a6db0;   /* texto azul: 5.3:1 sobre blanco */
  --teal-500: #17c3b2;   /* solo decoración / fondos con texto oscuro */
  --teal-600: #0b7f85;   /* texto turquesa: 4.8:1 sobre blanco */
  --teal-300: #5fe0d2;
  --ink: #0b1226;
  --ink-2: #333c54;
  --muted: #555f7a;      /* 6.3:1 sobre blanco */
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --dark: #081029;
  --wa: #0e8f4c;         /* verde WhatsApp con contraste suficiente para texto blanco */
  --grad: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-500) 55%, var(--teal-600) 100%);
  --grad-btn: linear-gradient(120deg, #0a3fa8, #1a62b0);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(10, 40, 110, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 40, 110, .3);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll, body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.center-text { text-align: center; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Barra de progreso de lectura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--blue-700), var(--teal-500)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; cursor: pointer; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--grad-btn); background-origin: border-box; color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 63, 168, .6); }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(10, 63, 168, .75); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-700); }
.btn--accent { background: var(--teal-500); color: var(--dark); }
.btn--accent:hover { background: var(--teal-300); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 9px 18px; font-size: .95rem; }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--blue-500); margin-bottom: 14px;
}
.eyebrow--light { color: var(--teal-300); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(23, 195, 178, .2); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 7px rgba(23, 195, 178, 0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(10, 40, 110, .4); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand__text { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--ink); line-height: 1; display: flex; flex-direction: column; }
.brand__text small { font-size: .55rem; font-weight: 500; letter-spacing: .5em; margin-top: 3px; color: var(--muted); }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__text small { color: #aab4cf; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-weight: 500; color: var(--ink-2); font-size: .95rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .lang { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.nav .lang::after { display: none; }
.nav .lang:hover { border-color: var(--blue-500); color: var(--blue-700); }
.nf__en { margin-top: 26px; color: var(--muted); }
.nf__en a { color: var(--blue-700); text-decoration: underline; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(23, 195, 178, .18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(10, 63, 168, .12), transparent 60%),
    linear-gradient(var(--bg), var(--bg-alt));
}
.hero__bg::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 195, 178, .22), transparent 65%); filter: blur(10px); animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { to { transform: translate(-80px, 60px) scale(1.15); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10, 63, 168, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%); mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.js .hero__title .w > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 100ms); }
.hero__title .grad .w > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes rise { to { transform: none; } }
.js .hero__in { opacity: 0; transform: translateY(14px); animation: fadeUp .8s var(--ease) forwards; animation-delay: var(--d); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks svg { color: var(--teal-600); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 480px; }
.js .hero__visual { opacity: 0; animation: fadeIn 1s var(--ease) .3s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.hero__glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(23, 195, 178, .30), rgba(10, 63, 168, .12) 50%, transparent 70%); animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scale(1.08); opacity: .8; } }

/* ---------- Mascota ---------- */
.mascot { display: block; height: auto; transition: translate .5s var(--ease); }
.mascot--hero { position: relative; width: min(500px, 100%); filter: drop-shadow(0 30px 40px rgba(10, 40, 110, .22)); transform-origin: 50% 90%; animation: mascotIn 1.1s var(--ease) .35s backwards, bob 5s ease-in-out 1.45s infinite; }
@keyframes mascotIn { from { opacity: 0; transform: translateY(50px) scale(.9) rotate(-4deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.mascot--wave { transform-origin: 50% 95%; animation: wave 3.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-5deg); } 30% { transform: rotate(4deg); } 45% { transform: rotate(-3deg); } 60% { transform: rotate(0) translateY(-6px); } 80% { transform: translateY(0); } }

.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: translate .5s var(--ease); }
.float-card--stat { top: 10%; right: 0; animation: cardIn .8s var(--ease) 1.1s backwards, float 6s ease-in-out 2s infinite; }
.float-card--chip { bottom: 12%; left: 0; animation: cardIn .8s var(--ease) 1.4s backwards, float 7s ease-in-out -2s infinite; }
.float-card--chip svg { color: var(--wa); }
.float-card__icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.92); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.spark { position: absolute; width: 12px; height: 12px; border-radius: 3px; background: var(--teal-500); transform: rotate(45deg); opacity: .8; animation: twinkle 3.5s ease-in-out infinite; }
.spark--1 { top: 18%; left: 14%; }
.spark--2 { top: 6%; left: 58%; width: 8px; height: 8px; animation-delay: -1.2s; background: var(--blue-500); }
.spark--3 { bottom: 26%; right: 8%; width: 9px; height: 9px; animation-delay: -2.3s; }
@keyframes twinkle { 0%, 100% { transform: rotate(45deg) scale(1); opacity: .8; } 50% { transform: rotate(225deg) scale(.5); opacity: .3; } }

.cta__mascot { display: flex; align-items: flex-end; gap: 14px; margin-top: 18px; }
.cta__mascot .mascot { width: 150px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.bubble { order: 2; align-self: center; position: relative; background: #fff; color: var(--ink); font: 600 .95rem var(--font-head); padding: 12px 16px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-lg); max-width: 220px; animation: bubble 3.2s ease-in-out infinite; }
@keyframes bubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.band__mascot { position: relative; z-index: 1; width: 110px; height: auto; align-self: flex-end; margin: -10px 0 -60px -10px; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .35)); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.band:hover .band__mascot { transform: translateY(-10px) rotate(-4deg); }
.band__copy { flex: 1; position: relative; z-index: 1; }

.mascot--nf { width: 150px; margin-bottom: -20px; position: relative; z-index: 1; }

/* ---------- Marquesina de tecnologías ---------- */
.marquee { padding: 26px 0 30px; border-block: 1px solid var(--line); overflow: hidden; background: #fff; }
.marquee__title { text-align: center; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 7px; }
.marquee li { white-space: nowrap; font: 600 1rem var(--font-head); color: var(--ink-2); padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-alt); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 100px 0; }
.section--tight { padding: 64px 0; }
.section--flush { padding-top: 40px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #c3cbe0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.section__head p:last-child { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
/* Luz que sigue al cursor */
.spot::before, .work::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(23, 195, 178, .10), transparent 45%); }
.spot:hover::before, .work:hover::before { opacity: 1; }
.spot > *, .work > * { position: relative; z-index: 1; }
.plan__badge { z-index: 2 !important; }
.service__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); margin-bottom: 20px; box-shadow: 0 10px 20px -10px rgba(10, 63, 168, .6); transition: transform .4s var(--ease); }
.service:hover .service__icon { transform: rotate(-6deg) scale(1.06); }
.service__img { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 12px 24px -12px rgba(10, 63, 168, .7); transition: transform .45s var(--ease); }
.service:hover .service__img { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.service p { font-size: .95rem; margin: 0; }
.service__link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toda la tarjeta es clicable */
.service__link:focus-visible { outline: none; }
.service:has(.service__link:focus-visible) { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.service__more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--blue-500); transition: transform .3s var(--ease); }
.service:hover .service__more { transform: translateX(4px); }
/* Tarjetas por niveles: puntos clave y botón propio */
.service--tier { display: flex; flex-direction: column; padding: 34px 30px; }
.service__level { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-600); margin: 0 0 6px; }
.service--tier h3 { margin-top: 0; }
.service__points { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.service__points li { display: flex; gap: 10px; align-items: flex-start; }
.service__points svg { flex: none; margin-top: 3px; color: var(--teal-600); }
.service__actions { margin-top: auto; display: grid; gap: 14px; justify-items: start; }
.service__actions .btn { width: 100%; justify-content: center; }
.service--tier .service__more { margin-top: 0; }

/* ---------- Portafolio ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { font: 500 .95rem var(--font-body); padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); }
.filter:hover { border-color: var(--blue-500); color: var(--blue-700); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work.is-hidden { display: none; }
.work__link-wrap { display: block; }
.work__shot { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: grid; place-items: center; background: var(--bg-alt); }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work:hover .work__shot img, .work:hover .work__shot > div { transform: scale(1.05); }
.work__shot > div { transition: transform .8s var(--ease); }
.work__more { position: absolute; inset: auto 14px 14px auto; background: rgba(8, 16, 41, .88); color: #fff; font: 600 .85rem var(--font-head); padding: 8px 14px; border-radius: 999px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.work:hover .work__more, .work__link-wrap:focus-visible .work__more { opacity: 1; transform: none; }
.work__body { padding: 20px 24px 26px; flex: 1; }
.work__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); }
.work__body h3 { margin: 12px 0 2px; }
.work__body h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.work__body h3 a:hover { background-size: 100% 2px; }
.work__client { font-size: .85rem; font-weight: 600; color: var(--blue-500); margin-bottom: 10px; }
.work__body p:not(.work__client) { font-size: .93rem; margin-bottom: 14px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: rgba(26, 109, 176, .1); color: var(--blue-700); }
.tag--sys { background: rgba(23, 195, 178, .15); color: #07695f; }
.stack { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stack li { font-size: .78rem; padding: 3px 10px; border-radius: 6px; background: var(--bg-alt); color: var(--muted); }
.stack--lg li { font-size: .88rem; padding: 6px 12px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* Vistas ilustradas (si no hay captura) */
.shot--tour { background: linear-gradient(135deg, #0a3fa8, #1f7ac4 60%, #17c3b2); }
.shot--dash { background: #0d1733; }
.shot--landing { background: linear-gradient(135deg, #e7f0ff, #d5f6f2); }
.shot--shop { background: linear-gradient(135deg, #fdf3e7, #f7e1cf); }
.shot--booking { background: linear-gradient(135deg, #062a75, #0a3fa8); }
.shot--corp { background: linear-gradient(135deg, #1b2440, #39435c); }
.shot-ui { width: 70%; }
.shot-ui.center { display: flex; flex-direction: column; align-items: center; }
.shot-ui b { display: block; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .95); margin-bottom: 10px; width: 80%; }
.shot-ui b.s { width: 55%; opacity: .6; }
.shot-ui em { display: block; width: 100px; height: 28px; border-radius: 999px; background: var(--teal-300); margin-top: 14px; }
.shot--landing .shot-ui b { background: var(--ink); }
.shot--landing .shot-ui b.s { background: var(--muted); }
.shot--landing .shot-ui em { background: var(--grad); }
.shot-dash { width: 80%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shot-dash i { height: 40px; border-radius: 8px; background: rgba(255, 255, 255, .08); border-top: 3px solid var(--teal-500); }
.shot-dash span { grid-column: 1 / -1; height: 70px; border-radius: 8px; background: linear-gradient(to top, rgba(23, 195, 178, .35), transparent); clip-path: polygon(0 80%, 15% 60%, 30% 70%, 45% 40%, 60% 50%, 75% 20%, 90% 30%, 100% 5%, 100% 100%, 0 100%); }
.shot-grid { width: 76%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shot-grid i { aspect-ratio: 1; border-radius: 10px; background: #fff; }
.shot-cal { width: 70%; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.shot-cal i { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.shot-cal i.on { background: var(--teal-500); }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.plans .plan { padding: 30px 20px; }
.plans .plan__price { font-size: 2.35rem; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan__kicker { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-500); margin-bottom: 6px; }
.plan h3 { font-size: 1.45rem; margin-bottom: 8px; }
.plan__desc { font-size: .92rem; color: var(--muted); min-height: 3em; }
.plan__price { font-family: var(--font-head); font-size: 2.9rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 10px 0 6px; display: flex; align-items: flex-start; gap: 4px; }
.plan__price span { font-size: 1.1rem; font-weight: 600; margin-top: 8px; }
.plan__price small { font-size: .8rem; font-weight: 500; color: var(--muted); align-self: flex-end; margin: 0 4px 6px 0; }
.plan__meta { font-size: .85rem; color: var(--muted); padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.plan__list { list-style: none; padding: 0; margin: 4px 0 26px; flex: 1; }
.plan__list li { position: relative; padding: 7px 0 7px 28px; font-size: .93rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; border-radius: 50%; background: rgba(23, 195, 178, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2307695f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan--featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--angle, 120deg), var(--blue-700), var(--teal-500), var(--blue-500)) border-box; box-shadow: var(--shadow-lg); transform: translateY(-10px); animation: spin-border 6s linear infinite; }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --angle: 360deg; } }
.plan--featured:hover { transform: translateY(-14px); }
.plan__badge { position: absolute !important; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-btn); color: #fff; font: 600 .78rem var(--font-head); text-transform: uppercase; letter-spacing: .08em; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan--dark { background: var(--dark); border-color: var(--dark); color: #c3cbe0; }
.plan--dark h3, .plan--dark .plan__price { color: #fff; }
.plan--dark .plan__kicker { color: var(--teal-300); }
.plan--dark .plan__desc, .plan--dark .plan__meta, .plan--dark .plan__price small { color: #a3aecb; }
.plan--dark .plan__meta { border-color: rgba(255, 255, 255, .14); }
.plan--dark::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(23, 195, 178, .14), transparent 45%); }

.included { margin-top: 56px; padding: 34px 36px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.included h3 { margin-bottom: 18px; }
.included ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.included li { position: relative; padding-left: 24px; font-size: .93rem; }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; }

.compare { margin-top: 56px; }
.compare h3 { text-align: center; font-size: 1.5rem; margin-bottom: 22px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; font-size: .93rem; }
th, td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--font-head); color: var(--ink); background: var(--bg-alt); font-size: 1rem; }
tbody th { text-align: left; font-weight: 500; color: var(--ink); }
tbody tr { transition: background .2s; }
tbody tr:hover { background: #fafcff; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.hl { background: rgba(23, 195, 178, .07); font-weight: 600; color: var(--ink); }
thead .hl { background: var(--grad-btn); color: #fff; }
.note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 16px; }

/* ---------- Reseñas ---------- */
.reviews { columns: 3 320px; column-gap: 24px; }
.review { break-inside: avoid; margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review blockquote { margin: 12px 0 20px; font-size: 1rem; color: var(--ink-2); }
.review figcaption { display: flex; gap: 12px; align-items: center; }
.review figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar { display: grid; place-items: center; background: var(--grad); color: #fff; font: 700 1rem var(--font-head); }
.review figcaption b { display: block; color: var(--ink); font-family: var(--font-head); }
.review figcaption small { display: block; font-size: .82rem; color: var(--muted); }
.review figcaption a { font-size: .82rem; font-weight: 600; color: var(--blue-500); }
.review figcaption a:hover { text-decoration: underline; }
.stars { color: #b7791f; letter-spacing: 2px; font-size: 1.05rem; }
.stars__off { color: #d7dce8; }
.review--single .review { padding: 36px; text-align: center; }
.review--single .review blockquote { font-size: 1.2rem; }
.review--single figcaption { justify-content: center; text-align: left; }

/* ---------- Bloque SEO ---------- */
.seo { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.seo__text p { font-size: 1.04rem; }
.seo__text strong { color: var(--ink); }
.seo__aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.seo__aside ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.seo__aside li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.seo__aside svg { color: var(--teal-600); margin-top: 4px; flex-shrink: 0; }

/* ---------- Por qué ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.why__copy strong { color: #fff; }
.cities { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.city { display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.city svg { color: var(--teal-500); }
.city b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.city span { font-size: .8rem; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why__list li { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s, border-color .3s, transform .35s var(--ease); }
.why__list li:hover { background: rgba(255, 255, 255, .07); border-color: rgba(23, 195, 178, .4); transform: translateY(-4px); }
.why__list span { font: 800 1.6rem var(--font-head); color: var(--teal-300); display: block; margin-bottom: 8px; }
.why__list h3 { font-size: 1.1rem; }
.why__list p { font-size: .9rem; margin: 0; }
.map { margin-top: 56px; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: var(--radius); filter: grayscale(.2); }

/* ---------- Proceso ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--blue-700), var(--teal-500)); opacity: .3; }
.steps li { text-align: center; position: relative; }
.steps__n { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font: 700 1.3rem var(--font-head); color: #fff; background: var(--grad-btn); box-shadow: 0 0 0 8px #fff, 0 12px 24px -10px rgba(10, 63, 168, .6); position: relative; transition: transform .4s var(--ease); }
.steps li:hover .steps__n { transform: scale(1.1); }
.steps--icons::before { top: 22px; }
.steps--icons .steps__n { width: 44px; height: 44px; font-size: 1.05rem; margin-bottom: 18px; }
.steps__img { width: 116px; height: 116px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 14px 30px -18px rgba(10, 40, 110, .45); transition: transform .45s var(--ease), box-shadow .45s; }
.steps li:hover .steps__img { transform: translateY(-6px) scale(1.05); box-shadow: 0 20px 36px -18px rgba(10, 40, 110, .55); }
.steps h3 { font-size: 1.1rem; }
.steps p { font-size: .9rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font: 600 1.05rem var(--font-head); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--blue-500); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a p { margin: 0 0 20px; color: var(--ink-2); }
.faq details[open] .faq__a { animation: fadeUp .4s var(--ease); }

/* ---------- Contacto ---------- */
.cta { background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 55%, #0b5f8a 100%); color: #dde6ff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(to right, #000, transparent 70%); mask-image: linear-gradient(to right, #000, transparent 70%); }
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta h2 { color: #fff; }
.cta__copy > p { font-size: 1.1rem; }
.wa-big { display: inline-flex; align-items: center; gap: 16px; margin: 18px 0 20px; padding: 16px 28px 16px 20px; border-radius: 20px; background: var(--wa); color: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.wa-big:hover { transform: translateY(-3px); }
.wa-big span { display: flex; flex-direction: column; font: 700 1.7rem var(--font-head); line-height: 1.1; }
.wa-big small { font-size: .8rem; font-weight: 500; }
.wa-numbers { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 20px; }
.wa-numbers .wa-big { margin: 0; }
.wa-dock { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-dock .wa-float { position: relative; right: auto; bottom: auto; border: 0; cursor: pointer; font: inherit; }
.wa-menu { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px; display: grid; gap: 8px; min-width: 230px; transform-origin: bottom right; animation: menuIn .25s var(--ease); }
.wa-menu p { margin: 0 4px 2px; font: 600 .85rem var(--font-head); color: var(--muted); }
.wa-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: var(--wa); color: #fff; font: 700 1.05rem var(--font-head); letter-spacing: .02em; transition: transform .2s var(--ease), filter .2s; }
.wa-menu a:hover { transform: translateX(-3px); filter: brightness(1.08); }
@keyframes menuIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.facts dd a { color: var(--blue-700); word-break: break-all; }
.facts dd a:hover { text-decoration: underline; }
.cta__cities { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.form { background: #fff; color: var(--ink-2); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea { font: 400 1rem var(--font-body); padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid #cfd6e4; background: var(--bg-alt); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(26, 109, 176, .18); }
.form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .88rem; color: var(--ink-2); }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-700); flex-shrink: 0; }
.form .consent a { color: var(--blue-700); text-decoration: underline; }
.form .is-invalid { border-color: #c62828; }
.form__error { margin: 0; color: #b42318; font-size: .88rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Franja de llamada a la acción */
.band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 48px; border-radius: 24px; background: linear-gradient(135deg, var(--dark), var(--blue-900)); color: #c9d2ea; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 360px; height: 360px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 195, 178, .35), transparent 65%); }
.band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.band p { margin: 0; }
.band__btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: 56px 0 40px; background: linear-gradient(var(--bg), var(--bg-alt)); }
.page-hero--small { padding-bottom: 20px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 860px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9aa3ba; }
.crumbs a { color: var(--blue-500); }
.crumbs a:hover { text-decoration: underline; }

.project__head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: end; }
.project__tags { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: #fff; padding: 18px 20px; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font: 600 1.05rem var(--font-head); color: var(--ink); }
.project__cover { margin-top: 10px; }
.project__cover img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project__body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 60px; align-items: start; }
.project__story > div { margin-bottom: 40px; }
.project__story h2 { font-size: 1.6rem; }
.project__story p { font-size: 1.05rem; }
.project__aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.project__aside .stack { margin: 14px 0 24px; }
.results { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.results li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.results svg { flex-shrink: 0; color: #fff; background: var(--teal-600); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 26px; }
.gallery__item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.gallery__item:first-child:nth-last-child(odd) { grid-column: 1 / -1; } /* ancho completo solo si el total es impar */
.gallery__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item span { position: absolute; left: 14px; bottom: 14px; background: rgba(8, 16, 41, .85); color: #fff; font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 30px 0 70px; }
.pager__link { padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.pager__link:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.pager__link small { display: block; font-size: .8rem; color: var(--muted); }
.pager__link b { font-family: var(--font-head); color: var(--ink); }
.pager__link--next { text-align: right; }
.pager__all { font-weight: 600; color: var(--blue-500); }

.prose { font-size: 1.03rem; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--blue-700); text-decoration: underline; }
.prose strong { color: var(--ink); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.posts--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 420px)); justify-content: center; }
.posts__more { margin-top: 36px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.post-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--blue-700); }
.post-card__body > p:not(.post-card__meta) { font-size: .93rem; margin-bottom: 18px; }
.post-card__more { margin-top: auto; font-weight: 600; color: var(--blue-500); }
.post-card__more:hover { text-decoration: underline; }

.page-hero--post { padding-bottom: 34px; }
.page-hero--post h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero--post .lead { max-width: none; }
.post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .9rem; color: var(--muted); }
.post__author { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: .92rem; color: var(--muted); margin: 18px 0 0; }
.post__author img { border-radius: 50%; margin-right: 6px; }
.post__author b { color: var(--ink); }
.post__cover { width: min(1040px, 100% - 40px); }
.post__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; margin-bottom: 34px; }
.toc p { font: 600 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.toc a { color: var(--blue-700); }
.toc a:hover { text-decoration: underline; }
.post__body { font-size: 1.08rem; line-height: 1.75; }
.post__body h2 { font-size: 1.6rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.post__body h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ol { padding-left: 1.3em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--teal-500); background: rgba(23, 195, 178, .08); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { margin: 0; color: var(--ink); }
.prose blockquote p + p { margin-top: .5em; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-alt); font-family: var(--font-head); color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.post__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; padding: 26px 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.post__cta h2 { margin: 0 0 4px; }
.post__cta p { margin: 0; font-size: .95rem; }
.post__cta .btn { flex-shrink: 0; }

/* Páginas de servicio */
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center; }
.svc-hero .lead { max-width: 640px; }
.svc-price { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; box-shadow: var(--shadow-lg); }
.svc-price__kicker { font: 600 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--teal-600); margin: 0; }
.svc-price .plan__price { margin: 4px 0 6px; }
.svc-price__name { font-size: .92rem; color: var(--muted); margin: 0 0 18px; }
.svc-price__name b { color: var(--ink); }
.svc-price ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.svc-price li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.svc-price li svg { flex-shrink: 0; margin-top: 3px; color: var(--teal-600); }
.svc-check { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(23, 195, 178, .14); color: var(--teal-600); margin-bottom: 14px; }
.works--fit { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; background: radial-gradient(600px 400px at 50% 0%, rgba(23, 195, 178, .14), transparent 70%); }
.nf__inner { display: grid; justify-items: center; }
.nf__code { font: 800 clamp(6rem, 18vw, 11rem) var(--font-head); line-height: 1; margin: 0 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }
.nf__code span { display: inline-block; animation: wobble 3s ease-in-out infinite; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
@keyframes wobble { 50% { transform: rotate(-12deg) translateY(-6px); } }
.nf .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #aab4cf; padding: 70px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid p { margin-top: 16px; max-width: 320px; }
.footer__h { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--teal-300); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #dde3f2; transition: background .2s, color .2s, transform .3s var(--ease); }
.social a:hover { background: var(--teal-500); color: var(--dark); transform: translateY(-3px); }
.footer__bottom { margin-top: 50px; padding: 22px 0 90px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a, .footer__legal button { color: #aab4cf; }
.footer__legal a:hover, .footer__legal button:hover { color: #fff; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; height: 60px; min-width: 60px; padding: 0 15px; border-radius: 999px; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(14, 143, 76, .7); transition: transform .3s var(--ease), box-shadow .3s; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -8px rgba(14, 143, 76, .8); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; }
.wa-float__label { font: 600 .95rem var(--font-head); max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 120px; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }

/* ---------- Aviso de cookies ---------- */
.cookie { position: fixed; left: 22px; bottom: 22px; z-index: 65; width: min(420px, calc(100% - 44px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: .9rem; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s var(--ease); }
.cookie.is-on { opacity: 1; transform: none; }
.cookie p { margin: 0 0 14px; }
.cookie a { color: var(--blue-700); text-decoration: underline; }
.cookie__btns { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Modal de oferta (visitantes de anuncios) ---------- */
.promo { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(6, 10, 26, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.promo.is-open { opacity: 1; }
.promo__card { position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 34px 30px 26px; text-align: center; transform: translateY(24px) scale(.97); transition: transform .4s var(--ease); }
.promo__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); border-radius: 22px 22px 0 0; }
.promo.is-open .promo__card { transform: none; }
.promo__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--ink-2); font-size: 1rem; cursor: pointer; transition: background .2s; }
.promo__close:hover { background: var(--line); }
.promo__img { width: 120px; height: 120px; object-fit: contain; margin: -6px auto 8px; }
.promo__badge { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; background: rgba(23, 195, 178, .15); color: var(--teal-600); margin-bottom: 12px; }
.promo h2 { font: 800 1.75rem/1.15 var(--font-head); color: var(--ink); margin: 0 0 12px; }
.promo__text { margin: 0 0 18px; }
.promo__text strong { color: var(--blue-700); }
.promo__code { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 20px; padding: 12px; border: 2px dashed var(--blue-500); border-radius: var(--radius-sm); background: var(--bg-alt); }
.promo__code span { font-size: .85rem; color: var(--muted); }
.promo__code strong { font: 800 1.3rem var(--font-head); letter-spacing: .08em; color: var(--blue-700); }
.promo__cta { width: 100%; justify-content: center; }
.promo__later { display: block; margin: 14px auto 0; font-size: .9rem; color: var(--muted); }
.promo__note { margin: 14px 0 0; font-size: .78rem; color: var(--muted); }

/* ---------- Visor de imágenes ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6, 10, 26, .92); display: grid; place-items: center; padding: 30px 70px; opacity: 0; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; }
.lightbox figcaption { color: #dde3f2; text-align: center; margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 18px; right: 18px; font-size: 1.1rem !important; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Animación al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease), box-shadow .35s; transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
.js .reveal.is-visible:hover { transition-delay: 0ms; }
.js .work.reveal.is-visible:hover, .js .plan.reveal.is-visible:hover, .js .card.reveal.is-visible:hover { transform: translateY(-6px); }
.js .plan--featured.reveal.is-visible { transform: translateY(-10px); }
.js .review.reveal.is-visible:hover { transform: translateY(-4px); }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid--4, .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--featured, .js .plan--featured.reveal.is-visible { transform: none; }
  .included ul { grid-template-columns: repeat(2, 1fr); }
  .works:not(.works--fit), .posts:not(.posts--2), .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .seo, .project__body { grid-template-columns: 1fr; gap: 36px; }
  .seo__aside, .project__aside { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    background: #fff; padding: 10px 20px 30px;
    opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: 40ms; } .nav.is-open a:nth-child(3) { transition-delay: 80ms; } .nav.is-open a:nth-child(4) { transition-delay: 120ms; } .nav.is-open a:nth-child(5) { transition-delay: 160ms; } .nav.is-open a:nth-child(6) { transition-delay: 200ms; }
  .nav a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .lang { align-self: flex-start; margin-top: 14px; border: 1px solid var(--line); padding: 8px 14px; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; }
  .hero { padding: 44px 0 64px; }
  .hero__inner, .why, .cta__inner, .project__head, .svc-hero { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { min-height: 0; }
  .mascot--hero { width: min(380px, 80%); }
  .steps--icons li { grid-template-columns: 80px 1fr; }
  .steps--icons .steps__n { display: none; }
  .steps--icons .steps__img { width: 72px; height: 72px; margin: 0; grid-row: span 2; }
  .steps--icons::before { left: 36px; top: 36px; bottom: 36px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--blue-700), var(--teal-500)); }
  .steps li { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .steps__n { margin: 0; grid-row: span 2; }
  .steps p { margin: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .section--tight { padding: 52px 0; }
  .band { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
}
@media (max-width: 600px) {
  .grid--4, .grid--3, .plans, .works, .works--fit, .posts, .why__list, .included ul, .results, .gallery { grid-template-columns: 1fr; }
  .post__cta { flex-direction: column; align-items: flex-start; }
  .float-card { font-size: .78rem; padding: 8px 12px; }
  .float-card__icon { width: 24px; height: 24px; }
  .band__mascot { display: none; }
  .cta__mascot .mascot { width: 110px; }
  .hero__actions .btn, .band__btns .btn { width: 100%; }
  .form { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .included { padding: 26px 22px; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager__all { display: none; }
  .wa-float { right: 16px; bottom: 16px; height: 56px; min-width: 56px; padding: 0 13px; }
  .wa-dock { right: 16px; bottom: 16px; }
  .wa-numbers .wa-big { flex: 1 1 100%; }
  .cookie { left: 12px; bottom: 84px; width: calc(100% - 24px); }
  .lightbox { padding: 20px 10px; }
  .lightbox__nav { top: auto !important; bottom: 20px; transform: none !important; }
  .reviews { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero__in, .js .hero__visual { opacity: 1; transform: none; filter: none; }
  .js .hero__title .w > span { transform: none; }
  .mascot--hero, .float-card { opacity: 1; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden] { display: none; }
}
