/* Tipografías del diseño anterior: en la web en línea no cargan y todo se ve en Arial.
   Estos alias garantizan el mismo resultado en cualquier equipo (aunque tenga Roboto instalada). */
@font-face{ font-family:'Roboto'; font-weight:100 500; src:local('Arial'),local('ArialMT'); }
@font-face{ font-family:'Roboto'; font-weight:600 900; src:local('Arial Bold'),local('Arial-BoldMT'); }
@font-face{ font-family:'Libre Franklin'; font-weight:100 500; src:local('Arial'),local('ArialMT'); }
@font-face{ font-family:'Libre Franklin'; font-weight:600 900; src:local('Arial Bold'),local('Arial-BoldMT'); }
@font-face{ font-family:'Nova Round'; font-weight:100 900; src:local('Arial'),local('ArialMT'); }
@font-face{ font-family:'Muli'; font-weight:100 500; src:local('Arial'),local('ArialMT'); }
@font-face{ font-family:'Muli'; font-weight:600 900; src:local('Arial Bold'),local('Arial-BoldMT'); }

/* ============ Mamafit · estilos del tema hijo ============ */
:root{
  --mf-rosa:#EB184D;       /* Primary */
  --mf-morado:#4B0C7A;     /* Secondary */
  --mf-gris:#EFF3F3;
  --mf-fuente:Arial,Helvetica,sans-serif; /* lo que realmente se ve en la web anterior */
}

/* Header: fila principal blanca y pegajosa; la franja rosa queda debajo */
.ast-below-header-bar .ast-header-html{ text-align:center; font-size:14px; font-weight:700; }
.ast-below-header-bar .ast-header-html p{ margin:0; }
.main-header-menu > .menu-item > .menu-link{ padding-left:.9em; padding-right:.9em; }
.ast-header-account-wrap .ast-header-account-link svg,
.ast-header-search svg{ fill:var(--mf-rosa); }

/* Footer: textos blancos en la barra rosa y redes en morado */
.ast-footer-copyright,.ast-footer-copyright p,.ast-footer-copyright a{ color:#fff; }
.ast-footer-social-1-wrap .ast-builder-social-element{ color:var(--mf-morado); }
.ast-footer-social-1-wrap .ast-builder-social-element svg{ fill:var(--mf-morado); }
.ast-footer-social-1-wrap .ast-builder-social-element:hover svg{ fill:var(--mf-rosa); }
.site-footer .widget-title{ font-family:var(--mf-fuente); font-size:20px; font-weight:400; color:var(--mf-rosa); margin-bottom:.8em; }
.site-footer .widget_nav_menu li{ margin:0 0 .35em; }
.site-footer .widget_nav_menu a{ font-size:14px; }

/* Móvil: botón de menú y carrito más sobrios */
.menu-toggle .ast-mobile-svg,.ast-mobile-menu-trigger-minimal .ast-mobile-svg{ fill:var(--mf-rosa); width:26px; height:26px; }
.ast-site-header-cart .ast-cart-menu-wrap .count,.ast-site-header-cart i.astra-icon{ color:var(--mf-morado); }
.ast-site-header-cart .astra-icon svg,.ast-header-woo-cart svg{ width:22px; height:22px; }

/* Nosotros: tarjetas de valores (imagen + barra de título) */
.mf-cta .elementor-image-box-wrapper{ text-align:center; }
.mf-cta .elementor-image-box-img{ margin:0; display:block; }
.mf-cta .elementor-image-box-img img{ width:100%; aspect-ratio:4/5; object-fit:cover; display:block; }
.mf-cta .elementor-image-box-title{ margin:0; padding:14px 10px; background:var(--mf-rosa,#EB184D); color:#fff; font-family:var(--mf-fuente); font-size:20px; font-weight:400; text-transform:uppercase; }
.elementor-widget-image-box.mf-cta .elementor-image-box-img{ width:100% !important; margin:0 !important; }
.elementor-widget-image-box.mf-cta .elementor-image-box-img img{ width:100% !important; }
.elementor-widget-image-box.mf-cta .elementor-image-box-title,.elementor-widget-image-box.mf-cta .elementor-image-box-title a{ color:#fff !important; }

/* 404 */
.mf-404{ text-align:center; padding:70px 20px 90px; }
.mf-404__num{ margin:0; font-family:var(--mf-fuente); font-size:clamp(90px,18vw,160px); line-height:1; color:var(--mf-rosa); }
.mf-404__titulo{ margin:10px 0 8px; font-family:var(--mf-fuente); font-weight:400; font-size:clamp(26px,4vw,38px); color:#000; }
.mf-404__texto{ margin:0 0 26px; }
.mf-404 a.mf-404__btn{ display:inline-block; padding:12px 26px; border-radius:2px; background:var(--mf-rosa); color:#fff; font-weight:700; text-transform:uppercase; text-decoration:none; }
.mf-404 a.mf-404__btn:hover{ background:var(--mf-morado); }

@media (max-width:1240px){ .site-footer .ast-builder-grid-row,.site-footer .site-primary-footer-inner-wrap .ast-builder-grid-row-container-inner{ padding-left:20px; padding-right:20px; } }

/* ===== Paridad con Hello Elementor (el tema anterior) dentro del contenido de Elementor ===== */
.elementor p{ margin-block:0 .9rem; }
.elementor :is(h1,h2,h3,h4,h5,h6):not(.elementor-heading-title){ margin-block:0 .5rem; line-height:1.2; }
.elementor :is(ul,ol){ margin-block:0 .9rem; }
.elementor :is(ul,ol):last-child{ margin-block-end:0; }
.elementor ul ul,.elementor ol ol,.elementor ul ol,.elementor ol ul{ margin-block:0; }
.elementor-widget-text-editor ul,.elementor-widget-text-editor ol{ padding-inline-start:revert; }
.elementor a{ text-decoration:none; }

/* ===== Footer: mismas alturas que el diseño anterior ===== */
.site-footer .site-primary-footer-wrap[data-section="section-primary-footer-builder"],.site-footer .site-primary-footer-wrap{ padding-top:13px !important; padding-bottom:13px !important; }
.site-footer .site-below-footer-wrap{ min-height:0 !important; }
.site-footer .site-below-footer-wrap .ast-builder-grid-row{ min-height:48px; }
.site-footer .ast-footer-copyright p{ margin:0; line-height:1.3; }
.site-footer .site-below-footer-wrap{ padding-top:0 !important; padding-bottom:0 !important; }

/* Nosotros: títulos con barra lateral (antes widget "Cita" de Elementor Pro) */
.elementor-widget-heading.mf-bq .elementor-heading-title{ margin:0; padding-left:30px; border-left:4px solid var(--mf-rosa,#EB184D); font-family:var(--mf-fuente); font-size:45px; font-weight:400; line-height:21px; color:#fff; }
@media (max-width:767px){ .elementor-widget-heading.mf-bq .elementor-heading-title{ font-size:32px; line-height:35px; } }
/* Tarjetas de valores: misma altura que el diseño anterior (490 px) */
.mf-cta .elementor-image-box-img img{ aspect-ratio:380/446; }
.mf-cta .elementor-image-box-title{ padding:10px; line-height:1.2; }

/* Tarjetas de valores: idéntico al diseño anterior (barra blanca → rosa al pasar el cursor, zoom de imagen, 440 px) */
.mf-cta{ overflow:hidden; }
.mf-cta .elementor-image-box-img{ overflow:hidden; }
.mf-cta .elementor-image-box-img img{ aspect-ratio:380/396; transition:transform .6s ease; }
.mf-cta:hover .elementor-image-box-img img{ transform:scale(1.1); }
.elementor-widget-image-box.mf-cta .elementor-image-box-title{ padding:8px 10px; background:#fff; font-size:23px; line-height:28px; transition:background-color .3s, color .3s; color:var(--mf-rosa,#EB184D) !important; }
.elementor-widget-image-box.mf-cta:hover .elementor-image-box-title{ background:var(--mf-rosa,#EB184D); color:#fff !important; }
@media (prefers-reduced-motion:reduce){ .mf-cta .elementor-image-box-img img{ transition:none; } .mf-cta:hover .elementor-image-box-img img{ transform:none; } }
.mf-cta .elementor-image-box-img img{ aspect-ratio:380/391; }

/* Los títulos de Elementor mantienen line-height:1 como en las versiones anteriores del widget */
.elementor-widget-heading .elementor-heading-title{ line-height:1; margin:0; }

/* ===== Formularios (Contact Form 7) ===== */
.mf-form .mf-campo{ display:block; margin:0 0 17px; }
.mf-sr{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mf-trampa{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
.mf-form .wpcf7-form-control-wrap{ display:block; }
.mf-form input:not([type=submit]),.mf-form textarea{ display:block; width:100%; margin:0; border-radius:0; box-shadow:none; font-family:var(--mf-fuente); font-size:15px; }
.mf-form .wpcf7-not-valid-tip{ margin-top:4px; font-size:13px; font-weight:700; color:#fff; }
.mf-form input.mf-enviar{ cursor:pointer; border:0; border-radius:0; font-family:var(--mf-fuente); font-size:15px; text-transform:uppercase; transition:background-color .2s,color .2s; }
.wpcf7 form .wpcf7-response-output{ margin:12px 0 0; padding:10px 14px; border:0 !important; border-radius:3px; background:#fff; color:#222; font-size:14px; }
.wpcf7 form.init .wpcf7-response-output,.wpcf7 form.resetting .wpcf7-response-output{ display:none; }
.wpcf7-spinner{ display:block !important; margin:6px auto 0 !important; height:0; overflow:hidden; }
.wpcf7 form.submitting .wpcf7-spinner{ height:24px; }

/* Contacto: como el original (campos blancos de 47 px y botón morado) */
.mf-form--contacto input:not([type=submit]){ height:47px; padding:0 15px; border:1px solid #e8e8e8; background:#fff; color:#000; }
.mf-form--contacto textarea{ height:110px; padding:12px 15px; border:1px solid #e8e8e8; background:#fff; color:#000; resize:vertical; }
.mf-form--contacto input:focus,.mf-form--contacto textarea:focus{ outline:2px solid var(--mf-rosa); outline-offset:1px; }
.mf-form--contacto input.mf-enviar{ width:100%; height:51px; margin-top:6px; padding:0 30px; background:var(--mf-morado); color:#fff; font-weight:700; }
.mf-form--contacto input.mf-enviar:hover{ background:var(--mf-rosa); color:#fff; }

/* Boletín: campo transparente con borde blanco y botón blanco */
.mf-form--boletin{ display:flex; flex-direction:column; gap:10px; }
.mf-form--boletin .mf-campo{ margin:0; }
.mf-form--boletin input[type=email]{ height:48px; padding:0 15px; border:1px solid #fff; background:transparent; color:#fff; font-size:16px; }
.mf-form--boletin input[type=email]::placeholder{ color:#fff; opacity:.85; }
.mf-form--boletin input[type=email]:focus{ outline:2px solid #fff; outline-offset:2px; background:transparent; color:#fff; }
.mf-form--boletin input.mf-enviar{ width:100%; height:57px; padding:0 22px; background:#fff; color:#000; font-weight:400; }
.mf-form--boletin input.mf-enviar:hover{ background:var(--mf-morado); color:#fff; }
@media (min-width:768px){
  .mf-form--boletin{ flex-direction:row; align-items:flex-start; gap:0; }
  .mf-form--boletin .mf-campo{ flex:1 1 auto; }
  .mf-form--boletin input.mf-enviar{ flex:0 0 31%; width:31%; height:48px; }
}

/* Sin contornos de enfoque en todo el sitio (pedido del usuario, 2026-11-27) */
*,*::before,*::after,*:focus,*:focus-visible,*:focus-within,*:active{ outline:0 !important; }
.mf-404 > .ast-container{ display:block; width:100%; }

/* =========== Páginas informativas ===========
   El diseño (colores, tamaños, recuadros) está en los ajustes de cada bloque en Elementor.
   Aquí solo queda lo que Elementor no permite ajustar. */
body .elementor .mf-texto p{ margin:0 0 10px; }
body .elementor .mf-texto p:last-child{ margin-bottom:0; }
body .elementor .mf-texto a{ color:#EB184D; text-decoration:underline; text-underline-offset:3px; }
body .elementor .mf-texto a:hover{ color:#4B0C7A; }
/* Clase "mf-lista" (Avanzado > Clases CSS): viñetas fucsia */
body .elementor .mf-lista ul{ margin:0; padding:0; list-style:none; }
body .elementor .mf-lista li{ position:relative; margin:0 0 6px; padding-left:20px; }
body .elementor .mf-lista li:last-child{ margin-bottom:0; }
body .elementor .mf-lista li::before{ content:""; position:absolute; left:2px; top:.68em; width:7px; height:7px; border-radius:50%; background:#EB184D; }
/* Destino de los accesos rápidos: que el encabezado fijo no lo tape */
.mf-ancla{ scroll-margin-top:130px; }

/* Preguntas Frecuentes: widget Alternar (clase "mf-faq"). Colores, textos y espacios se cambian en su pestaña Estilo;
   aquí solo va la forma de tarjeta y el círculo del ícono. */
body .elementor .mf-faq .elementor-toggle-item{ overflow:hidden; border:1px solid #ececef; border-radius:12px; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.04); transition:border-color .2s; }
body .elementor .mf-faq .elementor-toggle-item:hover,body .elementor .mf-faq .elementor-toggle-item:has(.elementor-active){ border-color:#f6c3d0; }
body .elementor .mf-faq .elementor-tab-title{ display:flex; align-items:center; justify-content:space-between; gap:14px; border:0; cursor:pointer; }
body .elementor .mf-faq .elementor-toggle-title{ flex:1; text-decoration:none; }
body .elementor .mf-faq .elementor-tab-content{ border:0; }
body .elementor .mf-faq .elementor-tab-content p{ margin:0; }
body .elementor .mf-faq .elementor-tab-content a{ color:#EB184D; text-decoration:underline; }
body .elementor .mf-faq .elementor-toggle-icon{ order:2; display:flex; flex:0 0 30px; align-items:center; justify-content:center; float:none; width:30px; height:30px; margin:0; border-radius:50%; background:#fdf1f4; }
body .elementor .mf-faq .elementor-active .elementor-toggle-icon{ background:#EB184D; }
/* Ícono centrado en su círculo (Elementor alinea a la derecha y le pone un margen de -5px) */
body .elementor .mf-faq .elementor-toggle-icon{ padding:0; text-align:center; line-height:1; }
body .elementor .mf-faq .elementor-toggle-icon > span{ width:100%; height:100%; margin:0; align-items:center; justify-content:center; }
body .elementor .mf-faq .elementor-toggle-item .elementor-tab-title:not(.elementor-active) .elementor-toggle-icon > span.elementor-toggle-icon-closed{ display:flex; }
body .elementor .mf-faq .elementor-toggle-item .elementor-tab-title.elementor-active .elementor-toggle-icon > span.elementor-toggle-icon-opened{ display:flex; }
body .elementor .mf-faq .elementor-toggle-icon > span > svg,body .elementor .mf-faq .elementor-toggle-icon > span > i{ display:block; flex:0 0 auto; width:14px; height:14px; margin:0 !important; line-height:14px; }

/* =========== Nosotros (rediseño): lo que no se puede ajustar desde Elementor =========== */
.elementor .mf-lista--datos li{ padding-top:8px; padding-bottom:8px; border-bottom:1px solid #eeeaf3; overflow-wrap:anywhere; }
.elementor .mf-lista--datos li:last-child{ border-bottom:0; padding-bottom:0; }
.elementor .mf-lista--datos li::before{ top:1.2em; }
/* Foto con marco fucsia desplazado (clase "mf-foto-marco") */
.elementor .mf-foto-marco img{ position:relative; z-index:1; }
.elementor .mf-foto-marco .elementor-widget-container,.elementor .elementor-widget-image.mf-foto-marco{ position:relative; isolation:isolate; }
.elementor .elementor-widget-image.mf-foto-marco{ padding:0 0 18px 18px; }
.elementor .elementor-widget-image.mf-foto-marco::before{ content:""; position:absolute; z-index:0; left:0; bottom:0; width:62%; height:68%; border-radius:22px; background:linear-gradient(135deg,#EB184D,#4B0C7A); }
/* Tarjetas de valores (clase "mf-valor"): título sobre la foto */
.elementor .mf-valor .elementor-image-box-wrapper{ position:relative; display:block; overflow:hidden; border-radius:20px; text-align:center; box-shadow:0 16px 34px rgba(0,0,0,.28); }
.elementor .mf-valor .elementor-image-box-img{ display:block; width:100% !important; margin:0 !important; }
.elementor .mf-valor .elementor-image-box-img img{ display:block; width:100% !important; aspect-ratio:3/4.4; object-fit:cover; object-position:center top; transition:transform .6s ease; }
.elementor .mf-valor .elementor-image-box-content{ position:absolute; left:0; right:0; bottom:0; padding:70px 14px 24px; background:linear-gradient(to top,rgba(75,12,122,.95) 8%,rgba(75,12,122,.55) 52%,rgba(75,12,122,0)); }
.elementor .mf-valor .elementor-image-box-title{ margin:0; text-transform:uppercase; letter-spacing:.08em; }
.elementor .mf-valor .elementor-image-box-title::after{ content:""; display:block; width:44px; height:4px; margin:12px auto 0; border-radius:4px; background:#EB184D; transition:width .3s; }
.elementor .mf-valor:hover .elementor-image-box-img img{ transform:scale(1.07); }
.elementor .mf-valor:hover .elementor-image-box-title::after{ width:90px; }
@media (max-width:767px){ .elementor .mf-valor .elementor-image-box-img img{ aspect-ratio:4/4.6; } }
@media (prefers-reduced-motion:reduce){ .elementor .mf-valor .elementor-image-box-img img{ transition:none; } .elementor .mf-valor:hover .elementor-image-box-img img{ transform:none; } }

/* =========== Contáctanos (rediseño) =========== */
/* Correo y teléfono como etiquetas con el ícono en un círculo (clase "mf-datos-contacto") */
body .elementor .mf-datos-contacto ul.elementor-icon-list-items{ display:flex; flex-wrap:wrap; gap:10px; margin:0; }
body .elementor .mf-datos-contacto li.elementor-icon-list-item{ margin:0; padding:0; }
body .elementor .mf-datos-contacto li.elementor-icon-list-item > a{ display:flex; align-items:center; gap:10px; padding:6px 18px 6px 6px; border:1px solid #ece6f2; border-radius:40px; background:#f7f5fa; }
body .elementor .mf-datos-contacto .elementor-icon-list-icon{ display:flex; flex:0 0 34px; align-items:center; justify-content:center; width:34px; height:34px; padding:0; border-radius:50%; background:#EB184D; }
body .elementor .mf-datos-contacto .elementor-icon-list-icon > *{ margin:0; }
body .elementor .mf-datos-contacto .elementor-icon-list-text{ padding:0; overflow-wrap:anywhere; }
/* Formulario de Contact Form 7 */
.mf-form--contacto .mf-campo{ margin-bottom:12px; }
body .elementor .wpcf7 .mf-form--contacto input:not([type=submit]),body .elementor .wpcf7 .mf-form--contacto textarea{ border:1px solid #e4dfea; border-radius:12px; background:#fbfafd; color:#222; transition:border-color .2s,box-shadow .2s,background-color .2s; }
body .mf-form--contacto input:not([type=submit]){ height:50px; padding:0 18px; }
body .mf-form--contacto textarea{ height:130px; padding:14px 18px; }
body .elementor .wpcf7 .mf-form--contacto input:not([type=submit]):focus,body .elementor .wpcf7 .mf-form--contacto textarea:focus{ border-color:#EB184D; background:#fff; box-shadow:0 0 0 3px rgba(235,24,77,.14); }
body .mf-form--contacto input.mf-enviar{ height:52px; margin-top:4px; border-radius:30px; background:#EB184D; letter-spacing:.04em; text-transform:none; font-size:16px; }
body .mf-form--contacto input.mf-enviar:hover{ background:#4B0C7A; }
.mf-form--contacto .wpcf7-not-valid-tip{ margin-left:6px; color:#c40f3d; }
.mf-form--contacto + .wpcf7-response-output,.elementor .wpcf7 form .wpcf7-response-output{ border-radius:12px; background:#f7f5fa; }
/* Panel de la foto: círculo suave detrás de la modelo (clase "mf-panel-foto") */
.elementor .elementor-widget-image.mf-panel-foto{ position:relative; isolation:isolate; }
.elementor .elementor-widget-image.mf-panel-foto::before{ content:""; position:absolute; z-index:-1; left:50%; top:46%; width:min(360px,88%); aspect-ratio:1; border-radius:50%; background:rgba(255,255,255,.12); box-shadow:0 0 0 34px rgba(255,255,255,.06); transform:translate(-50%,-50%); }

/* Boletín: el campo conserva su borde blanco; al escribir, texto blanco sobre fondo oscurecido */
body .wpcf7 .mf-form.mf-form--boletin input[type=email]{ border:1px solid rgba(255,255,255,.85) !important; color:#fff !important; -webkit-text-fill-color:#fff; caret-color:#fff; transition:background-color .2s,border-color .2s,box-shadow .2s; }
body .wpcf7 .mf-form.mf-form--boletin input[type=email]::placeholder{ color:#fff; -webkit-text-fill-color:#fff; opacity:.85; }
body .wpcf7 .mf-form.mf-form--boletin input[type=email]:focus{ border-color:#fff !important; background:rgba(0,0,0,.22) !important; box-shadow:0 0 0 1px #fff !important; }
/* Autocompletado del navegador: que no pinte el campo de claro */
body .wpcf7 .mf-form.mf-form--boletin input[type=email]:-webkit-autofill{ -webkit-text-fill-color:#fff; box-shadow:0 0 0 60px #b1123a inset !important; transition:background-color 9999s; }
