/* =========================================================
   Access Point · Estilos
   Colores tomados del logo (azul marino + verde) y del banner (cian)
   ========================================================= */
:root {
  --navy-950: #04121f;
  --navy-900: #061a30;
  --navy: #0b2a4a;
  --navy-700: #123d66;
  --teal: #1db58f;
  --cyan: #2ee6d6;
  --sky: #3fb6ff;
  --red: #e5484d;
  --ink: #10233d;
  --muted: #55677d;
  --soft: #f1f6fb;
  --line: #d6e2ee;
  --white: #fff;
  --grad: linear-gradient(90deg, var(--teal), var(--cyan) 55%, var(--sky));
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 42, 74, .10);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }
svg use { pointer-events: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative; overflow: hidden;
}
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--accent { background: linear-gradient(90deg, var(--cyan), var(--teal)); color: var(--navy-900); box-shadow: 0 8px 24px rgba(46, 230, 214, .35); }
.btn--accent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(46, 230, 214, .45); }
.btn--accent:hover::after { transform: translateX(120%); }
.btn--ghost { color: #fff; border: 2px solid rgba(255,255,255,.5); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-900) 70%);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; color: #fff; }
.preloader__logo { width: 110px; height: 110px; margin: 0 auto 18px; }
.preloader__logo path { fill: none; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.pl-frame { stroke: #fff; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s var(--ease) .1s forwards; }
.pl-check { stroke: var(--cyan); stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s var(--ease) .9s forwards; filter: drop-shadow(0 0 10px var(--cyan)); }
.preloader__name { font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: .04em; font-weight: 500; opacity: 0; animation: fadeUp .6s var(--ease) 1.1s forwards; }
.preloader__name b { font-weight: 800; }
.preloader__tag { color: rgba(255,255,255,.7); opacity: 0; animation: fadeUp .6s var(--ease) 1.3s forwards; }
.preloader__bar { width: 180px; height: 3px; margin: 22px auto 0; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--grad); animation: load 1.7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { to { width: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad); }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .4s, box-shadow .4s, height .4s; color: #fff; }
.nav.is-scrolled { background: rgba(6, 26, 48, .88); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(0,0,0,.18); --nav-h: 66px; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 38px; height: 38px; color: #fff; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__text { font-size: 1.15rem; font-weight: 500; letter-spacing: .03em; line-height: 1.1; }
.brand__text b { font-weight: 800; }
.brand__text small { display: block; font-size: .68rem; letter-spacing: .01em; opacity: .75; font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) { padding: .5em .7em; font-weight: 600; font-size: .93rem; position: relative; opacity: .88; transition: opacity .2s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: .7em; right: .7em; bottom: .25em; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:not(.btn):hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links .btn { margin-left: 8px; }
.nav__admin { margin-left: 8px; padding: .45em .9em; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); font-weight: 700; font-size: .85rem; color: #fff; white-space: nowrap; transition: background .25s, border-color .25s, color .25s; }
.nav__admin:hover { border-color: #ff8a8d; color: #ff8a8d; }
.nav__admin--panel { border-color: rgba(46,230,214,.6); color: var(--cyan); }
.nav__admin--panel:hover { background: rgba(46,230,214,.12); border-color: var(--cyan); color: var(--cyan); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 15px; } .nav__toggle span:nth-child(2) { top: 21px; } .nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 110px; background: var(--navy-900); }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: 70% center; background-image: url("../imagenes/portada-fondo.jpg"); background-image: image-set(url("../imagenes/portada-fondo.webp") type("image/webp"), url("../imagenes/portada-fondo.jpg") type("image/jpeg")); transform: scale(1.12); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4,18,31,.92) 0%, rgba(6,26,48,.78) 35%, rgba(6,26,48,.35) 60%, rgba(6,26,48,.05) 100%),
  linear-gradient(0deg, rgba(4,18,31,.85) 0%, transparent 35%),
  linear-gradient(180deg, rgba(4,18,31,.6) 0%, transparent 25%); }
.hero__grid { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(46,230,214,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(46,230,214,.18) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 60%); animation: gridMove 20s linear infinite; }
@keyframes gridMove { to { background-position: 46px 46px; } }
.hero__content { position: relative; width: min(1440px, 100% - 32px); padding-left: clamp(0px, 2vw, 40px); }
.hero__content > * { max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: .45em 1em; border-radius: 999px; background: rgba(46,230,214,.12); border: 1px solid rgba(46,230,214,.35); font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(46,230,214,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46,230,214,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,214,0); } }
.hero__title { font-size: clamp(2.3rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.hero__title .split { display: block; }
.hero__title .char { display: inline-block; opacity: 0; transform: translateY(.6em) rotateX(-60deg); filter: blur(6px); }
body.is-ready .hero__title .char { animation: charIn .7s var(--ease) forwards; animation-delay: calc(var(--i) * 22ms + .15s); }
@keyframes charIn { to { opacity: 1; transform: none; filter: none; } }
.hero__typed { display: block; min-height: 1.15em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 4px; height: .9em; margin-left: 6px; vertical-align: -.08em; background: var(--cyan); border-radius: 2px; animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255,255,255,.85); }
.hero__lead strong { color: var(--cyan); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hero__stats li { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); transition: transform .3s var(--ease), border-color .3s; }
.hero__stats li:hover { transform: translateY(-4px); border-color: var(--cyan); }
.hero__stats strong { display: block; font-size: 1.35rem; color: var(--cyan); }
.hero__stats span { font-size: .78rem; color: rgba(255,255,255,.75); }
.hero-in { opacity: 0; transform: translateY(20px); }
body.is-ready .hero-in { animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255,255,255,.6); border-radius: 16px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 800px) {
  .hero__bg { background-image: url("../imagenes/portada-fondo-movil.webp"); background-image: image-set(url("../imagenes/portada-fondo-movil.webp") type("image/webp"), url("../imagenes/portada-fondo.jpg") type("image/jpeg")); }
}

/* ---------- Barra de iconos ---------- */
.iconbar { background: linear-gradient(180deg, var(--navy), var(--navy-900)); color: #fff; position: relative; z-index: 2; margin-top: -1px; box-shadow: 0 20px 40px rgba(6,26,48,.25); }
.iconbar::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.iconbar__inner { display: grid; grid-template-columns: repeat(7, 1fr); }
.iconbar__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 8px; font-size: .84rem; font-weight: 600; line-height: 1.3; position: relative; transition: background .3s; }
.iconbar__item + .iconbar__item::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(46,230,214,.35); }
.iconbar__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; border: 1.5px solid rgba(46,230,214,.45); color: var(--cyan); transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s; }
.iconbar__ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.iconbar__ico--sos { color: #ff6b6f; border-color: rgba(255,107,111,.5); }
.iconbar__item:hover { background: rgba(46,230,214,.07); }
.iconbar__item:hover .iconbar__ico { transform: translateY(-6px) scale(1.08); background: var(--cyan); color: var(--navy-900); box-shadow: 0 10px 26px rgba(46,230,214,.45); }
.iconbar__item:hover .iconbar__ico--sos { background: #ff6b6f; color: #fff; box-shadow: 0 10px 26px rgba(255,107,111,.45); }

/* ---------- Secciones ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.section--soft { background: var(--soft); }
.section--dark { background: radial-gradient(circle at 80% 0%, var(--navy-700), var(--navy-900) 60%); color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.78); }
.section--image { background: #eef3f8; }
.section__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .13; }
.section--image .container { position: relative; }
.section__head { max-width: 760px; margin-bottom: 44px; }
.section__head--mt { margin-top: 90px; }
.h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.h3 { font-size: 1.35rem; font-weight: 700; }
.lead { font-size: 1.08rem; color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section:not(.section--dark) .grad { background: linear-gradient(90deg, var(--teal), #0d8fd6); -webkit-background-clip: text; background-clip: text; }
.tag { display: inline-block; padding: .35em .9em; border-radius: 999px; background: #d9ecff; color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.tag--dark { background: rgba(46,230,214,.14); color: var(--cyan); border: 1px solid rgba(46,230,214,.3); }
.tag--warn { background: #ffe9e0; color: #b23c12; }
.tag--sm { font-size: .68rem; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split-2--top { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-2--tight { gap: 14px; margin-top: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy); }
.pill .ico { color: var(--teal); }

.photo-card { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-card:hover img { transform: scale(1.05); }
.photo-card--tall { max-height: 620px; }
.photo-card__badge { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: .6em 1em; border-radius: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: var(--navy); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); animation: float 4s ease-in-out infinite; }
.photo-card__badge .ico { color: var(--teal); }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Beneficios */
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.benefit { padding: 30px 22px; display: flex; flex-direction: column; position: relative; transition: background .35s, transform .35s var(--ease); }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit__ico { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 18px; color: #0d8fd6; transition: transform .5s var(--ease); }
.benefit__ico svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 1.08rem; color: var(--navy); }
.benefit p { color: var(--muted); font-size: .93rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; color: var(--teal); opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.benefit:hover { background: linear-gradient(180deg, #f3fbff, #fff); }
.benefit:hover .benefit__ico { transform: translateY(-4px) rotate(-8deg) scale(1.08); }
.benefit:hover .more { opacity: 1; transform: none; }

/* Tarjetas */
.card { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.card--line { box-shadow: none; border: 1.5px solid var(--line); }
.card--hover:hover, .card--line:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.card h3 { font-size: 1.1rem; color: var(--navy); }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.card__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px; background: linear-gradient(135deg, #dff8f2, #dceeff); color: var(--navy); }
.card__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__ico--warn { background: #fff0ea; color: #c4471a; }

.dark-card { background: var(--navy-900); color: #fff; border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.dark-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(46,230,214,.25), transparent 70%); }
.dark-card h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.dark-card p { color: rgba(255,255,255,.8); }
.dark-card img { border-radius: 14px; margin-top: 18px; }
.dark-card .note { font-size: .82rem; font-style: italic; color: rgba(255,255,255,.6); margin: 14px 0 0; }
.white-card { background: rgba(255,255,255,.92); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }

.arrows { list-style: none; padding: 0; margin: 10px 0 0; }
.arrows li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.arrows li > .ico { width: 30px; height: 30px; color: var(--sky); margin-top: 2px; transition: transform .4s var(--ease); }
.arrows li:hover > .ico { transform: translateX(6px); color: var(--teal); }
.arrows h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: .3em; }
.arrows p { margin: 0; color: var(--muted); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks--light li { color: rgba(255,255,255,.9); }
.checks--grid { grid-template-columns: 1fr 1fr; align-content: center; }

/* Glass (secciones oscuras) */
.glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.glow--1 { background: var(--teal); left: -180px; top: -120px; }
.glow--2 { background: var(--sky); right: -200px; bottom: -200px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }
.section--dark .container { position: relative; }
.glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 28px; backdrop-filter: blur(10px); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.glass:hover { transform: translateY(-6px); border-color: rgba(46,230,214,.6); background: rgba(255,255,255,.09); }
.glass h3 { font-size: 1.2rem; }
.glass p { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }
.glass .checks li { color: rgba(255,255,255,.88); font-size: .95rem; }
.glass__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px; background: rgba(46,230,214,.14); color: var(--cyan); }
.glass__ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.glass--sm { padding: 22px; }
.glass--sm h3 { font-size: 1.02rem; }

/* App */
.app-layout { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.phone { position: relative; width: 290px; margin-inline: auto; padding: 12px; border-radius: 46px; background: #0b0f17; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a3240; animation: float 6s ease-in-out infinite; }
.phone__screen { border-radius: 36px; overflow: hidden; background: #f4f7fb; font-size: .72rem; }
.phone__top { display: flex; justify-content: space-between; padding: 10px 22px 4px; background: var(--navy); color: #fff; font-weight: 700; }
.phone__brand { display: flex; align-items: center; gap: 8px; padding: 8px 16px 12px; background: var(--navy); color: #fff; }
.phone__brand svg { width: 26px; height: 26px; }
.phone__brand b { display: block; font-size: .8rem; letter-spacing: .03em; }
.phone__brand small { opacity: .7; font-size: .6rem; }
.phone__hero { height: 96px; background: linear-gradient(0deg, rgba(11,42,74,.85), rgba(11,42,74,.1)), url("../imagenes/acceso-residencial.webp") center / cover; color: #fff; display: flex; align-items: flex-end; padding: 10px 14px; }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.phone__grid span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(11,42,74,.08); font-weight: 600; color: var(--navy); animation: tilePop 3.6s var(--ease) infinite; }
.phone__grid span:nth-child(2) { animation-delay: .3s; } .phone__grid span:nth-child(3) { animation-delay: .6s; } .phone__grid span:nth-child(4) { animation-delay: .9s; } .phone__grid span:nth-child(5) { animation-delay: 1.2s; } .phone__grid span:nth-child(6) { animation-delay: 1.5s; }
@keyframes tilePop { 0%, 80%, 100% { transform: none; } 88% { transform: scale(1.07); box-shadow: 0 6px 16px rgba(29,181,143,.35); } }
.phone__grid svg { width: 22px; height: 22px; fill: none; stroke: #0d8fd6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone__grid .sos svg { stroke: var(--red); }
.phone__tabs { display: flex; justify-content: space-around; padding: 8px 0 14px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); }
.phone__tabs span { display: flex; flex-direction: column; align-items: center; font-size: .6rem; }
.phone__tabs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.phone__tabs span:first-child { color: #0d8fd6; }
.phone__ping { position: absolute; right: -24px; top: 38%; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--cyan); animation: ping 2.2s infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature { display: flex; gap: 16px; align-items: center; text-align: left; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.feature:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: var(--shadow); }
.feature b { display: block; color: var(--navy); font-size: 1rem; }
.feature small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.45; margin-top: 2px; }
.feature__ico { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; transition: transform .5s var(--ease), background .3s; }
.feature__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature__ico--sos { background: var(--red); }
.feature:hover .feature__ico { transform: rotate(-10deg) scale(1.08); background: var(--teal); }
.feature.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 6px rgba(46,230,214,.45); border-color: var(--teal); } }
.app-more { margin-top: 48px; }
.mini { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: var(--soft); transition: background .3s, transform .35s var(--ease); }
.mini:hover { background: #e4f3ff; transform: translateY(-3px); }
.mini > .ico { width: 30px; height: 30px; color: #0d8fd6; stroke-width: 1.6; }
.mini h4 { color: var(--navy); font-size: 1rem; margin-bottom: .25em; }
.mini p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: .75em 1.2em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--navy); transition: .3s var(--ease); }
.tab:hover { border-color: var(--teal); }
.tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow); }
.tab.is-active .ico { color: var(--cyan); }
.tabpanel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.tabpanel[hidden] { display: none; }
.tabpanel.is-active { animation: fadeUp .6s var(--ease); }
.tabpanel__img { border-radius: 16px; overflow: hidden; }
.tabpanel__img img { width: 100%; }
.highlight-row { margin-top: 26px; }
.highlight { padding: 28px; border-radius: 22px; background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; transition: transform .4s var(--ease); }
.highlight:hover { transform: translateY(-5px); }
.highlight .tag { background: rgba(46,230,214,.15); color: var(--cyan); }
.highlight h3 { font-size: 1.2rem; display: flex; gap: 10px; align-items: flex-start; }
.highlight h3 .ico { color: var(--cyan); margin-top: 2px; }
.highlight p { margin: 0; color: rgba(255,255,255,.8); }

/* Accesos */
.acc { display: grid; gap: 12px; }
.acc__item { border-radius: 16px; background: #e3f0ff; overflow: hidden; transition: background .3s; }
.acc__item[open] { background: #d4e9ff; }
.acc__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; transition: transform .3s var(--ease); }
.acc__item[open] summary::after { transform: rotate(45deg); }
.acc__item summary .ico { color: #0d8fd6; width: 24px; height: 24px; }
.acc__item p { margin: 0; padding: 0 20px 20px 56px; color: var(--ink); }
.tall-photo { border-radius: 24px; overflow: hidden; height: 600px; box-shadow: var(--shadow-lg); }
.tall-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform 6s linear; }
.tall-photo:hover img { transform: scale(1.08) translateY(-3%); }

.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 620px; }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--navy); color: #fff; font-size: .9rem; }
.table tbody tr { transition: background .25s; }
.table tbody tr:hover { background: #f0f8ff; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:nth-child(2) { font-weight: 700; color: var(--navy); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; text-align: center; }
.stat strong { display: block; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; background: linear-gradient(90deg, var(--navy), #0d8fd6); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: .25em; }
.stat p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Inversión */
.zero { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 10px 0 50px; }
.zero__num { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--navy), #0d8fd6 60%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zero__txt { color: var(--navy); font-weight: 600; }
.quote { margin: 48px 0 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--sky); font-size: 1.12rem; color: var(--navy); font-weight: 500; }

/* Ahorro */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.compare__col { border-radius: 22px; padding: 28px; }
.compare__col h3 { font-size: 1.3rem; display: flex; flex-direction: column; gap: 8px; }
.compare__col h3 small { align-self: flex-start; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: .35em .8em; border-radius: 999px; font-weight: 700; }
.compare__col--them { background: var(--navy-900); color: #fff; }
.compare__col--them small { border: 1px solid rgba(63,182,255,.6); color: var(--sky); }
.compare__col--us { background: #fff; border: 2px solid var(--teal); box-shadow: 0 20px 50px rgba(29,181,143,.18); }
.compare__col--us small { background: #d9ecff; color: var(--navy); }
.compare dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; }
.compare dl div { padding: 16px; border-radius: 14px; border-left: 5px solid var(--sky); }
.compare__col--them dl div { border: 1px solid rgba(255,255,255,.2); border-left: 5px solid var(--sky); }
.compare__col--us dl div { border: 1px solid var(--line); border-left: 5px solid var(--teal); }
.compare dt { font-size: .82rem; opacity: .75; }
.compare dd { margin: 0; font-weight: 800; font-size: 1.15rem; }
.compare__vs { align-self: center; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--navy-900); font-weight: 800; box-shadow: 0 10px 30px rgba(46,230,214,.4); animation: pulseBig 2.4s infinite; }
@keyframes pulseBig { 50% { transform: scale(1.1); } }
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; text-align: center; }
.ring { position: relative; }
.ring__wrap { position: relative; width: min(220px, 100%); margin: 0 auto; }
.ring svg { width: 100%; aspect-ratio: 1; transform: rotate(-90deg); display: block; }
.ring__bg { fill: none; stroke: #e2eefa; stroke-width: 9; }
.ring__fg { fill: none; stroke: #3fb6ff; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 2s var(--ease) .2s; }
.ring--big .ring__fg { stroke: var(--teal); }
.ring.is-visible .ring__fg { stroke-dashoffset: calc(327 - 327 * var(--p)); }
.ring__val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--navy); }
.ring h4 { margin-top: 16px; color: var(--navy); font-size: 1.1rem; }
.ring p { color: var(--muted); font-size: .9rem; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; position: relative; }
.cost-grid div { padding: 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); border-left: 5px solid var(--sky); font-weight: 600; font-size: .95rem; }
.cost-grid b { display: block; color: #ff7a3d; font-size: 1.1rem; margin-top: 4px; }
.ico--ok { color: var(--teal); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.mini-stats div { padding: 18px; border-radius: 16px; background: var(--soft); }
.mini-stats strong { display: block; font-size: 1.6rem; color: var(--navy); }
.mini-stats span { font-size: .85rem; color: var(--muted); }

/* Proveedores */
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .ico { width: 26px; height: 26px; color: var(--teal); margin-bottom: 4px; }
.tile b { color: var(--navy); }
.tile span { color: var(--muted); font-size: .9rem; }

/* Decisión */
.decision { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 60px; color: #fff;
  background: linear-gradient(100deg, rgba(4,18,31,.94) 0%, rgba(6,26,48,.82) 45%, rgba(6,26,48,.3) 100%), url("../imagenes/kiosco-qr.webp") center / cover no-repeat fixed; }
.decision::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
@media (hover: none), (max-width: 960px) { .decision { background-attachment: scroll; } }
.decision__text { max-width: 680px; }
.decision .h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.decision .tag { background: rgba(46,230,214,.15); color: var(--cyan); }
.decision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.decision__grid div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.decision__grid .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--cyan); }
.decision__grid span { font-size: .88rem; color: rgba(255,255,255,.75); }
.decision p strong { color: var(--cyan); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery__item { padding: 0; border: 0; border-radius: 16px; overflow: hidden; position: relative; background: #dde7f0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery__item::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; font-weight: 300; color: #fff; background: rgba(6,26,48,.45); opacity: 0; transition: opacity .35s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact__list li > a, .contact__list li > div, .contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list li > span, .contact__list a > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(46,230,214,.14); color: var(--cyan); flex: none; transition: transform .3s var(--ease), background .3s; }
.contact__list .ico { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: .75rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; }
.contact__list div { font-weight: 700; }
.contact__list a:hover > span { transform: scale(1.1) rotate(-6deg); background: var(--cyan); color: var(--navy-900); }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 70px rgba(0,0,0,.35); display: grid; gap: 14px; }
.form h3 { color: var(--navy); font-size: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; font-weight: 500; padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft); color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(29,181,143,.15); }
.form .is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.form__check { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px; font-weight: 500 !important; color: var(--muted) !important; }
.form__check input { width: 18px; height: 18px; accent-color: var(--teal); }
.form__status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form__status.ok { color: var(--teal); }
.form__status.err { color: var(--red); }
.hp { position: absolute !important; left: -9999px; }
.form__captcha { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; padding: 12px 14px; border-radius: 12px; background: #eef8f5; border: 1.5px dashed rgba(29,181,143,.45); }
.form__captcha span { color: var(--teal); font-weight: 800; }
.form__captcha input { grid-column: 1 / -1; margin-top: 6px; background: #fff; }

/* Pie */
.footer { background: var(--navy-950); color: rgba(255,255,255,.75); padding: 60px 0 20px; }
.footer__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer__brand img { width: 210px; }
.footer__brand p { margin-top: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer__cols h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer__cols a { display: block; padding: 4px 0; transition: color .2s, transform .2s; }
.footer__cols a:hover { color: var(--cyan); transform: translateX(4px); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__pillars { display: flex; gap: 16px; margin-left: auto; }
.footer__admin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.12); transition: color .25s, border-color .25s, transform .25s; }
.footer__admin .ico { width: 15px; height: 15px; }
.footer__admin:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }
.footer__pillars span::before { content: "●"; color: var(--teal); margin-right: 6px; font-size: .6em; vertical-align: .2em; }

/* Botones flotantes */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .3s var(--ease); }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.2s infinite; }
.fab-wa svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fab-wa:hover { transform: scale(1.1); }
.to-top { position: fixed; right: 28px; bottom: 90px; z-index: 90; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .35s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Modal y lightbox */
.modal, .lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; }
.modal[hidden], .lightbox[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4,18,31,.7); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal__box { position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); animation: popIn .45s var(--ease); }
.modal__box h3 { color: var(--navy); font-size: 1.5rem; }
.modal__box p { color: var(--muted); }
.modal__box .checks { margin-bottom: 24px; }
.modal__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 16px; }
.modal__ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.modal__close, .lightbox__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); font-size: 1.6rem; line-height: 1; color: var(--navy); }
.lightbox { background: rgba(4,18,31,.92); animation: fadeIn .3s; }
.lightbox img { max-width: min(1200px, 100%); max-height: 88vh; border-radius: 12px; animation: popIn .45s var(--ease); }
.lightbox__close { position: fixed; top: 18px; right: 18px; background: rgba(255,255,255,.15); color: #fff; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(14px); } }

/* ---------- Páginas interiores ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); padding: calc(var(--nav-h) + 70px) 0 80px; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .4; transform: scale(1.1); animation: kenburns 14s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,31,.95) 0%, rgba(6,26,48,.75) 55%, rgba(6,26,48,.35) 100%); }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); z-index: 2; }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 14px; background: linear-gradient(90deg, #fff 30%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a { color: var(--cyan); }
.crumbs a:hover { text-decoration: underline; }

.next-band { background: var(--soft); border-top: 1px solid var(--line); padding: 34px 0; }
.next-band__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.next-band__inner > span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.next-band__link { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--navy); display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.next-band__link .ico { color: var(--teal); transition: transform .35s var(--ease); }
.next-band__link:hover .ico { transform: translateX(8px); }
@media (max-width: 640px) { .next-band__inner .btn { width: 100%; } }

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a:not(.btn) { padding: .5em .45em; font-size: .88rem; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefit:nth-child(4) { border-left: 0; }
  .benefit:nth-child(n+4) { border-top: 1px solid var(--line); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .app-layout { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 90px 24px 40px; overflow-y: auto;
    background: rgba(6, 26, 48, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 12px 6px; font-size: clamp(1.4rem, 6vw, 1.9rem); font-weight: 700; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s; }
  .nav__links .btn { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .nav.is-open .nav__links > a { opacity: 1; transform: none; }
  .nav.is-open .nav__links > a:nth-child(2) { transition-delay: .05s; } .nav.is-open .nav__links > a:nth-child(3) { transition-delay: .1s; } .nav.is-open .nav__links > a:nth-child(4) { transition-delay: .15s; } .nav.is-open .nav__links > a:nth-child(5) { transition-delay: .2s; } .nav.is-open .nav__links > a:nth-child(6) { transition-delay: .25s; } .nav.is-open .nav__links > a:nth-child(7) { transition-delay: .3s; } .nav.is-open .nav__links > a:nth-child(8) { transition-delay: .35s; }
  .nav__links a.is-active { color: var(--cyan); }
  body.menu-open { overflow: hidden; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin: 24px 0 0; font-size: 1.1rem; padding: .9em 2em; }
  .nav__links .nav__admin { margin: 12px 0 0; font-size: 1rem; padding: .7em 1.6em; opacity: 1; transform: none; }
  .nav__toggle, .brand { position: relative; z-index: 2; }
  .iconbar__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav.is-scrolled, .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 26, 48, .97); }
  .iconbar__item:nth-child(5)::before { display: none; }
  .split-2, .contact, .compare { grid-template-columns: 1fr; }
  .compare__vs { justify-self: center; }
  .tabpanel { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .tall-photo { height: 380px; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .brand__text small { display: none; }
  .hero { padding-bottom: 90px; }
  .hero__bg { background-position: 80% center; }
  .hero__overlay { background: linear-gradient(180deg, rgba(4,18,31,.88), rgba(6,26,48,.92)); }
  .iconbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iconbar__item { flex-direction: row; text-align: left; padding: 16px 8px; font-size: .8rem; }
  .iconbar__item::before { display: none; }
  .iconbar__ico { width: 46px; height: 46px; flex: none; }
  .iconbar__item:last-child { grid-column: span 2; justify-content: center; }
  .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .more { opacity: 1; transform: none; }
  .grid-2, .grid-3, .grid-4, .grid-5, .features, .form__row, .checks--grid, .decision__grid, .mini-stats, .cost-grid, .compare dl { grid-template-columns: 1fr; }
  .rings { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 160px; }
  .gallery__item--tall { grid-row: span 2; }
  .phone { width: 260px; }
  .phone__ping { display: none; }
}

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