:root {
	--cosmos: #1f2235;
	--army-yellow: #f2d56d;
	--june: #f8e48b;
	--black-grape: #1c1d21;
	--english-cream: #fff9f0;
	--white: #ffffff;
	--hero-photo-opacity: 0.28;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	background: var(--english-cream);
	color: var(--black-grape);
	line-height: 1.6;
}

html {
	scroll-behavior: smooth;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(1100px, 92%);
	margin: 0 auto;
}

.narrow {
	width: min(760px, 100%);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #1f2235;
	border-bottom: 1px solid rgba(242, 213, 109, 0.2);
}

.nav-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	gap: 20px;
}

.brand,
.custom-logo-link {
	display: flex;
	align-items: center;
	gap: 0;
	color: var(--army-yellow);
}

.brand-logo,
.custom-logo {
	display: block;
	width: min(260px, 48vw);
	height: auto;
	max-height: 58px;
	object-fit: contain;
}

.menu-list {
	list-style: none;
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0;
}

.menu-list a {
	color: var(--english-cream);
	font-weight: 500;
}

.menu-list a:hover,
.menu-list .current-menu-item a {
	color: var(--army-yellow);
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.menu-toggle i {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--army-yellow);
	margin: 5px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.hero {
	position: relative;
	background: linear-gradient(160deg, var(--cosmos) 0%, #141726 85%);
	color: var(--white);
	padding: 90px 0 70px;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(31, 34, 53, 0.56), rgba(31, 34, 53, 0.56)),
		url("https://images.unsplash.com/photo-1610375461246-83df859d849d?auto=format&fit=crop&w=1800&q=80");
	background-size: cover;
	background-position: center;
	opacity: var(--hero-photo-opacity);
	pointer-events: none;
}

.hero > .container {
	position: relative;
	z-index: 1;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 30px;
}

.eyebrow {
	color: var(--army-yellow);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
}

h1,
h2,
h3 {
	line-height: 1.2;
	margin-top: 0;
}

.hero h1 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	margin-bottom: 14px;
}

.hero-card {
	background: rgba(255, 249, 240, 0.08);
	border: 1px solid rgba(242, 213, 109, 0.45);
	padding: 24px;
	border-radius: 14px;
}

.hero-card h2 {
	color: var(--june);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 999px;
	font-weight: 700;
	transition: all 0.2s ease;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.btn-primary {
	background: linear-gradient(135deg, var(--army-yellow), var(--june));
	color: var(--cosmos);
}

.btn-primary:hover {
	transform: translateY(-2px);
	filter: brightness(1.03);
}

.btn-whatsapp {
	background: #1faa59;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-whatsapp:hover {
	filter: brightness(1.05);
}

.btn-outline {
	border: 1px solid var(--army-yellow);
	color: var(--army-yellow);
}

.btn-outline:hover {
	background: rgba(242, 213, 109, 0.12);
}

.section {
	padding: 70px 0;
}

.section-alt {
	background: #f6f0e5;
}

.cards-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.card {
	background: var(--white);
	border: 1px solid #e7dac1;
	border-radius: 14px;
	padding: 22px;
	box-shadow: 0 8px 25px rgba(28, 29, 33, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 15px 35px rgba(28, 29, 33, 0.09);
}

.brand-guide {
	width: 100%;
	border-radius: 12px;
	border: 1px solid #e0d3be;
}

.table-wrap {
	margin-top: 18px;
	overflow-x: auto;
}

.price-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #dfd0b5;
	border-radius: 12px;
	overflow: hidden;
}

.price-table th,
.price-table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid #efe3cd;
}

.price-table thead th {
	background: #1f2235;
	color: #f5e7c5;
	font-weight: 700;
}

.price-table tbody tr:nth-child(even) {
	background: #fbf7ef;
}

.price-table tbody tr:last-child td {
	border-bottom: 0;
}

.front-news {
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid #dfd0b5;
}

.front-news__title {
	font-size: 1.35rem;
	margin: 0 0 18px;
	color: var(--cosmos);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	align-items: stretch;
}

.news-card {
	background: #fff;
	border: 1px solid #e0d3be;
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 6px 18px rgba(28, 29, 33, 0.06);
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.news-card__thumb {
	display: block;
	margin: -6px -6px 12px;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.news-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-card__date {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6b5d4a;
	margin: 0 0 6px;
}

.news-card__heading {
	font-size: 1.05rem;
	margin: 0 0 10px;
	line-height: 1.35;
}

.news-card__heading a {
	color: var(--cosmos);
}

.news-card__heading a:hover {
	color: #3d4260;
}

.news-card__excerpt {
	font-size: 0.92rem;
	margin: 0 0 12px;
	flex: 1 1 auto;
	color: var(--black-grape);
}

.news-card__more {
	font-size: 0.88rem;
	font-weight: 700;
	color: #8a7228;
	text-decoration: underline;
}

.news-card__more:hover {
	color: var(--cosmos);
}

.single-post {
	margin: 0;
}

.single-post__content {
	margin-top: 18px;
}

.single-post__content p {
	margin-top: 0;
}

.single-post__back {
	margin-top: 28px;
	font-size: 0.95rem;
}

.single-post__back a {
	color: var(--june);
	text-decoration: underline;
}

.page-hero {
	padding: 72px 0 48px;
	background: var(--cosmos);
	color: var(--english-cream);
}

.steps,
.check-list {
	padding-left: 20px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.contact-form {
	display: grid;
	gap: 10px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid #d5c8b1;
	font: inherit;
}

.small {
	font-size: 0.88rem;
	opacity: 0.8;
}

.map-wrap {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e0d3be;
	min-height: 360px;
}

.map-wrap iframe {
	width: 100%;
	height: 420px;
	border: 0;
	display: block;
}

.site-footer {
	background: var(--cosmos);
	color: var(--english-cream);
	padding: 60px 0 25px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.site-footer h3 {
	color: var(--army-yellow);
}

.legal-line {
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid rgba(248, 228, 139, 0.22);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.legal-line-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	text-align: center;
	font-size: 0.8rem;
	line-height: 1.45;
	opacity: 0.92;
}

.legal-line__sep {
	display: none;
}

@media (min-width: 768px) {
	.legal-line-inner {
		display: block;
		white-space: nowrap;
	}

	.legal-line__sep {
		display: inline;
	}
}

.legal-line a {
	color: var(--june);
	text-decoration: underline;
}

/* Evita que reglas globales (p. ej. svg { max-width: 100% }) estiren los iconos a todo el ancho de la columna */
.site-footer .social-links {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	line-height: 0;
}

.site-footer .social-links .social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	min-width: 22px;
	min-height: 22px;
	max-width: 22px;
	max-height: 22px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid rgba(242, 213, 109, 0.45);
	color: var(--june);
	background: rgba(248, 228, 139, 0.08);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-footer .social-links .social-icon svg {
	display: block;
	width: 11px !important;
	height: 11px !important;
	min-width: 11px !important;
	min-height: 11px !important;
	max-width: 11px !important;
	max-height: 11px !important;
	flex-shrink: 0;
}

.site-footer .social-links .social-icon:hover {
	transform: translateY(-1px);
	background: rgba(248, 228, 139, 0.2);
	color: var(--army-yellow);
}

.wa-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 30;
	background: #1faa59;
	color: #fff;
	padding: 11px 16px;
	border-radius: 999px;
	font-weight: 700;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.wa-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 900px) {
	.hero-grid,
	.cards-3,
	.news-grid,
	.contact-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.menu-toggle {
		display: inline-block;
	}

	.main-nav {
		position: absolute;
		top: calc(100% + 1px);
		left: 0;
		right: 0;
		background: var(--cosmos);
		border-bottom: 1px solid rgba(242, 213, 109, 0.35);
		padding: 0 4%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.main-nav.is-open {
		max-height: 300px;
	}

	.menu-list {
		flex-direction: column;
		gap: 10px;
		padding: 12px 0 16px;
	}

	.hero {
		padding-top: 70px;
	}

	.section {
		padding: 56px 0;
	}

	.page-hero {
		padding: 58px 0 38px;
	}

	.map-wrap iframe {
		height: 300px;
	}
}

@media (max-width: 560px) {
	.brand-logo,
	.custom-logo {
		width: min(210px, 62vw);
		max-height: 46px;
	}

	.hero h1 {
		font-size: 1.9rem;
	}

	.btn {
		width: 100%;
	}
}
