/* ==========================================================================
   Jardines del Vergel — Landing
   Mobile-first. Breakpoints: 768 / 1024 / 1280.
   Las medidas fluidas (vw) toman como referencia el diseño a 1920 px.
   ========================================================================== */

/* Fuentes (Google Fonts, servidas localmente) */
@font-face {
	font-family: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-regular.woff2") format("woff2");
}

@font-face {
	font-family: "Instrument Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Raleway";
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url("../fonts/raleway-variable.woff2") format("woff2");
}

/* Variables
   ========================================================================== */
:root {
	/* Colores tomados del PDF */
	--c-cream: #e1ddd2;
	--c-cream-light: #eae8df;
	--c-cream-text: #ebe9e0;
	--c-olive: #4c543d;
	--c-olive-hover: #3d4431;
	--c-olive-soft: #7b8068;
	--c-sage: #a2a392;
	--c-tan: #a9967d;
	--c-brown: #493f32;
	--c-white: #fff;

	--ff-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
	--ff-sans: "Raleway", "Helvetica Neue", Arial, sans-serif;

	/* Escala tipográfica: mínimo móvil / fluido / máximo a 1920 px */
	--fs-display: clamp(2.6rem, 4.62vw, 5.55rem);    /* 97px en PDF; Instrument Serif es más ancha */
	--fs-title-md: clamp(2.4rem, 3.92vw, 4.7rem);     /* 82px en PDF */
	--fs-title-sm: clamp(2.4rem, 3.72vw, 4.46rem);    /* 78px en PDF */
	--fs-huge: clamp(4.5rem, 7.28vw, 8.73rem);       /* 140px */
	--fs-card-title: clamp(1.75rem, 2.44vw, 2.93rem);/* 47px  */
	--fs-nav: clamp(1.25rem, 1.67vw, 2rem);          /* 32px  */
	--fs-eyebrow: clamp(0.875rem, 1.51vw, 1.81rem);  /* 29px  */
	--fs-lead: clamp(1.0625rem, 1.51vw, 1.81rem);    /* 29px  */
	--fs-btn: clamp(0.9375rem, 1.42vw, 1.71rem);     /* 27px  */
	--fs-body: clamp(1rem, 1.21vw, 1.45rem);         /* 23px  */
	--fs-small: clamp(0.875rem, 1.09vw, 1.31rem);    /* 21px  */
	--fs-xsmall: clamp(0.8125rem, 1vw, 1.2rem);      /* 19px  */

	--container: 1702px;
	--gutter: 20px;
	--section-y: clamp(3.5rem, 7vw, 8.4rem);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;

	--transition: 0.2s ease;
}

/* Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--c-cream);
	color: var(--c-olive);
	font-family: var(--ff-sans);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
p,
ul,
figure {
	margin: 0;
}

ul {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--c-olive);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background-color: var(--c-olive);
	color: var(--c-white);
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

/* Layout
   ========================================================================== */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section {
	padding: var(--section-y) 0;
}

@media (min-width: 768px) {
	:root {
		--gutter: 40px;
	}
}

@media (min-width: 1280px) {
	:root {
		--gutter: 5.7vw; /* 109px a 1920 */
	}

	.container {
		max-width: calc(var(--container) + 218px);
	}
}

/* Tipografía común
   ========================================================================== */
.eyebrow {
	margin-bottom: 0.4em;
	color: var(--c-tan);
	font-size: var(--fs-eyebrow);
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.title {
	color: var(--c-olive);
	font-family: var(--ff-serif);
	font-size: var(--fs-display);
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: -0.01em;
}

.title em {
	display: block;
	font-style: italic;
}

.title--inline em {
	display: inline;
}

.title--center {
	text-align: center;
}

.title--light {
	color: var(--c-white);
}

/* Botones (maquetados en HTML/CSS; los PNG solo fueron referencia)
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7em;
	min-height: 3.25rem;
	padding: 0.85em 1.6em;
	border: 0;
	border-radius: var(--radius);
	font-family: var(--ff-sans);
	font-size: var(--fs-btn);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-align: center;
	cursor: pointer;
	transition: background-color var(--transition), color var(--transition);
}

.btn--light {
	background-color: var(--c-cream-light);
	color: var(--c-olive);
	text-transform: uppercase;
}

.btn--light:hover {
	background-color: var(--c-white);
}

.btn--dark {
	background-color: var(--c-olive);
	color: var(--c-white);
}

.btn--dark:hover {
	background-color: var(--c-olive-hover);
}

.btn--block {
	display: flex;
	width: 100%;
}

/* Icono de WhatsApp como máscara: toma el color del texto del botón */
.btn__icon {
	flex-shrink: 0;
	width: 1.9em;
	height: 1.9em;
	background-color: currentColor;
	-webkit-mask: url("../img/icon-whatsapp.png") center / contain no-repeat;
	mask: url("../img/icon-whatsapp.png") center / contain no-repeat;
}

.btn__img {
	flex-shrink: 0;
	width: auto;
	height: 2.6em;
}

/* Header
   ========================================================================== */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem var(--gutter);
}

.site-header__brand img {
	width: 180px;
}

.site-header__toggle {
	position: relative;
	z-index: 2;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background-color: rgba(234, 232, 223, 0.85);
	color: var(--c-olive);
	cursor: pointer;
}

.site-header__toggle-bar,
.site-header__toggle-bar::before,
.site-header__toggle-bar::after {
	position: absolute;
	left: 13px;
	width: 22px;
	height: 2px;
	background-color: currentColor;
	transition: transform var(--transition), background-color var(--transition);
}

.site-header__toggle-bar {
	top: 23px;
}

.site-header__toggle-bar::before,
.site-header__toggle-bar::after {
	content: "";
	left: 0;
}

.site-header__toggle-bar::before {
	top: -7px;
}

.site-header__toggle-bar::after {
	top: 7px;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar {
	background-color: transparent;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar::before {
	transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar::after {
	transform: translateY(-7px) rotate(-45deg);
}

/* Menú móvil: panel desplegable */
.site-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: var(--gutter);
	right: var(--gutter);
	padding: 0.5rem 1.5rem;
	border-radius: var(--radius);
	background-color: var(--c-cream-light);
	box-shadow: 0 10px 30px rgba(73, 63, 50, 0.15);
}

.site-nav.is-open {
	display: block;
}

.site-nav__link {
	display: block;
	padding: 0.7rem 0;
	color: var(--c-olive);
	font-family: var(--ff-serif);
	font-size: 1.5rem;
	line-height: 1.2;
	transition: color var(--transition);
}

.site-nav__link:hover,
.site-nav__link.is-active {
	color: var(--c-olive-soft);
}

@media (min-width: 1024px) {
	.site-header__inner {
		justify-content: center;
		padding-top: 3vw;
		padding-bottom: 0;
	}

	/* Logo centrado, menú repartido a izquierda y derecha */
	.site-header__brand {
		position: absolute;
		top: 3vw;
		left: 50%;
		z-index: 1;
		transform: translateX(-50%);
	}

	.site-header__brand img {
		width: 21.1vw; /* 405px a 1920 */
		max-width: 405px;
	}

	.site-header__toggle {
		display: none;
	}

	.site-nav,
	.site-nav.is-open {
		position: static;
		display: grid;
		grid-template-columns: 1fr min(21.1vw, 405px) 1fr;
		column-gap: 1.9vw;
		width: 100%;
		padding: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}

	.site-nav__list {
		display: flex;
		align-items: center;
		gap: 4.5vw;
		padding-top: 0.6vw;
	}

	.site-nav__list--left {
		justify-content: flex-end;
		grid-column: 1;
	}

	.site-nav__list--right {
		justify-content: flex-start;
		grid-column: 3;
		gap: 2.6vw;
	}

	.site-nav__link {
		padding: 0.25rem 0;
		font-size: var(--fs-nav);
		letter-spacing: -0.01em;
	}
}

/* 1. Hero
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	padding: 7rem 0 3rem;
	overflow: hidden;
	background-color: #2b2a22;
	color: var(--c-cream-text);
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 40% center;
}

/* Sombra inferior para legibilidad del texto sobre la foto */
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 65%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}

.hero__title {
	font-family: var(--ff-serif);
	font-size: var(--fs-display);
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: -0.01em;
}

.hero__title em {
	display: block;
	font-style: italic;
}

.hero__lead {
	max-width: 34em;
	margin-top: 1.1em;
	font-size: var(--fs-lead);
	font-weight: 400;
	line-height: 1.12;
}

.hero__btn .btn__icon {
	width: 2.4em;
	height: 2.4em;
}

@media (min-width: 768px) {
	.hero__lead {
		max-width: 25.5em;
	}
}

@media (min-width: 1024px) {
	.hero__content {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.hero {
		min-height: 0;
		height: max(640px, 56.3vw);
		max-height: 100vh;
		padding-bottom: 5.5vw;
	}

	.hero__btn {
		align-self: flex-end;
		margin-right: 3vw;
		margin-bottom: 3.4vw;
		padding: 0.55em 1.2em 0.55em 0.9em;
		border-radius: var(--radius-lg);
		font-size: 1.3vw;
		letter-spacing: 0.06em;
	}

	.hero__btn .btn__icon {
		width: 2.95em;
		height: 2.95em;
	}
}

@media (min-width: 1024px) and (max-height: 700px) {
	.hero {
		max-height: none;
	}
}

/* 2. Proyecto
   ========================================================================== */
.proyecto {
	padding-top: clamp(3.5rem, 4.3vw, 5.2rem);
	padding-bottom: clamp(3.5rem, 3.3vw, 4rem);
}

.proyecto__grid {
	display: grid;
	gap: 2.5rem;
}

.proyecto .eyebrow {
	margin-bottom: 1em;
}

.proyecto__place {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.85em;
	margin-top: 2.8em;
	padding-bottom: 1.2em;
	color: var(--c-tan);
	font-size: var(--fs-xsmall);
}

.proyecto__pin {
	flex-shrink: 0;
	width: 1.7em;
	height: auto;
}

/* Línea con degradado bajo la ubicación */
.proyecto__place::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(100%, 21rem);
	height: 3px;
	background: linear-gradient(to right, var(--c-olive), rgba(76, 84, 61, 0));
}

.proyecto__from {
	margin-top: 1.1em;
	color: var(--c-tan);
	font-size: var(--fs-eyebrow);
	letter-spacing: 0.06em;
}

.proyecto__size {
	color: var(--c-olive);
	font-family: var(--ff-serif);
	font-size: var(--fs-huge);
	line-height: 1.05;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

.proyecto__media img {
	width: 100%;
}

@media (min-width: 1024px) {
	.proyecto__grid {
		grid-template-columns: 1fr 1.53fr;
		gap: 5%;
		align-items: start;
	}

	.proyecto__text {
		padding-top: 0.2vw;
	}

	.proyecto__media {
		margin-right: calc(var(--gutter) * -0.42);
		padding-top: 0.6vw;
	}
}

/* 3. Ubicación
   ========================================================================== */
.ubicacion {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	background-color: #9fa38d;
}

.ubicacion__map {
	width: 100%;
	height: 80vw;
	min-height: 280px;
	object-fit: cover;
	object-position: 68% center;
}

.ubicacion__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3.5rem var(--gutter);
	background-color: var(--c-cream);
	text-align: center;
}

.ubicacion__title {
	font-size: var(--fs-title-sm);
}

.ubicacion__text {
	margin-top: 1.4em;
	color: var(--c-brown);
	font-size: var(--fs-lead);
	line-height: 1.1;
	letter-spacing: 0.08em;
}

.ubicacion__btn {
	margin-top: 2em;
	padding: 0.95em 1.9em;
	font-size: clamp(0.875rem, 1.22vw, 1.47rem);
	color: var(--c-cream);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

@media (min-width: 768px) {
	.ubicacion {
		display: block;
		height: 56.25vw; /* 16:9, igual que el mapa */
		min-height: 520px;
		max-height: 1080px;
	}

	.ubicacion__map {
		position: absolute;
		inset: 0;
		height: 100%;
		min-height: 0;
		object-position: right center;
	}

	.ubicacion__card {
		position: absolute;
		top: 50%;
		left: 2.8%;
		width: max(340px, 31.9%);
		aspect-ratio: 1 / 1;
		padding: 2rem clamp(1.5rem, 2.6vw, 3.2rem);
		transform: translateY(-50%);
	}

	.ubicacion__card .ubicacion__title,
	.ubicacion__card .ubicacion__text {
		padding: 0 3%;
	}
}

@media (min-width: 1024px) {
	.ubicacion__card {
		top: 21.6%;
		transform: none;
	}
}

/* 4. Amenidades
   ========================================================================== */
.amenidades {
	padding-top: clamp(3.5rem, 4vw, 4.8rem);
	padding-bottom: clamp(3.5rem, 6.3vw, 7.6rem);
}

.amenidades__grid {
	display: grid;
	gap: 1.75rem;
	margin-top: clamp(2rem, 3.6vw, 4.3rem);
}

.amenidad {
	display: flex;
	flex-direction: column;
	background-color: var(--c-white);
}

.amenidad__img {
	width: 100%;
	aspect-ratio: 522 / 492;
	object-fit: cover;
}

.amenidad__body {
	padding: clamp(1.75rem, 4vw, 4.8rem) clamp(1.25rem, 1.72vw, 2.1rem) clamp(2rem, 5.2vw, 6.25rem);
}

.amenidad__label {
	color: var(--c-tan);
	font-size: var(--fs-eyebrow);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.amenidad__title {
	margin-top: 1.1em;
	color: var(--c-olive);
	font-family: var(--ff-serif);
	font-size: var(--fs-card-title);
	font-weight: 400;
	line-height: 1;
}

.amenidad__list {
	margin-top: 2.5em;
	color: var(--c-tan);
	font-size: var(--fs-small);
	letter-spacing: 0.06em;
}

@media (min-width: 768px) {
	.amenidades__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 3.6%;
		max-width: 1688px;
		padding-left: 0.4%;
	}
}

/* 5. Banda verde
   ========================================================================== */
.pertenecer {
	position: relative;
	overflow: hidden; /* la rama sale del borde derecho al animarse */
}

.pertenecer__band {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 15rem;
	padding: 3.5rem 0 38vw;
	background-color: var(--c-olive);
}

.pertenecer__band .container {
	position: relative;
	z-index: 1;
}

.pertenecer__title {
	max-width: 11em;
}

/* La rama cuelga sobre la banda y entra un poco en la galería */
.pertenecer__rama {
	position: absolute;
	right: 0;
	bottom: -6vw;
	z-index: 2;
	width: 70%;
	max-width: 815px;
	pointer-events: none;
}

.pertenecer__gallery {
	display: grid;
}

.pertenecer__gallery img {
	width: 100%;
	aspect-ratio: 960 / 590;
	object-fit: cover;
}

@media (min-width: 768px) {
	.pertenecer__band {
		min-height: 23.6vw; /* 453px a 1920 */
		padding: 3rem 0;
	}

	.pertenecer__band .container {
		padding-left: calc(var(--gutter) + 1.2vw);
	}

	.pertenecer__title {
		max-width: none;
	}

	.pertenecer__rama {
		top: 0;
		bottom: auto;
		width: 42.4vw;
	}

	.pertenecer__gallery {
		grid-template-columns: 1fr 1fr;
	}
}

/* 6. Contacto
   ========================================================================== */
.contacto {
	padding-top: clamp(3.5rem, 7.2vw, 8.7rem);
	padding-bottom: clamp(3.5rem, 4.1vw, 5rem);
}

.contacto__grid {
	display: grid;
	gap: 3rem;
}

.contacto__title {
	font-size: var(--fs-title-md);
}

.contacto__body {
	position: relative;
	margin-top: 1.8rem;
	padding-top: 1.5rem;
}

/* Filete corto sobre el texto */
.contacto__body::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4.75rem;
	height: 2px;
	background-color: var(--c-tan);
}

.contacto__text {
	max-width: 24.5em;
	line-height: 1.1;
}

.contacto__btn {
	margin-top: clamp(1.75rem, 2.7vw, 3.25rem);
	padding: 0.65em 1.4em;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.contacto__list {
	display: grid;
	gap: clamp(0.9rem, 0.9vw, 1.1rem);
	margin-top: clamp(1rem, 1.35vw, 1.6rem);
}

.contacto__item {
	display: flex;
	align-items: center;
	gap: 1.15rem;
}

.contacto__icon {
	flex-shrink: 0;
	width: clamp(2.75rem, 3.4vw, 4.06rem);
}

.contacto__value {
	display: block;
	font-size: var(--fs-body);
	line-height: 1.25;
	word-break: break-word;
}

a.contacto__value:hover {
	text-decoration: underline;
}

.contacto__label {
	display: block;
	font-size: var(--fs-xsmall);
	line-height: 1.3;
}

/* Panel del formulario */
.contacto__panel {
	padding: 2.25rem 1.5rem 2rem;
	border-radius: var(--radius-lg);
	background-color: var(--c-sage);
	color: var(--c-white);
}

.contacto__panel-title {
	font-size: var(--fs-btn);
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Formulario de Contact Form 7 (ver la plantilla en el README del tema) */
.contacto__form .wpcf7-form {
	display: grid;
	gap: 1.1rem;
	margin-top: 1.4rem;
}

.contacto__form .hidden-fields-container {
	display: none;
}

.contacto__form .wpcf7-form-control-wrap {
	display: block;
}

.form__row {
	display: grid;
	gap: 1.1rem;
}

.form__label {
	display: block;
	margin-bottom: 0.45em;
	color: #eee8df;
	font-size: var(--fs-body);
	line-height: 1.2;
}

.form__input {
	display: block;
	width: 100%;
	min-height: clamp(3rem, 3.75vw, 4.5rem);
	padding: 0.6em 0.9em;
	border: 1px solid #eee8df;
	border-radius: var(--radius-sm);
	background-color: transparent;
	color: var(--c-white);
	font: inherit;
	font-size: 1rem;
	transition: border-color var(--transition), background-color var(--transition);
	-webkit-appearance: none;
	appearance: none;
}

.form__input:hover {
	background-color: rgba(255, 255, 255, 0.06);
}

.form__input:focus {
	outline: none;
	border-color: var(--c-white);
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 2px var(--c-white);
}

.form__input--textarea {
	min-height: clamp(9rem, 12vw, 14.4rem);
	resize: vertical;
}

.form__actions {
	position: relative;
}

.form__actions .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: 1rem;
	margin: -12px 0 0;
}

.form__submit {
	margin-top: 0.9rem;
	min-height: clamp(3.25rem, 4.5vw, 5.4rem);
	border-radius: var(--radius);
	font-weight: 600;
	letter-spacing: 0.05em;
}

/* Mensajes de validación y de envío */
.contacto__form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.35em;
	color: var(--c-white);
	font-size: 0.875rem;
	font-weight: 600;
}

.contacto__form .wpcf7-not-valid {
	border-color: var(--c-white);
	border-width: 2px;
}

.contacto__form .wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 0.9rem 1.1rem;
	border: 0;
	border-radius: var(--radius-sm);
	background-color: var(--c-white);
	color: var(--c-olive);
	font-size: 1rem;
}

.contacto__form .wpcf7 form.invalid .wpcf7-response-output,
.contacto__form .wpcf7 form.failed .wpcf7-response-output,
.contacto__form .wpcf7 form.spam .wpcf7-response-output {
	color: #8a2f2f;
}

.contacto__notice {
	margin-top: 1.4rem;
	padding: 0.9rem 1.1rem;
	border: 1px dashed var(--c-white);
	border-radius: var(--radius-sm);
	font-size: 1rem;
}

@media (min-width: 768px) {
	.contacto__panel {
		padding: 3.2rem 3rem 2.75rem;
	}

	.form__row {
		grid-template-columns: 1fr 1fr;
		gap: 1.4rem;
	}
}

@media (min-width: 1024px) {
	.contacto__grid {
		grid-template-columns: 1fr 48.4%;
		gap: 5.3%;
		align-items: start;
	}

	.contacto__info {
		padding-left: 3.8%;
		padding-top: 1.4vw;
	}

	/* Línea vertical a la derecha del bloque de contacto */
	.contacto__body {
		margin-top: 2.4vw;
		padding-top: 1.2vw;
		border-right: 2px solid var(--c-tan);
	}

	.contacto__panel {
		margin-right: -1.4%;
		padding: 3.1vw 3.95vw 2.65vw;
	}

	.contacto__form .wpcf7-form {
		gap: 1.45vw;
		margin-top: 1.9vw;
	}

	.form__row {
		gap: 1.2vw;
	}
}

/* 7. Footer
   ========================================================================== */
.site-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	padding: 1.75rem var(--gutter);
	background: var(--c-olive);
	background: linear-gradient(to right, var(--c-olive), var(--c-olive-soft));
	color: var(--c-white);
}

.site-footer__text {
	font-family: var(--ff-serif);
	font-size: clamp(1.5rem, 2.21vw, 2.66rem); /* 42px */
	line-height: 1;
}

.site-footer__logo {
	width: clamp(130px, 11.1vw, 213px);
}

@media (min-width: 768px) {
	.site-footer {
		min-height: 8.65vw; /* 166px a 1920 */
	}
}

/* Animaciones al hacer scroll
   Solo se ocultan si hay JS (clase .jdv-js en <html>); main.js añade .is-visible.
   ========================================================================== */
.jdv-js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}

.jdv-js [data-reveal="right"] {
	transform: translateX(48px);
}

.jdv-js [data-reveal-delay="1"] {
	transition-delay: 0.15s;
}

.jdv-js [data-reveal-delay="2"] {
	transition-delay: 0.3s;
}

.jdv-js [data-reveal-delay="3"] {
	transition-delay: 0.45s;
}

.jdv-js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.jdv-js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
