:root {
	--naranja: #F75810;
	--azul: #171264;
	--gris: #f3f3f3;
	--gris-claro-1: #e5e5e5;
	--gris-claro-2: #efefef;
	--gris-oscuro: #828282;
	--celeste: #00B4F1;
	--amarillo: #F0C30F;
	--verde: #6A752E;
	--violeta: #431e52;

	--gap: 1rem;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
[id] {
	scroll-margin-top: 152px;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	padding-top: 152px;
}

h1, h2, h3, h4 {
	font-weight: 700;
	color: var(--rojo);
	margin: 0;
}
h1 {
	font-size: 2.5rem;
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.5rem;
}
h4 {
	font-size: 1rem;
}

a {
	color: var(--naranja);
	text-decoration: none;
}
section {
	padding-bottom: 50px;
}
section:nth-of-type(odd) {
	background: var(--gris-claro-1);
}

section:nth-of-type(even) {
	background: var(--gris-claro-2);
}
.con-resaltado {
	line-height: 2;
}
.resaltado {
	font-weight: bold;
	color: white;
	padding: 0.2em;
}
.naranja {
	background: var(--naranja);
}
.azul {
	background: var(--azul);
}
.gris {
	background: var(--gris);
}
.amarillo {
	background: var(--amarillo);
}
.verde {
	background: var(--verde);
}
.celeste {
	background: var(--celeste);
}
.violeta {
	background: var(--violeta);
}
.gris-oscuro {
	background: var(--gris-oscuro);
}
.container {
	width: 90%;
	max-width: 1200px;
	margin: auto;
}

.custom-arrow {
	background: none;
	border: none;
	color: var(--azul);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
}
.slick-prev,
.slick-next {
	background: none;
	border: none;
	font-size: 2rem;
	color: var(--azul);
	z-index: 10;
}
.slick-prev::before,
.slick-next::before {
	display: none; /* oculta el ícono por defecto */
}

.header {
	background: white;
	padding: 30px 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}
.header .container {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	position: relative;
}
.header .logo img {
	width: 200px;
	height: auto;
}
.menu-toggle {
	cursor: pointer;
	background: white;
	position: fixed;
	right: 0;
	top: 30px;
	border-radius: 5px 0 0 5px;
	padding: 20px 15px 5px;
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: right 1s ease;
}
.nav-abierto .menu-toggle {
	right: 340px;
}

/* Aplica animación a las barras */
.menu-toggle .bar {
	fill: black;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

/* Estado animado */
.nav-abierto .menu-toggle .top {
	transform: translateY(6px) rotate(45deg);
}

.nav-abierto .menu-toggle .middle {
	opacity: 0;
}

.nav-abierto .menu-toggle .bottom {
	transform: translateY(-6px) rotate(-45deg);
}

.nav {
	position: fixed;
	top: 0;
	right: 0;
	background: #000000d4;
	width: 340px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	padding: 100px 30px 30px;
	min-width: 340px;
	height: 100vh;
	transform: translateX(340px);
	transition: transform 1s ease;
}
.nav-abierto .nav {
	transform: translateX(0);
}

.nav ul {
	list-style: none;
	padding: 0;
}
.nav > ul {
	margin: 0 0 30px;
}
.nav ul.submenu {
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #ffffff61;
}

.nav li {
	border-bottom: 1px solid #ffffff61;
	padding: 15px 0;
}
.nav .submenu li {
	border-bottom: none;
	padding: 5px 0 5px 15px;
}
.nav a {
	display: block;
	text-decoration: none;
	color: white;
	transition: color 0.5s ease;
}
.nav a:hover {
	color: var(--rojo);
}
.hero {
	position: relative;
	height: 400px;
	border-bottom: 10px solid var(--azul);
}
.hero h1 {
	font-size: 24px;
}
.hero img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}
.hero .text-overlay {
	position: absolute;
	bottom: 2rem;
	color: white;
}
.cta-wrapper {
	text-align: center;
	background: var(--gris-claro-1);
}
.cta {
	display: inline-block;
	padding: 2px;
	background: var(--naranja);
	border-radius: 17px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	transition: background 0.3s;
}
.cta-wrapper .cta {
	margin: -1rem 1rem 1rem;
	position: relative;
	z-index: 3;
}

.cta a {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.9em 1.5em;
	background: var(--naranja);
	color: white;
	font-weight: 700;
	border: 2px solid white;
	border-radius: 15px;
	font-size: 1rem;
	text-decoration: none;
}
section h2 {
	font-size: 32px;
	color: var(--naranja);
	font-weight: 900;
	padding: 50px 0 10px;
}

.grid-productos {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(2, 1fr);
}

.producto {
	background: var(--naranja);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.producto .img {
	height: 200px;
	overflow: hidden;
}

.producto .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.producto h3 {
	color: white;
	margin: 0;
	padding: 12px;
	font-size: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.producto h3::after {
	content: "+";
	font-weight: bold;
	font-size: 1.2em;
}

/* Primer producto más grande */
.producto:first-child {
	grid-column: span 2;
}

/* Desktop: 3 columnas, primer producto ocupa 3 */
@media screen and (min-width: 768px) {
	.grid-productos {
		grid-template-columns: repeat(3, 1fr);
	}
}

.grid-ventajas {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--gap);
	margin-top: 20px;
}

.ventaja {
	background: var(--azul);
	min-height: 220px;
	color: white;
	text-align: center;
	border-radius: 12px;
	padding: 20px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ventaja img {
	width: auto;
	max-height: 70px;
	max-width: 130px;
	height: auto;
}

.ventaja p {
	margin: 0;
	font-weight: bold;
	font-size: 1rem;
}
@media screen and (max-width: 1023px) {
	.grid-ventajas > .ventaja:last-child:nth-child(odd) {
		grid-column: 1 / span 2;
		justify-self: center;
		width: calc(50% - var(--gap));
	}
}

@media screen and (min-width: 1024px) {
	.grid-ventajas {
		grid-template-columns: repeat(5, 1fr);
	}
}

.faq-item {
	background: white;
	border-radius: 10px;
	margin-bottom: 10px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-question {
	cursor: pointer;
	padding: 16px;
	font-weight: bold;
	color: var(--azul);
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}
.faq-question::after {
	content: '▾';
	position: absolute;
	right: 16px;
	transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
	transform: rotate(180deg);
}

.faq-answer {
	padding: 0 16px 20px;
	display: none;
}

/* Opcional: ícono animado */
.faq summary::after {
	content: '▾';
	font-size: 1.2em;
	transition: transform 0.3s ease;
}
details[open] summary::after {
	transform: rotate(180deg);
}


footer {
	padding: 2rem 1rem;
	background: white;
	color: var(--azul);
	font-size: 20px;
}
footer .telefono {
	font-size: 22px;
}
footer .container {
	display: flex;
	    flex-wrap: wrap;
	gap: var(--gap);
	justify-content: space-between;
}
.footer-container {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.logo-redes {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
}

.logo-redes.nr .logo {
	width: 102px;
}
.logo-redes.nova .logo {
	width: 200px;
}
.redes {
	display: flex;
}
.redes a {
	display: inline-flex;
	width: 50px;
	margin-left: 5px;
}

.redes a img {
	width: 47px;
	height: 47px;
}

.contacto {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.item {
	display: flex;
	align-items: flex-start;
	gap: var(--gap);
}

.item img {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

@media (min-width: 1220px) {
	body {
		padding-top: 130px;
	}
	.menu-toggle {
		display: none; /* oculta el ícono en desktop */
	}
	.header {
		position: fixed;
		width: 100%;
		top: 0;
		box-shadow: 3px 3px 10px #00000066;
	}
	.nav {
		display: block;
		position: static;
		width: auto;
		height: auto;
		background: none;
		box-shadow: none;
		padding: 0;
		transform: none;
	}
	.nav ul {
		display: flex;
		gap: 20px;
		margin: 0;
	}
	.nav li {
		border: none;
		padding: 0;
	}
	.nav a {
		font-size: 20px;
		color: black;
	}
}
.interna p {
	margin: 10px 0;
}
.interna ul {
	background: var(--azul);
	color: white;
	font-weight: bold;
	padding: 20px 40px;
	margin: 10px 0;
	border-radius: 10px;
}
.interna ul li {

}
.whatsapp-float {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	background-color: #25D366; /* verde WhatsApp */
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: pulse 2s infinite;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
	width: 60%;
	height: 60%;
}

.whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Animación de pulso */
@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}
	70% {
		transform: scale(1.1);
		box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}
