:root {
    --color-naranja: #ff6600;
    --color-lightest: #ffffff;
    --color-light: #366370;
    --color-medium: #214E5A;
    --color-dark: #103944;
    --color-darker: #04242D;
    --color-darkest: #011319;
}

/* para barra fija. Ajustes para enlaces ancla */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Valor inicial */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
	
	/* para barra fija */
	/*padding-top: 59.18px; 
    scroll-padding-top: 59.18px;*/
    margin: 0;
}

/* Barra de descuento - COMPACTA */
.discount-bar {
    background-color: var(--color-darkest);
    color: var(--color-lightest);
    padding: 10px 0;
    font-size: 1.1rem;
    /*border-bottom: 2px solid var(--color-darker);*/
	
	/* Fija en la parte superior */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050; /* Superior a todo */
    
    /* Mejoras visuales */
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);*/
    backdrop-filter: blur(10px);
    background-color: rgba(1, 19, 25, 0.98); /* Con transparencia */
	
	/* Sombra para definir el borde inferior */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    
    /* Sin bordes */
	margin: 0;
    border: none;
	/* Asegurar que el padding interno no cause overflow */
    box-sizing: border-box;
}

/* Contenedores internos */
.discount-bar > .container-fluid,
.second-navbar > .container-fluid {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
}

.discount-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.discount-text {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    white-space: nowrap;
}

.timer-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.timer {
    background-color: var(--color-darker);
    color: #ffcc00;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    min-width: 85px;
    text-align: center;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.btn-start {
    background-color: #ff6600;
    color: white;
    font-weight: bold;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-start:hover {
    background-color: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

/* Contenedor principal */
.main-container {
    min-height: 100vh;
    background: linear-gradient(to bottom, var(--color-darker), var(--color-darkest));
    color: var(--color-lightest);
    padding: 20px;
}

/* Ajustes para reducir espacios laterales */
.container-fluid {
    padding-left: 10px;
    padding-right: 10px;
}

/* Estilos para información del contador */
.counter-info {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.counter-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffcc00;
    font-family: 'Courier New', monospace;
}

/* Estilos para la tarjeta */
.card {
    background-color: var(--color-dark) !important;
    border-color: var(--color-medium) !important;
}

.card-body {
    color: var(--color-lightest);
}

/* Animación para el contador */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Responsividad - Mantener en una línea el mayor tiempo posible */
@media (max-width: 1200px) {
    .discount-content {
        gap: 8px;
    }
    
    .discount-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .discount-content {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .discount-text {
        flex-wrap: wrap;
        white-space: normal;
        gap: 5px;
        font-size: 0.8rem;
    }
	
	/* para barra fija */
	.discount-bar {
        padding: 8px 0;
        font-size: 0.8rem;
    }
    
    body {
        padding-top: 56px;
        scroll-padding-top: 56px;
    }
    
    /*.second-navbar {
        top: 56px !important;
    }*/
}

@media (max-width: 768px) {
    .discount-bar {
        padding: 8px 0;
    }
    
    .discount-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .discount-text {
        justify-content: center;
        text-align: center;
        white-space: normal;
    }
    
    .timer-container {
        width: 100%;
        justify-content: center;
    }
    
    .btn-start {
        padding: 5px 14px;
        font-size: 0.85rem;
    }
    
    .timer {
        min-width: 80px;
        font-size: 0.85rem;
        padding: 3px 8px;
    }
	
	/* para barra fija */
	body {
        padding-top: 52px;
        scroll-padding-top: 52px;
    }
    
    /*.second-navbar {
        top: 52px !important;
    }*/
    
    /* Ajustar botón en móviles */
    .discount-content .btn-start {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .discount-text {
        font-size: 0.75rem;
    }
    
    .discount-text span {
        display: inline;
    }
}


/************************ Segunda barra de navegación ************************/
.second-navbar {
    background-color: var(--color-dark);
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--color-darkest);
	
	/* para barra fija */
	position: sticky;
    /* top: 62px;  Altura de discount-bar */
	/*top: 59.18px !important; */
	top: 0;
    z-index: 1040;
	
	/* Eliminar cualquier borde superior */
    margin: 0;
    padding: 0;
    border: none;
    
    /* Solo sombra inferior para definir separación con contenido */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Logo */
.navbar-brand img {
    border-radius: 4px;
    padding: 5px;
    background-color: var(--color-dark);
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Elementos de navegación */
.navbar-nav .nav-link {
    color: var(--color-lightest) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ffcc00 !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Animación del subrayado al hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #ffcc00;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

/* Botón toggler para móviles */
.navbar-toggler {
    border-color: var(--color-light);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.25);
}

.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%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        padding: 0.5rem;
    }
    
    .navbar-nav .nav-link:hover::after {
        width: 30%;
    }
}

@media (max-width: 768px) {
    .second-navbar {
        padding: 0.3rem 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
}


.hero-section {
    /* Define la altura de la sección principal (ajusta según tu diseño) */
    min-height: 90vh;
    width: 100%;
    
    background: linear-gradient(
        to right,
        var(--color-light) 0%,
        var(--color-darkest) 100%
    );
    

    /* Asegura que el contenido (logo, mujer, formulario) esté legible */
    color: var(--color-lightest); 
    
    /* Propiedades de visualización para el contenido interno (opcional) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cambiar color de las etiquetas */
#subscriptionForm .form-label, #subscriptionForm p {
    color: #04242D;
    margin-bottom: 0.25rem; /* Reduce espacio entre label e input */
}


/* WOW.js - Configuración esencial */
.wow {
    visibility: hidden;
}

/* No necesitas estas líneas si usas animate.css v4.1.1 */
/* .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
} */

/* Para debug */
.debug-mode .wow {
    outline: 2px solid red;
    position: relative;
}



/************************  Seccion de precios  ************************/
.pricing-bg-test {
    /* height: 900px; */
	
	min-height: 900px; /* Mantiene la altura en escritorio si hay poco contenido */
    height: auto;      /* Permite que crezca si el contenido se apila */
    padding: 80px 0;   /* Da espacio arriba y abajo para que no se corte el contenido */
	
    background-image: url('../img/hombres_contentos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* filtro tipo lente */
.pricing-bg-test::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #366370;
    opacity: 0.35;   /* ajusta entre 0.25 y 0.45 */
    pointer-events: none;
}

/* contenido sin afectar */
.pricing-bg-test > * {
    position: relative;
    z-index: 1;
}

 /* Título de la sección */
	.pricing-title {
		color: white;
		font-size: 2.5rem;
		font-weight: 700;
		margin-bottom: 1rem;
		text-align: center;
	}

	.pricing-subtitle {
		color: #FF9800;
		font-size: 1.5rem;
		font-weight: 600;
		margin-bottom: 3rem;
		text-align: center;
	}

	/* Cards de precios */
	.pricing-card {
		background: white;
		border-radius: 15px;
		padding: 2rem 1.5rem;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
		height: 100%;
		display: flex;
		flex-direction: column;
		transition: transform 0.3s ease, box-shadow 0.3s ease;
	}

	.pricing-card:hover {
		transform: translateY(-10px);
		box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
	}

	.pricing-icon {
		width: 250px;
		height: 250px;
		margin: 0 auto 1.5rem;
		object-fit: contain;
	}

	.pricing-card-title {
		/*color: #0277BD;*/
		color: var(--color-darker);
		font-size: 1.5rem;
		font-weight: 700;
		text-align: center;
		margin-bottom: 1rem;
	}

	.pricing-price {
		text-align: center;
		margin-bottom: 1.5rem;
	}

	.price-amount {
		/*color: #4CAF50;*/
		color: 011319;
		font-size: 1.8rem;
		font-weight: 600;
	}

	.price-currency {
		color: #666;
		font-size: 1.2rem;
	}

	.price-period {
		color: #666;
		font-size: 0.9rem;
	}

	.pricing-features {
		list-style: none;
		padding: 0;
		margin-bottom: 1.5rem;
		flex-grow: 1;
	}

	.pricing-features li {
		padding: 0.3rem 0;
		position: relative;

		padding-left: 20px; /* Espacio entre viñeta y texto */
		/*color: #555;		*/
		color: var(--color-medium);
		font-size: 0.95rem;
		line-height: 1.5;
	}

	.pricing-features li:before {
		content: "✓";
		position: absolute;
		left: 0;
		color: var(--color-darker);
		font-weight: bold;
		font-size: 1.2rem;
	}

.pricing-features li ul li:before {
    content: none;
}

	.pricing-btn {
		/*background-color: #FF9800;*/
		background-color: var(--color-darker);
		color: white;
		border: none;
		padding: 0.8rem 2rem;
		border-radius: 25px;
		font-weight: 600;
		font-size: 1rem;
		transition: background-color 0.3s ease, transform 0.2s ease;
		width: 100%;
	}

	.pricing-btn:hover {
		/*background-color: #F57C00;*/
		background-color: var(--color-light);
		transform: scale(1.05);
		color: white;
	}

	/* Responsivo */
	@media (max-width: 768px) {
		.pricing-title {
			font-size: 1.8rem;
		}
		
		.pricing-subtitle {
			font-size: 1.2rem;
		}
		
		.pricing-card {
			margin-bottom: 2rem;
		}
	}
	
	@media (max-width: 992px) {
    .pricing-bg-test {
        min-height: auto; /* En móviles no forzamos los 900px */
        padding: 60px 0;
    }
}


/************************ Sección Tripanel ************************/
/************************ Sección Tripanel - VERSIÓN CORREGIDA DEFINITIVA ************************/

.tripanel-section {
    background: linear-gradient(to bottom, 
        var(--color-light) 0%, 
        var(--color-medium) 30%, 
        var(--color-dark) 100%);
    color: var(--color-lightest);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.tripanel-title {
    color: var(--color-lightest);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

/*
.tripanel-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background-color: #ffcc00;
    border-radius: 2px;
}*/
.tripanel-title::after {
    display: none;
}
/* Tarjetas */
.tripanel-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tripanel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 204, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.12);
}

/* Contenedor de imagen */
.tripanel-img-container {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}


.tripanel-icon {
    width: 300px;
    height: 300px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.tripanel-card:hover .tripanel-icon {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(255, 204, 0, 0.3));
}

.tripanel-card-title {
    color: var(--color-lightest);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
    margin-top: 0.5rem;
}

/*
.tripanel-card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #ffcc00;
    border-radius: 1px;
}*/
.tripanel-card-title::after {
    display: none;
}

.tripanel-card-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    flex-grow: 1;
}


/* Responsividad */
@media (max-width: 1200px) {
    .tripanel-img-container {
        height: 280px;
    }
    
    .tripanel-icon {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 992px) {
    .tripanel-section {
        padding: 4rem 0;
    }
    
    .tripanel-title {
        font-size: 2.5rem;
    }
    
    .tripanel-img-container {
        height: 250px;
    }
    
    .tripanel-icon {
        width: 230px;
        height: 230px;
    }
}

@media (max-width: 768px) {
    .tripanel-section {
        padding: 3rem 0;
    }
    
    .tripanel-title {
        font-size: 2rem;
    }
    
    .tripanel-img-container {
        height: 220px;
    }
    
    .tripanel-icon {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .tripanel-img-container {
        height: 180px;
    }
    
    .tripanel-icon {
        width: 160px;
        height: 160px;
    }
}


/****************  Estilos para las cards de reseñas  ***************/
.reviews-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
}

.reviews-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

/* Asegurar legibilidad del texto */
.reviews-section .card-body {
    color: white;
}

.reviews-section .fst-italic {
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Ajustar iconos para mejor visibilidad */
.reviews-section .card h6 .bi {
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

/* Responsividad */
@media (max-width: 768px) {
    .reviews-section .card-body {
        padding: 1.5rem !important;
    }
    
    .reviews-section .fst-italic {
        font-size: 1rem;
    }
}



/* .contact-section { background: linear-gradient(135deg, #011319, #103944); color: #fff; } */

.contact-section {
    background-image: url("../img/fondo_contactos.jpeg");
    background-size: cover;
    /* La imagen cubre toda la sección */
    background-position: center;
    /* Centrada */
    background-repeat: no-repeat;
    /* No se repite */
}


/**************  sección Usuarios (a quién va dirigido) **************/

#usuarios {
    background-color: #f4f5f6;
}

/* Forzamos el fondo blanco y quitamos los bordes oscuros globales */
#usuarios .user-card {
    background-color: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

#usuarios .user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Forzamos que el texto dentro del body sea gris oscuro, no blanco */
#usuarios .user-card .card-body {
    color: #6c757d !important;
}

/* Título azul fuerte */
#usuarios .card-user-title {
    color: var(--color-medium) !important;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Ajuste de imagen */
#usuarios .user-card-img-top {
    height: 200px;
    object-fit: contain;
    padding: 20px;
}

/* --- Controles Swiper (igual que antes) --- */
.swiper-controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    position: relative;
}

.custom-swiper-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #103944;
    color: #103944;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.custom-swiper-btn:hover {
    background-color: #103944;
    color: #fff;
}

.swiper-pagination-custom {
    position: static !important;
    width: auto !important;
}

.swiper-pagination-bullet-active {
    background-color: #009ee3 !important;
}


/**************** Secction Acerca de incontt 2 ******************/
.sat-section {
	background-color: #214E5A;
	color: white;
	padding: 4rem 0;
}

.colorful-title {
	background: linear-gradient(90deg, #FFD166, #EF476F, #06D6A0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 700;
}

.feature-card {
	background: transparent;
	border: none;
	transition: transform 0.3s;
	height: 100%;
}

.feature-card:hover {
	transform: translateY(-10px);
}

.step-circle {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: white;
	color: #214E5A;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 2rem;
	margin: 0 auto 1.5rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-title {
	color: #FFD166;
	font-weight: 700;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.btn-primary-custom {
	background: linear-gradient(90deg, #EF476F, #FF9A5A);
	border: none;
	padding: 0.75rem 2.5rem;
	font-weight: 600;
	font-size: 1.1rem;
	border-radius: 50px;
	transition: all 0.3s;
}

.btn-primary-custom:hover {
	transform: scale(1.05);
	box-shadow: 0 5px 15px rgba(239, 71, 111, 0.4);
}

.subtitle {
	color: #E0F2F1;
	font-size: 1.2rem;
	max-width: 800px;
	margin: 0 auto 2.5rem;
}

/* Estilos para el modal */
.modal-content {
	border-radius: 15px;
	border: none;
}

.modal-header {
	background-color: #214E5A;
	color: white;
	border-radius: 15px 15px 0 0;
}

.btn-close-white {
	filter: invert(1) grayscale(100%) brightness(200%);
}


.contacto {
	background-color: var(--color-darkest);
	color: white;
	padding: 2rem 0;
	margin-top: 3rem;
}


/************************ Sección HERO - Ajuste Búho ************************/

.buho-container {
    background-color: var(--color-darkest);
    padding: 2rem 0; /* Un poco de aire arriba y abajo */
}

/* El nuevo contenedor interno que controla el tamaño */
.buho-wrapper {
    width: 100%;
    max-width: 750px; /* AQUÍ ESTÁ LA CLAVE: Cambia este valor para hacer al búho más grande o más chico (ej. 600px, 800px) */
    margin: 0 auto; /* Lo mantiene centrado */
}

.buho-img {
    display: block;
    object-fit: contain;
}

/* El texto superpuesto (se mantienen tus porcentajes) */
.buho-text-overlay {
    position: absolute;
    z-index: 10;
    
    /* Ajusta estos valores si necesitas mover el texto respecto a la palma */
    top: 30%;         
    left: 60%;        
    transform: translateY(-50%); 
    
    width: 40%; /* Ancho del texto relativo al ancho del búho */
}

.buho-text-overlay h1 {
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    line-height: 1.2;
}

.buho-text-overlay p {
    font-size: clamp(0.9rem, 1.2vw, 1.15rem);
}

/* --- RESPONSIVIDAD (Móviles y Tablets) --- */
@media (max-width: 991.98px) {
    .buho-text-overlay {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        padding: 1.5rem;
        text-align: center;
        background: linear-gradient(to top, var(--color-darkest) 40%, transparent);
        margin-top: -60px; /* Lo sube ligeramente sobre la imagen */
    }
    
    .buho-wrapper {
        max-width: 500px; /* En móviles permitimos que sea un poco más chico */
    }
}


/* ==================== SECCIÓN HERO NOSOTROS E HISTORIA ==================== */
.hero-historia-section {
    /*background-color: #04242D; // Color oscuro basado en tu paleta actual */
    /*background-image: linear-gradient(to right, #011319, #04242D);*/
    background-color: #04181D; 
    background-image: linear-gradient(to right, #011319, #04181D);
    
    height: 400px; /* Altura fija para mantener proporciones */
    position: relative;
    overflow: hidden;
}

.text-warning-custom {
    color: #ffcc00; /* Color amarillo del título */
}

.text-light-opacity {
    color: rgba(255, 255, 255, 0.85);
}

.hexagon-watermark {
    max-width: 180px;
    opacity: 0.15; /* Lo hace lucir como una marca de agua suave */
}

.hero-buho-col {
    position: relative;
    height: 100%; /* Para que la imagen parta desde abajo */
}

.hero-buho-img {
    position: absolute;
    bottom: -40px; /* Bájalo un poco más si el cuerpo corta muy arriba */
    right: 0; /* Ancla la imagen a la derecha de la columna */
    
    height: 95%; /* ¡AQUÍ CONTROLAS EL TAMAÑO! Sube a 150% o 160% si lo quieres aún más gigante */
    max-width: none; /* ¡CLAVE! Esto anula el límite de la clase img-fluid de Bootstrap */
    
    object-fit: contain;
    z-index: 5;
}

/* ==================== SECCIÓN CONTENIDO Y LÍNEA DE TIEMPO ==================== */
.text-darkest {
    color: #011319; /* Tu variable var(--color-darkest) */
}

.text-muted-custom p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Ícono del libro */
.book-icon-circle {
    width: 55px;
    height: 55px;
    background-color: #04242D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor de la línea de tiempo horizontal */
.timeline-horizontal-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 10px;
}

/* Línea sutil que conecta los iconos */
.timeline-line {
    position: absolute;
    top: 32px; /* A la mitad del círculo del ícono */
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* Cada paso de la línea de tiempo */
.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 5px;
}

/* Círculo del icono */
.timeline-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background-color: white; /* Para tapar la línea de fondo */
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-icon-box {
    border-color: #04242D;
    color: #04242D;
    transform: scale(1.1);
}

/* Títulos y textos pequeños de los pasos */
.timeline-title {
    font-weight: 700;
    font-size: 0.8rem;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.timeline-text {
    font-size: 0.7rem;
    color: #777;
    line-height: 1.3;
}

/* ===== RESPONSIVIDAD ===== */
@media (max-width: 991.98px) {
    .hero-historia-section {
        height: auto;
        padding: 3rem 0;
        text-align: center;
    }
    .hexagon-watermark {
        display: none; /* Ocultamos el hexágono en móvil para ahorrar espacio */
    }
    
    /* En pantallas medianas y pequeñas, cambiamos la línea de tiempo horizontal a un layout tipo grilla 2x2 para que no se apriete */
    .timeline-horizontal-container {
        flex-wrap: wrap;
    }
    .timeline-line {
        display: none; /* Quitamos la línea en móvil */
    }
    .timeline-step {
        flex: 0 0 50%; /* 2 columnas en móvil */
        margin-bottom: 20px;
    }
}


/* Sobrescribir el estilo oscuro solo para la sección de historia */
.historia-content-section .card {
    background-color: #ffffff !important; /* Fondo blanco */
    border: 1px solid rgba(0,0,0,0.1) !important; /* Borde sutil */
}

.historia-content-section .card-body,
.historia-content-section .text-muted-custom p {
    color: #333333 !important; /* Texto oscuro */
}

/* Ajuste opcional para los títulos dentro de esa card */
.historia-content-section .text-darkest {
    color: #011319 !important;
}



/* ==================== SECCIÓN MISIÓN, VISIÓN Y VALORES ==================== */
.mision-card {
    background-color: #f2f7fb !important; /* Azul muy claro */
}

.vision-card {
    background-color: #f0f9f3 !important; /* Verde muy claro */
}

/* Sistema de Grid para los 7 Valores */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    align-items: start;
}

.valor-item i {
    font-size: 1.8rem;
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.valor-item h6 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.valor-item p {
    font-size: 0.65rem;
    color: #666;
    line-height: 1.3;
    margin-bottom: 0;
}

/* ==================== SECCIÓN CTA OSCURO ==================== */
.cta-dark-container {
    background-color: var(--color-darker);
}

.text-warning-custom {
    color: #ffcc00 !important;
}

.text-light-opacity {
    color: rgba(255, 255, 255, 0.75);
}

.bg-warning-custom {
    background-color: #ffcc00 !important;
}

/* Estilos de botones de la tarjeta amarilla */
.btn-dark-custom {
    background-color: var(--color-darkest);
    border-color: var(--color-darkest);
    color: white;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-dark-custom:hover {
    background-color: var(--color-dark);
    color: white;
}

.btn-outline-dark-custom {
    background-color: transparent;
    border: 2px solid var(--color-darkest);
    color: var(--color-darkest);
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-outline-dark-custom:hover {
    background-color: var(--color-darkest);
    color: white;
}

/* ===== RESPONSIVIDAD ===== */
@media (max-width: 1200px) {
    .valores-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columnas en pantallas medianas */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .valores-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles */
    }
    
    .cta-dark-container {
        padding: 2rem !important;
    }
    
    .cta-dark-section .col-md-4 {
        margin-bottom: 1rem;
    }
}



/* ==================== SECCIÓN HERO REFERIDOS ==================== */
.referidos-hero-section {
    background-color: #00171d;  /* var(--color-darker); */
    /* Fondo con un degradado sutil para darle profundidad */
    background-image: radial-gradient(circle at top right, rgba(255,255,255,0.05) 0%, transparent 40%);
    min-height: 550px;
    position: relative;
}

.text-warning-custom {
    color: #ffcc00 !important;
}

.border-warning-custom {
    border-color: #ffcc00 !important;
}

.btn-warning-custom {
    background-color: #ffcc00;
    color: var(--color-darkest);
    border: none;
    transition: all 0.3s ease;
}


.btn-naranja {
    background-color: var(--color-naranja);
    color: var(--color-darkest);
    border: none;
    transition: all 0.3s ease;
}

.btn-warning-custom:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    color: var(--color-darkest);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.referidos-img-col {
    position: relative;
    height: 550px; /* Misma altura que el min-height de la sección */
}

.referidos-hero-img {
    position: absolute;
    bottom: 0px; /* Ajusta este valor si quieres que el búho baje más o suba */
    right: 5%;
    height: 100%; /* Hace que el búho sobrepase la sección por arriba */
    max-width: none;
    object-fit: contain;
    z-index: 5;
}


/* ==================== SECCIÓN PASOS / CÓMO FUNCIONA ==================== */
.pasos-referidos-section {
    background-color: #ffffff;
}

.step-card {
    background-color: #f7f9fa; /* Gris muy claro como en la imagen */
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

/* El círculo oscuro con el número */
.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--color-darkest);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem auto;
}

/* El círculo blanco con el icono */
.step-icon-circle {
    width: 75px;
    height: 75px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flechas conectoras entre columnas */
.steps-container {
    position: relative;
}

.step-arrow {
    position: absolute;
    top: 30%; /* Alineadas aproximadamente con los iconos */
    z-index: 1;
}

/* Posicionamiento exacto de las 3 flechas */
.arrow-1 { left: 25%; transform: translate(-50%, -50%); }
.arrow-2 { left: 50%; transform: translate(-50%, -50%); }
.arrow-3 { left: 75%; transform: translate(-50%, -50%); }


/* ===== RESPONSIVIDAD ===== */
@media (max-width: 991.98px) {
    .referidos-hero-section {
        min-height: auto;
    }
    
    .referidos-img-col {
        height: auto;
        display: block !important; /* Mostramos la imagen en móvil abajo del texto si se requiere, o d-none la oculta por completo si prefieres. Ahora está configurada para ocultarse con d-none en el HTML. */
    }
    
    .referidos-hero-img {
        position: relative;
        bottom: 0;
        height: auto;
        max-height: 400px;
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .decorative-separator {
        width: 100% !important;
    }
}


/* ==================== SECCIÓN DETALLES Y VIDEO DEL PROGRAMA ==================== */

/* Tipografía opcional para parecerse más a la imagen en los títulos serif */
.font-serif-style {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Caja oscura principal */
.video-beneficios-box {
    background-color: var(--color-darker);
}

/* Divisor vertical entre video y beneficios (solo PC) */
@media (min-width: 992px) {
    .video-col-divider::after {
        content: '';
        position: absolute;
        right: 50%;
        top: 5%;
        height: 90%;
        width: 1px;
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* Caja de descuento con estilo de doble borde */
.descuento-box {
    border: 1px solid #ffcc00;
    border-radius: 4px;
    position: relative;
}

/* Borde interno para hacer el efecto de la imagen */
.descuento-box-inner {
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 2px;
}

/* Tarjetas de Condiciones y círculo superior flotante */
.card-condiciones {
    background-color: #f8f9fa !important; /* Un gris sumamente claro */
    position: relative;
    margin-top: 35px; /* Espacio para que el icono no choque con lo de arriba */
}

.card-icon-top {
    width: 65px;
    height: 65px;
    background-color: var(--color-darkest); /* Usa el tono más oscuro para contraste */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -32.5px; /* Sube la mitad de su propia altura para centrarse en el borde */
    left: 50%;
    transform: translateX(-50%);
}

.card-condiciones .text-darkest {
    color: var(--color-darkest) !important;
}

.card-condiciones .text-muted-custom {
    color: #4a4a4a !important;
}


/* ==================== SECCIÓN GENERAR ENLACE ==================== */
.generar-enlace-card {
    background-color: #00171f;  /*var(--color-darker);*/
    /*  ruido de fondo para textura */
    background-image: linear-gradient(135deg, var(--color-darker) 0%, var(--color-darkest) 100%);
}

.buho-ejecutivo-img {
    position: absolute;
    /*bottom: -10px;  Lo ancla al borde inferior */
    left: 0; /* Lo pega a la izquierda */
    
    /* LA SOLUCIÓN: Usar el ancho (width) como base */
    width: 110%; /* Hazlo más grande de 100% para que sobrepase la tarjeta */
    height: auto; /* Mantiene la proporción correcta del búho */
    max-width: none; /* Evita que Bootstrap lo vuelva a encoger */
    
    object-fit: contain;
    object-position: bottom center; /* Asegura que la base del búho no se mueva */
    z-index: 1;
}

/* Inputs personalizados (Oscuros con borde gris oscuro) */
.custom-input-group .form-control,
.custom-input-group .input-group-text {
    border-color: rgba(255, 255, 255, 0.15);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.custom-input-group .form-control:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: #ffcc00;
    color: white;
}

.custom-input-group:focus-within .input-group-text {
    border-color: #ffcc00;
}

/* Placeholder color en inputs oscuros */
.custom-input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Botones secundarios (Outline amarillo) */
.btn-outline-warning-custom {
    background-color: transparent;
    border: 1px solid #ffcc00;
    color: #ffcc00;
    transition: all 0.3s;
}

.btn-outline-warning-custom:hover {
    background-color: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
}

/* ==================== FRANJA DE CONFIANZA ==================== */
.trust-strip-section {
    position: relative;
    z-index: 10;
}

/* ==================== FOOTER ==================== */
.bg-darkest {
    background-color: var(--color-darkest);
}

/* Enlaces del footer */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* Iconos sociales */
.social-icons .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons .social-link:hover {
    border-color: #ffcc00;
    color: #ffcc00;
    background-color: rgba(255, 204, 0, 0.1);
    transform: translateY(-3px);
}

/* Enlaces legales (Aviso de privacidad, etc.) */
.footer-legal-links {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: #ffcc00;
}

/* ===== RESPONSIVIDAD ===== */
@media (max-width: 991.98px) {
    .generar-enlace-card {
        text-align: center;
    }
    
    .trust-strip-section .col-md-6 {
        margin-bottom: 1rem;
    }
}