.rul-rup-page {
  --rr-ink: #000034;
  --rr-surface: #fafafa;
  --rr-accent: #ff7500;
  background: linear-gradient(180deg, #f2f5fb 0%, #fafafa 48%, #eef3fa 100%);
  color: var(--rr-ink);
  overflow: hidden;
}

.rul-rup-page h1,
.rul-rup-page h2,
.rul-rup-page h3,
.rul-rup-page h4 {
  text-align: center;
  font-weight: 600;
}

.rr-shell {
  width: 100%;
  max-width: 1288px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.rr-hero,
.rr-compare,
.rr-decision,
.rr-faq,
.rr-footer-cta {
  padding: 3rem 0;
}

.rr-hero {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 8% 10%, rgba(67, 25, 150, 0.38) 0%, rgba(67, 25, 150, 0.2) 30%, rgba(67, 25, 150, 0) 60%),
    radial-gradient(circle at 92% 88%, rgba(133, 208, 20, 0.34) 0%, rgba(133, 208, 20, 0.16) 30%, rgba(133, 208, 20, 0) 60%),
    linear-gradient(125deg, #000034 0%, #000034 100%);
}

.rr-hero::after {
  content: none;
}

.rr-hero .rr-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rr-split-logo {
  position: relative;
  width: clamp(84px, 11vw, 116px);
  aspect-ratio: 1;
  margin: 0 0 1rem;
  border-radius: 50%;
}

.rr-split-logo__base,
.rr-split-logo__full {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.rr-split-logo__base {
  background: transparent;
  overflow: hidden;
}

.rr-split-logo__half {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: clip-path 0.38s ease;
}

.rr-split-logo__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-split-logo__half--rul {
  clip-path: inset(0 50% 0 0);
}

.rr-split-logo__half--rup {
  clip-path: inset(0 0 0 50%);
}

.rr-split-logo__divider {
  display: none;
}

.rr-split-logo__full {
  display: none;
}

.rr-split-logo__full--rul {
  box-shadow: none;
}

.rr-split-logo__full--rup {
  box-shadow: none;
}

.rr-split-logo__full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rr-split-logo__hit {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 4;
}

.rr-split-logo__hit--rul {
  clip-path: inset(0 50% 0 0);
}

.rr-split-logo__hit--rup {
  clip-path: inset(0 0 0 50%);
}

.rr-split-logo__hit:focus-visible {
  outline: 3px solid var(--rr-accent);
  outline-offset: 4px;
  border-radius: 50%;
}

.rr-split-logo.is-rul-hover .rr-split-logo__half--rul,
.rr-split-logo.is-rul-active .rr-split-logo__half--rul {
  clip-path: inset(0 0 0 0);
}

.rr-split-logo.is-rul-hover .rr-split-logo__half--rup,
.rr-split-logo.is-rul-active .rr-split-logo__half--rup {
  clip-path: inset(0 0 0 100%);
}

.rr-split-logo.is-rup-hover .rr-split-logo__half--rup,
.rr-split-logo.is-rup-active .rr-split-logo__half--rup {
  clip-path: inset(0 0 0 0);
}

.rr-split-logo.is-rup-hover .rr-split-logo__half--rul,
.rr-split-logo.is-rup-active .rr-split-logo__half--rul {
  clip-path: inset(0 100% 0 0);
}

.rr-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.1;
  font-weight: 600;
}

.rr-subtitle {
  margin: 1rem 0 0;
  max-width: 720px;
  font-size: clamp(1.02rem, 3.2vw, 1.35rem);
  line-height: 1.55;
}

.rr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.rr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0.72rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.rr-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 52, 0.16);
}

.rr-btn-rul {
  background: var(--rul-color);
  border-color: var(--rul-color);
  color: #ffffff;
}

.rr-btn-rul:hover,
.rr-btn-rul:focus-visible {
  background: #39157e;
  border-color: #39157e;
  color: #ffffff;
}

.rr-btn-rup {
  background: var(--rup-color);
  border-color: var(--rup-color);
  color: #1d1d1f;
}

.rr-btn-rup:hover,
.rr-btn-rup:focus-visible {
  background: #73b90f;
  border-color: #73b90f;
  color: #1d1d1f;
}

.rr-btn-outline {
  background: transparent;
  border-color: rgba(0, 0, 52, 0.28);
  color: var(--rr-ink);
}

.rr-btn-outline:hover,
.rr-btn-outline:focus-visible {
  background: rgba(0, 0, 52, 0.07);
  border-color: rgba(0, 0, 52, 0.5);
  color: var(--rr-ink);
}

.rr-compare h2,
.rr-decision h2,
.rr-footer-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4.3vw, 2.35rem);
  color: var(--rr-ink);
}

.rr-section-intro {
  margin: 0.8rem auto 0;
  max-width: 720px;
  color: rgba(0, 0, 52, 0.88);
  font-size: 1.06rem;
  line-height: 1.55;
  text-align: center;
}

.rr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.rr-card {
  position: relative;
  background: var(--rr-surface);
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 52, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 52, 0.06);
  padding: 1.35rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.rr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(115deg, var(--rul-color), var(--rup-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.rr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 52, 0.07);
}

.rr-card-rul {
  border-top: 5px solid var(--rul-color);
}

.rr-card-rup {
  border-top: 5px solid var(--rup-color);
}

.rr-card-rul:hover {
  box-shadow: 0 14px 30px rgba(67, 25, 150, 0.14);
}

.rr-card-rup:hover {
  box-shadow: 0 14px 30px rgba(133, 208, 20, 0.12);
}

.rr-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.rr-card-head h3 {
  margin: 0;
  font-size: 1.5rem;
  text-align: left;
  font-weight: 700;
}

.rr-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(0, 0, 52, 0.08);
}

.rr-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.rr-card-rul .rr-icon {
  background: rgba(67, 25, 150, 0.14);
  color: var(--rul-color);
}

.rr-card-rup .rr-icon {
  background: rgba(133, 208, 20, 0.2);
  color: #2f5505;
}

.rr-list,
.rr-checklist {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.58rem;
}

.rr-list {
  font-size: 0.97rem;
  line-height: 1.5;
  color: rgba(0, 0, 52, 0.94);
}

.rr-check-title {
  margin: 1.2rem 0 0.65rem;
  font-size: 1.05rem;
  text-align: left;
  font-weight: 700;
}

.rul-rup-page .rr-check-title {
  text-align: left;
}

.rr-checklist {
  padding-left: 0;
  list-style: none;
}

.rr-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.96rem;
}

.rr-checklist i {
  margin-top: 0.15rem;
}

.rr-card-rul .rr-checklist i {
  color: var(--rul-color);
}

.rr-card-rup .rr-checklist i {
  color: #4f8609;
}

.rr-card-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.rr-card-actions .rr-btn {
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.rr-card-actions .rr-btn:hover,
.rr-card-actions .rr-btn:focus-visible {
  transform: none;
  box-shadow: none;
}

.rr-decision {
  background: linear-gradient(175deg, rgba(67, 25, 150, 0.06), rgba(133, 208, 20, 0.07));
}

.rr-wizard {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.7rem;
}

.rr-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 52, 0.17);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rr-toggle:hover {
  border-color: rgba(0, 0, 52, 0.3);
}

.rr-toggle input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  accent-color: var(--rul-color);
}

.rr-toggle span {
  font-size: 0.97rem;
  line-height: 1.45;
}

.rr-recommendation {
  margin-top: 1rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 52, 0.16);
  padding: 1rem;
}

.rr-recommendation p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.rr-recommendation-actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

#rrRecoRul,
#rrRecoRup {
  display: none;
}

#rrRecoRul.is-visible,
#rrRecoRup.is-visible {
  display: inline-flex;
}

/* FAQ styles replicated from servicios template */
.faqs-section {
  background-color: #fafafa;
  padding: 3rem 0;
}

.faqs-section h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 3rem;
  text-align: center;
  line-height: 1.2em;
  color: #000034;
}

.faq-block {
  margin-bottom: 5rem;
}

.faq-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding-bottom: 20px;
  cursor: pointer;
}

.faq-heading .pregunta {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.faq-heading .arrow-icon {
  font-size: 32px;
  color: #000034;
  transition: transform 0.35s ease;
  transform: rotate(0deg);
}

.faq-heading .pregunta,
.pregunta * {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #000034;
  text-align: left;
}

@keyframes open-close {
  0% { max-height: 0; }
  100% { max-height: 2000px; }
}

.faq-block.active .respuesta {
  padding: 20px 0 20px 2%;
  max-height: 400px;
  animation-name: open-close;
  animation-duration: 0.5s;
}

.faq-block .respuesta {
  gap: 10px;
  padding: 0 0 0 2%;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  margin: 0;
  font-size: 18px;
}

.faq-block .first-divider {
  border: 1px solid #fafafa;
  transition: all 0.6s ease;
}

.faq-block.active .first-divider {
  border: 1px solid #000034;
  transition: all 0.6s ease;
}

.faq-block.active .faq-heading .arrow-icon {
  transform: rotate(180deg);
}

.faq-block .last-divider {
  border: 1px solid #9d9d9d;
}

.faq-heading:focus-visible {
  outline: 3px solid var(--rr-accent);
  outline-offset: 2px;
  border-radius: 8px;
}

.rr-footer-copy h2 {
  color: #ffffff;
}

.rr-footer-copy {
  margin-bottom: 1.6rem;
}

.rr-footer-copy p {
  margin: 0.7rem 0 0;
  max-width: 650px;
  line-height: 1.55;
  color: #fafafa;
}

.rr-footer-cta.otros-section {
  background-color: #000034;
}

.rr-footer-cta .otros-cards {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.rr-footer-cta .otro-card {
  position: relative;
  height: 520px;
  min-width: 25%;
  border-radius: 36px;
  overflow: hidden;
  z-index: 0;
  color: #000;
  transition: flex 0.3s;
  flex: 1;
}

.rr-footer-cta .otro-card:hover {
  flex: 1.5;
}

.rr-footer-cta .otro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 36px;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(40px);
}

.rr-footer-cta .otro-card * {
  position: relative;
  z-index: 2;
}

.rr-footer-cta .otro-card:hover::before {
  opacity: 0.3;
}

.rr-footer-cta .otro-card-content-wrapper {
  height: inherit;
  width: inherit;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 34px 34px 0 34px;
  gap: 48px;
  overflow: hidden;
}

.rr-footer-cta .otro-card-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rr-footer-cta .otro-card-content-wrapper h3 {
  color: #fafafa;
  font-size: 36px;
  line-height: 1.2em;
  font-weight: 600;
  max-width: 450px;
}

.rr-footer-cta .otro-links {
  color: #fafafa;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 50px;
  overflow: hidden;
}

.rr-footer-cta .otro-links a {
  color: #FF7500;
  text-decoration: none;
}

.rr-footer-cta .otro-links a .fa-chevron-right {
  font-size: calc(1em - 0.2rem);
  color: inherit;
}

.rr-footer-cta .otro-links a:hover {
  color: #FF7500;
  text-decoration: underline;
}

.rr-footer-cta .otro-card-content-wrapper img {
  width: 300px;
  height: 300px;
  transform: translateX(0);
  transition: transform .5s ease;
}

.rr-footer-cta .otro-card:hover img {
  transform: translateY(-36px);
}

#RUP.otro-card {
  background: linear-gradient(150deg, rgba(137, 137, 137, 0.12) 55.29%, #85D014 165.92%);
  -webkit-backdrop-filter: blur(400px);
  backdrop-filter: blur(400px);
}

#RUP.otro-card::before {
  background: linear-gradient(150deg, rgba(137, 137, 137, 0) 55.29%, #85D014 114.49%);
  -webkit-backdrop-filter: blur(400px);
  backdrop-filter: blur(400px);
}

#RUL.otro-card {
  background: linear-gradient(150deg, rgba(137, 137, 137, 0.12) 55.29%, #431996 165.92%);
  -webkit-backdrop-filter: blur(400px);
  backdrop-filter: blur(400px);
}

#RUL.otro-card::before {
  background: linear-gradient(150deg, rgba(137, 137, 137, 0) 55.29%, #431996 114.49%);
  -webkit-backdrop-filter: blur(400px);
  backdrop-filter: blur(400px);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.rul-rup-page a:focus-visible,
.rul-rup-page button:focus-visible,
.rul-rup-page input:focus-visible,
.rul-rup-page label:focus-within {
  outline: 3px solid var(--rr-accent);
  outline-offset: 2px;
  border-radius: 10px;
}

@media (min-width: 992px) {
  .rr-hero,
  .rr-compare,
  .rr-decision,
  .rr-faq,
  .rr-footer-cta {
    padding: 4.2rem 0;
  }

  .rr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .rr-card {
    padding: 1.6rem;
  }
}

@media screen and (max-width: 768px) {
  .rr-footer-copy {
    margin-bottom: 1rem;
  }

  .rr-footer-cta .otros-cards {
    flex-direction: column;
  }

  .rr-footer-cta .otro-card {
    max-width: 100%;
    height: 440px;
  }

  .rr-footer-cta .otro-card-content-wrapper {
    gap: 36px;
  }

  .rr-footer-cta .otro-card-content-wrapper h3 {
    font-size: 1.8em;
  }

  .rr-footer-cta .otro-links {
    gap: 10px;
    justify-content: space-around;
  }

  .rr-footer-cta .otro-links a {
    font-size: 0.8em;
  }

  .rr-footer-cta .otro-card-content-wrapper img {
    height: 300px;
    width: 300px;
  }

  .faq-heading .pregunta {
    font-size: 28px;
  }

  .faq-block .respuesta {
    font-size: 18px;
  }
}

@media screen and (max-width: 1200px) {
  .rr-footer-cta .otro-card {
    min-width: 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .rr-btn,
  .rr-card,
  .rr-card::before {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
