/* Main CSS for Innovar Servicios Empresariales */

:root {
	--main-bg: #f9f4ef;
	--accent-1: #ff6b6b;
	--accent-2: #4ecdc4;
	--text-color: #1c1c1c;
	--heading-color: #003049;
	--gradient-btn: linear-gradient(to right, #ff6b6b, #ffb400);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background-color: var(--main-bg);
	color: var(--text-color);
	line-height: 1.6;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading-color);
	margin-bottom: 1rem;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--accent-1);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--accent-2);
}

.btn {
	display: inline-block;
	padding: 12px 25px;
	background: var(--gradient-btn);
	color: white;
	border: none;
	border-radius: 5px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	height: 60px;
}

.nav-toggle {
	display: none;
}

.nav-toggle-label {
	display: none;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 30px;
}

nav ul li a {
	color: var(--heading-color);
	font-weight: 500;
	position: relative;
}

nav ul li a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: var(--accent-1);
	transition: width 0.3s ease;
}

nav ul li a:hover::after {
	width: 100%;
}

/* Hero Section */
.hero {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/7E8chS.jpg");
	background-size: cover;
	background-position: center;
	color: white;
	padding: 100px 0;
	text-align: center;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	color: white;
}

.hero p {
	font-size: 1.2rem;
	max-width: 800px;
	margin: 0 auto 2rem;
}

/* About Section */
.about {
	padding: 80px 0;
	text-align: center;
}

.about-content {
	max-width: 800px;
	margin: 0 auto;
}

/* Services Section */
.services {
	padding: 80px 0;
	background-color: white;
}

.services-title {
	text-align: center;
	margin-bottom: 50px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.service-card {
	background-color: var(--main-bg);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.service-content {
	padding: 20px;
}

.service-price {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--accent-1);
	margin: 10px 0;
}

/* Benefits Section */
.benefits {
	padding: 80px 0;
}

.benefits-title {
	text-align: center;
	margin-bottom: 50px;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.benefit-item {
	text-align: center;
	padding: 20px;
}

.benefit-icon {
	font-size: 2.5rem;
	color: var(--accent-2);
	margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
	padding: 80px 0;
	background-color: white;
}

.testimonials-title {
	text-align: center;
	margin-bottom: 50px;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.testimonial-card {
	background-color: var(--main-bg);
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.client-info {
	display: flex;
	align-items: center;
	margin-top: 20px;
}

.client-img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 15px;
}

/* FAQ Section */
.faq {
	padding: 80px 0;
}

.faq-title {
	text-align: center;
	margin-bottom: 50px;
}

.faq-item {
	margin-bottom: 20px;
}

.faq-question {
	padding: 15px;
	background-color: white;
	border-radius: 5px;
	cursor: pointer;
	position: relative;
	font-weight: bold;
}

.faq-question::after {
	content: "+";
	position: absolute;
	right: 15px;
	transition: transform 0.3s ease;
}

.faq-item:target .faq-question::after {
	content: "-";
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background-color: var(--main-bg);
	padding: 0 15px;
	border-radius: 0 0 5px 5px;
}

.faq-item:target .faq-answer {
	max-height: 500px;
	padding: 15px;
}

/* Contact Form Section */
.contact {
	padding: 80px 0;
	background-color: white;
}

.contact-title {
	text-align: center;
	margin-bottom: 50px;
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background: var(--main-bg);
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 20px;
}

label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
}

input,
select,
textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: inherit;
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.checkbox-group input {
	width: auto;
	margin-right: 10px;
	margin-top: 5px;
}

/* Contact Info Section */
.contact-info {
	padding: 80px 0;
}

.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.contact-info-item {
	text-align: center;
}

.contact-icon {
	font-size: 2rem;
	color: var(--accent-1);
	margin-bottom: 15px;
}

.map-container {
	margin-top: 50px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-img {
	width: 100%;
	height: auto;
}

/* Footer */
footer {
	background-color: var(--heading-color);
	color: white;
	padding: 50px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

.footer-title {
	color: white;
	font-size: 1.2rem;
	margin-bottom: 20px;
}

.footer-links a {
	color: white;
	opacity: 0.8;
	display: block;
	margin-bottom: 10px;
}

.footer-links a:hover {
	opacity: 1;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: white;
	padding: 15px;
	border-radius: 5px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 9999;
}

.cookie-text {
	flex: 1;
	margin-right: 20px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
	.nav-toggle-label {
		display: block;
		cursor: pointer;
		font-size: 1.5rem;
	}

	.nav-toggle-label span,
	.nav-toggle-label span::before,
	.nav-toggle-label span::after {
		display: block;
		background: var(--heading-color);
		height: 2px;
		width: 2em;
		position: relative;
	}

	.nav-toggle-label span::before,
	.nav-toggle-label span::after {
		content: "";
		position: absolute;
	}

	.nav-toggle-label span::before {
		bottom: 7px;
	}

	.nav-toggle-label span::after {
		top: 7px;
	}

	nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: white;
		height: 0;
		overflow: hidden;
		transition: height 0.3s ease;
	}

	.nav-toggle:checked ~ nav {
		height: auto;
	}

	nav ul {
		flex-direction: column;
		padding: 20px;
	}

	nav ul li {
		margin: 0;
		margin-bottom: 20px;
	}

	.header-container {
		position: relative;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.cookie-consent {
		flex-direction: column;
		text-align: center;
	}

	.cookie-text {
		margin-right: 0;
		margin-bottom: 15px;
	}

	.contact-form {
		padding: 20px;
	}
}
