/*
 Theme Name: Divi Acuabit
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme, enriquezido por Acuabit
 Author: Acuabit
 Author URI: https://www.acuabit.es 
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

:root {
  --color-primario: #00335b;
  --color-secundario: #31859b;
  --color-acento: #fbba00;
  --color-gris: #abb8c3;
}

#main-content {
  h1, h2, h3, h4, h5, h6 {
    padding-bottom: 0;
  }

  p a, ol a, ul a {
    color: var(--color-secundario);
    border-bottom: 1px solid var(--color-secundario);
  }

  /* Tablas como en política de cookies */
  table {
    border: 1px solid var(--color-primario);

    thead {
      background-color: var(--color-primario);
      
      th {color: #fff;}
    }

    tr td {
      border-top: 1px solid var(--color-primario);
    }
  }

}
.sgracias{
  padding-top: 0px !important;
}

body.page.page-id-548 .et_pb_section:first-child{
  padding-top: 1rem !important;
}
.resaltado-color {
  color: var(--color-secundario);
}

/*Filtros*/
.et_pb_code.inmovilla .tabcontent{
  padding: 0px !important;
}
.et_pb_code.inmovilla .tabcontent .advance-search-form .row.mb-2, .et_pb_code.inmovilla .search2 .row{
  justify-content: center;
  gap: 10px;
}
.et_pb_code.inmovilla .searchAmbos{
  padding: auto;
}
@media (min-width: 992px) {
  .et_pb_code.inmovilla .searchAmbos .col-md-2, .et_pb_code.inmovilla .search2 .col-md-2 {
    width: 15%;
    gap: 10px;
  }
  @media(max-width: 1200px){
    .et_pb_code.inmovilla .searchAmbos .col-md-2{
      width: 25%;
    } 
  }
  .et_pb_code.inmovilla  .custom-campo-precio {
    width: 15%;
  }
}

/* ----------------
 * INICIO Inmovilla
 * ---------------- */

.tab {
  button {
    font-size: 20px !important;

    &:first-of-type {
      border-top-left-radius: 12px;
    }
    &:last-of-type {
      border-top-right-radius: 12px;
    }
  }
}

.search2 {
  padding: 2em !important;
}

.tabcontent {
  padding: 1em !important;

  
}

form .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.3em;
    margin: 0 !important;
    
    & > div {
      padding: 0 !important;

    }

    &::before, &::after {
      display: none;
    }
  }

.search-wrapper2 .search2 {
  padding: 2em !important;
}

.search-wrapper2 .search2 .submit {
  font-size: 18px !important;
  border-radius: 12px !important;
}

.form-control, .form-ref, .submit, .select-filtros {
  font-size: 18px !important;
  padding: 12px 18px !important;
  margin: 0 !important;
  height: 100% !important;
  border-radius: 4px !important;
}

div:has(> .form-control) {height: 100% !important;}

div:has(> .price-min-contenedor) {
  display: flex;
  gap: 1.3em;
  width: fit-content;
}
.price-min-contenedor, .price-max-contenedor {
  padding: 0 !important;
}

.rango-precios-customize {
  width: 100% !important;
}

.estilos-paginador-KUBE {
  margin-top: 2em !important;
}


@media (min-width: 300px) and (max-width: 767px) {
  .search-wrapper2 .col-md-12 {
    margin-top: 0 !important;
  }
}

/* Tarjetas de resultados de búsqueda */


.property-item {
  border-radius: 12px;
  border: 1px solid var(--color-primario);
}

div:has(> .thumb) {
  width: 100%;

  img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
}

.ref p {
  font-size: 16px;
}

.ajustes-precio {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.info-plus .info-property {
  background-color: transparent !important;
  border-right: 0 !important;
}

.pagination-content {
  background-color: transparent !important;
}



/* Fichas de propiedades */
.custom-bloque-ficha {
  width: 100%;
}

.title-header {
  background-color: transparent !important;

}
.title-header .title h1 {
  color: var(--color-primario);
  font-size: 52px;
}

.energy-efficiency-headers {
  height: auto !important;
}

.a-efficiency {width: calc(30% - 10px);}
.b-efficiency {width: calc(40% - 10px);}
.c-efficiency {width: calc(50% - 10px);}
.d-efficiency {width: calc(60% - 10px);}
.e-efficiency {width: calc(70% - 10px);}
.f-efficiency {width: calc(80% - 10px);}
.g-efficiency {width: calc(90% - 10px);}

@media (max-width: 767px) {
  /* Mantener altura previa de galería para evitar solapamiento con texto */
  .details #galleria {
    height: 700px !important; 
  }

  .fondo-ficha {
    .col-md-12, .col-md-6 {
      padding: 0 !important;
    }
  }
}

@media (min-width: 300px) and (max-width: 767px) {
  .pointer-consumo, .pointer-emisiones {
    line-height: 29px !important
  }
}

/* Listados de propiedades */
/* Clase manual nuestra para sección: */
.lista-propiedades {
  width: 100%;
}

/* Eliminar relleno que crea el plugin en una sección contenedora */
.et_pb_section_1.et_pb_section.et_section_regular.et_flex_section {
  padding-bottom: 0 !important;
}

/* ----------------
 *   FIN Inmovilla
 * ---------------- */

/*--Generales--*/
.shero{
    padding-top: 0px !important;
}
#et-top-navigation nav > ul > li > a {
    font-weight: 400 !important;
    letter-spacing: 0.1em;
}
@media(min-width:1441px) {
    #top-menu li {
        padding-right: 3rem !important;
    }
}
/*--HOME--*/
.heroh .titulo, .titulo.decorado, .textodest .et_pb_text_inner{
    padding-left: 1rem;
    position: relative;
    padding-bottom: 0px;
}
.textodest .et_pb_text_inner{
    padding-left: 1.3rem;
}
.heroh .titulo::before, .titulo.decorado::before{
    content: ' ';
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #FBBA00;
    position: absolute;
    left: 0px;
    top: 6px;
}
.img-decorativa{
  overflow: hidden;
  clip-path: polygon(
    7% 0%,
    93% 0%,
    100% 20%,
    100% 80%,
    93% 100%,
    7% 100%,
    0% 80%,
    0% 20%
  );
}
.upromociones figure{
    margin-bottom: 1rem !important;
}
.ultimasph .titulo::before, .textodest .et_pb_text_inner::before{
    content: ' ';
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background: #FBBA00;
    position: absolute;
    left: 0px;
    top: 33.3%;
}
.textodest .et_pb_text_inner::before{
    top: 25% !important;
}
.ultimasph .titulo{
    max-width: max-content;
    margin: auto;
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 0px;
}
.spreguntasf .et_pb_column{
    padding-bottom: 0px !important;
}
.spreguntasf .et_pb_toggle_title{
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--color-secundario);
}
.ultimasph .dp-dfg-item img{
    border-radius: 20px !important;
}
body:not(.home) #main-header {
    border-bottom: 1px solid #00335B !important;
    box-shadow: 2px 2px 0.85rem rgba(0, 0, 0, 0.6);
}
@media (min-width:981px) {
    body:not(.home) #et-main-area {
      padding-top: 90px;
    }
}
.listado-promociones .dp-dfg-image{
    display: block;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 562' preserveAspectRatio='none'><path fill='white' d='M70 0 H820 Q845 0 862 18 L982 128 Q1000 146 1000 172 V472 Q1000 522 950 548 Q932 562 910 562 H170 Q145 562 128 544 L18 434 Q0 416 0 390 V70 Q0 0 70 0 Z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 562' preserveAspectRatio='none'><path fill='white' d='M70 0 H820 Q845 0 862 18 L982 128 Q1000 146 1000 172 V472 Q1000 522 950 548 Q932 562 910 562 H170 Q145 562 128 544 L18 434 Q0 416 0 390 V70 Q0 0 70 0 Z'/></svg>");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    mask-position: center;
    margin-bottom: 1rem;
}
.listado-promociones .dp-dfg-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dp-dfg-no-results{
    font-size: 18px;  
}
/*---Footer---*/
footer a {
  color: inherit !important;
}
/*---Single-Inmuebles---*/
.elementos-desde .et_pb_code_inner{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.elementos-desde .titulo-desde{
    display: flex;
    gap: 10px;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #00335B;
    font-family: 'Herkey';
    font-size: 24px;
}
.elementos-desde .cuerpo-desde{
    font-size: 24px;
}
.elementos-desde .contenido-desde{
    width: 260px;
}
sup{
    font-size: 0.6em;
}
.cartel-listado-destacada{
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    padding: 0px !important;
    flex-wrap: wrap;
}
.cartel-listado-destacada li{
    list-style: none !important;
    max-width: 120px;
    width: 120px;
    font-size: 16px;
    text-align: center;
    line-height: 1.4em;
}
.archivos_promociones_desc{
  display: flex;
  gap: 10px;
  padding: 0px !important;
}
.archivos_promociones_desc li{
  list-style: none;
}
.archivos_promociones_desc li img{
  max-height: 30px;
}
.cartel-listado-destacada li img{
    display: block;
    margin: auto;
    max-height: 30px;
    margin-bottom: 0.5rem;
}
.distancia-elementos .et_pb_code_inner{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.distancia-elementos img{
  max-height: 20px;
  width: auto;
}
.distancia-elementos .contenido-distancia{
  display: flex;
  line-height: 20px;
  gap: 5px;
  max-width: 280px;
  width: 280px;
  font-size: 16px;
}
/*Galeria*/
.mgl-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 3;
  column-gap: 5px;
}
.mgl-gallery__item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 5px;
  list-style: none;
}
.mgl-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0px;
}
/* Tablet */
@media (max-width: 980px) {
  .mgl-gallery {
    column-count: 2;
    column-gap: 20px;
  }

  .mgl-gallery__item {
    margin-bottom: 20px;
  }
}
/* Móvil: carrusel horizontal */
@media (max-width: 767px) {
  .mgl-gallery {
    display: flex;
    columns: unset;
    column-count: unset;
    column-gap: 0;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 10px;
    margin: 0 -16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .mgl-gallery__item {
    flex: 0 0 85%;
    margin-bottom: 0;
    break-inside: auto;
    scroll-snap-align: start;
  }
  .mgl-gallery__item img {
    width: 100%;
    height: auto;
  }
  .mgl-gallery::-webkit-scrollbar {
    display: none;
  }
  .mgl-gallery {
    scrollbar-width: none;
  }
}
.listado-inmuebles-tabla {
  width: 100%;
}
.tabla-inmuebles-wrap {
  width: 100%;
}
.tabla-inmuebles {
  width: 100%;
  border-collapse: collapse;
  color: #00335B;
  font-size: 18px;
  line-height: 1.4;
}
.tabla-inmuebles thead th {
  font-weight: 700;
  text-align: center;
  padding: 18px 20px 16px;
  position: relative;
  white-space: nowrap;
}
.tabla-inmuebles thead th::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #00335B;
  opacity: 0.8;
  margin-top: 14px;
}
.tabla-inmuebles tbody tr {
  border-bottom: 1px dotted #00335B;
}
.tabla-inmuebles tbody td {
  padding: 28px 20px;
  text-align: center;
  vertical-align: middle;
}
.tabla-inmuebles .col-descripcion {
  max-width: 420px;
}
.tabla-inmuebles .col-numero {
  font-weight: 600;
  white-space: nowrap;
}

.tabla-inmuebles .btn-plano {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00335B;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tabla-inmuebles .btn-plano:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}
.tabla-inmuebles .btn-plano svg {
  width: 20px;
  height: 20px;
}
/* Tablet: scroll horizontal */
@media (max-width: 980px) {
  .tabla-inmuebles-wrap {
    overflow-x: auto;
  }
  .tabla-inmuebles {
    min-width: 900px;
  }
}
/* Móvil: tarjetas */
@media (max-width: 767px) {
  .tabla-inmuebles,
  .tabla-inmuebles thead,
  .tabla-inmuebles tbody,
  .tabla-inmuebles th,
  .tabla-inmuebles td,
  .tabla-inmuebles tr {
    display: block;
    width: 100%;
  }
  .tabla-inmuebles {
    min-width: 100%;
    border-collapse: separate;
  }
  .tabla-inmuebles thead {
    display: none;
  }
  .tabla-inmuebles tbody tr {
    border: 1px solid #00335B;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: #fff;
  }
  .tabla-inmuebles tbody td {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 10px 0;
    border: 0;
    font-size: 16px;
  }
  .tabla-inmuebles tbody td::before {
    content: attr(data-label);
    background: #f5f9fa;
    font-weight: 700;
    text-align: left;
    color: #00335B;
    flex: 0 0 25%;
    padding: 0.5rem 10px;
  }
  .tabla-inmuebles .col-descripcion {
    max-width: 100%;
  }
  .tabla-inmuebles .col-descripcion,
  .tabla-inmuebles .col-precio-sin-iva,
  .tabla-inmuebles .col-pvp {
    word-break: break-word;
  }
}

/* Últimas promociones */
.ultimas-promociones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 110px 70px;
  align-items: start;
}

/* CADA CARD */
.ultimas-promociones .promocion-item {
  display: flex;
  flex-direction: column;
  color: #00335B;
}

/* IMAGEN */
.ultimas-promociones .promocion-item__imagen {
  margin: 0 0 18px;
}

.ultimas-promociones .promocion-item__imagen .et_pb_image_wrap {
  display: block;
  overflow: hidden;
  border-radius: 34px 34px 0 0;
}

.ultimas-promociones .promocion-item__imagen img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* TÍTULO */
.ultimas-promociones .promocion-item__titulo {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
}

.ultimas-promociones .promocion-item__titulo a {
  color: #00335B;
  text-decoration: none;
}

.ultimas-promociones .promocion-item__titulo a:hover {
  opacity: 0.8;
}

/* BLOQUE DE DATOS */
.ultimas-promociones .promocion-item__datos {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}

.ultimas-promociones .promocion-item__dato {
  font-size: 18px;
  line-height: 1.45;
  color: #00335B;
}

.ultimas-promociones .promocion-item__dato strong {
  font-weight: 500;
}

/* PRECIO */
.ultimas-promociones .promocion-item__dato--precio,
.ultimas-promociones .promocion-item__dato:last-child {
  font-size: 20px;
  font-weight: 600;
}

/* LÍNEA INFERIOR */
.ultimas-promociones .promocion-item::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 26px;
  background: #00335B;
  opacity: 0.9;
}

/* SI AÑADES UN ENLACE FINAL TIPO "+ información" */
.ultimas-promociones .promocion-item__masinfo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: #00335B;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.2;
}

.ultimas-promociones .promocion-item__masinfo:hover {
  opacity: 0.8;
}

/* TABLET */
@media (max-width: 980px) {
  .ultimas-promociones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 40px;
  }

  .ultimas-promociones .promocion-item__titulo {
    font-size: 22px;
  }

  .ultimas-promociones .promocion-item__dato {
    font-size: 17px;
  }
  #main-header .container{
    width: 100% !important;
  }
  .rango-precios-customize{
    padding-right: 0px !important;
  }
  .rango-precios-customize select{
    width: 100% !important;
  }
  div:has(> .price-min-contenedor) {
    display: flex;
    gap: 1.3em;
    width: 100%;
    justify-content: space-between;
  }
}

/* MÓVIL */
@media (max-width: 767px) {
  .ultimas-promociones {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .ultimas-promociones .promocion-item__imagen .et_pb_image_wrap {
    border-radius: 24px 24px 0 0;
  }

  .ultimas-promociones .promocion-item__titulo {
    font-size: 22px;
    margin-bottom: 22px;
  }

  .ultimas-promociones .promocion-item__dato {
    font-size: 16px;
  }

  .ultimas-promociones .promocion-item__dato--precio,
  .ultimas-promociones .promocion-item__dato:last-child {
    font-size: 18px;
    margin-top: 18px;
  }
}
/*Formulario de contacto*/
.cf7-custom-css {
  --azul-oscuro: #00335B;
  --azul-medio: #31859b;
  --amarillo: #FBBA00;
  --blanco: #ffffff;
  --texto: #0f2940;
  --borde: rgba(0, 51, 91, 0.14);
  --fondo-input: #f7fafc;
  --sombra: 0 18px 45px rgba(0, 51, 91, 0.12);

  max-width: 100%;
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(49, 133, 155, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--sombra);
  border: 1px solid rgba(49, 133, 155, 0.12);
}

.cf7-custom-css .fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.cf7-custom-css .fields.fields-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf7-custom-css .field-item {
  width: 100%;
}

.cf7-custom-css .field-item input[type="text"],
.cf7-custom-css .field-item input[type="email"],
.cf7-custom-css .field-item input[type="tel"],
.cf7-custom-css .field-item textarea {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--borde);
  background: var(--fondo-input);
  color: var(--texto);
  font-size: 16px;
  line-height: 1.4;
  transition: all 0.25s ease;
  box-sizing: border-box;
  outline: none;
}

.cf7-custom-css .field-item textarea {
  min-height: 150px;
  resize: vertical;
}

.cf7-custom-css .field-item input::placeholder,
.cf7-custom-css .field-item textarea::placeholder {
  color: rgba(0, 51, 91, 0.55);
}

.cf7-custom-css .field-item input:focus,
.cf7-custom-css .field-item textarea:focus {
  border-color: var(--azul-medio);
  background: var(--blanco);
  box-shadow: 0 0 0 4px rgba(49, 133, 155, 0.14);
}

/* Radios */
.cf7-custom-css .field-item .wpcf7-form-control-wrap {
  display: block;
}

.cf7-custom-css .field-item .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cf7-custom-css .field-item .wpcf7-list-item {
  margin: 0;
}

.cf7-custom-css .field-item .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--borde);
  background: var(--fondo-input);
  color: var(--azul-oscuro);
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
  font-weight: 500;
}

.cf7-custom-css .field-item .wpcf7-list-item input[type="radio"] {
  accent-color: var(--amarillo);
  transform: scale(1.1);
}

.cf7-custom-css .field-item .wpcf7-list-item label:hover {
  border-color: rgba(49, 133, 155, 0.45);
  background: #fff;
}

/* Aceptación */
.cf7-custom-css .conditions {
  margin-top: 6px;
  margin-bottom: 24px;
}

.cf7-custom-css .conditions p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 51, 91, 0.9);
}

.cf7-custom-css .conditions .wpcf7-list-item {
  margin: 0;
}

.cf7-custom-css .conditions label {
  display: inline;
}

.cf7-custom-css .conditions input[type="checkbox"] {
  accent-color: var(--amarillo);
  margin-right: 8px;
  transform: translateY(1px);
}

.cf7-custom-css .conditions a {
  color: var(--azul-medio);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}

.cf7-custom-css .conditions a:hover {
  color: var(--azul-oscuro);
  border-bottom-color: currentColor;
}

/* Botón */
.cf7-custom-css .submit {
  margin-top: 6px;
}

.cf7-custom-css .submit .wpcf7-submit,
.cf7-custom-css .submit .et_pb_button,
.cf7-custom-css .submit input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 30px;
  min-height: 56px;
  background: linear-gradient(135deg, var(--amarillo) 0%, #ffd34d 100%);
  color: var(--azul-oscuro) !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.cf7-custom-css .submit .wpcf7-submit:hover,
.cf7-custom-css .submit .et_pb_button:hover,
.cf7-custom-css .submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(251, 186, 0, 0.38);
  filter: brightness(1.02);
}

.cf7-custom-css .submit .wpcf7-submit:active,
.cf7-custom-css .submit .et_pb_button:active,
.cf7-custom-css .submit input[type="submit"]:active {
  transform: translateY(0);
}

/* Mensajes CF7 */
.cf7-custom-css .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  color: #c0392b;
}

.cf7-custom-css .wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.cf7-custom-css form.invalid .wpcf7-response-output,
.cf7-custom-css form.unaccepted .wpcf7-response-output,
.cf7-custom-css form.failed .wpcf7-response-output {
  border: 1px solid rgba(192, 57, 43, 0.2);
  background: rgba(192, 57, 43, 0.06);
  color: #8e2c20;
}

.cf7-custom-css form.sent .wpcf7-response-output {
  border: 1px solid rgba(49, 133, 155, 0.25);
  background: rgba(49, 133, 155, 0.08);
  color: var(--azul-oscuro);
}
/*Galerias por defecto WP*/
/* Masonry para la galería por defecto de WordPress/Divi */
.et_post_gallery {
  column-count: 3;
  column-gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.et_post_gallery .et_gallery_item {
  display: inline-block;
  width: 100% !important;
  float: none !important;
  margin: 0 0 22px !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.et_post_gallery .et_portfolio_image {
  display: block;
  overflow: hidden;
  border-radius: 22px;
}

.et_post_gallery .et_portfolio_image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  transition: transform 0.35s ease;
}

.et_post_gallery .et_gallery_item a:hover img {
  transform: scale(1.03);
}

.et_post_gallery .et_overlay {
  border-radius: 22px;
}

/* Tablet */
@media (max-width: 980px) {
  .et_post_gallery {
    column-count: 2;
    column-gap: 18px;
  }

  .et_post_gallery .et_gallery_item {
    margin-bottom: 18px !important;
  }
  body.page.page-id-548 .et_pb_section:first-child{
      padding-top: 5rem !important;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .et_post_gallery {
    column-count: 1;
    column-gap: 0;
  }

  .et_post_gallery .et_gallery_item {
    margin-bottom: 16px !important;
  }
}
/* Responsive */
@media (max-width: 767px) {
  .cf7-custom-css {
    padding: 22px;
    border-radius: 18px;
  }

  .cf7-custom-css .fields.fields-cols {
    grid-template-columns: 1fr;
  }

  .cf7-custom-css .field-item .wpcf7-radio {
    flex-direction: column;
  }

  .cf7-custom-css .field-item .wpcf7-list-item label {
    width: 100%;
    justify-content: flex-start;
  }

  .cf7-custom-css .submit .wpcf7-submit,
  .cf7-custom-css .submit .et_pb_button,
  .cf7-custom-css .submit input[type="submit"] {
    width: 100%;
  }
  .property-content-titulo .title-header .title h1 {
      font-size: 32px !important;
      line-height: 1.7em !important;
  }

}
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}
/*----- BANNER COOKIES -----*/
html.show--consent .btnpref,
html.show--preferences .btnpref {
    display: none;
}
.btnpref {
    position: fixed;
    z-index: 99999999999;
    bottom: 15px;
    left: 15px;
    max-width: 72px;
    font-size: 14px;
    padding: 5px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 1px -1px 1px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid black;
}
.btnpref img {
    max-width: 40px;
    transition: transform 0.3s ease-in-out;
}
.btnpref img:hover {
    transform: scale(1.1);
    animation: bounce 0.5s ease;
}
/*animacion efecto rebote*/
@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}
.btnpref:hover {
    cursor: pointer;
}
#firma{
  background: #0f2940;
  color: #ffffff;
  font-size: 10px;
  text-align: center;
}
#firma a{
  color: #ffffff;
}
@media (max-width: 980px) {
  #firma {
    padding-bottom: 69px !important;
  }
}

/*Medias*/
@media(max-width: 1440px){
    .hero-home .et_pb_row{
        flex-direction: column;
    }
    .hero-home .et_pb_column{ 
        width: 100%;
    }
    .hero-home .et_pb_text{
        max-width: 100%;
    }
    @media(min-width:981px) {
        .hero-home .texto-destacado .et_pb_text_inner{
            font-size: 52px;
        }
    }
}
@media(max-width: 980px){
    #mobile_menu{
        background: #FFFFFFFF !important;
    }
    .ultimasph .titulo{
        max-width: 100% !important;
        padding-left: 1rem !important;
    }
    .ultimasph .titulo::before {
        width: 10px;
        height: 10px;
    }
    body:not(.home) #main-header {
      background: rgba(255, 255, 255, 0.9);
    }
    .et-fixed-header#main-header {
      position: fixed;
      top: 0px !important;
      background: rgba(255, 255, 255, 0.9);
    }
     .btnpref {
        bottom: 69px !important;
        left: 0px;
        max-width: 180px;
        border: none !important;
        border-radius: 0px 8px 0px 0px !important;
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
    }

    .btnpref img {
        max-width: 14px !important;
    }
}
@media(max-width:767px){
    .subfooter ul{
        padding: 0px !important;
        text-align: center !important;
    }
    .dp-dfg-no-results{
        font-size: 14px;  
    }
    .listado-promociones .dp-dfg-item .dp-dfg-content.entry-summary{
        font-size: 14px !important;
    }
    .cartel-listado-destacada li {
        font-size: 14px;
        margin-bottom: 1rem;
        line-height: 1.2em;
    }
    .cartel-listado-destacada li {
      max-width: 100px;
      width: 100px;
    }
    .elementos-desde .contenido-desde{
      margin-bottom: 1.5rem;
    }
    .elementos-desde .titulo-desde {
      font-size: 20px;
    }
    .elementos-desde .titulo-desde img{
      max-width: 20px;
    }
    .elementos-desde .cuerpo-desde {
      font-size: 20px;
    }
    body.et_mobile_device .et-fixed-header#main-header {
      box-shadow:  0 18px 45px rgba(0, 51, 91, 0.12) !important;
    }
}
/* --------- */
/* PREGUNTAS FRECUENTES */
.spreguntasf .titulo.decorado::before {
  width: 25px;
  height: 25px;
  top: 25px;
}
/* BUSCADOR (mockup) */
.buscador select, .buscador input {
  width: 100%;
  border: 0;
  font-size: 18px;
  color: var(--color-primario);
  border-radius: 12px;
  padding: 5px 10px;

  &:focus {
    outline: 1px solid var(--color-gris);
  }
}
.buscador input::placeholder {
  color: var(--color-secundario);
}
.buscador .et_pb_module {
  width: 100%;
}
/* LISTADOS DE PROPIEDADES (dinamico...) */
.lista-propiedades .titulo.decorado::before{
  content: ' ';
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: var(--color-acento);
  position: absolute;
  left: 0px;
  top: 11px;
}
.lista-propiedades .titulo.decorado.grande::before{
  width: 15px;
  height: 15px;
  left: -8px;
  top: 33.3%;
}
.fondo-acento {
  background-color: var(--color-acento);
  padding: 3px 6px;
  border-radius: 5px;
}