/* ==========================================================================
   tokens.css — Design System · Electricista en Málaga
   Variables globales: color, tipografía, espacio, sombras, radios, motion.
   ========================================================================== */
:root {
  /* ---- Marca (naranja del logo sobre neutros) ---- */
  --c-brand:        #fd7006;
  --c-brand-600:    #e56300;
  --c-brand-700:    #b34d00;
  --c-brand-ink:    #2a1e05;

  /* ---- Acento por silo ---- */
  --c-servicios:    #1e6fd9;   /* azul técnico */
  --c-hogar:        #17a673;   /* verde energía */
  --c-sectores:     #7b4dd8;   /* púrpura B2B */
  --c-zonas:        #ef7c1a;   /* naranja local */
  --c-urgencia:     #e23b3b;   /* rojo urgencias */
  --c-urgencia-700: #b62828;

  /* ---- Neutros ---- */
  --c-ink:          #14161a;   /* texto principal */
  --c-ink-soft:     #3d434d;
  --c-muted:        #6b7280;
  --c-line:         #e5e7eb;
  --c-line-soft:    #f0f1f3;
  --c-bg:           #ffffff;
  --c-bg-alt:       #f7f8fa;
  --c-bg-dark:      #16181d;
  --c-bg-dark-2:    #1f2229;
  --c-on-dark:      #f4f5f7;
  --c-on-dark-soft: #b7bcc6;

  /* ---- Estado ---- */
  --c-success:      #17a673;
  --c-focus:        #1e6fd9;

  /* ---- Tipografía (self-hosted, swap) ---- */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Poppins", var(--font-sans);

  --fs-xs:   0.8125rem;   /* 13 */
  --fs-sm:   0.9375rem;   /* 15 */
  --fs-base: 1rem;        /* 16 */
  --fs-md:   1.125rem;    /* 18 */
  --fs-lg:   1.375rem;    /* 22 */
  --fs-xl:   1.75rem;     /* 28 */
  --fs-2xl:  2.25rem;     /* 36 */
  --fs-3xl:  clamp(2rem, 5vw, 3.25rem);

  --lh-tight: 1.15;
  --lh-snug:  1.3;
  --lh-base:  1.65;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi:   600;
  --fw-bold:   700;

  /* ---- Espacio (escala 4px) ---- */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;    --sp-8: 3rem;    --sp-10: 4rem;
  --sp-12: 6rem;

  /* ---- Radios ---- */
  --r-sm: 6px;  --r-md: 10px;  --r-lg: 16px;  --r-xl: 24px;  --r-full: 999px;

  /* ---- Sombras ---- */
  --sh-sm: 0 1px 2px rgba(16,20,28,.06), 0 1px 3px rgba(16,20,28,.08);
  --sh-md: 0 4px 12px rgba(16,20,28,.08), 0 2px 4px rgba(16,20,28,.06);
  --sh-lg: 0 12px 32px rgba(16,20,28,.12), 0 4px 8px rgba(16,20,28,.06);

  /* ---- Layout ---- */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --header-h: 72px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .2s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Fuentes self-host (Inter var + Poppins) · subsets latin/latin-ext · swap
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-400_700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-400_700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/poppins-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/poppins-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   main.css — Componentes · Electricista en Málaga
   Depende de tokens.css. Mobile-first.
   ========================================================================== */

/* ---- Reset ligero ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font-sans); font-size: var(--fs-base);
  line-height: var(--lh-base); color: var(--c-ink); background: var(--c-bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: var(--lh-tight); color: var(--c-ink); margin: 0 0 var(--sp-4); font-weight: var(--fw-bold); }
h1 { font-size: var(--fs-3xl); letter-spacing: -.02em; }
h2 { font-size: var(--fs-2xl); letter-spacing: -.01em; }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-4); }
a { color: var(--c-brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
strong { font-weight: var(--fw-semi); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 3px; }

/* ---- Utilidades ---- */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--sp-10); }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: var(--c-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
/* Tarjetas blancas dentro de una sección oscura: restaurar texto oscuro legible */
.section--dark .card { color: var(--c-ink); }
.section--dark .card h1, .section--dark .card h2, .section--dark .card h3, .section--dark .card h4 { color: var(--c-ink); }
.section--dark .card p { color: var(--c-muted); }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-brand-700); margin-bottom: var(--sp-3); }
.section--dark .eyebrow { color: var(--c-brand); }
.lead { font-size: var(--fs-md); color: var(--c-ink-soft); }
.h3-look { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.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: absolute; left: 8px; top: -60px; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 200; transition: top var(--dur); }
.skip-link:focus { top: 8px; }

/* ---- Botones ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm); line-height: 1; padding: .875rem 1.5rem; border-radius: var(--r-full); border: 2px solid transparent; cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur), box-shadow var(--dur); text-decoration: none; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-brand); color: var(--c-brand-ink); box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--c-brand-600); }
.btn--urgent { background: var(--c-urgencia); color: #fff; }
.btn--urgent:hover { background: var(--c-urgencia-700); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-brand); background: #fff; }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn .ico { width: 1.1em; height: 1.1em; }

/* ---- Header + Nav ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--c-line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--sp-4); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-md); color: var(--c-ink); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__name span { color: var(--c-brand-700); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-head); font-weight: var(--fw-medium); font-size: var(--fs-sm); color: var(--c-ink); padding: .55rem .7rem; border-radius: var(--r-sm); }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--c-bg-alt); text-decoration: none; color: var(--c-brand-700); }
.nav__link[aria-current="page"], .nav__link--active { color: var(--c-brand-700); }
.nav__link--parent { cursor: default; }
.nav__item { position: relative; }
.nav__caret { width: .7em; height: .7em; transition: transform var(--dur); }
.nav__item:hover .nav__caret, .nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

/* Mega-menú */
.mega { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: var(--sp-4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur), transform var(--dur), visibility var(--dur); }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__grid { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mega__link { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; border-radius: var(--r-sm); color: var(--c-ink-soft); font-size: var(--fs-sm); }
.mega__link:hover { background: var(--c-bg-alt); color: var(--c-ink); text-decoration: none; }
.mega__dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--silo, var(--c-brand)); }

.header-cta { display: none; align-items: center; gap: var(--sp-3); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--c-line); border-radius: var(--r-sm); cursor: pointer; color: var(--c-ink); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Nav móvil (drawer) */
.mnav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 90; transform: translateX(100%); transition: transform var(--dur) var(--ease); overflow-y: auto; padding: var(--sp-5) var(--sp-4) var(--sp-10); visibility: hidden; }
.mnav[data-open="true"] { transform: translateX(0); visibility: visible; }
.mnav__group { border-bottom: 1px solid var(--c-line-soft); }
.mnav__link, .mnav__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .95rem .25rem; font-family: var(--font-head); font-weight: var(--fw-medium); font-size: var(--fs-md); color: var(--c-ink); background: none; border: 0; cursor: pointer; text-align: left; }
.mnav__toggle svg { width: 1em; height: 1em; transition: transform var(--dur); }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__sub { list-style: none; margin: 0; padding: 0 0 var(--sp-3) var(--sp-4); display: none; }
.mnav__toggle[aria-expanded="true"] + .mnav__sub { display: block; }
.mnav__sub a { display: block; padding: .6rem .25rem; color: var(--c-ink-soft); font-size: var(--fs-sm); }
.mnav__cta { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }

/* ---- Barra urgencia 24h ---- */
.urgent-bar { background: var(--c-urgencia); color: #fff; text-align: center; font-size: var(--fs-sm); font-weight: var(--fw-medium); padding: .5rem 1rem; }
.urgent-bar a { color: #fff; font-weight: var(--fw-bold); text-decoration: underline; }
/* Sticky móvil inferior */
.urgent-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(22,24,29,.97); box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
.urgent-sticky .btn { flex: 1; }
@media (min-width: 992px) { .urgent-sticky { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; background: var(--c-bg-dark); color: var(--c-on-dark); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background:
   radial-gradient(1200px 400px at 80% -10%, rgba(253,112,6,.18), transparent 60%),
   radial-gradient(800px 500px at -10% 110%, rgba(30,111,217,.14), transparent 60%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; display: grid; gap: var(--sp-6); padding-block: var(--sp-10); }
.hero h1 { color: #fff; }
.hero__sub { font-size: var(--fs-md); color: var(--c-on-dark-soft); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3; background: var(--c-bg-dark-2); }

/* Badges confianza */
.badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; padding: .5rem .8rem; border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: var(--fw-medium); }
.badge svg { width: 1.1em; height: 1.1em; color: var(--c-brand); }
.badges--light .badge { background: #fff; border-color: var(--c-line); color: var(--c-ink-soft); box-shadow: var(--sh-sm); }

/* ---- Grid cards ---- */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur); display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); border-color: transparent; }
.service-card { position: relative; overflow: hidden; }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--r-md); background: color-mix(in srgb, var(--silo, var(--c-brand)) 12%, #fff); color: var(--silo, var(--c-brand)); margin-bottom: var(--sp-4); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: var(--sp-2); }
.service-card p { color: var(--c-muted); font-size: var(--fs-sm); flex: 1; }
.service-card__link { margin-top: var(--sp-4); font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-sm); color: var(--silo, var(--c-brand-700)); display: inline-flex; align-items: center; gap: .35rem; }
.service-card__link svg { width: 1em; height: 1em; transition: transform var(--dur); }
.card:hover .service-card__link svg { transform: translateX(3px); }
.service-card__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--silo, var(--c-brand)); }

/* ---- Bloque split (E-E-A-T / features) ---- */
.split { display: grid; gap: var(--sp-6); align-items: center; }
.media-ph { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, var(--c-bg-dark-2), var(--c-bg-dark)); aspect-ratio: 4/3; display: grid; place-items: center; color: var(--c-on-dark-soft); text-align: center; padding: var(--sp-5); }
.media-ph[data-note]::after { content: attr(data-note); position: absolute; bottom: 8px; left: 8px; right: 8px; font-size: var(--fs-xs); color: #fff; background: var(--c-urgencia); padding: 4px 8px; border-radius: var(--r-sm); font-weight: var(--fw-semi); }
/* Placeholder de imagen como cabecera de card (grid de blog / servicios) */
.card__media { margin: calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)) var(--sp-4); border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 16/9; font-size: var(--fs-sm); }
.card__media[data-note]::after { font-size: 10px; bottom: auto; top: 6px; left: 6px; right: 6px; padding: 3px 6px; }
/* Icono de silo solapando la imagen de la card (badge) */
.card__media + .service-card__bar + .service-card__icon,
.card__media + .service-card__icon { margin-top: calc(-1 * var(--sp-8)); position: relative; z-index: 1; box-shadow: var(--sh-md); outline: 3px solid #fff; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; }
.feature-list svg { width: 1.4em; height: 1.4em; flex: 0 0 auto; color: var(--c-success); margin-top: .1em; }
.feature-list b { font-family: var(--font-head); }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-5); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-2xl); color: var(--c-brand-700); line-height: 1; }
.section--dark .stat__num { color: var(--c-brand); }
.stat__label { font-size: var(--fs-sm); color: var(--c-muted); margin-top: .35rem; }
.section--dark .stat__label { color: var(--c-on-dark-soft); }

/* ---- Testimonios ---- */
.testis { display: grid; gap: var(--sp-5); }
.testi { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--sh-sm); }
.testi__stars { color: var(--c-brand); letter-spacing: 2px; margin-bottom: var(--sp-3); }
.testi__text { font-size: var(--fs-md); margin-bottom: var(--sp-4); }
.testi__who { display: flex; align-items: center; gap: .7rem; font-size: var(--fs-sm); }
.testi__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-brand); color: var(--c-brand-ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: var(--fw-bold); }
.testi__zone { color: var(--c-muted); }

/* ---- Reseñas Google (estilo Trustindex) ---- */
.greviews__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5) var(--sp-8); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); padding: var(--sp-5) var(--sp-6); }
.greviews__brand { display: flex; align-items: center; gap: var(--sp-4); }
.g-logo { width: 46px; height: 46px; flex: 0 0 auto; }
.greviews__score { font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-2xl); line-height: 1; color: var(--c-ink); }
.greviews__meta { display: grid; gap: .15rem; }
.greviews__title { font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-md); color: var(--c-ink); }
.gstars { --p: 100%; display: inline-block; font-size: var(--fs-md); line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, #fbbc05 var(--p), #dadce0 var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gstars::before { content: "★★★★★"; }
.greviews__count { font-size: var(--fs-sm); color: var(--c-muted); }
.greviews__count b { color: var(--c-ink); font-weight: var(--fw-semi); }
.greviews__cta { margin-left: auto; }
@media (max-width: 640px) { .greviews__cta { margin-left: 0; width: 100%; } .greviews__cta .btn { width: 100%; } }
.testi__gbadge { position: absolute; top: var(--sp-5); right: var(--sp-5); width: 22px; height: 22px; }
.testi { position: relative; }
.testi__meta { color: var(--c-muted); font-size: var(--fs-xs); }
.gverified { display: inline-flex; align-items: center; gap: .3rem; margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--c-muted); }
.gverified svg { width: 1em; height: 1em; color: #34a853; }

/* Testimonios/reseñas legibles sobre fondo claro alterno */
.section--alt .testi, .section--alt .greviews__head { background: #fff; }

/* ---- Legibilidad de bloques sobre section--dark ---- */
.section--dark .lead { color: var(--c-on-dark-soft); }
.section--dark .feature-list b { color: #fff; }
.section--dark .form-card { color: var(--c-ink); }
.section--dark .form-card .lead, .section--dark .form-card p { color: var(--c-muted); }

/* ---- Zonas de cobertura (home) ---- */
.zonecov { display: grid; gap: var(--sp-5); }
.zonecov__list { columns: 2; gap: var(--sp-4); list-style: none; padding: 0; margin: 0; }
.zonecov__list li { break-inside: avoid; margin-bottom: .55rem; }
.zonecov__list a, .zonecov__list span { display: inline-flex; align-items: center; gap: .5rem; color: var(--c-ink-soft); font-size: var(--fs-sm); }
.zonecov__list a::before, .zonecov__list span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-zonas); flex: 0 0 auto; }
.zonecov__list span b { color: var(--c-zonas); font-weight: var(--fw-semi); }
.zonecov__list a:hover { color: var(--c-zonas); text-decoration: none; }
@media (min-width: 680px) { .zonecov__list { columns: 3; } }
@media (min-width: 992px) { .zonecov { grid-template-columns: 1fr 1fr; align-items: center; } .zonecov__list { columns: 2; } }

/* ---- Precios orientativos ---- */
.price-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; margin-top: var(--sp-6); }
@media (min-width: 680px) { .price-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 992px) { .price-grid { grid-template-columns: repeat(3,1fr); } }
.price-card { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--sh-sm); }
.price-card h3 { font-size: var(--fs-md); margin: 0; }
.price-card__from { font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-xl); color: var(--c-brand-700); }
.price-card__from span { font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--c-muted); }
.price-card p { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
.price-note { font-size: var(--fs-xs); color: var(--c-muted); margin-top: var(--sp-4); }

/* ---- FAQ acordeón ---- */
.faq { display: grid; gap: var(--sp-3); }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.15rem var(--sp-5); font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-md); color: var(--c-ink); }
.faq__q svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; transition: transform var(--dur); color: var(--c-brand-700); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { padding: 0 var(--sp-5); max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease), padding var(--dur); }
.faq__q[aria-expanded="true"] + .faq__a { padding-bottom: var(--sp-5); max-height: 500px; }
.faq__a p { margin: 0; color: var(--c-ink-soft); }

/* ---- Franja CTA ---- */
.cta-band { background: linear-gradient(120deg, var(--c-brand-700), var(--c-brand)); color: var(--c-brand-ink); border-radius: var(--r-xl); padding: var(--sp-8) var(--sp-6); text-align: center; }
.cta-band h2 { color: var(--c-brand-ink); }
.cta-band p { color: rgba(42,30,5,.85); max-width: 52ch; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; }
.cta-band .btn--ghost { border-color: rgba(42,30,5,.4); color: var(--c-brand-ink); }

/* ---- Breadcrumbs ---- */
.crumbs { padding-block: var(--sp-4); font-size: var(--fs-sm); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: .4rem; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-brand-700); }
.crumbs [aria-current] { color: var(--c-ink); font-weight: var(--fw-medium); }
.crumbs svg { width: .8em; height: .8em; opacity: .6; }

/* ---- Formulario presupuesto ---- */
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: var(--sp-6); }
.form-grid { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-head); font-weight: var(--fw-medium); font-size: var(--fs-sm); }
.field .req { color: var(--c-urgencia); }
.field input, .field select, .field textarea { font: inherit; font-size: var(--fs-sm); padding: .8rem .9rem; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; color: var(--c-ink); width: 100%; transition: border-color var(--dur), box-shadow var(--dur); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-focus); box-shadow: 0 0 0 3px rgba(30,111,217,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--c-muted); }
.form-consent input { width: auto; margin-top: .2em; }
.form-note { font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

/* ---- Bloque presupuesto (sección oscura + card ancha) ---- */
.section--form { position: relative; overflow: hidden; }
.section--form::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 75% at 8% 0%, color-mix(in srgb, var(--c-brand) 20%, transparent), transparent 70%),
              radial-gradient(52% 70% at 100% 100%, color-mix(in srgb, var(--c-servicios) 18%, transparent), transparent 72%); }
.section--form > .wrap { position: relative; z-index: 1; }
.form-card { padding: var(--sp-5); }
.section--dark .form-card, .section--dark .form-card h1, .section--dark .form-card h2,
.section--dark .form-card h3, .section--dark .form-card h4 { color: var(--c-ink); }
.form-card__head { margin-bottom: var(--sp-5); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--c-line); }
.form-card__head h3 { margin: 0 0 var(--sp-1); font-size: var(--fs-lg); }
.form-card__head p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.form-grid--2 .field--full, .form-grid--2 .form-consent, .form-grid--2 > .btn,
.form-grid--2 .form-note, .form-grid--2 .form-ok { grid-column: 1 / -1; }
.form-perks { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.form-perks li { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-xs); font-weight: var(--fw-semi);
  padding: .35rem .7rem; border-radius: var(--r-full); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--c-on-dark); }
.form-perks svg { width: .95em; height: .95em; color: var(--c-brand); }
@media (min-width: 600px) {
  .form-card { padding: var(--sp-6); }
  .form-grid--2 { grid-template-columns: 1fr 1fr; column-gap: var(--sp-4); }
}
@media (min-width: 992px) {
  .split.split--form { grid-template-columns: .85fr 1.15fr; gap: var(--sp-8); align-items: start; }
}

/* ---- Footer ---- */
.site-footer { background: var(--c-bg-dark); color: var(--c-on-dark-soft); padding-block: var(--sp-10) var(--sp-6); }
.site-footer a { color: var(--c-on-dark-soft); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--sp-6); }
.footer-col h4 { color: #fff; font-size: var(--fs-md); margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: var(--fs-sm); }
.footer-nap { font-style: normal; font-size: var(--fs-sm); line-height: 1.9; }
.footer-nap strong { color: #fff; }
.footer-map { border: 0; border-radius: var(--r-md); width: 100%; aspect-ratio: 16/10; filter: grayscale(.3) contrast(1.05); }
.map-embed { display: block; border: 0; border-radius: var(--r-lg); width: 100%; aspect-ratio: 16/6; box-shadow: var(--sh-sm); }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4/3; } }

/* Blog hub: destacado, categorías, autor */
.post-tag { align-self: flex-start; display: inline-block; font-family: var(--font-head); font-weight: var(--fw-semi); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--c-brand-700); background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3); padding: .3rem .7rem; border-radius: 999px; }
.post-feature { padding: 0; overflow: hidden; }
.post-feature__media { aspect-ratio: 16/9; border-radius: 0; }
.post-feature__body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.post-feature__body h2 { margin: 0; }
@media (min-width: 768px) {
  .post-feature { display: grid; grid-template-columns: 1.05fr 1fr; }
  .post-feature__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
}
.cat-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--sp-5); }
.cat-chip { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: var(--fw-medium); font-size: var(--fs-sm); color: var(--c-ink); background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: .5rem .95rem; transition: border-color var(--dur), color var(--dur); }
.cat-chip:hover { border-color: var(--c-brand); color: var(--c-brand-700); text-decoration: none; }
.author-box { display: flex; gap: var(--sp-5); align-items: flex-start; background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-6); }
.author-box__avatar { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-700)); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-lg); }
.author-box h2 { margin-bottom: var(--sp-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--sp-8); padding-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: var(--fs-xs); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.socials svg { width: 18px; height: 18px; }

/* ---- Chip zonas ---- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-block; padding: .4rem .85rem; border-radius: var(--r-full); background: color-mix(in srgb, var(--c-zonas) 10%, #fff); color: var(--c-zonas); border: 1px solid color-mix(in srgb, var(--c-zonas) 25%, #fff); font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.chip:hover { background: var(--c-zonas); color: #fff; text-decoration: none; }

/* ---- Page head (interiores) — cabecera oscura, dinámica, silo-aware ---- */
.page-head {
  --ph-accent: var(--silo, var(--c-brand));
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--c-bg-dark); color: var(--c-on-dark);
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--r-lg);
}
/* Usado como banda full-width (<section class="page-head">) */
section.page-head { border-radius: 0; padding: var(--sp-10) 0; }
section.page-head > .wrap { position: relative; z-index: 1; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 320px at 88% -25%, color-mix(in srgb, var(--ph-accent) 32%, transparent), transparent 62%),
    radial-gradient(680px 420px at -10% 125%, rgba(30,111,217,.16), transparent 60%);
}
.page-head::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: -1;
  background: linear-gradient(var(--ph-accent), color-mix(in srgb, var(--ph-accent) 35%, transparent));
}
.page-head .eyebrow { color: var(--ph-accent); }
.page-head h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-head .lead { color: var(--c-on-dark-soft); max-width: 62ch; }
.page-head .lead a, .page-head p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-head .hero__cta { margin-top: var(--sp-5); }

/* ---- Prose de artículos (blog) ---- */
.section .wrap-narrow > p { font-size: var(--fs-md); color: var(--c-ink-soft); }
.section .wrap-narrow > p a { color: var(--c-brand-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.section .wrap-narrow > p a:hover { color: var(--c-brand); }
.section .wrap-narrow > h2 { margin-top: var(--sp-2); }

/* ---- Responsive ---- */
@media (min-width: 680px) {
  .grid--2 { grid-template-columns: repeat(2,1fr); }
  .grid--3 { grid-template-columns: repeat(2,1fr); }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .testis { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(4,1fr); }
}
@media (min-width: 992px) {
  .nav { display: block; }
  .header-cta { display: flex; }
  .nav-toggle { display: none; }
  .grid--3 { grid-template-columns: repeat(3,1fr); }
  .grid--4 { grid-template-columns: repeat(4,1fr); }
  .testis { grid-template-columns: repeat(3,1fr); }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; padding-block: var(--sp-12); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-left .media-ph, .split--media-left .media { order: -1; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ==========================================================================
   Proceso "Cómo trabajamos, paso a paso" (tarjetas con icono + nº)
   ========================================================================== */
.steps { list-style: none; padding: 0; margin: var(--sp-8) 0 0; display: grid; gap: var(--sp-5); }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); } }

.step { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur); }
.step:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); border-color: transparent; }
.step__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--r-full); background: color-mix(in srgb, var(--silo, var(--c-brand)) 14%, #fff); color: var(--silo, var(--c-brand)); margin-bottom: var(--sp-4); }
.step__icon svg { width: 28px; height: 28px; }
.step__num { position: absolute; top: var(--sp-4); right: var(--sp-4); width: 30px; height: 30px; border-radius: var(--r-full); display: grid; place-items: center; font-family: var(--font-head); font-weight: var(--fw-bold); font-size: var(--fs-sm); background: var(--silo, var(--c-brand)); color: #fff; }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { color: var(--c-muted); font-size: var(--fs-sm); margin: 0; }
/* Conector entre pasos (solo desktop) */
@media (min-width: 992px) {
  .step::after { content: ""; position: absolute; top: calc(var(--sp-6) + 29px); right: calc(-1 * var(--sp-6)); width: var(--sp-6); height: 2px; background: linear-gradient(90deg, var(--c-line), transparent); }
  .steps > .step:last-child::after { display: none; }
}

/* ==========================================================================
   "Por qué somos los mejores" — diferenciadores sobre fondo oscuro
   ========================================================================== */
.why { list-style: none; padding: 0; margin: var(--sp-8) 0 0; display: grid; gap: var(--sp-5); }
@media (min-width: 680px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .why { grid-template-columns: repeat(3, 1fr); } }

.why__item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: var(--sp-5); transition: background var(--dur), border-color var(--dur), transform var(--dur); }
.why__item:hover { background: rgba(255,255,255,.07); border-color: color-mix(in srgb, var(--c-brand) 45%, transparent); transform: translateY(-3px); }
.why__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r-md); background: color-mix(in srgb, var(--c-brand) 20%, transparent); color: var(--c-brand); margin-bottom: var(--sp-4); }
.why__icon svg { width: 24px; height: 24px; }
.why__item h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); color: #fff; }
.why__item p { color: var(--c-on-dark-soft); font-size: var(--fs-sm); margin: 0; }
.why__item b { color: #fff; font-weight: var(--fw-semi); }

/* ==========================================================================
   Dinamismo — reveal on-scroll (scroll-driven, sin JS ni marcado)
   Progresivo: navegadores sin soporte muestran el contenido normal.
   ========================================================================== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .testi, .stat, .cta-band,
    .step, .why__item,
    .feature-list li, .faq__item,
    .split > *, .badges--light .badge,
    .page-head .eyebrow, .page-head h1, .page-head .lead, .page-head .hero__cta {
      animation: reveal-up both linear;
      animation-timeline: view();
      animation-range: entry 2% cover 20%;
    }
    /* Escalonado sutil dentro de rejillas */
    .grid > :nth-child(2), .testis > :nth-child(2) { animation-range: entry 4% cover 22%; }
    .grid > :nth-child(3), .testis > :nth-child(3) { animation-range: entry 6% cover 24%; }
    .grid > :nth-child(4) { animation-range: entry 8% cover 26%; }
    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(26px); }
      to   { opacity: 1; transform: translateY(0); }
    }
  }
}
/* Micro-interacción: brillo del bar superior de la card al hover */
.service-card__bar { transform-origin: left; transition: transform var(--dur) var(--ease); }
.card:hover .service-card__bar { transform: scaleX(1); }

/* ---- Estado del formulario (forms.js → /api/lead.php) ---- */
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 8px; border-left: 3px solid transparent; font-size: .92rem; line-height: 1.5; display: none; grid-column: 1 / -1; }
.form-status.is-pending, .form-status.is-success, .form-status.is-error { display: block; }
.form-status.is-pending { background: var(--c-bg-alt); border-left-color: var(--c-muted); color: var(--c-ink-soft); }
.form-status.is-success { background: #ECFAF1; border-left-color: #1E9E5A; color: #145F38; font-weight: 600; }
.form-status.is-error   { background: #FDEDED; border-left-color: #C0392B; color: #8C231A; }
.form-card [aria-invalid="true"] { border-color: #C0392B; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   v3 (2026-10-08) · marca del logo + fotos reales + cabeceras con imagen de fondo
   ========================================================================== */
/* Logo */
.brand__mark { width: 44px; height: 44px; }
.site-footer .brand__mark { background: #fff; border-radius: 50%; padding: 3px; }
.footer-col h2 { color: #fff; font-size: var(--fs-md); margin-bottom: var(--sp-4); }
[hidden] { display: none !important; }  /* .btn{display:inline-flex} anulaba hidden → «Llámanos» con href="#" visible */
.urgent-bar__icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; margin-right: .3em; color: #fff; }
.cta-band { background: linear-gradient(120deg, var(--c-brand-600), var(--c-brand)); }

/* Fotos (cards, split, blog) */
.media { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4/3; background: var(--c-bg-alt); box-shadow: var(--sh-md); }
.media > picture, .media img { display: block; width: 100%; height: 100%; }
.media img { object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card__media.media { box-shadow: none; border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 16/9; }
.post-feature__media.media { border-radius: 0; box-shadow: none; }
.card:hover .media img { transform: scale(1.04); }
.split .media:not(.card__media) { outline: 1px solid rgba(0,0,0,.04); }
@media (prefers-reduced-motion: reduce) { .media img { transition: none; } .card:hover .media img { transform: none; } }

/* Cabeceras con imagen de fondo (home, 24 h e interiores) */
.hero--bg, .page-head.has-bg { isolation: isolate; }
.hero__bg, .page-head__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img, .page-head__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero--bg::after { z-index: -1; background:
  linear-gradient(90deg, rgba(14,15,18,.94) 0%, rgba(14,15,18,.84) 45%, rgba(14,15,18,.5) 100%),
  radial-gradient(1000px 380px at 85% -10%, rgba(253,112,6,.22), transparent 60%); }
.hero--bg .hero__inner { min-height: min(72svh, 680px); align-content: center; }
.hero__inner--solo > div { max-width: 640px; }
.page-head.has-bg::before { background:
  linear-gradient(100deg, rgba(14,15,18,.93) 0%, rgba(14,15,18,.82) 55%, rgba(14,15,18,.55) 100%),
  radial-gradient(900px 320px at 88% -25%, color-mix(in srgb, var(--ph-accent) 30%, transparent), transparent 62%); }
section.page-head.has-bg, header.page-head.has-bg { padding-block: clamp(4rem, 9vw, 6.5rem); }
@media (max-width: 767px) {
  .hero--bg::after { background: linear-gradient(180deg, rgba(14,15,18,.88), rgba(14,15,18,.8)); }
  .page-head.has-bg::before { background: linear-gradient(180deg, rgba(14,15,18,.9), rgba(14,15,18,.82)); }
  .hero--bg .hero__inner { min-height: 70svh; }
}
@media (min-width: 992px) { .hero__inner--solo { grid-template-columns: 1fr; } }

/* Mapa OSM (sin cookies) */
.map-note { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

/* Botones flotantes (se muestran solo si hay número en main.js) */
.float-cta { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 90; display: grid; gap: 12px; }
.float-cta__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--sh-lg); }
.float-cta__btn svg { width: 26px; height: 26px; }
.float-cta__btn--wa { background: #25d366; }
.float-cta__btn--tel { background: var(--c-brand-700); }
@media (min-width: 992px) { .float-cta { bottom: 24px; } }
button.nav__link { background: none; border: 0; margin: 0; line-height: inherit; }
.ico-bolt { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; margin-right: .3em; flex: 0 0 auto; }
/* Móvil: sin scroll horizontal (botones largos con nowrap y barra fija inferior) */
html, body { overflow-x: clip; }
.urgent-sticky .btn { min-width: 0; padding-inline: .75rem; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
