/* =====================================================================
   TALLER MOTO · taller-moto.es · Sistema de diseño
   Industrial cálido: asfalto + naranja sobre blanco. Cero dependencias.
   Tipografía condensada en mayúsculas · esquinas angulares · franja hazard
   ===================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f4f1;          /* blanco cálido */
  --bg-soft-2: #efeae4;
  --ink: #1a1712;              /* casi negro cálido */
  --ink-2: #46403a;
  --ink-3: #6f675e;
  --line: #e7e1d9;
  --line-2: #d5cdc2;

  --primary: #e2560f;          /* naranja quemado */
  --primary-600: #c8480a;
  --primary-700: #a63c08;
  --primary-050: #fdf0e8;
  --primary-100: #fadfce;

  --asphalt: #17140f;          /* asfalto (secciones oscuras) */
  --asphalt-2: #221d16;
  --steel: #3a352d;

  --wa: #25D366;
  --star: #f5a524;
  --ok: #1c7a4d;

  --font-display: "Bahnschrift", "DIN Alternate", "DIN Condensed", "Oswald", "Archivo Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 70px;
  --topbar-h: 38px;
  --radius: 8px;
  --radius-sm: 5px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(26,23,18,.07), 0 2px 8px rgba(26,23,18,.05);
  --shadow: 0 10px 34px rgba(26,23,18,.11);
  --shadow-lg: 0 26px 60px rgba(26,23,18,.2);
  --maxw: 1220px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --hazard: repeating-linear-gradient(-45deg, var(--primary) 0 16px, var(--asphalt) 16px 32px);
}

*, *::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; -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.04; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
::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; font-weight: 700; transition: top .2s var(--ease); }
.skip-link:focus { top: 0; color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: clamp(3.4rem, 8vw, 6.2rem); position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(180deg, var(--asphalt-2), var(--asphalt)); color: #d8d2c8; }
.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, 2rem); }
.prose h3 { margin-top: 1.4em; font-size: clamp(1.2rem, 2.4vw, 1.4rem); text-transform: none; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Eyebrow con número/tab industrial */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .22em; color: var(--primary); }
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--primary); }
.section-dark .eyebrow { color: #ff8a4c; }
.section-dark .eyebrow::before { background: #ff8a4c; }

.section-header { max-width: 780px; 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(2rem, 5vw, 3.2rem); margin-top: .7rem; }
.section-header .lead { margin-top: 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-2); line-height: 1.6; }
.section-dark .lead { color: #b3ab9f; }

/* Franja hazard decorativa */
.hazard-bar { height: 8px; background: var(--hazard); }

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

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(226,86,15,.34); }
.btn-accent { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(226,86,15,.3); }
.btn-accent:hover { background: var(--primary-600); color: #fff; transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1fbe5b; color: #fff; transform: translateY(-2px); }
.btn-wa svg { fill: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line-2); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--primary-700); transform: translateY(-2px); }

.section-dark .btn-ghost, .cta-final .btn-ghost, .cta-band .btn-ghost, .hero-dark .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 { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

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

/* --------------------------- Breadcrumb ---------------------------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; font-size: .85rem; color: var(--ink-3); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb li { display: flex; align-items: center; gap: .45rem; }
.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); }

/* ------------------------------ Header ----------------------------- */
.topbar { background: var(--asphalt); color: #cbc4b8; height: var(--topbar-h); font-size: .82rem; }
.topbar .container { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar a { color: #e6ddd0; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; fill: var(--primary); }
.topbar .tb-right { display: flex; gap: 1.4rem; }
.topbar .tb-hours { color: #a49b8d; }
@media (max-width: 720px) { .topbar .tb-hours { display: none; } }

.site-header { position: sticky; top: 0; z-index: 1000; height: var(--header-h); background: rgba(255,255,255,.9); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 3px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-bottom-color: var(--primary); box-shadow: 0 4px 20px rgba(26,23,18,.08); }
.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: .7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; border-radius: 7px; background: var(--ink); display: grid; place-items: center; flex: none; position: relative; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: var(--primary); }
.brand-mark svg { width: 24px; height: 24px; fill: var(--primary); }
.brand b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.brand small { display: block; font-family: var(--font-display); font-weight: 400; font-size: .66rem; letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; margin-top: 3px; }

.nav-menu { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .8rem; font-family: var(--font-display); font-weight: 700; font-size: .96rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); white-space: nowrap; transition: color .15s; position: relative; }
.nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.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% + 8px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; border-top: 3px solid var(--primary); }
.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: .55rem .8rem; border-radius: var(--radius-sm); 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: .8rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 7px; border: 1px solid var(--line-2); place-items: center; }
.nav-toggle .bars { position: relative; width: 22px; height: 15px; }
.nav-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2.6px; background: var(--ink); 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.2px; } .nav-toggle .bars span:nth-child(3) { top: 12.4px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6.2px) 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.2px) rotate(-45deg); }
.nav-backdrop { display: none; }
.nav-mobile-cta { display: none; }

@media (max-width: 1024px) {
  .nav-toggle { display: grid; }
  .nav-menu { position: fixed; top: calc(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: .1rem; background: #fff; border-left: 3px solid var(--primary); 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.06rem; justify-content: space-between; }
  .nav-link::after { display: none; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-top: 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-mobile-cta { display: block; margin-top: .8rem; }
  .nav-backdrop.is-open { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: rgba(10,8,6,.45); z-index: 1000; }
  body.nav-open { overflow: hidden; }
}

/* ------------------------------- Hero (claro) ---------------------- */
.hero { position: relative; background: var(--bg-soft); overflow: hidden; padding-top: clamp(2.6rem, 6vw, 4.4rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--hazard); }
.hero::after { content: ""; position: absolute; right: -140px; top: -80px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(226,86,15,.10), transparent 65%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .98; }
.hero h1 .u { color: var(--primary); }
.hero .lead { margin-top: 1.3rem; max-width: 42ch; }
.hero-entity { margin-top: 1.3rem; font-size: .95rem; color: var(--ink-3); max-width: 54ch; border-left: 3px solid var(--primary); padding-left: 1rem; }
.hero-entity strong { color: var(--ink); }
.hero .btn-row { margin-top: 1.9rem; }
.hero-rating { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ink-2); }
.hero-rating .stars { color: var(--star); }
.hero-media { position: relative; }
.hero-media .frame { position: relative; border: 4px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-media .frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-media .tag { position: absolute; left: -12px; top: 22px; background: var(--primary); color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: .5rem 1rem; font-size: .9rem; box-shadow: var(--shadow); }
.hero-media .float-card { position: absolute; right: -16px; bottom: -18px; background: var(--ink); color: #fff; padding: .9rem 1.2rem; display: flex; align-items: center; gap: .7rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-media .float-card .fc-num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--primary); line-height: 1; }
.hero-media .float-card small { color: #b3ab9f; font-size: .76rem; }

/* --------------------------- Barra confianza ----------------------- */
.trust { background: var(--ink); color: #d8d2c8; padding-block: clamp(1.5rem, 3vw, 2rem); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item svg { width: 30px; height: 30px; flex: none; stroke: var(--primary); fill: none; stroke-width: 1.7; }
.trust-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; line-height: 1; color: #fff; }
.trust-item small { color: #a49b8d; font-size: .82rem; }

/* ------------------------------ Servicios -------------------------- */
.cards-grid { display: grid; gap: 1.3rem; }
.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 .22s var(--ease), box-shadow .22s, border-color .22s; position: relative; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--primary); transform: scaleY(0); transform-origin: top; transition: transform .25s var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon { width: 54px; height: 54px; border-radius: 8px; background: var(--primary-050); display: grid; place-items: center; margin-bottom: 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.2rem; text-transform: none; letter-spacing: 0; font-weight: 700; }
.service-card p { color: var(--ink-2); margin-top: .5rem; font-size: .96rem; }
.service-card .card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .84rem; 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: var(--ink); color: #d8d2c8; border-color: var(--ink); }
.service-card--featured h3 { color: #fff; }
.service-card--featured p { color: #b3ab9f; }
.service-card--featured .service-icon { background: rgba(226,86,15,.18); }
.service-card--featured .card-link { color: #ff8a4c; }
.service-tag { position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; font-weight: 700; padding: .3rem .7rem; }

/* ------------------------- Accesos internos ------------------------ */
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.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(-5px); 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(23,20,15,.15) 0%, rgba(23,20,15,.55) 52%, rgba(23,20,15,.92) 100%); }
.access-card__body { padding: 1.5rem; }
.access-card__body span { font-family: var(--font-display); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #ff8a4c; font-weight: 700; }
.access-card__body h3 { color: #fff; font-size: 1.4rem; margin-top: .35rem; text-transform: none; }
.access-card__body p { color: rgba(255,255,255,.82); font-size: .92rem; margin-top: .45rem; }
.access-card__body .card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; color: #fff; }

/* --------------------------- Ventajas ------------------------------ */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.4rem; list-style: none; padding: 0; }
.feature-item { display: flex; gap: 1rem; }
.feature-item .fi-icon { width: 48px; height: 48px; border-radius: 8px; 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.1rem; text-transform: none; }
.feature-item p { color: var(--ink-2); font-size: .95rem; margin-top: .3rem; }
.section-dark .feature-item .fi-icon { background: rgba(226,86,15,.18); }
.section-dark .feature-item p { color: #b3ab9f; }

/* ----------------------------- 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 .frame { border: 4px solid #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.manager-card { position: absolute; right: -16px; bottom: 22px; background: var(--primary); color: #fff; border-radius: var(--radius); padding: .9rem 1.2rem; max-width: 250px; }
.manager-card b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.manager-card small { color: rgba(255,255,255,.85); display: block; }
.signature { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); font-size: 1.15rem; margin-top: 1.2rem; }

/* --------------------------- Editorial / VS ------------------------ */
.article-body { max-width: 76ch; margin-inline: auto; }
.article-body h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-top: 2.4rem; }
.article-body h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-top: 1.6rem; text-transform: none; }
.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); }

.tldr { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--primary); padding: 1.1rem 1.3rem; margin: 1.4rem 0; border-radius: var(--radius-sm); }
.tldr-label { font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; 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: 1px solid var(--line); border-radius: var(--radius-sm); }
.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(--ink); color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.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; }

/* --------------------------- Testimonios --------------------------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.rating-summary .big { font-family: var(--font-display); font-weight: 700; 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.3rem; }
.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: 7px; background: var(--ink); color: var(--primary); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; flex: none; }
.review-author b { font-size: .95rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.review-author small { display: block; color: var(--ink-3); font-size: .8rem; }

/* ------------------------------- FAQ ------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 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; text-transform: none; 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); transition: transform .25s var(--ease); }
.faq-item summary .faq-plus::before { top: 9px; left: 0; width: 20px; height: 2.6px; }
.faq-item summary .faq-plus::after { left: 9px; top: 0; width: 2.6px; 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: .5rem; margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); font-weight: 600; transition: all .18s; }
.chip svg { width: 15px; height: 15px; stroke: var(--primary); fill: none; stroke-width: 2; }
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: #cbc4b8; }

/* --------------------- 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: var(--radius-sm); 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; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; }
.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: var(--radius-sm); color: var(--ink); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; 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; text-transform: none; letter-spacing: 0; 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-top: 4px solid var(--primary); border-radius: var(--radius); 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: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; 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: var(--radius-sm); 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: var(--radius-sm); 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: var(--radius-sm); 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); text-transform: uppercase; letter-spacing: .03em; display: block; }
.contact-card a, .contact-card span { color: var(--ink-2); font-size: .95rem; }
.contact-card a:hover { color: var(--primary); }
.contact-layout { display: grid; grid-template-columns: 1.5fr .95fr; gap: clamp(1.5rem, 4vw, 2.6rem); align-items: start; }

/* ------------------------------ CTA -------------------------------- */
.cta-final { text-align: center; position: relative; }
.cta-final::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--hazard); }
.cta-final .container { max-width: 780px; }
.cta-final h2 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: #fff; }
.cta-final .lead { margin: 1rem auto 2rem; color: #b3ab9f; }
.cta-final .btn-row { justify-content: center; }

/* --------------------------- page-hero (interior) ------------------ */
.page-hero { position: relative; background: var(--bg-soft); overflow: hidden; padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: clamp(2rem, 5vw, 3.2rem); }
.page-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--hazard); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { padding-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.page-hero .lead { margin-top: 1rem; max-width: 60ch; }
.hero--compact h1 { font-size: clamp(2rem, 4.6vw, 3rem); }

/* ------------------------- Ú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(--asphalt-2), var(--asphalt)); color: #b3ab9f; padding-top: 3.4rem; }
.footer-top-line { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--hazard); }
.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: #8a8272; }
.footer-brand p { color: #948b7c; font-size: .92rem; max-width: 34ch; }
.footer-col h3 { color: #fff; font-family: var(--font-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: #b3ab9f; font-size: .93rem; transition: color .15s; }
.footer-col a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; color: #b3ab9f; }
.footer-contact svg { width: 17px; height: 17px; margin-top: 3px; flex: none; stroke: var(--primary); 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: 7px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #b3ab9f; 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: #8a8272; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-legal a { font-size: .85rem; color: #8a8272; }
.footer-legal a:hover { color: var(--primary); }

/* --------------------------- 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: #25D366; 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 #25D366; 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: 8px; 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-top: 4px solid var(--primary); border-radius: var(--radius); 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; text-transform: none; }
.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: .9rem; }

/* --------------------------- 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-family: var(--font-display); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; background: var(--primary); padding: .28rem .7rem; border-radius: var(--radius-sm); }
.blog-card__title { font-size: 1.2rem; margin-top: .8rem; text-transform: none; }
.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-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: var(--radius-sm); }
.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; 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: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@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 { right: 0; }
  .manager-card { position: static; margin-top: -20px; margin-left: auto; }
  .about-media img { aspect-ratio: 4/3; }
}
@media (max-width: 420px) { .prov-grid { grid-template-columns: 1fr; } }

@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; }
}
