@import url("colors.css");
@import url("boxes.css");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	--faq-bg: #fff;
	--faq-border: #ececec;
	--faq-text: #0f172a; /* slate-900 */
	--faq-muted: #475569; /* slate-600 */
	--faq-accent: #16a34a; /* green-600 */
	--faq-accent-2: #06b6d4; /* cyan-500 */
	--faq-shadow: 0 0.375rem 1.25rem rgba(2, 6, 23, 0.08); /* 6px 20px */
}

html {
	scroll-behavior: smooth;
}

.iphone-margin-hexagons {
  margin-top: 4rem;
}

.iphone-margin-hero {
  margin-top: 1rem;
}

body {
	font-family: "Poppins", sans-serif;
	background-color: #f9f9f9;
	color: #333;
}

.btn {
	display: inline-block;
	background: #36ce36;
	color: white;
	padding: 0.625rem 1.25rem; /* 10px 20px */
	border-radius: 1.563rem; /* 25px */
	margin-top: 0.625rem; /* 10px */
	text-decoration: none;
	transition: background 0.3s;
}
.btn:hover {
	background: #2aa82a;
}

/* ===== SECCIONES ===== */
section {
	padding: 6.25rem 1.25rem; /* 100px 20px */
	text-align: center;
	max-width: 90%;
	margin: auto;
}
section h2 {
	text-align: center;
	color: #191970;
	margin-bottom: 1.875rem; /* 30px */
	font-size: 2rem;
}

section p {
	text-align: center;
	color: #191970;
	font-size: 1rem;
}

section p .text-left {
	text-align: left;
	color: #191970;
	font-size: 1rem;
}

section p .text-right {
	text-align: left;
	color: #191970;
	font-size: 1rem;
}

section .text-left {
	text-align: left;
}

section .text-right {
	text-align: right;
}

/* ===== FOOTER ===== */
footer {
	text-align: center;
	padding: 1.25rem; /* 20px */
	background: #191970;
	color: white;
}
.section-container {
	display: flex;
	flex-direction: column;
}
.padding-less-bottom {
	padding: 3.125rem 1.25rem 1.125rem 1.25rem; /* 50px 20px 18px */
}
.padding-less-top {
	padding: 1.125rem 1.25rem 3.125rem 1.25rem; /* 18px 20px 50px */
}

/* Animación de entrada con AOS */
[data-aos="scale-up-center"] {
	transform: scale(0.8);
	opacity: 0;
	transition: all 0.8s ease;
}

[data-aos="scale-up-center"].aos-animate {
	transform: scale(1);
	opacity: 1;
}

[data-aos="scale-up-center"].aos-exit {
	transform: scale(0.8);
	opacity: 0.6;
}

.highlight-center {
	transform: scale(1);
	transition: transform 0.3s ease;
}

.pricing-section {
	padding-top: 20rem;
	display: flex;
	justify-content: center;
	gap: 1.25rem; /* 20px */
	padding: 0 1.25rem 3.125rem 1.25rem; /* 0 20px 50px */
}

.hexagons-section {
	height: 25rem;
}

.proposal-section {
	display: flex;
	justify-content: center;
}

.featured {
	transform: scale(1.05);
	border: 0.125rem solid #2aa82a; /* 2px */
}

.featured .tag {
	background: #2aa82a;
	padding: 0.313rem 0.625rem; /* 5px 10px */
	border-radius: 0.625rem; /* 10px */
	font-size: 0.8rem;
	color: #000;
	display: inline-block;
	margin-bottom: 0.625rem; /* 10px */
}

.dark-btn {
	background: #000;
	color: white;
}

.dark-btn:hover {
	background: #333;
}

.contact-container {
	position: relative;
}

.contact-btn {
	position: fixed;
	bottom: 3.125rem; /* 50px */
	right: 3.125rem; /* 50px */
	display: inline-block;
	background: #36ce36;
	color: white;
	padding: 0.75rem 1.25rem; /* 12px 20px */
	border-radius: 1.875rem; /* 30px */
	text-decoration: none;
	font-weight: 500;
	overflow: hidden;
	transition: color 0.3s ease;
	z-index: 1000;
	box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2); /* 4px 12px */
}

.contact-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, #191970, #11114e);
	transition: left 0.4s ease;
	z-index: -1;
}

.contact-btn:hover::before {
	left: 0;
}

.contact-btn:hover {
	color: white;
}

@media (max-width: 768px) {
	/* 48rem */
	.scale-down {
		transform: scale(0.7) !important;
	}
	.hide-mobile {
		display: none;
	}
}
@media (max-width: 480px) {
	/* 30rem */
	.scale-down {
		transform: scale(0.7) !important;
	}
	.hide-mobile {
		display: none;
	}
}

/* MODAL */

/* Fondo oscuro */
.modal {
	display: none; /* oculto por defecto */
	position: fixed;
	z-index: 1000;
	padding-top: 80px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
}

/* Caja del modal */
.modal-content {
	background: #fff;
	margin: auto;
	padding: 20px 30px;
	border-radius: 12px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	position: relative;
}

/* Botón cerrar */
.close-modal {
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	position: absolute;
	right: 15px;
	top: 10px;
	cursor: pointer;
}

.close-modal:hover {
	color: #000;
}

/* Inputs */
.modal-content .form-group {
	margin-bottom: 15px;
}

.modal-content label {
	display: block;
	margin-bottom: 6px;
	font-weight: bold;
}

.modal-content input,
.modal-content textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.modal-content textarea {
	min-height: 80px;
	resize: vertical;
}

.modal-btn {
	background: #191970;
	color: #fff;
	padding: 12px 20px;
	border-radius: 30px;
	font-size: 16px;
	font-weight: bold;
	border: none;
	cursor: pointer;
	width: 100%;
	margin-top: 20px;
	transition: background 0.3s;
}

.modal-btn:hover {
	background: #2d2da5;
}

.modal-action-btn{
	cursor: pointer !important;
}



/* Modal base */
.hex-modal {
	display: none; /* oculto por defecto */
	position: fixed;
	z-index: 1000;
	padding-top: 80px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: rgba(0,0,0,0.7);
}

/* Contenido del modal */
.hex-modal-content {
	background: #fff;
	margin: 10% auto;
	padding: 20px;
	border-radius: 10px;
	width: 90%;
	max-width: 600px;
	text-align: left;
	position: relative;
}

/* Botón de cerrar */
.hex-close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	color: #333;
}