
/* ============================================================
   REGRESA A TI
   SISTEMA VISUAL DE TARJETAS
   ============================================================ */

body.card-mode {
  margin: 0 !important;
  padding: 0 !important;
  background: #FCFBF9 !important;
}

body.card-mode .site-home {
  display: none !important;
}


/* ============================================================
   TARJETA
   ============================================================ */

.rt-card {
  display: none;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #FCFBF9;
  color: #292725;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rt-card.active {
  display: block !important;
}


/* ============================================================
   HERO
   ============================================================ */

.rt-hero {
  position: relative;
  width: 100%;
  padding: 82px 24px 74px;
  overflow: hidden;
  text-align: center;
}

.rt-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 800px);
  margin: 0 auto;
}

.rt-kicker {
  margin-bottom: 18px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.rt-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin-bottom: 24px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  opacity: .75;
}

.rt-phrase {
  width: min(100%, 730px);
  margin: 0 auto;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 7vw, 74px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.025em;
}

.rt-sign {
  margin-top: 30px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.4;
  font-style: italic;
  opacity: .72;
}


/* ============================================================
   CUERPO
   ============================================================ */

.rt-content {
  width: min(calc(100% - 44px), 760px);
  margin: 0 auto;
  padding: 68px 0 88px;
}

.rt-block {
  position: relative;
  margin: 0 0 58px;
}

.rt-section-title {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.01em;
}

.rt-content p {
  margin: 0 0 19px;
  font-size: 17px;
  line-height: 1.78;
  font-weight: 400;
}

.rt-content p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   NEUROCIENCIA
   ============================================================ */

.rt-neuro {
  margin: 54px 0;
  padding: 36px 38px;
  border-radius: 24px;
}

.rt-neuro .rt-section-title {
  margin-bottom: 18px;
}


/* ============================================================
   DINÁMICA
   ============================================================ */

.rt-block:has(.rt-section-title:first-child) {
  scroll-margin-top: 30px;
}


/* ============================================================
   ACTIVIDAD
   ============================================================ */

.rt-activity {
  margin: 12px 0;
  padding: 36px 38px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(30,30,30,.08);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(30,30,30,.04);
}


/* ============================================================
   RECUERDA
   ============================================================ */

.rt-remember {
  margin: 62px 0 0;
  padding: 38px 38px 36px;
  border-radius: 24px;
}

.rt-remember .rt-section-title {
  margin-bottom: 16px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.rt-remember blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 500;
}


/* ============================================================
   AUDIO
   ============================================================ */

.rt-card .audio-card-player {
  width: min(calc(100% - 44px), 760px) !important;
  margin: 0 auto 54px !important;
  border-radius: 22px !important;
}


/* ============================================================
   AMOR PROPIO
   ============================================================ */

.rt-cat-ap .rt-hero {
  background: #F8EEEE;
  color: #573F42;
}

.rt-cat-ap .rt-kicker,
.rt-cat-ap .rt-section-title {
  color: #A2676A;
}

.rt-cat-ap .rt-neuro,
.rt-cat-ap .rt-remember {
  background: #F8EEEE;
}

.rt-cat-ap .rt-remember {
  border-left: 3px solid #C98F8F;
}


/* ============================================================
   EMOCIONES
   ============================================================ */

.rt-cat-e .rt-hero {
  background: #EEF3F6;
  color: #344654;
}

.rt-cat-e .rt-kicker,
.rt-cat-e .rt-section-title {
  color: #617A8E;
}

.rt-cat-e .rt-neuro,
.rt-cat-e .rt-remember {
  background: #EEF3F6;
}

.rt-cat-e .rt-remember {
  border-left: 3px solid #6F879B;
}


/* ============================================================
   NIÑA INTERIOR
   ============================================================ */

.rt-cat-ni .rt-hero {
  background: #F3EEF6;
  color: #514358;
}

.rt-cat-ni .rt-kicker,
.rt-cat-ni .rt-section-title {
  color: #897192;
}

.rt-cat-ni .rt-neuro,
.rt-cat-ni .rt-remember {
  background: #F3EEF6;
}

.rt-cat-ni .rt-remember {
  border-left: 3px solid #A78FAF;
}


/* ============================================================
   PRESENCIA + GRATITUD
   ============================================================ */

.rt-cat-pg .rt-hero {
  background: #EEF3EB;
  color: #3E4B39;
}

.rt-cat-pg .rt-kicker,
.rt-cat-pg .rt-section-title {
  color: #718467;
}

.rt-cat-pg .rt-neuro,
.rt-cat-pg .rt-remember {
  background: #EEF3EB;
}

.rt-cat-pg .rt-remember {
  border-left: 3px solid #879B7A;
}


/* ============================================================
   FOOTER
   ============================================================ */

.rt-brand-footer {
  padding: 42px 24px;
  border-top: 1px solid rgba(30,30,30,.08);
}

.rt-brand-footer-inner {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.rt-brand-name {
  margin-bottom: 9px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
}

.rt-brand-link {
  color: inherit;
  font-size: 13px;
  text-decoration: none;
  opacity: .6;
}


/* ============================================================
   MOBILE / IPHONE / IPAD ANGOSTO
   ============================================================ */

@media (max-width: 640px) {

  .rt-hero {
    padding: 58px 20px 54px;
  }

  .rt-num {
    height: 38px;
    min-width: 38px;
    margin-bottom: 20px;
  }

  .rt-phrase {
    font-size: clamp(40px, 12vw, 57px);
    line-height: 1.03;
  }

  .rt-content {
    width: calc(100% - 36px);
    padding: 48px 0 68px;
  }

  .rt-block {
    margin-bottom: 44px;
  }

  .rt-section-title {
    font-size: 29px;
  }

  .rt-content p {
    font-size: 16px;
    line-height: 1.72;
  }

  .rt-neuro,
  .rt-activity,
  .rt-remember {
    padding: 27px 24px;
    border-radius: 19px;
  }

  .rt-remember blockquote {
    font-size: 26px;
  }

  .rt-card .audio-card-player {
    width: calc(100% - 36px) !important;
  }
}


/* ============================================================
   REFINAMIENTO PREMIUM · REGRESA A TI
   Solo presentación visual
   ============================================================ */

body.card-mode {
  background: #fdfcf9 !important;
}

/* Más aire y sensación editorial */
.rt-card {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.72) 0%,
      rgba(255,255,255,.96) 100%
    );
}

/* HERO */
.rt-hero {
  padding-top: 92px;
  padding-bottom: 82px;
}

.rt-hero-inner {
  max-width: 820px;
}

.rt-kicker {
  font-size: 10px;
  letter-spacing: .24em;
  opacity: .78;
}

.rt-num {
  margin-top: 4px;
  margin-bottom: 24px;
  min-width: 46px;
  height: 46px;
  border-width: 1px;
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(4px);
}

.rt-phrase {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1.01;
}

.rt-sign {
  margin-top: 32px;
  font-size: 18px;
}


/* CUERPO */
.rt-content {
  max-width: 760px;
  padding-top: 76px;
}

.rt-block {
  margin-bottom: 64px;
}

.rt-section-title {
  font-size: 35px;
  margin-bottom: 24px;
}

.rt-content p {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.82;
}


/* Bloques destacados */
.rt-neuro {
  padding: 38px 40px;
  border-radius: 26px;
  box-shadow:
    0 16px 40px rgba(30,30,30,.035);
}

.rt-activity {
  padding: 38px 40px;
  border-radius: 26px;
  background: rgba(255,255,255,.8);
  box-shadow:
    0 18px 44px rgba(30,30,30,.045);
}

.rt-remember {
  padding: 40px 40px 38px;
  border-radius: 26px;
  box-shadow:
    0 16px 42px rgba(30,30,30,.035);
}

.rt-remember blockquote {
  font-size: 31px;
  line-height: 1.32;
}


/* Separación sutil entre secciones */
.rt-block + .rt-block {
  position: relative;
}

.rt-block + .rt-block::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 0 42px;
  background: currentColor;
  opacity: .12;
}


/* Audio más integrado */
.rt-card .audio-card-player {
  margin-top: 8px !important;
  margin-bottom: 62px !important;
  box-shadow:
    0 12px 34px rgba(30,30,30,.055);
}


/* Footer */
.rt-brand-footer {
  padding-top: 46px;
  padding-bottom: 48px;
  background: rgba(255,255,255,.42);
}

.rt-brand-name {
  font-size: 21px;
}


/* Categorías · refinamiento */
.rt-cat-ap .rt-hero {
  background:
    linear-gradient(
      180deg,
      #F8EEEE 0%,
      #FAF3F3 100%
    );
}

.rt-cat-e .rt-hero {
  background:
    linear-gradient(
      180deg,
      #EEF3F6 0%,
      #F5F8FA 100%
    );
}

.rt-cat-ni .rt-hero {
  background:
    linear-gradient(
      180deg,
      #F3EEF6 0%,
      #F7F3F9 100%
    );
}

.rt-cat-pg .rt-hero {
  background:
    linear-gradient(
      180deg,
      #EEF3EB 0%,
      #F5F7F3 100%
    );
}


/* MOBILE */
@media (max-width: 640px) {

  .rt-hero {
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .rt-kicker {
    font-size: 9px;
    letter-spacing: .21em;
  }

  .rt-num {
    min-width: 40px;
    height: 40px;
  }

  .rt-phrase {
    font-size: clamp(40px, 12vw, 58px);
  }

  .rt-content {
    width: calc(100% - 34px);
    padding-top: 52px;
  }

  .rt-block {
    margin-bottom: 48px;
  }

  .rt-section-title {
    font-size: 29px;
  }

  .rt-content p {
    font-size: 16px;
    line-height: 1.74;
  }

  .rt-neuro,
  .rt-activity,
  .rt-remember {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .rt-remember blockquote {
    font-size: 26px;
  }
}


/* ============================================================
   REFINAMIENTO PREMIUM · REGRESA A TI
   Solo presentación visual
   ============================================================ */

body.card-mode {
  background: #fdfcf9 !important;
}

/* Más aire y sensación editorial */
.rt-card {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.72) 0%,
      rgba(255,255,255,.96) 100%
    );
}

/* HERO */
.rt-hero {
  padding-top: 92px;
  padding-bottom: 82px;
}

.rt-hero-inner {
  max-width: 820px;
}

.rt-kicker {
  font-size: 10px;
  letter-spacing: .24em;
  opacity: .78;
}

.rt-num {
  margin-top: 4px;
  margin-bottom: 24px;
  min-width: 46px;
  height: 46px;
  border-width: 1px;
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(4px);
}

.rt-phrase {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1.01;
}

.rt-sign {
  margin-top: 32px;
  font-size: 18px;
}


/* CUERPO */
.rt-content {
  max-width: 760px;
  padding-top: 76px;
}

.rt-block {
  margin-bottom: 64px;
}

.rt-section-title {
  font-size: 35px;
  margin-bottom: 24px;
}

.rt-content p {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.82;
}


/* Bloques destacados */
.rt-neuro {
  padding: 38px 40px;
  border-radius: 26px;
  box-shadow:
    0 16px 40px rgba(30,30,30,.035);
}

.rt-activity {
  padding: 38px 40px;
  border-radius: 26px;
  background: rgba(255,255,255,.8);
  box-shadow:
    0 18px 44px rgba(30,30,30,.045);
}

.rt-remember {
  padding: 40px 40px 38px;
  border-radius: 26px;
  box-shadow:
    0 16px 42px rgba(30,30,30,.035);
}

.rt-remember blockquote {
  font-size: 31px;
  line-height: 1.32;
}


/* Separación sutil entre secciones */
.rt-block + .rt-block {
  position: relative;
}

.rt-block + .rt-block::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 0 42px;
  background: currentColor;
  opacity: .12;
}


/* Audio más integrado */
.rt-card .audio-card-player {
  margin-top: 8px !important;
  margin-bottom: 62px !important;
  box-shadow:
    0 12px 34px rgba(30,30,30,.055);
}


/* Footer */
.rt-brand-footer {
  padding-top: 46px;
  padding-bottom: 48px;
  background: rgba(255,255,255,.42);
}

.rt-brand-name {
  font-size: 21px;
}


/* Categorías · refinamiento */
.rt-cat-ap .rt-hero {
  background:
    linear-gradient(
      180deg,
      #F8EEEE 0%,
      #FAF3F3 100%
    );
}

.rt-cat-e .rt-hero {
  background:
    linear-gradient(
      180deg,
      #EEF3F6 0%,
      #F5F8FA 100%
    );
}

.rt-cat-ni .rt-hero {
  background:
    linear-gradient(
      180deg,
      #F3EEF6 0%,
      #F7F3F9 100%
    );
}

.rt-cat-pg .rt-hero {
  background:
    linear-gradient(
      180deg,
      #EEF3EB 0%,
      #F5F7F3 100%
    );
}


/* MOBILE */
@media (max-width: 640px) {

  .rt-hero {
    padding-top: 64px;
    padding-bottom: 58px;
  }

  .rt-kicker {
    font-size: 9px;
    letter-spacing: .21em;
  }

  .rt-num {
    min-width: 40px;
    height: 40px;
  }

  .rt-phrase {
    font-size: clamp(40px, 12vw, 58px);
  }

  .rt-content {
    width: calc(100% - 34px);
    padding-top: 52px;
  }

  .rt-block {
    margin-bottom: 48px;
  }

  .rt-section-title {
    font-size: 29px;
  }

  .rt-content p {
    font-size: 16px;
    line-height: 1.74;
  }

  .rt-neuro,
  .rt-activity,
  .rt-remember {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .rt-remember blockquote {
    font-size: 26px;
  }
}


/* ============================================================
   FIX HERO CIRCULAR · TODAS LAS TARJETAS
   Hace que todas queden como tarjeta1:
   fondo claro + círculo interior centrado
   ============================================================ */

/* Variables por categoría */
.rt-cat-ap{
  --rt-hero-shell:#FBF6F7;
  --rt-hero-circle:#EBDDE2;
  --rt-accent:#866271;
}

.rt-cat-e{
  --rt-hero-shell:#F3F8FB;
  --rt-hero-circle:#DCEAF2;
  --rt-accent:#6E8798;
}

.rt-cat-ni{
  --rt-hero-shell:#F5F8F2;
  --rt-hero-circle:#DEE8D6;
  --rt-accent:#73836D;
}

.rt-cat-pg{
  --rt-hero-shell:#F5F2F8;
  --rt-hero-circle:#E4DCEF;
  --rt-accent:#7B6A93;
}

/* El hero ya no debe verse como bloque de color completo */
.rt-card .rt-hero{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 86vh;
  padding: 88px 20px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rt-hero-shell) !important;
}

/* Círculo interior */
.rt-card .rt-hero::before{
  content:"";
  position:absolute;
  width:min(78vw,780px);
  height:min(78vw,780px);
  border-radius:50%;
  background: var(--rt-hero-circle);
  left:50%;
  top:50%;
  transform:translate(-50%,-46%);
  z-index:0;
}

/* Contenido arriba del círculo */
.rt-card .rt-hero-inner{
  position:relative;
  z-index:1;
  width:min(90vw,780px);
  margin:0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.rt-card .rt-kicker{
  color: var(--rt-accent);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: .9;
}

.rt-card .rt-num{
  margin: 0 auto 28px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid color-mix(in srgb, var(--rt-accent) 35%, #ffffff 65%);
  background: rgba(255,255,255,.34);
  color: var(--rt-accent);
  font-size: 13px;
  letter-spacing: .18em;
  text-indent: .18em;
}

.rt-card .rt-phrase{
  max-width: 720px;
  margin: 0 auto;
  color: var(--rt-accent);
  font-size: clamp(54px, 7.8vw, 90px);
  line-height: .98;
  letter-spacing: -.04em;
}

.rt-card .rt-sign{
  margin-top: 28px;
  color: color-mix(in srgb, var(--rt-accent) 70%, #ffffff 30%);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Cuerpo abajo del hero */
.rt-card .rt-content{
  background:#FCFBF8;
}

/* Mobile */
@media (max-width: 768px){
  .rt-card .rt-hero{
    min-height: 72vh;
    padding: 70px 18px 52px;
  }

  .rt-card .rt-hero::before{
    width:min(92vw,620px);
    height:min(92vw,620px);
    transform:translate(-50%,-44%);
  }

  .rt-card .rt-num{
    width:46px;
    height:46px;
    font-size:12px;
    margin-bottom:22px;
  }

  .rt-card .rt-phrase{
    font-size: clamp(42px, 12vw, 64px);
    line-height: 1.02;
  }

  .rt-card .rt-sign{
    margin-top: 22px;
    font-size: 12px;
    letter-spacing: .12em;
  }
}


/* ============================================================
   BLOQUES ALTERNADOS POR CATEGORÍA
   ============================================================ */

.rt-content{
  padding-top: 64px;
}

/* Cada sección como bloque independiente */
.rt-content > section{
  margin: 0 0 34px;
  padding: 34px 36px;
  border-radius: 24px;
}

/* Bloques claros */
.rt-explanation,
.rt-dynamic,
.rt-remember-section{
  background: #fff;
}

/* Bloques tintados */
.rt-neuro,
.rt-activity-section{
  background: var(--rt-soft-block);
}

/* Separadores ya no necesarios */
.rt-block + .rt-block::before{
  display:none !important;
}

/* Título uniforme */
.rt-content .rt-section-title{
  margin:0 0 22px;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:34px;
  line-height:1.1;
  font-weight:500;
  color:var(--rt-accent);
}

/* Texto */
.rt-content p{
  margin:0 0 17px;
  font-size:17px;
  line-height:1.75;
}

/* Nombre interno de actividad */
.rt-activity-name{
  margin-top:-8px !important;
  margin-bottom:20px !important;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:20px !important;
  font-style:italic;
  color:var(--rt-accent);
}

/* Categorías */
.rt-cat-ap{
  --rt-soft-block:#F8EEEE;
}

.rt-cat-e{
  --rt-soft-block:#EEF3F6;
}

.rt-cat-ni{
  --rt-soft-block:#F3EEF6;
}

.rt-cat-pg{
  --rt-soft-block:#EEF3EB;
}

/* Recuerda: un poco más destacado */
.rt-remember-section{
  border-left:3px solid var(--rt-accent);
}

/* Mobile */
@media(max-width:640px){

  .rt-content{
    width:calc(100% - 28px);
  }

  .rt-content > section{
    padding:26px 22px;
    border-radius:20px;
    margin-bottom:24px;
  }

  .rt-content .rt-section-title{
    font-size:29px;
  }

  .rt-content p{
    font-size:16px;
    line-height:1.7;
  }
}


/* FIX FOOTER DUPLICADO */
body.card-mode .rt-brand-footer{
  display:none !important;
}

body.card-mode .rt-card.active > .rt-brand-footer{
  display:block !important;
}
