/*
 * Metanoia — detalles del diseño que Blocksy y Elementor no traen como opción.
 * Colores: oro #D4AF37 · azul profundo #0B2545 · bronce #8C6D46 · hueso #FFF3D8 · línea #E6D3A6.
 * Los textos, fotos y colores principales se cambian desde Elementor y Personalizar.
 */

/* ---------- Header: fondo translúcido, menú en píldora, redes con separador ---------- */
.ct-header [data-row="middle"] { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ct-header [data-id="menu"] > ul > li > a { border-radius: 999px; padding-inline: 16px; }
.ct-header [data-id="socials"] { margin-left: 8px; padding-left: 12px; border-left: 1px solid #E6D3A6; }
.ct-header .site-logo-container img { width: auto; }
#offcanvas .ct-panel-content { --theme-link-initial-color: #0B2545; }

/* ---------- Generales ---------- */
:focus-visible { outline: 2px solid #0B2545; outline-offset: 3px; border-radius: 4px; }
.elementor-widget-text-editor.mt-texto p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor.mt-texto p { margin-bottom: 1em; }
.mt-display .elementor-heading-title b, .mt-display .elementor-heading-title strong { font-weight: 700; }
.mt-display .elementor-heading-title { text-wrap: balance; }
.elementor-widget-heading h2.elementor-heading-title, .elementor-widget-heading h3.elementor-heading-title { text-wrap: balance; }
.mt-link a { color: inherit; }
.mt-link a:hover { color: #8C6D46; }

/* ---------- Testimonios: comilla dorada arriba y línea antes del nombre ---------- */
.mt-testimonio .elementor-testimonial-content { white-space: pre-line; }
.mt-testimonio .elementor-testimonial-content::before {
	content: "\201C"; display: block; font-family: "Dosis", sans-serif; font-weight: 700;
	font-size: 72px; line-height: 48px; color: #D4AF37; margin-bottom: 8px;
}
.mt-testimonio .elementor-testimonial-meta { margin-top: 20px; padding-top: 20px; border-top: 1px solid #E6D3A6; }
.mt-testimonio .elementor-testimonial-image img { object-fit: cover; object-position: 50% 18%; }
.mt-testimonio .elementor-testimonial-details { padding-left: 4px; }

/* ---------- Preguntas frecuentes: líneas entre preguntas ---------- */
.mt-faq .elementor-toggle-item { border-top: 1px solid #E6D3A6; }
.mt-faq .elementor-toggle-item:last-child { border-bottom: 1px solid #E6D3A6; }
.mt-faq .elementor-tab-title { cursor: pointer; }
.mt-faq .elementor-tab-content p:last-child { margin-bottom: 0; }

/* ---------- Formulario de agenda (Contact Form 7) ---------- */
.mt-form { display: grid; gap: 16px; }
.mt-form label { display: grid; gap: 6px; font-family: "Dosis", sans-serif; font-weight: 600; font-size: 15px; color: #0B2545; }
.mt-form .wpcf7-form-control-wrap { display: block; }
.mt-form input[type="text"], .mt-form input[type="email"], .mt-form select, .mt-form textarea {
	width: 100%; font-family: "IBM Plex Serif", Georgia, serif; font-size: 16px; color: #0B2545;
	background-color: #FFF3D8; border: 1px solid #8C6D46; border-radius: 12px; padding: 12px 14px; min-height: 0; height: auto; font-weight: 400;
}
.mt-form textarea { min-height: 120px; height: 120px; resize: vertical; }
.mt-form input:focus, .mt-form select:focus, .mt-form textarea:focus { border-color: #0B2545; box-shadow: none; outline: 2px solid #0B2545; outline-offset: 1px; }
.mt-form .wpcf7-submit {
	width: 100%; justify-content: center; font-family: "Dosis", sans-serif; font-weight: 600; font-size: 16px;
	background: #D4AF37; color: #0B2545; border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer;
}
.mt-form .wpcf7-submit:hover { background: #DDBE55; color: #0B2545; }
.mt-form .wpcf7-spinner { display: block; margin: 8px auto 0; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 16px; border: 1px dashed #8C6D46; border-radius: 12px; font-size: 15px; }
.wpcf7-not-valid-tip { font-size: 14px; font-family: "IBM Plex Serif", Georgia, serif; font-weight: 400; color: #9B2C2C; }

/* ---------- Footer ---------- */
.ct-footer .mt-eyebrow { font-family: "Dosis", sans-serif; font-weight: 700; font-size: 14px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; color: #0B2545; }
.ct-footer .mt-foot-marca { font-family: "Dosis", sans-serif; font-weight: 600; font-size: 32px; line-height: 1.1; margin: 0 0 12px; }
.ct-footer .mt-foot-firma { font-family: "Dosis", sans-serif; font-weight: 300; font-size: 20px; margin: 0; }
.ct-footer .mt-foot-redes { gap: 12px !important; margin-top: 20px !important; }
.ct-footer .mt-foot-redes .wp-social-link { margin: 0; }
.ct-footer .mt-foot-redes .wp-social-link a {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border-radius: 50%; border: 1px solid #8C6D46; color: #0B2545 !important;
}
.ct-footer .mt-foot-redes .wp-social-link a:hover { background: #D4AF37; border-color: #D4AF37; }
.ct-footer .mt-foot-redes .wp-social-link svg { width: 22px; height: 22px; }
.ct-footer .mt-foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ct-footer .mt-foot-links a { text-decoration: none; }
.ct-footer .mt-foot-links a:hover { text-decoration: underline; }
.ct-footer p { margin: 0 0 16px; }
.ct-footer .mt-btn .wp-block-button__link {
	font-family: "Dosis", sans-serif; font-weight: 600; font-size: 16px; line-height: 18px;
	background: #D4AF37; color: #0B2545; border-radius: 999px; padding: 14px 24px; text-decoration: none;
}
.ct-footer .mt-btn .wp-block-button__link:hover { background: #DDBE55; }
.mt-form br { display: none; }
.mt-form p { margin: 0; display: contents; }
.ct-header [data-row="middle"] { border-bottom: 1px solid #E6D3A6; }
.ct-header [data-row="middle"] > .ct-container { border-bottom: 0 !important; }

/* Flecha del desplegable (Modalidad preferida) */
.mt-form select {
	-webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; background-size: 18px 18px;
}
