/* ========================================
   VARIABLES - Engríe Kids
   ======================================== */
:root {
	--color-kids: #9B59B6;
	--color-kids-dark: #8E44AD;
	--color-kids-light: #BB8FCE;
	--color-primario: #1ABC9C;
	--color-secundario: #E74C3C;
	--color-acento: #F39C12;
	--color-oscuro: #2C3E50;
	--color-medio: #7F8C8D;
	--color-claro: #ECF0F1;
	--color-blanco: #FFFFFF;
	--color-gris-fondo: #F8F9FA;
	--font-script: 'Dancing Script', cursive;
	--font-primary: 'Poppins', sans-serif;
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
	--transition-base: 300ms ease;
	--z-fixed: 1030;
	--z-modal: 1050;
}

/* ========================================
   RESET
   ======================================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html { scroll-behavior: smooth; }

body {
	min-height: 100vh;
	line-height: 1.6;
	font-family: var(--font-primary);
	font-size: 16px;
	color: var(--color-oscuro);
	background-color: var(--color-blanco);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-kids); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--color-kids-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: var(--color-kids);
	color: var(--color-blanco);
	padding: 8px 16px;
	z-index: 1070;
	transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

:focus-visible {
	outline: 2px solid var(--color-kids);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ========================================
   HEADER & NAV
   ======================================== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: var(--color-blanco);
	box-shadow: var(--shadow-md);
	z-index: var(--z-fixed);
	padding: 1rem 0;
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header__logo-img {
	height: 50px;
	width: auto;
}

.nav__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: var(--z-modal);
}

.nav__toggle-bar {
	width: 25px;
	height: 3px;
	background: var(--color-oscuro);
	border-radius: 3px;
	transition: all 0.3s ease;
}

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active .nav__toggle-bar:nth-child(2) {
	opacity: 0;
}
.nav__toggle.active .nav__toggle-bar:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.nav__menu {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.nav__link {
	font-weight: 500;
	color: var(--color-oscuro);
	padding: 8px 0;
	position: relative;
	text-decoration: none;
}

.nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-kids);
	transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
	width: 100%;
}

.nav__link--cta {
	background: linear-gradient(135deg, var(--color-kids), var(--color-kids-dark));
	color: var(--color-blanco) !important;
	padding: 8px 20px;
	border-radius: 9999px;
}
.nav__link--cta::after { display: none; }

/* ========================================
   HERO - Kids con imagen de fondo
   ======================================== */
.kids-hero {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: 
		linear-gradient(135deg, rgba(155, 89, 182, 0.75) 0%, rgba(142, 68, 173, 0.70) 50%, rgba(231, 76, 60, 0.70) 100%),
		url('../img/hero-kids.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--color-kids);
	padding: 120px 0 80px;
}

.kids-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.15);
	z-index: 0;
}

.kids-hero__balloons {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}

.balloon {
	position: absolute;
	opacity: 0.5;
	font-size: 3rem;
	animation: float 15s infinite ease-in-out;
	text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.balloon:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.balloon:nth-child(2) { left: 30%; top: 40%; animation-delay: 3s; }
.balloon:nth-child(3) { left: 50%; top: 30%; animation-delay: 6s; }
.balloon:nth-child(4) { left: 70%; top: 50%; animation-delay: 9s; }
.balloon:nth-child(5) { left: 90%; top: 25%; animation-delay: 12s; }

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-30px) rotate(5deg); }
}

.kids-hero .container {
	position: relative;
	z-index: 2;
	text-align: center;
	color: var(--color-blanco);
}

.kids-hero__title-script {
	display: block;
	font-family: var(--font-script);
	font-size: 3rem;
	margin-bottom: 10px;
	color: var(--color-blanco);
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.kids-hero__title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.kids-hero__subtitle {
	font-size: 1.25rem;
	max-width: 700px;
	margin: 0 auto 30px;
	opacity: 0.95;
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
	line-height: 1.6;
}

.kids-hero__buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 9999px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 2px solid transparent;
	text-decoration: none;
	font-size: 1rem;
}

.btn--white {
	background: var(--color-blanco);
	color: var(--color-kids);
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn--white:hover {
	background: var(--color-gris-fondo);
	color: var(--color-kids-dark);
	transform: translateY(-2px);
}

.btn--outline-white {
	background: transparent;
	color: var(--color-blanco);
	border-color: var(--color-blanco);
}
.btn--outline-white:hover {
	background: var(--color-blanco);
	color: var(--color-kids);
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */
.section {
	padding: 80px 0;
}

.section__title {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: var(--color-oscuro);
	text-align: center;
}

.section__title-script {
	display: block;
	font-family: var(--font-script);
	font-size: 2.5rem;
	color: var(--color-kids);
	margin-bottom: 5px;
}

.section__subtitle {
	font-size: 1.1rem;
	color: var(--color-medio);
	text-align: center;
	max-width: 600px;
	margin: 0 auto 40px;
}

.section--colorful {
	background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
}

.section--rainbow {
	background: linear-gradient(135deg, #FFE5E5 0%, #FFE5F0 25%, #E5F0FF 50%, #E5FFF0 75%, #FFF9E5 100%);
}

/* ========================================
   FEATURES
   ======================================== */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.feature-box {
	text-align: center;
	padding: 30px;
	border-radius: 15px;
	background: linear-gradient(135deg, #f8f9fa, #ffffff);
	box-shadow: var(--shadow-md);
	transition: all 0.3s ease;
}

.feature-box:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.feature-box__icon {
	font-size: 3.5rem;
	margin-bottom: 15px;
}

.feature-box__title {
	font-size: 1.2rem;
	color: var(--color-oscuro);
	margin-bottom: 10px;
}

.feature-box__text {
	color: var(--color-medio);
	font-size: 0.95rem;
}

/* ========================================
   CATEGORÍAS DE PRODUCTOS
   ======================================== */
.category-section {
	padding: 60px 0;
}

.category-header {
	text-align: center;
	margin-bottom: 40px;
}

.category-header__icon {
	font-size: 3rem;
	margin-bottom: 10px;
}

.category-header__title {
	font-size: 2rem;
	color: var(--color-oscuro);
	margin-bottom: 10px;
}

.category-header__title-script {
	display: block;
	font-family: var(--font-script);
	font-size: 2.5rem;
	color: var(--color-kids);
}

.category-header__subtitle {
	color: var(--color-medio);
	font-size: 1.05rem;
}

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

.product-card {
	background: var(--color-blanco);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-xl);
}

.product-card__badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: linear-gradient(135deg, var(--color-kids), var(--color-kids-dark));
	color: white;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	z-index: 2;
	box-shadow: 0 4px 10px rgba(155, 89, 182, 0.3);
}

.product-card__badge--popular {
	background: linear-gradient(135deg, var(--color-acento), var(--color-secundario));
}

.product-card__badge--healthy {
	background: linear-gradient(135deg, #27AE60, #2ECC71);
}

.product-card__image {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 5rem;
	position: relative;
	overflow: hidden;
}

.product-card__image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 70%);
}

.product-card__content {
	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-card__title {
	font-size: 1.4rem;
	color: var(--color-oscuro);
	margin-bottom: 10px;
	font-weight: 700;
}

.product-card__description {
	color: var(--color-medio);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 20px;
	flex: 1;
}

.product-card__includes {
	background: #F8F9FA;
	padding: 15px;
	border-radius: 12px;
	margin-bottom: 20px;
}

.product-card__includes-title {
	font-weight: 600;
	color: var(--color-kids);
	margin-bottom: 10px;
	font-size: 0.9rem;
}

.product-card__includes ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.product-card__includes li {
	padding: 4px 0 4px 25px;
	position: relative;
	font-size: 0.85rem;
	color: var(--color-medio);
}

.product-card__includes li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--color-kids);
	font-weight: bold;
	font-size: 1.1rem;
}

.product-card__pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 20px;
}

.pricing-item {
	text-align: center;
	padding: 12px 8px;
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-radius: 10px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.pricing-item:hover {
	border-color: var(--color-kids);
	transform: scale(1.03);
}

.pricing-item__units {
	font-size: 0.75rem;
	color: var(--color-medio);
	font-weight: 500;
	margin-bottom: 5px;
}

.pricing-item__price {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-kids);
}

.product-card__button {
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, var(--color-kids), var(--color-kids-dark));
	color: white;
	border: none;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
}

.product-card__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
}

/* ========================================
   PAQUETES
   ======================================== */
.packages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 40px;
}

.package-card {
	background: var(--color-blanco);
	border-radius: 20px;
	padding: 35px 25px;
	text-align: center;
	box-shadow: var(--shadow-md);
	transition: all 0.3s ease;
	border: 3px solid transparent;
}

.package-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-xl);
}

.package-card--featured {
	border-color: var(--color-acento);
	transform: scale(1.03);
}

.package-card--featured:hover {
	transform: scale(1.03) translateY(-5px);
}

.package-card__icon {
	font-size: 3rem;
	margin-bottom: 15px;
}

.package-card__title {
	font-size: 1.5rem;
	color: var(--color-oscuro);
	margin-bottom: 10px;
}

.package-card__subtitle {
	color: var(--color-medio);
	margin-bottom: 20px;
	font-size: 0.95rem;
}

.package-card__features {
	list-style: none;
	padding: 0;
	margin-bottom: 25px;
	text-align: left;
}

.package-card__features li {
	padding: 10px 0;
	border-bottom: 1px solid #eee;
	font-size: 0.95rem;
	color: var(--color-oscuro);
}

.package-card__features li:last-child {
	border-bottom: none;
}

.package-card__price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-kids);
	margin-bottom: 20px;
}
/* ========================================
   CTA FINAL
======================================== */
.cta-section {
background: #1ABC9C;
padding: 30px 0;
text-align: center;
color: var(--color-blanco);
}

.cta-section__title {
font-size: 2rem;
margin-bottom: 15px;
}

.cta-section__text {
font-size: 1.1rem;
margin-bottom: 25px;
opacity: 0.95;
}

.btn {
display: inline-block;
padding: 14px 28px;
border-radius: 9999px;
font-weight: 600;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
border: 2px solid transparent;
text-decoration: none;
font-size: 1rem;
}

.btn--white {
background: var(--color-blanco);
color: var(--color-primario);
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn--white:hover {
background: var(--color-gris-fondo);
transform: translateY(-2px);
color: var(--color-primario-dark);
}

.btn--outline-white {
background: transparent;
color: var(--color-blanco);
border-color: var(--color-blanco);
}

.btn--outline-white:hover {
background: var(--color-blanco);
color: var(--color-primario);
}

.cta-buttons {
display: flex;
gap: 15px;
justify-content: center;
flex-wrap: wrap;
}
/* ========================================
   CTA SECTION
   ======================================== */
.kids-cta {
	background: linear-gradient(135deg, var(--color-kids), var(--color-kids-dark), var(--color-secundario));
	background-size: 200% 200%;
	animation: gradientShift 5s ease infinite;
	padding: 80px 0;
	text-align: center;
	color: var(--color-blanco);
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.kids-cta__title {
	font-size: 2.5rem;
	margin-bottom: 20px;
	font-weight: 700;
}

.kids-cta__text {
	font-size: 1.2rem;
	margin-bottom: 30px;
	opacity: 0.95;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.kids-cta__buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.stations-card__cta {
display: inline-flex;
align-items: center;
gap: 12px;
background: var(--color-blanco);
color: #00A3AE;
padding: 16px 32px;
border-radius: 12px;
font-weight: 700;
font-size: 1.05rem;
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
margin: 0 auto;
width: fit-content;
}

.stations-card__cta:hover {
transform: translateY(-3px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
background: var(--color-blanco);
color: #0E8C73;
text-decoration: none;
}

.stations-card__cta .cta-arrow {
font-size: 1.3rem;
transition: transform 0.3s ease;
}

.stations-card__cta:hover .cta-arrow {
transform: translateX(5px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
	background: var(--color-oscuro);
	color: var(--color-blanco);
	padding: 60px 0 30px;
}

.footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer__logo {
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
	height: 45px;
}

.footer__text {
	color: var(--color-claro);
	opacity: 0.8;
	font-size: 0.95rem;
}

.footer__title {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	color: var(--color-blanco);
}

.footer__list {
	display: grid;
	gap: 8px;
}

.footer__link {
	color: var(--color-claro);
	opacity: 0.8;
	text-decoration: none;
	font-size: 0.95rem;
}

.footer__link:hover {
	opacity: 1;
	color: var(--color-kids-light);
}

.footer__address {
	font-style: normal;
	display: grid;
	gap: 8px;
	color: var(--color-claro);
	opacity: 0.8;
	font-size: 0.95rem;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer__copyright {
	font-size: 0.875rem;
	color: var(--color-claro);
	opacity: 0.6;
}

.footer__legal {
	display: flex;
	gap: 1.5rem;
}

.footer__legal-link {
	font-size: 0.875rem;
	color: var(--color-claro);
	opacity: 0.6;
	text-decoration: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
	.nav__toggle {
		display: flex;
	}

	.nav__menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background: var(--color-blanco);
		flex-direction: column;
		padding: 80px 2rem 2rem;
		gap: 1.5rem;
		box-shadow: var(--shadow-xl);
		transition: right 0.3s ease;
		z-index: var(--z-modal);
		align-items: flex-start;
	}

	.nav__menu.active {
		right: 0;
	}

	.nav__menu.active::before {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		right: 100%;
		z-index: -1;
	}

	.kids-hero {
		min-height: 70vh;
		padding: 100px 0 60px;
	}

	.kids-hero__title-script {
		font-size: 2.2rem;
	}

	.kids-hero__title {
		font-size: 2.2rem;
	}

	.kids-hero__subtitle {
		font-size: 1rem;
	}

	.products-grid {
		grid-template-columns: 1fr;
	}

	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.section__title-script,
	.category-header__title-script {
		font-size: 2rem;
	}

	.section__title,
	.category-header__title {
		font-size: 1.6rem;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 1rem;
	}

	.kids-hero__title {
		font-size: 1.8rem;
	}

	.kids-hero__title-script {
		font-size: 1.8rem;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.product-card__pricing {
		grid-template-columns: 1fr;
	}

	.kids-cta__title {
		font-size: 1.8rem;
	}

	.kids-cta__text {
		font-size: 1rem;
	}
}