/*
Theme Name: Consultora Espacio Habitacional SpA
Description: Diseño original con secciones editables en Elementor gratuito.
Version: 1.0.0
Author: Consultora Espacio Habitacional SpA
License: GPL-2.0-or-later
Text Domain: espacio-habitacional
Requires at least: 6.5
Requires PHP: 8.0
*/
[class*="elementor-widget-eh-"]{margin:0!important;padding:0!important;width:100%!important;max-width:none!important}
[class*="elementor-widget-eh-"]>.elementor-widget-container{margin:0!important;padding:0!important}
.eh-page-layout,.eh-page-layout>.e-con-inner{display:block!important;max-width:none!important;padding:0!important;gap:0!important;width:100%!important}
body.elementor-editor-active .hero__scene{transition:none}
body.elementor-editor-active [data-reveal]{opacity:1!important;transform:none!important}
.eh-admin-guide{max-width:900px}
/* WordPress toolbar offsets: keep the notice, navigation and sticky links separate. */
body { --eh-admin-offset: 0px; }
body.admin-bar { --eh-admin-offset: 32px; }
.site-header { top: calc(64px + var(--eh-admin-offset)); }
.site-header.is-scrolled { top: var(--eh-admin-offset); }
.page-services .service-jump { top: calc(70px + var(--eh-admin-offset)); }
html { scroll-padding-top: calc(90px + var(--eh-admin-offset, 0px)); }
.brand { flex-shrink: 0; }
.header__inner { justify-content: space-between; }
.desktop-nav { flex-shrink: 0; }
@media (max-width: 1200px) {
  .topbar__inner { grid-template-columns: 1fr; }
  .topbar__mail, .topbar__whatsapp { display: none !important; }
  .topbar__minvu { justify-self: center; }
}
@media (max-width: 782px) {
  body.admin-bar { --eh-admin-offset: 46px; }
}
@media (max-width: 900px) {
  .page-services .service-jump { top: auto; }
  .mobile-panel { max-height: calc(100dvh - 72px - var(--eh-admin-offset)); }
}
@media (max-width: 600px) {
  body.admin-bar .site-header.is-scrolled { top: 0; }
  .header__inner { gap: 12px; }
}

/* Keep the service index sticky across the entire Elementor page. */
body:not(.elementor-editor-active) .elementor-widget-eh-servicios_2,
body:not(.elementor-editor-active) .elementor-widget-eh-servicios_2 > .elementor-widget-container { display: contents; }

/* Preserve the approved image crops against Elementor's generic height:auto rule. */
.elementor .intro__visual img,
.elementor .gallery-card img { height: 100%; }
.elementor .expanded-home__card > img { height: 188px; }
.elementor .office-showcase__main { height: 640px; }
.elementor .office-showcase__detail { height: 245px; }
@media (max-width: 1100px) {
  .elementor .expanded-home__card > img { height: 215px; }
}
@media (max-width: 900px) {
  .elementor .office-showcase__main { height: 520px; }
  .elementor .office-showcase__detail { height: 205px; }
}
@media (max-width: 760px) {
  .elementor .office-showcase__main { height: 440px; }
  .elementor .office-showcase__detail { height: 175px; }
}
@media (max-width: 520px) {
  .elementor .expanded-home__card > img { height: 210px; }
  .elementor .office-showcase__main { height: 390px; }
  .elementor .office-showcase__detail { height: 142px; }
}
