@font-face {
    font-family: 'Heading Now Trial 64';
    src: url('../fonts/HeadingNowTrial-64Regular.eot');
    src: url('../fonts/HeadingNowTrial-64Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/HeadingNowTrial-64Regular.woff2') format('woff2'),
        url('../fonts/HeadingNowTrial-64Regular.woff') format('woff'),
        url('../fonts/HeadingNowTrial-64Regular.ttf') format('truetype'),
        url('../fonts/HeadingNowTrial-64Regular.svg#HeadingNowTrial-64Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HeadingNow Trial 65';
    src: url('../fonts/HeadingNowTrial-65MediumItalic.eot');
    src: url('../fonts/HeadingNowTrial-65MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/HeadingNowTrial-65MediumItalic.woff2') format('woff2'),
        url('../fonts/HeadingNowTrial-65MediumItalic.woff') format('woff'),
        url('../fonts/HeadingNowTrial-65MediumItalic.ttf') format('truetype'),
        url('../fonts/HeadingNowTrial-65MediumItalic.svg#HeadingNowTrial-65MediumItalic') format('svg');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'HeadingNow Trial 63 Book';
    src: url('../fonts/HeadingNowTrial-63BookItalic.eot');
    src: url('../fonts/HeadingNowTrial-63BookItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/HeadingNowTrial-63BookItalic.woff2') format('woff2'),
        url('../fonts/HeadingNowTrial-63BookItalic.woff') format('woff'),
        url('../fonts/HeadingNowTrial-63BookItalic.ttf') format('truetype'),
        url('../fonts/HeadingNowTrial-63BookItalic.svg#HeadingNowTrial-63BookItalic') format('svg');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.eot');
    src: url('../fonts/Poppins-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-Regular.woff2') format('woff2'),
        url('../fonts/Poppins-Regular.woff') format('woff'),
        url('../fonts/Poppins-Regular.ttf') format('truetype'),
        url('../fonts/Poppins-Regular.svg#Poppins-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Heading Now Trial 65';
    src: url('../fonts/HeadingNowTrial-65Medium.eot');
    src: url('../fonts/HeadingNowTrial-65Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/HeadingNowTrial-65Medium.woff2') format('woff2'),
        url('../fonts/HeadingNowTrial-65Medium.woff') format('woff'),
        url('../fonts/HeadingNowTrial-65Medium.ttf') format('truetype'),
        url('../fonts/HeadingNowTrial-65Medium.svg#HeadingNowTrial-65Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Calibri';
    src: url('../fonts/Calibri.eot');
    src: url('../fonts/Calibri.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Calibri.woff2') format('woff2'),
        url('../fonts/Calibri.woff') format('woff'),
        url('../fonts/Calibri.ttf') format('truetype'),
        url('../fonts/Calibri.svg#Calibri') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
html {
  scroll-behavior: smooth;
}

body {
	background-color:#FFF !important;
}
h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 35px;
  font-weight: normal;
  color:#000;
  line-height: 1.0;
  margin:0;
}
h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: normal;
  color:#000;
  line-height: 100%;
  margin:0;
}
h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  font-weight: bold;
  color:#000;
  line-height: 100%;
  margin:0;
  text-align: center;
}
h4 {
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
  color: #000;
  margin: 0;
}
.excerpt p {
  font-family: 'Nexa';
  color: #FFF;
  font-size: 15px;
  text-align: center;
}
input:focus, button:focus, a {
	outline: none;
  text-decoration: none;
}
/* Ensures that images with the 'responsive' class scale to fit their container */
img.responsive { width:100%;}
p {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	color:#000;
	text-align: left;
	margin:0;
  line-height: 120%;
}
a:hover {
	text-decoration:none;
	color:#000;
 }
 .header {
  position: relative;
  height:80px
 } 
.logo {
  z-index: 1030;
  top: 40px;
  left: 160px;
}
/* Estilos para desktop (horizontal) */
.main-navigation {
    display: flex;
    align-items: center;
}

.inline.internal-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.inline.internal-nav li {
    margin: 0 15px;
    position: relative;
}
.inline.internal-nav li a {
  font-family: 'Heading Now Trial 64';
  font-size: 16px;
  color:#162859;
  text-transform: capitalize;
  padding: 30px 30px;
}
.inline.internal-nav li a:hover {
  color: #fff;
  background-color: #30478f;
  
}
.social-icons-container {
    display: flex;
    align-items: center;  /* Centrado vertical */
    gap: 10px;           /* Espacio entre iconos (reemplaza margin-right) */
}
/* Opcional: Ajusta el tamaño de los iconos si es necesario */
.social-icons-container a {
    flex-shrink: 0;      /* Evita que se encojan si el contenedor es pequeño */
}
a.fb {
  background: url(../img/fb.png) no-repeat;
  width: 10px;
  height: 20px;
  display: inline-block;
  margin-right: 10px;
}
a.ins {
  background: url(../img/ins.png) no-repeat;
  width: 19px;
  height: 20px;
  display: inline-block;
  margin-right: 10px;
}
a.tw {
  background: url(../img/tw.png) no-repeat;
  width: 18px;
  height: 16px;
  display: inline-block;
  margin-right: 10px;
}
a.fbb {
  background: url(../img/fbb.png) no-repeat;
  width: 10px;
  height: 20px;
  display: inline-block;
  margin-right: 13px;
}
a.insb {
  background: url(../img/insb.png) no-repeat;
  width: 19px;
  height: 20px;
  display: inline-block;
  margin-right: 13px;
}
a.twb {
  background: url(../img/twb.png) no-repeat;
  width: 18px;
  height: 16px;
  display: inline-block;
  margin-right: 13px;
}
.bg-nosotros {
  background: url(../img/bg-nosotros.jpg) no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 477px; /* Set the initial height of the container */
  position:relative;
}
span.somos {
  font-family: 'HeadingNow Trial 65';
  color:#fe7816;
  font-size: 35px;
    display: block;
  margin-bottom: 10px;
}
.bg-nosotros p {
  font-family: 'Calibri';
  font-size:19px;
  color:#FFF;
  line-height: 1.1;
}
h1.servicios {
  font-family: 'HeadingNow Trial 65';
  font-size:35px;
  color:#fe7816;
  text-align: center;
  display: block; 
}
/* Ocultar botón hamburguesa en desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* Estilos del icono hamburguesa */
.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    width: 100%;
    height: 3px;
    background-color: #000;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) ;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #000;
    position: absolute;
    left: 0;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}
/* Efecto de overlay */
.main-navigation::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.main-navigation .inline.internal-nav.active ~ ::before {
    opacity: 1;
    pointer-events: auto;
}

/* Animación del botón hamburguesa a X */
.menu-toggle.is-active .hamburger-inner {
    transform: rotate(45deg);
}

.menu-toggle.is-active .hamburger-inner::before {
    transform: rotate(-90deg) translateX(-10px);
    opacity: 0;
}

.menu-toggle.is-active .hamburger-inner::after {
    transform: rotate(-90deg) translateX(10px);
    
}
/* Estilos para el hover en imagen de servicios */
.servicio-item {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    
    .servicio-imagen-container {
        position: relative;
        width: 100%;
        height: 387px;
        padding-bottom: 75%; /* Proporción 4:3 para las imágenes */
        overflow: hidden;
    }
    
    .servicio-imagen {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 387px;
        object-fit: cover;
        transition: all 0.3s ease;
    }
    
    .servicio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        opacity: 0;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .servicio-titulo {
        color: #fe7816;
        margin-bottom: 15px;
        font-size: 20px;
        font-family: 'Heading Now Trial 64';
        text-align: left;
        display: block;
    }
    
    .servicio-contenido p {
        color: #fff;
        font-size: 16px;
        font-family: 'Calibri';
        line-height: 1.3;
        list-style-position: outside
    }
    
    .servicio-item:hover .servicio-imagen {
        transform: scale(1.05);
    }
    
    .servicio-item:hover .servicio-overlay {
        opacity: 1;
    }
/* cierre de estilos para hover */
.bg-frase {
    background: url(../img/bg-frase.png) no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 128px; /* Set the initial height of the container */
    position:relative;
     display: flex;
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
}
span.fras p {
    font-family: 'HeadingNow Trial 63 Book';
    font-size:29px;
    color:#fff;
    display: block;
    text-align:  center;
}
span.comi {
    font-family: 'HeadingNow Trial 63 Book';
    font-size:29px;
    color:#fe7816;
    display: block;
    text-align:  center;
}
.bg-contacto {
  background: url(../img/bg-contacto.png) no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 479px; /* Set the initial height of the container */
  position:relative;
}
/* Añade esto a tu CSS */
#primary-menu.active {
    display: block;
}
/* Contenedor padre - esencial para el posicionamiento */
.owl-carousel-container {
  position: relative;
  max-width: 546px; /* Ajuste para coincidir con el carrusel */
  /*margin: 0 auto;*/
}
/* Versión simplificada solo para logos */
.owl-carousel.secundario {
    height: 150px;
    display: flex;
    align-items: center;
}

.owl-carousel.secundario .item {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-carousel.secundario .item img.logo-carousel {
    height: 80%;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    margin: 0 auto;
}
/* Estilos del carrusel */
.owl-carousel {
  width: 100%;
}

/* Items del carrusel */
.owl-carousel .item {
  height: 729px;
  overflow: hidden;
}

/* Imágenes */
.owl-carousel .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ocultar flechas por defecto */
.owl-carousel .owl-nav {
  display: none;
}

/* Flechas personalizadas */
.custom-owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.custom-owl-nav button {
  pointer-events: all;
  width: 26px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.custom-owl-nav button:hover {
  
}

.custom-owl-nav .custom-prev {
  margin-left: 30px;
  background: url(../img/left.png) no-repeat;
}

.custom-owl-nav .custom-next {
  margin-right: 30px;
  background: url(../img/right.png) no-repeat;
}
.bi-chevron-left::before, .bi-chevron-right::before {
  display: none;
}
.rline {
  border-right: 1px solid #3f6ea9;
}
p.direccion, p.direccion a {
  font-family: 'Poppins';
  font-size: 14px;
  color:#FFF;
  line-height: 1.5;
}
.bg-footer {
        background-color: #fe7816;
    height: 50px;
    position: relative;
    bottom: 0px;
    width: 100%;

}
.bg-footer p, a.ins {
    color: #fff;
    font-family:  'Poppins';
    font-size: 14px;
    line-height: 1.2;
    text-align:center;
}

#footer {
  padding:0px 0;
}

iframe {
  width: 100%;
  height: 600px;
  background-color: #FFF;
}
#galleria {
	height:600px;
	width:100%;
}
.h100 { height:120px; }
p.foot {
  text-align: center !important;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color:#FFF;
  font-weight: normal;
  margin: 0;
}

.mt-6 { margin-top: 3.5rem; }
.mt-7 { margin-top: 4rem; }
.mt-8 { margin-top: 4.5rem; }
.mt-9 { margin-top: 5rem; }
.mt-10 { margin-top: 5.5rem; }
.mb-6 { margin-bottom: 3.5rem; }
.mb-7 { margin-bottom: 4rem; }
.mb-8 { margin-bottom: 4.5rem; }
.mb-9 { margin-bottom: 5rem; }
.mb-10 { margin-bottom: 5.5rem; }
.my-6 { margin-top: 3.5rem; margin-bottom: 3.5rem; }
.my-7 { margin-top: 4rem; margin-bottom: 4rem; }
.my-8 { margin-top: 4.5rem; margin-bottom: 4.5rem; }
.my-9 { margin-top: 5rem; margin-bottom: 5rem; }
.my-10 { margin-top: 5.5rem; margin-bottom: 5.5rem; }
/*menu hamburgesa*/
html, body {
    height: 100%;
}

body.error404 {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ocupa toda la pantalla */
}

#page { /* Contenedor principal de WordPress */
    flex: 1; /* Hace que el contenido crezca */
}

.site-footer {
    margin-top: auto; /* Empuja el footer hacia abajo */
}

/*fin menu hamburgesa*/
/* #Forms
================================================== */

  form {
  }
  fieldset {
    margin-bottom: 20px; }
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="tel"],
  select {
    border: 1px solid #ccc;
    padding: 12px 15px;
    outline: none;
    letter-spacing: 2px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    font-family:'HvDTrial_PlutoSansRegularBF648692ea6228c';
    color: #070707;
    height: 40px !important;
    font-size:16px;
     }
  input[type="text"]:focus,
  input[type="password"]:focus,
  input[type="email"]:focus,
  input[type="tel"]:focus,
  textarea:focus {


  }
  input[type="radio"] {

      }
  textarea {
        height: 110px !important;
    border: 1px solid #ccc !important;
    padding: 12px 15px;
    letter-spacing:2px;
    font-size:16px !important;
    color: #070707;
    outline: none;
    font-family:'HvDTrial_PlutoSansRegularBF648692ea6228c' !important;
    width:100%;
     }

  label,
  legend
   {

    font-family: 'Nexa';
    font-weight: normal;
    color:#fff;
    font-size: 20px;  }
  select {
    width: 220px; }
  input[type="checkbox"] {
    display: inline; }
  label span,
  legend span {
    font-weight: normal;
    font-size: 13px;
    color: #444; }
/* ESTILOS COMPLETOS PARA EL BOTÓN */
#form_contacto-home .frm_button_submit {
  border: 0 !important;
  border-radius: 0 !important;
  font-family: 'Heading Now Trial 65', sans-serif !important;
  font-size: 16px !important;
  display: inline-block !important;
  font-weight: normal !important;
  text-transform: uppercase !important;
  text-align: center;
  color: #fff !important;
  padding: 0 !important;
  float: right !important;
  background-color: #fe7816 !important;
  cursor: pointer;
  margin: 0 !important;
  width: 90px !important;
  height: 40px !important;
  box-shadow: none !important;
  line-height: 40px !important; /* Para centrar verticalmente el texto */
}

/* Contenedor del botón */
#form_contacto-home .frm_submit.frm_flex {
  display: flex !important;
  justify-content: flex-end !important;
  clear: both;
  width: 100% !important;
}
/* SOLUCIÓN PARA FORMIDABLE FORMS PLACEHOLDER */
#form_contacto-home input::placeholder,
#form_contacto-home textarea::placeholder {
  font-family: 'Heading Now Trial 65' !important;
  color: #fe7816 !important;
  font-size:14px !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: 0px !important;
  
}

/* Versiones específicas para navegadores */
#form_contacto-home input::-webkit-input-placeholder,
#form_contacto-home textarea::-webkit-input-placeholder {
  font-family: 'Heading Now Trial 65' !important;
  color: #fe7816 !important;
  font-size:14px !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: 0px !important;
  
}

#form_contacto-home input:-moz-placeholder,
#form_contacto-home textarea:-moz-placeholder {
  font-family: 'Heading Now Trial 65' !important;
  color: #fe7816 !important;
  font-size:14px !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: 0px !important;
}

#form_contacto-home input::-moz-placeholder,
#form_contacto-home textarea::-moz-placeholder {
  font-family: 'Heading Now Trial 65' !important;
  color: #fe7816 !important;
  font-size:14px !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: 0px !important;
}

#form_contacto-home input:-ms-input-placeholder,
#form_contacto-home textarea:-ms-input-placeholder {
  font-family: 'Heading Now Trial 65' !important;
  color: #fe7816 !important;
  font-size:14px !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: 0px !important;
}

#form_contacto-home input::-ms-input-placeholder,
#form_contacto-home textarea::-ms-input-placeholder {
  font-family: 'Heading Now Trial 65' !important;
  color: #fe7816 !important;
  font-size:14px !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: 0px !important;
}

/* Selector adicional para campos específicos */
#form_contacto-home #field_zs9un::placeholder,
#form_contacto-home #field_vad6q::placeholder,
#form_contacto-home #field_gbnqj::placeholder,
#form_contacto-home #field_my3bh::placeholder {
  font-family: 'Heading Now Trial 65' !important;
  color: #fe7816 !important;
  font-size:14px !important;
  font-style: normal !important;
  font-weight: normal !important;
  letter-spacing: 0px !important;
}
.with_frm_style .frm_form_fields > fieldset {
    margin: 0 !important;
    padding: 0 !important;
    border: none;
}
/* ========== DISPOSITIVOS MÓVILES (0px - 767px) ========== */
@media only screen and (max-width: 767px) {
  /* Estilos comunes para todos los móviles */
  .men, .menn { 
    display: none !important; 
  }
  
  .dropdown-menus { 
    display: block; 
    position: absolute;
    background-color: #3f6ea9;
    padding: 10px;
    top: 13px;
    left: 0;
    z-index: 99999;
    width: 100%;
  }

  .logos {
    text-align: center;
    display: block;
  }

  /* Estilos para móviles pequeños (0-374px) */
  @media (max-width: 374px) {
   
  }

  /* Estilos para móviles medianos (375-767px) */
  @media (min-width: 375px) {
   
  }

  /* Estilos compartidos por todos los móviles */
  #primary-menu { display: none; }
  .menu-toggle { display: block; z-index: 1000; position: relative; right: 0; margin-left: auto;}
  .inline.internal-nav { display: none; flex-direction: column; position: fixed;top: 0; right: -100%; width: 100%; max-height: 100%; background: #30478f; padding: 58px 0px 0px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.3s ease; margin: 0; z-index: 999;}
  .inline.internal-nav.active { right: 0;}  
  .inline.internal-nav li { margin: 0px 0; padding: 0; text-align: center;}
  .inline.internal-nav li a { padding:10px 0; width:100%; color:#fff; display: flex; justify-content: center;}
  .inline.internal-nav li a:hover { padding:10px 0; width:100%; color:#30478f; background-color: #FFF;}
  .bg-nosotros p { font-size:14px;}
  span.somos, h1.servicios { font-size: 30px;}
  .bg-nosotros { height: 300px;}
  .bg-contacto { height:1160px;}
  .bg-footer { height: 100%; padding: 10px 0;}
  .logof { display: block; margin:0 auto;}
  .servicio-imagen-container { height:300px;}
  span.fras p { font-size:20px;}
  .owl-carousel.secundario .item img.logo-carousel { width:200px;}
}

/* ========== DISPOSITIVOS TABLET (768px - 1279px) ========== */
@media only screen and (min-width: 768px) and (max-width: 1279px) {
  /* Estilos comunes para todas las tablets */
  #primary-menu { display: none; }
  .menu-toggle { display: block; z-index: 1000; position: relative; right: 0; margin-left: auto;}
  .inline.internal-nav { display: none; flex-direction: column; position: fixed;top: 0; right: -100%; width: 100%; max-height: 100%; background: #30478f; padding: 58px 0px 0px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.3s ease; margin: 0; z-index: 999;}
  .inline.internal-nav.active { right: 0;}  
  .inline.internal-nav li { margin: 0px 0; padding: 0; text-align: center;}
  .inline.internal-nav li a { padding:10px 0; width:100%; color:#fff; display: flex; justify-content: center;}
  .inline.internal-nav li a:hover { padding:10px 0; width:100%; color:#30478f; background-color: #FFF;}
  .servicio-imagen-container { height:250px;}
  .servicio-contenido p { font-size:12px;}
  .servicio-titulo { font-size:14px;}
  .servicio-overlay { padding:20px;}
  .bg-contacto { height:100%;}

  /* Estilos específicos para iPad en vertical */
  @media (orientation: portrait) {
    
  }
}

/* ========== ESCRITORIO (1280px en adelante) ========== */
@media only screen and (min-width: 1280px) {
  /* Estilos para pantallas grandes */
}