/* ============================================================================
   Contacto (Figma 2591:1879): gradient hero with contact items, the reused
   appointment form (image on the right), and a faint-photo "areas" band.
   ========================================================================== */

/* ---------- Hero: eyebrow + title + 3 contact items ---------- */
.contacto-hero {
	background: linear-gradient(180deg, rgba(28, 59, 91, 0.08), rgba(28, 59, 91, 0));
	padding: clamp(56px, 8vw, 72px) var(--gutter);
}
.contacto-hero__inner {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(48px, 7vw, 96px);
}
.contacto-hero__head { max-width: 535px; text-align: center; display: flex; flex-direction: column; gap: var(--space-6); }
.contacto-hero__eyebrow {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: 0.64px;
	text-transform: uppercase;
	color: var(--bida-blue);
	opacity: 0.64;
}
.contacto-hero__title {
	margin: 0;
	font-size: var(--fs-h1);
	line-height: var(--lh-h1);
	letter-spacing: var(--ls-h1);
	font-weight: var(--fw-medium);
	color: var(--bida-blue);
}
.contacto-hero__info {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: clamp(32px, 5vw, 64px) clamp(48px, 8vw, 152px);
}
.contacto-info { display: flex; align-items: center; gap: 16px; }
.contacto-info__icon {
	flex: none;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--bida-green);
	color: var(--white);
	display: inline-flex; align-items: center; justify-content: center;
}
.contacto-info__glyph { width: 23px; height: 23px; }
.contacto-info__text {
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--bida-blue);
	white-space: nowrap; /* keep "Correo electrónico" + email each on one line */
}
.contacto-info__text--wrap { white-space: normal; max-width: 226px; } /* the address wraps */
.contacto-info__label { display: block; font-weight: var(--fw-medium); }
.contacto-info__text a { color: inherit; text-decoration: none; }
.contacto-info__text a:hover { text-decoration: underline; }

/* ---------- Appointment: image on the right, flush with the form (Contacto) ---------- */
/* No gap: form + image read as one rounded container, so the seam corners are
   squared and only the outer corners rounded. */
.appointment--reverse .appointment__grid { gap: 0; grid-template-columns: 1.05fr 1fr; } /* image column a touch narrower → portrait crop like Figma */
.appointment--reverse .appointment__panel { order: 1; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.appointment--reverse .appointment__media { order: 2; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.appointment--reverse .appointment__media img { object-position: center; }
@media (max-width: 900px) {
	.appointment--reverse .appointment__grid { gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; }
	.appointment--reverse .appointment__panel,
	.appointment--reverse .appointment__media { border-radius: var(--radius-lg); }
}

/* ---------- Areas: faint photo band + email cards ---------- */
.contacto-areas {
	position: relative;
	isolation: isolate;
	background: var(--neutral-100);
	padding: clamp(56px, 8vw, 88px) var(--gutter);
	overflow: hidden;
}
.contacto-areas::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: url(../../img/contacto/areas-bg.jpg) center / cover no-repeat;
	opacity: 0.2;
}
.contacto-areas__inner {
	width: 100%; max-width: var(--container-max); margin-inline: auto;
	display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 6vw, 72px);
}
.contacto-areas__title {
	margin: 0; max-width: 440px; text-align: center;
	font-size: clamp(26px, 3vw, 32px); line-height: 1.25; letter-spacing: -0.32px;
	color: var(--bida-blue); font-weight: var(--fw-regular);
}
.contacto-areas__grid {
	list-style: none; margin: 0; padding: 0; width: 100%;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.contacto-area {
	display: flex; flex-direction: column; justify-content: space-between;
	min-height: 125px;
	padding: 18px;
	background: var(--white);
	border-radius: var(--radius-sm);
}
.contacto-area__icon { color: var(--bida-blue); display: inline-flex; }
.contacto-area__glyph { height: 22px; width: auto; }
.contacto-area__body { display: flex; flex-direction: column; gap: 6px; }
.contacto-area__name { margin: 0; font-size: var(--fs-sub2); line-height: 1.28; letter-spacing: -0.18px; font-weight: var(--fw-medium); color: var(--bida-blue); }
.contacto-area__email { font-size: var(--fs-body); line-height: 1.44; color: var(--bida-blue); opacity: 0.6; text-decoration: none; word-break: break-word; }
.contacto-area__email:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 900px) {
	.contacto-areas__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.contacto-areas__grid { grid-template-columns: 1fr; }
	.contacto-hero__info { flex-direction: column; align-items: flex-start; }
}
