/* ==========================================================================
   Biblia Pro — Home v4 (landing compacta, identidad Cielo)
   Paleta: petróleo #152D3B · cielo #A4DFF0 · lavanda #C8AFE9 · lámpara #FFC857
   ========================================================================== */

:root {
  --petrol: #152d3b;
  --deep: #153c50;
  --teal: #13617b;
  --sky: #a4dff0;
  --sky-soft: #ddf0f8;
  --lav: #c8afe9;
  --lamp: #ffc857;
  --paper: #f7fafb;
  --paper-2: #edf6fa;
  --card: #ffffff;
  --line: #e4edf1;
  --muted: #526976;
  --night: #101f28;
  --night-2: #192b35;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1180px;
  --shadow-sm: 0 8px 24px -12px rgba(21, 45, 59, 0.22);
  --shadow-md: 0 26px 60px -30px rgba(21, 45, 59, 0.35);
  --shadow-lg: 0 50px 90px -40px rgba(21, 45, 59, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--petrol);
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--lamp);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted);
}

.sec-head {
  max-width: 720px;
  margin-bottom: clamp(26px, 3vw, 40px);
}

.sec-head h2 {
  margin: 12px 0 12px;
}

.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

.sec-head--center .eyebrow {
  justify-content: center;
}

.sec-head--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px 48px;
  max-width: none;
  align-items: end;
}

.sec-head--split .lead {
  max-width: 46ch;
  padding-bottom: 6px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--gold {
  background: var(--lamp);
  color: var(--petrol);
  box-shadow: 0 14px 30px -12px rgba(255, 200, 87, 0.85);
}

.btn--gold:hover {
  box-shadow: 0 20px 38px -14px rgba(255, 200, 87, 0.95);
}

.btn--ghost {
  border-color: rgba(21, 45, 59, 0.25);
  color: var(--petrol);
  background: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  border-color: var(--petrol);
  background: #fff;
}

.btn--dark {
  background: var(--petrol);
  color: #fff;
}

.btn--soft {
  background: var(--sky-soft);
  color: var(--teal);
  border-color: rgba(19, 97, 123, 0.14);
}

/* ---------- Cabecera ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 251, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.hdr.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(21, 45, 59, 0.5);
  background: rgba(247, 250, 251, 0.94);
}

.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.brand span {
  font-size: 1.17rem;
}

.brand b {
  color: var(--teal);
  font-size: 0.68em;
  letter-spacing: 0.14em;
  margin-left: 3px;
  vertical-align: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}

.nav a:hover {
  color: var(--petrol);
  background: rgba(21, 45, 59, 0.05);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.hdr-login {
  padding: 9px 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.hdr-login:hover {
  color: var(--petrol);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--petrol);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 34px;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(164, 223, 240, 0.9), transparent 62%),
    radial-gradient(620px 460px at -6% 24%, rgba(200, 175, 233, 0.38), transparent 65%),
    linear-gradient(180deg, #e6f6fb 0%, #f7fafb 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(21, 45, 59, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 62% 58% at 66% 38%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 66% 38%, #000 12%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-copy h1 {
  margin-top: 14px;
  max-width: 17ch;
  font-size: clamp(2.55rem, 4.7vw, 4.15rem);
}

.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #13617b 0%, #2f9ab9 55%, #7d63b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy .lead {
  margin-top: 18px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
  flex: none;
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.device-tablet {
  position: relative;
  border-radius: 26px;
  padding: 13px;
  background: linear-gradient(155deg, #355362, #10222c 45%, #1a303c);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.device-tablet::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #0a141a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.device-tablet__screen {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1a22;
  aspect-ratio: 16 / 10;
}

.device-tablet__screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #f7fafb 92%);
  pointer-events: none;
}

.device-tablet__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-tablet {
  position: absolute;
  width: 70%;
  right: 1%;
  top: 26px;
  z-index: 1;
  transform: rotate(1.5deg);
}

.device-phone {
  border-radius: 30px;
  padding: 6px;
  background: linear-gradient(155deg, #34515f, #0e2029 50%, #172b35);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.device-phone img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.hero-phone-a {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: 168px;
  z-index: 3;
  transform: rotate(-5deg);
}

.hero-phone-b {
  position: absolute;
  left: 31%;
  bottom: 0;
  width: 154px;
  z-index: 2;
  transform: rotate(4deg);
}

.float-pill {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(21, 45, 59, 0.1);
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--petrol);
  white-space: nowrap;
}

.float-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 4px rgba(255, 200, 87, 0.22);
}

.float-pill--1 {
  right: -8px;
  bottom: 30%;
}

.float-pill--2 {
  left: 12%;
  top: 16%;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(21, 45, 59, 0.12);
}

.hero-stats div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.hero-stats b {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--teal);
}

.hero-stats span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Secciones ---------- */
.section {
  padding: clamp(46px, 5.2vw, 72px) 0;
}

.section--sky {
  background: linear-gradient(180deg, var(--paper) 0%, #eaf6fb 55%, var(--paper) 100%);
}

.section--tight {
  padding: clamp(38px, 4vw, 52px) 0;
}

/* Qué incluye */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.value-card {
  padding: 22px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--teal);
}

.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-card h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
}

.value-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Teléfonos en grid */
.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 18px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.screen-card .device-phone {
  width: min(196px, 100%);
  margin-bottom: 18px;
}

.screen-card h3 {
  margin-bottom: 6px;
}

.screen-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 28ch;
}

.screen-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(19, 97, 123, 0.07);
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Tablet */
.tablet-sec {
  background:
    radial-gradient(700px 420px at 8% 0%, rgba(164, 223, 240, 0.24), transparent 65%),
    radial-gradient(700px 480px at 100% 100%, rgba(200, 175, 233, 0.16), transparent 65%),
    var(--night);
  color: #eef7fb;
}

.tablet-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.tablet-copy .eyebrow {
  color: var(--sky);
}

.tablet-copy .eyebrow::before {
  background: var(--lamp);
}

.tablet-copy h2 {
  margin: 12px 0 14px;
}

.tablet-copy h2 em {
  font-style: normal;
  color: var(--sky);
}

.tablet-copy .lead {
  color: #bbd2dc;
}

.tablet-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tablet-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.92rem;
  color: #d7e9f0;
}

.tablet-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--lamp);
  flex: none;
}

.tablet-copy .btn {
  margin-top: 26px;
}

.tablet-demo {
  position: relative;
}

.tablet-demo .device-tablet {
  width: 100%;
  transform: rotate(-1deg);
}

.tablet-demo .device-tablet__screen {
  aspect-ratio: 16 / 9;
}

.tablet-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(228, 247, 252, 0.7);
}

.tablet-cap span:last-child {
  color: var(--sky);
}

/* Flujo */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.flow-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.flow-step i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lamp);
  color: var(--petrol);
  font-style: normal;
  font-size: 0.72rem;
}

.flow-card .device-phone {
  width: min(172px, 82%);
  margin: 0 auto 18px;
}

.flow-card h3 {
  margin-bottom: 6px;
}

.flow-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Herramientas */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--teal);
}

.tool-icon svg {
  width: 21px;
  height: 21px;
}

.tool-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.tool-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.tool-meta {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(19, 97, 123, 0.07);
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Cuenta */
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.account-copy h2 em {
  font-style: normal;
  color: var(--teal);
}

.account-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.account-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
}

.account-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--teal);
  flex: none;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.account-demo {
  display: grid;
  place-items: center;
}

.account-demo .device-phone {
  width: min(250px, 78%);
  transform: rotate(2deg);
}

.account-note {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

/* Planes */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.plan--hot {
  border-color: rgba(255, 200, 87, 0.55);
  box-shadow: 0 24px 50px -28px rgba(255, 200, 87, 0.7);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lamp);
  color: var(--petrol);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 1.1rem;
}

.plan-desc {
  margin-top: 4px;
  min-height: 38px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.plan-price {
  margin: 14px 0 2px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.plan-price small {
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-period {
  font-size: 0.72rem;
  color: var(--muted);
}

.plan ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 18px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
}

.plan li {
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.plan li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
  flex: none;
}

.plan .btn {
  margin-top: auto;
  width: 100%;
  padding: 11px 14px;
  font-size: 0.84rem;
}

.plans-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.plans-note b {
  color: var(--petrol);
}

/* CTA final */
.final {
  padding: clamp(52px, 6vw, 80px) 0;
}

.final-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 60px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(164, 223, 240, 0.38), transparent 70%),
    radial-gradient(560px 300px at 100% 100%, rgba(255, 200, 87, 0.24), transparent 70%),
    linear-gradient(140deg, #153c50, #101f28 70%);
  text-align: center;
}

.final-card h2 {
  max-width: 18ch;
  margin: 0 auto;
}

.final-card h2 em {
  font-style: normal;
  color: var(--lamp);
}

.final-card p {
  max-width: 54ch;
  margin: 16px auto 0;
  color: #d6e7ef;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 28px;
}

.final-card .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.final-card .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.final-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 0.74rem;
  color: #b9d0db;
}

/* Pie */
.ftr {
  border-top: 1px solid var(--line);
  background: #f2f8fa;
  padding: 42px 0 24px;
}

.ftr-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px 40px;
}

.ftr-brand p {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}

.ftr h4 {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ftr ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ftr a {
  font-size: 0.84rem;
  color: var(--petrol);
  text-decoration: none;
}

.ftr a:hover {
  color: var(--teal);
}

.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--muted);
}

.ftr-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Reveal */
html.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

html.js .rv.in {
  opacity: 1;
  transform: none;
}


/* ---------- Efectos y animaciones (v4) ---------- */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #6d4bc4 0%, var(--lamp) 55%, var(--sky) 100%);
  z-index: 80;
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.hero-aurora span:nth-child(1) {
  width: 460px;
  height: 460px;
  top: -18%;
  right: -8%;
  background: rgba(124, 91, 214, 0.3);
  animation: aurora-drift-a 18s ease-in-out infinite alternate;
}

.hero-aurora span:nth-child(2) {
  width: 420px;
  height: 420px;
  bottom: -22%;
  left: -10%;
  background: rgba(164, 223, 240, 0.75);
  animation: aurora-drift-b 22s ease-in-out infinite alternate;
}

.hero-aurora span:nth-child(3) {
  width: 280px;
  height: 280px;
  top: 26%;
  left: 42%;
  background: rgba(255, 200, 87, 0.5);
  animation: aurora-drift-c 26s ease-in-out infinite alternate;
}

.hero-copy h1 em {
  background-size: 200% 100%;
  animation: title-shimmer 9s linear infinite;
}

.hero-tablet {
  animation: device-float-tablet 9s ease-in-out infinite;
}

.hero-phone-a {
  animation: device-float-a 7s ease-in-out infinite;
}

.hero-phone-b {
  animation: device-float-b 8s ease-in-out infinite;
}

.float-pill--1 {
  animation: pill-bob 5.5s ease-in-out infinite;
}

.float-pill--2 {
  animation: pill-bob 6.5s ease-in-out infinite reverse;
}

.hero-tablet {
  translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 8px);
  transition: translate 0.6s ease-out;
}

.hero-phone-a {
  translate: calc(var(--px, 0) * 11px) calc(var(--py, 0) * 11px);
  transition: translate 0.6s ease-out;
}

.hero-phone-b {
  translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 14px);
  transition: translate 0.6s ease-out;
}

.brand img {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.06);
  box-shadow: 0 10px 22px -10px rgba(109, 75, 196, 0.65);
}

.btn--gold {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.7) 46%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease);
}

.btn--gold:hover::after {
  transform: translateX(120%);
}

.plan--hot {
  animation: hot-pulse 4.8s ease-in-out infinite;
}

.value-card,
.plan,
.tool-card,
.screen-card,
.flow-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.value-card::before,
.plan::before,
.tool-card::before,
.screen-card::before,
.flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(109, 75, 196, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.value-card:hover::before,
.plan:hover::before,
.tool-card:hover::before,
.screen-card:hover::before,
.flow-card:hover::before {
  opacity: 1;
}

.screen-card .device-phone,
.flow-card .device-phone {
  transition: transform 0.5s var(--ease);
}

.screen-card:hover .device-phone,
.flow-card:hover .device-phone {
  transform: translateY(-6px) rotate(-1deg);
}

@keyframes aurora-drift-a {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-60px, 50px, 0) scale(1.12); }
}

@keyframes aurora-drift-b {
  0% { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(70px, -40px, 0) scale(0.95); }
}

@keyframes aurora-drift-c {
  0% { transform: translate3d(0, 0, 0); opacity: 0.35; }
  100% { transform: translate3d(-40px, 30px, 0); opacity: 0.6; }
}

@keyframes title-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes device-float-tablet {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-9px); }
}

@keyframes device-float-a {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-3.5deg) translateY(-12px); }
}

@keyframes device-float-b {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-8px); }
}

@keyframes pill-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes hot-pulse {
  0%, 100% { box-shadow: 0 24px 50px -28px rgba(255, 200, 87, 0.7); }
  50% { box-shadow: 0 28px 58px -24px rgba(255, 200, 87, 0.95); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  html.js .rv {
    opacity: 1;
    transform: none;
  }

  .ticker__track {
    animation: none;
  }
}


/* ---------- Ticker de beneficios ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 13px 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
}

.ticker span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lamp);
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

.value-card,
.tool-card,
.screen-card,
.flow-card,
.plan {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  will-change: transform;
}

.value-card:hover,
.tool-card:hover,
.screen-card:hover,
.flow-card:hover,
.plan:hover {
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(-7px);
}

.value-icon,
.tool-icon {
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}

.value-card:hover .value-icon,
.tool-card:hover .tool-icon {
  transform: rotate(-6deg) scale(1.08);
  background-color: #d2edf7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-phone-a {
    width: 160px;
  }

  .hero-phone-b {
    width: 148px;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screen-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tools-grid,
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }

  .ftr-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 66px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-copy h1 {
    max-width: 18ch;
  }

  .hero-visual {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 14px;
    padding: 8px 0 0;
  }

  .hero-tablet {
    position: static;
    order: 1;
    width: 100%;
    transform: none;
  }

  .hero-phone-a,
  .hero-phone-b {
    position: static;
    order: 2;
    width: 43%;
    max-width: 190px;
    transform: none;
  }

  .float-pill {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
  }

  .sec-head--split,
  .tablet-grid,
  .account-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tablet-demo {
    order: -1;
  }

  .screen-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .screen-card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 18px;
    padding: 16px;
  }

  .screen-card .device-phone {
    width: 132px;
    margin: 0;
    flex: none;
  }

  .screen-card p {
    max-width: none;
  }

  .screen-tag {
    margin-top: 8px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
  }

  .flow-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 16px;
  }

  .flow-card .device-phone {
    width: 112px;
    margin: 0;
    grid-row: span 3;
  }

  .flow-step {
    margin-bottom: 4px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .account-demo .device-phone {
    width: min(220px, 62%);
  }

  .ftr-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ftr-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hdr-in {
    height: 60px;
  }

  .hdr-login {
    display: none;
  }

  .hdr-actions .btn {
    padding: 11px 16px;
    font-size: 0.82rem;
  }

  .brand span {
    font-size: 1.05rem;
  }

  .hero {
    padding: 28px 0 26px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.2rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    margin-top: 28px;
  }

  .value-grid,
  .tools-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .value-grid {
    gap: 10px;
  }

  .screen-card {
    flex-direction: column;
    text-align: center;
  }

  .screen-card .device-phone {
    width: min(190px, 70%);
    margin-inline: auto;
  }

  .flow-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .flow-card .device-phone {
    width: min(170px, 60%);
    margin-inline: auto;
  }

  .account-demo .device-phone {
    width: min(210px, 72%);
  }

  .ftr-grid {
    grid-template-columns: 1fr;
  }

  .ftr-brand {
    grid-column: auto;
  }

  .final-actions .btn {
    width: 100%;
  }
}
