/* ==========================================================================
   IT Support Plus LLC — Hoja de estilos principal
   Colores de marca en :root (modo oscuro) y [data-theme="light"].
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700 800; font-style: normal; font-display: swap; }

:root {
  --bg: #05070b;
  --bg-2: #090d14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: #0c111a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --text-2: #c3cad6;
  --muted: #8f9aac;
  --accent: #2f7dff;          /* azul eléctrico */
  --accent-2: #5aa2ff;
  --accent-text: #6eb0ff;     /* azul para texto sobre fondo oscuro */
  --btn: #1f66f0;             /* fondo de botón (contraste AA con blanco) */
  --btn-hover: #1858d6;
  --gold: #d8ab4f;            /* dorado de la marca */
  --gold-2: #f3d58c;
  --gold-text: #e2b862;
  --danger: #ff6b6b;
  --ok: #3ddc97;
  --glow: rgba(47, 125, 255, 0.35);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-2: #ffffff;
  --surface-solid: #ffffff;
  --border: rgba(12, 24, 48, 0.09);
  --border-strong: rgba(12, 24, 48, 0.18);
  --text: #0b1220;
  --text-2: #2b3648;
  --muted: #536077;
  --accent: #1f66f0;
  --accent-2: #3b82f6;
  --accent-text: #1757d6;
  --btn: #1a5fe6;
  --btn-hover: #1452cc;
  --gold: #a8792a;
  --gold-2: #c8952f;
  --gold-text: #8a6214;
  --danger: #c62828;
  --glow: rgba(31, 102, 240, 0.18);
  --shadow: 0 18px 50px -24px rgba(16, 32, 64, 0.35);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
body::before { /* iluminación ambiental */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47,125,255,.12), transparent 60%),
    radial-gradient(700px 400px at -10% 10%, rgba(216,171,79,.06), transparent 60%);
}
[data-theme="light"] body::before { background: radial-gradient(900px 500px at 85% -10%, rgba(31,102,240,.08), transparent 60%); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; }
h3, .h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--btn); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 2.5rem); }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section.pt-0 { padding-top: 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-2) 12%, var(--bg-2) 88%, transparent); }
[data-theme="light"] .section-alt { background: linear-gradient(180deg, transparent, #eef2f9 12%, #eef2f9 88%, transparent); }
.center { text-align: center; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.i { width: 24px; height: 24px; flex: none; }
.i-sm { width: 18px; height: 18px; }
.i-xs { width: 15px; height: 15px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.25rem; border-radius: 999px; border: 1px solid var(--b);
  font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); border-color: transparent; color: #fff; box-shadow: 0 8px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--btn-hover); color: #fff; box-shadow: 0 10px 40px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.2); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); background: var(--surface-2); }
.btn-lg { padding: .95rem 1.5rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
.form-status .btn { white-space: normal; }
.btn-wa { background: #168a46; box-shadow: 0 8px 30px -10px rgba(22,138,70,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-wa:hover { background: #127a3d; box-shadow: 0 10px 40px -8px rgba(22,138,70,.6), inset 0 1px 0 rgba(255,255,255,.2); }
.wa-hint { margin-top: .7rem; text-align: center; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn-row.center { justify-content: center; }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.linklike:hover { color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 85%, transparent); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); flex: none; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 12px rgba(216,171,79,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.brand-name b { color: var(--gold-text); font-weight: 700; }
.brand-tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: .5rem .75rem; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.sub-toggle { background: none; border: 0; color: var(--muted); padding: .3rem; margin-left: -.5rem; cursor: pointer; border-radius: 8px; }
.sub-toggle .i { transition: transform .2s; }
.has-sub.open .sub-toggle .i { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: -1rem; width: 340px; list-style: none; padding: .5rem;
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.sub a { display: flex; gap: .7rem; align-items: center; padding: .6rem .7rem; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: .92rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.sub a .i { color: var(--accent-2); }
.sub strong { font-weight: 600; }
.sub-all { border-top: 1px solid var(--border); margin-top: .35rem; padding-top: .35rem; }
.sub-all a { color: var(--accent-text); font-weight: 600; }
.nav-tools { display: flex; align-items: center; gap: .5rem; }
.lang-switch, .theme-toggle, .menu-toggle {
  display: inline-flex; align-items: center; gap: .35rem; height: 40px; padding: 0 .7rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; text-decoration: none; font-weight: 600; font-size: .85rem;
}
.lang-switch:hover, .theme-toggle:hover, .menu-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle { width: 40px; padding: 0; justify-content: center; }
.icon-sun { display: none; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }
.menu-toggle { display: none; width: 40px; padding: 0; justify-content: center; }
.menu-toggle .icon-close { display: none; }
.nav-open .menu-toggle .icon-close { display: block; }
.nav-open .menu-toggle .icon-open { display: none; }
.nav-mobile-cta { display: none !important; }

@media (max-width: 1080px) {
  .nav-cta { display: none; }
  .nav-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; order: 3; }
  /* backdrop-filter crea un contenedor para elementos "fixed": se quita mientras el menú está abierto
     para que el menú ocupe toda la pantalla y no quede cortado detrás del contenido */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--bg); padding: 1.25rem 1.25rem 2rem;
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-list > li > a { flex: 1; font-size: 1.15rem; padding: .85rem 1rem; }
  .sub-toggle { margin: 0; padding: .8rem; }
  .sub { position: static; width: 100%; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; margin: .25rem 0 .5rem; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .nav-mobile-cta { display: block !important; margin-top: 1rem; }
  .nav-mobile-cta .btn { width: 100%; font-size: 1.05rem; }
}
@media (max-width: 520px) { .brand-tag { display: none; } .lang-switch span { display: none; } .hero .eyebrow { font-size: .68rem; letter-spacing: .1em; } }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text);
}
.eyebrow.small { font-size: .7rem; margin-bottom: .5rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-2); line-height: 1.6; }
.grad { background: linear-gradient(100deg, var(--accent-2) 0%, var(--accent) 40%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="light"] .grad { background: linear-gradient(100deg, #1757d6, #1f66f0 45%, #a8792a); -webkit-background-clip: text; background-clip: text; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(860px, calc(100vh - var(--header-h))); display: flex; align-items: center; padding: clamp(3rem, 7vw, 5rem) 0; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); opacity: .5;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.4rem; font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.hero h1 span { display: block; }
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--text-2); max-width: 600px; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; margin-top: 2rem; color: var(--muted); font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points .i { color: var(--ok); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }

.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
.orb { position: absolute; inset: 0; }
.orb-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-lines line { stroke: var(--accent-2); stroke-width: 1; stroke-dasharray: 4 6; opacity: .45; animation: dash 6s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes dash { to { stroke-dashoffset: -100; } }
.orb-ring { position: absolute; left: 50%; top: 54%; border-radius: 50%; border: 1px solid var(--border-strong); transform: translate(-50%, -50%); }
.orb-ring.r1 { width: 46%; height: 46%; border-color: rgba(216,171,79,.35); box-shadow: 0 0 60px rgba(216,171,79,.15), inset 0 0 40px rgba(216,171,79,.08); }
.orb-ring.r2 { width: 70%; height: 70%; border-style: dashed; animation: spin 60s linear infinite; }
.orb-ring.r3 { width: 96%; height: 96%; border-color: rgba(47,125,255,.18); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orb-core { position: absolute; left: 50%; top: 54%; width: 34%; transform: translate(-50%, -50%); filter: drop-shadow(0 0 30px rgba(216,171,79,.45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-50%, -54%); } }
.orb-node {
  position: absolute; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface-solid) 80%, transparent); border: 1px solid var(--border-strong); color: var(--accent-2);
  box-shadow: 0 0 24px -4px var(--glow); backdrop-filter: blur(6px); animation: bob 5s ease-in-out infinite;
}
.orb-node.n0 { left: 40%; top: 18%; animation-delay: 0s; }
.orb-node.n1 { left: 86%; top: 30%; animation-delay: .6s; }
.orb-node.n2 { left: 92%; top: 70%; animation-delay: 1.2s; }
.orb-node.n3 { left: 56%; top: 92%; animation-delay: 1.8s; }
.orb-node.n4 { left: 10%; top: 74%; animation-delay: 2.4s; }
.orb-node.n5 { left: 6%; top: 34%; animation-delay: 3s; }
@keyframes bob { 50% { transform: translateY(-6px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; order: -1; margin-bottom: -1rem; }
  .orb-node { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 11px; }
}

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; list-style: none; font-size: .85rem; color: var(--muted); margin-bottom: 1.8rem; }
.breadcrumb li { display: flex; align-items: center; gap: .3rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ---------- Layout helpers ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.gap-lg { gap: 1.5rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split.align-center { align-items: center; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s, background .3s;
}
[data-theme="light"] .card { box-shadow: 0 1px 2px rgba(16,32,64,.04); }
.card-service:hover, .audience:hover, .value:hover, .sol:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-3px); box-shadow: 0 20px 50px -25px var(--glow); }
.card-service::before { /* brillo que sigue al cursor (posición vía JS) */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(47,125,255,.12), transparent 40%);
}
.card-service:hover::before { opacity: 1; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--text-2); font-size: .98rem; }
.card-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--accent-2);
  background: linear-gradient(160deg, rgba(47,125,255,.18), rgba(47,125,255,.04)); border: 1px solid rgba(47,125,255,.25);
}
[data-theme="light"] .card-icon { color: var(--accent); }
.card-service { display: flex; flex-direction: column; }
.card-service h3 a { color: var(--text); text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-foot { margin-top: auto; padding-top: .8rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0; }
.price-chip { font-size: .82rem; font-weight: 600; color: var(--gold-text); background: rgba(216,171,79,.1); border: 1px solid rgba(216,171,79,.25); padding: .25rem .6rem; border-radius: 999px; }
.price-chip.muted { color: var(--muted); background: var(--surface-2); border-color: var(--border); }
.more { display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; font-weight: 600; color: var(--accent-text); }
.card-service:hover .more .i { transform: translateX(3px); }
.more .i { transition: transform .2s; }
.panel h2 { display: flex; align-items: center; gap: .55rem; }
.panel-accent { border-color: rgba(47,125,255,.28); background: linear-gradient(160deg, rgba(47,125,255,.08), var(--surface)); }

.checklist { list-style: none; display: grid; gap: .7rem; margin: 1rem 0 1.4rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text-2); }
.checklist .i { color: var(--ok); margin-top: .2rem; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem; }
@media (max-width: 640px) { .checklist.cols-2 { grid-template-columns: 1fr; } }
.xlist { list-style: none; display: grid; gap: .7rem; margin-top: 1rem; }
.xlist li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text-2); }
.xlist .i { color: var(--danger); margin-top: .3rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem 2rem; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .feature-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid, .feature-grid.three { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 1rem; }
.feature-icon { color: var(--gold-text); width: 26px; height: 26px; margin-top: .15rem; }
.feature h3 { font-size: 1.06rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Media */
.media-frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.media-frame.tall img { aspect-ratio: 3 / 4; }
.media-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5,7,11,.35)); pointer-events: none; }
.svc-visual { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(47,125,255,.22), transparent 60%), var(--surface); }
.svc-visual-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%); }
.svc-visual-icon { position: relative; z-index: 1; width: 120px; height: 120px; border-radius: 32px; display: grid; place-items: center; color: var(--accent-2); background: color-mix(in srgb, var(--surface-solid) 70%, transparent); border: 1px solid rgba(47,125,255,.35); box-shadow: 0 0 80px -10px var(--glow); }
.svc-visual-icon .i { width: 56px; height: 56px; }

/* Tech list */
.tech-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; max-width: 900px; margin: 0 auto; }
.tech-list li { padding: .6rem 1.1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-2); font-weight: 500; font-size: .95rem; }

/* Audience */
.audience { display: flex; flex-direction: column; }
.audience .btn { align-self: flex-start; margin-top: auto; }

/* Area */
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.area-list li { display: flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 500; }
.area-list li .i { color: var(--gold-text); }
.area-list.compact li { padding: .35rem .8rem; font-size: .9rem; }
.area-map { max-width: 440px; justify-self: center; width: 100%; }
.map-county { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1.2; stroke-dasharray: 4 4; }
.map-link { fill: rgba(47,125,255,.06); stroke: var(--accent); stroke-width: 1; opacity: .6; }
.map-dot { fill: var(--gold); }
.map-ping { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.map-pt.p1 .map-ping { animation-delay: .4s; } .map-pt.p2 .map-ping { animation-delay: .8s; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.map-svg text { fill: var(--text-2); font-size: 13px; font-weight: 600; font-family: inherit; }
.map-svg .map-label { fill: var(--muted); font-size: 10px; letter-spacing: .2em; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.step { padding: 1.6rem; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); position: relative; }
.step-n { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--gold-text); letter-spacing: .1em; margin-bottom: .9rem; padding: .2rem .55rem; border: 1px solid rgba(216,171,79,.3); border-radius: 8px; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Finder teaser */
.finder-teaser { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 2rem; border-color: rgba(47,125,255,.3); background: linear-gradient(120deg, rgba(47,125,255,.12), rgba(216,171,79,.05)), var(--surface); }
.finder-teaser h2 { font-size: 1.5rem; margin-bottom: .25rem; }
.finder-teaser p { margin: 0; color: var(--text-2); }
.finder-teaser-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--btn); color: #fff; box-shadow: 0 10px 30px -8px var(--glow); }
.finder-teaser-icon .i { width: 30px; height: 30px; }
@media (max-width: 760px) { .finder-teaser { grid-template-columns: 1fr; text-align: left; } }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(47,125,255,.35); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { transition: transform .25s; color: var(--muted); flex: none; }
.faq-item[open] .faq-chev { transform: rotate(180deg); color: var(--accent-2); }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--text-2); }
.faq-a p { margin: 0; }

/* Pricing */
.pricing { display: grid; gap: .75rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.price-label { font-weight: 600; margin: 0; }
.price-note { color: var(--muted); font-size: .9rem; margin: .15rem 0 0; }
.price-value { margin: 0; font-weight: 700; font-size: 1.15rem; color: var(--gold-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-disclaimer { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.price-disclaimer .i { margin-top: .25rem; }
@media (max-width: 560px) { .price-row { flex-direction: column; align-items: flex-start; gap: .5rem; } }

/* CTA band */
.cta-band { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.cta-inner { position: relative; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem); border-radius: 32px; border: 1px solid var(--border-strong); overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 300px at 50% 0%, rgba(47,125,255,.22), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.cta-glow { position: absolute; inset: -1px; z-index: -1; background: radial-gradient(500px 180px at 50% 110%, rgba(216,171,79,.16), transparent 70%); }
.cta-inner h2 { max-width: 760px; margin-inline: auto; }
.cta-inner > p { color: var(--text-2); max-width: 620px; margin-inline: auto; font-size: 1.1rem; }

/* Founder */
.founder { margin: 0; position: relative; max-width: 460px; justify-self: center; }
.founder img { position: relative; z-index: 1; width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.founder-glow { position: absolute; inset: 15% 5% 0; border-radius: 50% 50% 30px 30px; background: radial-gradient(circle at 50% 40%, rgba(216,171,79,.35), rgba(47,125,255,.15) 50%, transparent 70%); filter: blur(10px); }
.founder figcaption { position: relative; z-index: 2; margin: -2.5rem auto 0; width: max-content; max-width: 100%; padding: .7rem 1.2rem; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--border); display: flex; flex-direction: column; text-align: center; }
.founder figcaption span { color: var(--muted); font-size: .88rem; }
.prose p { color: var(--text-2); font-size: 1.06rem; }
.value h3 { font-size: 1.08rem; }

/* Projects */
.project { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; }
.project-img.ph { display: grid; place-items: center; position: relative; background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 12px, transparent 12px, transparent 24px), radial-gradient(circle, rgba(47,125,255,.12), transparent 70%); border-bottom: 1px dashed var(--border-strong); color: var(--accent-2); }
.project-img.ph .i { width: 44px; height: 44px; opacity: .8; }
.project-img.ph .ph-small { position: absolute; right: 14px; bottom: 14px; width: 20px; height: 20px; color: var(--muted); }
.project-body { padding: 1.4rem 1.5rem 1.6rem; }
.placeholder h3 { color: var(--text-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 1rem; }
.contact-aside .media-frame img { aspect-ratio: 16 / 11; object-position: center 20%; }
.quick-list { display: grid; gap: .6rem; }
.quick { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: 14px; text-decoration: none; color: var(--text); background: var(--surface); transition: border-color .2s, background .2s; }
.quick:hover { border-color: var(--accent); color: var(--text); }
.quick .i { color: var(--accent-2); }
.quick span { display: flex; flex-direction: column; line-height: 1.3; }
.quick small { color: var(--muted); }
.contact-list { list-style: none; display: grid; gap: .65rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-2); font-size: .95rem; }
.contact-list .i { color: var(--gold-text); margin-top: .2rem; }
.contact-list a { color: var(--text-2); text-decoration: none; }
.contact-list a:hover { color: var(--text); }
.missing { display: inline-block; font-size: .78rem; color: #f5b14c; border: 1px dashed rgba(245,177,76,.5); padding: .1rem .45rem; border-radius: 6px; background: rgba(245,177,76,.06); }
[data-theme="light"] .missing { color: #8a5a00; }

/* Forms */
.quote-form { padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-title { font-size: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .92rem; color: var(--text); }
.req { color: var(--danger); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--bg-2);
  transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
[data-theme="light"] input[type="text"], [data-theme="light"] input[type="email"], [data-theme="light"] input[type="tel"], [data-theme="light"] select, [data-theme="light"] textarea { background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,125,255,.2); }
textarea { resize: vertical; min-height: 130px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.err { color: var(--danger); font-size: .85rem; margin: 0; min-height: 0; }
.err:empty { display: none; }
.hint { color: var(--muted); font-size: .82rem; margin: 0; }
.segmented { flex-direction: row; flex-wrap: wrap; gap: .6rem; }
.segmented legend { width: 100%; margin-bottom: .4rem; }
.segmented label { flex: 1 1 180px; display: flex; align-items: center; gap: .55rem; padding: .8rem 1rem; border: 1px solid var(--border-strong); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
.segmented label:has(input:checked) { border-color: var(--accent); background: rgba(47,125,255,.1); }
.segmented input { accent-color: var(--accent); }
.segmented .err { width: 100%; }
.check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; color: var(--text-2); font-size: .92rem; }
.check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: 0; border-radius: 12px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { padding: 1rem 1.1rem; background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.4); color: var(--text); }
.form-status.error { padding: 1rem 1.1rem; background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.4); color: var(--text); }
.form-status .fallback { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.form-prefill { display: flex; gap: .5rem; align-items: center; color: var(--accent-text); font-size: .9rem; }

/* Finder */
.finder { padding: clamp(1.4rem, 4vw, 2.5rem); overflow: hidden; }
.finder-progress { height: 4px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-bottom: 1rem; }
.finder-progress span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 4px; transition: width .4s var(--ease); }
.finder-count { color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .08em; }
.finder-step { border: 0; padding: 0; margin: 0; min-width: 0; animation: fadeUp .35s var(--ease); }
.finder-q { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; margin-bottom: 1.4rem; padding: 0; outline: none; }
.finder-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-box { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); font-weight: 500; transition: border-color .2s, background .2s, transform .2s; height: 100%; }
.opt-box .i { color: var(--accent-2); }
.opt:hover .opt-box { border-color: var(--accent); }
.opt input:checked + .opt-box { border-color: var(--accent); background: rgba(47,125,255,.12); box-shadow: 0 0 0 1px var(--accent) inset; }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.finder-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.finder-nav [data-next] { margin-left: auto; }
.finder-err { margin-top: 1rem; }
.finder-result { animation: fadeUp .4s var(--ease); outline: none; }
.finder-recs { display: grid; gap: .8rem; margin: 1.2rem 0; }
.rec { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--text); }
.rec:hover { border-color: var(--accent); color: var(--text); }
.rec.primary { border-color: rgba(47,125,255,.5); background: linear-gradient(120deg, rgba(47,125,255,.14), var(--surface)); }
.rec .badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .2rem; }
.rec h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.rec p { margin: 0; color: var(--text-2); font-size: .95rem; }
.rec .i { color: var(--accent-2); margin-top: .2rem; }
.finder-urgent { display: flex; gap: .5rem; align-items: center; color: #f5b14c; font-weight: 500; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Legal */
.draft-note { display: flex; gap: .6rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 12px; border: 1px dashed rgba(245,177,76,.55); background: rgba(245,177,76,.06); color: var(--text-2); font-size: .95rem; }
.draft-note .i { color: #f5b14c; margin-top: .15rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }

/* 404 */
.nf { padding: clamp(4rem, 12vw, 9rem) 0; text-align: center; }
.nf-inner { max-width: 720px; }
.nf-code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .1em; background: linear-gradient(180deg, var(--text), var(--muted)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-code span { display: inline-grid; place-items: center; width: .8em; height: .8em; border-radius: 50%; border: 3px solid var(--accent); color: var(--accent-2); box-shadow: 0 0 40px var(--glow); }
.nf-code span .i { width: .45em; height: .45em; opacity: .5; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 2rem; background: linear-gradient(180deg, transparent, var(--bg-2)); }
[data-theme="light"] .site-footer { background: linear-gradient(180deg, transparent, #eef2f9); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.footer-brand img { width: 240px; height: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 340px; }
.footer-h { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.site-footer ul:not(.contact-list) { list-style: none; display: grid; gap: .55rem; }
.site-footer ul:not(.contact-list) a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.site-footer ul:not(.contact-list) a:hover { color: var(--text); }
.socials a { color: var(--text-2); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: grid; gap: .5rem; color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-links a { color: var(--muted); }
.trademarks { font-size: .76rem; opacity: .85; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #168a46; color: #fff; box-shadow: 0 10px 30px -6px rgba(22,138,70,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Consentimiento de cookies */
.consent { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200; max-width: 560px; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--border-strong); box-shadow: var(--shadow); display: grid; gap: .8rem; }
.consent p { margin: 0; font-size: .92rem; color: var(--text-2); }
.consent-actions { display: flex; gap: .6rem; justify-content: flex-end; }
.consent[hidden] { display: none; }

/* Reseñas reales */
.review { margin: 0; display: flex; flex-direction: column; gap: .8rem; }
.review blockquote { margin: 0; }
.review blockquote p { color: var(--text); font-size: 1.02rem; margin: 0; }
.review figcaption { display: flex; flex-direction: column; margin-top: auto; font-size: .92rem; }
.review figcaption span { color: var(--muted); font-size: .84rem; }
.stars { color: #f5b400; letter-spacing: 2px; font-size: 1.05rem; }
.review-link { margin-top: 2rem; }
.review-link .i { flex: none; }

/* Áreas, guías y pie */
.area-list a { color: var(--text); text-decoration: none; }
.area-list a:hover { color: var(--accent-text); }
.area-list.centered { justify-content: center; }
.area-more { margin-top: 1.2rem; font-weight: 600; }
.area-more a { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; }
.article h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.article .checklist { margin-top: .6rem; }
.more-guides { margin-top: 3rem; }
.guide-links { list-style: none; display: grid; gap: .6rem; }
.guide-links a { font-weight: 500; }
.footer-areas { margin-top: 2.2rem; color: var(--muted); font-size: .9rem; }
.footer-areas p { margin: 0; }
.footer-areas strong { color: var(--text); font-weight: 600; }
.footer-areas a { color: var(--muted); text-decoration: none; }
.footer-areas a:hover { color: var(--text); }

/* Animaciones al hacer scroll (solo si JS está activo) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}
@media print {
  .site-header, .site-footer, .wa-float, .consent, .hero-canvas, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}
