/* Estilos globales */
:root {
	--color-bg-primary: #f4f1ed;
	--color-accent-1: #ff5a5f;
	--color-accent-2: #3d3d3d;
	--color-accent-3: #fdd365;
	--color-text-primary: #1a1a1a;
	--color-text-secondary: #777;
	--font-family: 'Poppins', sans-serif;
	--border-radius: 8px;
	--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

section[id] {
	scroll-margin-top: 40px;
}

body {
	font-family: var(--font-family);
	background-color: var(--color-bg-primary);
	color: var(--color-text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 80px 0;
}

a {
	color: var(--color-accent-1);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--color-accent-2);
}

img {
	max-width: 100%;
	height: auto;
}

.btn {
	display: inline-block;
	padding: 12px 28px;
	background-color: var(--color-accent-1);
	color: white;
	border: none;
	border-radius: var(--border-radius);
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	text-align: center;
}

.btn:hover {
	background-color: var(--color-accent-2);
	color: white;
	transform: translateY(-3px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

p {
	margin-bottom: 1.5rem;
}

/* Header */
header {
	background-color: white;
	box-shadow: var(--box-shadow);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.logo {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-accent-2);
}

.logo span {
	color: var(--color-accent-1);
}

/* Navegación de escritorio */
.nav-desktop {
	display: none;
}

.nav-desktop ul {
	display: flex;
	list-style: none;
}

.nav-desktop ul li {
	margin-left: 20px;
}

.nav-desktop ul li a {
	color: var(--color-accent-2);
	font-weight: 500;
	padding: 10px;
}

.nav-desktop ul li a:hover {
	color: var(--color-accent-1);
}

/* Navegación móvil - Checkbox Hack */
.nav-mobile {
	position: relative;
}

.menu-toggle {
	display: none;
}

.menu-btn {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	cursor: pointer;
	z-index: 101;
	position: relative;
}

.menu-btn span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: var(--color-accent-2);
	transition: var(--transition);
}

.menu-items {
	position: fixed;
	top: 0;
	right: -100%;
	width: 80%;
	max-width: 300px;
	height: 100vh;
	background-color: white;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	padding: 100px 20px 20px;
	transition: var(--transition);
	overflow-y: auto;
	z-index: 100;
}

.menu-items ul {
	list-style: none;
}

.menu-items ul li {
	margin-bottom: 15px;
}

.menu-items ul li a {
	color: var(--color-accent-2);
	font-weight: 500;
	display: block;
	padding: 10px;
}

.menu-toggle:checked~.menu-items {
	right: 0;
}

.menu-toggle:checked~.menu-btn span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.menu-toggle:checked~.menu-btn span:nth-child(2) {
	opacity: 0;
}

.menu-toggle:checked~.menu-btn span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
	z-index: 99;
}

.menu-toggle:checked~.overlay {
	opacity: 1;
	visibility: visible;
}

/* Hero Section */
.hero {
	background-image: url('../img/L3B38.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: calc(100vh - 80px);
	min-height: 500px;
	position: relative;
	color: white;
	display: flex;
	align-items: center;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
}

.hero h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.hero p {
	font-size: 1.1rem;
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Sobre Nosotros */
.about {
	padding: 80px 0;
}

.about h2 {
	text-align: center;
	margin-bottom: 40px;
}

.about-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: center;
}

.about-image {
	flex: 1;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
}

.about-text {
	flex: 1;
}

/* Servicios */
.services {
	background-color: white;
	padding: 80px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 40px;
}

.section-title h2 {
	color: var(--color-accent-1);
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
}

.section-title h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: var(--color-accent-1);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	background-color: var(--color-bg-primary);
	border-radius: var(--border-radius);
	padding: 30px;
	text-align: center;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-icon {
	background-color: var(--color-accent-3);
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.service-icon img {
	max-width: 35px;
}

.service-card h3 {
	margin-bottom: 15px;
	color: var(--color-accent-2);
}

/* Beneficios */
.benefits {
	padding: 80px 0;
}

.benefits-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(274px, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.benefit-icon {
	min-width: 40px;

	background-color: var(--color-accent-1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 20px;
}

.benefit-content h3 {
	margin-bottom: 10px;
	font-size: 1.2rem;
}

/* Testimonios */
.testimonials {
	background-color: white;
	padding: 80px 0;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.testimonial-card {
	background-color: var(--color-bg-primary);
	border-radius: var(--border-radius);
	padding: 30px;
	box-shadow: var(--box-shadow);
	position: relative;
}

.testimonial-card::before {
	content: '"';
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 4rem;
	line-height: 1;
	color: var(--color-accent-3);
	opacity: 0.3;
	font-family: serif;
}

.testimonial-content {
	position: relative;
	z-index: 1;
}

.testimonial-author {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.testimonial-author img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.author-info h4 {
	margin-bottom: 5px;
}

.author-info p {
	color: var(--color-text-secondary);
	margin: 0;
	font-size: 0.9rem;
}

/* FAQ */
.faq {
	padding: 80px 0;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 15px;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	background-color: white;
}

.faq-question {
	position: relative;
	padding: 20px;
	cursor: pointer;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.faq-question::after {
	content: '+';
	font-size: 1.5rem;
	color: var(--color-accent-1);
	transition: var(--transition);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 20px;
	transition: var(--transition);
	background-color: #f9f9f9;
}

.faq-toggle {
	display: none;
}

.faq-toggle:checked~.faq-answer {
	max-height: 500px;
	padding: 20px;
}

.faq-toggle:checked~.faq-question::after {
	content: '-';
	transform: rotate(180deg);
}

/* Blog */
.blog {
	background-color: white;
	padding: 80px 0;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.blog-card {
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	background-color: var(--color-bg-primary);
	transition: var(--transition);
}

.blog-card:hover {
	transform: translateY(-5px);
}

.blog-image {
	height: 200px;
	overflow: hidden;
}

.blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.blog-card:hover .blog-image img {
	transform: scale(1.05);
}

.blog-content {
	padding: 20px;
}

.blog-date {
	color: var(--color-accent-1);
	font-size: 0.9rem;
	margin-bottom: 10px;
}

.blog-content h3 {
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.blog-content p {
	margin-bottom: 15px;
	color: var(--color-text-secondary);
}

/* Formulario de Contacto */
.contact {
	padding: 80px 0;
	background-color: var(--color-accent-2);
	color: white;
}

.contact-form-container {
	max-width: 800px;
	margin: 0 auto;
	background-color: white;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	padding: 40px;
	color: var(--color-text-primary);
}

.contact-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.form-group {
	margin-bottom: 15px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: var(--border-radius);
	font-size: 1rem;
	transition: var(--transition);
}

.form-control:focus {
	outline: none;
	border-color: var(--color-accent-1);
	box-shadow: 0 0 0 3px rgba(255, 90, 95, 0.2);
}

.form-control::placeholder {
	color: #bbb;
}

select.form-control {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%233d3d3d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px;
	padding-right: 40px;
}


.checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 3px;
}

.checkbox-group label {
	font-size: 0.9rem;
	margin-bottom: 0;
}

.checkbox-group label a {
	text-decoration: underline;
}

.form-submit {
	text-align: center;
	margin-top: 20px;
}

.btn-submit {
	background-color: var(--color-accent-1);
	color: white;
	border: none;
	border-radius: var(--border-radius);
	padding: 12px 30px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.btn-submit:hover {
	background-color: var(--color-accent-2);
	transform: translateY(-3px);
}

/* Footer */
footer {
	background-color: var(--color-accent-2);
	color: white;
	padding: 60px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-col h3 {
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 15px;
}

.footer-col h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--color-accent-1);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 15px;
}

.footer-links a {
	color: #ddd;
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--color-accent-1);
	padding-left: 5px;
}

.contact-info {
	list-style: none;
}

.contact-info li {
	margin-bottom: 15px;
	display: flex;
	gap: 10px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 20px;
	text-align: center;
	color: #bbb;
	font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: -100%;
	left: 0;
	width: 100%;
	background-color: white;
	padding: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: var(--transition);
}

.cookie-consent.show {
	bottom: 0;
}

.cookie-consent-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.cookie-text {
	flex: 1;
}

.cookie-text h3 {
	margin-bottom: 10px;
}

.cookie-buttons {
	display: flex;
	gap: 15px;
}

.btn-cookie {
	padding: 10px 25px;
	border-radius: var(--border-radius);
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

.btn-accept {
	background-color: var(--color-accent-1);
	color: white;
	border: none;
}

.btn-accept:hover {
	background-color: var(--color-accent-2);
}

.btn-decline {
	background-color: white;
	color: var(--color-accent-2);
	border: 1px solid var(--color-accent-2);
}

.btn-decline:hover {
	background-color: #f5f5f5;
}

/* Página de Gracias */
.thanks-section {
	margin: 8rem auto 5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - 300px);
}

.thanks-container {
	margin: 0 auto;
	max-width: 600px;
	padding: 40px;
	background-color: white;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	text-align: center;
	border: 1px solid var(--color-accent-1);
}

.thanks-icon {
	width: 80px;
	height: 80px;
	background-color: var(--color-accent-3);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	color: var(--color-accent-2);
	font-size: 40px;
}

.thanks-container h2 {
	margin-bottom: 20px;
	color: var(--color-accent-2);
}

.thanks-container p {
	margin-bottom: 30px;
	color: var(--color-text-secondary);
}

/* Páginas Legales */
.legal-page {
	padding: 60px 0;
}

.legal-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px;
	background-color: white;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.legal-container h1 {
	margin-bottom: 30px;
	color: var(--color-accent-2);
	position: relative;
	padding-bottom: 15px;
}

.legal-container h1::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background-color: var(--color-accent-1);
}

.legal-container h2 {
	margin-top: 30px;
	margin-bottom: 15px;
	color: var(--color-accent-2);
}

.legal-container p {
	margin-bottom: 20px;
}

.legal-container ul,
.legal-container ol {
	margin-bottom: 20px;
	margin-left: 20px;
}

.legal-container li {
	margin-bottom: 10px;
}

/* Media Queries */
@media (min-width: 768px) {
	.hero h1 {
		font-size: 3.5rem;
	}

	.about-content {
		flex-direction: row;
	}

	.contact-form {
		grid-template-columns: 1fr 1fr;
	}

	.form-group.full-width {
		grid-column: 1 / -1;
	}

	.cookie-consent-container {
		flex-direction: row;
		align-items: center;
	}

	.nav-desktop {
		display: block;
	}

	.nav-mobile {
		display: none;
	}
}

@media (max-width: 767px) {
	.hero h1 {
		font-size: 2rem;
	}

	.section-padding {
		padding: 60px 0;
	}
}