/* css/pages/contacto/contacto.css · PÁGINA Contacto (/contacto/) · solo en esa página
   Diseño de Figma «Contacto — Desktop 1920» (capturas design/referencias/contacto1-3.png). Orden de la página, cada bloque con su fondo:
     1 cabecera (mt-contact-hero) · degradado #F5F5F0 → blanco, 345 u de alto
     2 tarjeta con formulario (mt-contact, V4) · degradado blanco → #F5F5F0, tarjeta blanca de 1600 x 952 u
     3 «¿Qué pasa después?» (mt-contact-next) · degradado #F5F5F0 → blanco (50 %) → #F5F5F0
     4 ubicación (mt-contact-loc) · fondo liso #F5F5F0: dos fotos de 520 x 720 con degradado inferior y el texto en medio
     5 cierre (mt-contact-closing) · el mismo degradado de tres paradas que el 3; después va el pie del sitio (plantilla Footer)
   1 u = 1 px del diseño a 1920 px (--uc = min(100vw / 1920, 1px)): el contenido escala con el ancho y no pasa de su tamaño. En tablet y móvil (hasta 1024 px) se apila y las medidas pasan a px.
   La tarjeta (2) son elementos V4 de Elementor (formulario nativo): las clases mt-contact-* son clases globales del kit y se ven en el HTML con su nombre; los dos botones de contacto de la foto
   y su contenedor no admiten clases (V4) y se apuntan por [data-id] (a1f0c001 contenedor, a1f0c002 fila, a1f0c003 teléfono, a1f0c004 correo).
   PENDIENTE (decisión del cliente, nov 2026): el formulario no lleva casilla ni frase de privacidad porque el diseño no la tiene y aún no existe la página de privacidad. Cuando se cree, volver a añadir en el formulario el aviso/casilla con enlace a ella.
   El correo de destino, el asunto y los mensajes se cambian en Elementor (widget Formulario); el antispam está en wp-content/mu-plugins/formulario-antispam.php.
*/

.mt-page-contacto {
	--uc: min(calc(100vw / 1920), 1px);
	--brown: #301F15;
	--orange: #D35822;
	--gold: #BDB166;
	--beige: #F5F5F0;
	--beige-line: #E9DFD2;
	background: var(--beige);
}

/* ---------- comunes: sin los huecos que Elementor mete entre widgets ---------- */
.elementor .mt-contact-hero.mt-contact-hero, .elementor .mt-contact-next.mt-contact-next, .elementor .mt-contact-loc.mt-contact-loc, .elementor .mt-contact-closing.mt-contact-closing,
.elementor .mt-contact-loc-text.mt-contact-loc-text {
	box-sizing: border-box; display: flex; margin: 0; gap: 0; --gap: 0px; --row-gap: 0px; --column-gap: 0px;
}
.elementor :is(.mt-contact-hero, .mt-contact-next, .mt-contact-loc, .mt-contact-closing) :where(.elementor-widget) { margin: 0; } /* :where no suma peso: los márgenes concretos de cada bloque (abajo) ganan */
.elementor :is(.mt-contact-h1, .mt-contact-next-title, .mt-contact-loc-title, .mt-contact-closing-title) .elementor-heading-title {
	font-family: 'CS Calistha', serif; font-weight: 400; font-style: normal; text-transform: none; letter-spacing: 0; color: var(--brown); margin: 0;
}
.elementor :is(.mt-contact-h1, .mt-contact-next-title, .mt-contact-loc-title, .mt-contact-closing-title) .elementor-heading-title i { font-style: italic; }

/* ---------- 1 · cabecera: «Contacto» 96/88 y antetítulo 25 u con letra espaciada (como «Un acompañamiento adaptado a ti» de la home) ---------- */
.elementor .mt-contact-hero.mt-contact-hero { flex-direction: column; align-items: center; padding: calc(120 * var(--uc)) 0 calc(80 * var(--uc)); background: linear-gradient(180deg, #F5F5F0, #fff); }
.elementor .mt-contact-h1 .elementor-heading-title { font-size: calc(96 * var(--uc)); line-height: calc(88 * var(--uc)); }
.elementor .mt-contact-kicker { margin-top: calc(24 * var(--uc)); }
.elementor .mt-contact-kicker .elementor-heading-title {
	font-family: 'Manrope', sans-serif; font-weight: 500; font-size: calc(25 * var(--uc)); line-height: calc(33 * var(--uc)); letter-spacing: .322em; text-transform: uppercase; color: var(--brown); margin: 0;
	padding-left: .3em; /* el espaciado de letras también va tras la última: se compensa para que quede centrado */
}

/* ---------- 2 · tarjeta con formulario ---------- */
.elementor .mt-contact.mt-contact { /* doble clase: el contenedor V4 de Elementor trae su propio display y relleno con más peso */
	box-sizing: border-box; display: flex; justify-content: center; width: 100%; margin: 0;
	padding: calc(40 * var(--uc)) calc(160 * var(--uc)) calc(120 * var(--uc));
	background: linear-gradient(180deg, #fff, #F5F5F0);
}
.elementor .mt-contact .mt-contact-card {
	box-sizing: border-box; width: calc(1600 * var(--uc)); max-width: 100%; margin: 0 auto; padding: calc(64 * var(--uc));
	background: #fff; border-radius: calc(8 * var(--uc)); overflow: hidden;
	display: grid; grid-template-columns: calc(768 * var(--uc)) calc(640 * var(--uc)); column-gap: calc(64 * var(--uc)); align-items: start; justify-content: start;
}

/* columna izquierda: título 64/72, texto 20/32, foto de 768 x 640 con degradado inferior y los botones de contacto */
.elementor .mt-contact .mt-contact-intro { display: flex; flex-direction: column; min-width: 0; padding: 0; margin: 0; }
.elementor .mt-contact .mt-contact-title { font-family: 'CS Calistha', serif; font-weight: 400; font-size: calc(64 * var(--uc)); line-height: calc(72 * var(--uc)); color: var(--brown); margin: 0; }
.elementor .mt-contact .mt-contact-title i { font-style: italic; }
.elementor .mt-contact .mt-contact-text { font-family: 'Manrope', sans-serif; font-weight: 400; font-size: calc(20 * var(--uc)); line-height: calc(32 * var(--uc)); color: var(--brown); max-width: calc(768 * var(--uc)); margin: calc(16 * var(--uc)) 0 0; }

.elementor .mt-contact [data-id="a1f0c001"] { position: relative; flex: none; display: block; width: calc(768 * var(--uc)); max-width: 100%; height: calc(640 * var(--uc)); margin: calc(32 * var(--uc)) 0 0; padding: 0; border-radius: calc(6 * var(--uc)); overflow: hidden; }
.elementor .mt-contact .mt-contact-photo { display: block; width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; object-position: center top; }
.elementor .mt-contact [data-id="a1f0c001"]::after { /* degradado inferior (35 % de la foto) hasta el beige de la página */
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; pointer-events: none;
	background: linear-gradient(180deg, rgba(245, 245, 240, 0), #F5F5F0);
}
.elementor .mt-contact [data-id="a1f0c002"] { position: absolute; z-index: 2; left: 50%; bottom: calc(32 * var(--uc)); transform: translateX(-50%); display: flex; gap: calc(16 * var(--uc)); padding: 0; margin: 0; width: max-content; max-width: 100%; }
.elementor .mt-contact :is([data-id="a1f0c003"], [data-id="a1f0c004"]).e-button-base {
	box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: calc(8 * var(--uc)); height: calc(46 * var(--uc)); padding: 0 calc(26 * var(--uc)); margin: 0;
	background: #fff; border: 0; border-radius: 999px; box-shadow: none; color: var(--brown); text-decoration: none; white-space: nowrap;
	font-family: 'Manrope', sans-serif; font-weight: 600; font-size: calc(16 * var(--uc)); line-height: 1; transition: color .25s ease;
}
.elementor .mt-contact :is([data-id="a1f0c003"], [data-id="a1f0c004"]).e-button-base::before {
	content: ''; flex: none; width: calc(16 * var(--uc)); height: calc(16 * var(--uc)); background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.elementor .mt-contact [data-id="a1f0c003"].e-button-base::before { --ico: url("../../../images/icon-phone-call.svg"); }
.elementor .mt-contact [data-id="a1f0c004"].e-button-base::before { --ico: url("../../../images/icon-mail.svg"); }
.elementor .mt-contact :is([data-id="a1f0c003"], [data-id="a1f0c004"]).e-button-base:is(:hover, :focus-visible) { color: var(--orange); box-shadow: none; outline: 0; }

/* columna derecha: los campos empiezan a 175 u del borde superior de la tarjeta (alineados con la foto) */
.elementor .mt-contact .mt-contact-panel { display: flex; flex-direction: column; min-width: 0; padding: calc(175 * var(--uc)) 0 0; margin: 0; }
.elementor .mt-contact .mt-contact-form { display: flex; flex-direction: column; row-gap: calc(28 * var(--uc)); width: 100%; padding: 0; margin: 0; }
.elementor .mt-contact .mt-contact-row { display: flex; flex-direction: column; padding: 0; margin: 0; }
.elementor .mt-contact .mt-contact-field { display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; min-width: 0; }

.elementor .mt-contact .mt-contact-label { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: calc(16 * var(--uc)); line-height: calc(20 * var(--uc)); color: var(--brown); margin: 0 0 calc(13 * var(--uc)); }
.elementor .mt-contact .mt-contact-input, .elementor .mt-contact .mt-contact-textarea {
	box-sizing: border-box; width: 100%; font-family: 'Manrope', sans-serif; font-weight: 400; font-size: calc(18 * var(--uc)); color: var(--brown);
	background-color: #F5F5F0; border: 1px solid var(--beige-line); border-radius: calc(5 * var(--uc)); outline: 0; box-shadow: none; margin: 0;
	transition: border-color .2s ease;
}
/* el kit de Elementor fija el tamaño de letra de los campos con más peso (input:not():not()): este selector lo supera */
.mt-page-contacto .elementor .mt-contact :is(input.mt-contact-input, textarea.mt-contact-textarea) { font-size: calc(18 * var(--uc)); }
.elementor .mt-contact .mt-contact-input { height: calc(60 * var(--uc)); padding: 0 calc(20 * var(--uc)); }
.elementor .mt-contact .mt-contact-textarea { height: calc(179 * var(--uc)); padding: calc(20 * var(--uc)); resize: none; display: block; }
.elementor .mt-contact .mt-contact-input::placeholder, .elementor .mt-contact .mt-contact-textarea::placeholder { color: rgba(47, 31, 20, .45); opacity: 1; }
.elementor .mt-contact .mt-contact-input:focus, .elementor .mt-contact .mt-contact-textarea:focus { border-color: var(--gold); }
/* el tema padre pinta el borde de los campos con más peso: se repite el selector (con la etiqueta) para que el borde y el foco sean los de este diseño */
.elementor .mt-contact .mt-contact-form :is(input.mt-contact-input, textarea.mt-contact-textarea) { border: 1px solid var(--beige-line); background-color: #F5F5F0; }
.elementor .mt-contact .mt-contact-form :is(input.mt-contact-input, textarea.mt-contact-textarea):focus { border-color: var(--gold); }

/* botón: píldora dorada de 182 x 46 u; al pasar el ratón el beige barre al dorado (igual que «Hablemos» y los demás botones píldora de la web) */
.elementor .mt-contact .mt-contact-submit {
	align-self: flex-start; box-sizing: border-box; width: calc(182 * var(--uc)); height: calc(46 * var(--uc)); min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 999px; cursor: pointer;
	font-family: 'Manrope', sans-serif; font-weight: 700; font-size: calc(16 * var(--uc)); letter-spacing: 0; text-transform: uppercase; color: #fff; box-shadow: none;
	background: linear-gradient(90deg, #E9DFD2 50%, #BDB166 50%) 100% 0 / 200% 100% no-repeat;
	transition: background-position .45s ease, color .3s ease .1s;
}
.elementor .mt-contact .mt-contact-submit:is(:hover, :focus-visible) { background-position: 0 0; color: var(--brown); outline: 0; box-shadow: none; }

/* estados del envío (Elementor pone form-state-success / form-state-error en el <form> y data-atomic-form-submitting mientras envía; los textos se editan en Elementor: dos párrafos, título y texto)
   · enviando: campos atenuados y bloqueados; el botón pasa a beige con un spinner y «Enviando…»
   · éxito y error: los campos se desvanecen (siguen ocupando su sitio, así la tarjeta no salta) y el mensaje se centra encima, a modo de panel; el botón «Reintentar» / «Enviar otro mensaje» lo añade js/global.js */
.elementor .mt-contact .mt-contact-form { position: relative; --mt-fs: var(--mt-pill-fs); } /* --mt-fs: el tamaño de letra de los botones píldora (buttons.css lo fija con !important desde --mt-pill-fs) */
.elementor .mt-contact .mt-contact-form[data-atomic-form-submitting] > :is(.mt-contact-row, .mt-contact-field) { opacity: .5; pointer-events: none; transition: opacity .25s ease; }
.elementor .mt-contact .mt-contact-form[data-atomic-form-submitting] .mt-contact-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: calc(10 * var(--uc)); --mt-pill-fs: 0px; opacity: 1; cursor: progress; pointer-events: none; /* --mt-pill-fs a 0 oculta el texto «Enviar mensaje»; «Enviando…» lo pinta el ::after */
	background-position: 0 0; color: var(--brown); white-space: nowrap;
}
.elementor .mt-contact .mt-contact-form[data-atomic-form-submitting] .mt-contact-submit::before {
	content: ''; flex: none; width: var(--mt-fs); height: var(--mt-fs); box-sizing: border-box; border-radius: 50%;
	border: 2px solid rgba(48, 31, 21, .25); border-top-color: var(--brown); animation: mt-form-spin .7s linear infinite;
}
.elementor .mt-contact .mt-contact-form[data-atomic-form-submitting] .mt-contact-submit::after { content: 'Enviando…'; font-size: var(--mt-fs); line-height: 1; }
@keyframes mt-form-spin { to { transform: rotate(360deg); } }

.elementor .mt-contact .mt-contact-form:is(.form-state-success, .form-state-error) > :not(.mt-contact-success, .mt-contact-error) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s .3s; }
.elementor .mt-contact .mt-contact-form.form-state-success .mt-contact-success, .elementor .mt-contact .mt-contact-form.form-state-error .mt-contact-error {
	position: absolute; inset: 0; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	gap: calc(14 * var(--uc)); padding: calc(24 * var(--uc)) 0; margin: 0; background: none; border: 0; border-radius: 0; outline: 0;
}
.elementor .mt-contact .mt-contact-success::before, .elementor .mt-contact .mt-contact-error::before {
	content: ''; position: static; display: block; opacity: 1; flex: none; box-sizing: border-box; width: calc(76 * var(--uc)); height: calc(76 * var(--uc)); /* position/display/opacity: los contenedores de Elementor usan ::before como capa de fondo (absolute) */ margin-bottom: calc(6 * var(--uc)); border-radius: 50%;
	background: var(--beige-line) var(--ico) center / 50% no-repeat; animation: mt-form-pop .5s ease both .2s;
}
.elementor .mt-contact .mt-contact-success { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23301F15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.elementor .mt-contact .mt-contact-error { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D35822' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6.5v7.5M12 17.5v.5'/%3E%3C/svg%3E"); }
.elementor .mt-contact .mt-contact-error::before { background-color: #fff; border: 1.5px solid var(--orange); }
.elementor .mt-contact .mt-contact-success > p, .elementor .mt-contact .mt-contact-error > p { margin: 0; color: var(--brown); animation: mt-form-in .6s ease both; }
.elementor .mt-contact .mt-contact-success > p:first-of-type, .elementor .mt-contact .mt-contact-error > p:first-of-type { font-family: 'CS Calistha', serif; font-weight: 400; font-size: calc(38 * var(--uc)); line-height: 1.15; animation-delay: .35s; }
.elementor .mt-contact .mt-contact-success > p:nth-of-type(2), .elementor .mt-contact .mt-contact-error > p:nth-of-type(2) { max-width: min(calc(400 * var(--uc)), 100%); font-family: 'Manrope', sans-serif; font-weight: 500; font-size: calc(17 * var(--uc)); line-height: 1.55; animation-delay: .5s; }
.elementor .mt-contact .mt-contact-retry, .elementor .mt-contact .mt-contact-again { animation: mt-form-in .6s ease both .7s; cursor: pointer; font-family: 'Manrope', sans-serif; font-weight: 700; text-transform: uppercase; }
.elementor .mt-contact .mt-contact-retry { /* «Reintentar»: la misma píldora que «Enviar mensaje» */
	box-sizing: border-box; width: calc(182 * var(--uc)); height: var(--mt-pill-h); margin-top: calc(8 * var(--uc)); padding: 0; border: 0; border-radius: 999px; box-shadow: none; font-size: var(--mt-pill-fs); line-height: 1; color: #fff; letter-spacing: 0;
	background: linear-gradient(90deg, #E9DFD2 50%, #BDB166 50%) 100% 0 / 200% 100% no-repeat; transition: background-position .45s ease, color .3s ease .1s;
}
.elementor .mt-contact .mt-contact-retry:is(:hover, :focus-visible) { background-position: 0 0; color: var(--brown); outline: 0; }
.elementor .mt-contact .mt-contact-again { margin-top: calc(6 * var(--uc)); padding: 0 0 calc(2 * var(--uc)); background: none; border: 0; border-bottom: 1px solid var(--orange); border-radius: 0; box-shadow: none; text-shadow: none; font-size: max(12px, calc(13 * var(--uc))); letter-spacing: .06em; color: var(--orange); }
.elementor .mt-contact .mt-contact-again:is(:hover, :focus-visible) { color: var(--brown); border-color: var(--brown); outline: 0; }
@keyframes mt-form-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mt-form-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* trampa antispam: fuera de pantalla, sin ocupar espacio (los bots la rellenan, las personas no la ven) */
.elementor .mt-contact .mt-contact-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; margin: 0; padding: 0; }

/* ---------- 3 · «¿Qué pasa después?» (638 u): título 96/88, texto 24/34 en 900 u, 54 u entre los dos párrafos ---------- */
.elementor .mt-contact-next.mt-contact-next { flex-direction: column; align-items: center; padding: calc(160 * var(--uc)) calc(160 * var(--uc)); background: linear-gradient(180deg, #F5F5F0, #fff 50%, #F5F5F0); }
.elementor :is(.mt-contact-next-title, .mt-contact-closing-title) .elementor-heading-title { font-size: calc(96 * var(--uc)); line-height: calc(88 * var(--uc)); }
.elementor .mt-contact-next .mt-contact-next-title { margin-bottom: calc(40 * var(--uc)); text-align: center; }
.elementor .mt-contact-next-text { width: calc(900 * var(--uc)); max-width: 100%; text-align: center; }
.elementor .mt-contact-next-text p { font-family: 'Manrope', sans-serif; font-weight: 500; font-size: calc(24 * var(--uc)); line-height: calc(34 * var(--uc)); color: var(--brown); margin: 0 0 calc(54 * var(--uc)); }
.elementor .mt-contact-next-text p:last-child { margin-bottom: 0; }

/* ---------- 4 · ubicación (1000 u): dos fotos de 520 x 720 con degradado inferior (35 %) y, en medio, texto de 432 u centrado en vertical con las fotos ---------- */
.elementor .mt-contact-loc.mt-contact-loc { flex-direction: row; align-items: flex-start; justify-content: center; column-gap: calc(64 * var(--uc)); padding: calc(120 * var(--uc)) calc(160 * var(--uc)) calc(160 * var(--uc)); background: #F5F5F0; }
.elementor .mt-contact-loc .mt-contact-loc-img { position: relative; flex: none; width: calc(520 * var(--uc)); height: calc(720 * var(--uc)); border-radius: calc(6 * var(--uc)); overflow: hidden; }
.elementor .mt-contact-loc .mt-contact-loc-img .elementor-widget-container { height: 100%; }
.elementor .mt-contact-loc .mt-contact-loc-img img { display: block; width: 100%; height: 100%; max-width: none; border-radius: 0; object-fit: cover; object-position: center top; }
.elementor .mt-contact-loc .mt-contact-loc-img::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 35%; pointer-events: none; background: linear-gradient(180deg, rgba(245, 245, 240, 0), #F5F5F0); }
.elementor .mt-contact-loc-text.mt-contact-loc-text { flex: none; flex-direction: column; align-items: center; width: calc(432 * var(--uc)); margin-top: calc(107.5 * var(--uc)); text-align: center; }
.elementor .mt-contact-loc-title .elementor-heading-title { font-size: calc(64 * var(--uc)); line-height: calc(72 * var(--uc)); }
.elementor .mt-contact-loc-city { margin-top: calc(32 * var(--uc)); }
.elementor .mt-contact-loc-city .elementor-heading-title { font-family: 'CS Calistha', serif; font-weight: 400; font-size: calc(32 * var(--uc)); line-height: calc(38 * var(--uc)); text-transform: none; letter-spacing: 0; color: var(--brown); margin: 0; }
.elementor .mt-contact-loc-address { margin-top: calc(12 * var(--uc)); }
.elementor .mt-contact-loc-address p { font-family: 'Manrope', sans-serif; font-weight: 400; font-size: calc(20 * var(--uc)); line-height: calc(32 * var(--uc)); color: var(--brown); margin: 0; }
.elementor .mt-contact-loc-btn { margin-top: calc(32 * var(--uc)); }
.elementor .mt-contact-loc-btn.elementor-widget-button .elementor-button.elementor-button { /* píldora de 191 x 46 u con texto de 16 u (mt-cta-pill, en components/buttons.css) */
	padding: 0 calc(24 * var(--uc)); height: calc(46 * var(--uc)); display: inline-flex; align-items: center; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: calc(16 * var(--uc)); line-height: 1; letter-spacing: 0; text-transform: uppercase;
}
.elementor .mt-contact-loc-btn .elementor-button-content-wrapper, .elementor .mt-contact-loc-btn .elementor-button-text { font-size: inherit; line-height: 1; padding: 0; }

/* ---------- 5 · cierre (536 u): título 96/88 en 1300 u ---------- */
.elementor .mt-contact-closing.mt-contact-closing { flex-direction: column; align-items: center; padding: calc(160 * var(--uc)) calc(160 * var(--uc)) calc(200 * var(--uc)); background: linear-gradient(180deg, #F5F5F0, #fff 50%, #F5F5F0); }
.elementor .mt-contact-closing-title { width: calc(1300 * var(--uc)); max-width: 100%; text-align: center; }

/* ==========================================================================================================
   TABLET Y MÓVIL (hasta 1024 px): no hay diseño; se apila el de PC y las medidas pasan a px. Todo dentro de media queries: PC no cambia.
   ========================================================================================================== */
@media (max-width: 1024px) {
	.mt-page-contacto { --uc: 1px; }
	.elementor .mt-contact-hero.mt-contact-hero { padding: 72px 32px 56px; }
	.elementor .mt-contact-h1 .elementor-heading-title { font-size: 64px; line-height: 1.05; }
	.elementor .mt-contact-kicker { margin-top: 18px; }
	.elementor .mt-contact-kicker .elementor-heading-title { font-size: 16px; line-height: 1.5; text-wrap: balance; }

	.elementor .mt-contact.mt-contact { padding: 24px 24px 72px; }
	.elementor .mt-contact .mt-contact-card { width: 100%; max-width: 760px; display: flex; flex-direction: column; padding: 44px 36px; border-radius: 8px; }
	.elementor .mt-contact .mt-contact-title { font-size: 44px; line-height: 1.12; }
	.elementor .mt-contact .mt-contact-text { font-size: 18px; line-height: 1.6; max-width: none; margin-top: 14px; }
	.elementor .mt-contact [data-id="a1f0c001"] { width: 100%; height: auto; aspect-ratio: 768 / 640; margin-top: 28px; margin-bottom: 40px; border-radius: 6px; }
	.elementor .mt-contact [data-id="a1f0c002"] { bottom: 20px; gap: 10px; }
	.elementor .mt-contact :is([data-id="a1f0c003"], [data-id="a1f0c004"]).e-button-base { padding: 0 18px; gap: 7px; }
	.elementor .mt-contact :is([data-id="a1f0c003"], [data-id="a1f0c004"]).e-button-base::before { width: 15px; height: 15px; }
	.elementor .mt-contact .mt-contact-panel { padding-top: 0; }
	.elementor .mt-contact .mt-contact-form { row-gap: 22px; }
	.elementor .mt-contact .mt-contact-label { font-size: 15px; line-height: 20px; margin-bottom: 10px; }
	.mt-page-contacto .elementor .mt-contact :is(input.mt-contact-input, textarea.mt-contact-textarea) { font-size: 16px; } /* con menos de 16 px Safari en iPhone hace zoom al enfocar */
	.elementor .mt-contact .mt-contact-input { height: 54px; padding: 0 18px; }
	.elementor .mt-contact .mt-contact-textarea { height: 160px; padding: 16px 18px; }
	.elementor .mt-contact .mt-contact-submit { width: 190px; }
	.elementor .mt-contact .mt-contact-retry { width: 190px; }

	.elementor .mt-contact-next.mt-contact-next { padding: 88px 32px; }
	.elementor :is(.mt-contact-next-title, .mt-contact-closing-title) .elementor-heading-title { font-size: 52px; line-height: 1.08; }
	.elementor .mt-contact-next .mt-contact-next-title { margin-bottom: 28px; }
	.elementor .mt-contact-next-text { width: 100%; max-width: 640px; }
	.elementor .mt-contact-next-text p { font-size: 19px; line-height: 1.6; margin-bottom: 28px; }

	.elementor .mt-contact-loc.mt-contact-loc { flex-direction: column; align-items: center; row-gap: 36px; padding: 40px 24px 88px; }
	.elementor .mt-contact-loc .mt-contact-loc-img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 520 / 720; border-radius: 6px; }
	.elementor .mt-contact-loc .mt-contact-loc-img-1 { order: 1; }
	.elementor .mt-contact-loc-text.mt-contact-loc-text { order: 0; width: 100%; max-width: 440px; margin-top: 0; }
	.elementor .mt-contact-loc .mt-contact-loc-img-2 { order: 2; }
	.elementor .mt-contact-loc-title .elementor-heading-title { font-size: 46px; line-height: 1.12; }
	.elementor .mt-contact-loc-city { margin-top: 24px; }
	.elementor .mt-contact-loc-city .elementor-heading-title { font-size: 28px; line-height: 1.2; }
	.elementor .mt-contact-loc-address p { font-size: 18px; line-height: 1.6; }
	.elementor .mt-contact-loc-btn { margin-top: 24px; }

	.elementor .mt-contact-closing.mt-contact-closing { padding: 88px 32px 110px; }
	.elementor .mt-contact-closing-title { width: 100%; max-width: 760px; }
}
@media (max-width: 767px) {
	.elementor .mt-contact-hero.mt-contact-hero { padding: 104px 20px 92px; } /* móvil: 104 px de aire entre el navbar y el título y entre el subtítulo y la sección de abajo (esta le suma su propio padding superior) */
	.elementor .mt-contact-h1 .elementor-heading-title { font-size: 46px; }
	.elementor .mt-contact-kicker .elementor-heading-title { font-size: 12px; letter-spacing: .26em; }
	.elementor .mt-contact.mt-contact { padding: 12px 12px 56px; }
	.elementor .mt-contact .mt-contact-card { padding: 30px 20px 32px; }
	.elementor .mt-contact .mt-contact-title { font-size: 34px; }
	.elementor .mt-contact .mt-contact-text { font-size: 16px; }
	.elementor .mt-contact [data-id="a1f0c001"] { aspect-ratio: 4 / 5; margin-bottom: 32px; }
	.elementor .mt-contact [data-id="a1f0c002"] { flex-direction: column; align-items: center; gap: 8px; bottom: 16px; }
	.elementor .mt-contact :is([data-id="a1f0c003"], [data-id="a1f0c004"]).e-button-base { padding: 0 16px; }
	.elementor .mt-contact .mt-contact-submit { width: 100%; }
	.elementor .mt-contact .mt-contact-success::before, .elementor .mt-contact .mt-contact-error::before { width: 64px; height: 64px; }
	.elementor .mt-contact .mt-contact-success > p:first-of-type, .elementor .mt-contact .mt-contact-error > p:first-of-type { font-size: 32px; }
	.elementor .mt-contact .mt-contact-success > p:nth-of-type(2), .elementor .mt-contact .mt-contact-error > p:nth-of-type(2) { font-size: 16px; }
	.elementor .mt-contact .mt-contact-retry { width: 100%; max-width: 320px; }
	.elementor .mt-contact-next.mt-contact-next { padding: 64px 22px; }
	.elementor :is(.mt-contact-next-title, .mt-contact-closing-title) .elementor-heading-title { font-size: 36px; }
	.elementor .mt-contact-next-text p { font-size: 16px; margin-bottom: 22px; }
	.elementor .mt-contact-loc.mt-contact-loc { padding: 24px 20px 64px; }
	.elementor .mt-contact-loc-title .elementor-heading-title { font-size: 38px; }
	.elementor .mt-contact-loc-address p { font-size: 16px; }
	.elementor .mt-contact-closing.mt-contact-closing { padding: 64px 22px 84px; }
}
/* ==========================================================================================================
   TABLET (768 a 1024 px, vertical y horizontal): solo esta franja; PC y móvil no cambian. Se aprieta el apilado genérico de arriba:
   · tarjeta: en horizontal (>= 900 px) va en dos columnas como en PC (título, texto y foto a la izquierda; campos a la derecha, alineados por abajo con la foto); en vertical queda apilada con foto más baja y Nombre / Email en dos columnas
   · ubicación: ver el bloque de más abajo (collage con arcos en todo el tramo de tablet y móvil)
   ========================================================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
	.elementor .mt-contact .mt-contact-card { max-width: 944px; padding: 40px; }
	.elementor .mt-contact [data-id="a1f0c001"] { aspect-ratio: 16 / 9; margin-top: 24px; margin-bottom: 36px; }
	.elementor .mt-contact .mt-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
	.elementor .mt-contact .mt-contact-form > .mt-contact-row { display: contents; }
	.elementor .mt-contact .mt-contact-form > .mt-contact-field:nth-of-type(n+3), .elementor .mt-contact .mt-contact-form > :is(.mt-contact-submit, .mt-contact-success, .mt-contact-error) { grid-column: 1 / -1; }
	.elementor .mt-contact .mt-contact-form .mt-contact-submit { width: 220px; }

}
@media (min-width: 900px) and (max-width: 1024px) {
	.elementor .mt-contact.mt-contact { padding: 24px 32px 80px; }
	.elementor .mt-contact .mt-contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: stretch; }
	.elementor .mt-contact .mt-contact-title { font-size: 34px; text-wrap: balance; }
	.elementor .mt-contact .mt-contact-text { font-size: 17px; }
	.elementor .mt-contact [data-id="a1f0c001"] { aspect-ratio: 1 / 1; margin-bottom: 0; }
	.elementor .mt-contact .mt-contact-panel { justify-content: flex-end; }
	.elementor .mt-contact .mt-contact-form { grid-template-columns: 1fr; }
}
@media (min-width: 900px) and (max-width: 999px) { /* la columna de la foto es estrecha: los dos botones de contacto van uno sobre otro */
	.elementor .mt-contact [data-id="a1f0c002"] { flex-direction: column; align-items: center; gap: 8px; bottom: 20px; }
}
/* ---------- ubicación en tablet y móvil (hasta 1024 px) ----------
   «Collage» en lugar de dos fotos planas una debajo de otra: arco arriba en las dos, se solapan y la segunda baja un poco.
   Título y dirección arriba y el collage debajo, en una rejilla de 12 columnas (foto 1 columnas 1-7, foto 2 columnas 6-12). */
@media (max-width: 1024px) {
	.elementor .mt-contact-loc.mt-contact-loc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 0; row-gap: 40px; align-items: start; justify-content: stretch; padding: 48px max(20px, calc((100% - 540px) / 2)) 80px; }
	.elementor .mt-contact-loc-text.mt-contact-loc-text { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
	.elementor .mt-contact-loc .mt-contact-loc-img { position: relative; width: 100%; max-width: none; height: auto; aspect-ratio: 520 / 720; border-radius: 999px 999px 6px 6px; }
	.elementor .mt-contact-loc .mt-contact-loc-img-1 { grid-column: 1 / 8; grid-row: 2; z-index: 1; }
	.elementor .mt-contact-loc .mt-contact-loc-img-2 { grid-column: 6 / 13; grid-row: 2; z-index: 2; margin-top: clamp(48px, 14vw, 88px); box-shadow: 0 0 0 5px #F5F5F0; }
}
@media (prefers-reduced-motion: reduce) {
	.elementor .mt-contact :is(.mt-contact-success, .mt-contact-error, .mt-contact-retry, .mt-contact-again), .elementor .mt-contact :is(.mt-contact-success, .mt-contact-error)::before, .elementor .mt-contact :is(.mt-contact-success, .mt-contact-error) > p { animation: none; }
	.elementor .mt-contact .mt-contact-input, .elementor .mt-contact .mt-contact-textarea, .elementor .mt-contact .mt-contact-submit, .elementor .mt-contact .e-button-base { transition: none; }
}
