/*ind*/
:root {
  --navy: #0b0c2a;
  --navy-2: #111438;
  --navy-3: #1a1e46;
  --coral: #ff7a66;
  --coral-hover: #ff957f;
  --mint: #40e0bc;
  --violet: #5458e8;
  --white: #ffffff;
  --gray: #b9bed7;
  --soft: #f6f4ff;
  --stroke: rgba(255, 255, 255, 0.12);
  --container: 1160px;
  --radius: 24px;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Poppins, sans-serif;
  overflow-x: clip;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--mint);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(88px, 10vw, 150px) 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--mint);
}

.section-title {
  max-width: 870px;
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  line-height: 1.09;
  letter-spacing: -0.055em;
  margin: 18px 0 22px;
  font-weight: 800;
}

.section-intro {
  color: var(--gray);
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
  line-height: 1.8;
  max-width: 670px;
}

.accent {
  color: var(--mint);
}

.coral {
  color: var(--coral);
}

.button {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 17px 28px;
  min-height: 56px;
  background: var(--coral);
  color: #17152a;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 12px 35px rgba(255, 122, 102, 0.22);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  background: var(--coral-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(255, 122, 102, 0.3);
}

.button--outline {
  border: 1.5px solid #5351a2;
  color: #23214a;
  background: transparent;
  box-shadow: none;
}

.button--outline:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(81, 79, 167, 0.13);
}

.button--dark-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  box-shadow: none;
  padding: 13px 20px;
  min-height: 46px;
}

.button--dark-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hidden {
  display: none !important;
}

/* Quita esta clase de #precios o #finiquitos cuando quieras publicarlos. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Dual header: el primero viaja con el Hero; el segundo flota. */
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  isolation: isolate;
  min-width: 147px;
  min-height: 54px;
}

body[data-page="index"].brand::before {
  content: "";
  position: absolute;
  inset: -12px -18px;
  background: radial-gradient(ellipse,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.54) 35%,
      transparent 75%);
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
}

.brand img {
  width: 158px;
  max-height: 57px;
  object-fit: contain;
}

.brand__fallback {
  display: none;
  color: #252448;
  font-weight: 900;
  font-size: 1.42rem;
  letter-spacing: -0.05em;
}

.brand.is-fallback img {
  display: none;
}

.brand.is-fallback .brand__fallback {
  display: block;
}

.hero-header {
  position: relative;
  z-index: 6;
  padding: 20px 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.64),
      rgba(221, 214, 255, 0.5));
  flex: 0 0 auto;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.floating-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  transform: translate(-50%, -22px);
  opacity: 0;
  pointer-events: none;
  width: min(calc(100% - 32px), 1160px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(115deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(249, 249, 255, 0.31) 45%,
      rgba(0, 0, 0, 0.95) 100%);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition:
    opacity 0.38s ease,
    transform 0.38s ease;
}

.floating-header.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.floating-header .header-content {
  padding: 9px 21px;
}

.floating-header .brand {
  min-height: 44px;
}

.floating-header .brand::before {
  inset: -7px -13px;
  opacity: 0.84;
}

.floating-header .brand img {
  width: 132px;
  max-height: 43px;
}

.floating-header .brand__fallback {
  font-size: 1.16rem;
}

/* Crossfade anclado: 220vh de recorrido, 100vh de escenario sticky. */
.story-track {
  height: 220svh;
  position: relative;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.story-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero {
  z-index: 2;
  opacity: 1;
  color: #232344;
}

body[data-page="index"] .hero{
background:
    radial-gradient(circle at 78% 55%,
      rgba(174, 165, 255, 0.6),
      transparent 34%),
    linear-gradient(135deg, #fff 0%, #f2edff 48%, #ddd9ff 100%);
}



.hero::after {
  content: "";
  position: absolute;
  width: 48vw;
  height: 48vw;
  max-width: 670px;
  max-height: 670px;
  border: 1px solid rgba(110, 99, 223, 0.13);
  border-radius: 50%;
  right: -18%;
  top: 18%;
  pointer-events: none;
}

.hero-inner {
  width: min(calc(100% - 48px), var(--container));
  margin: auto;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(18px, 3.5vw, 65px);
  padding-block: clamp(16px, 3.8vh, 54px);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

/* Phosphor Icons: sistema visual consistente y adaptable. */
.ph-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
  vertical-align: -0.12em;
}

.button .ph-icon {
  font-size: 1.12em;
  transition: transform 180ms ease;
}

.button:hover .ph-icon {
  transform: translate(2px, -2px);
}

.hero-alert .ph-icon {
  font-size: 1.15rem;
  color: var(--coral);
}

.hero-micro span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-micro .ph-icon {
  color: #17a88e;
  font-size: 1rem;
}

.bento-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-icon .ph-icon {
  font-size: 2rem;
  color: var(--mint);
  transition:
    transform 220ms ease,
    color 220ms ease;
}

.bento-card:hover .bento-icon .ph-icon {
  transform: translateY(-3px) rotate(-4deg);
  color: #fff;
}

.scroll-cue::before {
  content: none;
}

.scroll-cue .ph-icon {
  font-size: 1.25rem;
  animation: bob 2s infinite;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checklist .ph-icon {
  color: var(--mint);
  font-size: 1.15rem;
  margin-top: 0.18em;
}

.dialog-close .ph-icon {
  font-size: 1.25rem;
}

.hero-alert {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 122, 102, 0.13);
  border: 1px solid rgba(255, 122, 102, 0.36);
  color: #cd564b;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.hero-alert i {
  font-size: 1rem;
}

.hero h1 {
  font-size: clamp(2.55rem, 5.3vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.064em;
  margin: 24px 0;
  max-width: 760px;
}

.hero h1 span {
  color: #5758ce;
}

.hero-lead {
  color: #686783;
  line-height: 1.75;
  font-size: clamp(0.96rem, 1.5vw, 1.12rem);
  max-width: 580px;
  margin-bottom: 26px;
}

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: #66647c;
  font-size: 0.73rem;
  margin-top: 22px;
  font-weight: 600;
}

/* Hero visual: dashboard detrás + app del trabajador al frente. */
.hero-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 560px;
  height: clamp(320px, 39vw, 490px);
  justify-self: end;
  align-self: center;
  filter: drop-shadow(0 28px 35px rgba(50, 49, 128, 0.22));
}

.hero-device {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-device--dashboard {
  z-index: 1;
  width: 750px;
  left: 12%;
  top: -20%;
  transform: rotate(1deg);
  filter: drop-shadow(0 18px 24px rgba(14, 15, 49, 0.24));
}

.hero-device--app {
  z-index: 2;
  width: 42%;
  left: 1%;
  bottom: -1%;
  transform: rotate(-7deg);
  filter: drop-shadow(0 22px 26px rgba(14, 15, 49, 0.32));
  animation: device-float 5.5s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes device-float {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -9px;
  }
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  align-items: center;
  color: #55577e;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.scroll-cue::before {
  content: "↓";
  font-size: 1.2rem;
  animation: bob 2s infinite;
}

@keyframes bob {
  50% {
    transform: translateY(6px);
  }
}

.agitation {
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 66%,
      rgba(255, 122, 102, 0.17),
      transparent 44%),
    var(--navy);
}

.agitation::before {
  content: "";
  position: absolute;
  width: 490px;
  height: 490px;
  border: 1px solid rgba(255, 122, 102, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(255, 122, 102, 0.023),
    0 0 0 180px rgba(255, 122, 102, 0.017);
  pointer-events: none;
}

.agitation-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 42px), 900px);
}

.agitation-tag {
  display: inline-flex;
  padding: 10px 18px;
  background: rgba(255, 122, 102, 0.1);
  border: 1px solid rgba(255, 122, 102, 0.32);
  color: var(--coral);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.agitation h2 {
  font-size: clamp(2.55rem, 6.4vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin: 26px auto;
  max-width: 1000px;
}

.agitation p {
  max-width: 685px;
  margin-inline: auto;
  line-height: 1.9;
  color: #c6c8de;
  font-size: clamp(0.97rem, 1.6vw, 1.13rem);
}

.agitation-bottom {
  margin-top: 36px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Ecosistema: bento con entradas multidireccionales. */
.ecosystem {
  background:
    radial-gradient(ellipse at 30% 0%,
      rgba(64, 224, 188, 0.07),
      transparent 48%),
    var(--navy);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.bento-card {
  --reveal-x: 0px;
  --reveal-y: 0px;
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: clamp(23px, 3vw, 37px);
  background: linear-gradient(145deg, #1a1d47, #111333);
  border: 1px solid rgba(64, 224, 188, 0.33);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.08);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.7s ease;
}

.bento-card:hover {
  border-color: var(--mint);
  box-shadow:
    0 15px 45px rgba(64, 224, 188, 0.09),
    inset 0 0 25px rgba(64, 224, 188, 0.03);
}

.bento-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  top: -120px;
  right: -80px;
  background: var(--mint);
  opacity: 0.14;
  filter: blur(40px);
}

.bento-card:nth-child(1) {
  grid-column: span 7;
  --reveal-x: -110px;
}

.bento-card:nth-child(2) {
  grid-column: span 5;
  --reveal-x: 110px;
}

.bento-card:nth-child(3) {
  grid-column: span 4;
  --reveal-y: 100px;
}

.bento-card:nth-child(4) {
  grid-column: span 4;
  --reveal-x: 90px;
  --reveal-y: 90px;
}

.bento-card:nth-child(5) {
  grid-column: span 4;
  --reveal-x: -100px;
  --reveal-y: 70px;
}

.bento-card:nth-child(6) {
  grid-column: span 12;
  --reveal-y: 90px;
  min-height: 225px;
}

.bento-icon {
  color: #40e0bc;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 1.8rem;
  background: rgba(64, 224, 188, 0.11);
  margin-bottom: 22px;
}

.bento-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: clamp(1.13rem, 1.8vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.bento-card p {
  position: relative;
  z-index: 1;
  color: #b8bfdb;
  font-size: 0.89rem;
  line-height: 1.85;
  margin: 0;
}

.bento-card:nth-child(6) p {
  max-width: 800px;
}

/* Calculadora de exposición. */
.risk-section {
  overflow: hidden;
  background: linear-gradient(180deg, #111438 0%, #0b0c2a 100%);
}

.risk-shell {
  --reveal-x: -70px;
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: linear-gradient(125deg, #20234d, #15163a);
  border: 1px solid rgba(255, 122, 102, 0.29);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.risk-shell h2 {
  font-size: clamp(2.2rem, 4.1vw, 3.65rem);
  line-height: 1.11;
  letter-spacing: -0.055em;
  margin: 18px 0;
}

.risk-shell .section-intro {
  font-size: 0.95rem;
}

.risk-calc {
  padding: clamp(22px, 3.3vw, 36px);
  border-radius: 25px;
  background: rgba(5, 7, 29, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.range-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  font-size: 0.84rem;
}

.range-heading output {
  padding: 8px 14px;
  background: rgba(64, 224, 188, 0.13);
  color: var(--mint);
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.04rem;
}

input[type="range"] {
  display: block;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  outline-offset: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg,
      var(--mint) 0%,
      var(--mint) var(--range-progress, 30%),
      #414365 var(--range-progress, 30%),
      #414365 100%);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  background: white;
  border: 5px solid var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(64, 224, 188, 0.14);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: white;
  border: 5px solid var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(64, 224, 188, 0.14);
}

.range-scale {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  color: #999cbd;
  font-size: 0.74rem;
}

.risk-result {
  margin-top: 32px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 122, 102, 0.24);
  background: linear-gradient(145deg,
      rgba(255, 122, 102, 0.12),
      rgba(255, 122, 102, 0.03));
}

.risk-result>span {
  display: block;
  color: #e4c9c8;
  font-size: 0.78rem;
  font-weight: 700;
}

.risk-result strong {
  display: block;
  margin-top: 7px;
  color: var(--coral);
  font-size: clamp(1.6rem, 3.4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.risk-note {
  font-size: 0.69rem;
  line-height: 1.8;
  color: #a7aac7;
  margin: 18px 0 22px;
}

.risk-calc .button {
  width: 100%;
}

/* Zigzag descendente. */
.benefits {
  background: var(--navy);
  overflow: hidden;
}

.stair-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 21px;
  margin-top: 62px;
  padding-bottom: 130px;
}

.stair-card {
  --reveal-y: 100px;
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(160deg, #1c204d, #121437);
  min-height: 295px;
  position: relative;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

.stair-card:nth-child(2) {
  margin-top: 68px;
}

.stair-card:nth-child(3) {
  margin-top: 136px;
}

.stair-card:nth-child(4) {
  margin-top: 204px;
}

.stair-number {
  color: rgba(64, 224, 188, 0.5);
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.stair-card h3 {
  font-size: 1.42rem;
  margin: 23px 0 10px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.stair-card p {
  color: var(--gray);
  font-size: 0.87rem;
  line-height: 1.8;
  margin: 0;
}

/* Módulos ocultos temporalmente (se animarán cuando se publique). */
.pricing {
  background:
    radial-gradient(circle at 50% 40%,
      rgba(84, 88, 232, 0.22),
      transparent 57%),
    var(--navy);
}

.pricing-card {
  --reveal-scale: 0.5;
  max-width: 720px;
  margin: 48px auto 0;
  border: 1px solid rgba(64, 224, 188, 0.4);
  padding: clamp(28px, 5vw, 60px);
  border-radius: 32px;
  text-align: center;
  background: #1a1d45;
  box-shadow: var(--shadow);
}

.price {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
  margin: 25px 0 10px;
  color: var(--mint);
}

.price small {
  font-size: 0.23em;
  letter-spacing: 0;
  color: white;
}

.price-caption {
  color: var(--gray);
}

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 390px;
  text-align: left;
  margin: 30px auto;
}

.settlement {
  background: #101237;
  text-align: center;
}

/* Gran cierre. */
.mega-footer {
  position: relative;
  overflow: hidden;
  padding: 112px 0 45px;
  background: var(--violet);
}

.mega-footer::before {
  content: "";
  position: absolute;
  width: 850px;
  height: 850px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 115px rgba(255, 255, 255, 0.035),
    0 0 0 240px rgba(255, 255, 255, 0.025);
  border-radius: 50%;
  left: 50%;
  top: -570px;
  transform: translateX(-50%);
}

.footer-main {
  position: relative;
  text-align: center;
}

.footer-main h2 {
  max-width: 900px;
  margin: 15px auto 32px;
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  letter-spacing: -0.07em;
  line-height: 1.08;
}

.footer-main p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.83);
  margin: 0 auto 33px;
  line-height: 1.8;
}

.footer-button {
  padding: 22px 42px;
  min-height: 70px;
  font-size: 1rem;
  box-shadow: 0 20px 48px rgba(31, 27, 83, 0.24);
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 105px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.83);
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.05em;
}

/* Mega footer: navegación, redes y contacto */
.footer-links {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(22px, 3.5vw, 48px);
  margin-top: 76px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-column {
  min-width: 0;
}

.footer-column h3 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-column p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.81rem;
  line-height: 1.75;
}

.footer-link-list {
  display: grid;
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-list a,
.footer-contact-link {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  line-height: 1.65;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-link-list a:hover,
.footer-contact-link:hover {
  color: #b8fff0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
}

.footer-contact-item .ph-icon {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #b8fff0;
  font-size: 1.1rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 13px;
  background: rgba(11, 12, 42, 0.15);
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  border-color: #40e0bc;
  background: rgba(64, 224, 188, 0.12);
}

.footer-legal-note {
  margin-top: 13px !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.7rem !important;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #b8fff0;
}

@media (max-width: 980px) {
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 55px;
    padding-top: 32px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 48px;
  }
}

/* Modal de contacto: funciona sin backend, usando el cliente de correo. */
.demo-dialog {
  width: min(92vw, 510px);
  max-height: min(90dvh, 780px);
  border-radius: 25px;
  border: 1px solid rgba(64, 224, 188, 0.33);
  padding: 30px;
  background: #171a43;
  color: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.demo-dialog::backdrop {
  background: rgba(4, 5, 22, 0.78);
  backdrop-filter: blur(7px);
}

.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.dialog-head h2 {
  margin: 0 0 10px;
  letter-spacing: -0.04em;
  font-size: 1.7rem;
}

.dialog-close {
  padding: 6px 12px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: white;
  border-radius: 10px;
  font-size: 1.3rem;
}

.demo-dialog p {
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.7;
}

.demo-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.demo-form label {
  display: grid;
  gap: 7px;
  color: #e8eafa;
  font-size: 0.79rem;
  font-weight: 700;
}

.demo-form input,
.demo-form select {
  color: white;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0c0e2d;
  outline-offset: 3px;
  border-radius: 12px;
  min-height: 48px;
  padding: 10px 13px;
}

.demo-form textarea {
  width: 100%;
  min-height: 115px;
  resize: vertical;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #0c0e2d;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.6;
  outline-offset: 3px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.demo-form textarea::placeholder {
  color: #858bad;
  opacity: 1;
}

.demo-form textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(84, 88, 232, 0.18);
}

.demo-form .button {
  margin-top: 9px;
}

.demo-form small {
  color: #b3b7d4;
  font-size: 0.69rem;
  line-height: 1.55;
}

/* Transiciones: el estado inicial sólo se aplica si JS realmente se inició. */
html.motion-ready .reveal {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0px), var(--reveal-y, 50px), 0) scale(var(--reveal-scale, 1));
}

html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.motion-ready .bento-card:nth-child(2) {
  transition-delay: 70ms;
}

html.motion-ready .bento-card:nth-child(3) {
  transition-delay: 90ms;
}

html.motion-ready .bento-card:nth-child(4) {
  transition-delay: 140ms;
}

html.motion-ready .bento-card:nth-child(5) {
  transition-delay: 190ms;
}

html.motion-ready .bento-card:nth-child(6) {
  transition-delay: 230ms;
}

html.motion-ready .risk-shell {
  transition:
    transform 1.05s cubic-bezier(0.18, 1.3, 0.3, 1),
    opacity 0.8s ease;
}

html.motion-ready .stair-card {
  transition:
    transform 0.8s cubic-bezier(0.18, 0.9, 0.25, 1),
    opacity 0.8s ease;
}

html.motion-ready .stair-card:nth-child(1) {
  transition-delay: 0ms;
}

html.motion-ready .stair-card:nth-child(2) {
  transition-delay: 190ms;
}

html.motion-ready .stair-card:nth-child(3) {
  transition-delay: 380ms;
}

html.motion-ready .stair-card:nth-child(4) {
  transition-delay: 570ms;
}

html.motion-ready .pricing-card {
  transition:
    transform 0.95s cubic-bezier(0.2, 1.3, 0.32, 1),
    opacity 0.75s ease;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 5.2vw, 4.1rem);
  }

  .hero-visual {
    max-width: 470px;
    height: clamp(290px, 42vw, 390px);
  }

  .hero-device--app {
    width: 40%;
  }

  .bento-card:nth-child(1),
  .bento-card:nth-child(2) {
    grid-column: span 6;
  }

  .bento-card:nth-child(3),
  .bento-card:nth-child(4),
  .bento-card:nth-child(5) {
    grid-column: span 6;
  }

  .bento-card:nth-child(6) {
    grid-column: span 6;
  }

  .risk-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }

  .container,
  .hero-inner {
    width: min(calc(100% - 34px), var(--container));
  }

  .hero-header {
    padding: 12px 0;
  }

  .brand {
    min-width: 112px;
    min-height: 45px;
  }

  .brand img {
    width: 124px;
  }

  .brand__fallback {
    font-size: 1.15rem;
  }

  .button--outline {
    min-height: 43px;
    padding: 10px 14px;
    font-size: 0.72rem;
  }

  .floating-header {
    top: 9px;
    width: calc(100% - 18px);
  }

  .floating-header .header-content {
    padding: 7px 12px;
  }

  .floating-header .brand {
    min-width: 95px;
  }

  .floating-header .brand img {
    width: 110px;
  }

  .floating-header .button {
    min-height: 39px;
    padding: 10px 13px;
    font-size: 0.7rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 15px;
    padding-bottom: 35px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8vw, 3.3rem);
    margin: 16px 0;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .hero-visual {
    display: block;
    width: min(100%, 420px);
    height: clamp(205px, 58vw, 285px);
    justify-self: center;
    margin: 4px auto 8px;
    transform: none;
    top: 40px;
  }

  .hero-device--dashboard {
    width: 88%;
    right: -1%;
    top: 3%;
  }

  .hero-device--app {
    width: 34%;
    left: 4%;
    bottom: 0;
    transform: rotate(-6deg);
  }

  .hero-inner {
    align-content: start;
    row-gap: 5px;
    padding-top: 12px;
    padding-bottom: 25px;
  }

  .hero-alert {
    font-size: 0.65rem;
    padding: 8px 12px;
  }

  .hero-micro {
    font-size: 0.68rem;
    gap: 8px 13px;
  }

  .scroll-cue {
    bottom: 10px;
    font-size: 0.62rem;
  }

  .agitation::before {
    width: 260px;
    height: 260px;
  }

  .agitation h2 {
    font-size: clamp(2.15rem, 8.7vw, 3.8rem);
  }

  .agitation p {
    font-size: 0.89rem;
    line-height: 1.75;
  }

  .agitation-tag {
    font-size: 0.64rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card:nth-child(n) {
    grid-column: 1;
    min-height: auto;
    padding: 26px;
  }

  .risk-shell {
    padding: 25px 19px;
    border-radius: 23px;
  }

  .risk-calc {
    padding: 20px 16px;
  }

  .stair-grid {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-bottom: 0;
  }

  .stair-card {
    min-height: 0;
  }

  .stair-card:nth-child(n) {
    margin-top: 0;
  }

  .stair-card:nth-child(2) {
    margin-left: 12px;
  }

  .stair-card:nth-child(3) {
    margin-left: 24px;
  }

  .stair-card:nth-child(4) {
    margin-left: 36px;
  }

  .mega-footer {
    padding-top: 85px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    margin-top: 70px;
  }
}

@media (max-height: 650px) and (min-width: 701px) {
  .hero-header {
    padding-block: 8px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 4.2vw, 3.6rem);
    margin-block: 13px;
  }

  .hero-lead {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }

  .hero-micro {
    margin-top: 12px;
  }

  .hero-inner {
    padding-block: 8px;
  }

  .dash-window {
    transform: scale(0.9);
  }
}

@media (max-height: 600px) and (max-width: 700px) {
  .hero h1 {
    font-size: clamp(1.75rem, 6.2vw, 2.5rem);
  }

  .hero-lead {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .hero-micro {
    display: none;
  }

  .agitation h2 {
    font-size: clamp(1.75rem, 7vw, 2.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-device--app {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .story-track {
    height: auto;
  }

  .story-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .story-panel {
    position: relative;
    min-height: 100svh;
    height: auto;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .hero-inner {
    min-height: calc(100svh - 95px);
  }

  .agitation {
    padding-block: 90px;
  }

  html.motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/*botones flotantes*/

/* ===== CTA flotantes Jornexa ===== */
.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 2%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 226px;
}

.floating-cta__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: 15px;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 8px 26px rgba(11, 12, 42, 0.18);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.floating-cta__button i {
  flex: 0 0 auto;
  font-size: 23px;
  line-height: 1;
}

.floating-cta__button:hover {
  transform: translateX(-5px);
  filter: brightness(1.04);
}

.floating-cta__button:focus-visible {
  outline: 3px solid var(--mint, #40e0bc);
  outline-offset: 4px;
}

/* Secundario: WhatsApp */
.floating-cta__whatsapp {
  color: #fff;
  background: #168c65;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.floating-cta__whatsapp:hover {
  box-shadow: 0 12px 30px rgba(22, 140, 101, 0.3);
}

/* Principal: Demo gratis */
.floating-cta__demo {
  min-height: 62px;
  padding: 16px 17px;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(120deg, #ff8b76, #ff7a66 65%, #ff987e);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 10px 30px rgba(255, 122, 102, 0.36),
    0 0 0 1px rgba(255, 122, 102, 0.12);
  animation: jornexa-demo-pulse 3s ease-in-out infinite;
}

.floating-cta__demo i:first-child {
  font-size: 25px;
}

.floating-cta__arrow {
  margin-left: auto;
  font-size: 18px !important;
}

.floating-cta__demo:hover {
  box-shadow: 0 14px 36px rgba(255, 122, 102, 0.48);
}

@keyframes jornexa-demo-pulse {

  0%,
  100% {
    box-shadow:
      0 10px 30px rgba(255, 122, 102, 0.3),
      0 0 0 0 rgba(255, 122, 102, 0.2);
  }

  50% {
    box-shadow:
      0 12px 34px rgba(255, 122, 102, 0.42),
      0 0 0 5px rgba(255, 122, 102, 0);
  }
}

/* Adaptación a móviles */
@media (max-width: 700px) {
  .floating-cta {
    top: auto;
    right: 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    transform: none;
    flex-direction: row;
    align-items: stretch;
    gap: 9px;
  }

  .floating-cta__button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 54px;
    justify-content: center;
    gap: 7px;
    padding: 10px 9px;
    border-radius: 13px;
    font-size: 0.72rem;
    text-align: center;
  }

  .floating-cta__button i {
    font-size: 21px;
  }

  .floating-cta__demo {
    min-height: 60px;
  }

  .floating-cta__demo i:first-child {
    font-size: 22px;
  }

  .floating-cta__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta__demo {
    animation: none;
  }

  .floating-cta__button {
    transition: none;
  }
}


/*fdg*/


html {
  min-height: 100%;
  background: var(--navy);
}

body[data-page=formulario-demo-gratis] {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(ellipse at 12% 8%,
      rgba(84, 88, 232, 0.22),
      transparent 34%),
    radial-gradient(ellipse at 88% 82%,
      rgba(64, 224, 188, 0.09),
      transparent 28%),
    var(--navy);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body[data-page=formulario-demo-gratis] a {
  color: inherit;
  text-decoration: none;
}

body[data-page=formulario-demo-gratis] button,
body[data-page=formulario-demo-gratis] input,
body[data-page=formulario-demo-gratis] select,
body[data-page=formulario-demo-gratis] textarea {
  font: inherit;
}

body[data-page=formulario-demo-gratis] :focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

body[data-page=formulario-demo-gratis] .site-header {
  width: min(calc(100% - 40px), var(--container));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

body[data-page=formulario-demo-gratis] .brand {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

body[data-page=formulario-demo-gratis] .brand img {
  display: block;
  width: 145px;
  max-height: 54px;
  object-fit: contain;
}

body[data-page=formulario-demo-gratis] .header-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d8daf0;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 16px;
  transition: 0.2s ease;
}

body[data-page=formulario-demo-gratis] .header-link:hover {
  border-color: var(--mint);
  color: var(--mint);
}

body[data-page=formulario-demo-gratis] main {
  width: min(calc(100% - 36px), var(--container));
  margin: auto;
  display: grid;
  place-items: center;
  flex: 1;
  padding: 52px 0 64px;
}

body[data-page=formulario-demo-gratis] .panel {
  width: min(100%, 760px);
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(145deg,
      rgba(26, 30, 70, 0.96),
      rgba(17, 20, 56, 0.97));
  box-shadow: var(--shadow);
}

body[data-page=formulario-demo-gratis] .panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: -190px;
  right: -110px;
  background: var(--violet);
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

body[data-page=formulario-demo-gratis] .panel>* {
  position: relative;
  z-index: 1;
}

body[data-page=formulario-demo-gratis] .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

body[data-page=formulario-demo-gratis] h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 18px 0;
}

body[data-page=formulario-demo-gratis] h1 .accent {
  color: var(--mint);
}

body[data-page=formulario-demo-gratis] p {
  color: var(--gray);
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 0.96rem;
}

body[data-page=formulario-demo-gratis] .panel-intro {
  max-width: 590px;
}

body[data-page=formulario-demo-gratis] .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body[data-page=formulario-demo-gratis] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #17152a;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 122, 102, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

body[data-page=formulario-demo-gratis] .btn:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(255, 122, 102, 0.3);
}

body[data-page=formulario-demo-gratis] .btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

body[data-page=formulario-demo-gratis] .btn.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(64, 224, 188, 0.06);
}

body[data-page=formulario-demo-gratis] .btn .ph {
  font-size: 1.2rem;
}

body[data-page=formulario-demo-gratis] .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

body[data-page=formulario-demo-gratis] .field {
  display: grid;
  gap: 8px;
}

body[data-page=formulario-demo-gratis] .field.full {
  grid-column: 1/-1;
}

body[data-page=formulario-demo-gratis] .field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8eafa;
}

body[data-page=formulario-demo-gratis] .field input,
body[data-page=formulario-demo-gratis] .field select,
body[data-page=formulario-demo-gratis] .field textarea {
  width: 100%;
  min-width: 0;
  color: #fff;
  background: #0c0e2d;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  min-height: 50px;
  padding: 12px 14px;
  outline-offset: 3px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body[data-page=formulario-demo-gratis] .field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}

body[data-page=formulario-demo-gratis] .field input::placeholder,
body[data-page=formulario-demo-gratis] .field textarea::placeholder {
  color: #858bad;
  opacity: 1;
}

body[data-page=formulario-demo-gratis] .field input:focus,
body[data-page=formulario-demo-gratis] .field select:focus,
body[data-page=formulario-demo-gratis] .field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(84, 88, 232, 0.18);
}

body[data-page=formulario-demo-gratis] .field select {
  color-scheme: dark;
}

body[data-page=formulario-demo-gratis] .form-note {
  font-size: 0.72rem;
  color: #aeb3d1;
  line-height: 1.65;
  margin: 14px 0 0;
}

body[data-page=formulario-demo-gratis] .form-submit {
  width: 100%;
  margin-top: 22px;
}

body[data-page=formulario-demo-gratis] .form-foot {
  font-size: 0.72rem;
  color: #969cbe;
  margin-top: 12px;
}

body[data-page=formulario-demo-gratis] .footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8f95b8;
  font-size: 0.72rem;
}

body[data-page=formulario-demo-gratis] .footer strong {
  color: #d7d9ef;
  font-weight: 700;
}

body[data-page=formulario-demo-gratis] .notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 122, 102, 0.24);
  background: rgba(255, 122, 102, 0.07);
  color: #f1c6c1;
  font-size: 0.78rem;
  line-height: 1.65;
}

@media (max-width: 620px) {
  body[data-page=formulario-demo-gratis] .site-header {
    width: calc(100% - 28px);
    margin-top: 14px;
  }

  body[data-page=formulario-demo-gratis] .brand img {
    width: 125px;
  }

  body[data-page=formulario-demo-gratis] .header-link {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  body[data-page=formulario-demo-gratis] main {
    width: calc(100% - 24px);
    padding: 32px 0 42px;
  }

  body[data-page=formulario-demo-gratis] .panel {
    padding: 26px 21px;
    border-radius: 23px;
  }

  body[data-page=formulario-demo-gratis] .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  body[data-page=formulario-demo-gratis] .field.full {
    grid-column: auto;
  }

  body[data-page=formulario-demo-gratis] .actions {
    flex-direction: column;
  }

  body[data-page=formulario-demo-gratis] .actions .btn {
    width: 100%;
  }

  body[data-page=formulario-demo-gratis] .footer {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body[data-page=formulario-demo-gratis] *,
  body[data-page=formulario-demo-gratis] *::before,
  body[data-page=formulario-demo-gratis] *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/*cyr*/


html {
  min-height: 100%;
  background: var(--navy);
}

body[data-page="correo-ya-registrado"] {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(ellipse at 12% 8%,
      rgba(84, 88, 232, 0.22),
      transparent 34%),
    radial-gradient(ellipse at 88% 82%,
      rgba(64, 224, 188, 0.09),
      transparent 28%),
    var(--navy);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body[data-page="correo-ya-registrado"] a {
  color: inherit;
  text-decoration: none;
}

body[data-page="correo-ya-registrado"] button,
body[data-page="correo-ya-registrado"] input,
body[data-page="correo-ya-registrado"] select,
body[data-page="correo-ya-registrado"] textarea {
  font: inherit;
}

body[data-page="correo-ya-registrado"] :focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

body[data-page="correo-ya-registrado"] .site-header {
  width: min(calc(100% - 40px), var(--container));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

body[data-page="correo-ya-registrado"] .brand {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

body[data-page="correo-ya-registrado"] .brand img {
  display: block;
  width: 145px;
  max-height: 54px;
  object-fit: contain;
}

body[data-page="correo-ya-registrado"] .header-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d8daf0;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 16px;
  transition: 0.2s ease;
}

body[data-page="correo-ya-registrado"] .header-link:hover {
  border-color: var(--mint);
  color: var(--mint);
}

body[data-page="correo-ya-registrado"] main {
  width: min(calc(100% - 36px), var(--container));
  margin: auto;
  display: grid;
  place-items: center;
  flex: 1;
  padding: 52px 0 64px;
}

body[data-page="correo-ya-registrado"] .panel {
  width: min(100%, 760px);
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(145deg,
      rgba(26, 30, 70, 0.96),
      rgba(17, 20, 56, 0.97));
  box-shadow: var(--shadow);
}

body[data-page="correo-ya-registrado"] .panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: -190px;
  right: -110px;
  background: var(--violet);
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

body[data-page="correo-ya-registrado"] .panel>* {
  position: relative;
  z-index: 1;
}

body[data-page="correo-ya-registrado"] .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

body[data-page="correo-ya-registrado"] h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 18px 0;
}

body[data-page="correo-ya-registrado"] h1 .accent {
  color: var(--mint);
}

body[data-page="correo-ya-registrado"] p {
  color: var(--gray);
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 0.96rem;
}

body[data-page="correo-ya-registrado"] .panel-intro {
  max-width: 590px;
}

body[data-page="correo-ya-registrado"] .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body[data-page="correo-ya-registrado"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #17152a;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 122, 102, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

body[data-page="correo-ya-registrado"] .btn:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(255, 122, 102, 0.3);
}

body[data-page="correo-ya-registrado"] .btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

body[data-page="correo-ya-registrado"] .btn.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(64, 224, 188, 0.06);
}

body[data-page="correo-ya-registrado"] .btn .ph {
  font-size: 1.2rem;
}

body[data-page="correo-ya-registrado"] .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

body[data-page="correo-ya-registrado"] .field {
  display: grid;
  gap: 8px;
}

body[data-page="correo-ya-registrado"] .field.full {
  grid-column: 1/-1;
}

body[data-page="correo-ya-registrado"] .field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8eafa;
}

body[data-page="correo-ya-registrado"] .field input,
body[data-page="correo-ya-registrado"] .field select,
body[data-page="correo-ya-registrado"] .field textarea {
  width: 100%;
  min-width: 0;
  color: #fff;
  background: #0c0e2d;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  min-height: 50px;
  padding: 12px 14px;
  outline-offset: 3px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body[data-page="correo-ya-registrado"] .field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}

body[data-page="correo-ya-registrado"] .field input::placeholder,
body[data-page="correo-ya-registrado"] .field textarea::placeholder {
  color: #858bad;
  opacity: 1;
}

body[data-page="correo-ya-registrado"] .field input:focus,
body[data-page="correo-ya-registrado"] .field select:focus,
body[data-page="correo-ya-registrado"] .field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(84, 88, 232, 0.18);
}

body[data-page="correo-ya-registrado"] .field select {
  color-scheme: dark;
}

body[data-page="correo-ya-registrado"] .form-note {
  font-size: 0.72rem;
  color: #aeb3d1;
  line-height: 1.65;
  margin: 14px 0 0;
}

body[data-page="correo-ya-registrado"] .form-submit {
  width: 100%;
  margin-top: 22px;
}

body[data-page="correo-ya-registrado"] .form-foot {
  font-size: 0.72rem;
  color: #969cbe;
  margin-top: 12px;
}

body[data-page="correo-ya-registrado"] .footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8f95b8;
  font-size: 0.72rem;
}

body[data-page="correo-ya-registrado"] .footer strong {
  color: #d7d9ef;
  font-weight: 700;
}

body[data-page="correo-ya-registrado"] .notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 122, 102, 0.24);
  background: rgba(255, 122, 102, 0.07);
  color: #f1c6c1;
  font-size: 0.78rem;
  line-height: 1.65;
}

@media (max-width: 620px) {
  body[data-page="correo-ya-registrado"] .site-header {
    width: calc(100% - 28px);
    margin-top: 14px;
  }

  body[data-page="correo-ya-registrado"] .brand img {
    width: 125px;
  }

  body[data-page="correo-ya-registrado"] .header-link {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  body[data-page="correo-ya-registrado"] main {
    width: calc(100% - 24px);
    padding: 32px 0 42px;
  }

  body[data-page="correo-ya-registrado"] .panel {
    padding: 26px 21px;
    border-radius: 23px;
  }

  body[data-page="correo-ya-registrado"] .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  body[data-page="correo-ya-registrado"] .field.full {
    grid-column: auto;
  }

  body[data-page="correo-ya-registrado"] .actions {
    flex-direction: column;
  }

  body[data-page="correo-ya-registrado"] .actions .btn {
    width: 100%;
  }

  body[data-page="correo-ya-registrado"] .footer {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body[data-page="correo-ya-registrado"] *,
  body[data-page="correo-ya-registrado"] *::before,
  body[data-page="correo-ya-registrado"] *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/*av leg*/
body[data-page="avisos-legales"] {
  --navy: #0b0c2a;
  --violet: #5458e8;
  --coral: #ff7a66;
  --mint: #40e0bc;
  --white: #fff;
  --muted: #c0c5df;
  --line: rgba(255, 255, 255, .12);
  --container: 1080px
}

body[data-page="avisos-legales"] *,
body[data-page="avisos-legales"] *::before,
body[data-page="avisos-legales"] *::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px
}

body[data-page="avisos-legales"] {
  margin: 0;
  background: radial-gradient(ellipse at 12% 0%, rgba(84, 88, 232, .22), transparent 38%), var(--navy);
  color: var(--white);
  font-family: Poppins, system-ui, sans-serif;
  line-height: 1.75
}

body[data-page="avisos-legales"] a {
  color: var(--mint);
  text-underline-offset: 3px
}

body[data-page="avisos-legales"] a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  border-radius: 4px
}

body[data-page="avisos-legales"] .container {
  width: min(calc(100% - 36px), var(--container));
  margin-inline: auto
}

body[data-page="avisos-legales"] .topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 12, 42, .9);
  backdrop-filter: blur(18px)
}

body[data-page="avisos-legales"] .topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px
}

body[data-page="avisos-legales"] .brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.06em;
  color: #fff;
  text-decoration: none
}

body[data-page="avisos-legales"] .brand span {
  color: var(--mint)
}

body[data-page="avisos-legales"] .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 9px 15px;
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600
}

body[data-page="avisos-legales"] .hero {
  padding: 65px 0 40px;
  background-color: transparent !important;
  
}

body[data-page="avisos-legales"] .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mint);
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em
}

body[data-page="avisos-legales"] h1 {
  margin: 12px 0 15px;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.06em;
  color: var(--white)
  
}

body[data-page="avisos-legales"] .hero p {
  max-width: 760px;
  color: var(--muted);
  margin: 0;
  line-height: 1.85
}

body[data-page="avisos-legales"] .layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 80px
}

body[data-page="avisos-legales"] .nav-card {
  position: sticky;
  top: 94px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .035)
}

body[data-page="avisos-legales"] .nav-card h2 {
  font-size: .95rem;
  margin: 0 0 14px
}

body[data-page="avisos-legales"] .nav-card nav {
  display: grid;
  gap: 7px
}

body[data-page="avisos-legales"] .nav-card nav a {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 9px 10px;
  border-radius: 10px;
  color: #d9dcf1;
  text-decoration: none;
  font-size: .78rem;
  line-height: 1.5
}

body[data-page="avisos-legales"] .nav-card nav a:hover {
  background: rgba(64, 224, 188, .08);
  color: var(--mint)
}

body[data-page="avisos-legales"] .nav-card nav i {
  margin-top: 3px;
  color: var(--mint)
}

body[data-page="avisos-legales"] .legal-content {
  min-width: 0
}

body[data-page="avisos-legales"] .legal-section {
  scroll-margin-top: 95px;
  margin-bottom: 22px;
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  overflow-wrap: anywhere
}

body[data-page="avisos-legales"] .legal-section h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: -.035em
}

body[data-page="avisos-legales"] .legal-section h5 {
  margin: 27px 0 9px;
  color: var(--mint);
  font-size: 1rem;
  line-height: 1.45
}

body[data-page="avisos-legales"] .legal-section p {
  color: #d1d5eb;
  font-size: .9rem;
  line-height: 1.9;
  margin: 0 0 15px
}

body[data-page="avisos-legales"] .legal-section ul {
  padding-left: 22px;
  margin: 8px 0 20px;
  color: #d1d5eb
}

body[data-page="avisos-legales"] .legal-section li {
  padding-left: 4px;
  margin: 7px 0;
  font-size: .88rem;
  line-height: 1.8
}

body[data-page="avisos-legales"] .legal-section strong {
  color: #fff
}

body[data-page="avisos-legales"] .legal-section hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0
}

body[data-page="avisos-legales"] .footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  color: #aeb4d3;
  font-size: .76rem
}

body[data-page="avisos-legales"] .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap
}

@media(max-width:800px) {
  body[data-page="avisos-legales"] .layout {
    grid-template-columns: 1fr;
    gap: 20px
  }

  body[data-page="avisos-legales"] .nav-card {
    position: relative;
    top: auto
  }

  body[data-page="avisos-legales"] .nav-card nav {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  body[data-page="avisos-legales"] .hero {
    padding-top: 45px
  }
}

@media(max-width:520px) {
  body[data-page="avisos-legales"] .topbar-inner {
    min-height: 64px
  }

  body[data-page="avisos-legales"] .brand {
    font-size: 1.2rem
  }

  body[data-page="avisos-legales"] .back-link {
    font-size: .72rem;
    padding: 8px 11px
  }

  body[data-page="avisos-legales"] .nav-card nav {
    grid-template-columns: 1fr
  }

  body[data-page="avisos-legales"] .legal-section {
    padding: 22px 18px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}


/*av priv ap*/


html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body[data-page="aviso-privacidad-app"] {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.75;
}

body[data-page="aviso-privacidad-app"] a {
  color: var(--mint);
  text-decoration: none;
}

body[data-page="aviso-privacidad-app"] a:hover {
  text-decoration: underline;
}

body[data-page="aviso-privacidad-app"] .container {
  width: min(100% - 36px, 1000px);
  margin: auto;
}

body[data-page="aviso-privacidad-app"] header {
  border-bottom: 1px solid var(--stroke);
  background: rgba(11, 12, 42, 0.92);
  backdrop-filter: blur(14px);
}

body[data-page="aviso-privacidad-app"] .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

body[data-page="aviso-privacidad-app"] .brand {
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 1.6rem;
  color: #fff;
}

body[data-page="aviso-privacidad-app"] .brand span {
  color: var(--mint);
}

body[data-page="aviso-privacidad-app"] .header-link {
  font-size: 0.9rem;
  color: #fff;
  border: 1px solid var(--stroke);
  padding: 9px 14px;
  border-radius: 999px;
}

body[data-page="aviso-privacidad-app"] .hero {
  padding: 60px 0 38px;
  background:
    radial-gradient(ellipse at 10% 0%,
      rgba(84, 88, 232, 0.25),
      transparent 50%),
    radial-gradient(ellipse at 95% 20%,
      rgba(64, 224, 188, 0.12),
      transparent 35%);
}

body[data-page="aviso-privacidad-app"] .eyebrow {
  color: var(--mint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}

body[data-page="aviso-privacidad-app"] h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin: 12px 0 18px;
  color: var(--white);
}

body[data-page="aviso-privacidad-app"] h1 span {
  color: var(--mint);
}

body[data-page="aviso-privacidad-app"] .lead {
  max-width: 760px;
  color: #d6d9eb;
  font-size: 1.03rem;
}

body[data-page="aviso-privacidad-app"] .notice {
  margin: 24px 0 0;
  padding: 15px 18px;
  border: 1px solid rgba(255, 122, 102, 0.4);
  background: rgba(255, 122, 102, 0.08);
  border-radius: 14px;
  color: #ffe2dc;
  font-size: 0.9rem;
}

body[data-page="aviso-privacidad-app"] main {
  padding: 20px 0 70px;
}

body[data-page="aviso-privacidad-app"] .content {
  max-width: 850px;
  margin: auto;
  background: linear-gradient(160deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.018));
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: clamp(22px, 5vw, 48px);
}

body[data-page="aviso-privacidad-app"] h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 34px 0 10px;
  color: #fff;
  letter-spacing: -0.025em;
}

body[data-page="aviso-privacidad-app"] h2:first-child {
  margin-top: 0;
}

body[data-page="aviso-privacidad-app"] h3 {
  font-size: 1.05rem;
  margin: 22px 0 6px;
  color: #e6e8f7;
}

body[data-page="aviso-privacidad-app"] p,
body[data-page="aviso-privacidad-app"] li {
  color: #c7cbe0;
}

body[data-page="aviso-privacidad-app"] ul,
body[data-page="aviso-privacidad-app"] ol {
  padding-left: 1.3rem;
}

body[data-page="aviso-privacidad-app"] li {
  margin: 7px 0;
}

body[data-page="aviso-privacidad-app"] strong {
  color: #fff;
}

body[data-page="aviso-privacidad-app"] .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

body[data-page="aviso-privacidad-app"] .pill {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 11px;
  color: #d6d9eb;
  font-size: 0.8rem;
}

body[data-page="aviso-privacidad-app"] footer {
  border-top: 1px solid var(--stroke);
  padding: 26px 0 34px;
  color: #aeb3cf;
  font-size: 0.85rem;
}

body[data-page="aviso-privacidad-app"] .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  body[data-page="aviso-privacidad-app"] .header-inner {
    min-height: 70px;
  }

  body[data-page="aviso-privacidad-app"] .brand {
    font-size: 1.3rem;
  }

  body[data-page="aviso-privacidad-app"] .header-link {
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  body[data-page="aviso-privacidad-app"] .hero {
    padding: 42px 0 28px;
  }

  body[data-page="aviso-privacidad-app"] .content {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/*mens env*/

html {
  min-height: 100%;
  background: var(--navy);
}

body[data-page="mensaje-enviado"] {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(ellipse at 12% 8%,
      rgba(84, 88, 232, 0.22),
      transparent 34%),
    radial-gradient(ellipse at 88% 82%,
      rgba(64, 224, 188, 0.09),
      transparent 28%),
    var(--navy);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body[data-page="mensaje-enviado"] a {
  color: inherit;
  text-decoration: none;
}

body[data-page="mensaje-enviado"] button,
body[data-page="mensaje-enviado"] input,
body[data-page="mensaje-enviado"] select,
body[data-page="mensaje-enviado"] textarea {
  font: inherit;
}

body[data-page="mensaje-enviado"] :focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

body[data-page="mensaje-enviado"] .site-header {
  width: min(calc(100% - 40px), var(--container));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

body[data-page="mensaje-enviado"] .brand {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

body[data-page="mensaje-enviado"] .brand img {
  display: block;
  width: 145px;
  max-height: 54px;
  object-fit: contain;
}

body[data-page="mensaje-enviado"] .header-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d8daf0;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 16px;
  transition: 0.2s ease;
}

body[data-page="mensaje-enviado"] .header-link:hover {
  border-color: var(--mint);
  color: var(--mint);
}

body[data-page="mensaje-enviado"] main {
  width: min(calc(100% - 36px), var(--container));
  margin: auto;
  display: grid;
  place-items: center;
  flex: 1;
  padding: 52px 0 64px;
}

body[data-page="mensaje-enviado"] .panel {
  width: min(100%, 760px);
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(145deg,
      rgba(26, 30, 70, 0.96),
      rgba(17, 20, 56, 0.97));
  box-shadow: var(--shadow);
}

body[data-page="mensaje-enviado"] .panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: -190px;
  right: -110px;
  background: var(--violet);
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

body[data-page="mensaje-enviado"] .panel>* {
  position: relative;
  z-index: 1;
}

body[data-page="mensaje-enviado"] .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

body[data-page="mensaje-enviado"] h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 18px 0;
}

body[data-page="mensaje-enviado"] h1 .accent {
  color: var(--mint);
}

body[data-page="mensaje-enviado"] p {
  color: var(--gray);
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 0.96rem;
}

body[data-page="mensaje-enviado"] .panel-intro {
  max-width: 590px;
}

body[data-page="mensaje-enviado"] .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body[data-page="mensaje-enviado"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #17152a;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 122, 102, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

body[data-page="mensaje-enviado"] .btn:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(255, 122, 102, 0.3);
}

body[data-page="mensaje-enviado"] .btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

body[data-page="mensaje-enviado"] .btn.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(64, 224, 188, 0.06);
}

body[data-page="mensaje-enviado"] .btn .ph {
  font-size: 1.2rem;
}

body[data-page="mensaje-enviado"] .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

body[data-page="mensaje-enviado"] .field {
  display: grid;
  gap: 8px;
}

body[data-page="mensaje-enviado"] .field.full {
  grid-column: 1/-1;
}

body[data-page="mensaje-enviado"] .field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8eafa;
}

body[data-page="mensaje-enviado"] .field input,
body[data-page="mensaje-enviado"] .field select,
body[data-page="mensaje-enviado"] .field textarea {
  width: 100%;
  min-width: 0;
  color: #fff;
  background: #0c0e2d;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  min-height: 50px;
  padding: 12px 14px;
  outline-offset: 3px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body[data-page="mensaje-enviado"] .field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}

body[data-page="mensaje-enviado"] .field input::placeholder,
body[data-page="mensaje-enviado"] .field textarea::placeholder {
  color: #858bad;
  opacity: 1;
}

body[data-page="mensaje-enviado"] .field input:focus,
body[data-page="mensaje-enviado"] .field select:focus,
body[data-page="mensaje-enviado"] .field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(84, 88, 232, 0.18);
}

body[data-page="mensaje-enviado"] .field select {
  color-scheme: dark;
}

body[data-page="mensaje-enviado"] .form-note {
  font-size: 0.72rem;
  color: #aeb3d1;
  line-height: 1.65;
  margin: 14px 0 0;
}

body[data-page="mensaje-enviado"] .form-submit {
  width: 100%;
  margin-top: 22px;
}

body[data-page="mensaje-enviado"] .form-foot {
  font-size: 0.72rem;
  color: #969cbe;
  margin-top: 12px;
}

body[data-page="mensaje-enviado"] .footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8f95b8;
  font-size: 0.72rem;
}

body[data-page="mensaje-enviado"] .footer strong {
  color: #d7d9ef;
  font-weight: 700;
}

body[data-page="mensaje-enviado"] .notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 122, 102, 0.24);
  background: rgba(255, 122, 102, 0.07);
  color: #f1c6c1;
  font-size: 0.78rem;
  line-height: 1.65;
}

@media (max-width: 620px) {
  body[data-page="mensaje-enviado"] .site-header {
    width: calc(100% - 28px);
    margin-top: 14px;
  }

  body[data-page="mensaje-enviado"] .brand img {
    width: 125px;
  }

  body[data-page="mensaje-enviado"] .header-link {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  body[data-page="mensaje-enviado"] main {
    width: calc(100% - 24px);
    padding: 32px 0 42px;
  }

  body[data-page="mensaje-enviado"] .panel {
    padding: 26px 21px;
    border-radius: 23px;
  }

  body[data-page="mensaje-enviado"] .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  body[data-page="mensaje-enviado"] .field.full {
    grid-column: auto;
  }

  body[data-page="mensaje-enviado"] .actions {
    flex-direction: column;
  }

  body[data-page="mensaje-enviado"] .actions .btn {
    width: 100%;
  }

  body[data-page="mensaje-enviado"] .footer {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body[data-page="mensaje-enviado"] *,
  body[data-page="mensaje-enviado"] *::before,
  body[data-page="mensaje-enviado"] *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}


/*reg exts*/


html {
  min-height: 100%;
  background: var(--navy);
}

body[data-page="registro-exitoso"] {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(ellipse at 12% 8%,
      rgba(84, 88, 232, 0.22),
      transparent 34%),
    radial-gradient(ellipse at 88% 82%,
      rgba(64, 224, 188, 0.09),
      transparent 28%),
    var(--navy);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body[data-page="registro-exitoso"] a {
  color: inherit;
  text-decoration: none;
}

body[data-page="registro-exitoso"] button,
body[data-page="registro-exitoso"] input,
body[data-page="registro-exitoso"] select,
body[data-page="registro-exitoso"] textarea {
  font: inherit;
}

body[data-page="registro-exitoso"] :focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

body[data-page="registro-exitoso"] .site-header {
  width: min(calc(100% - 40px), var(--container));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

body[data-page="registro-exitoso"] .brand {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

body[data-page="registro-exitoso"] .brand img {
  display: block;
  width: 145px;
  max-height: 54px;
  object-fit: contain;
}

body[data-page="registro-exitoso"] .header-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d8daf0;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 16px;
  transition: 0.2s ease;
}

body[data-page="registro-exitoso"] .header-link:hover {
  border-color: var(--mint);
  color: var(--mint);
}

body[data-page="registro-exitoso"] main {
  width: min(calc(100% - 36px), var(--container));
  margin: auto;
  display: grid;
  place-items: center;
  flex: 1;
  padding: 52px 0 64px;
}

body[data-page="registro-exitoso"] .panel {
  width: min(100%, 760px);
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(145deg,
      rgba(26, 30, 70, 0.96),
      rgba(17, 20, 56, 0.97));
  box-shadow: var(--shadow);
}

body[data-page="registro-exitoso"] .panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: -190px;
  right: -110px;
  background: var(--violet);
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

body[data-page="registro-exitoso"] .panel>* {
  position: relative;
  z-index: 1;
}

body[data-page="registro-exitoso"] .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

body[data-page="registro-exitoso"] h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 18px 0;
}

body[data-page="registro-exitoso"] h1 .accent {
  color: var(--mint);
}

body[data-page="registro-exitoso"] p {
  color: var(--gray);
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 0.96rem;
}

body[data-page="registro-exitoso"] .panel-intro {
  max-width: 590px;
}

 .status-icon {
  /*width: 76px;*/
  /*height: 76px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  margin-bottom: 24px;
  /*background: rgba(64, 224, 188, 0.12);*/
  /*border: 1px solid rgba(64, 224, 188, 0.25);*/
  color: var(--mint);
  font-size: 2.8rem;
}

 .status-icon.coral {
  color: var(--coral);
  background: rgba(255, 122, 102, 0.12);
  border-color: rgba(255, 122, 102, 0.28);
}

.status-icon.violet {
  color: #aaaaff;
  background: rgba(84, 88, 232, 0.18);
  border-color: rgba(140, 142, 255, 0.3);
}

body[data-page="registro-exitoso"] .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body[data-page="registro-exitoso"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #17152a;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 122, 102, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

body[data-page="registro-exitoso"] .btn:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(255, 122, 102, 0.3);
}

body[data-page="registro-exitoso"] .btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

body[data-page="registro-exitoso"] .btn.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(64, 224, 188, 0.06);
}

body[data-page="registro-exitoso"] .btn .ph {
  font-size: 1.2rem;
}

body[data-page="registro-exitoso"] .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

body[data-page="registro-exitoso"] .field {
  display: grid;
  gap: 8px;
}

body[data-page="registro-exitoso"] .field.full {
  grid-column: 1/-1;
}

body[data-page="registro-exitoso"] .field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8eafa;
}

body[data-page="registro-exitoso"] .field input,
body[data-page="registro-exitoso"] .field select,
body[data-page="registro-exitoso"] .field textarea {
  width: 100%;
  min-width: 0;
  color: #fff;
  background: #0c0e2d;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  min-height: 50px;
  padding: 12px 14px;
  outline-offset: 3px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body[data-page="registro-exitoso"] .field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}

body[data-page="registro-exitoso"] .field input::placeholder,
body[data-page="registro-exitoso"] .field textarea::placeholder {
  color: #858bad;
  opacity: 1;
}

body[data-page="registro-exitoso"] .field input:focus,
body[data-page="registro-exitoso"] .field select:focus,
body[data-page="registro-exitoso"] .field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(84, 88, 232, 0.18);
}

body[data-page="registro-exitoso"] .field select {
  color-scheme: dark;
}

body[data-page="registro-exitoso"] .form-note {
  font-size: 0.72rem;
  color: #aeb3d1;
  line-height: 1.65;
  margin: 14px 0 0;
}

body[data-page="registro-exitoso"] .form-submit {
  width: 100%;
  margin-top: 22px;
}

body[data-page="registro-exitoso"] .form-foot {
  font-size: 0.72rem;
  color: #969cbe;
  margin-top: 12px;
}

body[data-page="registro-exitoso"] .footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8f95b8;
  font-size: 0.72rem;
}

body[data-page="registro-exitoso"] .footer strong {
  color: #d7d9ef;
  font-weight: 700;
}

body[data-page="registro-exitoso"] .notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 122, 102, 0.24);
  background: rgba(255, 122, 102, 0.07);
  color: #f1c6c1;
  font-size: 0.78rem;
  line-height: 1.65;
}

@media (max-width: 620px) {
  body[data-page="registro-exitoso"] .site-header {
    width: calc(100% - 28px);
    margin-top: 14px;
  }

  body[data-page="registro-exitoso"] .brand img {
    width: 125px;
  }

  body[data-page="registro-exitoso"] .header-link {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  body[data-page="registro-exitoso"] main {
    width: calc(100% - 24px);
    padding: 32px 0 42px;
  }

  body[data-page="registro-exitoso"] .panel {
    padding: 26px 21px;
    border-radius: 23px;
  }

  body[data-page="registro-exitoso"] .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  body[data-page="registro-exitoso"] .field.full {
    grid-column: auto;
  }

  body[data-page="registro-exitoso"] .actions {
    flex-direction: column;
  }

  body[data-page="registro-exitoso"] .actions .btn {
    width: 100%;
  }

  body[data-page="registro-exitoso"] .footer {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body[data-page="registro-exitoso"] *,
  body[data-page="registro-exitoso"] *::before,
  body[data-page="registro-exitoso"] *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/*registro-fallido: estilos aislados para esta página*/

html:has(body[data-page="registro-fallido"]) {
  min-height: 100%;
  background: var(--navy);
}

body[data-page="registro-fallido"] {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, system-ui, sans-serif;
  color: var(--white);
  background:
    radial-gradient(ellipse at 12% 8%,
      rgba(84, 88, 232, 0.22),
      transparent 34%),
    radial-gradient(ellipse at 88% 82%,
      rgba(64, 224, 188, 0.09),
      transparent 28%),
    var(--navy);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body[data-page="registro-fallido"] a {
  color: inherit;
  text-decoration: none;
}

body[data-page="registro-fallido"] button,
body[data-page="registro-fallido"] input,
body[data-page="registro-fallido"] select,
body[data-page="registro-fallido"] textarea {
  font: inherit;
}

body[data-page="registro-fallido"] :focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

body[data-page="registro-fallido"] .site-header {
  width: min(calc(100% - 40px), var(--container));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

body[data-page="registro-fallido"] .brand {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

body[data-page="registro-fallido"] .brand img {
  display: block;
  width: 145px;
  max-height: 54px;
  object-fit: contain;
}

body[data-page="registro-fallido"] .header-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d8daf0;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 16px;
  transition: 0.2s ease;
}

body[data-page="registro-fallido"] .header-link:hover {
  border-color: var(--mint);
  color: var(--mint);
}

body[data-page="registro-fallido"] main {
  width: min(calc(100% - 36px), var(--container));
  margin: auto;
  display: grid;
  place-items: center;
  flex: 1;
  padding: 52px 0 64px;
}

body[data-page="registro-fallido"] .panel {
  width: min(100%, 760px);
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(145deg,
      rgba(26, 30, 70, 0.96),
      rgba(17, 20, 56, 0.97));
  box-shadow: var(--shadow);
}

body[data-page="registro-fallido"] .panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  top: -190px;
  right: -110px;
  background: var(--violet);
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}

body[data-page="registro-fallido"] .panel>* {
  position: relative;
  z-index: 1;
}

body[data-page="registro-fallido"] .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

body[data-page="registro-fallido"] h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 18px 0;
}

body[data-page="registro-fallido"] h1 .accent {
  color: var(--mint);
}

body[data-page="registro-fallido"] p {
  color: var(--gray);
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 0.96rem;
}

body[data-page="registro-fallido"] .panel-intro {
  max-width: 590px;
}


body[data-page="registro-fallido"] .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body[data-page="registro-fallido"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #17152a;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 122, 102, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

body[data-page="registro-fallido"] .btn:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(255, 122, 102, 0.3);
}

body[data-page="registro-fallido"] .btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

body[data-page="registro-fallido"] .btn.secondary:hover {
  border-color: var(--mint);
  color: var(--mint);
  background: rgba(64, 224, 188, 0.06);
}

body[data-page="registro-fallido"] .btn .ph {
  font-size: 1.2rem;
}

body[data-page="registro-fallido"] .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

body[data-page="registro-fallido"] .field {
  display: grid;
  gap: 8px;
}

body[data-page="registro-fallido"] .field.full {
  grid-column: 1/-1;
}

body[data-page="registro-fallido"] .field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8eafa;
}

body[data-page="registro-fallido"] .field input,
body[data-page="registro-fallido"] .field select,
body[data-page="registro-fallido"] .field textarea {
  width: 100%;
  min-width: 0;
  color: #fff;
  background: #0c0e2d;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  min-height: 50px;
  padding: 12px 14px;
  outline-offset: 3px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

body[data-page="registro-fallido"] .field textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.6;
}

body[data-page="registro-fallido"] .field input::placeholder,
body[data-page="registro-fallido"] .field textarea::placeholder {
  color: #858bad;
  opacity: 1;
}

body[data-page="registro-fallido"] .field input:focus,
body[data-page="registro-fallido"] .field select:focus,
body[data-page="registro-fallido"] .field textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(84, 88, 232, 0.18);
}

body[data-page="registro-fallido"] .field select {
  color-scheme: dark;
}

body[data-page="registro-fallido"] .form-note {
  font-size: 0.72rem;
  color: #aeb3d1;
  line-height: 1.65;
  margin: 14px 0 0;
}

body[data-page="registro-fallido"] .form-submit {
  width: 100%;
  margin-top: 22px;
}

body[data-page="registro-fallido"] .form-foot {
  font-size: 0.72rem;
  color: #969cbe;
  margin-top: 12px;
}

body[data-page="registro-fallido"] .footer {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8f95b8;
  font-size: 0.72rem;
}

body[data-page="registro-fallido"] .footer strong {
  color: #d7d9ef;
  font-weight: 700;
}

body[data-page="registro-fallido"] .notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 122, 102, 0.24);
  background: rgba(255, 122, 102, 0.07);
  color: #f1c6c1;
  font-size: 0.78rem;
  line-height: 1.65;
}

@media (max-width: 620px) {
  body[data-page="registro-fallido"] .site-header {
    width: calc(100% - 28px);
    margin-top: 14px;
  }

  body[data-page="registro-fallido"] .brand img {
    width: 125px;
  }

  body[data-page="registro-fallido"] .header-link {
    font-size: 0.72rem;
    padding: 9px 12px;
  }

  body[data-page="registro-fallido"] main {
    width: calc(100% - 24px);
    padding: 32px 0 42px;
  }

  body[data-page="registro-fallido"] .panel {
    padding: 26px 21px;
    border-radius: 23px;
  }

  body[data-page="registro-fallido"] .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  body[data-page="registro-fallido"] .field.full {
    grid-column: auto;
  }

  body[data-page="registro-fallido"] .actions {
    flex-direction: column;
  }

  body[data-page="registro-fallido"] .actions .btn {
    width: 100%;
  }

  body[data-page="registro-fallido"] .footer {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {

  body[data-page="registro-fallido"] *,
  body[data-page="registro-fallido"] *::before,
  body[data-page="registro-fallido"] *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}