/* gruas-lp.css — diseño de las páginas SEO de grúas (asvrgruas, gruber, gruauto), 4-nov-2026.
   Copia el lenguaje de la LP de Ads de asvrgruas (/lp/gruas/): fondo crema, header flotante con blur,
   botón naranja grande con pulso, tarjetas "job" con foto, chips, barra fija inferior.
   Diferencias a propósito con la LP: contraste AA en todo (el verde WhatsApp lleva tinta oscura,
   el ámbar de texto es #8a5800/#9a6600), blancos táctiles de 44 px y nada de JS obligatorio.
   Todo con prefijo g- para convivir con cualquier otra hoja. Sin fuentes web. */

:root {
  --g-bg: #f7f5ef;
  --g-bg-2: #f0ead9;
  --g-blanco: #fff;
  --g-abismo: #10151c;
  --g-abismo-2: #1a222c;
  --g-tinta: #2a3540;
  --g-gris: #5e6a74;
  --g-ambar: #ffb400;
  --g-ambar-glow: #ffd24d;
  --g-ambar-pale: #ffefc7;
  --g-ambar-hl: #9a6600;   /* palabra resaltada del H1 y títulos grandes: 4,51:1 sobre crema */
  --g-ambar-txt: #8a5800;  /* texto ámbar chico (kicker, enlaces): 5,54:1 sobre crema */
  --g-linea: #e6e0d0;
  --g-call-a: #ff9a4d;
  --g-call-b: #f15a1b;
  --g-call-ink: #2a0f00;   /* 5,33:1 sobre #f15a1b */
  --g-wa: #25d366;
  --g-wa-b: #1ebe5b;
  --g-wa-ink: #04230f;     /* 6,84:1 sobre #1ebe5b. NUNCA texto blanco sobre el verde (1,98:1) */
  --g-wa-txt: #0b7a3b;     /* palabra "WhatsApp" en verde sobre crema: 4,99:1 */
  --g-ease: cubic-bezier(.16, 1, .3, 1);
  --g-sombra: 0 16px 34px rgba(6, 35, 31, .14);
  --g-sombra-suave: 0 10px 26px rgba(6, 35, 31, .08);
  --g-font: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ───────── base (solo dentro de body.g) ───────── */
body.g {
  margin: 0;
  font-family: var(--g-font);
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--g-tinta);
  background: var(--g-bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));  /* aire para la barra fija */
}
body.g *, body.g *::before, body.g *::after { box-sizing: border-box; }
/* :where() deja la especificidad en cero: cualquier clase g- gana sin pelear */
:where(body.g) img, :where(body.g) svg { display: block; max-width: 100%; }
:where(body.g) a { color: inherit; }
/* íconos de línea del sprite de la red (ico() → <svg class="i">): sin estilos.css hay que darles trazo */
:where(body.g) svg.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.g a:focus-visible, body.g button:focus-visible, body.g summary:focus-visible {
  outline: 3px solid var(--g-ambar-txt); outline-offset: 3px; border-radius: 10px;
}
.g-wrap { width: calc(100% - 36px); max-width: 560px; margin-inline: auto; }
.g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-ico { width: 22px; height: 22px; flex: none; }
.g-salto { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; }
.g-salto:focus { left: 8px; }

/* ───────── header flotante (logo + WhatsApp) ───────── */
.g-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; gap: 9px;
  width: calc(100% - 24px); max-width: 520px; margin: 10px auto 0;
  padding: 6px 6px 6px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 10px 26px rgba(6, 35, 31, .10);
  transition: transform .32s var(--g-ease); will-change: transform;
}
.g-head--oculto { transform: translateY(-130%); }
.g-brand { display: flex; align-items: center; gap: 6px; flex: none; min-height: 44px; text-decoration: none;
  font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--g-abismo); }
.g-brand img { height: 38px; width: auto; }
.g-brand b { color: var(--g-ambar-txt); font-weight: 800; }
.g-head-wa {
  flex: 1; min-width: 0; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 14px; border-radius: 14px; white-space: nowrap; text-decoration: none;
  background: linear-gradient(180deg, var(--g-wa), var(--g-wa-b)); color: var(--g-wa-ink);
  font-weight: 800; font-size: 15px; letter-spacing: -.01em;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .38), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.g-head-wa svg { width: 20px; height: 20px; flex: none; }
.g-head-wa:active { transform: scale(.97); }
.g-head__nav { display: none; gap: 2px; margin: 0 6px 0 auto; padding: 0; list-style: none; }
.g-head__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 700; color: var(--g-tinta); }
.g-head__nav a:hover, .g-head__nav a[aria-current] { color: var(--g-ambar-txt); background: rgba(255, 180, 0, .12); }
@media (max-width: 380px) {
  .g-brand span { display: none; }  /* en lo más chico: solo el logo */
  .g-head-wa { font-size: 14px; padding: 8px 10px; }
}

/* ───────── hero: foto arriba + una columna ───────── */
.g-hero { position: relative; padding: 0 0 26px; overflow: hidden; }
.g-hero::before {   /* glow ámbar de la LP */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 85% 10%, rgba(255, 180, 0, .22), transparent 70%);
}
.g-hero__foto {
  position: relative; z-index: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 64%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 64%, transparent 100%);
}
.g-hero__in { position: relative; z-index: 1; margin-top: -86px; }
.g-kicker {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g-ambar-txt);
}
.g-hero .g-kicker { background: rgba(255, 255, 255, .9); border-radius: 999px; padding: 7px 12px; box-shadow: var(--g-sombra-suave); }
.g-vivo { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--g-ambar); flex: none; }
.g-vivo::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 180, 0, .55); animation: g-anillo 2s ease-out infinite; }
@keyframes g-anillo { 0% { transform: scale(.5); opacity: 1 } 75%, 100% { transform: scale(1.4); opacity: 0 } }
.g-h1 {
  position: relative; margin: 0 0 12px; padding-bottom: 4px;
  font-size: clamp(31px, 9vw, 50px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em;
  color: var(--g-abismo); text-wrap: balance;
}
.g-h1::before {   /* velo difuminado tras el título, como la LP */
  content: ""; position: absolute; inset: -10px -12px -6px; z-index: -1; border-radius: 20px;
  background: rgb(247 245 239 / 88%);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  -webkit-mask-image: radial-gradient(130% 115% at 30% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(130% 115% at 30% 50%, #000 58%, transparent 100%);
}
.g-hl { position: relative; z-index: 0; color: var(--g-ambar-hl); }
.g-hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .30em; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 210, 77, .62), rgba(255, 180, 0, .38));
  border-radius: 6px; transform: rotate(-1.2deg);
}
.g-bajada { margin: 0 0 16px; font-size: 17px; font-weight: 600; line-height: 1.42; color: var(--g-tinta); max-width: 34ch; }

/* precio grande del hero */
.g-desde { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 16px; }
.g-desde__lbl { width: 100%; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--g-gris); }
.g-desde__monto { font-size: clamp(40px, 12vw, 56px); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--g-abismo); font-variant-numeric: tabular-nums; }
.g-desde__monto small { font-size: .36em; font-weight: 800; letter-spacing: 0; margin-right: 4px; color: var(--g-tinta); }
.g-desde__nota { font-size: 14px; font-weight: 700; color: var(--g-gris); }

/* EL botón: naranja grande con pulso (dos líneas) */
.g-btn-cta {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; min-height: 66px; padding: 12px 20px; border-radius: 18px; text-align: center; text-decoration: none;
  color: var(--g-call-ink); background: linear-gradient(180deg, var(--g-call-a), var(--g-call-b));
  box-shadow: 0 16px 34px rgba(241, 90, 27, .34), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .12);
  font-weight: 800; letter-spacing: -.01em;
  transition: transform .15s var(--g-ease);
}
.g-btn-cta:active { transform: scale(.985); }
.g-btn-cta svg { width: 24px; height: 24px; flex: none; }
.g-btn-cta__col { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.05; }
.g-btn-cta__main { font-size: clamp(18px, 5.4vw, 21px); }
.g-btn-cta__sub { font-size: 13.5px; font-weight: 700; letter-spacing: .05em; }
.g-btn-cta__sub b { font-weight: 900; }
.g-pulso::after {
  content: ""; position: absolute; inset: -2px; border-radius: 20px; pointer-events: none;
  box-shadow: 0 18px 50px rgba(241, 90, 27, .55); opacity: 0; animation: g-brillo 2.4s ease-in-out infinite;
}
@keyframes g-brillo { 0%, 100% { opacity: 0 } 50% { opacity: 1 } }
.g-tel {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin: 6px auto 0;
  font-size: 15px; font-weight: 700; text-decoration: none; color: var(--g-tinta);
}
.g-tel b { font-weight: 900; color: var(--g-abismo); font-variant-numeric: tabular-nums; }
.g-tel svg { width: 17px; height: 17px; color: var(--g-ambar-txt); }

/* chips de hechos */
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.g-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 8px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--g-linea); box-shadow: 0 4px 12px rgba(16, 21, 28, .05);
  font-size: 13.5px; font-weight: 800; line-height: 1; color: var(--g-abismo); white-space: nowrap;
}
.g-chip svg { width: 15px; height: 15px; color: var(--g-ambar-txt); }
.g-chip--ambar { background: linear-gradient(180deg, var(--g-ambar-glow), var(--g-ambar)); border-color: transparent; color: var(--g-abismo); }

/* migas */
.g-miga { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 4px; padding: 0; list-style: none; font-size: 13.5px; font-weight: 700; color: var(--g-gris); }
.g-miga a { display: inline-flex; align-items: center; min-height: 44px; color: var(--g-ambar-txt); text-decoration: none; }
.g-miga li + li::before { content: "›"; margin-right: 8px; color: var(--g-gris); }

/* ───────── secciones ───────── */
.g-sec { padding: 34px 0; }
.g-sec--crema { background: linear-gradient(180deg, var(--g-bg), var(--g-bg-2)); }
.g-sec--blanca { background: #fff; border-block: 1px solid var(--g-linea); }
.g-h2 { margin: 0 0 10px; font-size: clamp(26px, 7.4vw, 36px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--g-abismo); text-wrap: balance; }
.g-h2 em { font-style: normal; color: var(--g-ambar-hl); }
.g-sub { margin: 0 0 18px; font-size: 15.5px; font-weight: 600; color: var(--g-gris); }
.g-h3 { margin: 18px 0 6px; font-size: 18.5px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--g-abismo); }

/* prosa: párrafos cortos (máx. 3 líneas en móvil) */
.g-prosa p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.55; }
.g-prosa a, .g-enlace { color: var(--g-ambar-txt); font-weight: 700; text-underline-offset: 3px; }
.g-prosa strong { color: var(--g-abismo); }
.g-lista { margin: 4px 0 14px; padding: 0; list-style: none; display: grid; gap: 10px; }
.g-lista li { position: relative; padding: 12px 14px 12px 46px; background: #fff; border: 1px solid var(--g-linea); border-radius: 14px; font-size: 15.5px; line-height: 1.45; }
.g-lista li::before {
  content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--g-ambar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310151c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.g-lista li b, .g-lista li strong { color: var(--g-abismo); }
.g-nota { margin: 14px 0; padding: 14px 16px; border-radius: 16px; background: var(--g-ambar-pale); border: 1px solid #f3dc9c; font-size: 15.5px; line-height: 1.45; }
.g-nota b { color: var(--g-abismo); }

/* ───────── tarjetas "job" con foto y etiqueta ───────── */
.g-jobs { display: grid; gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; }
.g-job { position: relative; height: 300px; border-radius: 22px; overflow: hidden; background: var(--g-abismo); box-shadow: var(--g-sombra); isolation: isolate; }
.g-job__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.g-job::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 66%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(3, 16, 14, .9), rgba(3, 16, 14, .45) 48%, transparent); }
.g-job__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: rgba(6, 22, 20, .72);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  font-size: 12px; font-weight: 800; color: #fff;
}
.g-job__tag .g-vivo { background: #37e6a0; width: 6px; height: 6px; }
.g-job__tag .g-vivo::after { border-color: rgba(55, 230, 160, .55); }
.g-job__info { position: absolute; left: 16px; right: 118px; bottom: 16px; z-index: 2; }
.g-job__ttl { margin: 0; font-size: clamp(20px, 6vw, 24px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.g-job__sub { margin: 5px 0 0; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: rgba(255, 255, 255, .9); }
.g-job__cta {
  position: absolute; right: 14px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
  min-height: 48px; padding: 0 16px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(180deg, var(--g-wa), var(--g-wa-b)); color: var(--g-wa-ink);
  font-weight: 800; font-size: 15px; box-shadow: 0 10px 24px rgba(19, 178, 87, .45);
}
.g-job__cta svg { width: 19px; height: 19px; }
.g-job__cta:active { transform: scale(.96); }

/* ───────── precio: monto grande + tabla simple ───────── */
.g-precio { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--g-linea); border-radius: 22px; padding: 22px 18px 18px; box-shadow: var(--g-sombra-suave); }
.g-precio::before { content: ""; position: absolute; width: 60vmax; height: 60vmax; top: -38vmax; right: -26vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 180, 0, .14), transparent 60%); }
.g-precio__top { position: relative; margin-bottom: 14px; }
.g-precio__lbl { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g-ambar-txt); }
.g-precio__monto { display: block; margin-top: 4px; font-size: clamp(44px, 13vw, 60px); font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--g-abismo); font-variant-numeric: tabular-nums; }
.g-precio__monto small { font-size: .34em; font-weight: 800; letter-spacing: 0; margin-right: 4px; color: var(--g-tinta); }
.g-precio__nota { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--g-gris); }
.g-tabla { position: relative; width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15.5px; }
.g-tabla caption { text-align: left; }
.g-tabla th, .g-tabla td { padding: 12px 2px; border-top: 1px solid var(--g-linea); vertical-align: middle; }
.g-tabla th { text-align: left; font-weight: 700; color: var(--g-tinta); }
.g-tabla th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--g-gris); }
.g-tabla td { text-align: right; white-space: nowrap; font-weight: 900; font-size: 17px; color: var(--g-abismo); font-variant-numeric: tabular-nums; }
.g-tabla td small { font-size: 12.5px; font-weight: 700; color: var(--g-gris); margin-right: 3px; }
.g-tabla tr.g-tabla__dest th, .g-tabla tr.g-tabla__dest td { background: var(--g-ambar-pale); }
.g-tabla tr.g-tabla__dest th { padding-left: 10px; border-radius: 12px 0 0 12px; }
.g-tabla tr.g-tabla__dest td { padding-right: 10px; border-radius: 0 12px 12px 0; }
.g-tabla tr.g-tabla__dest + tr th, .g-tabla tr.g-tabla__dest + tr td { border-top-color: transparent; }
.g-precio__pie { position: relative; margin: 12px 0 0; font-size: 13.5px; font-weight: 600; color: var(--g-gris); text-align: center; }

/* ───────── cómo funciona: 3 pasos ───────── */
.g-pasos { counter-reset: g-paso; display: grid; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.g-paso { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 2px 14px; align-items: start; padding: 16px; background: #fff; border: 1px solid var(--g-linea); border-radius: 18px; box-shadow: var(--g-sombra-suave); }
.g-paso::before {
  counter-increment: g-paso; content: counter(g-paso); grid-row: span 2;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(180deg, var(--g-ambar-glow), var(--g-ambar)); color: var(--g-abismo);
  font-size: 21px; font-weight: 900; box-shadow: 0 8px 18px rgba(185, 123, 0, .26);
}
.g-paso__ttl { margin: 2px 0 0; font-size: 17.5px; font-weight: 800; line-height: 1.2; color: var(--g-abismo); }
.g-paso__txt { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--g-gris); }

/* ───────── bloque WhatsApp con demo de chat (estático) ───────── */
.g-wa { display: flex; flex-direction: column; align-items: center; text-align: center; }
.g-wa__ttl { margin: 0 0 6px; font-size: clamp(25px, 7.4vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--g-abismo); text-wrap: balance; }
.g-wa__ttl span { color: var(--g-wa-txt); }
.g-wa__sub { margin: 0 0 16px; font-size: 15.5px; font-weight: 600; color: var(--g-gris); }
.g-chat { width: 100%; max-width: 360px; text-align: left; border-radius: 18px 18px 0 0; overflow: hidden; border: 1px solid var(--g-linea); border-bottom: 0; background: #ece5dd; box-shadow: 0 18px 38px rgba(6, 35, 31, .16); }
.g-chat__head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; background: #075e54; color: #fff; }
.g-chat__av { width: 32px; height: 32px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; flex: none; }
.g-chat__name { display: block; font-weight: 700; font-size: 14px; line-height: 1.1; }
.g-chat__st { display: block; font-size: 12px; color: #d3f2e8; }
.g-chat__body { display: flex; flex-direction: column; gap: 7px; padding: 12px 11px 14px; }
.g-msg { margin: 0; max-width: 86%; padding: 7px 10px 6px; border-radius: 12px; font-size: 14px; line-height: 1.36; color: #0b1f1c; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.g-msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.g-msg--out { align-self: flex-end; background: #dcf8c6; border-top-right-radius: 4px; }
.g-msg b { font-weight: 800; }
.g-wa__btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 360px; min-height: 62px;
  padding: 12px 16px; border-radius: 0 0 18px 18px; text-decoration: none;
  background: linear-gradient(180deg, var(--g-wa), var(--g-wa-b)); color: var(--g-wa-ink);
  font-size: 17.5px; font-weight: 800; box-shadow: 0 12px 28px rgba(30, 190, 91, .32);
}
.g-wa__btn svg { width: 26px; height: 26px; }

/* ───────── FAQ ───────── */
.g-faq { display: grid; gap: 10px; }
.g-faq details { background: #fff; border: 1px solid var(--g-linea); border-radius: 16px; box-shadow: 0 4px 12px rgba(16, 21, 28, .04); }
.g-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 16px;
  list-style: none; cursor: pointer; font-size: 16px; font-weight: 800; line-height: 1.3; color: var(--g-abismo);
}
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--g-ambar-pale)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5800' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--g-ease);
}
.g-faq details[open] summary::after { transform: rotate(180deg); }
.g-faq details p { margin: 0; padding: 0 16px 16px; font-size: 15.5px; line-height: 1.5; color: var(--g-tinta); }

/* ───────── comunas vecinas (chips enlazados) ───────── */
.g-comunas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.g-comunas a, .g-comunas span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--g-linea); text-decoration: none;
  font-size: 14.5px; font-weight: 800; color: var(--g-abismo); box-shadow: 0 4px 12px rgba(16, 21, 28, .05);
  transition: border-color .18s var(--g-ease), transform .12s var(--g-ease);
}
.g-comunas a svg { width: 15px; height: 15px; color: var(--g-ambar-txt); }
.g-comunas a:hover { border-color: var(--g-ambar); }
.g-comunas a:active { transform: scale(.96); }
.g-comunas .g-comunas__mas { background: linear-gradient(180deg, var(--g-ambar-glow), var(--g-ambar)); border-color: transparent; }

/* tarjetas de enlace (otras páginas, servicios) */
.g-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.g-links + .g-comunas { margin-top: 14px; }  /* tarjetas con nota y chips en la misma sección (comunas vecinas) */
.g-link { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--g-linea); text-decoration: none; box-shadow: 0 4px 12px rgba(16, 21, 28, .04); }
.g-link__ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--g-abismo); color: var(--g-ambar); }
.g-link__ico svg { width: 22px; height: 22px; }
.g-link__tx { flex: 1; min-width: 0; }
.g-link__tx b { display: block; font-size: 16px; font-weight: 800; color: var(--g-abismo); line-height: 1.2; }
.g-link__tx small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--g-gris); line-height: 1.3; }
.g-link__fl { width: 20px; height: 20px; flex: none; color: var(--g-ambar-txt); }

/* ───────── cierre ───────── */
.g-cierre { position: relative; overflow: hidden; border-radius: 24px; background: var(--g-abismo); color: #fff; box-shadow: var(--g-sombra); isolation: isolate; }
.g-cierre__img { width: 100%; height: 190px; object-fit: cover; opacity: .82;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 45%, transparent 100%); }
.g-cierre__in { position: relative; z-index: 1; margin-top: -54px; padding: 0 18px 20px; text-align: center; }
.g-cierre__ttl { margin: 0 0 8px; font-size: clamp(26px, 7.6vw, 36px); font-weight: 900; line-height: 1.08; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); text-wrap: balance; }
.g-cierre__ttl span { color: var(--g-ambar-glow); }
.g-cierre__txt { margin: 0 0 18px; font-size: 15.5px; font-weight: 600; color: #d5dbe1; }
.g-cierre .g-tel { color: #d5dbe1; }
.g-cierre .g-tel b { color: #fff; }
.g-cierre .g-tel svg { color: var(--g-ambar-glow); }

/* ───────── pie corto ───────── */
.g-pie { margin-top: 34px; padding: 34px 0 26px; background: var(--g-abismo); color: #c9d1d8; text-align: center; }
.g-pie__marca { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 800; font-size: 18px; color: #fff; }
.g-pie__marca img { height: 34px; width: auto; }
.g-pie__desc { margin: 6px auto 18px; max-width: 34ch; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: #c9d1d8; }
.g-pie__lbl { display: block; margin: 0 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #a8b3bd; }
.g-pie__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.g-pie__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; font-weight: 700; color: #fff;
}
.g-pie__links a:hover { background: rgba(255, 255, 255, .15); }
.g-pie__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(180deg, var(--g-ambar-glow), var(--g-ambar)); color: var(--g-abismo); font-weight: 800; font-size: 15.5px; }
.g-pie__legal { margin: 18px 0 0; font-size: 12.5px; color: #a8b3bd; }

/* ───────── barra fija inferior: WhatsApp ancho + llamar chico ───────── */
.g-barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; justify-content: center;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none;
  transition: transform .45s var(--g-ease), opacity .3s ease;
}
.g-barra__in { display: flex; gap: 8px; width: 100%; max-width: 520px; padding: 7px; border-radius: 22px; pointer-events: auto;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--g-linea); box-shadow: 0 14px 36px rgba(6, 35, 31, .18); }
.g-barra__wa { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(180deg, var(--g-call-a), var(--g-call-b)); color: var(--g-call-ink);
  font-weight: 800; font-size: 16.5px; box-shadow: 0 10px 22px rgba(241, 90, 27, .32), inset 0 1px 0 rgba(255, 255, 255, .42); }
.g-barra__wa svg { width: 22px; height: 22px; }
.g-barra__tel { flex: none; display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 54px; min-height: 54px; padding: 0 14px; border-radius: 16px; text-decoration: none;
  background: #fff; border: 1px solid var(--g-linea); color: var(--g-abismo); font-weight: 800; font-size: 15px; }
.g-barra__tel svg { width: 19px; height: 19px; color: var(--g-ambar-txt); }
html.g-js .g-barra { transform: translateY(140%); opacity: 0; }
html.g-js .g-barra.g-barra--visible { transform: none; opacity: 1; }

/* ───────── piezas para mapear los bloques de la red y los artículos ───────── */
/* foto dentro del texto (bloque texto con foto) */
.g-foto { margin: 6px 0 16px; }
.g-foto img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; box-shadow: var(--g-sombra-suave); }
.g-foto figcaption { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--g-gris); }
/* tarjetas sin enlace (tarjetas, datos, comparación) */
.g-cards { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.g-card { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--g-linea); box-shadow: 0 4px 12px rgba(16, 21, 28, .04); }
.g-card .g-link__ico { margin-bottom: 10px; }
.g-card__ttl { margin: 0 0 4px; font-size: 17px; font-weight: 800; line-height: 1.2; color: var(--g-abismo); }
.g-card__txt { margin: 0; font-size: 15px; line-height: 1.45; color: var(--g-gris); }
.g-card__txt a { color: var(--g-ambar-txt); font-weight: 700; }
.g-card__cifra { display: block; font-size: 38px; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--g-abismo); }
.g-card__fuente { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--g-ambar-txt); }
.g-cmp__mal, .g-cmp__bien { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.45; }
.g-cmp__mal { color: var(--g-gris); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--g-linea); }
.g-cmp__bien { color: var(--g-tinta); font-weight: 600; }
.g-cmp__mal::before, .g-cmp__bien::before { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; font-weight: 900; }
.g-cmp__mal::before { content: "✕"; background: #fde3dc; color: #a3290f; }
.g-cmp__bien::before { content: "✓"; background: #d8f5e3; color: #0b6a33; }
/* botón-caso que abre WhatsApp con el mensaje escrito (bloque botones_wa) */
.g-link--wa .g-link__ico { background: linear-gradient(180deg, var(--g-wa), var(--g-wa-b)); color: var(--g-wa-ink); }
/* tablas de artículos (no de precios) */
.g-tabla thead th { border-top: 0; padding-top: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g-gris); }
.g-tabla--texto td { text-align: left; white-space: normal; font-size: 15px; font-weight: 600; color: var(--g-tinta); }
.g-scroll { overflow-x: auto; margin: 0 0 16px; padding: 14px 16px 2px; border-radius: 18px; background: #fff; border: 1px solid var(--g-linea); }
.g-scroll .g-tabla { margin: 0; min-width: 480px; }

/* ───────── escritorio ───────── */
@media (min-width: 900px) {
  body.g { font-size: 17px; padding-bottom: 0; }
  .g-wrap { max-width: 1080px; width: calc(100% - 64px); }
  .g-wrap--texto { max-width: 760px; }
  .g-head { max-width: 1080px; margin-top: 14px; padding: 8px 8px 8px 16px; }
  .g-head-wa { flex: none; padding: 8px 20px; }
  .g-head__nav { display: flex; }
  .g-hero { padding: 112px 0 40px; }
  .g-hero > .g-wrap-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; max-width: 1080px; width: calc(100% - 64px); margin-inline: auto; }
  .g-hero__foto { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 3.2; border-radius: 26px; -webkit-mask-image: none; mask-image: none; box-shadow: var(--g-sombra); }
  .g-hero__in { grid-column: 1; grid-row: 1; margin: 0; width: auto; max-width: none; }
  .g-h1 { font-size: clamp(44px, 4.4vw, 58px); }
  .g-btn-cta, .g-hero .g-tel { max-width: 460px; margin-inline: 0; }
  .g-hero .g-tel { justify-content: flex-start; }
  .g-sec { padding: 56px 0; }
  .g-jobs { grid-template-columns: repeat(3, 1fr); }
  .g-job { height: 340px; }
  .g-pasos { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .g-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .g-paso { grid-template-columns: 1fr; }
  .g-paso::before { grid-row: auto; margin-bottom: 8px; }
  .g-links { grid-template-columns: repeat(3, 1fr); }
  .g-precio { padding: 30px 32px 26px; }
  .g-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .g-cierre { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .g-cierre__img { height: 100%; min-height: 320px; -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%); mask-image: linear-gradient(to right, #000 55%, transparent 100%); }
  .g-cierre__in { margin: 0; padding: 32px 36px; text-align: left; }
  .g-cierre .g-tel { justify-content: flex-start; }
  .g-barra { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .g-pulso::after, .g-vivo::after { animation: none; }
  .g-head, .g-barra { transition: none !important; }
}

/* ───────── extras de asvrgruas (4-nov-2026, páginas ligeras) ───────── */
/* listas numeradas: mismo look de .g-lista con el número en el círculo ámbar */
.g-lista--num { counter-reset: gnum; }
.g-lista--num li { counter-increment: gnum; }
.g-lista--num li::before { content: counter(gnum); display: grid; place-items: center; background-image: none; font-size: 12px; font-weight: 900; color: var(--g-abismo); }
/* índice "En esta guía" del blog */
.g-indice { display: block; margin-top: 18px; }
.g-indice ol { margin: 6px 0 0; padding-left: 22px; }
.g-indice li { margin: 0; }
.g-indice a { display: inline-flex; align-items: center; min-height: 44px; color: var(--g-ambar-txt); font-weight: 700; text-underline-offset: 3px; }
/* enlaces dentro de listas y respuestas del FAQ */
.g-faq details p a { color: var(--g-ambar-txt); font-weight: 700; }
.g-pie nav { display: contents; }
/* resaltado del H1 que ocupa más de una línea: subrayado por línea (el ::after solo sirve en una) */
.g-hl--largo::after { display: none; }
.g-hl--largo { background: linear-gradient(90deg, rgba(255, 210, 77, .62), rgba(255, 180, 0, .38)) no-repeat 0 88% / 100% .28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* botones y tarjetas dentro de una columna de texto: no heredan el color de enlace de .g-prosa */
.g-prosa a.g-btn-cta { color: var(--g-call-ink); text-decoration: none; }
.g-prosa a.g-link { color: var(--g-abismo); text-decoration: none; }
