/* Estilos Generales */
body {
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		"Helvetica Neue",
		Arial,
		"Noto Sans",
		sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: #000000;
}

.container {
	width: 85%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

h1,
h2,
h3 {
	color: #000000; /* Un azul oscuro profesional */
}

/* Header y Navegación */
.main-header {
	background-color: #ffffff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	padding: 0; /* La altura ahora la controlará el contenedor interno */
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: top 0.4s ease-in-out; /* Transición para ocultar/mostrar suavemente */
}

.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* Hacemos que el contenedor del header ocupe todo el ancho */
	width: 100%;
	max-width: none; /* Anulamos el ancho máximo del .container genérico */
	padding: 1rem 2.5%; /* Añadimos padding: 1rem vertical y 2.5% horizontal */
	box-sizing: border-box; /* Asegura que el padding se incluya en el ancho total */
}

.logo {
	display: flex;
	align-items: center;
	gap: 15px; /* Espacio entre el logo y el texto */
	text-decoration: none;
}

.logo img {
	height: 50px; /* Reducimos el tamaño para un look más limpio */
	width: auto; /* Mantiene la proporción del logo */
}

.logo-text {
	font-size: 1.3em; /* Reducimos el tamaño del texto */
	font-weight: 500;
	color: #000000; /* Mismo color que los títulos para consistencia */
}

.main-nav a {
	margin: 0 15px;
	text-decoration: none;
	color: #000000;
	font-weight: 500;
	transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
	color: #007bff;
}

/* Por defecto (escritorio), el texto del nav es visible y el icono no */
.nav-icon {
	display: none;
}

/* Estilos para el Menú Desplegable */
.dropdown {
	position: relative;
	display: inline-block;
}

/* El contenedor del dropdown que se mostrará al pasar el ratón */
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #ffffff;
	min-width: 180px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
	border-radius: 5px;
	overflow: hidden; /* Para que los bordes redondeados afecten a los hijos */
}

/* Enlaces dentro del menú desplegable */
.dropdown-content a {
	color: #000000;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
	margin: 0; /* Reseteamos el margen que tenían los 'a' del nav */
}

/* Cambia el color de los enlaces del dropdown al pasar el ratón */
.dropdown-content a:hover {
	background-color: #f1f1f1;
}

/* Muestra el menú desplegable al pasar el ratón sobre el contenedor */
.dropdown:hover .dropdown-content {
	display: block;
}

/* --- Estilos para el Menú Móvil --- */
.mobile-nav-toggle {
	display: none; /* Oculto en escritorio */
	background: none;
	border: none;
	color: #0d2c4b;
	font-size: 24px;
	cursor: pointer;
	z-index: 1001; /* Por encima del header */
	transition: color 0.3s ease;
}

.mobile-nav-toggle .fa-times {
	display: none; /* El icono de cerrar está oculto por defecto */
}

/* Cuando el menú está abierto */
.nav-open .mobile-nav-toggle .fa-times {
	display: block;
}
.nav-open .mobile-nav-toggle .fa-bars {
	display: none;
}

/* Sección Hero (Portada) */
.hero {
	background: linear-gradient(rgba(13, 44, 75, 0.7), rgba(13, 44, 75, 0.7)), url('imagenes/manos.png') no-repeat center center/cover;
	color: #ffffff;
	padding: 100px 0;
	text-align: center;
	height: 70vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.hero h1 {
	font-size: 3.5em;
	margin-bottom: 20px;
	color: #ffffff;
	font-weight: 700;
}

.hero p {
	font-size: 1.25em;
	margin-bottom: 30px;
	max-width: 600px;
}

.cta-button {
	background-color: #007bff;
	color: #ffffff;
	padding: 15px 30px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.cta-button:hover {
	background-color: #0056b3;
}

/* Secciones de Contenido */
.content-section {
	padding: 60px 0;
	text-align: center;
}

.content-section h2 {
	font-size: 2.5em;
	margin-bottom: 40px;
}

/* Galería de Características */
.features-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	text-align: left;
}

.feature-item {
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	cursor: pointer; /* Añadimos el cursor para indicar que es clickeable */
}

.feature-content {
	padding: 20px;
}

.feature-content h3 {
	margin-top: 0;
	font-size: 1.5em;
}

/* Footer */
.main-footer {
	background-color: #f2f2f2;
	color: #000000;
	text-align: center;
	padding: 40px 0;
	margin-top: 40px;
}

/* --- Estilos para la Sección de Proceso --- */
.process-section {
	padding: 60px 0;
	background-color: #ffffff; /* Fondo blanco para contrastar */
}

.process-section h2 {
	text-align: center;
	font-size: 2.5em;
	margin-bottom: 50px;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
}

.process-step {
	text-align: center;
	padding: 20px;
	/* Estado inicial para la animación de entrada */
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 0.6s ease-out,
		transform 0.6s ease-out;
}

.process-step.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Efecto de aparición escalonada */
.process-step.is-visible:nth-child(2) {
	transition-delay: 0.2s;
}
.process-step.is-visible:nth-child(3) {
	transition-delay: 0.4s;
}

.process-step i {
	font-size: 3.5rem;
	color: #007bff;
	margin-bottom: 20px;
	transition: transform 0.3s ease;
}

.process-step:hover i {
	transform: scale(1.1) rotate(-5deg);
}

.process-step h4 {
	font-size: 1.4em;
	color: #000000;
	margin-bottom: 10px;
}

/* --- Estilos para la Sección de Beneficios en la Página de Inicio --- */
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.benefit-card {
	background-color: #ffffff;
	border-radius: 12px;
	padding: 40px 30px;
	text-align: center;
	border: 1px solid #e5e5e5;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	/* Animación de entrada */
	opacity: 0;
	transform: translateY(20px);
	transition:
		transform 0.5s ease-out,
		box-shadow 0.4s ease,
		opacity 0.5s ease-out;
}

.benefit-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Efecto de aparición escalonada */
.benefit-card.is-visible:nth-child(2) {
	transition-delay: 0.15s;
}
.benefit-card.is-visible:nth-child(3) {
	transition-delay: 0.3s;
}

.benefit-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
	width: 70px;
	height: 70px;
	margin: 0 auto 25px auto;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #eef7ff, #ffffff);
	border: 1px solid #d9eaff;
}

.benefit-icon i {
	font-size: 2rem;
	color: #007bff;
}

/* --- Estilos para la Sección de Testimonios --- */
.testimonials-section {
	padding: 60px 0;
	background-color: #f4f7f6; /* Mismo color que el body */
}

.testimonials-section h2 {
	text-align: center;
	font-size: 2.5em;
	margin-bottom: 50px;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

.testimonial-card {
	background-color: #ffffff;
	border-radius: 12px;
	padding: 35px;
	border: 1px solid #e5e5e5;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	/* Animación de entrada */
	opacity: 0;
	transform: translateY(20px);
	transition:
		transform 0.5s ease-out,
		box-shadow 0.4s ease,
		opacity 0.5s ease-out;
}

.testimonial-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Efecto de aparición escalonada */
.testimonial-card.is-visible:nth-child(2) {
	transition-delay: 0.15s;
}
.testimonial-card.is-visible:nth-child(3) {
	transition-delay: 0.3s;
}

.testimonial-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
	font-size: 1.1em;
	color: #000000;
	margin: 0 0 25px 0;
	font-style: italic;
	flex-grow: 1;
	position: relative;
	padding-left: 40px;
}

.testimonial-quote::before {
	content: '“';
	position: absolute;
	left: 0;
	top: -10px;
	font-size: 4rem;
	color: #007bff;
	opacity: 0.2;
	font-family: Georgia, serif;
}

.testimonial-author {
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
	text-align: right;
}

.author-name {
	display: block;
	font-weight: 600;
	color: #000000;
}

.author-title {
	display: block;
	font-size: 0.9em;
	color: #6e6e73;
}

/* Estilos para el Modal (Lightbox) */
.modal {
	display: none; /* Oculto por defecto */
	position: fixed; /* Se queda fijo en la pantalla */
	z-index: 2000; /* Se asegura de que esté por encima de todo */
	padding-top: 60px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto; /* Permite scroll si la imagen es muy grande */
	background-color: rgba(0, 0, 0, 0.9); /* Fondo negro semitransparente */
}

/* Contenido del Modal (la imagen) */
.modal-content {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 900px;
	animation-name: zoom;
	animation-duration: 0.4s;
}

/* Descripción de la imagen en el Modal */
.caption {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
	text-align: center;
	color: #ccc;
	padding: 15px 0;
	font-size: 1.1em;
}

/* Animación de Zoom */
@keyframes zoom {
	from {
		transform: scale(0.1);
	}
	to {
		transform: scale(1);
	}
}

/* Botón de Cerrar (X) */
.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.5em;
	}

	/* Evita el scroll del body cuando el menú está abierto */
	.nav-open {
		overflow: hidden;
	}

	/* Mostramos el botón de hamburguesa y ajustamos el nav */
	.mobile-nav-toggle {
		display: block;
	}
	.main-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		display: flex;
		/* Estilo de fondo semi-transparente y con desenfoque tipo Apple */
		background-color: rgba(29, 29, 31, 0.9);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		/* Transición para el efecto de fundido (fade) */
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
		padding-top: 0;
		z-index: 1000; /* Justo debajo del botón de cierre */
	}

	/* Cuando el menú está abierto, lo traemos a la vista */
	.nav-open .main-nav {
		opacity: 1;
		visibility: visible;
	}

	/* Hacemos el header transparente cuando el menú está abierto */
	.nav-open .main-header {
		background-color: transparent;
		box-shadow: none;
	}

	.main-nav a {
		color: #f5f5f7; /* Blanco de Apple */
		font-size: 1.8rem; /* Letra más grande */
		margin: 20px 0; /* Mayor espaciado vertical */
		font-weight: 600;
	}

	.dropdown {
		display: block; /* Asegura que el contenedor se comporte como un bloque */
		width: 100%;
		text-align: center; /* Centra el icono dentro del espacio asignado */
	}
	.dropdown-content {
		position: static;
		box-shadow: none;
		background-color: transparent;
		text-align: center;
		/* --- Nuevos estilos para el submenú en móvil --- */
		display: none;
		width: 100%;
		padding-top: 10px;
		margin-top: 0;
		border-top: none;
	}

	.dropdown-content a {
		font-size: 1.2rem; /* Letra más pequeña para sub-items */
		color: #a1a1a6; /* Color más tenue */
	}

	/* Desactivamos el hover de escritorio en móvil */
	.dropdown:hover .dropdown-content {
		display: none;
	}

	/* Mostramos el submenú cuando tiene la clase .submenu-open */
	.dropdown.submenu-open > .dropdown-content {
		display: block;
	}

	/* Cambiamos el color del botón de cierre para que sea visible sobre el fondo oscuro */
	.nav-open .mobile-nav-toggle {
		color: #f5f5f7;
	}

	/* --- REGLAS PARA EL TEXTO Y EL ICONO DEL DROPDOWN MÓVIL --- */

	/* 1. Nos aseguramos de que el texto "Sistemas" sea visible */
	.dropdown > a .nav-text {
		display: inline;
	}

	/* 2. Ocultamos el icono de sitemap que no queremos mostrar */
	.dropdown > a .nav-icon {
		display: none;
	}

	/* 3. Añadimos una flecha para indicar que es un menú desplegable */
	.dropdown > a::after {
		content: ' ▼';
		font-size: 0.7em;
		display: inline-block;
		margin-left: 8px;
		transition: transform 0.3s ease;
	}

	/* 4. Giramos la flecha cuando el menú está abierto */
	.dropdown.submenu-open > a::after {
		transform: rotate(180deg);
	}
	.logo img {
		height: 40px; /* Hacemos el logo más pequeño en móviles */
	}

	.logo-text {
		font-size: 1em; /* Y el texto también */
		font-weight: 600;
	}

	.modal-content {
		width: 95%; /* La imagen ocupa más ancho en móviles */
	}
}

/* --- Estilos para la página tipo Apple --- */
.apple-style-container {
	background-color: #ffffff; /* Fondo negro para todo el contenedor */
	color: #000000;
	overflow-x: hidden; /* Evita scroll horizontal */
}

.apple-section {
	min-height: 100vh; /* Cada sección ocupa al menos toda la pantalla */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 5rem 2rem;
	box-sizing: border-box;
	text-align: center;
	position: relative;
}

/* Sección solo de texto (la primera) */
.apple-section.text-only {
	justify-content: center;
}

.apple-title {
	font-size: 4.5rem;
	font-weight: 700;
	color: #000000;
	margin: 0;
}

.apple-subtitle {
	font-size: 1.8rem;
	font-weight: 400;
	color: #000000;
	max-width: 600px;
	margin-top: 1rem;
}

/* Secciones con imagen que se quedan "pegadas" */
.apple-section.sticky-section {
	justify-content: flex-start; /* Alinea el contenido al inicio */
	padding-top: 8rem;
	position: sticky;
	top: 0;
}
/* Lógica para la transición suave entre secciones sticky */
.apple-section.sticky-section {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}
.apple-section.sticky-section.is-active {
	opacity: 1;
	visibility: visible;
}

.apple-content {
	max-width: 580px;
	margin-bottom: 3rem;
}

.apple-feature-title {
	font-size: 3.5rem;
	font-weight: 600;
	color: #000000;
	margin: 0;
}

.apple-feature-desc {
	font-size: 1.3rem;
	color: #000000;
	margin-top: 1rem;
}

.apple-image {
	width: 95%;
	max-width: 1400px;
	border-radius: 20px;
	margin-top: auto; /* Empuja la imagen hacia abajo */
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	cursor: pointer; /* Indica que la imagen es clickeable */
}

/* --- Estilos para el Slider de Imágenes --- */
.image-slider-container {
	position: relative;
	width: 95%;
	max-width: 1400px;
	margin-top: auto; /* Empuja el slider hacia abajo */
	overflow: hidden; /* Oculta las imágenes que se salen */
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	/* Nuevas propiedades para controlar la altura y proporción */
	max-height: 75vh; /* Limita la altura máxima a un 75% de la pantalla */
	aspect-ratio: 16 / 9; /* Fuerza una proporción (ej. 16:9), ideal para UI */
	background-color: #e5e5e5; /* Fondo oscuro para el letterboxing */
}

.image-slider {
	display: flex;
	transition: transform 0.5s ease-in-out; /* La animación del slide */
	height: 100%; /* Asegura que el slider ocupe toda la altura del contenedor */
}

.slide {
	width: 100%;
	height: 100%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.image-slider .apple-image {
	width: 100%;
	height: calc(100% - 40px); /* Dejamos espacio para el texto de abajo */
	flex-shrink: 0; /* Evita que las imágenes se encojan */
	border-radius: 0; /* El contenedor ya tiene el borde redondeado */
	box-shadow: none; /* El contenedor ya tiene la sombra */
	margin-top: 0;
	object-fit: contain; /* Clave: Muestra la imagen completa sin deformarla */
}

.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.2);
	color: black;
	border: 1px solid rgba(255, 255, 255, 0.4);
	cursor: pointer;
	padding: 10px;
	font-size: 24px;
	z-index: 10;
	transition: background-color 0.3s ease;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(5px); /* Efecto "glass" */
}

.slider-btn:hover {
	background-color: rgba(0, 0, 0, 0.4);
}

.prev-btn {
	left: 15px;
}

.next-btn {
	right: 15px;
}

/* --- Estilos para los Puntos del Slider --- */
.slider-dots {
	text-align: center;
	padding: 10px 0;
	position: absolute;
	bottom: 15px;
	width: 100%;
	z-index: 15;
}

.dot {
	cursor: pointer;
	height: 12px;
	width: 12px;
	margin: 0 5px;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.3s ease;
}

.dot.active {
	background-color: #000000;
}

/* --- Estilos para el texto debajo de la imagen del slider --- */
.slide-caption {
	color: #000000;
	text-align: center;
	font-size: 1rem;
	margin: 0;
	height: 40px; /* Altura fija para el área del texto */
	line-height: 40px; /* Centra el texto verticalmente */
}

/* --- Estilos para la Lista de Características debajo del Slider --- */
.feature-list-container {
	margin-top: 3rem;
	width: 90%;
	max-width: 1100px;
}

.feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	/* 2 columnas en escritorio, 1 en móvil */
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1rem;
	text-align: left;
}

.feature-list li {
	color: #000000;
	background-color: rgba(0, 0, 0, 0.05);
	padding: 15px 20px;
	border-radius: 12px;
	font-size: 1.05rem;
	line-height: 1.5;
	border: 1px solid rgba(0, 0, 0, 0.1);
}

/* --- Estilos para la Sección de Características Fundamentales --- */
.core-features-section {
	justify-content: flex-start;
	padding-top: 8rem;
	/* No necesita ser 'sticky' */
}

.core-features-grid {
	width: 100%;
	max-width: 1200px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 2rem;
}

.core-feature-item {
	background-color: #f2f2f2;
	padding: 2rem;
	border-radius: 20px;
	text-align: left;
	border: 1px solid #e5e5e5;
	/* Transiciones para el hover y la animación de entrada */
	transition:
		transform 0.4s ease,
		background-color 0.4s ease,
		opacity 0.6s ease-out,
		transform 0.6s ease-out;
	/* Estado inicial para la animación de entrada */
	opacity: 0;
	transform: translateY(30px);
}

/* Clase que se añade con JS para activar la animación */
.core-feature-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Efecto de aparición escalonada */
.core-feature-item.is-visible:nth-child(2) {
	transition-delay: 0.1s;
}
.core-feature-item.is-visible:nth-child(3) {
	transition-delay: 0.2s;
}
.core-feature-item.is-visible:nth-child(4) {
	transition-delay: 0.3s;
}

.core-feature-item i {
	font-size: 2.5rem;
	/* Reemplazamos el color sólido por un gradiente premium */
	background: linear-gradient(45deg, #007aff, #5856d6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	margin-bottom: 1.5rem;
	display: block; /* Para que el margen funcione */
	text-align: left;
}

.core-feature-item:hover {
	transform: translateY(-5px);
	background-color: #e5e5e5;
}

.core-feature-item h4 {
	font-size: 1.5rem;
	color: #000000;
	margin-top: 0;
	margin-bottom: 0.75rem;
}

.core-feature-item p {
	color: #000000;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
}

/* --- Estilos para la Página de Precios (Plan Único) --- */

/* Sección de precios */
.pricing-page-section {
	background-color: #ffffff;
	min-height: auto;
	padding: 80px 20px;
}

.pricing-page-section .apple-title {
	font-size: 3.5rem;
	color: #000000;
}

.pricing-page-section .apple-subtitle {
	font-size: 1.5rem;
	margin-bottom: 40px;
	color: #000000;
}

.pricing-page-content {
	max-width: 800px;
}

/* Tarjeta de precio estilo Apple */
.pricing-card-apple {
	background-color: #f2f2f2;
	border-radius: 18px;
	padding: 40px;
	border: 1px solid #e5e5e5;
	text-align: center;
}

.pricing-card-apple h3 {
	font-size: 2rem;
	font-weight: 600;
	color: #000000;
	margin-top: 0;
	margin-bottom: 10px;
}

.pricing-card-apple p {
	color: #000000;
	font-size: 1.1rem;
	max-width: 500px;
	margin: 0 auto 30px auto;
}

.pricing-card-apple .price {
	font-size: 3rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 15px;
}

.pricing-card-apple .price span {
	font-size: 1rem;
	font-weight: 400;
	color: #000000;
}

.pricing-card-apple .cta-button {
	margin-top: 20px;
	display: inline-block;
}

/* Sección de detalles del plan */
.plan-details-section {
	background-color: #f2f2f2;
	padding: 80px 20px;
}

.plan-details-section .section-header {
	text-align: center;
	margin-bottom: 60px;
}

.plan-details-section .section-header h2 {
	color: #000000;
	font-size: 3rem;
	margin-bottom: 1rem;
}

.plan-details-section .section-header .subtitle {
	color: #000000;
	font-size: 1.5rem;
	max-width: 800px;
	margin: 0 auto;
}

/* --- Estilos para la Sección de FAQ --- */
.faq-section {
	padding: 80px 20px;
	background-color: #ffffff; /* Un gris claro para variar del fondo negro */
}

.faq-section .section-header h2 {
	color: #000000; /* Texto oscuro sobre fondo claro */
	font-size: 3rem;
	margin-bottom: 1rem;
}

.faq-section .section-header .subtitle {
	color: #000000;
	font-size: 1.5rem;
	max-width: 800px;
	margin: 0 auto;
}

.faq-container {
	max-width: 800px;
	margin: 50px auto 0;
}

.faq-item {
	border-bottom: 1px solid #d2d2d7;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 0;
	cursor: pointer;
	font-size: 1.25rem;
	font-weight: 600;
	color: #000000;
}

.faq-question i {
	transition: transform 0.3s ease;
	color: #6e6e73;
}

.faq-item.active .faq-question i {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out;
	color: #000000;
	font-size: 1.1rem;
	line-height: 1.7;
}

.faq-item.active .faq-answer {
	max-height: 300px; /* Altura suficiente para la respuesta */
	padding-bottom: 25px;
}

/* --- Estilos para la Sección Comparativa --- */
.comparison-section {
	padding: 80px 20px;
	background-color: #f2f2f2; /* Fondo blanco para destacar la tabla */
}

.comparison-section .section-header {
	text-align: center;
}

.comparison-section .section-header h2 {
	color: #000000;
	font-size: 3rem;
	margin-bottom: 1rem;
}

.comparison-section .section-header .subtitle {
	color: #000000;
	font-size: 1.5rem;
	max-width: 800px;
	margin: 0 auto;
}

.comparison-table {
	max-width: 1000px;
	margin: 50px auto 0;
	border: 1px solid #d2d2d7;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	background-color: #ffffff;
}

.comparison-header,
.comparison-row {
	display: grid;
	grid-template-columns: 1fr 2fr 2fr;
	align-items: center;
}

.comparison-header {
	background-color: #f2f2f2;
	font-weight: 600;
	color: #000000;
	font-size: 1.1rem;
}

.comparison-header div,
.comparison-row div {
	padding: 20px;
}

.comparison-row {
	border-top: 1px solid #d2d2d7;
}

.comparison-row div:nth-child(1) {
	font-weight: 600;
	color: #000000;
}

.comparison-row div:nth-child(2) {
	color: #000000;
	line-height: 1.6;
}

.comparison-row div:nth-child(3) {
	color: #000000;
	line-height: 1.6;
}

/* Iconos para la comparación */
.comparison-row div:nth-child(2)::before {
	content: '❌';
	margin-right: 10px;
	font-size: 1.1rem;
}

.comparison-row div:nth-child(3)::before {
	content: '✅';
	margin-right: 10px;
	font-size: 1.1rem;
}

@media (max-width: 768px) {
	.comparison-header {
		display: none; /* Ocultamos la cabecera en móvil */
	}

	.comparison-row {
		grid-template-columns: 1fr; /* Una sola columna */
		gap: 5px;
	}

	.comparison-row div:nth-child(1) {
		background-color: #000000;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
}

/* --- Estilos para la Nueva Sección de Precios (Multi-plan) --- */

.pricing-section {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Un fondo muy claro para la sección */
}

.text-center {
    text-align: center;
}

.pricing-section .section-header {
    margin-bottom: 60px;
}

.pricing-section .apple-title {
    font-size: 3rem; /* Ajuste de tamaño para el contexto */
}

.pricing-section .apple-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid-single {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 40px;
    border: 2px solid #007aff;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 450px; /* Ancho para la tarjeta única */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card .plan-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.pricing-card .plan-description {
    font-size: 1rem;
    color: #6e6e73;
    margin-bottom: 30px;
    flex-grow: 1;
    text-align: center;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.plan-features li i {
    color: #34c759; /* Verde de éxito de Apple */
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Botones CTA */
.cta-button.primary {
    background-color: #007aff;
    color: #ffffff;
    text-align: center;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Pega el botón abajo */
}

.cta-button.primary:hover {
    background-color: #005ecb;
}

/* --- Estilos para el Modal de Contacto --- */
.contact-modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.contact-modal-content {
    background-color: #fefefe;
    padding: 30px 40px 40px 40px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}
.modal-close:hover {
    color: #333;
}

.contact-modal-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-modal-content p {
    color: #6e6e73;
    margin-bottom: 35px;
    font-size: 1.1rem;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #e5e5e5;
    background-color: #f5f5f7;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none;
}

.form-group input:focus {
    outline: none;
    border-color: #007aff;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.contact-modal-content .cta-button.primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 10px;
    border: none;
}


/* --- Nuevos Estilos para el Footer de Contacto --- */
.main-footer .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cta-button-main {
	background-color: #007aff;
	color: #ffffff;
	border: none;
	border-radius: 50px; /* Botón más redondeado */
	padding: 18px 40px;
	font-size: 1.2rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 122, 255, 0.2);
}

.cta-button-main:hover {
	background-color: #005ecb;
	box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
	transform: translateY(-2px);
}

.contact-options {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.5s ease-in-out;
	display: flex;
	gap: 40px; /* Espacio entre íconos */
}

.contact-options.visible {
	max-height: 100px; /* Altura suficiente para los íconos */
	opacity: 1;
	margin-top: 30px; /* Espacio arriba de los íconos */
}

.contact-options a {
	color: #000000;
	font-size: 40px; /* Íconos más grandes */
	transition: color 0.3s ease, transform 0.3s ease;
}

.contact-options a:hover {
	color: #007aff;
	transform: scale(1.1);
}

.footer-copy {
	margin-top: 30px;
	font-size: 0.9rem;
	color: #6e6e73;
}

/* --- Estilos para la Oferta de Precios --- */
.price-section-offer {
    margin-bottom: 15px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
}

.price-old {
    font-size: 2rem;
    font-weight: 400;
    color: #86868b;
    text-decoration: line-through;
}

.price-new {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.pricing-card .price-offer {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007aff;
    margin-bottom: 5px;
    text-align: center;
}

.pricing-card .price-regular {
    font-size: 0.9rem;
    color: #86868b;
    margin-bottom: 30px;
    text-align: center;
}