/* ==========================================================
   Nodea — estilos del sitio
   Colores de marca: navy #072C55 · turquesa #00CBD0
   ========================================================== */

:root {
  --navy: #072C55;
  --navy-700: #0B3A6E;
  --navy-900: #041C38;
  --teal: #00CBD0;
  --teal-600: #00A9AD;
  --teal-50: #E6FAFA;
  --ink: #0E1B2B;
  --muted: #56657A;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-tint: #F4F8FB;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(7, 44, 85, .22);
  --shadow-lg: 0 24px 60px -20px rgba(7, 44, 85, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(0, 203, 208, .7); }
.btn--primary:hover { background: #1FDADF; }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: .6em 1.2em; font-size: .92rem; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-600); margin-bottom: 1rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 203, 208, .2); }
.hl { color: var(--teal-600); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(7, 44, 85, .4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.45rem; color: var(--navy); letter-spacing: -.03em; }
.nav__logo svg { width: 34px; height: auto; }
.nav__logo .navy { fill: var(--navy); }
.nav__logo .teal { fill: var(--teal); }
.nav__logo--light { color: #fff; }
.nav__logo--light .navy { fill: #fff; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-weight: 600; font-size: .95rem; }
.nav__links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--navy); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(0, 203, 208, .18), transparent 65%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.lead strong { color: var(--navy); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero__stats li { border-left: 3px solid var(--teal); padding-left: 14px; }
.hero__stats strong { display: block; color: var(--navy); font-size: 1.05rem; }
.hero__stats span { color: var(--muted); font-size: .88rem; }

.hero__visual { position: relative; }
.routemap { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(7, 44, 85, .25)); }
.map-bg { fill: var(--navy); }
.grid-line { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.street { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 14; stroke-linecap: round; }
.route {
  fill: none; stroke: var(--teal); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 3.2s .3s ease-out forwards;
}
.node circle { fill: var(--teal); }
.node:not(.node--hub) circle { fill: #fff; stroke: var(--teal); stroke-width: 4; }
.pulse { fill: rgba(0, 203, 208, .25) !important; transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
.pulse--late { animation-delay: 1.2s; }
.tag rect { fill: #fff; }
.tag text { fill: var(--navy); font: 700 14px var(--font); text-anchor: middle; }
.tag--dark rect { fill: var(--teal); }
.tag { opacity: 0; animation: fadeIn .6s ease-out forwards; }

.float-card {
  position: absolute; left: -28px; top: 40px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  opacity: 0; animation: fadeUp .6s 3.4s ease-out forwards;
}
.float-card__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); display: grid; place-items: center; font-weight: 800; }
.float-card strong { display: block; color: var(--navy); font-size: .95rem; }
.float-card small { color: var(--muted); }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-tint); }
.strip__inner { display: flex; align-items: center; gap: 28px; padding: 22px 0; flex-wrap: wrap; }
.strip__label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.strip li { font-weight: 700; color: var(--navy); font-size: .95rem; }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--bg-tint); }
.section--navy { background: var(--navy); color: #C9D6E6; }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section__head--light h2 { color: #fff; }
.section__head--light p:not(.eyebrow) { color: #A9BCD3; }

/* ---------- Cards servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card--featured { background: var(--navy); border-color: var(--navy); color: #C9D6E6; }
.card--featured h3 { color: #fff; }
.card--featured .card__tag { background: rgba(0, 203, 208, .16); color: var(--teal); }
.card--featured .checks li { color: #E3ECF6; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal); display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.card__tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; background: var(--teal-50); color: var(--teal-600); margin-bottom: 12px; }
.card p { color: inherit; opacity: .92; }
.card:not(.card--featured) p { color: var(--muted); }

.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23072C55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks--light li { color: #fff; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px;
  border-radius: 50%; background: #fff; border: 2px solid var(--teal); color: var(--navy); font-weight: 800; font-size: 1.15rem;
}
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Split beneficios ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.split__copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.benefit { background: var(--bg-tint); border-radius: var(--radius); padding: 26px 24px; border-top: 4px solid var(--teal); }
.benefit p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Cobertura ---------- */
.zones { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zones li {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: .95rem;
  transition: background .2s, border-color .2s;
}
.zones li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--teal); }
.zones li:hover { background: rgba(0, 203, 208, .12); border-color: rgba(0, 203, 208, .4); }

/* ---------- Omoyal ---------- */
.omoyal { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.omoyal__badge {
  aspect-ratio: 1; border-radius: var(--radius-lg); padding: 40px;
  background: linear-gradient(150deg, var(--teal) 0%, #00A9C4 45%, var(--navy) 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.omoyal__badge::before {
  content: ""; position: absolute; top: 36px; right: 36px; width: 90px; height: 90px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .5);
}
.omoyal__badge span { font-size: .85rem; font-weight: 600; opacity: .85; margin-bottom: 8px; }
.omoyal__badge strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; }
.omoyal__copy p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.omoyal__copy strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.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(--teal-50); color: var(--teal-600); font-size: 1.3rem; font-weight: 600; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* ---------- Cotizar ---------- */
.quote {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  background: var(--navy); border-radius: 36px; padding: 64px; position: relative; overflow: hidden;
}
.quote::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  left: -140px; bottom: -180px; background: rgba(0, 203, 208, .18);
}
.quote__copy { position: relative; z-index: 1; }
.quote__copy h2 { color: #fff; }
.quote__copy p { color: #A9BCD3; font-size: 1.08rem; }
.quote__form {
  position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg); padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field--full, .quote__form .btn, .form-note { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.field input, .field select {
  font: inherit; font-size: .98rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg-tint); color: var(--ink); transition: border-color .2s, background .2s; width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; }
.field input.is-invalid { border-color: #E5484D; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #A9BCD3; padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__tag { margin-top: 14px; max-width: 28em; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--teal); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .route { stroke-dashoffset: 0; }
  .reveal, .tag, .float-card { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid, .split, .omoyal, .quote { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .float-card { left: 12px; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .zones { grid-template-columns: repeat(3, 1fr); }
  .omoyal__badge { max-width: 420px; }
  .quote { padding: 48px 32px; }
}

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s; z-index: -1;
  }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 16px; }
  .nav.is-open .nav__links { transform: none; visibility: visible; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 72px; }
  .hero__stats { grid-template-columns: 1fr; gap: 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .benefits, .steps { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr 1fr; }
  .zones li { padding: 12px 14px; font-size: .88rem; }
  .quote { padding: 36px 18px; border-radius: 28px; }
  .quote__form { grid-template-columns: 1fr; padding: 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .float-card { top: -18px; }
}

/* ---------- Páginas secundarias (aviso, 404) ---------- */
.form-note a { color: var(--teal-600); text-decoration: underline; }
.legal { padding: 72px 0 104px; }
.legal h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { font-size: .9rem; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.notfound__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--teal); letter-spacing: -.04em; }

/* ---------- Correo de contacto en cotizar ---------- */
.quote__mail {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; font-weight: 700; transition: background .2s, border-color .2s;
}
.quote__mail:hover { background: rgba(0, 203, 208, .14); border-color: rgba(0, 203, 208, .5); }
.quote__mail svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--teal); fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; flex: none; }
.quote__mail span { display: grid; line-height: 1.3; }
.quote__mail small { font-weight: 500; color: #A9BCD3; font-size: .82rem; }
