/* 
* domain - Servicios de Contabilidad
* Estilos generales del sitio
*/

:root {
	--primary-bg: #041C2C;
	--accent: #FFD700;
	--block-bg: #F8F8F8;
	--cta: #268AFF;
	--text: #121212;
	--white: #FFFFFF;
	--gray: #6c757d;
	--light-gray: #e9ecef;
	--border: #ccc;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

body {
	font-family: 'Montserrat', Arial, sans-serif;
	color: var(--text);
	line-height: 1.6;
	background-color: var(--primary-bg);
}

section[id] {
	scroll-margin-top: 40px;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
	position: relative;
	display: inline-block;
}

h2:after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 80px;
	height: 3px;
	background-color: var(--accent);
	transition: width 0.3s ease;
}

h2:hover:after {
	width: 100%;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--cta);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--accent);
}

.btn {
	display: inline-block;
	padding: 12px 25px;
	background-color: var(--cta);
	color: var(--white);
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn:hover {
	background-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	color: var(--primary-bg);
}

.section-padding {
	padding: 5rem 0;
}

.text-center {
	text-align: center;
}

/* Header */
header {
	background-color: var(--primary-bg);
	padding: 1rem 0;
	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;
}

.logo {
	font-size: 2rem;
	font-weight: 700;
	color: var(--white);
}

.logo span {
	color: var(--accent);
}

/* Hamburger Menu with CSS */
.nav-toggle {
	display: none;
}

.nav-toggle-label {
	display: none;
	cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
	display: block;
	background: var(--white);
	height: 2px;
	width: 2em;
	border-radius: 2px;
	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 ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}

nav li {
	margin-left: 2rem;
}

nav a {
	color: var(--white);
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 1px;
	position: relative;
	padding-bottom: 5px;
}

nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent);
	transition: width 0.3s ease;
}

nav a:hover::after {
	width: 100%;
}

/* Hero Section */
.hero {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(4, 28, 44, 0.7);
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 0 20px;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	animation: fadeInDown 1s ease;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	animation: fadeInUp 1s ease;
}

/* Sections */
.section-title {
	margin-bottom: 3rem;
}

/* About Section */
.about {
	background-color: var(--white);
}

.about-content {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
}

.about-text {
	flex: 1;
	min-width: 300px;
}

.about-image {
	flex: 1;
	min-width: 300px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.about-image:hover {
	transform: scale(1.02);
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Services Section */
.services {
	background-color: var(--block-bg);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.service-card {
	background-color: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
	height: 150px;
	overflow: hidden;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
	transform: scale(1.1);
}

.service-content {
	padding: 1.5rem;
}

.service-content h3 {
	margin-bottom: 1rem;
	color: var(--primary-bg);
}

/* Benefits Section */
.benefits {
	background-color: var(--white);
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.benefit-card {
	background-color: var(--block-bg);
	padding: 2rem;
	border-radius: 8px;
	text-align: center;
	transition: all 0.3s ease;
}

.benefit-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
	margin-bottom: 1rem;
	height: 150px;
	overflow: hidden;
}

.benefit-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.benefit-card h3 {
	margin-bottom: 1rem;
	color: var(--primary-bg);
}

/* FAQ Section */
.faq {
	background-color: var(--block-bg);
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	margin-bottom: 1rem;
	background-color: var(--white);
	border-radius: 8px;
	overflow: hidden;
}

.faq-question {
	padding: 1.5rem;
	position: relative;
	cursor: pointer;
	font-weight: 600;
	display: block;
	width: 100%;
	text-align: left;
	background-color: var(--white);
	border: none;
	outline: none;
	transition: all 0.3s ease;
}

.faq-question:after {
	content: '+';
	font-size: 1.5rem;
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.3s ease;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 1.5rem;
	transition: all 0.3s ease;
}

.faq-toggle {
	display: none;
}

.faq-toggle:checked~.faq-answer {
	max-height: 500px;
	padding: 0 1.5rem 1.5rem;
}

.faq-toggle:checked~.faq-question:after {
	transform: translateY(-50%) rotate(45deg);
}

/* Testimonials Section */
.testimonials {
	background-color: var(--white);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.testimonial-card {
	background-color: var(--block-bg);
	padding: 2rem;
	border-radius: 8px;
	position: relative;
	transition: all 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card:before {
	content: '"';
	font-size: 5rem;
	position: absolute;
	top: 10px;
	left: 20px;
	color: rgba(0, 0, 0, 0.1);
	font-family: Georgia, serif;
}

.testimonial-content {
	margin-bottom: 1.5rem;
	font-style: italic;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-image {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 1rem;
}

.testimonial-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-name {
	font-weight: 600;
}

.testimonial-role {
	font-size: 0.9rem;
	color: var(--gray);
}

/* Form Section */
.contact-form {
	background-color: var(--block-bg);
}

.form-container {
	max-width: 500px;
	margin: 0 auto;
	background-color: var(--white);
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-control:focus {
	outline: none;
	border-color: var(--cta);
}

.form-select {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-size: 1rem;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.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: calc(100% - 1rem) center;
	background-size: 16px;
}

.form-select option {
	background-color: var(--white);
	color: var(--text);
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.checkbox-input {
	margin-right: 0.75rem;
	margin-top: 0.3rem;
}

.checkbox-label {
	font-size: 0.9rem;
}

.checkbox-label a {
	text-decoration: underline;
}

.form-button {
	width: 100%;
	padding: 0.75rem;
	background-color: var(--cta);
	color: var(--white);
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.form-button:hover {
	background-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	color: var(--primary-bg);
}

/* Contacts Section */
.contacts {
	background-color: var(--white);
}

.contacts-container {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.contact-info {
	flex: 1;
	min-width: 300px;
}

.contact-item {
	margin-bottom: 1.5rem;
}

.contact-label {
	font-weight: 600;
	margin-bottom: 0.5rem;
	display: block;
}

.contact-value {
	color: var(--gray);
}

.contact-map {
	flex: 1;
	min-width: 300px;
	height: 350px;
	border-radius: 8px;
	overflow: hidden;
}

.contact-map iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* Footer */
footer {
	background-color: var(--primary-bg);
	color: var(--white);
	padding: 3rem 0 1.5rem;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-about,
.footer-links,
.footer-contact {
	margin-bottom: 1.5rem;
}

.footer-title {
	color: var(--white);
	margin-bottom: 1.5rem;
	position: relative;
	display: inline-block;
	padding-bottom: 0.5rem;
}

.footer-title:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 2px;
	background-color: var(--accent);
}

.footer-links ul {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: var(--light-gray);
	transition: all 0.3s ease;
}

.footer-links a:hover {
	color: var(--accent);
	padding-left: 5px;
}

.footer-contact p {
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
}

.footer-contact i {
	margin-right: 0.75rem;
	color: var(--accent);
}

.footer-bottom {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 500px;
	background-color: var(--white);
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.5s ease;
}

.cookie-consent.show {
	opacity: 1;
	visibility: visible;
}

.cookie-text {
	margin-bottom: 1rem;
}

.cookie-buttons {
	display: flex;
	gap: 1rem;
}

.cookie-btn {
	padding: 0.5rem 1.5rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
}

.cookie-accept {
	background-color: var(--cta);
	color: var(--white);
}

.cookie-accept:hover {
	background-color: var(--accent);
	color: var(--primary-bg);
}

.cookie-decline {
	background-color: var(--light-gray);
	color: var(--text);
}

.cookie-decline:hover {
	background-color: var(--gray);
	color: var(--white);
}

/* Policy Pages */
.policy-container {
	max-width: 800px;
	margin: 8rem auto 5rem;
	padding: 2rem;
	background-color: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	word-break: break-word;
	overflow-wrap: break-word;
}

.policy-title {
	margin-bottom: 2rem;
	text-align: center;
}

.policy-section {
	margin-bottom: 2rem;
}

.policy-section-title {
	margin-bottom: 1rem;
	color: var(--primary-bg);
}

/* Thank You Page */
.thank-you {
	display: flex;
	align-items: center;
	justify-content: center;
}

.thank-you-container {
	max-width: 600px;
	margin: 8rem auto 5rem;
	padding: 3rem 2rem;
	background-color: var(--white);
	border: 1px solid var(--border);
	text-align: center;
	border-radius: 8px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
	font-size: 4rem;
	color: var(--accent);
	margin-bottom: 1.5rem;
}

.thank-you h1 {
	margin-bottom: 1.5rem;
}

.thank-you p {
	margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Media Queries */
@media (max-width: 991px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.section-padding {
		padding: 4rem 0;
	}
}

@media (max-width: 767px) {
	.nav-toggle-label {
		display: flex;
		align-items: center;
	}

	nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--primary-bg);
		transform: scale(1, 0);
		transform-origin: top;
		transition: transform 0.3s ease;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	}

	.nav-toggle:checked~nav {
		transform: scale(1, 1);
	}

	nav ul {
		flex-direction: column;
		padding: 1rem 0;
	}

	nav li {
		margin: 0;
	}

	nav a {
		display: block;
		padding: 1rem 2rem;
	}

	nav a::after {
		display: none;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.section-padding {
		padding: 3rem 0;
	}

	.contact-map {
		height: 250px;
	}
}

@media (max-width: 575px) {
	h1 {
		font-size: 1.75rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.hero h1 {
		font-size: 1.75rem;
	}

	.section-padding {
		padding: 2.5rem 0;
	}

	.form-container {
		padding: 1.5rem;
	}

	.cookie-buttons {
		flex-direction: column;
	}
}