/* REGNER Llaves Codificadas — DP Estudio · v4 */
:root {
  --ink: #060b16;
  --navy: #0b1730;
  --navy-2: #10203f;
  --navy-3: #18305c;
  --cyan: #18c4e4;
  --cyan-2: #6fdcf0;
  --red: #ee2a3b;
  --wa: #1fbd5a;
  --wa-2: #17a34c;
  --white: #ffffff;
  --paper: #f2f5f9;
  --text: #0e1628;
  --muted: #586683;
  --muted-dark: #9fb0cc;
  --line: #dde4ef;
  --line-dark: rgba(255,255,255,.1);
  --shadow: 0 18px 50px rgba(6, 11, 22, .14);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.08-.3-.15-1.26-.47-2.39-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.18.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.92-2.2-.24-.59-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.06 2.88 1.21 3.07c.15.2 2.1 3.2 5.08 4.49.71.3 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2-1.42.25-.69.25-1.29.18-1.41-.08-.13-.28-.2-.57-.35M12.05 21.78h-.01a9.87 9.87 0 0 1-5.03-1.38l-.36-.21-3.74.98 1-3.65-.24-.37a9.86 9.86 0 0 1-1.51-5.26c0-5.45 4.44-9.88 9.89-9.88 2.64 0 5.12 1.03 6.99 2.9a9.83 9.83 0 0 1 2.89 6.99c0 5.45-4.43 9.88-9.88 9.88m8.41-18.3A11.82 11.82 0 0 0 12.05 0C5.5 0 .16 5.34.16 11.89c0 2.1.55 4.14 1.59 5.95L.06 24l6.3-1.65a11.88 11.88 0 0 0 5.69 1.45c6.55 0 11.89-5.34 11.89-11.9 0-3.18-1.24-6.16-3.48-8.41z'/%3E%3C/svg%3E");
  --display: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy-3); text-decoration: none; }
a:hover { color: var(--cyan); }
h1, h2, h3, h4 { line-height: 1.1; color: var(--navy); margin: 0 0 .6rem; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: .005em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .9rem; }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(31,189,90,.32); }
.btn-whatsapp:hover { background: var(--wa-2); color: #fff; }
.btn-whatsapp::before {
  content: "";
  width: 1.15em; height: 1.15em; flex: none;
  background: currentColor;
  -webkit-mask: var(--wa-icon) center/contain no-repeat;
  mask: var(--wa-icon) center/contain no-repeat;
}
.btn-outline { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline:hover { color: var(--ink); background: #fff; border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,11,22,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: background .25s ease;
}
.site-header.is-scrolled { background: rgba(6,11,22,.97); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(24,196,228,.5); background: var(--navy-2); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: .06em; }
.brand-text small { font-size: .7rem; color: var(--muted-dark); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.nav-desktop { display: none; align-items: center; gap: 1.5rem; }
.nav-desktop a:not(.btn) { color: #cad6ea; font-size: .92rem; font-weight: 600; position: relative; padding: .3rem 0; }
.nav-desktop a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-desktop a:not(.btn):hover, .nav-desktop a.is-active { color: #fff; }
.nav-desktop a:not(.btn):hover::after, .nav-desktop a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.05); cursor: pointer; padding: 0 12px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: grid; gap: .2rem; padding: .6rem 1rem 1.2rem; border-top: 1px solid var(--line-dark); background: var(--ink); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: #e3ebf7; font-weight: 600; padding: .8rem .2rem; border-bottom: 1px solid var(--line-dark); }
.mobile-menu .btn { margin-top: .8rem; }

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: #d6e0f0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: var(--muted-dark); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.section-head-row > div { max-width: 44rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: .8rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.text-cyan { color: var(--cyan); }
.text-red { color: var(--red); }
.section-cta { margin: 2.2rem 0 0; }

.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; background: rgba(24,196,228,.12); color: var(--cyan-2); border: 1px solid rgba(24,196,228,.3); }
.badge-urgent { background: rgba(238,42,59,.14); color: #ff8a95; border-color: rgba(238,42,59,.4); }
.badge-urgent::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(238,42,59,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(238,42,59,.6); } 70% { box-shadow: 0 0 0 9px rgba(238,42,59,0); } 100% { box-shadow: 0 0 0 0 rgba(238,42,59,0); } }

/* ---------- HERO home ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 7vw, 5rem);
  background: var(--ink);
  color: #d6e0f0;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,11,22,.96) 0%, rgba(6,11,22,.86) 38%, rgba(6,11,22,.45) 70%, rgba(6,11,22,.55) 100%),
    linear-gradient(0deg, rgba(6,11,22,1) 0%, rgba(6,11,22,0) 30%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.hero h1 { color: #fff; font-size: clamp(3rem, 9.5vw, 6.2rem); line-height: .92; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--cyan); display: block; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 34rem; color: #c3d0e6; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.4rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line-dark); max-width: 34rem; }
.hero-stats dt { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1; }
.hero-stats dd { margin: .3rem 0 0; font-size: .82rem; color: var(--muted-dark); line-height: 1.35; }

.quick-card {
  background: rgba(10,20,40,.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.quick-card h2 { font-size: 1.9rem; color: #fff; margin-bottom: .3rem; }
.quick-card > p { color: var(--muted-dark); font-size: .92rem; margin-bottom: 1.1rem; }
.quick-label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-2); margin: 0 0 .55rem; }
.quick-options { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.1rem; padding: 0; border: 0; }
.quick-options legend { padding: 0; }
.quick-options label { cursor: pointer; }
.quick-options input { position: absolute; opacity: 0; pointer-events: none; }
.quick-options span { display: inline-block; padding: .55rem .85rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: #dbe5f4; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.quick-options label:hover span { border-color: rgba(24,196,228,.6); }
.quick-options input:checked + span { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.quick-options input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.quick-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1rem; }
.quick-fields input, .quick-fields select {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff;
  font: inherit; font-size: .95rem;
}
.quick-fields select option { color: var(--text); }
.quick-fields input::placeholder { color: #8ea0bd; }
.quick-fields input:focus, .quick-fields select:focus { outline: none; border-color: var(--cyan); background: rgba(255,255,255,.1); }
.quick-note { margin: .8rem 0 0; font-size: .78rem; color: #8ea0bd; text-align: center; }

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 3.5rem; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--cyan); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(0,0,0,.1); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 1.4rem; padding: .85rem 1.4rem 0.85rem 0; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker-track span::after { content: "✦"; font-size: .9rem; color: var(--ink); opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Problemas (¿Qué te pasó?) ---------- */
.problem-grid { display: grid; gap: 1rem; }
.problem {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 280px; padding: 1.4rem; border-radius: var(--radius);
  color: #fff; background: var(--navy);
}
.problem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.problem::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,11,22,.05) 20%, rgba(6,11,22,.92) 100%); }
.problem:hover { color: #fff; }
.problem:hover img { transform: scale(1.06); }
.problem-tag { align-self: flex-start; margin-bottom: auto; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: rgba(6,11,22,.6); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.problem-tag.is-urgent { background: var(--red); border-color: var(--red); }
.problem h3 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; text-transform: uppercase; color: #fff; margin: 1.2rem 0 .35rem; line-height: 1; }
.problem p { margin: 0 0 .9rem; color: #cbd7ea; font-size: .93rem; max-width: 28rem; }
.problem-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--cyan-2); }
.problem-link::after { content: "→"; transition: transform .2s ease; }
.problem:hover .problem-link::after { transform: translateX(4px); }
@media (min-width: 720px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem.is-big { grid-column: span 2; min-height: 340px; }
}
@media (min-width: 1020px) {
  .problem-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 250px; }
  .problem { grid-column: span 2; min-height: 0; }
  .problem.is-big { grid-column: span 4; grid-row: span 2; min-height: 0; padding: 2rem; }
  .problem.is-big h3 { font-size: 3rem; }
  .problem.is-wide { grid-column: span 3; }
}

/* Índice de servicios */
.service-index { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.service-index a { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem; padding: 1.05rem .3rem; border-bottom: 1px solid var(--line); color: var(--text); transition: background .2s ease, padding .2s ease; }
.service-index a:hover { background: var(--paper); padding-left: .9rem; color: var(--text); }
.service-index .num { font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--cyan); }
.service-index strong { font-size: 1.05rem; }
.service-index small { display: block; color: var(--muted); font-size: .86rem; font-weight: 400; }
.service-index .go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.service-index a:hover .go { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (min-width: 820px) {
  .service-index { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

/* ---------- La camioneta ---------- */
.van-grid { display: grid; gap: 2.5rem; align-items: center; }
.van-media { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: .9rem; }
.van-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.van-media img, .van-media video { width: 100%; height: 100%; object-fit: cover; }
.van-media .tall { aspect-ratio: 9 / 15; }
.van-media .stack { display: grid; gap: .9rem; grid-template-rows: 1fr 1fr; }
.van-media .stack figure { aspect-ratio: auto; }
.van-tag { position: absolute; left: -.4rem; bottom: 1.4rem; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; padding: .5rem 1rem; border-radius: 10px; box-shadow: 0 14px 30px rgba(238,42,59,.35); }
.feature-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.feature-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; }
.feature-list .ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: rgba(24,196,228,.12); color: var(--cyan); border: 1px solid rgba(24,196,228,.28); }
.feature-list .ico svg { width: 1.25rem; height: 1.25rem; }
.feature-list strong { display: block; color: #fff; font-size: 1rem; }
.feature-list span { color: var(--muted-dark); font-size: .92rem; }
@media (min-width: 900px) {
  .van-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
}

/* ---------- Pasos ---------- */
.steps-wrap { display: grid; gap: 2.5rem; align-items: center; }
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--navy-3); min-width: 2.2rem; }
.step h3 { margin: .1rem 0 .3rem; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.chat-mock { background: #0b141a; border-radius: 26px; padding: 1rem; box-shadow: var(--shadow); max-width: 400px; width: 100%; justify-self: center; border: 6px solid #1a2330; }
.chat-top { display: flex; align-items: center; gap: .7rem; padding: .4rem .3rem .9rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat-top img { width: 38px; height: 38px; border-radius: 50%; }
.chat-top strong { display: block; color: #e9edef; font-size: .95rem; line-height: 1.2; }
.chat-top small { color: #8696a0; font-size: .76rem; }
.chat-body { padding: 1.1rem .2rem .4rem; display: grid; gap: .55rem; }
.bubble { max-width: 88%; padding: .6rem .8rem; border-radius: 12px; font-size: .9rem; line-height: 1.4; }
.bubble.me { justify-self: end; background: #005c4b; color: #e9edef; border-top-right-radius: 3px; }
.bubble.hint { justify-self: center; background: #182229; color: #8696a0; font-size: .75rem; text-align: center; max-width: 100%; }
.bubble b { color: #fff; }
.chat-mock .btn { margin-top: .8rem; }
@media (min-width: 900px) {
  .steps-wrap { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
}

/* ---------- Marcas ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.brand-tile { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--navy-2); border: 1px solid var(--line-dark); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.brand-tile small { font-family: var(--font); font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--muted-dark); text-transform: none; }
a.brand-tile:hover { color: #fff; border-color: var(--cyan); background: var(--navy-3); transform: translateY(-2px); }
a.brand-tile:hover small { color: var(--cyan-2); }
@media (min-width: 640px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .brand-grid { grid-template-columns: repeat(5, 1fr); } }
.brand-note { margin: 1.4rem 0 0; color: var(--muted-dark); font-size: .92rem; }

/* ---------- Zonas ---------- */
.zones-wrap { display: grid; gap: 2rem; align-items: stretch; }
.zones { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.zone-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 150px; padding: 1.3rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.zone-card strong { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--navy); }
.zone-card span { font-size: .86rem; font-weight: 700; color: var(--muted); }
.zone-card span::after { content: " →"; color: var(--cyan); }
.zone-card::before { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; border: 18px solid rgba(24,196,228,.12); transition: transform .3s ease; }
.zone-card:hover { border-color: var(--cyan); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.zone-card:hover::before { transform: scale(1.25); }
.zone-card.is-main { background: var(--navy); border-color: var(--navy); }
.zone-card.is-main strong { color: #fff; }
.zone-card.is-main span { color: var(--muted-dark); }
.zones-aside { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 260px; background: var(--navy); }
.zones-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zones-aside::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,11,22,.9)); }
.zones-aside p { position: absolute; z-index: 1; left: 1.3rem; right: 1.3rem; bottom: 1.1rem; margin: 0; color: #fff; font-weight: 600; }
@media (min-width: 900px) {
  .zones-wrap { grid-template-columns: 1.4fr .6fr; }
}

/* ---------- Galería (rail) ---------- */
.gallery-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 46%); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1rem 1rem; margin: 0 -1rem; scrollbar-width: thin; scrollbar-color: var(--cyan) transparent; }
.gallery-rail figure { margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; background: var(--navy-2); }
.gallery-rail img, .gallery-rail video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-rail figure:hover img { transform: scale(1.05); }
.gallery-rail figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; font-size: .85rem; font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(6,11,22,.88)); }
.rail-controls { display: flex; gap: .5rem; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.2rem; cursor: pointer; transition: background .2s ease, color .2s ease; }
.rail-btn:hover { background: var(--navy); color: #fff; }
@media (min-width: 720px) { .gallery-rail { grid-auto-columns: minmax(220px, 30%); } }
@media (min-width: 1100px) { .gallery-rail { grid-auto-columns: calc((100% - 3.6rem) / 5); padding: 0 0 1rem; margin: 0; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 2rem; }
.faq { display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: rgba(24,196,228,.55); box-shadow: 0 10px 30px rgba(6,11,22,.06); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--navy); font-size: 1.2rem; font-weight: 500; transition: transform .25s ease, background .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--cyan); color: var(--ink); }
.faq details p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--muted); }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 4rem; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }

/* ---------- Guías SEO ---------- */
.guide-cols { display: grid; gap: 2rem; }
.guide-cols h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.guide-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.guide-cols a { display: block; padding: .42rem 0; color: var(--navy); font-weight: 500; font-size: .95rem; border-bottom: 1px dashed transparent; }
.guide-cols a:hover { color: var(--cyan); }
@media (min-width: 760px) { .guide-cols { grid-template-columns: 1.3fr 1fr .8fr; } .guide-cols .two-col { columns: 2; column-gap: 1.5rem; display: block; } }

/* ---------- CTA final ---------- */
.final-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #c9d6ea; padding: clamp(4rem, 9vw, 6rem) 0; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 85% 50%, rgba(24,196,228,.22), transparent 70%), radial-gradient(40% 70% at 10% 100%, rgba(238,42,59,.18), transparent 70%); }
.final-cta-inner { display: grid; gap: 2rem; align-items: center; }
.final-cta h2 { color: #fff; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: .95; margin-bottom: 1rem; }
.final-cta p { max-width: 36rem; font-size: 1.08rem; }
.final-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.final-actions .btn { min-height: 58px; padding-inline: 1.8rem; font-size: 1.05rem; }
@media (min-width: 900px) { .final-cta-inner { grid-template-columns: 1.4fr auto; } }

/* ---------- CTA band (páginas internas) ---------- */
.cta-band { display: grid; gap: 1.4rem; align-items: center; padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: 24px; background: var(--ink); color: #c9d6ea; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 100% 0%, rgba(24,196,228,.25), transparent 65%); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .4rem; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Página interna: hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #c9d6ea; padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,11,22,.97) 0%, rgba(6,11,22,.9) 45%, rgba(6,11,22,.75) 100%), var(--page-hero-img, url('/preview/regner-llaves-codificadas/img/hero-van.jpg')) center/cover no-repeat; filter: saturate(.9); }
.page-hero .hero-bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--cyan) 60%, var(--red) 60%, var(--red)); }
.page-hero .container { display: grid; grid-template-columns: minmax(0, 1fr); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .84rem; color: var(--muted-dark); margin-bottom: 1.2rem; }
.breadcrumb a { color: #cfe0f8; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { opacity: .75; }
.page-hero .badge { justify-self: start; margin-bottom: 1rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.5rem, 6.5vw, 4.4rem); line-height: .95; margin-bottom: 1rem; }
.page-hero .lead { color: #c3d0e6; font-size: clamp(1rem, 2vw, 1.15rem); max-width: 38rem; margin-bottom: 1.6rem; }
.page-hero-media { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); box-shadow: 0 30px 70px rgba(0,0,0,.45); background: var(--navy-2); }
.page-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 900px) {
  .page-hero .container { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 3.5rem; align-items: center; }
  .page-hero .container > * { grid-column: 1; }
  .page-hero .container > .page-hero-media { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; align-self: center; }
  .page-hero-media img { aspect-ratio: 4 / 5; max-height: 460px; }
}

/* ---------- Página interna: contenido ---------- */
.content-grid { display: grid; gap: 2rem; align-items: start; }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 2.2rem 0 .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--cyan); }
.prose .btn { margin-top: .6rem; }
.aside-card { padding: 1.5rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.aside-card h3 { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; }
.aside-card li { border-bottom: 1px solid var(--line); }
.aside-card li a { display: flex; justify-content: space-between; gap: .5rem; padding: .7rem 0; font-weight: 600; color: var(--navy); font-size: .95rem; }
.aside-card li a::after { content: "→"; color: var(--cyan); transition: transform .2s ease; }
.aside-card li a:hover::after { transform: translateX(3px); }
.aside-card .btn { width: 100%; }
@media (min-width: 900px) {
  .content-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 4rem; }
  .aside-card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* Hub de servicios */
.hub-grid { display: grid; gap: .9rem; }
.hub-item { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; padding: .8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--text); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hub-item:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.hub-item img { width: 96px; height: 80px; object-fit: cover; border-radius: 12px; }
.hub-item h3 { font-size: 1rem; margin: 0 0 .2rem; color: var(--navy); }
.hub-item p { margin: 0; color: var(--muted); font-size: .85rem; }
@media (min-width: 680px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */
.main-footer { background: #04080f; color: #9fb0cc; padding: 4rem 0 1.5rem; border-top: 4px solid var(--cyan); }
.footer-grid { display: grid; gap: 2.2rem; }
.footer-brand p { font-size: .92rem; max-width: 26rem; }
.brand-footer { margin-bottom: 1rem; }
.main-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.main-footer a { color: #cfdcf0; }
.main-footer a:hover { color: var(--cyan); }
.main-footer a.btn-whatsapp { color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .5rem; font-size: .92rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line-dark); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-credit { text-align: center; margin: 1rem 0 0; font-size: .78rem; }
.footer-credit a { color: #6f819f; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 1100; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 30px rgba(31,189,90,.45); transition: transform .2s ease; }
.whatsapp-float:hover { color: #fff; transform: scale(1.07); }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.whatsapp-float-icon { width: 30px; height: 30px; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
.js .reveal-d4 { transition-delay: .32s; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

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