/* Variables de color de España: rojo y dorado/amarillo */
:root {
	--bg-color: #f7f7f7;
	--text-color: #333;
	--primary-color: #a41c1f; /* Rojo oscuro */
	--secondary-color: #fff0c7; /* Dorado claro */
	--card-bg: #ffffff;
	--border-color: #ccc;
	--table-bg-head: #a41c1f;
	--table-bg-head-text: #fff;
	--table-bg-row-even: #f0f0f0;
	--link-color: #a41c1f;
	--link-hover-color: #6a1315;
}

/* Estilos básicos y de tipografía */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
	font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
	color: var(--text-color);
	background-color: var(--bg-color);
	line-height: 1.6;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 25px;
}

.main {
	padding-top: 80px;
	min-height: calc(100vh - 100px);
}

.section {
	padding: 60px 0;
}

/* Navegación */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: var(--card-bg);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.header__container {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	align-items: center;
	padding: 15px 25px;
}

.header__logo.logo {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color);
	text-decoration: none;
	letter-spacing: 0.5px;
}

.header__nav.nav {
	display: block;
	transition: transform 0.3s ease-in-out;
}

.nav__list {
	display: flex;
	list-style: none;
}

.nav__item {
	margin-left: 25px;
}

.nav__link {
	text-decoration: none;
	color: var(--text-color);
	font-weight: 500;
	font-size: 16px;
	transition: color 0.3s, border-bottom 0.3s;
	border-bottom: 2px solid transparent;
	padding-bottom: 5px;
}

.nav__link:hover {
	color: var(--link-hover-color);
	border-color: var(--link-hover-color);
}
.nav__link--active {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.header__burger.burger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 25px;
	height: 20px;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	border: none;
	padding: 10px;
	box-sizing: content-box;
	background: transparent;
}

.burger__line {
	width: 100%;
	height: 2px;
	background-color: var(--primary-color);
	transition: all 0.3s ease-in-out;
}

.burger--active .burger__line:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.burger--active .burger__line:nth-child(2) {
	opacity: 0;
}

.burger--active .burger__line:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
	.header__nav.nav {
		position: fixed;
		top: 60px;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: var(--card-bg);
		transform: translateX(100%);
		box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
	}

	.header__nav.nav--active {
		transform: translateX(0);
	}

	.nav__list {
		flex-direction: column;
		align-items: center;
		padding-top: 40px;
	}

	.nav__item {
		margin: 15px 0;
	}

	.header__burger.burger {
		display: flex;
	}
}

/* Secciones de contenido */
.hero__title,
.content-section__title,
.faq-section__title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 30px;
	color: var(--primary-color);
	text-align: center;
}

.hero__subtitle,
.content-section__subtitle {
	font-size: 24px;
	font-weight: 600;
	margin-top: 40px;
	margin-bottom: 15px;
	color: var(--text-color);
}

.hero__text,
.content-section__text {
	font-size: 17px;
	line-height: 1.8;
	margin-bottom: 25px;
	color: #555;
}

.list {
	list-style: none;
	padding-left: 0;
}

.list__item {
	position: relative;
	padding-left: 25px;
	margin-bottom: 15px;
	font-size: 16px;
	line-height: 1.7;
	color: #555;
}

.list__item::before {
	content: '●';
	color: var(--primary-color);
	font-size: 18px;
	position: absolute;
	left: 0;
	top: -2px;
}

/* Tablas */
.table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	margin-top: 30px;
}

.data-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 700px;
}

.data-table__head {
	background-color: var(--table-bg-head);
}

.data-table__row {
	transition: background-color 0.3s;
}

.data-table__row:nth-child(even) {
	background-color: var(--table-bg-row-even);
}

.data-table__row:hover {
	background-color: var(--secondary-color);
}

.data-table__heading {
	padding: 18px 15px;
	text-align: left;
	font-weight: 600;
	color: var(--table-bg-head-text);
}

.data-table__cell {
	padding: 18px 15px;
	border-top: 1px solid var(--border-color);
	color: var(--text-color);
}

/* Acordeón */
.accordion__item {
	border: 1px solid var(--border-color);
	border-radius: 8px;
	margin-bottom: 15px;
	overflow: hidden;
}

.accordion__button {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--card-bg);
	color: var(--primary-color);
	text-align: left;
	font-size: 18px;
	font-weight: 600;
	padding: 20px;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s;
}

.accordion__button:hover {
	background-color: var(--secondary-color);
}

.accordion__content {
	background-color: var(--secondary-color);
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion__button--active + .accordion__content {
	max-height: 500px;
	padding: 20px;
}

.accordion__button::after {
	content: '▼';
	font-size: 16px;
	font-weight: bold;
	color: var(--primary-color);
	transition: transform 0.3s ease-in-out;
}

.accordion__button--active::after {
	transform: rotate(180deg);
}

/* Footer */
.footer {
	background-color: var(--card-bg);
	padding: 20px;
	text-align: center;
	border-top: 1px solid var(--border-color);
	margin-top: 60px;
}

.footer__text {
	font-size: 14px;
	color: #999;
}

img {
	width: 100%;
	border-radius: 50px;
}
.flex {
	display: flex;
	align-items: center;
	gap: 20px;
}

.form-box.stripe {
	max-width: 420px;
	margin: 40px auto;
	padding: 28px;
	background: #fff;
	border-left: 6px solid #007bff;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.form-box.stripe h2 {
	margin-bottom: 18px;
	color: #007bff;
	text-align: center;
}
.form-box.stripe input,
.form-box.stripe button {
	width: 100%;
	margin-bottom: 12px;
	padding: 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
}
.form-box.stripe button {
	background: #007bff;
	color: #fff;
	border: none;
	cursor: pointer;
}
.form-box.stripe button:hover {
	background: #0056b3;
}

@media (max-width: 992px) {
	.flex {
		flex-direction: column;
	}
}
