/* =====================================================================
   TALLER MOTO ELÉCTRICA · Sistema de diseño
   Azul eléctrico + negro carbón sobre blanco. Cero dependencias externas.
   ===================================================================== */

:root {
  /* Paleta */
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-soft-2: #eef1f8;
  --ink: #0c1220;
  --ink-2: #38414f;
  --ink-3: #5b6472;
  --line: #e3e8f0;
  --line-2: #d3dae6;

  --primary: #1f4dff;        /* azul eléctrico */
  --primary-600: #163fe0;
  --primary-700: #1233b8;
  --primary-050: #ecf0ff;
  --primary-100: #dbe4ff;

  --accent: #00c2ff;         /* cian eléctrico, uso puntual */
  --carbon: #0a0e18;         /* negro carbón */
  --carbon-2: #10162a;

  --wa: #25D366;             /* verde WhatsApp oficial */
  --star: #f5a524;

  --ok: #12805c;
  --warn: #b45309;

  /* Tipografía */
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", BlinkMacSystemFont, sans-serif;

  /* Escala / medidas */
  --header-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(12,18,32,.06), 0 2px 8px rgba(12,18,32,.05);
  --shadow: 0 8px 30px rgba(12,18,32,.09);
  --shadow-lg: 0 24px 60px rgba(12,18,32,.16);
  --shadow-primary: 0 12px 34px rgba(31,77,255,.28);
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------ Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--primary-100); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 100000;
  background: var(--primary); color: #fff; padding: 12px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------- Layout base --------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section-soft { background: var(--bg-soft); }
.section-soft-2 { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-soft-2) 100%); }
.section-dark {
  background: radial-gradient(120% 120% at 15% 0%, #16203f 0%, var(--carbon-2) 45%, var(--carbon) 100%);
  color: #dfe4f2;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.below-fold { content-visibility: auto; contain-intrinsic-size: 1px 900px; }

.prose { max-width: 72ch; margin-inline: auto; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.5rem, 3vw, 2.05rem); }
.prose h3 { margin-top: 1.4em; font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .eyebrow::before { background: var(--accent); }

.section-header { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section-header h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-top: .7rem; }
.section-header .lead { margin-top: 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); line-height: 1.6; }
.section-dark .lead { color: #b9c1d6; }

/* ------------------------------ Botones ---------------------------- */
.btn {
  --btn-py: .95rem; --btn-px: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--btn-py) var(--btn-px); border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  line-height: 1; letter-spacing: -0.01em; text-align: center;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { --btn-py: 1.15rem; --btn-px: 2rem; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(31,77,255,.36); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.32); }
.btn-wa:hover { background: #1fbe5b; color: #fff; transform: translateY(-2px); }
.btn-wa svg { fill: #fff; }

.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--line-2); }
.btn-ghost:hover { background: var(--primary-050); border-color: var(--primary); color: var(--primary-700); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { color: var(--primary-700); transform: translateY(-2px); }

/* Variantes automáticas sobre fondo oscuro */
.section-dark .btn-ghost, .cta-final .btn-ghost, .cta-band .btn-ghost, .hero .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.34);
}
.section-dark .btn-ghost:hover, .cta-final .btn-ghost:hover, .cta-band .btn-ghost:hover, .hero .btn-ghost:hover {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.75); color: #fff;
}

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --------------------------- Breadcrumb ---------------------------- */
.breadcrumb { padding-top: calc(var(--header-h) + 1.4rem); padding-bottom: .4rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; font-size: .86rem; color: var(--ink-3); }
.breadcrumb li { display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "›"; color: var(--line-2); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
.section-dark .breadcrumb a, .section-dark .breadcrumb { color: #9aa4be; }
.section-dark .breadcrumb [aria-current="page"] { color: #fff; }

/* ------------------------------ Header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(12,18,32,.06); }
.nav-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--primary) 0%, #3a67ff 60%, var(--accent) 130%); display: grid; place-items: center; box-shadow: var(--shadow-primary); flex: none; }
.brand-mark svg { width: 22px; height: 22px; fill: #fff; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }
.brand b { display: block; line-height: 1.05; }

.nav-menu { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .85rem;
  border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  color: var(--ink-2); white-space: nowrap; transition: color .15s, background .15s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--primary); background: var(--primary-050); }
.nav-link[aria-current="page"] { color: var(--primary); }
.nav-caret { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: .55rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-item.is-open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a { display: block; padding: .6rem .8rem; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.nav-dropdown-menu a:hover { background: var(--primary-050); color: var(--primary); }
.nav-dropdown-menu small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .96rem; }
.nav-phone:hover { color: var(--primary); }
.nav-phone svg { width: 18px; height: 18px; fill: var(--primary); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); place-items: center; }
.nav-toggle .bars { position: relative; width: 22px; height: 15px; }
.nav-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2.4px; background: var(--ink); border-radius: 3px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6.3px; }
.nav-toggle .bars span:nth-child(3) { top: 12.6px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

.nav-backdrop { display: none; }

@media (max-width: 1024px) {
  .nav-toggle { display: grid; }
  .nav-actions .nav-phone { display: none; }
  .nav-menu {
    position: fixed; top: var(--header-h); right: 0; width: min(88vw, 380px);
    height: calc(100vh - var(--header-h)); max-height: calc(100vh - var(--header-h));
    overflow-y: auto; flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 1rem; transform: translateX(105%); transition: transform .32s var(--ease);
    z-index: 1001;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-link { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 12px; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-radius: 0; padding: 0 0 .4rem .6rem; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .nav-item.is-open .nav-dropdown-menu { max-height: 620px; }
  .nav-dropdown:hover .nav-dropdown-menu:not(.forced) { max-height: 0; }
  .nav-item.is-open .nav-dropdown-menu { max-height: 620px; }
  .nav-mobile-cta { display: block; margin-top: .8rem; }
  .nav-backdrop.is-open { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(8,12,22,.42); z-index: 1000; }
  body.nav-open { overflow: hidden; }
}
.nav-mobile-cta { display: none; }

/* ------------------------------- Hero ------------------------------ */
.hero {
  position: relative; overflow: hidden; color: #e9ecf7;
  background: radial-gradient(130% 120% at 80% -10%, #1c2f66 0%, #101833 42%, var(--carbon) 100%);
  padding-top: calc(var(--header-h) + clamp(2.4rem, 6vw, 4.2rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(120,150,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,255,.06) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(90% 80% at 70% 10%, #000 0%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -120px; z-index: 0;
  background: radial-gradient(circle, rgba(0,194,255,.22), transparent 62%); filter: blur(10px); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4rem); line-height: 1.03; }
.hero h1 .grad { background: linear-gradient(100deg, #7ea0ff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b9c2dc; margin-top: 1.2rem; max-width: 40ch; }
.hero-entity { margin-top: 1.3rem; font-size: .96rem; color: #97a2c2; max-width: 52ch; border-left: 2px solid rgba(126,160,255,.4); padding-left: 1rem; }
.hero-entity strong { color: #dfe5f6; }
.hero .btn-row { margin-top: 1.9rem; }
.hero-rating { margin-top: 1.6rem; display: inline-flex; align-items: center; gap: .7rem; font-size: .92rem; color: #c3cbe4; }
.hero-rating .stars { color: var(--star); }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.hero-media .float-card {
  position: absolute; bottom: -22px; left: -22px; background: #fff; color: var(--ink);
  border-radius: 16px; padding: .95rem 1.15rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem;
}
.hero-media .float-card .fc-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--primary); line-height: 1; }
.hero-media .float-card small { color: var(--ink-3); font-size: .78rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: #cdd4ec; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: .4rem .8rem; border-radius: 999px; }

/* --------------------------- Barra confianza ----------------------- */
.trust { background: var(--carbon); color: #dfe4f2; padding-block: clamp(1.6rem, 3vw, 2.2rem); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.trust-item { display: flex; align-items: center; gap: .85rem; }
.trust-item svg { width: 30px; height: 30px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.trust-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: #fff; }
.trust-item small { color: #9aa4c2; font-size: .82rem; }

/* ------------------------------ Servicios -------------------------- */
.cards-grid { display: grid; gap: 1.4rem; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--primary-050); display: grid; place-items: center; margin-bottom: 1.1rem; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.22rem; }
.service-card p { color: var(--ink-2); margin-top: .55rem; font-size: .97rem; }
.service-card .card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--primary); }
.service-card .card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .card-link svg { transform: translateX(4px); }
.service-card--featured { background: linear-gradient(150deg, #16203f, var(--carbon)); color: #dfe4f2; border-color: transparent; }
.service-card--featured h3 { color: #fff; }
.service-card--featured p { color: #b3bcd8; }
.service-card--featured .service-icon { background: rgba(0,194,255,.14); }
.service-card--featured .service-icon svg { stroke: var(--accent); }
.service-card--featured .card-link { color: var(--accent); }
.service-tag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ------------------------- Accesos internos ------------------------ */
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.access-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.access-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.access-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.access-card:hover img { transform: scale(1.06); }
.access-card__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,12,22,.15) 0%, rgba(8,12,22,.55) 55%, rgba(8,12,22,.92) 100%); }
.access-card__body { padding: 1.5rem; }
.access-card__body span { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 700; }
.access-card__body h3 { color: #fff; font-size: 1.4rem; margin-top: .4rem; }
.access-card__body p { color: rgba(255,255,255,.82); font-size: .92rem; margin-top: .5rem; }
.access-card__body .card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: #fff; }

/* --------------------------- Ventajas ------------------------------ */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.4rem; list-style: none; padding: 0; }
.feature-item { display: flex; gap: 1rem; }
.feature-item .fi-icon { width: 48px; height: 48px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--primary-050); }
.feature-item .fi-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h3 { font-size: 1.12rem; }
.feature-item p { color: var(--ink-2); font-size: .95rem; margin-top: .3rem; }
.section-dark .feature-item .fi-icon { background: rgba(0,194,255,.14); }
.section-dark .feature-item .fi-icon svg { stroke: var(--accent); }
.section-dark .feature-item p { color: #aab3cd; }

/* ----------------------------- Sobre ------------------------------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; }
.manager-card {
  position: absolute; right: -18px; bottom: 24px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 1rem 1.2rem; max-width: 250px;
}
.manager-card b { font-family: var(--font-display); }
.manager-card small { color: var(--ink-3); display: block; }
.signature { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--primary); font-size: 1.25rem; margin-top: 1.2rem; }

/* --------------------------- Editorial / VS ------------------------ */
.article-body { max-width: 76ch; margin-inline: auto; }
.article-body h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); margin-top: 2.4rem; }
.article-body h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-top: 1.6rem; }
.article-body p, .article-body li { color: var(--ink-2); }
.article-body p + p { margin-top: 1.1rem; }
.article-body p, .article-body ul, .article-body ol { margin-top: 1rem; }
.article-body strong { color: var(--ink); }

.answer-lead { font-size: 1.12rem; color: var(--ink); }
.answer-lead strong { color: var(--ink); }

.tldr { background: var(--primary-050); border: 1px solid var(--primary-100); border-left: 4px solid var(--primary); padding: 1.1rem 1.3rem; margin: 1.4rem 0; border-radius: 12px; }
.tldr-label { font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; font-size: .78rem; text-transform: uppercase; color: var(--primary); margin-bottom: .5rem; }
.tldr ul { margin: 0; padding-left: 1.2rem; }
.tldr li { color: var(--ink-2); margin-top: .3rem; }
.tldr li strong { color: var(--ink); }

.vs-comparison { margin: 1.8rem 0; }
.vs-table-wrap { overflow-x: auto; margin: 1.1rem 0; border-radius: 14px; border: 1px solid var(--line); }
.vs-table { width: 100%; border-collapse: collapse; min-width: 520px; background: #fff; }
.vs-table th, .vs-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.vs-table thead th { background: var(--carbon); color: #fff; font-family: var(--font-display); }
.vs-table thead th:first-child { border-top-left-radius: 0; }
.vs-table tbody th { font-weight: 700; color: var(--ink); background: var(--bg-soft); }
.vs-table td { color: var(--ink-2); }
.vs-table tr:last-child td, .vs-table tr:last-child th { border-bottom: none; }

.callout-box { background: var(--bg-soft); border-radius: 14px; padding: 1.3rem 1.5rem; margin: 1.4rem 0; border: 1px solid var(--line); }
.callout-box h3 { margin-top: 0 !important; }

/* --------------------------- Testimonios --------------------------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.5rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.rating-summary .big { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.rating-summary .stars { color: var(--star); font-size: 1.1rem; letter-spacing: .1em; }
.rating-summary small { color: var(--ink-3); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.review-card .stars { color: var(--star); letter-spacing: .12em; font-size: .95rem; }
.review-card p { color: var(--ink-2); margin-top: .8rem; font-size: .96rem; }
.review-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1rem; flex: none; }
.review-author b { font-size: .95rem; }
.review-author small { display: block; color: var(--ink-3); font-size: .8rem; }

/* ------------------------------- FAQ ------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-item summary .faq-plus::before, .faq-item summary .faq-plus::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-item summary .faq-plus::before { top: 9px; left: 0; width: 20px; height: 2.4px; }
.faq-item summary .faq-plus::after { left: 9px; top: 0; width: 2.4px; height: 20px; }
.faq-item[open] summary .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--ink-2); }
.faq-answer p + p { margin-top: .7rem; }

/* ------------------------------ Zonas ------------------------------ */
.zone-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); font-weight: 600; transition: all .18s; }
a.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-050); }
.section-dark .chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #cdd4ec; }
.section-dark a.chip:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }

/* --------------------- Provincias (grid / hub) --------------------- */
.prov-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.prov-search { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.prov-search input { width: 100%; padding: .95rem 1rem .95rem 2.9rem; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 1rem; }
.prov-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-050); }
.prov-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--ink-3); fill: none; stroke-width: 2; }
.prov-count { color: var(--ink-3); font-size: .92rem; }
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; }
.prov-card { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-family: var(--font-display); font-weight: 700; transition: all .2s var(--ease); }
.prov-card:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.prov-card small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.prov-card:hover small { color: var(--primary-600); }
.prov-card .arrow { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
.prov-empty { display: none; text-align: center; color: var(--ink-3); padding: 2rem; }

/* ------------------------------ Form ------------------------------- */
.lead-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.6rem); }
.lead-form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-group label .req { color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-soft);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-050); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; gap: .65rem; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.form-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.form-check a { text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--ink-3); }
.form-success { display: none; background: #eafaf1; border: 1px solid #b9e6cd; color: var(--ok); border-radius: 12px; padding: 1rem 1.2rem; font-weight: 600; }
.form-success.show { display: block; }
.form-aside { display: grid; gap: 1rem; align-content: start; }
.contact-card { display: flex; gap: .9rem; align-items: flex-start; background: var(--bg-soft); border-radius: 14px; padding: 1.1rem 1.2rem; }
.contact-card svg { width: 24px; height: 24px; flex: none; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.contact-card b { font-family: var(--font-display); display: block; }
.contact-card a, .contact-card span { color: var(--ink-2); font-size: .95rem; }
.contact-card a:hover { color: var(--primary); }

/* ------------------------------ CTA -------------------------------- */
.cta-final { text-align: center; }
.cta-final .container { max-width: 760px; }
.cta-final h2 { font-size: clamp(2rem, 4.6vw, 3rem); color: #fff; }
.cta-final .lead { margin: 1rem auto 2rem; color: #b9c1d6; }
.cta-final .btn-row { justify-content: center; }
.cta-band { background: linear-gradient(120deg, var(--primary-700), var(--primary)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem); text-align: center; box-shadow: var(--shadow-primary); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.9); margin-top: .8rem; max-width: 54ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta-band .btn-light { color: var(--primary-700); }

/* ------------------------- Última actualización -------------------- */
.updated { text-align: center; color: var(--ink-3); font-size: .86rem; padding-top: 1.5rem; }
.updated time { font-weight: 600; }

/* ------------------------------ Footer ----------------------------- */
.site-footer { position: relative; background: linear-gradient(180deg, var(--carbon-2) 0%, var(--carbon) 100%); color: #b8c0d6; padding-top: 3.4rem; }
.footer-top-line { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-700)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1fr; gap: 2.4rem; padding-bottom: 2.8rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand small { color: #8b95b3; }
.footer-brand p { color: #8f99b8; font-size: .92rem; max-width: 34ch; }
.footer-col h3 { color: #fff; font-family: var(--font-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer-col a { color: #b8c0d6; font-size: .93rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: #b8c0d6; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 3px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #b8c0d6; transition: all .2s; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: .85rem; color: #8b95b3; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-legal a { font-size: .85rem; color: #8b95b3; }
.footer-legal a:hover { color: #fff; }

/* --------------------------- WhatsApp float ------------------------ */
@keyframes tmPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }
.tm-whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999999; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); animation: tmPulse 2s infinite; transition: transform .2s ease;
}
.tm-whatsapp-float:hover { transform: scale(1.1); }
.tm-whatsapp-float:focus-visible { outline: 3px solid var(--wa); outline-offset: 3px; }
.tm-whatsapp-float svg { width: 33px; height: 33px; fill: #fff; }
.tm-whatsapp-float .wa-tip {
  position: absolute; right: 74px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600;
  padding: .5rem .85rem; border-radius: 10px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transform: translateX(8px);
  pointer-events: none; transition: opacity .2s, transform .2s;
}
.tm-whatsapp-float:hover .wa-tip { opacity: 1; transform: translateX(0); }

/* --------------------------- Cookie banner ------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 999998; max-width: 620px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 1.3rem 1.5rem; transform: translateY(160%); transition: transform .4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.cookie-banner p { font-size: .88rem; color: var(--ink-2); }
.cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.cookie-actions .btn { --btn-py: .7rem; --btn-px: 1.2rem; font-size: .92rem; }
.cookie-actions .btn-ghost { border-width: 1.5px; }

/* --------------------------- Blog grid ----------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card a { color: inherit; display: block; }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card__body { padding: 1.4rem; }
.blog-card__category { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); background: var(--primary-050); padding: .28rem .7rem; border-radius: 999px; }
.blog-card__title { font-size: 1.2rem; margin-top: .8rem; }
.blog-card__excerpt { color: var(--ink-2); font-size: .95rem; margin-top: .55rem; }
.blog-card__meta { display: flex; gap: 1rem; margin-top: 1.1rem; color: var(--ink-3); font-size: .82rem; }
.blog-card__meta time::after { content: ""; }
.blog-empty { text-align: center; color: var(--ink-3); padding: 3rem 1rem; grid-column: 1 / -1; }
@keyframes skeletonPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.blog-card--skeleton { pointer-events: none; }
.skeleton { background: var(--bg-soft-2); animation: skeletonPulse 1.4s ease-in-out infinite; border-radius: 6px; }
.blog-card--skeleton .sk-img { aspect-ratio: 16/9; width: 100%; }
.blog-card--skeleton .sk-line { height: 14px; margin: .7rem 1.4rem 0; }
.blog-card--skeleton .sk-line.sk-cat { width: 30%; height: 20px; border-radius: 999px; margin-top: 1.4rem; }
.blog-card--skeleton .sk-line.sk-title { width: 85%; height: 20px; }
.blog-card--skeleton .sk-line.sk-p { width: 100%; }
.blog-card--skeleton .sk-line.sk-p2 { width: 70%; margin-bottom: 1.4rem; }

/* ------------------------- Reveal animations ----------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ------------------------------ Responsive ------------------------- */
@media (max-width: 1024px) {
  .services-grid, .access-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-top: .5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .services-grid, .access-grid, .review-grid, .feature-list, .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-media .float-card { left: 0; bottom: -18px; }
  .manager-card { position: static; margin-top: -30px; margin-left: auto; margin-right: auto; }
  .about-media img { aspect-ratio: 4/3; }
}
@media (max-width: 420px) {
  .prov-grid { grid-template-columns: 1fr; }
}

/* --------------------- Contacto / hero compacto -------------------- */
.contact-layout { display: grid; grid-template-columns: 1.5fr .95fr; gap: clamp(1.5rem, 4vw, 2.6rem); align-items: start; }
.hero--compact { padding-top: calc(var(--header-h) + 1.6rem); padding-bottom: clamp(2rem, 5vw, 3.4rem); }
.hero .breadcrumb { padding-top: 0; padding-bottom: 1.1rem; }
.hero--compact .hero h1, .hero--compact h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-hero { position: relative; overflow: hidden; color: #e9ecf7; background: radial-gradient(130% 130% at 85% -20%, #1c2f66 0%, #101833 45%, var(--carbon) 100%); padding-top: calc(var(--header-h) + 1.4rem); padding-bottom: clamp(2rem, 5vw, 3.2rem); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120,150,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,255,.06) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(90% 90% at 75% 0%, #000, transparent 78%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { padding-top: 0; padding-bottom: 1rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); }
.page-hero .lead { color: #b9c2dc; margin-top: 1rem; max-width: 60ch; }
.page-hero .breadcrumb a, .page-hero .breadcrumb { color: #9aa4be; }
.page-hero .breadcrumb [aria-current="page"] { color: #fff; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* --------------------- Preferencias de movimiento ------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tm-whatsapp-float { animation: none; }
}
