/* 
Hoja de estilo para domain - Servicios de Contabilidad
Colores principales:
- Fondo: #101820
- Acento 1: #F9A825 (amarillo)
- Acento 2: #00A896 (turquesa)
- Texto: #FFFFFF y #B0B0B0
*/

/* Reset y Estilos Generales */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

body {
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #FFFFFF;
	background-color: #101820;
}

section[id] {
	scroll-margin-top: 40px;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	margin-bottom: 20px;
	color: #FFFFFF;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	position: relative;
	margin-bottom: 40px;
	text-align: center;
}

h2::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: #F9A825;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 15px;
	color: #B0B0B0;
}

a {
	color: #F9A825;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #00A896;
}

ul,
ol {
	margin-left: 20px;
	margin-bottom: 15px;
}

section {
	padding: 80px 0;
}

img {
	max-width: 100%;
	height: auto;
}

/* Header y Navegación */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(16, 24, 32, 0.9);
	backdrop-filter: blur(10px);
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: #F9A825;
	text-transform: lowercase;
}

.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	cursor: pointer;
	width: 30px;
	height: 22px;
	position: relative;
}

.menu-icon span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #F9A825;
	position: absolute;
	transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
	top: 0;
}

.menu-icon span:nth-child(2) {
	top: 9px;
}

.menu-icon span:nth-child(3) {
	top: 18px;
}

nav ul {
	display: flex;
	list-style: none;
	margin: 0;
}

nav ul li {
	margin-left: 25px;
}

nav ul li a {
	color: #FFFFFF;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
	padding: 5px 0;
	position: relative;
}

nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #F9A825;
	transition: width 0.3s ease;
}

nav ul li a:hover {
	color: #F9A825;
}

nav ul li a:hover::after {
	width: 100%;
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: -100%;
	left: 0;
	width: 100%;
	background-color: #1C2630;
	padding: 15px 0;
	box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	transition: bottom 0.5s ease;
}

.cookie-consent.active {
	bottom: 0;
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.cookie-content p {
	margin: 0;
	flex-grow: 1;
	padding-right: 20px;
}

#acceptCookies {
	background-color: #F9A825;
	color: #101820;
	border: none;
	padding: 8px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 500;
	transition: background-color 0.3s ease;
	white-space: nowrap;
}

#acceptCookies:hover {
	background-color: #e08f00;
}

/* Hero Section */
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	text-align: center;
	color: #FFFFFF;
	overflow: hidden;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: brightness(0.4);
	z-index: -1;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
	z-index: 1;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 20px;
	animation: fadeInUp 0.8s ease;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	color: #FFFFFF;
	animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Botones */
.btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
}

.btn-primary {
	background-color: #F9A825;
	color: #101820;
}

.btn-primary:hover {
	background-color: #e08f00;
	color: #101820;
	transform: translateY(-2px);
	box-shadow: 0 10px 15px rgba(249, 168, 37, 0.2);
}

.btn-secondary {
	background-color: #00A896;
	color: #FFFFFF;
}

.btn-secondary:hover {
	background-color: #00857b;
	transform: translateY(-2px);
	box-shadow: 0 10px 15px rgba(0, 168, 150, 0.2);
}

/* Nosotros Section */
.nosotros-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.nosotros-text p {
	margin-bottom: 15px;
}

.nosotros-image img {
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Ventajas Section */
.ventajas {
	background-color: #151f28;
}

.ventajas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.ventaja-card {
	background-color: #1C2630;
	border-radius: 10px;
	padding: 30px;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ventaja-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.ventaja-icon {
	height: 120px;
	width: 120px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(249, 168, 37, 0.1);
	border-radius: 50%;
	position: relative;
	overflow: hidden;
}

.ventaja-icon img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.ventaja-card h3 {
	margin-bottom: 15px;
	color: #F9A825;
}

/* Servicios Section */
.servicios-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.servicio-card {
	background-color: #1C2630;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.servicio-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.servicio-image {
	height: 180px;
	overflow: hidden;
}

.servicio-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.servicio-card:hover .servicio-image img {
	transform: scale(1.1);
}

.servicio-content {
	padding: 25px;
	flex: 1;
}

.servicio-card h3 {
	color: #F9A825;
	margin-bottom: 15px;
}

.servicio-content ul {
	margin-top: 15px;
	color: #B0B0B0;
}

/* Proceso Section */
.proceso {
	background-color: #151f28;
}

.proceso-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 0 auto;
}



.proceso-step {
	position: relative;
	padding-bottom: 50px;
	display: flex;
	align-items: center;
}

.proceso-number {
	width: 50px;
	height: 50px;
	background-color: #F9A825;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.2rem;
	color: #101820;
	z-index: 1;
	position: relative;
	margin: 0 30px;
}

.proceso-info {
	flex: 1;
}

.proceso-info h3 {
	color: #F9A825;
	margin-bottom: 10px;
}

/* Testimonios Section */
.testimonios-slider {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.testimonio {
	flex: 1;
	min-width: 280px;
	background-color: #1C2630;
	border-radius: 10px;
	padding: 30px;
	position: relative;
}

.testimonio::before {
	content: '"';
	position: absolute;
	top: 10px;
	left: 15px;
	font-size: 5rem;
	font-family: Georgia, serif;
	color: rgba(249, 168, 37, 0.1);
	line-height: 1;
}

.testimonio-content {
	margin-bottom: 20px;
}

.testimonio-author strong {
	color: #F9A825;
}

/* FAQ Section */
.faq {
	background-color: #151f28;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background-color: #1C2630;
	border-radius: 8px;
	margin-bottom: 15px;
	overflow: hidden;
}

.faq-toggle {
	display: none;
}

.faq-question {
	padding: 20px;
	display: block;
	font-weight: 600;
	position: relative;
	cursor: pointer;
	color: #F9A825;
}

.faq-question::after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	transition: transform 0.3s ease;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
	padding: 0 20px;
}

.faq-toggle:checked+.faq-question::after {
	transform: translateY(-50%) rotate(45deg);
}

.faq-toggle:checked~.faq-answer {
	max-height: 500px;
	padding: 0 20px 20px;
}

/* Contacto Section */
.contacto-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
}

.contacto-item {
	margin-bottom: 30px;
}

.contacto-item h3 {
	color: #F9A825;
	margin-bottom: 10px;
}

.contacto-mapa {
	margin-top: 30px;
	border-radius: 10px;
	overflow: hidden;
}

.contacto-form {
	background-color: #1C2630;
	border-radius: 10px;
	padding: 30px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #2A3642;
	background-color: #232D39;
	color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #F9A825;
}

/* Estilizando el select y sus opciones */
select {
	appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23F9A825" d="M0 0l6 6 6-6z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 30px !important;
}

/* Cambiar el fondo de las opciones en el menú desplegable */
option {
	background-color: #1C2630;
	color: #FFFFFF;
	padding: 10px;
}

.form-group.checkbox {
	display: flex;
	align-items: flex-start;
}

.form-group.checkbox input {
	width: auto;
	margin-right: 10px;
	margin-top: 5px;
}

.form-error {
	background-color: rgba(220, 53, 69, 0.2);
	border: 1px solid rgba(220, 53, 69, 0.5);
	color: #FFFFFF;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 20px;
}

/* Footer Section */
footer {
	background-color: #0c131a;
	padding: 60px 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.footer-info {
	margin-bottom: 20px;
}

.footer-info .logo {
	margin-bottom: 15px;
}

.footer-contact h3,
.footer-links h3 {
	color: #F9A825;
	margin-bottom: 20px;
	font-size: 1.2rem;
}

.footer-links ul {
	list-style: none;
	margin: 0;
}

.footer-links ul li {
	margin-bottom: 10px;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
	font-size: 0.9rem;
	color: #6C757D;
}

/* Página de Gracias */
.gracias {
	height: 100vh;
	display: flex;
	align-items: center;
}

.gracias-content {
	text-align: center;
	background-color: #1C2630;
	border-radius: 10px;
	padding: 50px;
	margin: 8rem auto 5rem;
	max-width: 600px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gracias-content h1 {
	color: #F9A825;
	margin-bottom: 20px;
}

.gracias-content p {
	margin-bottom: 30px;
}

/* Páginas de Políticas */
.politica-legal {
	padding: 120px 0 60px;
}

.politica-content {
	background-color: #1C2630;
	border-radius: 10px;
	padding: 40px;
	max-width: 900px;
	margin: 0 auto;
}

.politica-content h1 {
	color: #F9A825;
	margin-bottom: 30px;
}

.politica-content h2 {
	font-size: 1.5rem;
	text-align: left;
	margin-top: 30px;
	margin-bottom: 20px;
}

.politica-content h2::after {
	left: 0;
	transform: none;
	width: 60px;
}

.politica-content h3 {
	font-size: 1.2rem;
	margin-top: 20px;
}

.politica-content p {
	margin-bottom: 15px;
}

.cookie-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.cookie-table th,
.cookie-table td {
	padding: 10px;
	text-align: left;
	border: 1px solid #2A3642;
}

.cookie-table th {
	background-color: #232D39;
}

/* Media Queries */
@media (max-width: 991px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.hero h1 {
		font-size: 2.5rem;
	}



	.proceso-step {
		flex-direction: column;
		align-items: flex-start;
	}

	.proceso-number {
		margin: 0 0 15px 0;
	}
}

@media (max-width: 768px) {
	section {
		padding: 60px 0;
	}

	.menu-icon {
		display: block;
	}

	nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: rgba(16, 24, 32, 0.95);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s ease;
	}

	.menu-toggle:checked~nav {
		max-height: 400px;
	}

	.menu-toggle:checked+.menu-icon span:nth-child(1) {
		transform: rotate(45deg);
		top: 9px;
	}

	.menu-toggle:checked+.menu-icon span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked+.menu-icon span:nth-child(3) {
		transform: rotate(-45deg);
		top: 9px;
	}

	nav ul {
		flex-direction: column;
		padding: 20px;
	}

	nav ul li {
		margin: 0 0 15px 0;
	}

	.nosotros-content {
		grid-template-columns: 1fr;
	}

	.cookie-content {
		flex-direction: column;
	}

	.cookie-content p {
		margin-bottom: 15px;
		padding-right: 0;
	}
}

@media (max-width: 576px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.btn {
		padding: 10px 25px;
		font-size: 0.9rem;
	}

	.politica-content {
		padding: 20px;
	}

	.gracias-content {
		padding: 30px 20px;
	}
}