/* Rediseño de la landing (vista previa).
   Se carga después de assets/css/styles.css y solo cambia la distribución:
   mismos textos, misma paleta de la Guía de Estilo (azul, verde, amarillo, tinta, papel). */

.rd {
  --ink-soft: #9AA2AD;
  --ink-mid: #6B7480;           /* gris medio para las palabras de apoyo en los títulos */          /* tinte de la tinta #212932, para la segunda parte de los títulos */
  --radius-xl: 28px;
  --shadow-card: 0 30px 60px -36px rgba(33, 41, 50, 0.45);
  background: var(--paper);
}

.rd .wrap { max-width: 1180px; }

.rd h2 { letter-spacing: -0.03em; }

/* Énfasis en títulos: lo más fuerte de la frase va en tinta (--ink) y el resto en un gris medio.
   .rd-strong = palabras clave; .rd-soft = palabras de apoyo. */
.rd-soft { color: var(--ink-mid); }
.rd-strong { color: var(--ink); }
.rd-blue { color: var(--blue); }
.rd-eyebrow .rd-arrow { width: 20px; height: 20px; }
.rd-yellow { color: var(--yellow); }

/* Flecha pequeña de acento (como en la plantilla) */
.rd-arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 7c0 6 4 10 12 10m0 0-4-4m4 4-4 4' fill='none' stroke='%23F4E04D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rd .btn .rd-arrow {
  margin-left: 8px;
  vertical-align: -2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 7c0 6 4 10 12 10m0 0-4-4m4 4-4 4' fill='none' stroke='%23212932' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.rd .btn { border-radius: 999px; padding: 15px 26px; }

.rd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 18px;
}

/* ---------- Barra con el logo ---------- */
.rd-nav { padding: 14px 0 0; }

.rd-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 18px;
  box-shadow: 0 10px 30px -24px rgba(33, 41, 50, 0.5);
}

.rd-nav .brand img { height: 36px; }

/* ---------- Hero ---------- */
.rd-hero { padding: 48px 0 40px; }

.rd-hero__head { text-align: center; max-width: 900px; margin: 0 auto 40px; }

.rd-hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 0 22px;
}

.rd-hero__icon {
  display: inline-grid;
  place-items: center;
  width: 0.95em;
  height: 0.82em;
  margin: 0 0.12em;
  vertical-align: -0.06em;
  background: var(--yellow);
  border-radius: 0.2em;
  color: var(--ink);
  transform: rotate(-4deg);
}

.rd-hero__icon svg { width: 58%; height: 58%; }

.rd-hero__sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40em;
  margin: 0 auto;
}

.rd-hero__cards {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .rd-hero__cards { grid-template-columns: 1fr 1fr; }
}

/* Tarjeta oscura con el formulario */
.rd .rd-formcard {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  background-image: radial-gradient(60% 100% at 100% 100%, rgba(0, 85, 255, 0.35), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) { .rd .rd-formcard { padding: 30px 40px; } }

.rd .rd-formcard .form-card__title {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.rd .rd-formcard .form-note { color: #B8C0CB; }

/* Formulario de ActiveCampaign sobre fondo oscuro */
.rd .form-card ._form_158 input[type="text"],
.rd .form-card ._form_158 input[type="email"] {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: var(--white) !important;
  padding: 14px 16px !important;
}

.rd .form-card ._form_158 input::placeholder { color: #B8C0CB !important; }

.rd .form-card ._form_158 input[type="text"]:focus,
.rd .form-card ._form_158 input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--green) !important;
}

.rd .form-card ._form_158 ._form-label,
.rd .form-card ._form_158 ._checkbox-radio,
.rd .form-card ._form_158 ._checkbox-radio * { color: #C9CFD8 !important; }

.rd .form-card ._form_158 ._checkbox-radio a,
.rd .form-card ._form_158 ._checkbox-radio a * { color: var(--green) !important; }

.rd .form-card ._form_158 button#_form_158_submit._submit {
  border-radius: 999px !important;
  padding: 17px 22px !important;
}

.rd .form-card ._form_158 button#_form_158_submit._submit:hover {
  box-shadow: 0 0 0 3px var(--white) inset !important;
}

/* Pestañas flotantes */
.rd-showcase {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(0, 85, 255, 0.07), transparent 65%),
    radial-gradient(80% 60% at 0% 100%, rgba(244, 224, 77, 0.10), transparent 65%),
    #FBFCFE;
  overflow: hidden;
}

.rd-window {
  position: absolute;
  width: min(72%, 360px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 50px -30px rgba(33, 41, 50, 0.35);
  overflow: hidden;
}

.rd-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.rd-window__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.rd-window__bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rd-window__body { padding: 12px 16px 14px; }

.rd-window__title {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 8px 0 10px;
}

.rd-window__title--sm { font-size: 1.1rem; }

.rd-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

.rd-chip--blue { background: var(--blue-soft); color: #0039AD; }
.rd-chip--green { background: var(--green-light); color: #1E7A55; }
.rd-chip--yellow { background: #FDF8D6; color: #7A6A00; }

.rd-skel { display: block; height: 9px; width: 82%; border-radius: 99px; background: var(--paper); }
.rd-skel--short { width: 55%; margin-top: 12px; }

.rd-prompt {
  margin-top: 10px;
  background: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
}

.rd-prompt__label { font-size: 0.8rem; font-weight: 700; color: var(--green); }
.rd-prompt p { margin: 4px 0 0; font-size: 0.8rem; line-height: 1.4; color: #C9CFD8; }

.rd-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.rd-pills span {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
}

.rd-window--1 { top: 18px; left: 3%; width: 58%; transform: rotate(-3deg); z-index: 1; }
.rd-window--2 { top: 46px; right: 3%; width: 42%; transform: rotate(2.5deg); z-index: 2; }
.rd-window--3 { top: 276px; left: 24%; width: 58%; transform: rotate(-1.5deg); z-index: 3; }

@media (prefers-reduced-motion: no-preference) {
  .rd-window--1 { animation: rd-float-a 3.6s ease-in-out infinite; }
  .rd-window--2 { animation: rd-float-b 4.2s ease-in-out infinite; }
  .rd-window--3 { animation: rd-float-c 3.9s ease-in-out infinite; }
}

@keyframes rd-float-a { 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes rd-float-b { 50% { transform: rotate(2.5deg) translateY(9px); } }
@keyframes rd-float-c { 50% { transform: rotate(-1.5deg) translateY(-8px); } }

/* ---------- Secciones ---------- */
.rd-section { padding: 36px 0; }

@media (min-width: 900px) { .rd-section { padding: 48px 0; } }

.rd-section--white { background: var(--white); padding: 64px 0; margin: 24px 0; }

@media (min-width: 900px) { .rd-section--white { padding: 88px 0; } }

.rd-head { margin-bottom: 32px; }
.rd-head--center { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.rd-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }

/* Temporada: tarjeta azul redondeada */
.rd-season {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  background-image: radial-gradient(70% 90% at 100% 0%, rgba(111, 235, 184, 0.25), transparent 60%);
}

@media (min-width: 900px) { .rd-season { padding: 64px 60px; } }

.rd-season h2 { max-width: 18em; }

/* Por qué una web */
.rd-scene .chat__screen { background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.rd-scene .chat--win .chat__screen { border: 2px solid var(--green); box-shadow: 0 30px 50px -36px rgba(0, 85, 255, 0.5); }
.rd-scene .bubble--in { background: var(--paper); }

.rd-cards3 { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .rd-cards3 { grid-template-columns: repeat(3, 1fr); } }

.rd-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}

.rd-card p { color: var(--muted); margin: 0; }
.rd-card h3 { margin: 18px 0 8px; }

.rd-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue-light);
  color: var(--blue);
}

.rd-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rd-close { text-align: center; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 900; letter-spacing: -0.02em; max-width: 30em; margin: 0 auto; }

/* Lo que recibes */
.rd-plan { border: 1px solid var(--line); border-top: 6px solid var(--blue); border-radius: 22px; box-shadow: var(--shadow-card); }

/* Cómo funciona */
.rd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .rd-steps { grid-template-columns: repeat(3, 1fr); } }

.rd-step__n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.rd-steps .rd-card:last-child .rd-step__n { background: var(--yellow); color: var(--ink); }
.rd-steps .rd-card p { color: var(--ink); font-size: 1.05rem; }

/* Creador con IA: tarjeta oscura */
.rd-dark {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  background-image: radial-gradient(60% 100% at 100% 100%, rgba(0, 85, 255, 0.35), transparent 70%);
}

@media (min-width: 900px) { .rd-dark { padding: 64px 60px; } }

.rd-dark p { font-size: 1.15rem; color: #C9CFD8; max-width: 40em; margin: 0; }

/* Quién te acompaña */
.rd-duo { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .rd-duo--about { grid-template-columns: 1.1fr 0.9fr; } }
@media (min-width: 900px) { .rd-duo { grid-template-columns: 1fr 1fr; } }

.rd-about {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) { .rd-about { padding: 40px 44px; } }

.rd-about h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 18px; }
.rd-about p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); margin: 0; }

.rd-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--line);
}

.rd-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 33% 50%;   /* foto horizontal de Luis con la laptop: centrada en él y en la pantalla */
}

.rd-stat {
  position: absolute;
  right: 4%;
  top: 4%;              /* arriba a la derecha, sobre la pared oscura: lejos de la cara de Luis */
  width: 36%;           /* proporcional a la foto, para que no invada la cara en ningún ancho */
  background: var(--white);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
}
.rd-stat__big { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin: 0 0 5px; color: var(--blue); }
.rd-stat__small { font-size: clamp(0.78rem, 1vw, 0.9rem); line-height: 1.3; color: var(--muted); margin: 0; }

/* Celular y tableta: la etiqueta va debajo de la foto, no encima */
@media (max-width: 899px) {
  .rd-photo { aspect-ratio: auto; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
  .rd-photo img { position: static; width: 100%; height: auto; aspect-ratio: 1 / 1; object-position: 33% 50%; }
  .rd-stat { position: static; width: auto; border-radius: 0; box-shadow: none; display: flex; align-items: baseline; gap: 10px; padding: 14px 20px; }
  .rd-stat__big { margin: 0; font-size: 1.6rem; }
  .rd-stat__small { font-size: 0.95rem; }
}


/* Preguntas frecuentes */
.rd-faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }

.rd .rd-faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
}

.rd .rd-faq details[open] { background: var(--white); box-shadow: var(--shadow-card); }

/* Cierre */
.rd-closing {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-xl);
  padding: 56px 24px;
  background-image:
    radial-gradient(50% 80% at 50% 0%, rgba(0, 85, 255, 0.45), transparent 70%),
    radial-gradient(40% 60% at 50% 120%, rgba(111, 235, 184, 0.25), transparent 70%);
}

@media (min-width: 900px) { .rd-closing { padding: 88px 40px; } }

.rd-closing h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.rd-closing p { color: #C9CFD8; font-size: 1.15rem; max-width: 34em; margin: 0 auto 28px; }

/* ---------- Celular: el botón del formulario en la primera pantalla ---------- */
@media (max-width: 899px) {
  .rd-nav { padding-top: 10px; }
  .rd-nav .brand img { height: 30px; }
  .rd-hero { padding-top: 20px; }
  .rd-hero__head { text-align: left; margin-bottom: 0; display: contents; }
  .rd-hero .wrap { display: flex; flex-direction: column; gap: 16px; }
  .rd-eyebrow { order: 1; margin: 0; font-size: 1rem; }
  .rd-hero h1 { order: 2; font-size: clamp(1.8rem, 8vw, 2.4rem); margin: 0; }
  .rd-hero__icon { display: none; }
  .rd-hero__cards { display: contents; }
  .rd .rd-hero .rd-formcard { order: 3; }
  .rd-hero__sub { order: 4; font-size: 1rem; margin: 0; }
  .rd-showcase { order: 5; }
  .rd .rd-formcard { padding: 22px; }
  .rd .rd-formcard .form-card__title { font-size: 1.4rem; margin-bottom: 14px; }
  .rd-showcase { min-height: 540px; }
  .rd-window--1 { top: 16px; left: 4%; width: 82%; z-index: 3; }
  .rd-window--2 { top: 292px; right: 4%; width: 74%; z-index: 1; }
  .rd-window--3 { top: 396px; left: 6%; width: 80%; z-index: 2; }
}

/* ---------- Carrusel de testimonios ---------- */
.rd-carousel {
  position: relative;
  margin-top: 28px;
  padding: 36px 0 56px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(0, 85, 255, 0.10), transparent 65%),
    radial-gradient(60% 80% at 100% 100%, rgba(244, 224, 77, 0.16), transparent 65%),
    var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.rd-carousel__track { position: relative; height: clamp(220px, 40vw, 400px); }

.rd-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(68%, 680px);
  height: 100%;
  border-radius: 22px;
  background: var(--ink) center / cover no-repeat;
  border: 6px solid var(--white);
  box-shadow: 0 30px 50px -30px rgba(33, 41, 50, 0.5);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.5s, filter 0.5s;
  transform: translateX(-50%);
}

.rd-slide[data-pos="0"] { z-index: 3; }
.rd-slide[data-pos="-1"] { transform: translateX(-118%) scale(0.72); opacity: 0.85; z-index: 2; filter: saturate(0.7); }
.rd-slide[data-pos="1"] { transform: translateX(18%) scale(0.72); opacity: 0.85; z-index: 2; filter: saturate(0.7); }
.rd-slide[data-pos="-2"] { transform: translateX(-150%) scale(0.5); opacity: 0; z-index: 1; }
.rd-slide[data-pos="2"] { transform: translateX(50%) scale(0.5); opacity: 0; z-index: 1; }

.rd-slide__play {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: linear-gradient(180deg, transparent 62%, rgba(33, 41, 50, 0.45));
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 18px 18px;
}

.rd-slide__play::before {
  content: "";
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23212932'/%3E%3C/svg%3E") 56% 50% / 28px no-repeat;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}

.rd-slide[data-pos="0"] .rd-slide__play:hover::before { transform: scale(1.08); }
.rd-slide:not([data-pos="0"]) .rd-slide__play::before { opacity: 0; }

.rd-slide__ph { position: absolute; left: 0; right: 0; bottom: 18px; color: #C9CFD8; font-size: 0.95rem; text-align: center; }
.rd-slide.has-thumb .rd-slide__ph { display: none; }

.rd-slide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.rd-slide.is-playing .rd-slide__play { display: none; }

.rd-carousel__arrow {
  position: absolute;
  top: calc(36px + clamp(220px, 40vw, 400px) / 2);
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23212932' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 10px 24px -14px rgba(33, 41, 50, 0.6);
  cursor: pointer;
}

.rd-carousel__arrow:hover { background-color: var(--yellow); border-color: var(--yellow); }
.rd-carousel__arrow--prev { left: 16px; transform: translateY(-50%) scaleX(-1); }
.rd-carousel__arrow--next { right: 16px; }

.rd-carousel__dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 8px; }
.rd-carousel__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width 0.3s, background 0.3s; }
.rd-carousel__dots button.is-active { width: 28px; background: var(--blue); }

@media (max-width: 759px) {
  .rd-slide { width: 82%; }
  .rd-slide[data-pos="-1"] { transform: translateX(-128%) scale(0.8); }
  .rd-slide[data-pos="1"] { transform: translateX(28%) scale(0.8); }
  .rd-carousel__arrow { width: 42px; height: 42px; }
  .rd-carousel__arrow--prev { left: 8px; }
  .rd-carousel__arrow--next { right: 8px; }
}

/* ---------- Aparición progresiva al hacer scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rd-reveal:not(.rd-stagger) {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
  }

  .js .rd-reveal.rd-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease var(--rd-delay, 0ms), transform 0.7s cubic-bezier(.2,.7,.2,1) var(--rd-delay, 0ms);
  }

  .js .rd-reveal.is-in:not(.rd-stagger),
  .js .rd-reveal.rd-stagger.is-in > * { opacity: 1; transform: none; }
}

/* ---------- «Un paso más» ---------- */
.rd-next { padding: 40px 0 24px; }

.rd-next__head { text-align: center; max-width: 1000px; margin: 0 auto 40px; }

.rd-next__head h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0 0 18px;
  max-width: none;
}

.rd-next__intro { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 0 auto; }

.rd-next__grid { display: grid; gap: 20px; align-items: stretch; }

@media (min-width: 900px) { .rd-next__grid { grid-template-columns: 1fr 1fr; } }

.rd-steps-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) { .rd-steps-card { padding: 44px 40px; } }

.rd .process li:last-child::before { background: var(--yellow); color: var(--ink); }

.rd-videocard {
  background: var(--ink);
  background-image: radial-gradient(60% 100% at 100% 100%, rgba(0, 85, 255, 0.35), transparent 70%);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

@media (min-width: 900px) { .rd-videocard { padding: 28px; } }

.rd-videocard__frame {
  border-radius: 18px;
  overflow: hidden;
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rd-videocard__note { margin: 0; font-size: 0.9rem; font-style: italic; color: #B8C0CB; }

@media (max-width: 899px) {
  .rd-next { padding-top: 24px; }
  .rd-next__head { text-align: left; margin-bottom: 24px; }
  .rd-next__intro { margin: 0; font-size: 1.05rem; }
}

/* ---------- Página de venta (/hoy/) ---------- */
.rd-salehero {
  background: var(--blue);
  background-image:
    radial-gradient(70% 90% at 100% 0%, rgba(244, 224, 77, 0.16), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(0, 20, 120, 0.45), transparent 70%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 22px 36px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) { .rd-salehero { padding: 64px 60px 56px; } }

.rd-salehero h1 {
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0 0 16px;
}

.rd-salehero .rd-soft { color: rgba(255, 255, 255, 0.72); }
.rd-salehero .rd-strong { color: var(--white); }
.rd-salehero__sub { font-size: 1.15rem; color: var(--blue-soft); margin: 0 auto 28px; max-width: 34em; }

.rd-salehero__video {
  max-width: 820px;
  margin: 0 auto 28px;
  border-radius: 18px;
  overflow: hidden;
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.rd-salehero__cta { display: grid; justify-items: center; gap: 12px; }
.rd-salehero .affiliate-note { color: var(--blue-soft); opacity: 1; max-width: 32em; }
.rd-salehero .btn { width: 100%; max-width: 420px; }
@media (min-width: 600px) { .rd-salehero .btn { width: auto; max-width: none; } }

.rd-split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .rd-split { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.rd-split h2 { margin-bottom: 12px; }

.rd-note { margin: 0; font-style: italic; color: var(--muted); }
.rd-note--center { text-align: center; margin-top: 24px; }

.rd-cards3 .rd-card a { color: var(--blue); font-weight: 500; }

.rd .rd-faq details p.todo { font-style: italic; }

.rd-closing .rd-soft { color: #9AA6B8; }
.rd-closing .rd-strong { color: var(--white); }
.rd-closing__note { margin: 18px auto 0; color: #B8C0CB; max-width: 32em; opacity: 1; }

/* ---------- Recordatorios (/tuweb/r/…): plantilla corta, no es página de venta ---------- */
.rd-rem { padding: 40px 0 32px; }
.rd-rem .wrap { max-width: 940px; }

.rd-rem__head { text-align: center; margin: 0 auto 28px; max-width: 820px; }
.rd-rem__head h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.rd-rem__sub { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 0 auto; }

.rd-rem__card {
  background: var(--ink);
  background-image: radial-gradient(60% 100% at 100% 100%, rgba(0, 85, 255, 0.35), transparent 70%);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-card);
}
@media (min-width: 900px) { .rd-rem__card { padding: 26px; } }

.rd-rem__video {
  border-radius: 18px;
  overflow: hidden;
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rd-rem__cta { display: grid; justify-items: center; gap: 10px; padding: 24px 8px 10px; text-align: center; }
.rd-rem__cta .btn { width: 100%; max-width: 420px; }
@media (min-width: 600px) { .rd-rem__cta .btn { width: auto; max-width: none; } }
.rd-rem__cta-note { margin: 0; font-size: 0.92rem; color: #B8C0CB; max-width: 34em; }

.rd-rem__perks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .rd-rem__perks { grid-template-columns: repeat(3, 1fr); } }
.rd-rem__perks li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
}
.rd-rem__perks strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.rd-rem__perks li > span:last-child { font-size: 0.92rem; color: var(--muted); }
.rd-rem__perk-ico {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--blue-light); color: var(--blue);
}
.rd-rem__perk-ico svg, .rd-rem__aviso-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rd-rem__aviso {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0 0; padding: 16px 20px;
  background: #FDF8D6; border: 1px solid var(--yellow); border-radius: 18px;
}
.rd-rem__aviso p { margin: 0; font-weight: 700; }
.rd-rem__aviso-ico {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--yellow); color: var(--ink);
}

.rd-rem__exit { text-align: center; margin: 22px 0 0; font-size: 0.92rem; color: var(--muted); }
.rd-rem__exit a { color: var(--muted); }
.rd-rem__exit a:hover { color: var(--blue); }

@media (max-width: 899px) {
  .rd-rem { padding-top: 22px; }
  .rd-rem__head { text-align: left; margin-bottom: 20px; }
  .rd-rem__sub { margin: 0; font-size: 1.05rem; }
}

/* Enlace secundario de «Un paso más» hacia la sub-venta: discreto, para no distraer de la confirmación */
.rd-next__extra { text-align: center; margin: 24px 0 0; font-size: 0.92rem; color: var(--muted); }
.rd-next__extra a { color: var(--muted); }
.rd-next__extra a:hover { color: var(--blue); }

/* Formulario oscuro de la landing: el texto escrito (y el que autocompleta el navegador) debe verse blanco.
   Chrome y Safari pintan el autocompletado con su propio color; se fuerza el blanco y el fondo oscuro. */
.rd .form-card ._form_158 input[type="text"],
.rd .form-card ._form_158 input[type="email"] {
  -webkit-text-fill-color: var(--white) !important;
  caret-color: var(--white) !important;
}
.rd .form-card ._form_158 input:-webkit-autofill,
.rd .form-card ._form_158 input:-webkit-autofill:hover,
.rd .form-card ._form_158 input:-webkit-autofill:focus,
.rd .form-card ._form_158 input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--white) !important;
  caret-color: var(--white) !important;
  -webkit-box-shadow: 0 0 0 1000px #323945 inset !important;
  box-shadow: 0 0 0 1000px #323945 inset !important;
  transition: background-color 9999s ease-out 0s;
}

/* ---------- Página de venta: video grande sin marco (cambios de Luis, 17 oct) ---------- */
.rd-sale2 { padding-top: 28px; padding-bottom: 20px; }
.rd-salehead { text-align: center; max-width: 900px; margin: 0 auto 24px; }
.rd-salehead h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.rd-salehead__sub { font-size: 1.15rem; color: var(--muted); margin: 0 auto; max-width: 34em; }

.rd-salevideo {
  border-radius: 22px;
  overflow: hidden;
  background: #0B1220;
  box-shadow: var(--shadow-card);
}
/* Celular: de borde a borde */
@media (max-width: 759px) {
  .rd-salevideo { margin: 0 -20px; border-radius: 0; box-shadow: none; }
  .rd-salehead { text-align: left; }
}

.rd-salecta-wrap { padding-top: 8px; }
.rd-salecta { display: grid; justify-items: center; gap: 10px; text-align: center; }
.rd-salecta .btn { width: 100%; max-width: 420px; }
@media (min-width: 600px) { .rd-salecta .btn { width: auto; max-width: none; } }
.rd-salecta .affiliate-note { color: var(--muted); opacity: 1; max-width: 32em; }

.rd-sale-dates { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.rd-sale-claim { text-align: center; margin: 26px 0 0; font-size: 1.08rem; }
.rd-sale-claim a, .rd .rd-faq details p a { color: var(--blue); font-weight: 700; }

/* Contenido que se desbloquea con el video: oculto mientras está bloqueado; sin JavaScript se ve todo */
.js .rd-gate:not(.is-open) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .rd-gate.is-open { animation: rd-gate-in 0.9s ease both; }
}
@keyframes rd-gate-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.rd-next__extra a { font-weight: 700; }
.rd-next__extra-note { text-align: center; margin: 6px 0 0; font-size: 0.82rem; color: var(--muted); }

/* Recordatorios A y B (cambios de Luis, 17 oct): salida a la membresía más visible y botón azul en el B */
.rd-rem__exit--big { font-size: 1.08rem; color: var(--ink); margin-top: 26px; }
.rd-rem__exit--big a { color: var(--blue); font-weight: 700; }
.rd-rem__memb { margin: 0 0 18px; }
.rd .btn.rd-btn-blue { background: var(--blue); color: var(--white); }
.rd .btn.rd-btn-blue:hover { box-shadow: 0 0 0 3px var(--ink) inset; }
.rd .btn.rd-btn-blue .rd-arrow { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 7c0 6 4 10 12 10m0 0-4-4m4 4-4 4' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.rd-stat__big { white-space: nowrap; }

/* ===== Sección «Además de tener tu página web, puedes…» (landing) ===== */
.rd-bonus__grid { display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 760px) { .rd-bonus__grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.rd-bonus__card {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 32px 28px; box-shadow: var(--shadow-card); min-height: 230px;
}
@media (min-width: 900px) { .rd-bonus__card { padding: 40px 38px; } }
.rd-bonus__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; flex: none; }
.rd-bonus__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rd-bonus__icon--blue { background: var(--blue-light); color: var(--blue); }
.rd-bonus__icon--yellow { background: #FDF8D6; color: #7A6A00; }
.rd-bonus__card h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
.rd-bonus__card h3 .rd-bonus__em { color: var(--blue); }
.rd-bonus__card--dark { background: var(--ink); color: var(--white); border-color: var(--ink);
  background-image: radial-gradient(60% 100% at 100% 100%, rgba(0, 85, 255, 0.35), transparent 70%); }
.rd-bonus__card--dark .rd-bonus__icon { background: var(--yellow); color: var(--ink); }
.rd-bonus__card--dark h3 .rd-bonus__em { color: var(--yellow); }
.rd-bonus__note { text-align: center; margin: 20px 0 0; font-size: 0.95rem; color: var(--muted); }
