/* ==========================================================================
   NOROASIS · Landing (mobile-first)
   Azul = estructura y titulares · Naranja = SOLO acciones
   ========================================================================== */

:root {
  --blue-900: #021a55;
  --blue-800: #032371;       /* Azul Noroasis (logo) */
  --blue-500: #1e88e5;
  --blue-300: #6cc2f5;
  --blue-50:  #eef6ff;
  --orange:   #fa5a0a;       /* Naranja CTA */
  --orange-d: #de4c00;
  --ink:      #0b1547;
  --muted:    #3a4468;
  --line:     #dde6f3;
  --bg:       #ffffff;
  --radius:   18px;
  --shadow:   0 10px 30px -12px rgba(20, 36, 138, .25);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--blue-800); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- Botón (naranja = acción) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.5em;
  background: var(--orange); color: #fff;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(255, 106, 0, .7);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--orange-d); transform: translateY(-1px); }
.btn:focus-visible, .link:focus-visible, summary:focus-visible, .fab:focus-visible {
  outline: 3px solid var(--blue-300); outline-offset: 3px;
}
.btn--lg { font-size: 1.125rem; padding: 1em 1.8em; }
.btn--sm { font-size: .9375rem; padding: .6em 1.1em; box-shadow: none; }
.hide-xs { display: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header__logo img { width: 132px; }
.nav { display: none; }
section[id] { scroll-margin-top: 84px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(120% 80% at 100% 0%, var(--blue-50) 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--blue-50) 100%);
  padding-block: 32px 48px;
}
.hero__grid { display: grid; gap: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .875rem; font-weight: 600; color: var(--blue-800);
  background: #fff; border: 1px solid var(--line);
  padding: .35em .9em; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .ico { width: 1em; height: 1em; color: var(--blue-500); }
.hero h1 { font-size: clamp(2.3rem, 9vw, 4rem); font-weight: 800; }
.hero h1 .accent { color: var(--orange); display: block; }
.lead { font-size: 1.125rem; color: var(--muted); margin-top: 16px; max-width: 44ch; }
.hero__actions { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero__tags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.hero__tags li { display: flex; align-items: center; gap: .5em; font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.hero__tags .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--blue-800); color: #fff; }
.hero__tags li:last-child .ico { background: #25d366; }
.hero__media { margin: 0; }
.hero__media img { border-radius: 9.5% / 11%; box-shadow: var(--shadow); width: 100%; height: auto; }

/* ---------- Secciones ---------- */
.section { padding-block: 64px; }
.section--tight { padding-block: 32px; }
.section--blue { background: var(--blue-50); }
.section__head { text-align: center; margin-bottom: 36px; }
.section__head h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 800; }
.kicker {
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 8px;
}

/* ---------- Beneficios ---------- */
.benefits {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr;
}
.benefits li {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.benefits li:last-child { border-bottom: 0; }
.benefits__ico {
  grid-row: span 2;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue-50); color: var(--blue-800);
}
.benefits li:first-child .benefits__ico { background: var(--blue-500); color: #fff; }
.benefits__ico .ico { width: 28px; height: 28px; }
.benefits strong { color: var(--blue-800); font-size: 1.0625rem; line-height: 1.25; }
.benefits span:last-child { color: var(--muted); font-size: .9375rem; line-height: 1.4; margin-top: 4px; }

/* ---------- Segmentos ---------- */
.segments { display: grid; gap: 20px; }
.segment {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.segment__media { padding: 14px 14px 0; }
.segment__media img { width: 100%; height: auto; border-radius: 9.5% / 11%; }
.segment__body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.segment h2 { font-size: 2rem; font-weight: 800; line-height: 1.05; }
.segment h2 .accent { color: var(--orange); display: block; }
.segment p { color: var(--ink); font-weight: 500; }
.segment__checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.segment__checks li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink); }
.segment__checks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange); color: #fff; }
.link {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; color: var(--orange-d); text-decoration: none;
}
.link .ico { transition: transform .15s; }
.link:hover .ico { transform: translateX(3px); }

/* ---------- Pasos ---------- */
.steps-section { padding-block: 48px; }
.steps-wrap { display: grid; gap: 28px; }
.swoosh { font-size: clamp(1.75rem, 6vw, 2.25rem); font-weight: 800; position: relative; padding-bottom: 14px; }
.swoosh::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 96px; height: 5px;
  background: var(--orange); border-radius: 999px; transform: rotate(-3deg);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.steps li { display: flex; flex-direction: column; gap: 4px; }
.steps__ico {
  position: relative; width: 52px; height: 52px; margin: 0 0 10px 14px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--blue-500); box-shadow: 0 4px 14px -6px rgba(3,35,113,.35);
}
.steps__ico .ico { width: 26px; height: 26px; }
.steps__ico--wa { background: #25d366; color: #fff; }
.steps__num {
  position: absolute; left: -14px; top: -6px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue-800); color: #fff;
  font-size: .8125rem; font-weight: 800;
}
.steps h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.2; }
.steps p { color: var(--muted); font-size: .875rem; line-height: 1.35; }

/* ---------- Confianza ---------- */
.trust { display: grid; gap: 32px; align-items: center; }
.trust__media { margin: 0; }
.trust__media img { border-radius: 28px;  object-fit: cover; width: 100%; }
.quality { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.quality li { display: flex; align-items: center; gap: 16px; font-size: 1.0625rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.quality__ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.quality__ico .ico { width: 26px; height: 26px; }
.quality__ico--orange { background: #fff1e8; color: var(--orange); }
.quality__ico--green { background: #e8f8ee; color: #22a35a; }

/* ---------- Recompra ---------- */
.reorder {
  display: grid; gap: 18px; justify-items: start;
  background: var(--blue-800); color: #dfe6ff;
  border-radius: 24px; padding: 28px;
}
.reorder h2 { color: #fff; font-size: 1.5rem; font-weight: 800; }
.reorder p { margin-top: 6px; }
.reorder__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff;
}
.reorder__ico .ico { width: 28px; height: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq details[open] { border-color: var(--blue-300); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; color: var(--blue-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue-500); border-bottom: 2.5px solid var(--blue-500);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background:
    radial-gradient(60% 120% at 0% 100%, rgba(30,136,229,.45) 0%, transparent 60%),
    radial-gradient(50% 100% at 100% 0%, rgba(108,194,245,.25) 0%, transparent 60%),
    linear-gradient(160deg, #0a3aa8 0%, var(--blue-800) 55%, var(--blue-900) 100%);
  color: #d6defc;
  margin-top: 40px;
  padding-top: 56px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); /* aire para el botón flotante */
}
.footer__wave { position: absolute; left: 0; top: -39px; width: 100%; height: 40px; color: #0a3aa8; }
.footer__grid { display: grid; gap: 36px; justify-items: center; text-align: center; }
.footer h2 { color: #fff; font-size: clamp(2rem, 7vw, 2.75rem); font-weight: 800; }
.footer h2 .accent { color: var(--orange); display: block; }
.footer__title p { margin-top: 10px; max-width: 32ch; margin-inline: auto; }
.footer__aud { list-style: none; margin: 0; padding: 0; display: flex; }
.footer__aud li {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0 14px; font-size: .8125rem; font-weight: 600; color: #fff; text-align: center;
  border-left: 1px solid rgba(255,255,255,.18);
}
.footer__aud li:first-child { border-left: 0; }
.footer__aud span { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--blue-800); display: grid; place-items: center; }
.footer__aud .ico { width: 28px; height: 28px; }
.footer__action { display: grid; justify-items: center; gap: 14px; }
.btn--big { padding: 10px 22px 10px 10px; gap: 14px; text-align: left; }
.btn__wa { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: #25d366; display: grid; place-items: center; }
.btn__wa .ico { width: 32px; height: 32px; }
.btn__txt { display: flex; flex-direction: column; font-size: 1.625rem; font-weight: 800; line-height: 1.05; }
.btn__txt small { font-size: .9375rem; font-weight: 600; }
.btn__chev { width: 24px; height: 24px; margin-left: 6px; }
.footer__zone { display: inline-flex; align-items: center; gap: .4em; font-size: .9375rem; color: #fff; }
.footer__zone .ico { width: 1.1em; height: 1.1em; }
.footer__legal {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: .8125rem; color: #9fb0ea;
}

.footer__legal { align-items: center; }
.footer__credit { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.footer__credit img { height: 18px; width: auto; }
.footer__credit:hover { color: #fff; }

/* ---------- Botón flotante ---------- */
.fab {
  position: fixed; z-index: 60;
  right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.35);
  transition: transform .15s;
}
.fab:hover { transform: scale(1.06); }
.fab .ico { width: 30px; height: 30px; }

/* ==========================================================================
   Tablet / Desktop
   ========================================================================== */
@media (min-width: 480px) {
  .hide-xs { display: inline; }
}

@media (min-width: 768px) {
  .wrap { padding-inline: 32px; }
  .header__inner { height: 76px; }
  .header__logo img { width: 160px; }
  .nav { display: flex; gap: 28px; margin-left: auto; margin-right: 28px; }
  .nav a { font-size: .9375rem; font-weight: 600; color: var(--blue-800); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
  .nav a:hover { border-bottom-color: var(--orange); }
  .benefits { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .benefits li:nth-last-child(2) { border-bottom: 0; }
  .segments { gap: 24px; }
  .segment .link { margin-top: 8px; }
  .hero__tags li { font-size: 1rem; }
  .reorder { grid-template-columns: auto 1fr auto; align-items: center; padding: 32px 40px; gap: 28px; }
  .section { padding-block: 88px; }
}

@media (min-width: 1024px) {
  .hero { padding-block: 64px 88px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .hero__actions { flex-direction: row; align-items: center; gap: 20px; }
  .steps-wrap { grid-template-columns: 240px 1fr; align-items: center; gap: 40px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .steps li { padding: 0 20px; border-left: 1px solid #c9dbf2; }
  .steps li:first-child { border-left: 0; padding-left: 0; }
  .benefits { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .benefits li { border-bottom: 0; padding: 4px 22px; border-left: 1px solid var(--line); }
  .benefits li:first-child { border-left: 0; padding-left: 0; }
  .trust { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .footer__grid { grid-template-columns: 1.1fr auto 1fr; align-items: center; justify-items: start; text-align: left; gap: 32px; }
  .footer__title p { margin-inline: 0; }
  .footer__action { justify-items: end; }
  .segments { grid-template-columns: 1fr 1fr; }
  .segment h2 { font-size: 1.75rem; }
  .segment p { font-size: .9375rem; line-height: 1.45; }
  .segment__checks { gap: 7px; }
  .segment__checks li { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.lead + .lead { margin-top: 2px; }

@media (min-width: 1200px) {
  .footer__zone { white-space: nowrap; }
}
