/* ==========================================================================
   Página «Contacta con nosotros» — desde Figma (Desktop 1440)
   ========================================================================== */

:root {
	--zct-or: #f15c2b;
	--zct-or2: #f18822;
	--zct-grad: linear-gradient(90deg, #f15c2b 0%, #f18822 100%);
	--zct-ink: #141414;
	--zct-grey: #5e5e5e;
	--zct-cream: #faf8f5;
	--zct-line: #e8e3dc;
	--zct-soft: #fdeee8;
	--zct-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--zct-px: 120px;
	--zct-w: 1200px;
}

/* Mismo contenedor que el resto de landings: 1200 px (1296 px en pantallas grandes). */
@media (min-width: 1400px) {
	:root { --zct-w: 1296px; }
}

.zct-main { font-family: var(--zct-font); color: var(--zct-ink); -webkit-font-smoothing: antialiased; }
.zct-main *, .zct-main *::before, .zct-main *::after { box-sizing: border-box; }
.zct-main p, .zct-main h1, .zct-main h2, .zct-main h3 { margin: 0; padding: 0; }
.zct-main h2, .zct-main h3 {
	font-family: var(--zct-font) !important;
	background: none !important;
	-webkit-text-fill-color: currentColor !important;
	color: var(--zct-ink);
	text-transform: none;
	letter-spacing: 0;
}
.zct-main img { display: block; max-width: 100%; }
.zct-main a { text-decoration: none; }

.zct-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: calc(var(--zct-w) + var(--zct-px) * 2);
	margin: 0 auto;
	padding: 0 var(--zct-px);
}

.zct-sec { position: relative; overflow: hidden; }
.zct-decos { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: var(--zct-or); }
.zct-hex { position: absolute; display: block; overflow: visible; }

.zct-eb {
	font-size: 13px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--zct-or);
}

/* ── Cabecera + formulario ─────────────────────────────────────────────── */

.zct-top { padding: 32px 0 96px; background: var(--zct-cream); }
.zct-top > .zct-container { display: flex; flex-direction: column; gap: 40px; }

.zct-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; line-height: 16px; color: var(--zct-grey); }
.zct-crumbs a { color: var(--zct-grey); }
.zct-crumbs a:hover { color: var(--zct-or); }
.zct-crumbs__cur { font-weight: 600; color: var(--zct-or); }

.zct-top__row { display: flex; align-items: stretch; gap: 48px; }
.zct-top__left { flex: 0 0 532px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.zct-top__head { display: flex; flex-direction: column; gap: 16px; }
.zct-main .zct-h1 { font-family: var(--zct-font); font-size: 46px; font-weight: 700; line-height: 54px; } /* El color (degradado naranja) lo pone el tema. */
.zct-lead { max-width: 520px; font-size: 18px; line-height: 28px; color: var(--zct-grey); }

.zct-top__media { position: relative; flex: 1 1 auto; min-height: 360px; border-radius: 20px; overflow: hidden; background: var(--zct-line); }
.zct-main .zct-top__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Tarjeta del formulario: el formulario de HubSpot se pinta dentro, con aire alrededor. */
.zct-card {
	flex: 1 1 0;
	min-width: 0;
	align-self: flex-start;
	position: relative;
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(20, 13, 5, 0.08);
}
.zct-card::before { content: ''; display: block; height: 6px; background: var(--zct-grad); }
.zct-card__body { position: relative; padding: 34px 40px 40px; }
.zct-hs, .zct-hs .hs-form-frame { width: 100%; }
.zct-hs__loading { padding: 64px 0; text-align: center; font-size: 14px; color: var(--zct-grey); }
.zct-hs iframe { width: 100% !important; }
.zct-admin-note { padding: 12px 14px; border-radius: 10px; background: #fff7d6; font-size: 13px; line-height: 18px; color: #6b5300; }

/* ── Delegaciones ──────────────────────────────────────────────────────── */

.zct-of { padding: 88px 0 96px; background: #fff; }
.zct-of--internacional { background: var(--zct-cream); }
.zct-of > .zct-container { display: flex; flex-direction: column; gap: 40px; }
.zct-of__head { display: flex; flex-direction: column; gap: 14px; }
.zct-main .zct-h2 { font-size: 36px; font-weight: 700; line-height: 44px; }
.zct-of__text { max-width: 620px; font-size: 17px; line-height: 27px; color: var(--zct-grey); }

.zct-of__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.zct-office { display: flex; flex-direction: column; }
.zct-office__photo {
	position: relative;
	height: 200px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--zct-line);
	box-shadow: 0 6px 20px rgba(241, 92, 43, 0.22);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.zct-office:hover .zct-office__photo { box-shadow: 0 14px 36px rgba(241, 92, 43, 0.38); transform: translateY(-4px); }
.zct-main .zct-office__photo img { width: 100%; height: 100%; object-fit: cover; }
.zct-office__tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; line-height: 15px; color: var(--zct-ink); }
.zct-office__info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding-top: 22px; }
.zct-main .zct-office__city { font-size: 20px; font-weight: 700; line-height: 24px; }
.zct-office__row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 21px; color: var(--zct-grey); }
.zct-office__row .zct-ic { flex: 0 0 16px; margin-top: 2px; color: var(--zct-or); }
.zct-office__row--ink, .zct-office__row a { color: var(--zct-ink); }
.zct-office__row a:hover { color: var(--zct-or); }
.zct-office__map { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; line-height: 17px; color: var(--zct-or) !important; }
.zct-office__map:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1280px) {
	:root { --zct-px: 56px; }
	.zct-top__left { flex-basis: 44%; }
}

@media (max-width: 1024px) {
	:root { --zct-px: 40px; }
	.zct-decos { display: none; }
	.zct-top { padding-bottom: 72px; }
	.zct-top__row { flex-direction: column; gap: 40px; }
	/* En tablet y móvil el formulario va justo después del título; la imagen, al final. */
	.zct-top__left { display: contents; }
	.zct-top__head { order: 1; }
	.zct-card { order: 2; }
	.zct-top__media { order: 3; }
	.zct-top__media { flex: none; height: 360px; min-height: 0; }
	.zct-card { flex: none; width: 100%; align-self: stretch; }
	.zct-of { padding: 64px 0 72px; }
	.zct-of__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}

@media (max-width: 640px) {
	:root { --zct-px: 20px; }
	.zct-top { padding: 24px 0 56px; }
	.zct-top > .zct-container { gap: 28px; }
	.zct-main .zct-h1 { font-size: 34px; line-height: 40px; }
	.zct-lead { font-size: 16px; line-height: 25px; }
	.zct-top__media { height: 260px; }
	.zct-card__body { padding: 24px 20px 28px; }
	.zct-main .zct-h2 { font-size: 28px; line-height: 34px; }
	.zct-of { padding: 48px 0 56px; }
	.zct-of__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
