/* ==========================================================================
   REHOJO - Estilos personalizados
   Archivo principal de CSS custom sobre Bootstrap 5.3
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables CSS (Design Tokens)
   Colores, tipografía y espaciados globales del proyecto
   -------------------------------------------------------------------------- */
:root {
    --rh-primary: #6236F6;
    --rh-primary-dark: #1A123A;
    --rh-primary-light: #E8D6FC;
    --rh-primary-soft: #D8CDFB;
    --rh-primary-hover: #3E06F5;
    --rh-accent: #C598F9;
    --rh-dark: #1A123A;
    --rh-gray-900: #1A123A;
    --rh-gray-700: #4A4262;
    --rh-gray-500: #6b7280;
    --rh-gray-300: #D3D2D8;
    --rh-gray-200: #E5E7EB;
    --rh-gray-100: #F3F4F6;
    --rh-gray-50: #F9FAFB;
    --rh-white: #ffffff;
    --rh-success: #059669;
    --rh-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --rh-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --rh-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --rh-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
    --rh-radius: 10px;
    --rh-radius-lg: 14px;
    --rh-transition: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   Reset y estilos base
   Ajustes generales del body y tipografía
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--rh-gray-700);
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Navegación principal (Navbar)
   Barra fija superior siempre blanca con sombra al hacer scroll
   -------------------------------------------------------------------------- */
.navbar-rehojo {
    padding: 0.6rem 0;
    transition: var(--rh-transition);
    background: var(--rh-white);
    border-bottom: 1px solid var(--rh-gray-100);
}

.navbar-rehojo.navbar-scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

.navbar-rehojo .navbar-brand {
    padding: 0;
}

.navbar-rehojo__logo {
    height: 32px;
    width: auto;
}

.navbar-rehojo .nav-link {
    color: var(--rh-gray-700);
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    transition: var(--rh-transition);
    font-size: 0.9rem;
}

.navbar-rehojo .nav-link:hover,
.navbar-rehojo .nav-link:focus {
    color: var(--rh-primary);
}

/* Estado activo: misma jerarquía visual en plain links y dropdowns. Sin esta
   regla, Bootstrap aplica su color por defecto y el item activo se ve
   ligeramente distinto al resto. */
.navbar-rehojo .nav-link.active,
.navbar-rehojo .nav-link.active:hover,
.navbar-rehojo .nav-link.active:focus {
    color: var(--rh-primary);
    font-weight: 600;
}

/* Dropdowns de la navbar */
.navbar-rehojo .dropdown-menu {
    border: none;
    box-shadow: var(--rh-shadow-md);
    border-radius: var(--rh-radius);
    padding: 0.5rem 0;
    border-left: 3px solid var(--rh-primary);
    min-width: 220px;
}

.navbar-rehojo .dropdown-item {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    color: var(--rh-gray-700);
    transition: var(--rh-transition);
}

.navbar-rehojo .dropdown-item:hover {
    background: var(--rh-gray-100);
    color: var(--rh-primary);
}

/* Botón Login en la navbar */
.navbar-rehojo .btn-nav-login {
    background: var(--rh-gray-900);
    color: var(--rh-white);
    border: 1px solid var(--rh-gray-900);
    border-radius: 6px;
    padding: 0.4rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--rh-transition);
}

.navbar-rehojo .btn-nav-login:hover {
    background: var(--rh-gray-700);
    border-color: var(--rh-gray-700);
    color: var(--rh-white);
}

.navbar-rehojo .btn-nav-cta {
    background: transparent;
    color: var(--rh-primary);
    border: 1px solid var(--rh-primary);
    border-radius: 6px;
    padding: 0.4rem 1.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--rh-transition);
}

.navbar-rehojo .btn-nav-cta:hover {
    background: var(--rh-primary);
    color: var(--rh-white);
}

/* Toggler del menú hamburguesa en móvil */
.navbar-rehojo .navbar-toggler {
    border-color: var(--rh-gray-300);
    padding: 0.4rem 0.6rem;
}

.navbar-rehojo .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2855, 65, 81, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   Sección Hero
   Bloque principal con fondo blanco, título h1 centrado y CTAs
   -------------------------------------------------------------------------- */
.hero-section {
    background: var(--rh-white);
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section__content {
    position: relative;
    z-index: 2;
}

.hero-section__title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--rh-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-section__title span {
    color: var(--rh-primary);
}

.hero-section__subtitle {
    font-size: 1.15rem;
    color: var(--rh-gray-500);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Botones CTA del hero: primario en color de marca con glow, secundario outline */
.hero-section__actions .btn-hero-primary {
    background: var(--rh-primary);
    color: var(--rh-white);
    border: 1.5px solid var(--rh-primary);
    border-radius: var(--rh-radius);
    padding: 0.9rem 2.25rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 20px rgba(98, 54, 246, 0.25);
    transition: var(--rh-transition);
}

.hero-section__actions .btn-hero-primary:hover,
.hero-section__actions .btn-hero-primary:focus {
    background: var(--rh-primary-hover);
    border-color: var(--rh-primary-hover);
    color: var(--rh-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(98, 54, 246, 0.32);
}

.hero-section__actions .btn-hero-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(98, 54, 246, 0.22);
}

.hero-section__actions .btn-hero-secondary {
    background: var(--rh-white);
    color: var(--rh-primary);
    border: 1.5px solid var(--rh-primary);
    border-radius: var(--rh-radius);
    padding: 0.9rem 2.25rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    transition: var(--rh-transition);
}

.hero-section__actions .btn-hero-secondary:hover,
.hero-section__actions .btn-hero-secondary:focus {
    background: var(--rh-primary-light);
    border-color: var(--rh-primary);
    color: var(--rh-primary-hover);
    transform: translateY(-2px);
}

.hero-section__actions .btn-hero-secondary:active {
    transform: translateY(0);
}

/* El icono del botón acompaña el hover con un pequeño desplazamiento */
.hero-section__actions .btn-hero-primary i,
.hero-section__actions .btn-hero-secondary i {
    transition: transform 0.2s ease;
}

.hero-section__actions .btn-hero-secondary:hover i {
    transform: translateX(3px);
}

/* Mockups flotantes debajo del hero */
.hero-section__showcase {
    margin-top: 3.5rem;
}

.hero-showcase__card {
    background: var(--rh-white);
    border-radius: var(--rh-radius);
    box-shadow: var(--rh-shadow-sm);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--rh-gray-200);
    transition: var(--rh-transition);
}

.hero-showcase__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rh-shadow-md);
    border-color: var(--rh-primary-soft);
}

.hero-showcase__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    background: var(--rh-primary-light);
    color: var(--rh-primary);
}

.hero-showcase__icon--green,
.hero-showcase__icon--blue,
.hero-showcase__icon--purple,
.hero-showcase__icon--amber {
    background: var(--rh-primary-light);
    color: var(--rh-primary);
}

.hero-showcase__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--rh-dark);
    margin-bottom: 0.25rem;
}

.hero-showcase__text {
    font-size: 0.8rem;
    color: var(--rh-gray-500);
    margin-bottom: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Barra de confianza / logos de empresas
   Franja con logos de clientes o partners
   -------------------------------------------------------------------------- */
.trust-bar {
    background: var(--rh-white);
    border-bottom: 1px solid var(--rh-gray-100);
    padding: 2.5rem 0;
}

.trust-bar__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rh-gray-500);
    font-weight: 600;
}

.trust-bar__logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--rh-gray-300);
    transition: var(--rh-transition);
}

.trust-bar__logo:hover {
    color: var(--rh-gray-500);
}

/* --------------------------------------------------------------------------
   Sección de estadísticas (contadores)
   Números destacados con animación
   -------------------------------------------------------------------------- */
.stats-section {
    background: var(--rh-white);
    padding: 5rem 0;
}

.stats-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stats-card__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--rh-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-card__label {
    font-size: 1rem;
    color: var(--rh-gray-500);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Sección de normativa / aviso legal
   Bloque informativo con fondo degradado
   -------------------------------------------------------------------------- */
.compliance-section {
    background: var(--rh-gray-50);
    border-top: 1px solid var(--rh-gray-200);
    border-bottom: 1px solid var(--rh-gray-200);
    padding: 5rem 0;
}

.compliance-section__heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--rh-dark);
    line-height: 1.3;
}

.compliance-section__text {
    font-size: 1.1rem;
    color: var(--rh-gray-700);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Tarjetas de características (feature cards)
   Usadas en secciones de funcionalidades
   -------------------------------------------------------------------------- */
.feature-card {
    background: var(--rh-white);
    border-radius: var(--rh-radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--rh-gray-200);
    transition: var(--rh-transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rh-shadow-md);
    border-color: var(--rh-primary-soft);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.feature-card__icon--primary,
.feature-card__icon--secondary,
.feature-card__icon--accent {
    background: var(--rh-primary-light);
    color: var(--rh-primary);
}

.feature-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rh-dark);
    margin-bottom: 0.75rem;
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--rh-gray-500);
    line-height: 1.7;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Secciones genéricas de contenido
   Bloques reutilizables con título h2 y contenido
   -------------------------------------------------------------------------- */
.content-section {
    padding: 6rem 0;
}

.content-section--gray {
    background: var(--rh-gray-50);
}

.content-section--white {
    background: var(--rh-white);
}

/* Modificador para reducir el padding-top cuando la sección va justo
   debajo de un hero y queremos que la transición sea más compacta. */
.content-section--tight-top {
    padding-top: 1.5rem;
}

.content-section__heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--rh-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.content-section__subheading {
    font-size: 1.1rem;
    color: var(--rh-gray-500);
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* --------------------------------------------------------------------------
   Sección de funcionalidades con iconos (feature list)
   Lista de características con check marks
   -------------------------------------------------------------------------- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
}

.feature-list__icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--rh-primary-light);
    color: var(--rh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    margin-top: 2px;
}

.feature-list__text {
    font-size: 1.05rem;
    color: var(--rh-gray-700);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Mockup visual de funcionalidad
   Placeholder visual para capturas de pantalla
   -------------------------------------------------------------------------- */
.feature-visual {
    background: var(--rh-gray-50);
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius-lg);
    padding: 3rem 2rem;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-visual__placeholder {
    text-align: center;
    color: var(--rh-gray-500);
}

.feature-visual__placeholder i {
    font-size: 3.5rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 1rem;
}

.feature-visual__placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.5;
}

/* Imagen real de capturas de pantalla cuando existe el archivo en
   public/assets/img/landing/. Se renderiza en lugar de .feature-visual. */
.feature-visual__image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--rh-radius-lg);
    box-shadow: var(--rh-shadow-md);
}

/* --------------------------------------------------------------------------
   Sección de testimonios
   Carousel o grid de opiniones de clientes
   -------------------------------------------------------------------------- */
.testimonials-section {
    background: var(--rh-white);
    padding: 6rem 0;
}

.testimonial-card {
    background: var(--rh-gray-100);
    border-radius: var(--rh-radius-lg);
    padding: 2.25rem;
    height: 100%;
    border: 1px solid transparent;
    transition: var(--rh-transition);
}

.testimonial-card:hover {
    border-color: var(--rh-primary-light);
    box-shadow: var(--rh-shadow-card);
}

/* Estrellas de valoración del testimonio */
.testimonial-card__stars {
    color: var(--rh-accent);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonial-card__quote {
    font-size: 1rem;
    color: var(--rh-gray-700);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rh-white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-card__name {
    font-weight: 700;
    color: var(--rh-dark);
    font-size: 0.95rem;
}

.testimonial-card__role {
    font-size: 0.85rem;
    color: var(--rh-gray-500);
}

/* --------------------------------------------------------------------------
   Sección de Contacto
   Formulario de contacto con info lateral (estilo controllaboral)
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 6rem 0;
    background: var(--rh-gray-50);
    position: relative;
}

.contact-section__heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--rh-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.contact-section__text {
    font-size: 1.1rem;
    color: var(--rh-gray-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-section__checks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-section__checks li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--rh-dark);
    margin-bottom: 0.85rem;
}

.contact-section__checks li i {
    color: var(--rh-primary);
    font-size: 1.1rem;
}

.contact-form-card {
    background: var(--rh-white);
    border-radius: var(--rh-radius);
    padding: 2.5rem;
    box-shadow: var(--rh-shadow-sm);
    border: 1px solid var(--rh-gray-200);
}

.contact-form-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--rh-gray-500);
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rh-gray-100);
}

.contact-form-card__input {
    border: 1px solid var(--rh-gray-300);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--rh-transition);
}

.contact-form-card__input:focus {
    border-color: var(--rh-primary);
    box-shadow: 0 0 0 3px rgba(98, 54, 246, 0.15);
}

.contact-form-card__input::placeholder {
    color: var(--rh-gray-500);
}

.contact-form-card__check-label {
    font-size: 0.9rem;
    color: var(--rh-gray-700);
}

.contact-form-card__check-label a {
    color: var(--rh-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-form-card__check-label a:hover {
    text-decoration: underline;
}

.contact-section__normativa {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--rh-white);
    border-left: 4px solid var(--rh-primary);
    border-radius: 0 var(--rh-radius) var(--rh-radius) 0;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    box-shadow: var(--rh-shadow-sm);
}

.contact-section__normativa > i {
    font-size: 1.5rem;
    color: var(--rh-primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-section__normativa strong {
    display: block;
    font-size: 0.95rem;
    color: var(--rh-dark);
    margin-bottom: 0.4rem;
}

.contact-section__normativa p {
    font-size: 0.85rem;
    color: var(--rh-gray-500);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Sección de precios
   Cards de planes con destaque en el plan recomendado
   -------------------------------------------------------------------------- */
.pricing-section {
    padding: 6rem 0;
    background: var(--rh-white);
}

/* --------------------------------------------------------------------------
   Widget de planes de suscripción (precios por tramo de empleados)
   -------------------------------------------------------------------------- */
.rh-sub-plans {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.rh-sub-plans__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--rh-dark);
    margin-bottom: 0.35rem;
}

.rh-sub-plans__subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--rh-primary);
    margin-bottom: 1.75rem;
}

.rh-sub-plans__card {
    background: var(--rh-gray-100);
    border-radius: var(--rh-radius-lg);
    border: 1px solid var(--rh-gray-200);
    padding: 1.75rem 1.25rem 2rem;
    box-shadow: var(--rh-shadow-sm);
}

/* Calculadora: input numérico + botones +/− para ajustar el nº de empleados */
.rh-sub-plans__input-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.rh-sub-plans__step {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rh-gray-200);
    background: var(--rh-white);
    color: var(--rh-primary);
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--rh-transition);
    box-shadow: var(--rh-shadow-sm);
}

.rh-sub-plans__step:hover {
    border-color: var(--rh-primary);
    background: var(--rh-primary-light);
}

.rh-sub-plans__step:focus-visible {
    outline: 2px solid var(--rh-primary);
    outline-offset: 2px;
}

.rh-sub-plans__input {
    width: 5rem;
    height: 3rem;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--rh-dark);
    background: var(--rh-white);
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius);
    padding: 0 0.5rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

.rh-sub-plans__input::-webkit-outer-spin-button,
.rh-sub-plans__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.rh-sub-plans__input:focus {
    outline: none;
    border-color: var(--rh-primary);
    box-shadow: 0 0 0 3px rgba(98, 54, 246, 0.15);
}

.rh-sub-plans__input-suffix {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rh-gray-700);
    margin-right: 0.35rem;
}

/* Etiqueta del tramo detectado arriba del precio ("De 1 a 5 empleados") */
.rh-sub-plans__match {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rh-primary);
    text-transform: none;
}

.rh-sub-plans__price-row {
    min-height: 3.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem 0.35rem;
}

.rh-sub-plans__price-num {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: var(--rh-dark);
    letter-spacing: -0.02em;
}

.rh-sub-plans__price-eur {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--rh-dark);
}

.rh-sub-plans__price-suffix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--rh-gray-700);
    margin-left: 0.15rem;
}

.rh-sub-plans__note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--rh-gray-500);
}

/* Subtítulo bajo el precio (plan por empleado) */
.rh-sub-plans__per-employee {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rh-gray-500);
}

/* Etiqueta bajo el precio en planes de tarifa plana ("Precio total de la suscripción") */
.rh-sub-plans__price-label {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rh-gray-500);
}

/* --------------------------------------------------------------------------
   Tabla completa de tramos de precio
   Contenido estático (SEO long-tail) que lista todos los planes con su precio.
   Se renderiza siempre bajo la calculadora de empleados.
   -------------------------------------------------------------------------- */
.rh-plans-table-wrap {
    max-width: 720px;
    margin: 2.5rem auto 0;
}

.rh-plans-table__title {
    color: var(--rh-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.rh-plans-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--rh-white);
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius);
    overflow: hidden;
    box-shadow: var(--rh-shadow-sm);
}

.rh-plans-table thead th {
    background: var(--rh-gray-50);
    color: var(--rh-gray-700);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.9rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--rh-gray-200);
}

.rh-plans-table thead th:last-child {
    text-align: right;
}

.rh-plans-table tbody th,
.rh-plans-table tbody td {
    padding: 0.95rem 1.25rem;
    color: var(--rh-dark);
    font-size: 1rem;
    border-bottom: 1px solid var(--rh-gray-200);
}

.rh-plans-table tbody th {
    font-weight: 600;
    text-align: left;
}

.rh-plans-table tbody td {
    text-align: right;
    color: var(--rh-gray-700);
}

.rh-plans-table tbody td strong {
    color: var(--rh-dark);
    font-weight: 800;
}

.rh-plans-table tbody tr:last-child th,
.rh-plans-table tbody tr:last-child td {
    border-bottom: none;
}

.rh-plans-table tbody tr:hover th,
.rh-plans-table tbody tr:hover td {
    background: var(--rh-primary-light);
}

/* --------------------------------------------------------------------------
   Trust row — badges de confianza bajo el hero de precios
   (sin permanencia, sin cuota de alta, prueba gratis, sin tarjeta)
   -------------------------------------------------------------------------- */
.rh-trust-row {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    max-width: 760px;
}

.rh-trust-row__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--rh-primary-light);
    color: var(--rh-primary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--rh-primary-soft);
}

.rh-trust-row__item i {
    font-size: 1rem;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   Aviso de plantilla grande (+60 empleados) en página de precios
   Bloque horizontal con icono, copy y CTA hacia contacto
   -------------------------------------------------------------------------- */
.rh-big-plan {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--rh-gray-50);
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius-lg);
    box-shadow: var(--rh-shadow-sm);
}

.rh-big-plan__icon {
    flex: 0 0 auto;
    width: 3.25rem;
    height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rh-primary-light);
    color: var(--rh-primary);
    border-radius: 50%;
    font-size: 1.5rem;
}

.rh-big-plan__body {
    flex: 1 1 280px;
}

.rh-big-plan__title {
    margin: 0.35rem 0 0.5rem;
    color: var(--rh-dark);
    font-weight: 700;
}

.rh-big-plan__text {
    color: var(--rh-gray-700);
    line-height: 1.6;
}

.rh-big-plan__cta {
    flex: 0 0 auto;
}

@media (max-width: 575.98px) {
    .rh-big-plan {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .rh-big-plan__cta {
        width: 100%;
    }

    .rh-big-plan__cta .btn {
        width: 100%;
    }
}

.pricing-card {
    background: var(--rh-white);
    border-radius: var(--rh-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--rh-gray-200);
    transition: var(--rh-transition);
    height: 100%;
}

.pricing-card:hover {
    border-color: var(--rh-primary-soft);
    box-shadow: var(--rh-shadow-md);
}

.pricing-card--featured {
    border-color: var(--rh-primary);
    box-shadow: var(--rh-shadow-md);
}

.pricing-card__badge {
    display: inline-block;
    background: var(--rh-primary);
    color: var(--rh-white);
    padding: 0.3rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rh-dark);
    margin-bottom: 0.5rem;
}

.pricing-card__price {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--rh-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-card__period {
    font-size: 0.9rem;
    color: var(--rh-gray-500);
    margin-bottom: 2rem;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.pricing-card__features li {
    padding: 0.5rem 0;
    color: var(--rh-gray-700);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card__features li i {
    color: var(--rh-primary);
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Footer
   Pie de página con columnas de enlaces e info legal
   -------------------------------------------------------------------------- */
.footer-rehojo {
    background: var(--rh-gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
}

.footer-rehojo__brand {
    margin-bottom: 1rem;
}

.footer-rehojo__logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-rehojo__description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

/* Línea de soporte bajo la descripción del footer (correo de contacto) */
.footer-rehojo__support {
    font-size: 0.95rem;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-rehojo__support-label {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 0.35rem;
}

.footer-rehojo__support a {
    color: var(--rh-white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--rh-transition);
}

.footer-rehojo__support a:hover,
.footer-rehojo__support a:focus {
    color: var(--rh-accent);
    text-decoration: underline;
}

.footer-rehojo__heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rh-white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.footer-rehojo__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-rehojo__links li {
    margin-bottom: 0.6rem;
}

.footer-rehojo__links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--rh-transition);
}

.footer-rehojo__links a:hover {
    color: var(--rh-white);
}

/* Barra inferior del footer con copyright */
.footer-rehojo__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.5rem 0;
}

.footer-rehojo__copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-rehojo__legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--rh-transition);
}

.footer-rehojo__legal a:hover {
    color: var(--rh-white);
}

/* --------------------------------------------------------------------------
   Botones reutilizables
   Estilos de botones globales del proyecto
   -------------------------------------------------------------------------- */
.btn-primary-rehojo {
    background: var(--rh-dark);
    color: var(--rh-white);
    border: 1px solid var(--rh-dark);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--rh-transition);
}

.btn-primary-rehojo:hover {
    background: var(--rh-gray-700);
    border-color: var(--rh-gray-700);
    color: var(--rh-white);
}

.btn-outline-rehojo {
    background: transparent;
    color: var(--rh-gray-700);
    border: 1px solid var(--rh-gray-300);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--rh-transition);
}

.btn-outline-rehojo:hover {
    border-color: var(--rh-primary);
    color: var(--rh-primary);
}

/* --------------------------------------------------------------------------
   Encabezados de sección (reutilizable)
   Títulos centrados con línea decorativa
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header__tag {
    display: inline-block;
    background: var(--rh-primary-light);
    color: var(--rh-primary);
    padding: 0.35rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Precio en el Hero
   Bloque de precio destacado dentro del hero centrado
   -------------------------------------------------------------------------- */
.hero-section__price {
    margin-bottom: 2rem;
}

.hero-section__price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--rh-primary);
}

.hero-section__price-detail {
    display: block;
    font-size: 0.95rem;
    color: var(--rh-gray-500);
    margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Tabs de funcionalidades (estilo pills personalizadas)
   Pestañas tipo relojlaboral para secciones de detalle
   -------------------------------------------------------------------------- */
.tabs-rehojo {
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tabs-rehojo .nav-link {
    background: var(--rh-white);
    color: var(--rh-gray-500);
    border-radius: 8px !important;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--rh-transition);
    border: 1px solid var(--rh-gray-200);
    text-align: center;
    min-width: 120px;
}

.tabs-rehojo .nav-link:hover {
    color: var(--rh-primary);
    border-color: var(--rh-primary-soft);
    background: var(--rh-primary-light);
}

.tabs-rehojo .nav-link.active {
    background: var(--rh-primary);
    color: var(--rh-white);
    border-color: var(--rh-primary);
}

.tabs-rehojo .nav-link i {
    font-size: 1.2rem;
}

/* Contenido dentro de cada panel de tab */
.tab-panel__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rh-dark);
    margin-bottom: 1rem;
}

.tab-panel__text {
    font-size: 1.05rem;
    color: var(--rh-gray-700);
    line-height: 1.7;
}

/* Mini-cards dentro de los paneles de tabs */
.tab-panel__mini-card {
    background: var(--rh-white);
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius);
    padding: 1rem;
    text-align: center;
    height: 100%;
    transition: var(--rh-transition);
}

.tab-panel__mini-card:hover {
    border-color: var(--rh-primary-soft);
}

.tab-panel__mini-card i {
    font-size: 1.3rem;
    color: var(--rh-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.tab-panel__mini-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--rh-dark);
    margin-bottom: 0.25rem;
}

.tab-panel__mini-card span {
    font-size: 0.8rem;
    color: var(--rh-gray-500);
}

/* --------------------------------------------------------------------------
   Bloques de detalle (dentro de secciones zigzag)
   Sub-bloques con icono + titulo + texto
   -------------------------------------------------------------------------- */
.detail-block {
    padding: 1rem 0;
    border-bottom: 1px solid var(--rh-gray-300);
}

.detail-block:last-child {
    border-bottom: none;
}

.detail-block__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rh-dark);
    margin-bottom: 0.5rem;
}

.detail-block__title i {
    color: var(--rh-primary);
}

.detail-block__text {
    font-size: 0.95rem;
    color: var(--rh-gray-500);
    line-height: 1.7;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Modales de Login y Registro
   Ventanas modales con formularios de acceso y alta
   -------------------------------------------------------------------------- */
.modal-rehojo {
    border: 1px solid var(--rh-gray-200);
    border-radius: var(--rh-radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.modal-rehojo__header {
    border-bottom: none;
    padding: 1.5rem 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-rehojo__brand {
    display: flex;
    align-items: center;
}

.modal-rehojo__logo {
    height: 28px;
    width: auto;
}

.modal-rehojo__body {
    padding: 1.5rem 2rem 2rem;
}

.modal-rehojo__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rh-dark);
    margin-bottom: 0.35rem;
}

.modal-rehojo__subtitle {
    font-size: 0.95rem;
    color: var(--rh-gray-500);
    margin-bottom: 1.75rem;
}

.modal-rehojo__input {
    border: 1px solid var(--rh-gray-300);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--rh-transition);
}

.modal-rehojo__input:focus {
    border-color: var(--rh-primary);
    box-shadow: 0 0 0 3px rgba(98, 54, 246, 0.15);
}

.modal-rehojo__input::placeholder {
    color: var(--rh-gray-500);
}

.modal-rehojo__check-label {
    font-size: 0.9rem;
    color: var(--rh-gray-700);
}

.modal-rehojo__check-label a {
    color: var(--rh-primary);
    text-decoration: none;
    font-weight: 500;
}

.modal-rehojo__check-label a:hover {
    text-decoration: underline;
}

.modal-rehojo__disclaimer {
    font-size: 0.8rem;
    color: var(--rh-gray-500);
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.modal-rehojo__footer-links {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--rh-gray-500);
}

.modal-rehojo__footer-links a {
    color: var(--rh-primary);
    text-decoration: none;
    font-weight: 600;
}

.modal-rehojo__footer-links a:hover {
    text-decoration: underline;
}

/* Botón secundario: iniciar sesión con código (armonizado con la marca) */
.btn-rehojo-login-code {
    background-color: var(--rh-white);
    border: 1px solid var(--rh-primary-soft);
    color: var(--rh-primary);
    font-weight: 600;
    border-radius: var(--rh-radius);
    transition: var(--rh-transition);
}

.btn-rehojo-login-code:hover {
    background-color: var(--rh-primary-light);
    border-color: var(--rh-primary);
    color: var(--rh-primary-hover);
}

.btn-rehojo-login-code:focus-visible {
    border-color: var(--rh-primary);
    box-shadow: 0 0 0 3px rgba(98, 54, 246, 0.18);
}

.btn-rehojo-login-code:disabled,
.btn-rehojo-login-code.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.modal-rehojo__separator {
    margin: 0 0.5rem;
    color: var(--rh-gray-300);
}

/* OTP login: 6 celdas para código numérico */
.rh-otp {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.rh-otp__cell {
    box-sizing: border-box;
    width: 2.75rem;
    height: 3rem;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: calc(3rem - 2px);
    color: var(--rh-gray-900);
    background-color: var(--rh-white);
    caret-color: var(--rh-primary);
    border: 1px solid var(--rh-gray-300);
    border-radius: 10px;
    transition: var(--rh-transition);
    -webkit-appearance: none;
    appearance: none;
}

.rh-otp__cell:focus {
    border-color: var(--rh-primary);
    box-shadow: 0 0 0 3px rgba(98, 54, 246, 0.15);
    outline: none;
}

.rh-otp__cell.is-invalid {
    border-color: #dc3545;
    background-color: var(--rh-white);
    background-image: none;
    padding-right: 0;
}

.rh-otp__cell.is-valid {
    border-color: var(--rh-success);
    background-color: var(--rh-white);
    background-image: none;
    padding-right: 0;
}

@media (max-width: 380px) {
    .rh-otp {
        gap: 0.35rem;
    }

    .rh-otp__cell {
        width: 2.35rem;
        height: 2.75rem;
        font-size: 1.35rem;
        line-height: calc(2.75rem - 2px);
    }
}

/* Icono de confirmación en modal de recuperación de contraseña */
.modal-rehojo__success-icon {
    font-size: 3rem;
    color: var(--rh-primary);
}

/* --------------------------------------------------------------------------
   Responsive: Tablet (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-section__title {
        font-size: 2.75rem;
    }

    .hero-section__mockup {
        min-height: 300px;
        margin-top: 3rem;
    }

    .content-section__heading,
    .compliance-section__heading {
        font-size: 1.85rem;
    }

    .contact-section__heading {
        font-size: 2rem;
    }
}

/* --------------------------------------------------------------------------
   Responsive: Móvil (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 6rem 0 3rem;
    }

    .hero-section__title {
        font-size: 2rem;
    }

    .hero-section__subtitle {
        font-size: 1rem;
    }

    .hero-section__actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .stats-card__number {
        font-size: 2.25rem;
    }

    .content-section {
        padding: 4rem 0;
    }

    .content-section__heading,
    .compliance-section__heading {
        font-size: 1.65rem;
    }

    .contact-section__heading {
        font-size: 1.75rem;
    }

    .pricing-card--featured {
        transform: none;
    }

    /* En móvil el menú colapsado necesita fondo */
    .navbar-rehojo .navbar-collapse {
        background: var(--rh-white);
        border-radius: var(--rh-radius);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--rh-shadow-md);
    }
}

/* --------------------------------------------------------------------------
   Validación de formularios
   Estados visuales, errores, toggle contraseña, indicador de fuerza, honeypot
   -------------------------------------------------------------------------- */

/* Mensaje de error por campo */
.rh-field__error {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 0.25rem;
    line-height: 1.3;
    transition: var(--rh-transition);
}

.rh-field__error:empty {
    display: none;
}

/* Borde verde/rojo en inputs al validar */
.rh-field .form-control.is-valid,
.rh-field .form-select.is-valid {
    border-color: var(--rh-success);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.rh-field .form-control.is-invalid,
.rh-field .form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.rh-field .form-check-input.is-invalid {
    border-color: #dc3545;
}

.rh-field .form-check-input.is-valid {
    border-color: var(--rh-success);
}

/* Wrapper para input + botón toggle contraseña */
.rh-password-wrapper {
    position: relative;
}

.rh-password-wrapper .form-control {
    padding-right: 3rem;
    background-position: right 3rem center;
}

.rh-password-wrapper .form-control.is-valid,
.rh-password-wrapper .form-control.is-invalid {
    background-image: none;
}

.rh-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--rh-gray-500);
    font-size: 1.15rem;
    line-height: 1;
    transition: var(--rh-transition);
}

.rh-password-toggle:hover {
    color: var(--rh-primary);
}

.rh-password-toggle:focus-visible {
    outline: 2px solid var(--rh-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Indicador de fuerza de contraseña */
.rh-strength {
    margin-top: 0.5rem;
}

.rh-strength__bar {
    height: 4px;
    border-radius: 2px;
    background: var(--rh-gray-300);
    overflow: hidden;
}

.rh-strength__fill {
    height: 100%;
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.rh-strength__fill[data-level="1"] { width: 25%; background: #dc2626; }
.rh-strength__fill[data-level="2"] { width: 50%; background: #d97706; }
.rh-strength__fill[data-level="3"] { width: 75%; background: var(--rh-primary); }
.rh-strength__fill[data-level="4"] { width: 100%; background: var(--rh-success); }

.rh-strength__label {
    font-size: 0.75rem;
    margin-top: 0.2rem;
    color: var(--rh-gray-500);
}

.rh-strength__label[data-level="1"] { color: #dc2626; }
.rh-strength__label[data-level="2"] { color: #d97706; }
.rh-strength__label[data-level="3"] { color: var(--rh-primary); }
.rh-strength__label[data-level="4"] { color: var(--rh-success); }

/* Honeypot: invisible para humanos, visible para bots */
.rh-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Rows alternadas de la landing (content-section + imagen/placeholder)
   Titulares y textos dentro de cada row (no centrados)
   -------------------------------------------------------------------------- */
.content-row__heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rh-dark);
    line-height: 1.25;
    margin: 0.85rem 0 1rem;
}

.content-row__intro {
    font-size: 1.05rem;
    color: var(--rh-gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Enlace contextual al final de la row, que apunta a una página de detalle */
.content-row__link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    color: var(--rh-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--rh-transition);
}

.content-row__link:hover,
.content-row__link:focus {
    color: var(--rh-dark);
    text-decoration: underline;
}

.content-row__link i {
    transition: transform 0.2s ease;
}

.content-row__link:hover i {
    transform: translateX(4px);
}

/* Variante de fondo para la row de "Servicio adicional / Integración a medida" */
.content-section--integration {
    background: var(--rh-primary-light);
    padding: 6rem 0;
}

/* --------------------------------------------------------------------------
   Bloque "5 herramientas en 1"
   Callout destacado con 5 cards en una fila
   -------------------------------------------------------------------------- */
.bundle5-section {
    background: linear-gradient(135deg, var(--rh-primary-dark) 0%, var(--rh-primary) 100%);
    color: var(--rh-white);
    padding: 6rem 0;
}

.bundle5-section__kicker {
    background: rgba(255, 255, 255, 0.15);
    color: var(--rh-white);
}

.bundle5-section__heading {
    color: var(--rh-white);
}

.bundle5-section__intro {
    color: rgba(255, 255, 255, 0.85);
}

.bundle5-col {
    flex: 0 0 auto;
    width: auto;
    min-width: 180px;
    max-width: 220px;
}

.bundle5-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--rh-radius-lg);
    padding: 1.75rem 1.25rem;
    transition: var(--rh-transition);
}

.bundle5-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-3px);
}

.bundle5-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rh-white);
    color: var(--rh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.bundle5-card__title {
    color: var(--rh-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.bundle5-card__text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 991.98px) {
    .bundle5-col {
        max-width: none;
    }
}

/* --------------------------------------------------------------------------
   Acordeón de preguntas frecuentes (FAQs)
   Sobrescribe estilos del acordeón de Bootstrap para alinear con la marca
   -------------------------------------------------------------------------- */
.rh-faq {
    --bs-accordion-border-color: var(--rh-gray-200);
    --bs-accordion-border-radius: var(--rh-radius);
    --bs-accordion-active-color: var(--rh-primary);
    --bs-accordion-active-bg: var(--rh-primary-light);
    --bs-accordion-btn-focus-border-color: var(--rh-primary);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(98, 54, 246, 0.15);
}

.rh-faq__item {
    margin-bottom: 0.75rem;
    border-radius: var(--rh-radius) !important;
    overflow: hidden;
    box-shadow: var(--rh-shadow-card);
}

.rh-faq__button {
    font-weight: 600;
    color: var(--rh-dark);
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
}

.rh-faq__button:not(.collapsed) {
    box-shadow: none;
}

.rh-faq__body {
    color: var(--rh-gray-700);
    line-height: 1.7;
    padding: 1rem 1.25rem 1.5rem;
}

/* --------------------------------------------------------------------------
   Sección CTA final
   Llamada a la acción de cierre con fondo oscuro
   -------------------------------------------------------------------------- */
.cta-final {
    background: var(--rh-dark);
    color: var(--rh-white);
    padding: 6rem 0;
    text-align: center;
}

.cta-final__kicker {
    background: rgba(255, 255, 255, 0.15);
    color: var(--rh-white);
}

.cta-final__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--rh-white);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.cta-final__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 640px;
}

/* Variante de los CTAs sobre el fondo oscuro del cta-final:
   el primario refuerza el glow morado y el secundario pasa a outline blanco
   para integrarse con el fondo oscuro (en el hero sobre fondo claro se ve blanco). */
.cta-final .hero-section__actions .btn-hero-primary {
    box-shadow: 0 6px 22px rgba(98, 54, 246, 0.45);
}

.cta-final .hero-section__actions .btn-hero-primary:hover,
.cta-final .hero-section__actions .btn-hero-primary:focus {
    box-shadow: 0 10px 30px rgba(98, 54, 246, 0.55);
}

.cta-final .hero-section__actions .btn-hero-secondary {
    background: transparent;
    color: var(--rh-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-final .hero-section__actions .btn-hero-secondary:hover,
.cta-final .hero-section__actions .btn-hero-secondary:focus {
    background: var(--rh-white);
    color: var(--rh-primary);
    border-color: var(--rh-white);
}
