:root { --p24-brand: #0086d6; --p24-action: #0077bf; --p24-charcoal: #28303d; }
.elementor-location-header { position: sticky; top: 0; z-index: 1000; background: #fff; }
body.admin-bar .elementor-location-header { top: 32px; }
.p24-global-header { background: #fff; border-bottom: 1px solid #e3e8ed; padding: 0 32px; }
.p24-global-header > .elementor-container { max-width: 1200px; }
.p24-global-header > .elementor-container { display: grid; grid-template-columns: 260px minmax(0, 1fr) 240px; align-items: center; gap: 26px; min-height: 88px; }
.p24-global-header .elementor-column { width: auto !important; min-width: 0; }
.p24-global-header .elementor-element-populated, .p24-global-header .elementor-widget-wrap { padding: 0 !important; }
.p24-global-header .elementor-widget:not(:last-child) { margin-bottom: 0; }
.p24-global-header .p24-brand-logo img { display: block; width: 260px; max-width: 100%; height: auto; }
.p24-global-header .elementor-image a { display: block; }
.p24-global-header .elementor-nav-menu--main .elementor-nav-menu { justify-content: center; gap: 26px; }
.p24-global-header .elementor-nav-menu--main .elementor-item { color: #28303d; padding: 33px 0; margin: 0 !important; font: 500 14px/22px Roboto, Arial, sans-serif; letter-spacing: 0; }
.p24-global-header .elementor-nav-menu--main .elementor-item.elementor-item-active,
.p24-global-header .elementor-nav-menu--main .elementor-item:hover { color: #0077bf; }
.p24-global-header .elementor-nav-menu--main .elementor-item::after { bottom: 22px; background: #0086d6; height: 2px; }
.p24-global-header .elementor-button { display: inline-flex; justify-content: center; align-items: center; width: 100%; border: 1px solid #0077bf; border-radius: 5px; color: #fff; background: #0077bf; padding: 14px 16px; font: 600 15px/20px Roboto, Arial, sans-serif; text-decoration: none; box-shadow: none; }
.p24-global-header .elementor-button:hover { background: #006bae; border-color: #006bae; color: #fff; }
.p24-global-header .elementor-button-icon { font-size: 18px; }
.p24-global-header .elementor-button-text { white-space: nowrap; }
.p24-global-header .elementor-menu-toggle { border: 1px solid #d7dee5; border-radius: 5px; padding: 10px; width: 44px; height: 44px; color: #28303d; background: #fff; }
.p24-global-header .elementor-nav-menu--dropdown { box-shadow: 0 14px 24px rgba(40,48,61,.1); border-top: 1px solid #e3e8ed; border-bottom: 1px solid #e3e8ed; background: #fff; }
.p24-global-header .elementor-nav-menu--dropdown a { font: 500 16px/24px Roboto, Arial, sans-serif; padding: 17px 24px; color: #28303d; }
.p24-global-header .elementor-nav-menu--dropdown a.elementor-item-active { background: #f0f8fd; color: #0077bf; }
.p24-global-header .elementor-nav-menu--dropdown a:hover { background: #f5f7f9; color: #0077bf; }
.p24-global-header a:focus-visible, .p24-global-header [role="button"]:focus-visible { outline: 3px solid #28303d; outline-offset: 4px; }
.p24-global-footer, .p24-footer-bottom { background: #28303d; color: #fff; font-family: Roboto, Arial, sans-serif; }
.p24-global-footer { padding: 62px 32px 46px; }
.p24-global-footer > .elementor-container, .p24-footer-bottom > .elementor-container { max-width: 1200px; }
.p24-global-footer > .elementor-container { display: grid; grid-template-columns: 1.15fr .65fr 1fr 1.1fr; gap: 46px; width: 100%; }
.p24-global-footer .elementor-column, .p24-footer-bottom .elementor-column { width: auto !important; min-width: 0; }
.p24-global-footer .elementor-element-populated, .p24-global-footer .elementor-widget-wrap,
.p24-footer-bottom .elementor-element-populated, .p24-footer-bottom .elementor-widget-wrap { padding: 0 !important; align-content: start; }
.p24-global-footer .elementor-widget { margin-bottom: 0; }
.p24-global-footer .elementor-heading-title { margin: 3px 0 22px; color: #fff; font: 700 17px/1.35 Montserrat, Arial, sans-serif; letter-spacing: -.02em; }
.p24-global-footer .elementor-text-editor, .p24-footer-bottom .elementor-text-editor { color: #d7dfe7; font-family: Roboto, Arial, sans-serif; text-align: left; }
.p24-global-footer p, .p24-global-footer address, .p24-global-footer li { margin: 0; font: 400 15px/1.65 Roboto, Arial, sans-serif; letter-spacing: 0; color: #d7dfe7; }
.p24-global-footer .p24-brand-logo img { width: 180px !important; max-width: 100%; height: auto !important; }
.p24-global-footer .elementor-image { text-align: left; }
.p24-global-footer .p24-footer-brand .elementor-text-editor { max-width: 250px; padding: 18px 0 22px; }
.p24-global-footer .p24-footer-links { margin: 0; padding: 0; list-style: none; }
.p24-global-footer .p24-footer-links li + li { margin-top: 10px; }
.p24-global-footer a { color: #d7dfe7; text-decoration: none; transition: color .2s; }
.p24-global-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.p24-global-footer .p24-footer-contacts p { margin-bottom: 9px; }
.p24-global-footer .p24-footer-contacts address { padding-top: 6px; font-style: normal; margin-bottom: 10px; }
.p24-global-footer a.p24-directions { color: #65cdff; text-decoration: underline; text-underline-offset: 4px; }
.p24-global-footer .elementor-social-icons-wrapper { display: flex; justify-content: flex-start; gap: 10px; text-align: left; }
.p24-global-footer .elementor-social-icon { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid #65cdff; border-radius: 5px; width: 38px; height: 38px; padding: 0; margin: 0 !important; font-size: 19px; }
.p24-global-footer .elementor-social-icon i { color: #65cdff; }
.p24-global-footer .elementor-social-icon:hover { background: #0077bf; border-color: #0077bf; }
.p24-global-footer .elementor-social-icon:hover i { color: #fff; }
.p24-global-footer a:focus-visible, .p24-footer-bottom a:focus-visible { outline: 2px solid #65cdff; outline-offset: 5px; }
.p24-footer-bottom { padding: 0 32px 24px; }
.p24-footer-bottom > .elementor-container { border-top: 1px solid #566271; padding-top: 22px; }
.p24-footer-bottom > .elementor-container { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.p24-footer-bottom .elementor-text-editor p { margin: 0; font: 400 13px/1.6 Roboto, Arial, sans-serif; color: #bbc7d3; letter-spacing: 0; }
.p24-footer-bottom .p24-credit-col .elementor-text-editor { text-align: right; }
.p24-footer-bottom .p24-credit-col a { color: #65cdff; text-decoration: underline; text-underline-offset: 3px; }
.p24-footer-bottom .p24-credit-col a:hover { color: #fff; }
/* Estas plantillas antiguas reservaban espacio para una cabecera superpuesta. */
body.page-id-15 .elementor-element-b42dd36,
body.page-id-13 .elementor-element-53a3d0f,
body.page-id-17 .elementor-element-7cb057a { display: none; }
body.elementor-editor-active .elementor-location-header { position: static; }
@media (max-width: 1100px) {
  .p24-global-header > .elementor-container { grid-template-columns: 235px minmax(0, 1fr) 240px; gap: 22px; }
  .p24-global-header .elementor-nav-menu--main .elementor-nav-menu { gap: 18px; }
  .p24-global-footer > .elementor-container { gap: 30px; }
}
@media (max-width: 1024px) {
  .p24-global-header > .elementor-container { grid-template-columns: minmax(0, 1fr) 44px 240px; gap: 22px; }
  .p24-global-header .p24-header-brand .elementor-widget-wrap { max-width: 260px; }
  .p24-global-footer > .elementor-container { grid-template-columns: 1fr 1fr; column-gap: 60px; row-gap: 38px; }
  .p24-global-footer .p24-footer-brand { grid-column: 1; grid-row: 1; }
  .p24-global-footer .p24-footer-contact { grid-column: 2; grid-row: 1; }
  .p24-global-footer .p24-footer-explore { grid-column: 1; grid-row: 2; }
  .p24-global-footer .p24-footer-services { grid-column: 2; grid-row: 2; }
}
@media (max-width: 767px) {
  .p24-global-header { padding: 0 24px; }
  .p24-global-header > .elementor-container { min-height: 78px; grid-template-columns: minmax(0, 1fr) 44px 44px; gap: 12px; }
  .p24-global-header .p24-brand-logo img { width: 220px; }
  .p24-global-header .p24-header-nav { order: 3; }
  .p24-global-header .p24-header-action { order: 2; }
  .p24-global-header .p24-header-whatsapp .elementor-button { width: 44px; height: 44px; padding: 0; }
  .p24-global-header .p24-header-whatsapp .elementor-button-text { display: none; }
  .p24-global-header .p24-header-whatsapp .elementor-button-icon { margin: 0; font-size: 22px; }
  .p24-global-footer { padding: 42px 24px 32px; }
  .p24-global-footer > .elementor-container { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 24px; row-gap: 34px; }
  .p24-global-footer .p24-footer-brand { grid-column: 1 / -1; grid-row: 1; }
  .p24-global-footer .p24-footer-explore { grid-column: 1; grid-row: 2; }
  .p24-global-footer .p24-footer-services { grid-column: 2; grid-row: 2; }
  .p24-global-footer .p24-footer-contact { grid-column: 1 / -1; grid-row: 3; }
  .p24-global-footer .elementor-heading-title { font-size: 17px; margin-bottom: 18px; }
  .p24-global-footer p, .p24-global-footer address, .p24-global-footer li { font-size: 15px; }
  .p24-global-footer .p24-footer-brand .elementor-text-editor { max-width: 280px; }
  .p24-footer-bottom { padding: 0 24px 26px; }
  .p24-footer-bottom > .elementor-container { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .p24-footer-bottom .p24-credit-col .elementor-text-editor { text-align: left; }
}
@media (max-width: 360px) {
  .p24-global-header { padding: 0 20px; }
  .p24-global-header > .elementor-container { gap: 8px; }
  .p24-global-footer > .elementor-container { column-gap: 18px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
@media (max-width: 782px) { body.admin-bar .elementor-location-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .p24-global-header *, .p24-global-footer * { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

.p24-global-header > .elementor-container > .elementor-row, .p24-global-footer > .elementor-container > .elementor-row, .p24-footer-bottom > .elementor-container > .elementor-row { display: contents; }
