/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* CSS CABECERA */
body.desactivar-scroll {
  margin: 0;
  height: 100%;
  overflow: hidden;
}
#site-header {
  padding: 15px;
}
#site-header .site-logo > a {
  line-height: 0;
}
#site-header .site-navigation ul.menu > li.menu-item:last-child > a {
  padding-right: 0;
}
body.menu-fixed-al-subir #site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  z-index: 99;
  transition: all 0.3s ease;
}
body.menu-fixed-al-subir.admin-bar #site-header {
  top: 32px;
}
#cerrar-menu-closa > div > i.eicon-menu-bar:before {
  content: "\e87f";
  font-size: 25px;
}
body.menu-fixed-al-subir #site-header .site-logo img {
  width: 100%;
  height: 50px;
}
body.menu-fixed-al-subir > div.elementor {
  padding-top: 100px;
}
.site-navigation-dropdown {
  position: fixed;
  margin-block-start: 0px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  background-color: rgb(0 0 0 / 30%);
  transition: none;
}
.site-navigation-dropdown > div {
  background-color: #ffffff;
  width: 75%;
  left: -75%;
  position: relative;
  transition: left 0.5s ease-in-out;
}
.site-navigation-toggle-holder.elementor-active
  + .site-navigation-dropdown
  > div {
  left: 0;
}
.site-navigation-dropdown .site-logo > a {
  display: block;
  line-height: 0;
}
.site-navigation-dropdown ul.menu {
  position: static;
  display: block;
  overflow-y: scroll;
  height: calc(100vh - 75px);
}
.site-navigation-dropdown .menu-menu-principal-container {
  height: 100%;
}
.site-navigation-dropdown .cabecera-menu-desplegado {
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}
.site-navigation-toggle-holder .site-navigation-toggle {
  background-color: transparent;
}
.eicon-menu-bar:before {
  font-size: 25px;
}
.site-navigation-dropdown ul.menu li.menu-item-has-children > span {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  text-align: center;
  width: 15%;
  max-height: 64px;
}
#site-header
  nav:not(.site-navigation-dropdown)
  ul.menu
  li.menu-item-has-children
  > span {
  display: none;
}
.site-navigation-dropdown ul.menu li.menu-item-has-children > span:after {
  display: block;
  content: "▾";
  font-size: 1.5em;
}
.site-navigation-dropdown
  ul.menu
  li.menu-item-has-children.elementor-active
  > span:after {
  content: "▴";
}
/* FIN CSS CABECERA */

/* CSS PIE */

.footer-top-columns > div {
  width: 100%;
}
.site-footer:not(.footer-stacked) .footer-inner .copyright {
  max-width: initial;
  width: 100%;
}
.site-footer:not(.footer-stacked) .footer-inner .copyright p {
  text-align: center;
  display: block;
  width: 100%;
}
footer#site-footer {
  padding: 5px 0;
}
.site-footer .footer-inner.footer-top-columns {
  flex-wrap: nowrap;
}

@media (max-width: 1000px) {
  .site-footer .footer-inner.footer-top-columns {
    flex-wrap: wrap;
  }
  .footer-top-columns > div {
    width: 50%;
  }
}
@media (max-width: 767px) {
  .footer-top-columns > div {
    width: 100%;
  }
}
/* FIN CSS PIE */

/* FORMULARIO CONJUNTO */

.invalid .wpcf7-response-output,
.unaccepted .wpcf7-response-output,
.spam .wpcf7-response-output {
  color: #721c24 !important;
  background-color: #f8d7da !important;
  border: 1px solid #f5c6cb !important;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
}
span.wpcf7-not-valid-tip {
  color: #dc3232 !important;
  font-size: 11px;
}
.wpcf7-response-output {
  font-size: 12px;
  line-height: 1.5rem !important;
}
.sent .wpcf7-response-output {
  color: #155724 !important;
  background-color: #d4edda !important;
  border: 1px solid #c3e6cb !important;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
}
.fila-dos-columnas > p {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.wpcf7-form div.fila-dos-columnas > p > label {
  width: calc(50% - 15px);
  flex: 1;
}
.wpcf7-form div > p > label {
  width: 100%;
}
.wpcf7-list-item-label a:hover {
  text-decoration: underline;
}
.submitting .wpcf7-spinner {
  display: inline-block;
}
.wpcf7-spinner {
  display: none;
}
.screen-reader-response {
  display: none !important;
}
span.wpcf7-list-item-label {
  margin-left: 7px;
}

.hidden-fields-container {
  display: none;
}

/* FIN FORMULARIO CONJUNTO */

/* FORMULARIO 2 */

.page-id-383 .wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
}

.page-id-383 .wpcf7-form div > p {
  margin-bottom: 30px;
}

.page-id-383 .wpcf7-form div > p > label {
  color: #999999;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  display: block;
}

/* Ocultar los <br> dentro de labels */
.page-id-383 .wpcf7-form div > p > label > br {
  display: none;
}

.page-id-383 .wpcf7-form div > p > label > span {
  padding-bottom: 0;
  display: block;
}

.page-id-383 .wpcf7-form div > p > label > span > span {
  color: #dfdfdf;
}

/* Estilos para todos los inputs incluyendo tel */
.page-id-383 .wpcf7-form div > p > label textarea,
.page-id-383 .wpcf7-form div > p > label input[type="text"],
.page-id-383 .wpcf7-form div > p > label input[type="email"],
.page-id-383 .wpcf7-form div > p > label input[type="tel"],
.page-id-383 .wpcf7-form input.wpcf7-tel {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
  color: #333333;
  font-family: inherit;
  transition: border-color 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

/* Placeholders para todos los campos */
.page-id-383 .wpcf7-form div > p > label textarea::placeholder,
.page-id-383 .wpcf7-form div > p > label input::placeholder,
.page-id-383 .wpcf7-form input.wpcf7-tel::placeholder {
  color: #999999;
  opacity: 1;
}

/* Focus state para todos los campos */
.page-id-383 .wpcf7-form div > p > label textarea:focus,
.page-id-383 .wpcf7-form div > p > label input:focus,
.page-id-383 .wpcf7-form input.wpcf7-tel:focus {
  border-bottom-color: #333333;
}

.page-id-383 .wpcf7-form div > p > label textarea {
  height: 100px;
  min-height: 100px;
  resize: vertical;
}

/* Footer del formulario */
.page-id-383 .footer-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.page-id-383 .boton-acceptacion {
  flex: 1;
  min-width: 250px;
}

.page-id-383 .boton-acceptacion > p {
  text-align: left;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.page-id-383 .boton-acceptacion input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
  margin-top: 2px;
  flex-shrink: 0;
}

.page-id-383 span.wpcf7-list-item-label {
  color: #666666;
  font-size: 14px;
  margin-left: 0;
  line-height: 1.4;
}

.page-id-383 span.wpcf7-list-item-label a {
  color: #d4a574;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-id-383 span.wpcf7-list-item-label a:hover {
  text-decoration: underline;
}

.page-id-383 .boton-formulario {
  flex-shrink: 0;
}

.page-id-383 .boton-formulario > p {
  text-align: right;
  margin: 0;
}

.page-id-383 .boton-formulario [type="submit"] {
  background-color: transparent;
  color: #333333;
  padding: 12px 40px;
  border: 1px solid #333333;
  border-radius: 0;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
  min-width: 200px;
}

.page-id-383 .boton-formulario [type="submit"]:hover {
  background-color: #333333;
  color: #ffffff;
}

/* Iconos RRSS */
.iconos-rrss {
  max-width: 100%;
  display: flex;
}
.iconos-rrss > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 20px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 13px;
}
.iconos-rrss > a > i {
  border: 1px solid #fff;
  width: 40px;
  height: 40px;
  transition: all 0.1s linear;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iconos-rrss > a:hover > i {
  background-color: #ffffff;
  border-color: #000000;
  color: #000000;
}
.iconos-rrss i:before {
  font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .page-id-383 .fila-dos-columnas > p {
    flex-direction: column;
    gap: 30px;
  }

  .page-id-383 .wpcf7-form div.fila-dos-columnas > p > label {
    width: 100% !important;
  }

  .page-id-383 .footer-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-id-383 .boton-acceptacion {
    width: 100%;
    min-width: 100%;
  }

  .page-id-383 .boton-formulario {
    width: 100%;
  }

  .page-id-383 .boton-formulario > p {
    text-align: center;
  }

  .page-id-383 .boton-formulario [type="submit"] {
    width: 100%;
  }
}
/* FIN FORMULARIO 2 */

/* HOME */
.boton-alineado-hacia-abajo {
  margin-top: auto;
}

ul#menu-menu-principal > li > a {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 1px;
  color: black;
  font-family: "Inter";
}

.cuadro_img_cst > div {
  gap: 0 !important;
  display: flex;
  flex-direction: column;
}

.cuadro_img_cst .elementor-image-box-content {
  border: 1px solid #434343;
  border-top: 0;
  padding: 18px;
}

.subtitulo-proyecto {
  font-size: 16px;
  font-family: "Libre Baskerville";
  color: #616161;
  text-align: center;
}

ul.ul-cst-menu {
  list-style: none;
  padding: 0px 10px;
}

.ul-cst-menu li {
  padding-bottom: 10px;
}

ul.ul-cst-menu li > a {
  color: #aaaaaa;
  font-family: "Inter";
  font-size: 15px;
}

.boton-acceptacion a {
  color: #e57e55;
  font-weight: 600;
}
