/* ---- Fuentes: Bell MT (comercial) se reemplaza por Crimson Pro (SIL OFL), con los mismos nombres
   que usan los estilos globales de Elementor, para no tocar cada página. ---- */
@font-face { font-family: "Bell MT Bold"; src: url(../fuentes/crimson-pro-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bell MT Regular"; src: url(../fuentes/crimson-pro-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bell MT Italic"; src: url(../fuentes/crimson-pro-latin-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url(../fuentes/crimson-pro-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---- Base de Betheme (CSS dinámico exportado) ---- */
html { background-color: #fff; }
body { font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 28px; font-weight: 400; color: #626262; }
a { color: #51ac92; } a:hover { color: #51ac92; }
h1, h2, h3, h4, h5, h6 { font-family: "DM Sans", Helvetica, Arial, sans-serif; color: #251117; margin-top: 0; }
h1 { font-size: 70px; line-height: 70px; font-weight: 700; }
h2 { font-size: 60px; line-height: 60px; font-weight: 500; }
h3 { font-family: "Bell MT Bold", "Crimson Pro", serif; font-size: 40px; line-height: 51px; font-weight: 500; }
h4 { font-size: 20px; line-height: 30px; font-weight: 400; font-style: italic; }
h5 { font-size: 18px; line-height: 30px; font-weight: 400; }
h6 { font-size: 16px; line-height: 28px; font-weight: 700; color: #a3a8a9; }
@media (min-width: 960px) and (max-width: 1239px) { h1 { font-size: 60px; line-height: 60px; } h2 { font-size: 51px; line-height: 51px; } h3 { font-size: 43px; line-height: 51px; } }
@media (min-width: 768px) and (max-width: 959px) { body { font-size: 14px; line-height: 24px; } h1 { font-size: 53px; line-height: 53px; } h2 { font-size: 45px; line-height: 45px; } h3 { font-size: 38px; line-height: 45px; } }
@media (max-width: 767px) { body { font-size: 13px; line-height: 21px; } h1 { font-size: 42px; line-height: 42px; } h2 { font-size: 36px; line-height: 36px; } h3 { font-size: 30px; line-height: 36px; } h4, h5, h6 { font-size: 13px; line-height: 19px; } }
.site-main, .page-content { max-width: none; }
img { max-width: 100%; height: auto; }

/* ---- Cabecera (Elementor Header & Footer Builder) ---- */
#masthead, .ilc-cabecera { background: #fff; }
#masthead { position: sticky; top: 0; z-index: 900; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.admin-bar #masthead { top: 32px; }
#masthead .hfe-nav-menu a.hfe-menu-item, #masthead .hfe-nav-menu a.hfe-sub-menu-item { font-family: "DM Sans", sans-serif; text-transform: uppercase; }
#masthead .hfe-nav-menu > li.current-menu-item > a.hfe-menu-item,
#masthead .hfe-nav-menu > li.current-menu-ancestor > a.hfe-menu-item { box-shadow: inset 0 -2px 0 #234c8f; }
/* Betheme no mostraba flechas de submenú en escritorio */
@media (min-width: 1025px) { #masthead .hfe-nav-menu > li .hfe-menu-item > .sub-arrow { display: none; } }
/* Escritorio: el menú nunca se parte en dos renglones */
@media (min-width: 1025px) { #masthead .ilc-col-menu .hfe-nav-menu { flex-wrap: nowrap; } #masthead .ilc-col-menu .hfe-nav-menu > li > .hfe-has-submenu-container > a, #masthead .ilc-col-menu .hfe-nav-menu > li > a { white-space: nowrap; } }
/* Tablet y móvil: logo | lupa | hamburguesa (el menú pasa al final de la fila) */
@media (max-width: 1024px) {
  #masthead .ilc-col-menu { order: 3; }
  #masthead .ilc-col-acciones { order: 2; }
  #masthead .ilc-col-menu .hfe-nav-menu__toggle { margin-left: auto; }
}
.ilc-boton-intranet .elementor-button { background: #f2f2f2; color: #111; font-weight: 700; letter-spacing: .5px; border-radius: 0; }
.ilc-boton-intranet .elementor-button:hover { background: #e4e4e4; color: #111; }

/* ---- Pie ---- */
.ilc-pie { background: #fff; color: #999; }
.ilc-pie .ilc-pie-titulo .elementor-heading-title { font-family: "Crimson Pro", "Bell MT Regular", serif; font-weight: 400; color: #251117; }
.ilc-pie a { color: #999; }

/* ---- Reemplazos de widgets de pago ---- */
/* Llamada a la acción «cover» → Info Card con fondo y velo */
.ilc-cta-cover { overflow: hidden; }
.ilc-cta-cover .hfe-infocard { position: relative; z-index: 1; padding: 25px; }
.ilc-cta-cover .hfe-infocard-title, .ilc-cta-cover .hfe-infocard-text { color: #fff; }
.ilc-cta-cover .hfe-infocard-title { font-family: Roboto, sans-serif; font-weight: 600; font-size: 30px; line-height: 1.2; margin-bottom: 6px; }
.ilc-cta-cover .hfe-infocard-text { font-family: Roboto, sans-serif; font-size: 20px; line-height: 1.3; }
.ilc-cta-cover .elementor-button { background: #fff; color: #000; border-radius: 3px; }
/* Caja con zoom de Betheme → Image Box: la imagen crece al pasar el mouse */
.ilc-zoom-box { overflow: hidden; }
.ilc-zoom-box .elementor-image-box-img img { transition: transform .4s ease; }
.ilc-zoom-box:hover .elementor-image-box-img img { transform: scale(1.06); }
/* Como en Betheme: la imagen ocupa toda la caja y el texto aparece encima al pasar el mouse */
.ilc-zoom-box .elementor-image-box-wrapper { position: relative; }
.ilc-zoom-box .elementor-image-box-img { width: 100% !important; margin: 0 !important; }
.ilc-zoom-box .elementor-image-box-img img { width: 100%; display: block; }
.ilc-zoom-box .elementor-image-box-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .85); opacity: 0; transition: opacity .3s ease; }
.ilc-zoom-box:hover .elementor-image-box-content, .ilc-zoom-box:focus-within .elementor-image-box-content { opacity: 1; }
.ilc-zoom-box .elementor-image-box-title { margin: 0; font-weight: 700; color: #000; font-size: 16px; }
.ilc-zoom-box .elementor-image-box-title a { color: #000; text-decoration: none; }
