/* MP360 – Sitio. Colores del Manual de Marca: #004173 (60%), #A6A6A6 (30%), #FFFFFF (10%). */

/* Encabezado fijo arriba (el espacio que ocupa lo reserva front.js). */
body.ehf-header:not(.elementor-editor-active) #masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 99; transition: box-shadow .3s; }
body.ehf-header #masthead.mp360-scrolled { box-shadow: 0 8px 30px -12px rgba(0, 65, 115, .28); }
.admin-bar.ehf-header:not(.elementor-editor-active) #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.ehf-header:not(.elementor-editor-active) #masthead { top: var(--mp360-adminbar, 46px); } }
html { scroll-behavior: smooth; }

/* Portada: rombos animados (canvas) debajo del filtro azul y del texto. */
.mp360-hero { position: relative; overflow: hidden; }
.mp360-hero > canvas.mp360-hex-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.mp360-hero::before { z-index: 1 !important; }
.mp360-hero > .e-con-inner, .mp360-hero > .elementor-element { position: relative; z-index: 2; }
.mp360-hero-title .elementor-heading-title { letter-spacing: -.02em; }
.mp360-silver { display: block; background: linear-gradient(180deg, #FFFFFF 20%, #C9CED4 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mp360-hero-sub { max-width: 620px; }

/* Línea corta bajo los títulos: azul → plata. */
.mp360-line .elementor-divider-separator { border-top: 0 !important; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #004173, #A6A6A6); }
.mp360-line--light .elementor-divider-separator { background: linear-gradient(90deg, #FFFFFF, #A6A6A6); }
.mp360-sub { max-width: 720px; }

/* Tarjetas: sombra suave y elevación al pasar el mouse. */
.mp360-card, .mp360-lift { border-radius: 18px; box-shadow: 0 2px 0 rgba(0, 65, 115, .03), 0 20px 40px -28px rgba(0, 65, 115, .35); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.mp360-card:hover, .mp360-lift:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(0, 65, 115, .45); }
.mp360-lift > .elementor-widget-container { height: 100%; }

/* Tarjetas de servicio: toda la tarjeta es un enlace. */
.mp360-svc-card { position: relative; height: 100%; border-radius: 18px; box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .45); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.mp360-svc-card > .elementor-widget-container { height: 100%; }
.mp360-svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .5); }
.mp360-svc-card .elementor-image-box-wrapper { height: 100%; display: flex; flex-direction: column; }
.mp360-svc-card .elementor-image-box-content { display: flex; flex-direction: column; flex: 1; }
.mp360-svc-card .elementor-image-box-description { margin-top: auto; padding-top: 14px; }
.mp360-svc-card .elementor-image-box-title a { color: inherit; }
.mp360-svc-card .elementor-image-box-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mp360-svc-card .elementor-image-box-img img { width: 64px; max-width: 64px; }
.mp360-svc-card .elementor-image-box-wrapper, .mp360-include .elementor-image-box-wrapper { text-align: left !important; }
.mp360-svc-card .elementor-image-box-img { margin-left: 0 !important; margin-right: 0 !important; align-self: flex-start; }
.mp360-svc-card .elementor-image-box-description { transition: letter-spacing .3s; }
.mp360-svc-card:hover .elementor-image-box-description { letter-spacing: .02em; }
.mp360-others .mp360-svc-card { border: 1px solid #D9DDE2; box-shadow: 0 20px 40px -30px rgba(0, 65, 115, .35); }

/* "Dirigidos a". */
.mp360-audience { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin: 0; }
.mp360-audience strong { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 1.08em; margin-right: 4px; }
.mp360-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); font-family: Montserrat, sans-serif; font-weight: 600; color: #FFFFFF; }
.mp360-pill img { width: 24px; height: 24px; }

/* Cómo trabajamos: hexágonos unidos por una línea que se ilumina al bajar. */
.mp360-steps { position: relative; }
.e-con.mp360-steps::before { content: "" !important; display: block !important; position: absolute !important; inset: auto !important; left: 8% !important; top: 39px !important; width: 84% !important; height: 3px !important; border-radius: 3px; background: #D9DDE2 !important; opacity: 1 !important; z-index: 0; mix-blend-mode: normal !important; }
.e-con.mp360-steps::after { content: "" !important; display: block !important; position: absolute !important; inset: auto !important; left: 8% !important; top: 39px !important; width: calc(84% * var(--mp360-p, 0)) !important; height: 3px !important; border-radius: 3px; background: linear-gradient(90deg, #1D3A9A, #004173) !important; opacity: 1 !important; z-index: 0; transition: width .2s linear; }
.mp360-step { position: relative; z-index: 1; }
.mp360-hex .elementor-heading-title { position: relative; z-index: 0; width: 82px; height: 80px; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: #A6A6A6; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transition: background .4s, color .4s; }
.mp360-hex .elementor-heading-title::before { content: ""; position: absolute; inset: 3px; z-index: -1; background: #FFFFFF; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); transition: background .4s; }
.mp360-step.is-on .mp360-hex .elementor-heading-title { background: #004173; color: #FFFFFF !important; }
.mp360-step.is-on .mp360-hex .elementor-heading-title::before { background: #004173; }
@media (max-width: 1024px) { .e-con.mp360-steps::before, .e-con.mp360-steps::after { display: none !important; } }

/* Quiénes somos y equipo. */
.mp360-about p { margin-bottom: 1em; }
.mp360-about p:first-child { font-size: 1.08em; }
.mp360-person-photo img { width: 100%; max-width: 268px; aspect-ratio: 268 / 400; object-fit: cover; }
.mp360-congreso { overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 65, 115, .6); }

/* Contacto. */
.mp360-contact { position: relative; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(0, 65, 115, .8); }
.mp360-channel { position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 14px 20px; transition: background .3s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.mp360-channel:hover { background: rgba(255, 255, 255, .14); transform: translateX(6px); }
.mp360-channel .elementor-icon-box-title a::after { content: ""; position: absolute; inset: 0; }
.mp360-channel .elementor-icon-box-title, .mp360-channel .elementor-icon-box-description { margin: 0; }
.mp360-channel .elementor-icon-box-description { word-break: break-word; }

/* Formulario (Contact Form 7). */
.mp360-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mp360-form .wpcf7-form p { margin: 0 0 14px; }
.mp360-form .mp360-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.mp360-form .mp360-f-row > p { display: contents; }
.mp360-form .mp360-f-row br { display: none; }
.mp360-form .wpcf7-form-control-wrap { display: block; }
@media (max-width: 520px) { .mp360-form .mp360-f-row { grid-template-columns: 1fr; } }
.mp360-form input[type="text"], .mp360-form input[type="email"], .mp360-form input[type="tel"], .mp360-form textarea { width: 100%; font-family: "Open Sans", Arial, sans-serif; font-size: 16px; color: #1B2733; background: #EEF0F3; border: 2px solid transparent; border-radius: 12px; padding: 15px 18px; transition: border-color .2s, background .2s; box-shadow: none; }
.mp360-form textarea { min-height: 130px; resize: vertical; }
.mp360-form input:focus, .mp360-form textarea:focus { outline: none; background: #FFFFFF; border-color: #004173; }
.mp360-form .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #55606C; }
.mp360-form .wpcf7-acceptance input { width: 18px; height: 18px; margin-top: 2px; accent-color: #004173; }
.mp360-form .wpcf7-list-item { margin: 0; }
.mp360-form .mp360-submit { width: 100%; cursor: pointer; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 16px; color: #FFFFFF; background: #004173; border: 0; border-radius: 10px; padding: 16px 24px; box-shadow: 0 12px 30px -14px rgba(0, 65, 115, .7); transition: background .3s, transform .3s; }
.mp360-form .mp360-submit:hover { background: #002A4D; transform: translateY(-2px); }
.mp360-form .wpcf7-spinner { position: absolute; }
.mp360-form .wpcf7-response-output { margin: 12px 0 0 !important; border-radius: 10px; font-size: 14px; }

/* Páginas de servicio. */
.mp360-back .elementor-button { background: none !important; padding: 0 !important; opacity: .9; }
.mp360-back .elementor-button:hover { opacity: 1; text-decoration: underline; }
.mp360-svc-h1 { max-width: 900px; }
.mp360-svc-text p { margin: 0 0 22px; }
.mp360-svc-text .mp360-lead { font-family: Montserrat, sans-serif; font-weight: 600; color: #004173; font-size: 1.3em; line-height: 1.5; }
.mp360-svc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(0, 65, 115, .7); }
.mp360-include .elementor-image-box-img img { width: 44px; }
.mp360-include .elementor-image-box-title { margin: 0; }
.mp360-cta { box-shadow: 0 40px 80px -40px rgba(0, 65, 115, .7); }

/* Botón flotante de WhatsApp (verde de la app). */
.mp360-wa-float .elementor-button { width: 60px; height: 60px; padding: 0 !important; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); }
.mp360-wa-float .elementor-button-icon { margin: 0 !important; }
.mp360-wa-float .elementor-button-text { display: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.mp360-card, .mp360-lift, .mp360-svc-card, .mp360-channel { transition: none; }
}

/* Política de tratamiento de datos y enlace legal del pie de página. */
.mp360-legal a { color: #A9BDD0; text-decoration: underline; text-underline-offset: 3px; }
.mp360-legal a:hover { color: #FFFFFF; }
.mp360-legal p { margin: 0; }
.mp360-legal-text h2 { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 22px; color: #004173; margin: 36px 0 12px; }
.mp360-legal-text p, .mp360-legal-text li { line-height: 1.75; }
.mp360-legal-text ul { padding-left: 22px; margin: 0 0 16px; }
.mp360-legal-text a, .mp360-form .wpcf7-acceptance a { color: #004173; text-decoration: underline; }

/* Fecha del Congreso. */
.mp360-date .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); }
.mp360-date .elementor-heading-title::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Congreso: bloque de un solo color, destacado. */
.mp360-congreso { box-shadow: 0 50px 90px -40px rgba(0, 65, 115, .75), 0 0 28px -6px rgba(13, 236, 98, .45); }
.mp360-congreso-text p { margin: 0; }
.mp360-congreso-text strong { color: #FFFFFF; }
