:root {
	--azul-oscuro: #003366;
	--azul-medio: #1a73e8;
	--naranja: #f07d00;
	--blanco: #ffffff;
	--gris-fondo: #f4f7f9;
	--texto-muted: #6c757d;
}

body {
	background-color: var(--gris-fondo);
	color: #333;
	font-family: 'Segoe UI', Tahoma, sans-serif;
	scroll-behavior: smooth;
}

/* --- Navbar & Logo --- */
.navbar {
	background: var(--blanco) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	padding: 1rem 0;
}

.navbar-brand {
	font-weight: bold;
	color: var(--azul-oscuro) !important;
	display: flex;
	align-items: center;
	gap: 10px;
}

/* --- Botones Navbar Responsivos --- */
.btn-primary-custom, .btn-webapp {
	border-radius: 8px;
	font-weight: bold;
	border: none;
	padding: 0 24px; /* Solo padding lateral */
	height: 48px;    /* Altura fija para que sean clavados */
	transition: all 0.3s ease;
	text-decoration: none;
	display: flex;   /* Flex para centrar contenido e iconos */
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 210px;    /* Ancho fijo para que sean iguales siempre */
	margin: 0 auto;  /* Centrado horizontal por defecto */
	font-size: 0.95rem;
	white-space: nowrap; /* Evita que el texto salte de línea */
	box-sizing: border-box;
}

.btn-primary-custom {
	background-color: var(--naranja);
	color: white !important;
}

.btn-primary-custom:hover {
	background-color: #d66d00;
	transform: translateY(-2px);
}

.btn-webapp {
	background-color: #25d366; /* Verde tipo WhatsApp/WebApp */
	color: white !important;
}

.btn-webapp:hover {
	background-color: #1eb954;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ajuste para escritorio: botones vuelven a ser inline */
@media (min-width: 992px) {
	.btn-primary-custom, .btn-webapp {
		width: 210px;
		display: inline-flex;
		margin: 0; /* Quitamos el auto margin de bloque */
	}
	
	.btn-webapp {
		margin-right: 12px; /* Añadimos este espacio para que no estén pegados */
	}
}

/* --- Hero Slider --- */
.carousel-item {
	height: 450px; /* Altura desktop */
	background-color: var(--azul-oscuro);
}

.carousel-item img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	filter: brightness(0.4);
}

.carousel-caption {
	top: 25%; /* Bajamos un poco el contenido en desktop */
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Tarjetas Características --- */
.features-overlap {
	margin-top: -60px;
	position: relative;
	z-index: 10;
}

.feature-card {
	background: white;
	border-radius: 15px;
	padding: 30px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	height: 100%;
	transition: 0.3s;
	border-top: 4px solid var(--azul-medio);
}

.feature-card:hover {
	transform: translateY(-10px);
}

.panel-box {
	background: white;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	height: 100%;
	border-left: 5px solid var(--azul-medio);
}

.showcase-features-list {
	list-style: none;
	padding: 0;
}

.showcase-features-list li {
	margin-bottom: 10px;
	font-size: 0.95rem;
}

/* --- Video Hub --- */
.video-section {
	background: #fff;
	padding: 60px 0;
}

.video-wrapper {
	cursor: pointer;
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	transition: 0.4s;
}

.video-wrapper:hover {
	transform: scale(1.02);
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
	display: flex;
	align-items: flex-end;
	padding: 20px;
	color: white;
}

.play-icon-central {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3.5rem;
	color: rgba(255, 255, 255, 0.8);
}

/* --- FAQ --- */
.faq-item {
	background: white;
	border-radius: 10px;
	padding: 15px;
	margin-bottom: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
	border: none;
	background: none;
	width: 100%;
	text-align: left;
	font-weight: bold;
	color: var(--azul-oscuro);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-answer {
	display: none;
	padding-top: 10px;
	color: var(--texto-muted);
	border-top: 1px solid #eee;
	margin-top: 10px;
}

.faq-hidden {
	display: none !important;
}

/* --- Footer --- */
footer {
	background-color: var(--azul-oscuro);
	color: white;
	padding: 60px 0 20px;
}

footer h6 {
	font-weight: bold;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

footer a {
	color: #bdc3c7;
	text-decoration: none;
	transition: 0.3s;
}

footer a:hover {
	color: white;
}

.whatsapp-float {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: #25d366;
	color: white;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	z-index: 1000;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* --- Sección Planes Horizontal --- */
.pricing-banner-horizontal {
	background: var(--blanco);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
	overflow: hidden;
	border: 1px solid #edf2f7;
}

.price-side {
	background: var(--azul-oscuro);
	color: white;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.features-side {
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.horizontal-amount {
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
	color: var(--naranja);
}

.horizontal-currency {
	font-size: 1.5rem;
	vertical-align: top;
	font-weight: bold;
}

.pricing-list-horizontal {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 20px;
}

.pricing-list-horizontal li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
}

.pricing-list-horizontal i {
	color: #25d366;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 51, 102, 0.3);
    border-radius: 50%;
    background-size: 50%;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--naranja);
}

.text-warning {
    color: #ffc107 !important;
}

#formulario .bg-white {
    max-width: 1200px !important;
    width: 100%;
    margin: 0 auto;
}

#formulario .form-control-lg, 
#formulario .form-select-lg {
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

#comenzar .bi-star-fill {
    margin-right: 2px;
    font-size: 0.9rem;
}

@media ( max-width : 991px) {
	.pricing-list-horizontal {
		grid-template-columns: 1fr;
	}
	.price-side {
		padding: 30px;
	}
}

@media ( max-width : 768px) {
	.carousel-item {
		height: 380px; /* Aumentamos de 300 a 380 para que quepa el botón */
	}
	.carousel-caption {
		top: 15%; /* Subimos el contenido */
	}
	.carousel-caption h1 {
		font-size: 1.8rem !important; /* Título más pequeño para no empujar el botón */
	}
	.carousel-caption p {
		font-size: 1rem !important;
		margin-bottom: 20px !important;
	}
	.features-overlap {
		margin-top: 20px;
	}
}