/* 
Theme Name: Frectaris Web Design
Theme URI: https://github.com/elementor/hello-theme/
Description: Tema hijo personalizado para Frectaris web design
Author: Frectaris
Author URI: https://www.frectaris.com/
Template: hello-elementor
Version: 1.0.3
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*
    Add your custom styles here
*/
/* Evita márgenes del body */
html, body { height: 100%; margin: 0; }

/* El contenedor padre (tu maint-hero) ocupa viewport completo */
.elementor-14 .elementor-element.elementor-element-7a0c746.maint-hero {
  height: 100vh !important;
  min-height: 100dvh !important; /* móviles modernos */
  margin: 0 !important;
  padding: 0 !important;
  display: block; /* simple y fiable con imagen de fondo */
  position: relative; /* por si colocamos el hijo absoluto */
  overflow: hidden; /* corta cualquier desbordamiento */
}

/* El widget de imagen ocupa todo el contenedor */
.elementor-14 .elementor-element.elementor-element-7a0c746.maint-hero 
  .elementor-element.elementor-element-9ac056e.elementor-widget-image {
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* La imagen: cubrir, centrar y quitar el hueco de línea base */
.elementor-14 .elementor-element.elementor-element-7a0c746.maint-hero 
  .elementor-element.elementor-element-9ac056e.elementor-widget-image img {
  display: block;                 /* evita espacio inferior */
  height: 100% !important;        /* clave: llenar alto del padre */
  width: 100% !important;         /* clave: llenar ancho del padre */
  object-fit: cover !important;   /* “cover” real */
  object-position: center center; /* centrada */
}

/* iOS moderno: usa svh si existe */
@supports (height: 100svh) {
  .elementor-14 .elementor-element.elementor-element-7a0c746.maint-hero {
    height: 100svh !important;
    min-height: 100svh !important;
  }
}

/* Si estás logueado con la barra de admin en desktop */
body.admin-bar .elementor-14 .elementor-element.elementor-element-7a0c746.maint-hero {
  height: calc(100vh - 32px) !important;
  min-height: calc(100vh - 32px) !important;
}

