:root {
    --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;
}