/* =========================================================
   Gruamotos Bogotá — Hoja de estilos principal
   Paleta tomada del logo: negro carbón, amarillo y cromo.
   Regla del proyecto: ningún texto por debajo de 1rem (17px en móviles).
   ========================================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --bg-3: #1b1b1f;
  --line: rgba(255, 255, 255, .09);
  --line-y: rgba(255, 214, 10, .35);
  --y: #ffd60a;
  --y-2: #ffb703;
  --y-grad: linear-gradient(180deg, #fff15a 0%, #ffd60a 45%, #f5a800 100%);
  --chrome: linear-gradient(180deg, #ffffff 0%, #eceef2 42%, #9aa0aa 52%, #d9dce2 70%, #ffffff 100%);
  --txt: #ededf0;
  --muted: #b9bbc3;
  --ink: #0b0b0c;
  --wa: #25d366;
  --wa-ink: #04140a;
  --fh: "Saira Condensed", "Arial Narrow", Impact, sans-serif;
  --fb: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px var(--line-y), 0 18px 50px -18px rgba(255, 214, 10, .45);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 17px; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (min-width: 1024px) { html { font-size: 18px; } }
body {
  margin: 0; background: var(--bg); color: var(--txt);
  font-family: var(--fb); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; color: transparent; }
a { color: var(--y); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .h2, .h3 {
  font-family: var(--fh); font-weight: 800; font-style: italic; text-transform: uppercase;
  line-height: 1.02; letter-spacing: .01em; margin: 0 0 .5em; color: #fff;
}
h1 { font-size: clamp(2.5rem, 7.2vw, 4.7rem); font-weight: 900; }
h2, .h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: #fff; }
.wrap { width: min(1240px, 100% - 2.4rem); margin-inline: auto; }
.narrow { width: min(860px, 100% - 2.4rem); margin-inline: auto; }
.wrap .narrow { width: min(860px, 100%); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--y); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.flip { transform: scaleX(-1); }

.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.55)); }
.y { background: var(--y-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(0,0,0,.6)); }
.kicker {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 .8em;
  font-family: var(--fh); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .14em;
  font-size: 1rem; color: var(--y);
}
.kicker::before { content: ""; width: 34px; height: 4px; background: var(--y-grad); transform: skewX(-25deg); }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.lead strong { color: var(--y); }

/* ---------- Botones ---------- */
.btn {
  --clip: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: .8em 1.9em; border: 0; cursor: pointer;
  font-family: var(--fh); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.12rem; line-height: 1.1; text-align: center;
  clip-path: var(--clip); transition: transform .25s var(--ease), filter .25s, background-color .25s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn::after { /* brillo que recorre el botón */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 1.35em; height: 1.35em; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { color: var(--wa-ink); filter: brightness(1.06); }
.btn-y { background: var(--y-grad); color: var(--ink); }
.btn-y:hover { color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,214,10,.12); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.4rem 0; }
.cta-col { flex-direction: column; }
.cta-col .btn { width: 100%; }
.center-row { justify-content: center; }
.cta-row-dark .btn-ghost { background: var(--ink); box-shadow: none; }
.cta-row-dark .btn-ghost:hover { background: #222; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--y); font-size: 1rem; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--y-grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.header.scrolled { background: rgba(10,10,11,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-in { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { flex: none; display: block; }
.brand img { height: 54px; width: auto; transition: transform .3s var(--ease), height .3s var(--ease), width .3s var(--ease); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: .3em; padding: .5em .6em; color: #fff;
  font-family: var(--fh); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 1rem;
  position: relative;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: .8em; right: .8em; bottom: .2em; height: 3px;
  background: var(--y-grad); transform: scaleX(0) skewX(-25deg); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current]::after { transform: scaleX(1) skewX(-25deg); }
.nav-list > li > a[aria-current] { color: var(--y); }
.sub-ico { width: 1em; height: 1em; transition: transform .25s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 10px); min-width: 560px;
  background: rgba(18,18,20,.97); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 14px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover .sub-ico { transform: rotate(180deg); }
.sub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sub-grid a { display: flex; align-items: center; gap: .7em; padding: .6em .8em; border-radius: 10px; color: var(--txt); font-weight: 600; }
.sub-grid a .ico { color: var(--y); }
.sub-grid a:hover { background: rgba(255,214,10,.1); color: #fff; }
.sub-wide { min-width: 720px; }
.sub-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.sub-title { font-family: var(--fh); font-style: italic; font-weight: 800; text-transform: uppercase; color: var(--y); margin: .2em .5em .4em; font-size: 1.05rem; }
.sub-zones { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 8px; }
.sub-wide .sub-cols > div:first-child .sub-zones { columns: 3; }
.sub-zones a { display: block; padding: .3em .5em; border-radius: 8px; color: var(--txt); font-size: 1rem; break-inside: avoid; }
.sub-zones a:hover { background: rgba(255,214,10,.1); color: #fff; }
.header-cta { min-height: 48px; padding: .6em 1.4em; font-size: 1rem; flex: none; }
.burger { display: none; }
.nav-mobile-cta { display: none; }

@media (max-width: 1400px) {
  .header-cta span { display: none; }
  .header-cta { padding: .6em 1.1em; }
}
@media (max-width: 1080px) {
  :root { --header-h: 96px; }
  .brand img { height: 78px; }
  .header.scrolled .brand img { height: 62px; }
  .header.scrolled { --header-h: 80px; }
  .header-cta { display: none; }
  .burger {
    display: grid; gap: 6px; place-content: center; margin-left: auto; width: 52px; height: 52px;
    background: var(--y-grad); border: 0; cursor: pointer; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  }
  .burger span { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  /* Menú móvil a pantalla completa (debajo del encabezado) */
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding: 18px 1.2rem 40px; margin: 0; z-index: 101;
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
  }
  .nav-open .nav { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  /* El desenfoque del encabezado encerraba el menú dentro de él: se quita mientras el menú está abierto */
  .nav-open .header, .nav-open .header.scrolled { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 var(--line); }
  html:has(body.nav-open), body.nav-open { overflow: hidden; }
  .nav-open .wa-float, .nav-open .call-float { opacity: 0; visibility: hidden; pointer-events: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { font-size: 1.5rem; padding: .7em .2em; width: 100%; justify-content: space-between; }
  .nav-list > li > a::after { display: none; }
  .sub { position: static; transform: none; min-width: 0; opacity: 1; visibility: visible; display: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 12px; }
  .has-sub.open .sub { display: block; }
  .has-sub.open .sub-ico { transform: rotate(180deg); }
  .has-sub:hover .sub { transform: none; }
  .sub-grid, .sub-cols { grid-template-columns: 1fr; }
  .sub-zones, .sub-wide .sub-cols > div:first-child .sub-zones { columns: 2; }
  .nav-mobile-cta { display: block; padding-top: 18px; }
  .nav-mobile-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 90px; min-height: min(100svh, 980px); display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(255,214,10,.12), transparent 60%), var(--bg);
}
.hero-stripes, .page-hero .hero-stripes {
  position: absolute; inset: -20%; z-index: -2; opacity: .55;
  background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,214,10,.05) 46px 50px);
  animation: stripes 22s linear infinite;
}
@keyframes stripes { to { transform: translateX(100px); } }
.hero-glow {
  position: absolute; width: 640px; height: 640px; right: -120px; top: 10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,10,.28), transparent 65%); filter: blur(30px);
  animation: glow 7s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-60px, 40px) scale(1.1); opacity: .7; } }
.road { position: absolute; left: 0; right: 0; bottom: 26px; height: 6px; z-index: -1; overflow: hidden; opacity: .5; }
.road span { position: absolute; inset: 0 -200px 0 0; background: repeating-linear-gradient(90deg, var(--y) 0 70px, transparent 70px 140px); animation: road 3s linear infinite; }
@keyframes road { to { transform: translateX(-140px); } }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .chrome, .hero h1 .y { display: inline-block; }
.badge-live {
  display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em; margin-bottom: 1.2rem;
  border: 1px solid var(--line-y); border-radius: 99px; background: rgba(255,214,10,.08); color: #fff; font-weight: 600; font-size: 1rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.hero-chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-chips li { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--txt); font-size: 1rem; }
.hero-chips .ico { color: var(--y); }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px dashed rgba(255,214,10,.55); animation: spin 40s linear infinite;
}
.ring::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 10px solid transparent; border-top-color: var(--y); border-right-color: var(--y-2); animation: spin 6s linear infinite reverse; filter: drop-shadow(0 0 14px rgba(255,214,10,.6)); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-img {
  position: absolute; inset: 44px; margin: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #2a2a2e, #0e0e10 70%); box-shadow: inset 0 0 0 6px #000, 0 30px 80px -20px rgba(0,0,0,.9);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.08) translateY(-8px); } }
.hook { position: absolute; top: -90px; left: 50%; z-index: 3; transform-origin: 50% 0; animation: swing 3.6s ease-in-out infinite; display: grid; justify-items: center; }
.hook-cable { width: 4px; height: 96px; background: linear-gradient(#555, #bbb); }
.hook-ico { width: 54px; height: 54px; color: var(--y); stroke-width: 2.6; margin-top: -4px; filter: drop-shadow(0 4px 10px rgba(255,214,10,.5)); }
@keyframes swing { 0%, 100% { transform: translateX(-50%) rotate(7deg); } 50% { transform: translateX(-50%) rotate(-7deg); } }
.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .7em; padding: .75em 1.1em;
  background: rgba(18,18,20,.88); border: 1px solid var(--line-y); border-radius: 14px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
  animation: bob 5s ease-in-out infinite;
}
.float-card .ico { width: 34px; height: 34px; color: var(--y); }
.float-card strong { display: block; font-family: var(--fh); font-style: italic; text-transform: uppercase; font-size: 1.3rem; line-height: 1; }
.float-card span { font-size: 1rem; color: var(--muted); }
.fc-1 { left: -14px; bottom: 16%; }
.fc-2 { right: -10px; top: 14%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 28px); min-height: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 420px; order: 2; margin-top: 50px; }
  .hook { top: -76px; }
  .hook-cable { height: 70px; }
  .fc-1 { left: -6px; } .fc-2 { right: -6px; }
}

/* ---------- Marquesina ---------- */
.marquee { background: var(--y-grad); transform: rotate(-1.6deg); margin: -10px -20px 0; padding: 14px 0; overflow: hidden; position: relative; z-index: 5; box-shadow: 0 10px 30px -10px rgba(255,214,10,.4); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; margin: 0; padding: 0; }
.marquee li a {
  display: inline-flex; align-items: center; gap: 22px; padding: 0 22px; white-space: nowrap; color: var(--ink);
  font-family: var(--fh); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.25rem;
}
.marquee li a::after { content: "✦"; font-style: normal; }
.marquee li a:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-dark { background: var(--bg-2); }
.section-y { background: var(--y-grad); color: var(--ink); }
.section-y h2, .section-y .kicker { color: var(--ink); }
.section-y .kicker::before { background: var(--ink); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); }
.sec-head p:not(.kicker) { color: var(--muted); font-size: 1.1rem; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Problema / solución */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; background: linear-gradient(135deg, #1d1d21, #0e0e10); box-shadow: var(--glow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.05); }
.split-tag { position: absolute; left: 18px; bottom: 18px; background: var(--y-grad); color: var(--ink); padding: .4em 1.1em; font-family: var(--fh); font-weight: 800; font-style: italic; text-transform: uppercase; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 18px; }
.ticks li { display: flex; gap: 14px; }
.ticks .ico { width: 30px; height: 30px; color: var(--y); margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Tarjetas */
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; transform-style: preserve-3d; }
.card:hover { border-color: var(--line-y); box-shadow: var(--glow); }
.svc-media, .post-media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 30% 30%, #2b2b30, #111113); }
.post-media { aspect-ratio: 16 / 10; }
.svc-media img, .post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .svc-media img, .card:hover .post-media img { transform: scale(1.08); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(27,27,31,.95)); }
.svc-ico { position: absolute; left: 20px; bottom: -6px; z-index: 2; width: 58px; height: 58px; display: grid; place-items: center; background: var(--y-grad); color: var(--ink); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: transform .35s var(--ease); }
.svc-ico .ico { width: 28px; height: 28px; }
.card:hover .svc-ico { transform: translateY(-6px); }
.svc-body, .post-body { padding: 24px 24px 26px; }
.svc-body h3 a, .post-body h3 a { color: #fff; }
.svc-body h3 a:hover, .post-body h3 a:hover { color: var(--y); }
.svc-body p, .post-body p { color: var(--muted); }
.post-body time { display: block; color: var(--y); font-weight: 600; margin-bottom: .4em; font-size: 1rem; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 4px; background: repeating-linear-gradient(90deg, var(--y) 0 18px, transparent 18px 32px); opacity: .5; animation: road 2.4s linear infinite; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .ico { width: 92px; height: 92px; padding: 22px; border-radius: 50%; color: var(--y); background: var(--bg-3); border: 2px solid var(--line-y); position: relative; z-index: 1; margin: 0 auto 18px; transition: transform .4s var(--ease), background-color .4s, color .4s; }
.step:hover .ico { transform: rotate(-8deg) scale(1.08); background: var(--y); color: var(--ink); }
.step-n { position: absolute; top: -6px; left: calc(50% + 22px); z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; background: var(--y-grad); color: var(--ink); border-radius: 50%; font-family: var(--fh); font-weight: 900; font-size: 1.2rem; }
.step p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Contadores y por qué */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.counter { text-align: center; padding: 18px 10px; border-top: 4px solid var(--ink); }
.counter strong { display: block; font-family: var(--fh); font-weight: 900; font-style: italic; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--ink); }
.counter span { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.why-item { background: var(--ink); color: var(--txt); padding: 30px 26px; border-radius: var(--r-lg); transition: transform .35s var(--ease); }
.why-item:hover { transform: translateY(-8px) rotate(-.6deg); }
.why-item .ico { width: 46px; height: 46px; color: var(--y); margin-bottom: 14px; }
.why-item p { color: var(--muted); margin: 0; }
@media (max-width: 720px) { .counters { grid-template-columns: 1fr 1fr; } }

/* Chips y zonas */
.zones-block { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.zones-title { display: flex; align-items: center; gap: .5em; font-size: 1.5rem; }
.zones-title .ico { color: var(--y); }
@media (max-width: 860px) { .zones-block { grid-template-columns: 1fr; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: .5em 1.05em; border-radius: 99px; background: var(--bg-3); border: 1px solid var(--line); color: var(--txt);
  font-weight: 600; font-size: 1rem; transition: background-color .25s, color .25s, transform .25s var(--ease), border-color .25s;
}
a.chip:hover { background: var(--y); color: var(--ink); border-color: var(--y); transform: translateY(-3px); }
.chip-y { background: var(--y); color: var(--ink); border-color: var(--y); }
.chip-static { background: rgba(255,255,255,.05); }
.chips-sm { margin-bottom: 1rem; }
.zone-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 56px 22px 22px; border-radius: var(--r);
  background: var(--bg-3); border: 1px solid var(--line); color: var(--txt); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.zone-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--y-grad); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); }
.zone-card:hover { transform: translateY(-5px); border-color: var(--line-y); box-shadow: var(--glow); color: var(--txt); }
.zone-card:hover::before { transform: scaleY(1); }
.zone-name { font-family: var(--fh); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.45rem; color: #fff; line-height: 1.1; }
.zone-meta { color: var(--muted); font-size: 1rem; }
.zone-go { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--y); transition: transform .3s var(--ease); }
.zone-card:hover .zone-go { transform: translate(5px, -50%); }

/* Testimonios */
.slider { position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 10px; }
.slider-track::-webkit-scrollbar { display: none; }
@media (max-width: 1000px) { .slider-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .slider-track { grid-auto-columns: 88%; } }
.testi { position: relative; margin: 0; scroll-snap-align: start; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.section:not(.section-dark) .testi { background: var(--bg-2); }
.stars { display: flex; gap: 3px; color: var(--y); margin-bottom: 12px; }
.star { width: 20px; height: 20px; fill: var(--y); }
.testi-q { position: absolute; right: 22px; top: 18px; width: 54px; height: 54px; color: rgba(255,214,10,.16); }
.testi blockquote { margin: 0 0 18px; flex: 1; }
.testi blockquote p { margin: 0; color: var(--txt); }
.testi figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 14px; }
.testi figcaption span { color: var(--y); font-size: 1rem; }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 22px; }
.slider-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-y); background: transparent; color: var(--y); cursor: pointer; transition: background-color .25s, color .25s; }
.slider-btn:hover { background: var(--y); color: var(--ink); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots i { width: 10px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.2); transition: width .3s, background-color .3s; }
.slider-dots i.on { width: 30px; background: var(--y); }

/* Equipo */
.team { text-align: center; padding: 10px; }
.team-img { width: 210px; height: 210px; margin: 0 auto 20px; border-radius: 50%; padding: 6px; background: conic-gradient(var(--y), var(--y-2), #555, var(--y)); animation: spin 12s linear infinite; }
.team-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #1c1c20; animation: spin 12s linear infinite reverse; border: 5px solid var(--bg); }
.team-role { color: var(--y); font-weight: 700; margin-bottom: .5em; }
.team p:last-child { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-bottom: 30px; }
.faq-item { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, background-color .3s; }
.section:not(.section-dark) .faq-item { background: var(--bg-2); }
.faq-item[open] { border-color: var(--line-y); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1.08rem; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { color: var(--y); transition: transform .3s var(--ease); }
.faq-item[open] .faq-ico { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p { margin: 0; }
.faq-group { margin-top: 1.6em; font-size: clamp(1.5rem, 3vw, 2rem); }
.faq-group a { color: #fff; } .faq-group a:hover { color: var(--y); }

/* Banda CTA */
.cta-band { position: relative; overflow: hidden; background: var(--y-grad); color: var(--ink); padding: clamp(56px, 7vw, 90px) 0; isolation: isolate; }
.cta-band-bg { position: absolute; inset: -50%; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(0,0,0,.06) 60px 66px); animation: stripes 16s linear infinite; }
.cta-band-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band .h2 { color: var(--ink); margin-bottom: .2em; }
.cta-band p { margin: 0; font-weight: 600; max-width: 52ch; }
.cta-band .cta-row { margin: 0; }

/* Páginas internas */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 48px) 0 clamp(50px, 7vw, 90px); background: radial-gradient(900px 500px at 90% 0, rgba(255,214,10,.13), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero-in { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.page-hero.has-img .page-hero-in { grid-template-columns: 1.15fr .85fr; }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
.page-hero-media { margin: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; max-width: 420px; justify-self: center; width: 100%; background: radial-gradient(circle at 50% 35%, #2a2a2e, #0e0e10 70%); box-shadow: 0 0 0 6px #000, 0 0 0 10px var(--y), 0 30px 80px -20px rgba(255,214,10,.35); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero.has-img .page-hero-in { grid-template-columns: 1fr; } .page-hero-media { max-width: 300px; } }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .4em; font-size: 1rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .4em; color: rgba(255,255,255,.3); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--y); }
.crumbs [aria-current] { color: var(--y); }
.post-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.post-cover { margin: 0 0 40px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: radial-gradient(circle at 30% 30%, #2b2b30, #111113); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.aside-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.aside-card:first-child { border-color: var(--line-y); box-shadow: var(--glow); }
.aside-title { display: flex; align-items: center; gap: .5em; font-family: var(--fh); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.3rem; color: #fff; }
.aside-title .ico { color: var(--y); }
.aside-card .cta-row { margin: 1rem 0 0; }
.aside-card .btn { font-size: 1.02rem; padding: .8em 1.2em; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: block; padding: .55em 0; border-bottom: 1px solid var(--line); color: var(--txt); }
.aside-links a:hover { color: var(--y); padding-left: 6px; }

/* Contenido largo */
.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--y); }
.prose p, .prose li { color: #d6d7dc; }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin: 0 0 1.4em; display: grid; gap: .6em; }
.prose ul li { position: relative; padding-left: 1.8em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--y-grad); transform: skewX(-20deg); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 2.6em; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .05em; width: 1.8em; height: 1.8em; display: grid; place-items: center; background: var(--y); color: var(--ink); border-radius: 50%; font-weight: 800; font-size: 1rem; }
.prose a { color: var(--y); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose em { color: var(--muted); }
.inline-cta { margin-top: 48px; padding: 32px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line-y); box-shadow: var(--glow); }
.inline-cta .cta-row { margin-bottom: 0; }

/* Contacto */
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 24px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); color: var(--txt); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
a.contact-card:hover { transform: translateY(-6px); border-color: var(--line-y); box-shadow: var(--glow); color: var(--txt); }
.contact-card strong { font-family: var(--fh); font-style: italic; text-transform: uppercase; font-size: 1.6rem; }
.contact-card em { color: var(--muted); font-style: normal; }
.contact-ico { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: var(--y-grad); color: var(--ink); margin-bottom: 10px; }
.contact-ico.wa { background: var(--wa); color: var(--wa-ink); }
.contact-ico .ico { width: 36px; height: 36px; }
.contact-tips { margin-top: 60px; }

/* 404 */
.err { min-height: 80vh; display: grid; place-items: center; }
.big404 { font-family: var(--fh); font-weight: 900; font-style: italic; font-size: clamp(7rem, 22vw, 14rem); line-height: .9; margin: 0; background: var(--y-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err .lead { margin-inline: auto; }

/* ---------- Footer ---------- */
.footer { background: #070708; padding-top: 0; border-top: 1px solid var(--line); }
.footer-stripe { height: 10px; background: repeating-linear-gradient(115deg, var(--y) 0 22px, var(--ink) 22px 44px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.footer-brand img { width: 260px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); }
.footer-title { font-family: var(--fh); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--y); font-size: 1.3rem; margin-bottom: .7em; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: .45em; }
.footer-links a { color: var(--txt); font-size: 1rem; }
.footer-links a:hover { color: var(--y); }
.footer-links .more { color: var(--y); font-weight: 700; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: .55em; color: var(--txt); font-size: 1rem; }
.footer-contact .ico { color: var(--y); }
.footer-contact a:hover { color: var(--y); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0 110px; color: var(--muted); font-size: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }
.credit a { color: var(--y); font-weight: 700; }
.credit a:hover { color: #fff; }
.heart { display: inline-block; color: #ff3b5c; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); color: #fff; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.social a:hover { background: var(--y); color: var(--ink); transform: translateY(-4px) rotate(-8deg); }
.nav-mobile-cta .social { justify-content: center; margin-top: 10px; }

/* ---------- Botones flotantes ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.7);
  transition: transform .3s var(--ease);
}
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waves 2.4s ease-out infinite; }
.wa-float::after { animation-delay: 1.2s; }
@keyframes waves { from { transform: scale(1); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.wa-float .ico { width: 36px; height: 36px; position: relative; z-index: 1; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); color: #fff; }
.wa-float-tip {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(10px, -50%); white-space: nowrap;
  background: #fff; color: var(--ink); font-weight: 700; padding: .5em 1em; border-radius: 12px; box-shadow: var(--shadow); font-size: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.wa-float-tip::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.wa-float:hover .wa-float-tip, .wa-float.tip-on .wa-float-tip { opacity: 1; transform: translate(0, -50%); }
.call-float { display: none; }
@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float-tip { display: none; }
  .call-float {
    display: grid; place-items: center; position: fixed; left: 16px; bottom: 16px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
    background: var(--y-grad); color: var(--ink); box-shadow: 0 10px 28px -8px rgba(255,214,10,.7);
  }
  .call-float .ico { width: 26px; height: 26px; animation: ring 2.8s ease-in-out infinite; }
  .call-float:hover { color: var(--ink); }
}
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 64%, 72%, 80% { transform: rotate(-14deg); } 68%, 76% { transform: rotate(14deg); } }

/* ---------- Animaciones al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal[data-anim="left"] { transform: translateX(-50px); }
.js .reveal[data-anim="right"] { transform: translateX(50px); }
.js .reveal[data-anim="zoom"] { transform: scale(.86); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Ajustes móviles (mínimo 17px en todo el texto) ---------- */
@media (max-width: 620px) {
  .wrap, .narrow { width: calc(100% - 2.2rem); }
  /* LOGO EN CELULAR: ocupa todo el ancho libre junto al botón del menú (máximo 300px). */
  :root { --logo-w: min(calc(100vw - 2.2rem - 64px), 300px); --header-h: calc(var(--logo-w) / 2.63 + 16px); }
  .header-in { gap: 12px; }
  .brand img { width: var(--logo-w); height: auto; }
  .header.scrolled { --header-h: 84px; }
  .header.scrolled .brand img { width: 180px; }
  .btn { width: 100%; font-size: 1.08rem; }
  .cta-row { gap: 12px; }
  .hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.4rem); }
  .float-card { padding: .6em .85em; }
  .float-card strong { font-size: 1.1rem; }
  .float-card .ico { width: 28px; height: 28px; }
  .svc-body, .post-body { padding: 22px 20px 24px; }
  .marquee li a { font-size: 1.12rem; }
  .team-img { width: 180px; height: 180px; }
  .inline-cta { padding: 24px 20px; }
  .faq-item summary { padding: 18px; font-size: 1.04rem; }
  .faq-a { padding: 0 18px 18px; }
}
