/* Estilos Globales */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Arial', sans-serif;
}

:root {
	--color-primary: #112A46;
	--color-accent: #FF775B;
	--color-background: #FEFDF9;
	--color-secondary: #B5DCC1;
	--color-text: #1B1B1B;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

section[id] {
	scroll-margin-top: 40px;
}

body {
	background-color: var(--color-background);
	color: var(--color-text);
	line-height: 1.6;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* Animaciones */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideIn {
	from {
		transform: translateX(-50px);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

	100% {
		transform: scale(1);
	}
}

/* Header y Navegación */
header {
	background-color: var(--color-primary);
	color: white;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
}

.logo {
	font-size: 1.8rem;
	font-weight: bold;
	color: white;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.05);
}

/* Menú de hamburguesa con Checkbox */
.burger-menu {
	display: none;
}

#burger-toggle {
	display: none;
}

.burger-label {
	display: none;
	cursor: pointer;
	flex-direction: column;
	width: 30px;
	height: 21px;
}

.burger-label span {
	background-color: white;
	border-radius: 10px;
	height: 3px;
	margin: 3px 0;
	transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.nav-menu ul {
	display: flex;
	gap: 1.5rem;
}

.nav-menu a {
	position: relative;
	color: white;
	font-weight: 500;
	transition: color 0.3s;
}

.nav-menu a:hover {
	color: var(--color-accent);
}

.nav-menu a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-accent);
	transition: width 0.3s;
}

.nav-menu a:hover::after {
	width: 100%;
}

/* Sección Hero */
.hero {
	position: relative;
	background: linear-gradient(rgba(17, 42, 70, 0.7), rgba(17, 42, 70, 0.7)), url('./img/FFglb.jpg');
	background-size: cover;
	background-position: center;
	height: 80vh;
	display: flex;
	align-items: center;
	text-align: center;
	color: white;
}

.hero-content {
	animation: fadeIn 1s ease-out;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.btn {
	display: inline-block;
	background-color: var(--color-accent);
	color: white;
	padding: 0.8rem 2rem;
	border-radius: 50px;
	font-weight: bold;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.btn:hover {
	background-color: #e05a3e;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sección Sobre Nosotros */
.about {
	padding: 5rem 0;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	position: relative;
	color: var(--color-primary);
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--color-accent);
}

.about-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
}

.about-img {
	flex: 1;
	min-width: 280px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
	flex: 1;
	min-width: 280px;
	animation: slideIn 1s ease-out;
}

/* Sección Servicios */
.services {
	padding: 5rem 0;
	background-color: rgba(181, 220, 193, 0.1);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-img {
	height: 150px;
	overflow: hidden;
}

.service-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
	transform: scale(1.1);
}

.service-content {
	padding: 1.5rem;
}

.service-content h3 {
	color: var(--color-primary);
	margin-bottom: 1rem;
}

/* Sección Por Qué Elegirnos */
.why-us {
	padding: 5rem 0;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.feature {
	text-align: center;
	padding: 1.5rem;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.feature:hover {
	transform: translateY(-5px);
}

.feature-icon {
	background-color: var(--color-secondary);
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

/* Sección Etapas de Trabajo */
.work-stages {
	padding: 5rem 0;
	background-color: rgba(17, 42, 70, 0.05);
}

.timeline {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 0;
}

.timeline::after {
	content: '';
	position: absolute;
	width: 3px;
	background-color: var(--color-primary);
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -1.5px;
}

.timeline-item {
	padding: 10px 40px;
	position: relative;
	width: 50%;
	box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
	left: 0;
}

.timeline-item:nth-child(even) {
	left: 50%;
}

.timeline-item::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	right: -10px;
	background-color: var(--color-accent);
	border-radius: 50%;
	top: 15px;
	z-index: 1;
}

.timeline-item:nth-child(even)::after {
	left: -10px;
}

.timeline-content {
	padding: 20px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Sección Testimonios */
.testimonials {
	padding: 5rem 0;
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.testimonial-card {
	background-color: white;
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-5px);
}

.testimonial-content {
	margin-bottom: 1.5rem;
	position: relative;
}

.testimonial-content::before {
	content: '"';
	position: absolute;
	top: -20px;
	left: -10px;
	font-size: 60px;
	color: rgba(181, 220, 193, 0.5);
	font-family: serif;
	line-height: 1;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-author img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 1rem;
	object-fit: cover;
}

/* Sección FAQ */
.faq {
	padding: 5rem 0;
	background-color: rgba(181, 220, 193, 0.1);
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	border-radius: 10px;
	overflow: hidden;
	background-color: white;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
	display: block;
	padding: 1.5rem;
	font-weight: bold;
	cursor: pointer;
	background-color: white;
	color: var(--color-primary);
	position: relative;
	transition: background-color 0.3s;
}

.faq-question:hover {
	background-color: rgba(181, 220, 193, 0.1);
}

.faq-question::after {
	content: '+';
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	transition: transform 0.3s;
}

.faq-checkbox {
	display: none;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 1.5rem;
	transition: max-height 0.5s, padding 0.5s;
	background-color: white;
}

.faq-checkbox:checked+.faq-question::after {
	transform: translateY(-50%) rotate(45deg);
}

.faq-checkbox:checked~.faq-answer {
	max-height: 500px;
	padding: 0 1.5rem 1.5rem;
}

/* Sección Formulario */
.contact {
	padding: 5rem 0;
}

.form-container {
	max-width: 700px;
	margin: 0 auto;
	background-color: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 1.5rem;
	position: relative;
}

.form-control {
	width: 100%;
	padding: 1rem 1rem 1rem 3rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	transition: border-color 0.3s;
}

.form-control:focus {
	outline: none;
	border-color: var(--color-primary);
}

.form-icon {
	position: absolute;
	left: 1rem;
	top: 1rem;
	color: var(--color-primary);
}

.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23112A46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 3rem;
}

.form-group select option {
	background-color: white;
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
	margin-right: 10px;
	margin-top: 5px;
}

.checkbox-group label {
	font-size: 0.9rem;
	line-height: 1.4;
}

.checkbox-group a {
	color: var(--color-accent);
	text-decoration: underline;
}

.checkbox-group a:hover {
	color: var(--color-primary);
}

/* Página de Gracias */
.thank-you {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 60vh;
	margin: 10rem auto 5rem;
	max-width: 800px;
	padding: 3rem;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	animation: fadeIn 1s ease-out;
}

.thank-you h1 {
	color: var(--color-primary);
	margin-bottom: 1.5rem;
}

.thank-you p {
	margin-bottom: 2rem;
	font-size: 1.1rem;
}

/* Páginas de Políticas */
.policy-page {
	padding: 3rem 0;
}

.policy-container {
	background-color: white;
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	margin: 0 auto;
	max-width: 1000px;
}

.policy-header {
	text-align: center;
	margin-bottom: 2rem;
}

.policy-content h2 {
	color: var(--color-primary);
	margin: 2rem 0 1rem;
	font-size: 1.5rem;
}

.policy-content p {
	margin-bottom: 1rem;
}

.policy-content ul {
	margin-bottom: 1rem;
	padding-left: 2rem;
	list-style: disc;
}

/* Footer */
footer {
	background-color: var(--color-primary);
	color: white;
	padding: 4rem 0 1rem;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.footer-section h3 {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	position: relative;
}

.footer-section h3::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--color-accent);
}

.footer-links li {
	margin-bottom: 0.7rem;
}

.footer-links a {
	color: white;
	transition: color 0.3s;
}

.footer-links a:hover {
	color: var(--color-accent);
}

.footer-contact li {
	display: flex;
	margin-bottom: 1rem;
}

.footer-contact span {
	margin-left: 10px;
}

.copyright {
	text-align: center;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 400px;
	background-color: white;
	padding: 1.5rem;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	display: none;
}

.cookie-consent.show {
	display: flex;
	animation: slideInUp 0.5s forwards;
}

.cookie-text {
	font-size: 0.9rem;
}

.cookie-buttons {
	display: flex;
	gap: 0.5rem;
}

.cookie-btn {
	padding: 0.5rem 1rem;
	border-radius: 5px;
	font-size: 0.9rem;
	cursor: pointer;
	font-weight: 500;
	transition: background-color 0.3s;
}

.cookie-accept {
	background-color: var(--color-accent);
	color: white;
	border: none;
}

.cookie-accept:hover {
	background-color: #e05a3e;
}

.cookie-decline {
	background-color: transparent;
	border: 1px solid #ddd;
	color: var(--color-text);
}

.cookie-decline:hover {
	background-color: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 992px) {
	.hero h1 {
		font-size: 2.5rem;
	}

	.timeline::after {
		left: 31px;
	}

	.timeline-item {
		width: 100%;
		padding-left: 70px;
		padding-right: 25px;
	}

	.timeline-item:nth-child(even) {
		left: 0;
	}

	.timeline-item:nth-child(odd)::after,
	.timeline-item:nth-child(even)::after {
		left: 21px;
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 0.8rem 1rem;
	}

	.burger-label {
		display: flex;
	}

	.nav-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--color-primary);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s ease;
	}

	.nav-menu ul {
		flex-direction: column;
		padding: 0;
	}

	.nav-menu li {
		padding: 1rem;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	#burger-toggle:checked~.nav-menu {
		max-height: 300px;
	}



	.hero h1 {
		font-size: 2rem;
	}

	.about-content {
		flex-direction: column;
	}

	.section-title {
		font-size: 2rem;
	}

	.footer-container {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.container {
		width: 95%;
		padding: 0 0.5rem;
	}


	.hero h1 {
		font-size: 1.8rem;
	}

	.btn {
		padding: 0.7rem 1.5rem;
	}

	.feature {
		padding: 1rem;
	}

	.form-container {
		padding: 1.5rem;
	}
}