/* =========================================================
   CABESMA · estilos propios (cabecera con slider, galería, visor)
   ========================================================= */
:root {
  --cab-verde: #173d27;
  --cab-verde-osc: #0f2b1b;
  --cab-oro: #c9a55c;
  --cab-crema: #f4efe4;
}

/* ---------- CABECERA: pase de fotos con zoom lento ---------- */
.cid-v1RdVQZgJX .cont-wrapper .cont-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--cab-verde-osc);
}
.cab-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.6s ease, transform 7.5s linear;
}
.cab-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.cab-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 13, .62);
  z-index: 1;
}
.cid-v1RdVQZgJX .container-fluid { position: relative; z-index: 2; }
.cid-v1RdVQZgJX .card-wrapper { background-color: transparent !important; }
.cid-v1RdVQZgJX .mbr-section-title { color: var(--cab-crema) !important; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.cid-v1RdVQZgJX .mbr-label { color: var(--cab-oro) !important; }
.cid-v1RdVQZgJX .mbr-text,
.cid-v1RdVQZgJX .text-wrapper { color: var(--cab-crema) !important; }
.cid-v1RdVQZgJX .text-wrapper .mbr-text { font-size: 1.25rem; line-height: 1.5; }
.cid-v1RdVQZgJX .mbr-section-btn .btn + .btn {
  background-color: transparent !important;
  border-color: var(--cab-crema) !important;
  color: var(--cab-crema) !important;
}
.cid-v1RdVQZgJX .mbr-section-btn .btn + .btn:hover {
  background-color: var(--cab-crema) !important;
  color: var(--cab-verde) !important;
}
/* puntos del slider */
.cab-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.cab-hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  background: rgba(244, 239, 228, .4);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.cab-hero-dots button.is-active { background: var(--cab-oro); width: 54px; }

/* ---------- GALERÍA DE FOTOS ---------- */
.cab-gallery {
  background: var(--cab-crema);
  padding: 96px 0 104px;
  border-top: 4px solid var(--cab-crema);
}
.cab-gallery .cab-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.cab-gallery .mbr-label { color: var(--cab-verde); margin-bottom: 16px; }
.cab-gallery .mbr-section-title { color: var(--cab-verde); margin: 0; }
.cab-gallery .cab-intro { color: var(--cab-verde); max-width: 340px; margin: 0; }
.cab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 8px;
}
.cab-grid .cab-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: zoom-in;
  background: #ddd5c0;
}
.cab-grid .cab-item.wide { grid-column: span 2; }
.cab-grid .cab-item.tall { grid-row: span 2; }
.cab-grid .cab-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s;
}
.cab-grid .cab-item::after {
  content: "+";
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cab-oro);
  color: var(--cab-verde);
  font: 600 26px/40px 'Space Grotesk', sans-serif;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.cab-grid .cab-item:hover img { transform: scale(1.07); }
.cab-grid .cab-item:hover::after { opacity: 1; transform: none; }
.cab-grid .cab-item.is-hidden { display: none; }
.cab-gallery .cab-more {
  text-align: center;
  margin-top: 40px;
}
@media (max-width: 992px) {
  .cab-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .cab-gallery { padding: 64px 0 72px; }
}

/* Fotos sueltas clicables (galería de dos fotos, etc.) */
[data-cab-lb] { cursor: zoom-in; }

/* ---------- VISOR (lightbox) ---------- */
.cab-lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 26, 16, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.cab-lb.is-open { opacity: 1; visibility: visible; }
.cab-lb-img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transition: opacity .3s, transform .3s;
}
.cab-lb-img.is-changing { opacity: 0; transform: scale(.98); }
.cab-lb button {
  position: absolute;
  border: 0;
  background: transparent;
  color: var(--cab-crema);
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}
.cab-lb-close { top: 18px; right: 22px; font-size: 40px; line-height: 1; }
.cab-lb-prev, .cab-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50% !important;
  background: rgba(244, 239, 228, .1) !important;
  font-size: 28px;
  transition: background .25s, color .25s;
}
.cab-lb-prev { left: 20px; }
.cab-lb-next { right: 20px; }
.cab-lb-prev:hover, .cab-lb-next:hover { background: var(--cab-oro) !important; color: var(--cab-verde); }
.cab-lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cab-oro);
  font: 600 14px 'Space Grotesk', sans-serif;
  letter-spacing: .12em;
}
@media (max-width: 768px) {
  .cab-lb-prev, .cab-lb-next { top: auto; bottom: 14px; transform: none; width: 48px; height: 48px; }
  .cab-lb-count { bottom: 30px; }
}

/* ---------- Menú sobre la foto de cabecera ---------- */
.cab-brand img { width: auto; display: block; filter: drop-shadow(0 1px 8px rgba(0,0,0,.35)); }
.cab-brand-icon { height: 62px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.3)) !important; }
.cab-brand-full { height: 48px; display: none !important; }
/* Menú fijo al bajar: fondo verde y logo completo */
.cid-v1RdVHtC3j.cab-scrolled .navbar.navbar-dropdown {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  background: var(--cab-verde) !important;
  min-height: 78px !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  animation: cabMenuIn .45s ease both;
}
.cid-v1RdVHtC3j.cab-scrolled .cab-brand-icon { display: none !important; }
.cid-v1RdVHtC3j.cab-scrolled .cab-brand-full { display: block !important; filter: none; }
.cid-v1RdVHtC3j.cab-scrolled .navbar-buttons .btn {
  background-color: var(--cab-oro) !important;
  border-color: var(--cab-oro) !important;
  color: var(--cab-verde) !important;
}
.cid-v1RdVHtC3j.cab-scrolled .nav-link { text-shadow: none !important; }
@keyframes cabMenuIn { from { transform: translateY(-100%); } to { transform: none; } }
.cid-v1RdVHtC3j .navbar.opened .cab-brand img { filter: none; }
.cid-v1RdVHtC3j .hamburger span { background-color: #fff !important; }
.cid-v1RdVHtC3j .navbar.opened .hamburger span { background-color: var(--cab-verde) !important; }
@media (min-width: 992px) {
  .cid-v1RdVHtC3j .navbar-nav {
    background: transparent !important;
    border-color: transparent !important;
  }
  .cid-v1RdVHtC3j .nav-link {
    color: #fff !important;
    text-shadow: 0 1px 10px rgba(0,0,0,.45);
  }
  .cid-v1RdVHtC3j .nav-link:hover { color: var(--cab-oro) !important; }
}
@media (max-width: 991px) {
  .cab-brand-icon { height: 46px; }
  .cab-brand-full { height: 38px; }
  .cid-v1RdVHtC3j.cab-scrolled .navbar.opened { background: var(--cab-oro) !important; }
  .cid-v1RdVHtC3j.cab-scrolled .hamburger span { background-color: #fff !important; }
}

/* ---------- Logotipo grande en la portada ---------- */
.cab-hero-logo { margin: 0 0 28px; line-height: 0; text-align: center !important; display: block; }
.cab-hero-logo img {
  display: block;
  margin: 0 auto;
  height: 220px;
  max-width: 88%;
  width: auto;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,.35));
}
@media (max-width: 992px) { .cab-hero-logo img { height: 160px; } }

/* ---------- Pie: enlaces visibles sobre fondo oscuro ---------- */
.cid-v1Rfat2VWd .item-wrap a,
.cid-v1Rfat2VWd .mbr-copy a { color: inherit !important; }
.cid-v1Rfat2VWd .item-wrap { color: var(--cab-crema) !important; border-color: rgba(244,239,228,.35) !important; }
.cid-v1Rfat2VWd .item-wrap:hover { background: var(--cab-oro) !important; color: var(--cab-verde) !important; }
.cid-v1Rfat2VWd .mbr-copy a:hover { color: var(--cab-oro) !important; }

/* ---------- Menú: letra más ligera ---------- */
.cid-v1RdVHtC3j .nav-link { font-weight: 400 !important; letter-spacing: .02em; }
.cid-v1RdVHtC3j .navbar-buttons .btn { font-weight: 500 !important; }

/* ---------- Botón principal dorado sobre la cabecera oscura ---------- */
.cid-v1RdVQZgJX .mbr-section-btn .btn:first-child,
.cid-v1RdVHtC3j .navbar-buttons .btn {
  background-color: var(--cab-oro) !important;
  border-color: var(--cab-oro) !important;
  color: var(--cab-verde) !important;
}
.cid-v1RdVQZgJX .mbr-section-btn .btn:first-child:hover,
.cid-v1RdVHtC3j .navbar-buttons .btn:hover {
  background-color: var(--cab-crema) !important;
  border-color: var(--cab-crema) !important;
}

/* ---------- Cabecera v2: composición lateral (texto a la izquierda, fotos a la derecha) ---------- */
.cid-v1RdVQZgJX .cont-wrapper .cont-wrap { background-color: #0c110e !important; }
.cab-hero-shade { background: rgba(10, 12, 11, .62) !important; }
@media (min-width: 992px) {
  .cab-hero-slide { left: 36%; background-position: center 30%; }
  .cab-hero-shade {
    background: linear-gradient(90deg,
      #0c110e 0%, #0c110e 36%,
      rgba(12, 17, 14, .7) 46%,
      rgba(12, 17, 14, .2) 66%,
      rgba(12, 17, 14, 0) 100%) !important;
  }
  .cid-v1RdVQZgJX .card-wrapper {
    max-width: 46%;
    padding-left: 5vw !important;
    padding-right: 0 !important;
  }
  .cid-v1RdVQZgJX .mbr-section-title,
  .cid-v1RdVQZgJX .mbr-text,
  .cid-v1RdVQZgJX .text-wrapper,
  .cid-v1RdVQZgJX .mbr-section-btn { text-align: left !important; }
  .cid-v1RdVQZgJX .text-wrapper .mbr-text { width: 100% !important; }
  .cab-hero-logo { text-align: left !important; }
  .cab-hero-logo img { margin: 0 !important; height: 240px; }
  .cab-hero-dots { left: auto; right: 5vw; transform: none; }
}

/* ---------- Cabecera v3: transición más suave y bloque izquierdo centrado ---------- */
@media (min-width: 992px) {
  .cab-hero-slide { left: 22%; }
  .cab-hero-shade {
    background: linear-gradient(90deg,
      #0c110e 0%, #0c110e 20%,
      rgba(12, 17, 14, .88) 32%,
      rgba(12, 17, 14, .62) 45%,
      rgba(12, 17, 14, .3) 62%,
      rgba(12, 17, 14, .12) 80%,
      rgba(12, 17, 14, .05) 100%) !important;
  }
  .cid-v1RdVQZgJX .card-wrapper {
    max-width: 44%;
    padding-left: 3vw !important;
  }
  .cid-v1RdVQZgJX .mbr-section-title,
  .cid-v1RdVQZgJX .mbr-text,
  .cid-v1RdVQZgJX .text-wrapper,
  .cid-v1RdVQZgJX .mbr-section-btn,
  .cab-hero-logo { text-align: center !important; }
  .cab-hero-logo img { margin: 0 auto !important; height: 230px; }
  .cab-hero-logo::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: 30px auto 0;
    background: var(--cab-oro);
    opacity: .7;
  }
}

/* ---------- Cabecera v4: sin botones, degradado verde logo -> negro -> foto ---------- */
.cid-v1RdVQZgJX .cont-wrapper .cont-wrap { background-color: #14311F !important; }
@media (min-width: 992px) {
  .cab-hero-shade {
    background: linear-gradient(90deg,
      #14311F 0%, #14311F 14%,
      #0f2418 24%,
      rgba(10, 16, 12, .9) 34%,
      rgba(10, 16, 12, .62) 46%,
      rgba(10, 16, 12, .3) 62%,
      rgba(10, 16, 12, .12) 80%,
      rgba(10, 16, 12, .05) 100%) !important;
  }
}
.cid-v1RdVQZgJX .text-wrapper .mbr-text { margin-bottom: 0 !important; }


/* ---------- Cabecera v5: bloque de marca a la derecha, fotos a la izquierda ---------- */
@media (min-width: 992px) {
  .cab-hero-slide { left: 0 !important; right: 22%; }
  .cab-hero-shade {
    background: linear-gradient(270deg,
      #14311F 0%, #14311F 14%,
      #0f2418 24%,
      rgba(10, 16, 12, .9) 34%,
      rgba(10, 16, 12, .62) 46%,
      rgba(10, 16, 12, .3) 62%,
      rgba(10, 16, 12, .12) 80%,
      rgba(10, 16, 12, .05) 100%) !important;
  }
  .cid-v1RdVQZgJX .card-wrapper {
    margin-left: auto !important;
    padding-left: 0 !important;
    padding-right: 3vw !important;
  }
  .cab-hero-dots { right: auto; left: 5vw; }
}

/* ---------- Cabecera v6: degradado en diagonal ---------- */
@media (min-width: 992px) {
  .cab-hero-slide { right: 12%; }
  .cab-hero-shade {
    background: linear-gradient(295deg,
      #14311F 0%, #14311F 20%,
      #10291a 30%,
      rgba(10, 18, 13, .9) 40%,
      rgba(10, 16, 12, .6) 52%,
      rgba(10, 16, 12, .28) 66%,
      rgba(10, 16, 12, .1) 82%,
      rgba(10, 16, 12, .04) 100%) !important;
  }
}

/* ---------- Cabecera v7: diagonal desde el botón hasta la mitad inferior ---------- */
@media (min-width: 992px) {
  .cab-hero-slide { right: 0; }
  .cab-hero-shade {
    background: linear-gradient(300deg,
      #14311F 0%, #14311F 24%,
      #112b1c 32%,
      rgba(12, 22, 15, .85) 40%,
      rgba(10, 16, 12, .55) 48%,
      rgba(10, 16, 12, .25) 58%,
      rgba(10, 16, 12, .08) 72%,
      rgba(10, 16, 12, .03) 100%) !important;
  }
}

/* ---------- Cabecera v8: fotos desplazadas a la izquierda + verde estrecho y velo oscuro hasta la esquina ---------- */
@media (min-width: 992px) {
  .cab-hero-slide { left: calc(-1 * var(--shift, 0%)) !important; right: var(--shift, 0%) !important; }
  .cab-hero-shade {
    background:
      linear-gradient(322deg, #14311F 0%, #14311F 22%, rgba(20, 49, 31, .85) 30%, rgba(20, 49, 31, 0) 46%),
      linear-gradient(322deg, rgba(8, 12, 9, .9) 0%, rgba(8, 12, 9, .7) 30%, rgba(8, 12, 9, .42) 50%, rgba(8, 12, 9, .18) 72%, rgba(8, 12, 9, 0) 96%) !important;
  }
}
@media (min-width: 992px) {
  .cab-hero-slide {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 98%);
            mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 98%);
  }
}

/* ---------- Cabecera v9: diagonal marcada desde el botón del menú hasta los puntos del pase ---------- */
@media (min-width: 992px) {
  .cab-hero-shade {
    background: linear-gradient(315.6deg,
      #14311F 0%, #14311F 48%,
      #10281a 52%,
      rgba(8, 12, 9, .88) 55%,
      rgba(8, 12, 9, .6) 64%,
      rgba(8, 12, 9, .3) 76%,
      rgba(8, 12, 9, .1) 90%,
      rgba(8, 12, 9, .02) 100%) !important;
  }
  .cab-hero-slide {
    -webkit-mask-image: none;
            mask-image: none;
  }
}
@media (min-width: 992px) {
  .cab-hero-slide {
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
            mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
  }
}

/* ---------- Cabecera v10: verde bajo el logo y texto, fundido largo a negro y luego a la foto ---------- */
@media (min-width: 992px) {
  .cab-hero-shade {
    background: linear-gradient(315.6deg,
      #14311F 0%, #14311F 34%,
      #112a1b 40%,
      #0d1d13 46%,
      rgba(8, 12, 9, .85) 52%,
      rgba(8, 12, 9, .6) 60%,
      rgba(8, 12, 9, .34) 70%,
      rgba(8, 12, 9, .14) 83%,
      rgba(8, 12, 9, .03) 100%) !important;
  }
}

/* ---------- Servicios: tarjetas iguales, sin velo verde, foto más baja ---------- */
.cid-v1Re0cFaJG .item .item-wrapper .item-img::before { display: none !important; }
.cid-v1Re0cFaJG .item .item-wrapper { justify-content: flex-start !important; }
.cid-v1Re0cFaJG .item .item-wrapper .item-img img { height: 460px !important; }
.cid-v1Re0cFaJG .item .item-wrapper .card-box {
  flex: 1 1 auto;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (max-width: 991px) {
  .cid-v1Re0cFaJG .item .item-wrapper .item-img img { height: 340px !important; }
  .cid-v1Re0cFaJG .item .item-wrapper .card-box { min-height: 0; }
}

/* ---------- Por qué elegirnos + llamada a la acción, en dorado ---------- */
.cid-v1Re5CKdvT .card-wrapper { background-color: var(--cab-oro) !important; }
.cid-v1Re5CKdvT .mbr-section-title,
.cid-v1Re5CKdvT .item-title { color: var(--cab-verde) !important; }
.cid-v1Re5CKdvT .title-wrapper .card-icon { color: var(--cab-verde) !important; fill: var(--cab-verde) !important; }
.cid-v1Re5CKdvT .card-wrapper .items-wrapper .item .item-wrapper { background-color: #dcc283 !important; }
.cid-v1Re5CKdvT .icon-wrapper .card-icon {
  background-color: var(--cab-verde) !important;
  color: var(--cab-oro) !important;
  fill: var(--cab-oro) !important;
}
.cid-v1Re5CKdvT .main-btn .btn {
  background-color: var(--cab-verde) !important;
  border-color: var(--cab-verde) !important;
  color: var(--cab-oro) !important;
}
.cid-v1Re5CKdvT .main-btn .btn:hover {
  background-color: var(--cab-verde-osc) !important;
  color: var(--cab-crema) !important;
}
.cid-v1Re5CKdvT .cab-up { font-weight: 700; }
.cid-v1Re5CKdvT .cab-low { font-weight: 400; text-transform: none; }
.cid-v1Re5CKdvT .card-wrapper .main-btn { text-align: center; }
.cid-v1Re5CKdvT .card-wrapper .main-btn .btn {
  width: auto !important;
  padding: 14px 28px !important;
}

/* ---------- Botones con el mismo redondeo que las tarjetas (12px) ---------- */
.btn,
.mbr-section-btn .btn:not(.btn-form),
.mbr-form .btn,
.cid-v1Rfat2VWd .list .item-wrap { border-radius: 12px !important; }

/* Botón de llamada a la acción del bloque dorado: ancho completo, letra pequeña en blanco */
.cid-v1Re5CKdvT .card-wrapper .main-btn .btn {
  width: 100% !important;
  padding: 22px 28px !important;
  color: #fff !important;
  font-size: 1rem !important;
  letter-spacing: .04em;
}
.cid-v1Re5CKdvT .card-wrapper .main-btn .btn:hover { color: var(--cab-oro) !important; }

/* ---------- Mismo estilo de texto en los botones "Pide presupuesto" (menú y bloque dorado) ---------- */
.cid-v1RdVHtC3j .navbar-buttons .btn,
.cid-v1Re5CKdvT .card-wrapper .main-btn .btn {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase;
}
/* Al bajar (menú fijo): texto del botón en blanco */
.cid-v1RdVHtC3j.cab-scrolled .navbar-buttons .btn { color: #fff !important; }
.cid-v1RdVHtC3j.cab-scrolled .navbar-buttons .btn:hover { color: var(--cab-verde) !important; }

/* ---------- Botones más discretos: sin negrita y un punto más pequeños ---------- */
.btn,
.cid-v1RdVHtC3j .navbar-buttons .btn,
.cid-v1Re5CKdvT .card-wrapper .main-btn .btn {
  font-weight: 400 !important;
  font-size: .9rem !important;
}
/* Subtítulos de las tarjetas de servicios en minúscula */
.cid-v1Re0cFaJG .item-role {
  text-transform: none !important;
  font-weight: 400 !important;
  font-size: 1rem;
}

/* ---------- Quiénes somos ---------- */
.cid-v1Rea067RT .mbr-text { font-size: 1.15rem !important; line-height: 1.6; }

/* ---------- Cómo trabajamos (pasos) ---------- */
.cid-v1RdWT88uM .item-date { color: var(--cab-oro) !important; opacity: .75; }
.cid-v1RdWT88uM .item-title { margin-bottom: 10px; }
.cab-step-text {
  color: var(--cab-crema);
  opacity: .85;
  font-weight: 400 !important;
  line-height: 1.45;
  margin: 0;
}

/* ---------- Fotos sin velo verde (carrusel de trabajos; la de la opinión lo mantiene) ---------- */
.cid-v1RekR6Hnh .embla__slide .slide-content .item-wrapper .item-img::before { display: none !important; }

/* ---------- Opinión: cita más ligera ---------- */
.cid-v1RebOoUAY .mbr-text {
  font-weight: 400 !important;
  font-style: italic;
  font-size: 1.3rem !important;
  line-height: 1.5;
  color: var(--cab-crema) !important;
}
@media (min-width: 992px) {
  .cid-v1RdWT88uM .item-title { min-height: 2.5em; }
}

/* ---------- Texto solo para buscadores / lectores de pantalla ---------- */
.cab-sr { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- Mapa en color ---------- */
.cid-v1ReWevJM0 .google-map iframe { filter: none !important; }
@media (max-width: 991px) { .cid-v1ReWevJM0 .google-map iframe { height: 340px !important; } }

/* ---------- Barra fija inferior en móvil ---------- */
.cab-mbar { display: none; }
@media (max-width: 991px) {
  .cab-mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    background: #14311F; border-top: 1px solid rgba(201,165,92,.45);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  }
  .cab-mbar-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 10px; color: #fff !important; text-decoration: none !important;
    font-family: 'Space Grotesk', sans-serif; font-size: .95rem; font-weight: 400; letter-spacing: .02em;
  }
  .cab-mbar-btn + .cab-mbar-btn { border-left: 1px solid rgba(201,165,92,.35); }
  .cab-mbar-btn svg { width: 20px; height: 20px; fill: #c9a55c; flex: none; }
  .cab-mbar-btn:active { background: #0f2b1b; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- Sin scroll horizontal en móvil ---------- */
html, body { overflow-x: clip; }

/* ---------- Modalidades con foto de fondo ---------- */
.cid-v1Rf9XZe7f .price-wrapper.cab-mod-piscina,
.cid-v1Rf9XZe7f .price-wrapper.cab-mod-jardin,
.cid-v1Rf9XZe7f .price-wrapper.cab-mod-finca {
  position: relative; overflow: hidden; background-size: cover !important; background-position: center !important;
}
.cid-v1Rf9XZe7f .cab-mod-piscina { background-image: linear-gradient(rgba(20,49,31,.35), rgba(20,49,31,.55)), url("../images/banco/banco-abstract-water-surface-with-light-reflections.webp") !important; }
.cid-v1Rf9XZe7f .cab-mod-jardin  { background-image: linear-gradient(rgba(20,49,31,.45), rgba(20,49,31,.65)), url("../images/banco/banco-lush-green-grass-and-trees-in.webp") !important; }
.cid-v1Rf9XZe7f .cab-mod-finca   { background-image: linear-gradient(rgba(20,49,31,.45), rgba(20,49,31,.65)), url("../images/banco/banco-blooming-trees-and-dandelions-in-a.webp") !important; }
.cid-v1Rf9XZe7f .price-wrapper[class*="cab-mod-"] .item-price { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* ---------- Servicios: "Ver más" desplegable ---------- */
.cid-v1Re0cFaJG .items-wrapper { align-items: flex-start; }
.cab-more { margin-top: 14px; font-family: 'Space Grotesk', sans-serif; }
.cab-more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  color: #c9a55c; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 400;
}
.cab-more summary::-webkit-details-marker { display: none; }
.cab-more summary::after { content: "+"; font-size: 1.1rem; line-height: 1; transition: transform .25s; }
.cab-more[open] summary::after { transform: rotate(45deg); }
.cab-more p { margin: 12px 0 6px; color: #f4efe4; font-size: .85rem; opacity: .85; }
.cab-more ul { margin: 0; padding-left: 1.1em; color: #f4efe4; font-size: .85rem; line-height: 1.6; }
.cab-more li::marker { color: #c9a55c; }
@keyframes cabFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Carrusel solo de fotos ---------- */
.cid-v1RekR6Hnh .cab-photo-slide { min-width: 420px !important; max-width: 420px !important; }
.cid-v1RekR6Hnh .cab-photo-slide .slide-content .item-wrapper { padding: 0 !important; background: transparent !important; }
.cid-v1RekR6Hnh .cab-photo-slide .slide-content .item-wrapper .item-img { margin: 0 !important; }
.cid-v1RekR6Hnh .cab-photo-slide .slide-content .item-wrapper .item-img img {
  width: 100% !important; height: 320px !important; border-radius: 12px !important; object-fit: cover; cursor: zoom-in;
  transition: transform .5s ease;
}
.cid-v1RekR6Hnh .cab-photo-slide:hover .item-img img { transform: scale(1.02); }
@media (max-width: 767px) {
  .cid-v1RekR6Hnh .cab-photo-slide { min-width: 78vw !important; max-width: 78vw !important; }
  .cid-v1RekR6Hnh .cab-photo-slide .slide-content .item-wrapper .item-img img { height: 260px !important; }
}

/* ---------- Carrusel de fotos: flechas visibles a los lados ---------- */
.cid-v1RekR6Hnh .embla__button,
.cid-v1RekR6Hnh .embla__button:disabled {
  display: flex !important; top: 50%; bottom: auto !important; transform: translateY(-50%);
  width: 48px !important; height: 48px !important; z-index: 3; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.cid-v1RekR6Hnh .embla__button:disabled { opacity: .35 !important; cursor: default; }
.cid-v1RekR6Hnh .embla__button.embla__button--prev { left: 14px; }
.cid-v1RekR6Hnh .embla__button.embla__button--next { right: 14px; }

/* ================= CONTACTO + MAPA ================= */
.cid-v1ReXmiIe6 .content-wrapper { align-items: stretch; row-gap: 24px; }
.cab-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 26px; }
.cab-quick-btn {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: #14311F; color: #f4efe4 !important; text-decoration: none !important;
  font-family: 'Space Grotesk', sans-serif; font-size: .95rem; line-height: 1.2; transition: background .2s, transform .2s;
}
.cab-quick-btn:hover { background: #0f2b1b; transform: translateY(-1px); }
.cab-quick-btn svg { width: 22px; height: 22px; fill: #c9a55c; flex: none; }
.cab-quick-btn span { display: flex; flex-direction: column; min-width: 0; }
.cab-quick-btn small { font-size: .78rem; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cab-map { position: relative; height: 100%; min-height: 560px; border-radius: 12px; overflow: hidden; background: #e8e2d2; }
.cab-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: none; }
.cab-map-card {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px;
  background: #14311F; color: #f4efe4; border-radius: 12px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-family: 'Space Grotesk', sans-serif; font-size: .88rem; line-height: 1.4;
}
.cab-map-card strong { color: #c9a55c; font-weight: 700; }
.cab-map-card > div { flex: 1; }
.cab-map-ico svg { width: 26px; height: 26px; fill: #c9a55c; display: block; }
.cab-map-card .btn { margin: 0 !important; white-space: nowrap; background: #c9a55c !important; border-color: #c9a55c !important; color: #14311F !important; padding: 10px 16px !important; }
@media (max-width: 991px) {
  .cab-map { min-height: 420px; }
}
@media (max-width: 575px) {
  .cab-quick { grid-template-columns: 1fr; }
  .cab-map-card { flex-wrap: wrap; }
  .cab-map-card .btn { width: 100%; }
}

/* ================= PIE ================= */
.cab-footer { background: #f4efe4; padding: 8px 8px 8px; }
.cab-footer-in { background: #14311F; border-radius: 12px; padding: 36px 40px 26px; color: #f4efe4; font-family: 'Space Grotesk', sans-serif; }
.cab-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(201,165,92,.3); }
.cab-footer-logo img { height: 46px; width: auto; display: block; }
.cab-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.cab-footer-nav a { color: #f4efe4 !important; text-decoration: none; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.cab-footer-nav a:hover { color: #c9a55c !important; }
.cab-footer-social { display: flex; gap: 10px; }
.cab-footer-social a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(201,165,92,.5); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.cab-footer-social a:hover { background: rgba(201,165,92,.15); }
.cab-footer-social svg { width: 18px; height: 18px; fill: #c9a55c; }
.cab-footer-bottom { padding-top: 18px; font-size: .8rem; line-height: 1.6; opacity: .8; }
.cab-footer-bottom p { margin: 0 0 4px; }
.cab-footer-bottom a { color: #c9a55c !important; }
@media (max-width: 767px) {
  .cab-footer-in { padding: 28px 22px 22px; }
  .cab-footer-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- Formulario de contacto plegable ---------- */
.cab-quick-form { grid-column: 1 / -1; border: 0; width: 100%; text-align: left; cursor: pointer; background: #c9a55c !important; color: #14311F !important; }
.cab-quick-form svg { fill: #14311F; }
.cab-quick-form:hover { background: #d6b46d !important; }
.cab-quick-form span { flex: 1; }
.cab-quick-arrow { font-style: normal; font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.cab-quick-form[aria-expanded="true"] .cab-quick-arrow { transform: rotate(45deg); }
.cid-v1ReXmiIe6 .cab-form-box { display: none; }
.cid-v1ReXmiIe6 .cab-form-box.is-open { display: block; }
.cid-v1ReXmiIe6 .cab-form-box .mbr-form { margin-top: 0; }
.cab-quick-form { background: #14311F !important; color: #f4efe4 !important; }
.cab-quick-form svg { fill: #c9a55c; }
.cab-quick-form:hover { background: #0f2b1b !important; }
.cab-quick-arrow { color: #c9a55c; }
.cab-map-card { font-size: .85rem; }
.cab-map-card strong { font-size: .9rem; }
.cab-map-card { font-size: .85rem; }
.cab-map-card strong { font-size: .9rem; }

/* el bloque de botones no debe quedarse fijo al hacer scroll (se montaba sobre el formulario) */
.cid-v1ReXmiIe6 .card-wrapper .title-wrapper { position: static !important; }

/* logo nuevo: reseña con el símbolo entero y portada algo más pequeña */
.cid-v1RebOoUAY .card-wrapper .image-wrap img.cab-op-logo { width: 120px; height: 124px; object-fit: contain; border-radius: 0 !important; }
.cab-hero-logo img { height: 185px; }
@media (max-width: 992px) { .cab-hero-logo img { height: 135px; } }
@media (min-width: 993px) { .cab-hero-logo img { height: 185px !important; } }

/* portada: foto 2883 más alejada (se ve entera de alto) */
@media (min-width: 992px) {
  .cab-hero-slide.cab-hero-lejos { background-size: auto 100%; background-position: left center; background-repeat: no-repeat; transform: scale(1.04); }
  .cab-hero-slide.cab-hero-lejos.is-active { transform: scale(1); }
}

/* ---------- Cabecera v10: corte en diagonal limpio (sin degradado) ---------- */
@media (min-width: 992px) {
  .cab-hero-slide { -webkit-mask-image: none !important; mask-image: none !important; filter: brightness(.82); }
  .cab-hero-shade {
    background: #14311F !important;
    -webkit-clip-path: polygon(74% 0, 100% 0, 100% 100%, 38% 100%);
            clip-path: polygon(74% 0, 100% 0, 100% 100%, 38% 100%);
  }
}

/* línea dorada en el borde del corte */
.cab-hero-line { display: none; }
@media (min-width: 992px) {
  .cab-hero-line {
    display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: #c9a55c;
    -webkit-clip-path: polygon(74% 0, calc(74% + 4px) 0, calc(38% + 4px) 100%, 38% 100%);
            clip-path: polygon(74% 0, calc(74% + 4px) 0, calc(38% + 4px) 100%, 38% 100%);
  }
}

/* ---------- ¿Hablamos? en verde ---------- */
.cid-v1ReXmiIe6 .card-wrapper { background-color: #14311F !important; }
.cid-v1ReXmiIe6 .mbr-label, .cid-v1ReXmiIe6 .mbr-label span { color: #c9a55c !important; }
.cid-v1ReXmiIe6 .title-wrapper .mbr-section-title, .cid-v1ReXmiIe6 .title-wrapper .mbr-text { color: #f4efe4 !important; }
.cid-v1ReXmiIe6 .cab-quick-btn { background: #1f4a30 !important; }
.cid-v1ReXmiIe6 .cab-quick-btn:hover { background: #275a3b !important; }
.cid-v1ReXmiIe6 .cab-form-box { background-color: #1f4a30 !important; border-radius: 12px; }
.cid-v1ReXmiIe6 .cab-map-card { background: #14311F; border: 1px solid rgba(201,165,92,.35); }

/* ---------- Cierre: imagen grande con pide presupuesto ---------- */
.cab-cierre { background: #f4efe4; padding: 8px 8px 0; }
.cab-cierre-in { position: relative; border-radius: 12px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; }
.cab-cierre-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cab-cierre-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,12,9,.72) 0%, rgba(8,12,9,.35) 40%, rgba(8,12,9,0) 70%); }
.cab-cierre-txt { position: relative; z-index: 1; padding: 48px 56px; color: #f4efe4; max-width: 640px; }
.cab-cierre-txt h2 { font-family: 'Cinzel', serif; font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; color: #f4efe4; margin: 0 0 12px; }
.cab-cierre-txt p { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; margin: 0 0 22px; }
.cab-cierre-btn { background: #c9a55c !important; border: 0 !important; color: #14311F !important; border-radius: 12px !important; padding: 14px 22px !important; font-weight: 400 !important; font-size: .9rem; letter-spacing: .04em; margin: 0 !important; }
.cab-cierre-btn:hover { background: #d6b46d !important; }
@media (max-width: 767px) {
  .cab-cierre-in { min-height: 420px; }
  .cab-cierre-txt { padding: 28px 22px; }
}
@media (min-width: 768px) {
  .cab-cierre-in { align-items: center; }
  .cab-cierre-in::after { background: linear-gradient(90deg, rgba(8,12,9,.78) 0%, rgba(8,12,9,.5) 30%, rgba(8,12,9,0) 50%); }
  .cab-cierre-txt { max-width: 440px; }
  .cab-cierre-in img { object-position: 70% 40%; }
}
.cab-cierre-txt h2 { white-space: nowrap; font-size: clamp(2rem, 3.4vw, 3rem); }
@media (min-width: 768px) { .cab-cierre-txt { max-width: 500px; } }

/* servicios: títulos de las tarjetas en blanco */
.cid-v1Re0cFaJG .item-name { color: #ffffff !important; }

/* por qué: iconos de las tarjetas en blanco */
.cid-v1Re5CKdvT .icon-wrapper .card-icon { color: #ffffff !important; fill: #ffffff !important; }

/* pasos: etiqueta PASO 0X en blanco */
.cid-v1RdWT88uM .item-date { color: #ffffff !important; }

/* galería: al pasar el cursor por la foto de la derecha sale el compañero */
.cid-v1RehC6NIm .item-img { position: relative; overflow: hidden; }
.cid-v1RehC6NIm .item .item-wrapper .item-img img.cab-hover-img {
  position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.cid-v1RehC6NIm .item-img:hover .cab-hover-img { opacity: 1; }
@media (hover: none) { .cid-v1RehC6NIm .cab-hover-img { display: none; } }

/* ---------- Contacto + cierre: imagen grande con botones y formulario (sin mapa) ---------- */
.cid-v1ReXmiIe6 .card-wrapper {
  background:
    linear-gradient(90deg, rgba(8,12,9,.85) 0%, rgba(8,12,9,.68) 38%, rgba(8,12,9,.15) 62%, rgba(8,12,9,0) 80%),
    url("../images/banco/banco-cierre-camino.webp") center 60% / cover no-repeat !important;
  min-height: 640px; display: flex; align-items: center;
}
.cid-v1ReXmiIe6 .card-wrapper > .row, .cid-v1ReXmiIe6 .content-wrapper { width: 100%; }
.cid-v1ReXmiIe6 .title-wrapper .mbr-section-title, .cid-v1ReXmiIe6 .title-wrapper .mbr-text { color: #f4efe4 !important; }
.cid-v1ReXmiIe6 .title-wrapper .text-wrapper .mbr-text { width: 100% !important; }
.cid-v1ReXmiIe6 .cab-quick-btn { background: rgba(20,49,31,.92) !important; backdrop-filter: blur(4px); }
.cid-v1ReXmiIe6 .cab-quick-btn:hover { background: #1f4a30 !important; }
.cid-v1ReXmiIe6 .cab-form-box { background-color: rgba(20,49,31,.94) !important; }
@media (min-width: 992px) { .cid-v1ReXmiIe6 .content-wrapper > .col-lg-6 { max-width: 560px; } }
@media (max-width: 991px) {
  .cid-v1ReXmiIe6 .card-wrapper {
    background:
      linear-gradient(0deg, rgba(8,12,9,.88) 0%, rgba(8,12,9,.75) 55%, rgba(8,12,9,.35) 100%),
      url("../images/banco/banco-cierre-camino.webp") center / cover no-repeat !important;
    min-height: 0;
  }
}

/* fix: la foto al pasar el cursor debe ganar al estado oculto */
.cid-v1RehC6NIm .item .item-wrapper .item-img:hover img.cab-hover-img { opacity: 1; }

/* contacto: botones dorados a todo el ancho del bloque */
.cid-v1ReXmiIe6 .title-wrapper .mbr-label, .cid-v1ReXmiIe6 .title-wrapper .mbr-section-title, .cid-v1ReXmiIe6 .title-wrapper .text-wrapper { max-width: 560px; }
.cid-v1ReXmiIe6 .cab-quick-btn, .cid-v1ReXmiIe6 .cab-quick-form { background: #c9a55c !important; color: #14311F !important; backdrop-filter: none; }
.cid-v1ReXmiIe6 .cab-quick-btn:hover, .cid-v1ReXmiIe6 .cab-quick-form:hover { background: #d6b46d !important; }
.cid-v1ReXmiIe6 .cab-quick-btn svg { fill: #14311F !important; }
.cid-v1ReXmiIe6 .cab-quick-btn small { opacity: .8; }
.cid-v1ReXmiIe6 .cab-quick-arrow { color: #14311F !important; }
.cid-v1ReXmiIe6 .cab-quick { margin-top: 32px; }
@media (min-width: 992px) {
  .cid-v1ReXmiIe6 .cab-quick { grid-template-columns: repeat(5, 1fr); }
  .cid-v1ReXmiIe6 .cab-quick-form { grid-column: auto; }
  .cid-v1ReXmiIe6 .card-wrapper {
    background:
      linear-gradient(90deg, rgba(8,12,9,.82) 0%, rgba(8,12,9,.55) 45%, rgba(8,12,9,.25) 75%, rgba(8,12,9,.1) 100%),
      url("../images/banco/banco-cierre-camino.webp") center 60% / cover no-repeat !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) { .cid-v1ReXmiIe6 .cab-quick { grid-template-columns: 1fr 1fr; } .cid-v1ReXmiIe6 .cab-quick-form { grid-column: 1 / -1; } }

/* más aire arriba y abajo en cada bloque */
@media (min-width: 992px) {
  .cid-v1Re5CKdvT .card-wrapper,
  .cid-v1Rea067RT .card-wrapper,
  .cid-v1RekR6Hnh .card-wrapper,
  .cid-v1Rf4KFkjz .card-wrapper,
  .cid-v1ReXmiIe6 .card-wrapper { padding-top: 96px !important; padding-bottom: 96px !important; }
  .cid-v1RebOoUAY .card-wrapper { padding-top: 112px !important; padding-bottom: 112px !important; }
}
@media (max-width: 991px) {
  .cid-v1Re5CKdvT .card-wrapper,
  .cid-v1Rea067RT .card-wrapper,
  .cid-v1RekR6Hnh .card-wrapper,
  .cid-v1Rf4KFkjz .card-wrapper,
  .cid-v1ReXmiIe6 .card-wrapper,
  .cid-v1RebOoUAY .card-wrapper { padding-top: 56px !important; padding-bottom: 56px !important; }
}

/* contacto: el botón del formulario en blanco para distinguirlo */
.cid-v1ReXmiIe6 .cab-quick-form { background: #ffffff !important; color: #14311F !important; }
.cid-v1ReXmiIe6 .cab-quick-form:hover { background: #f4efe4 !important; }
.cid-v1ReXmiIe6 .cab-quick-form svg { fill: #c9a55c !important; }
.cid-v1ReXmiIe6 .cab-quick-form .cab-quick-arrow { color: #c9a55c !important; }

/* menú: icono inicial algo más grande y logo al hacer scroll más pequeño */
.cab-brand-icon { height: 72px; }
.cab-brand-full { height: 40px; }
@media (max-width: 991px) {
  .cab-brand-icon { height: 52px; }
  .cab-brand-full { height: 32px; }
}

/* contacto: todos los botones en blanco, icono verde y el + dorado */
.cid-v1ReXmiIe6 .cab-quick-btn, .cid-v1ReXmiIe6 .cab-quick-form { background: #ffffff !important; color: #14311F !important; }
.cid-v1ReXmiIe6 .cab-quick-btn:hover, .cid-v1ReXmiIe6 .cab-quick-form:hover { background: #f4efe4 !important; }
.cid-v1ReXmiIe6 .cab-quick-btn svg, .cid-v1ReXmiIe6 .cab-quick-form svg { fill: #14311F !important; }
.cid-v1ReXmiIe6 .cab-quick-form .cab-quick-arrow { color: #c9a55c !important; }

/* reseña: icono pequeño con borde dorado y velo dorado en la foto */
.cid-v1RebOoUAY .card-wrapper .image-wrap img.cab-op-logo { width: 84px !important; height: 84px !important; }
.cid-v1RebOoUAY .card-wrap::before { background-color: #c9a55c !important; opacity: .35 !important; }

/* contacto: textos de los botones más grandes */
.cid-v1ReXmiIe6 .cab-quick-btn { font-size: 1.05rem; padding: 16px 18px; gap: 14px; }
.cid-v1ReXmiIe6 .cab-quick-btn small { font-size: 1rem; opacity: .85; font-weight: 400; }
.cid-v1ReXmiIe6 .cab-quick-btn svg { width: 26px; height: 26px; }
@media (min-width: 992px) and (max-width: 1399px) { .cid-v1ReXmiIe6 .cab-quick { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) {
  .cid-v1ReXmiIe6 .cab-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1100px; }
  .cid-v1ReXmiIe6 .cab-quick-form { grid-column: span 2; }
}

/* contacto: botones repartidos a todo el ancho, sin hueco a la derecha */
@media (min-width: 992px) {
  .cid-v1ReXmiIe6 .cab-quick { display: flex !important; flex-wrap: wrap; gap: 10px; max-width: none; }
  .cid-v1ReXmiIe6 .cab-quick > .cab-quick-btn { flex: 1 1 auto; width: auto; }
  .cid-v1ReXmiIe6 .cab-quick-form { grid-column: auto; }
}
/* textos más grandes en toda la web */
.mbr-text.display-4, .cab-step-text, .panel-text { font-size: 1.1rem !important; line-height: 1.55 !important; }
.cid-v1ReXmiIe6 .title-wrapper .text-wrapper .mbr-text { font-size: 1.15rem !important; }
.cid-v1ReXmiIe6 .title-wrapper .text-wrapper { max-width: 640px; }
.cid-v1ReXmiIe6 .content-wrapper { margin-left: 0 !important; margin-right: 0 !important; }
.cid-v1ReXmiIe6 .content-wrapper > .col-12 { padding-left: 0 !important; padding-right: 0 !important; }
@media (min-width: 992px) { .cid-v1ReXmiIe6 .card-wrapper { padding-left: 48px !important; padding-right: 48px !important; } }

/* todavía un poco más de aire en los bloques */
@media (min-width: 992px) {
  .cid-v1Re5CKdvT .card-wrapper,
  .cid-v1Rea067RT .card-wrapper,
  .cid-v1RekR6Hnh .card-wrapper,
  .cid-v1Rf4KFkjz .card-wrapper,
  .cid-v1ReXmiIe6 .card-wrapper { padding-top: 120px !important; padding-bottom: 120px !important; }
  .cid-v1Re0cFaJG .item .item-wrapper .card-box { padding: 40px 36px !important; }
  .cid-v1RdWT88uM .item .item-wrapper { padding: 44px 36px !important; }
}
@media (max-width: 991px) {
  .cid-v1Re5CKdvT .card-wrapper,
  .cid-v1Rea067RT .card-wrapper,
  .cid-v1RekR6Hnh .card-wrapper,
  .cid-v1Rf4KFkjz .card-wrapper,
  .cid-v1ReXmiIe6 .card-wrapper { padding-top: 72px !important; padding-bottom: 72px !important; }
}

/* ---------- Contacto con el estilo de "Cuidamos cada rincón" (dorado, sin foto) ---------- */
.cid-v1ReXmiIe6 .card-wrapper { background: #c9a55c !important; min-height: 0 !important; display: block !important; }
.cid-v1ReXmiIe6 .title-wrapper .mbr-label, .cid-v1ReXmiIe6 .title-wrapper .mbr-label span,
.cid-v1ReXmiIe6 .title-wrapper .mbr-section-title, .cid-v1ReXmiIe6 .title-wrapper .mbr-text { color: #173d27 !important; }
.cid-v1ReXmiIe6 .cab-quick { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: none; margin-top: 40px; }
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-btn {
  background: #dcc283 !important; color: #173d27 !important; border-radius: 12px;
  flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 32px 16px !important;
}
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-btn:hover { background: #e3cc93 !important; transform: none; }
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-btn svg { width: 22px; height: 22px; padding: 10px; box-sizing: content-box; background: #173d27; border-radius: 10px; fill: #ffffff !important; }
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-btn span { align-items: center; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-btn small { text-transform: none; font-weight: 400; letter-spacing: 0; white-space: normal; overflow-wrap: anywhere; }
/* el botón del formulario como la barra verde de "pide tu presupuesto" */
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-form {
  grid-column: 1 / -1 !important; flex-direction: row; justify-content: center; text-align: center;
  background: #173d27 !important; color: #f4efe4 !important; padding: 20px 24px !important; margin-top: 16px;
}
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-form:hover { background: #10291b !important; }
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-form svg { background: transparent; padding: 0; fill: #c9a55c !important; }
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-form span { flex: 0 1 auto; flex-direction: row; gap: 10px; align-items: baseline; }
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-form small { opacity: .75; }
.cid-v1ReXmiIe6 .cab-quick > .cab-quick-form .cab-quick-arrow { color: #c9a55c !important; }
.cid-v1ReXmiIe6 .cab-form-box { background-color: #173d27 !important; margin-top: 8px; }
@media (max-width: 991px) {
  .cid-v1ReXmiIe6 .cab-quick { grid-template-columns: 1fr 1fr; }
  .cid-v1ReXmiIe6 .cab-quick > .cab-quick-form span { flex-direction: column; align-items: center; gap: 2px; }
}
@media (max-width: 575px) { .cid-v1ReXmiIe6 .cab-quick > .cab-quick-btn { padding: 22px 10px !important; } }
@media (min-width: 992px) { .cid-v1ReXmiIe6 .card-wrapper { padding-left: 32px !important; padding-right: 32px !important; } }
@media (max-width: 575px) { .cid-v1ReXmiIe6 .cab-quick > .cab-quick-btn small { font-size: .85rem; } }

/* contacto: icono de bocadillo en lugar de la etiqueta, como el sol del bloque dorado */
.cab-contact-icon { margin-bottom: 40px; line-height: 1; }
.cab-contact-icon .mbr-iconfont { font-size: 64px; color: #173d27; }

/* bloque dorado: título con la letra de los títulos y la frase como párrafo */
.cid-v1Re5CKdvT .card-wrapper .title-wrapper .title-wrap .mbr-section-title { width: 100%; max-width: 760px; margin-bottom: 20px; }
.cid-v1Re5CKdvT .cab-porque-text { color: #173d27 !important; max-width: 640px; margin-bottom: 48px; }
.cid-v1Re5CKdvT .cab-porque-text { font-size: 1.15rem !important; }

/* portada: logo y texto un poco más abajo */
@media (min-width: 992px) { .cid-v1RdVQZgJX .card-wrapper { transform: translateY(56px); } }

/* =========== PORTADA DEFINITIVA: foto entera en duotono verde y logo centrado =========== */
#inicio.cab-duo .cab-hero-slide {
  left: 0 !important; right: 0 !important;
  -webkit-mask-image: none !important; mask-image: none !important;
  background-size: cover !important; background-repeat: no-repeat !important;
  background-position: var(--x, 50%) var(--y, 45%) !important;
  filter: grayscale(1) contrast(1.1) brightness(.95) !important;
}
#inicio.cab-duo .cab-hero-shade { -webkit-clip-path: none !important; clip-path: none !important; background: #1d4a2e !important; mix-blend-mode: multiply; }
#inicio.cab-duo .cab-hero-line { display: none !important; }
@media (min-width: 992px) {
  #inicio.cab-duo .container-fluid { position: static !important; }
  #inicio.cab-duo .card-wrapper { position: absolute !important; z-index: 3; left: 50% !important; top: 50% !important; transform: translate(-50%, -46%) !important; width: 760px !important; margin: 0 !important; text-align: center !important; }
  #inicio.cab-duo .cab-hero-logo, #inicio.cab-duo .card-wrapper .mbr-text { text-align: center !important; }
  #inicio.cab-duo .cab-hero-logo img { margin: 0 auto !important; }
}
/* encuadre de cada foto de portada: la persona a un lado, sin quedar detrás del logo */
@media (min-width: 992px) {
  #inicio.cab-duo .cab-hero-slide { background-size: calc(var(--s, 1) * 100%) auto !important; background-position: var(--x, 50%) var(--y, 50%) !important; }
}
@media (max-width: 991px) {
  #inicio.cab-duo .cab-hero-slide { background-size: cover !important; background-position: var(--mx, 50%) center !important; }
}

/* =========== ANIMACIONES =========== */
/* portada: el logo y el texto entran suavemente al cargar */
@keyframes cabFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  #inicio .cab-hero-logo img { animation: cabFadeUp 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
  #inicio .card-wrapper .text-wrapper { animation: cabFadeUp 1.1s cubic-bezier(.2,.7,.2,1) .55s both; }
  #inicio .cab-hero-dots { animation: cabFadeUp .9s ease .9s both; }
}
/* bloques: aparecen al llegar a ellos con el scroll */
.cab-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.cab-reveal.is-in { opacity: 1; transform: none; }

/* =========== Logo de portada con brillo que lo recorre =========== */
.cab-logo-wrap { position: relative; display: inline-block; line-height: 0; }
#inicio .cab-hero-logo .cab-logo-wrap img.cab-logo-shine {
  position: absolute; left: 0; top: 0; width: 100%; height: 100% !important; margin: 0 !important;
  filter: brightness(2.1) saturate(.5) !important; pointer-events: none; opacity: 0;
  -webkit-mask-image: linear-gradient(100deg, transparent 42%, #000 50%, transparent 58%);
          mask-image: linear-gradient(100deg, transparent 42%, #000 50%, transparent 58%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
@keyframes cabShine {
  0%   { opacity: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  3%   { opacity: .9; }
  22%  { opacity: .9; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
  25%, 100% { opacity: 0; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
@media (prefers-reduced-motion: no-preference) {
  #inicio .cab-hero-logo img { animation: none; }
  #inicio .cab-hero-logo .cab-logo-wrap { animation: cabFadeUp 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
  #inicio .cab-hero-logo .cab-logo-wrap img.cab-logo-shine { animation: cabShine 8s ease-in-out 1.6s infinite; }
}

/* =========== Sol del bloque dorado: los rayos van saliendo =========== */
.cab-sun { width: 64px; height: 64px; display: block; overflow: visible; }
.cab-sun circle, .cab-sun line { fill: none; stroke: #173d27; stroke-width: 3.2; stroke-linecap: round; }
@keyframes cabDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes cabSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .cab-reveal .cab-sun circle, .cab-reveal .cab-sun line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .cab-reveal.is-in .cab-sun circle { animation: cabDraw .8s ease-out .2s forwards; }
  .cab-reveal.is-in .cab-sun line { animation: cabDraw .45s ease-out forwards; animation-delay: calc(.7s + var(--i) * .1s); }
  .cab-sun { transform-origin: 50% 50%; animation: cabSpin 60s linear infinite; }
}
#inicio .cab-hero-logo .cab-logo-wrap img { max-width: none !important; }
#inicio .cab-hero-logo .cab-logo-wrap img.cab-logo-shine { object-fit: contain; }
@media (max-width: 575px) { #inicio .cab-hero-logo .cab-logo-wrap { max-width: 88vw; } #inicio .cab-hero-logo .cab-logo-wrap img { max-width: 100% !important; } }

/* =========== Portada: palabras destacadas y texto que se escribe =========== */
#inicio .cab-hl { color: #c9a55c; }
@keyframes cabType { from { opacity: 0; } to { opacity: 1; } }
#inicio .cab-typing { animation: none !important; }
#inicio .cab-typing .cab-ch { opacity: 0; animation: cabType .05s linear both; }
#inicio .card-wrapper .text-wrapper { animation: none !important; }

/* =========== Botón "pide presupuesto" con brillo =========== */
.cid-v1RdVHtC3j .navbar-buttons .btn { position: relative; overflow: hidden; }
.cid-v1RdVHtC3j .navbar-buttons .btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg); pointer-events: none; opacity: 0;
}
@keyframes cabBtnShine { 0% { left: -60%; opacity: 0; } 2% { opacity: 1; } 18% { left: 120%; opacity: 1; } 19%, 100% { left: 120%; opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .cid-v1RdVHtC3j .navbar-buttons .btn::after { animation: cabBtnShine 7s ease-in-out 3s infinite; }
}

/* =========== Indicador "scroll" en vertical a la derecha de la portada =========== */
html { scroll-behavior: smooth; }
.cab-scroll {
  position: absolute; right: 40px; bottom: 36px; z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #f4efe4 !important; text-decoration: none !important;
}
.cab-scroll span { writing-mode: vertical-rl; font-family: 'Space Grotesk', sans-serif; font-size: .72rem; letter-spacing: .3em; }
.cab-scroll i { position: relative; display: block; width: 1px; height: 56px; background: rgba(244,239,228,.35); overflow: hidden; }
.cab-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #c9a55c; }
.cab-scroll::after { content: ""; width: 8px; height: 8px; border-right: 1px solid #c9a55c; border-bottom: 1px solid #c9a55c; transform: rotate(45deg); margin-top: -10px; }
.cab-scroll:hover span { color: #c9a55c; }
@keyframes cabScrollLine { 0% { top: -40%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: no-preference) { .cab-scroll i::after { animation: cabScrollLine 1.8s ease-in-out infinite; } }
@media (max-width: 767px) { .cab-scroll { display: none; } }

/* =========== Botón volver arriba =========== */
.cab-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
  background: #14311F; border: 1.5px solid #c9a55c; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s, background .2s;
}
.cab-top svg { width: 20px; height: 20px; fill: #c9a55c; }
.cab-top.is-on { opacity: 1; visibility: visible; transform: none; }
.cab-top:hover { background: #1f4a30; }
@media (max-width: 991px) { .cab-top { bottom: 84px; right: 16px; width: 44px; height: 44px; } }

/* =========== Frase destacada de portada con degradado dorado =========== */
#inicio .cab-hl {
  background: linear-gradient(90deg, #c9a55c 0%, #f3dc9f 35%, #c9a55c 60%, #e9c97f 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #c9a55c;
}
@keyframes cabGold { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@media (prefers-reduced-motion: no-preference) { #inicio .cab-hl { animation: cabGold 6s ease-in-out infinite; } }

/* =========== Rayo de luz blanco: más visible y también al pasar el ratón =========== */
#inicio .cab-hero-logo .cab-logo-wrap img.cab-logo-shine { filter: brightness(0) invert(1) !important; }
@keyframes cabShineOnce {
  0%   { opacity: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  10%  { opacity: .85; }
  90%  { opacity: .85; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
  100% { opacity: 0; -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
#inicio .cab-hero-logo .cab-logo-wrap:hover img.cab-logo-shine { animation: cabShineOnce 1.1s ease-out 1 !important; }

/* botón pide presupuesto: rayo más blanco y al pasar el ratón */
.cid-v1RdVHtC3j .navbar-buttons .btn::after { background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 100%) !important; }
@keyframes cabBtnSweep { 0% { left: -60%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
.cid-v1RdVHtC3j .navbar-buttons .btn:hover::after { animation: cabBtnSweep .8s ease-out 1 !important; }

/* icono del menú: rayo de luz al pasar el ratón */
.cid-v1RdVHtC3j .cab-brand { position: relative; }
.cid-v1RdVHtC3j .cab-brand::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 72px; height: 72px; transform: translateY(-50%);
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 62%);
  background-size: 300% 100%; background-position: 100% 0;
}
@keyframes cabIconSweep { 0% { opacity: 1; background-position: 100% 0; } 90% { opacity: 1; background-position: 0% 0; } 100% { opacity: 0; background-position: 0% 0; } }
.cid-v1RdVHtC3j .cab-brand:hover::after { animation: cabIconSweep .9s ease-out 1; }
.cid-v1RdVHtC3j.cab-scrolled .cab-brand::after { display: none; }
@media (max-width: 991px) { .cid-v1RdVHtC3j .cab-brand::after { width: 52px; height: 52px; } }
#inicio .cab-hero-logo .cab-logo-wrap img.cab-logo-shine {
  -webkit-mask-image: linear-gradient(100deg, transparent 43%, #000 48.5%, #000 51.5%, transparent 57%);
          mask-image: linear-gradient(100deg, transparent 43%, #000 48.5%, #000 51.5%, transparent 57%);
}

/* =========== Menú móvil =========== */
@media (max-width: 991px) {
  /* botón: sin círculo, solo tres líneas (blancas sobre la portada, doradas con el menú fijo) */
  .cid-v1RdVHtC3j button.navbar-toggler { background: transparent !important; width: 44px; height: 44px; }
  .cid-v1RdVHtC3j button.navbar-toggler .hamburger span { width: 26px; background-color: #ffffff !important; }
  .cid-v1RdVHtC3j.cab-scrolled button.navbar-toggler .hamburger span { background-color: #c9a55c !important; }
  .cid-v1RdVHtC3j .navbar.opened button.navbar-toggler .hamburger span { background-color: #173d27 !important; }
  /* menú abierto: ocupa toda la pantalla */
  .cid-v1RdVHtC3j .navbar.opened {
    position: fixed !important; top: 0; left: 0; right: 0; bottom: 0;
    height: 100vh !important; height: 100dvh !important; overflow-y: auto; z-index: 1200 !important;
    align-items: flex-start;
  }
  .cid-v1RdVHtC3j .navbar.opened .navbar-collapse { padding-top: 6vh; }
  .cid-v1RdVHtC3j .navbar.opened .nav-link { font-size: 1.25rem !important; padding: 14px 0 !important; }
  /* pide presupuesto: verde resaltado; al pulsar, blanco */
  .cid-v1RdVHtC3j .navbar.opened .navbar-buttons { margin-top: 28px; }
  .cid-v1RdVHtC3j .navbar.opened .navbar-buttons .btn {
    background: #14311F !important; border-color: #14311F !important; color: #f4efe4 !important;
    padding: 16px 28px !important; border-radius: 12px !important; font-size: 1rem !important;
  }
  .cid-v1RdVHtC3j .navbar.opened .navbar-buttons .btn .mbr-iconfont { color: #c9a55c !important; }
  .cid-v1RdVHtC3j .navbar.opened .navbar-buttons .btn:hover,
  .cid-v1RdVHtC3j .navbar.opened .navbar-buttons .btn:active,
  .cid-v1RdVHtC3j .navbar.opened .navbar-buttons .btn:focus { background: #ffffff !important; border-color: #ffffff !important; color: #14311F !important; }
}

/* =========== Botones flotantes: llamar, WhatsApp y subir =========== */
.cab-float { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cab-float .cab-top { position: static !important; right: auto; bottom: auto; }
.cab-fbtn {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  background: #14311F; border: 1.5px solid #c9a55c; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); text-decoration: none !important; transition: background .2s, transform .2s;
}
.cab-fbtn:hover { background: #1f4a30; transform: translateY(-2px); }
.cab-fbtn svg { width: 22px; height: 22px; fill: #c9a55c; }
/* etiqueta que aparece a la izquierda al pasar el ratón */
.cab-fbtn span {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  background: #14311F; color: #f4efe4; font-family: 'Space Grotesk', sans-serif; font-size: .85rem;
  padding: 8px 12px; border-radius: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.cab-fbtn:hover span { opacity: 1; transform: translate(0, -50%); }
/* el de subir solo aparece al bajar; los otros dos, siempre */
.cab-float .cab-top { width: 52px; height: 52px; }
.cab-float .cab-top:not(.is-on) { display: none; }
@media (max-width: 991px) {
  .cab-float { right: 16px; bottom: 84px; }
  .cab-fbtn, .cab-float .cab-top { width: 46px; height: 46px; }
  .cab-fbtn-tel { display: none; }   /* en móvil ya está "Llámanos" en la barra de abajo */
  .cab-fbtn span { display: none; }
}

/* el indicador de scroll se aparta de los botones flotantes */
@media (min-width: 992px) { .cab-scroll { right: 100px; } }

/* botones flotantes: en fila, y solo cuando se ha bajado de la portada */
.cab-float { flex-direction: row; align-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease, visibility .35s; }
.cab-float.is-on { opacity: 1; visibility: visible; transform: none; }
.cab-float .cab-top:not(.is-on) { display: flex; }
.cab-fbtn span { right: auto; left: 50%; top: auto; bottom: calc(100% + 10px); transform: translate(-50%, 6px); }
.cab-fbtn:hover span { transform: translate(-50%, 0); }
@media (min-width: 992px) { .cab-scroll { right: 40px; } }

/* "ver más" de servicios: texto a tamaño normal */
.cab-more p { font-size: 1.05rem; line-height: 1.5; opacity: .95; }
.cab-more ul { font-size: 1.05rem; line-height: 1.6; }
.cab-more li { margin-bottom: 4px; }

/* =========== Páginas legales =========== */
body.cab-legal { background: #f4efe4; }
.cab-legal-doc { max-width: 860px; margin: 0 auto; padding: 150px 24px 96px; font-family: 'Space Grotesk', sans-serif; color: #173d27; font-size: 1.05rem; line-height: 1.65; }
.cab-legal-doc h1 { font-family: 'Cinzel', serif; font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: #173d27; margin: 8px 0 6px; }
.cab-legal-doc h2 { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.3rem; color: #173d27; margin: 40px 0 12px; }
.cab-legal-doc p, .cab-legal-doc li { color: #173d27; }
.cab-legal-doc ul { padding-left: 1.2em; }
.cab-legal-doc li { margin-bottom: 6px; }
.cab-legal-doc li::marker { color: #c9a55c; }
.cab-legal-doc a { color: #8a6d2c; text-decoration: underline; }
.cab-legal-date { font-size: .9rem; opacity: .7; }
.cab-legal-back a { font-size: .9rem; text-decoration: none !important; color: #8a6d2c; }
.cab-pend { background: #f6e3a8; color: #173d27; padding: 2px 6px; border-radius: 6px; }
@media (max-width: 767px) { .cab-legal-doc { padding: 110px 18px 120px; } }

/* =========== Formulario: aceptación de privacidad =========== */
.cab-consent { color: #f4efe4; }
.cab-check { display: flex; gap: 10px; align-items: flex-start; font-family: 'Space Grotesk', sans-serif; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.cab-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: #c9a55c; flex: none; }
.cab-check a { color: #c9a55c !important; text-decoration: underline; }
.cab-consent-info { font-family: 'Space Grotesk', sans-serif; font-size: .8rem; line-height: 1.45; opacity: .7; margin: 10px 0 0; }
.cab-legal-doc strong { font-weight: 500; color: #8a6d2c; }

/* =========== Portada: vídeo de fondo =========== */
.cab-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
#inicio.cab-duo .cab-hero-video { filter: grayscale(1) contrast(1.1) brightness(.95); }
#inicio.cab-has-video .cab-hero-video { opacity: 1; }
#inicio.cab-has-video .cab-hero-dots { display: none; }
#inicio.cab-duo .cab-hero-video { filter: grayscale(1) contrast(1.1) brightness(.72); }

/* =========== Fotos de los chicos: vídeo al pasar el ratón =========== */
.cid-v1RehC6NIm .item .item-wrapper .item-img video.cab-hover-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.cid-v1RehC6NIm .item-img.is-playing video.cab-hover-video { opacity: 1; }
.cid-v1RehC6NIm .item-img:has(.cab-hover-video) { cursor: pointer; }
/* pequeño icono de "play" para que se sepa que hay vídeo */
.cab-play { position: absolute; right: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%; background: rgba(20,49,31,.85); border: 1.5px solid #c9a55c; pointer-events: none; transition: opacity .4s; }
.cab-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 15px solid #c9a55c; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.cid-v1RehC6NIm .item-img.is-playing .cab-play { opacity: 0; }
.cid-v1RehC6NIm .item .item-wrapper .item-img.is-playing video.cab-hover-video { opacity: 1; }
.cid-v1RehC6NIm .item .item-wrapper .item-img.is-playing .cab-play { opacity: 0; }

/* play centrado en el círculo */
.cab-play::after { left: 50% !important; top: 50% !important; transform: translate(-38%, -50%); border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
/* velo verde con degradado sobre el vídeo de los chicos */
.cid-v1RehC6NIm .item-img:has(.cab-hover-video)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: linear-gradient(0deg, rgba(20,49,31,.75) 0%, rgba(20,49,31,.35) 45%, rgba(20,49,31,.1) 100%);
}
.cid-v1RehC6NIm .item .item-wrapper .item-img.is-playing::after { opacity: 1; }
/* velo verde más marcado sobre el vídeo */
.cid-v1RehC6NIm .item-img:has(.cab-hover-video)::after {
  background: linear-gradient(0deg, rgba(20,49,31,.9) 0%, rgba(20,49,31,.6) 40%, rgba(20,49,31,.35) 75%, rgba(20,49,31,.2) 100%);
}
/* vídeo de los chicos con el mismo teñido verde que la portada */
.cid-v1RehC6NIm .item .item-wrapper .item-img video.cab-hover-video { filter: grayscale(1) contrast(1.1) brightness(.95); }
.cid-v1RehC6NIm .item-img:has(.cab-hover-video)::after { background: #1d4a2e; mix-blend-mode: multiply; }
/* vídeo de los chicos: teñido dorado, más claro */
.cid-v1RehC6NIm .item .item-wrapper .item-img video.cab-hover-video { filter: grayscale(1) contrast(1.05) brightness(1.15); }
.cid-v1RehC6NIm .item-img:has(.cab-hover-video)::after { background: #c9a55c; mix-blend-mode: multiply; }
/* vídeo de los chicos: sin teñido, en color natural */
.cid-v1RehC6NIm .item .item-wrapper .item-img video.cab-hover-video { filter: none; }
.cid-v1RehC6NIm .item-img:has(.cab-hover-video)::after { display: none; }
/* vídeo de los chicos: velo verde semitransparente sobre el color (estilo ovideabogados) */
.cid-v1RehC6NIm .item-img:has(.cab-hover-video)::after {
  display: block; mix-blend-mode: normal;
  background: linear-gradient(200deg, rgba(20,49,31,.62) 0%, rgba(20,49,31,.5) 55%, rgba(20,49,31,.42) 100%);
}

/* =========== Efectos del vídeo de los chicos (por defecto el 1; ?efecto=5 o ?efecto=6 para probar) =========== */
.cid-v1RehC6NIm .item-img:has(.cab-hover-video)::after { display: block; background: #9fbf95; mix-blend-mode: multiply; }
#galeria.fx5 .item-img:has(.cab-hover-video)::after { background: radial-gradient(ellipse at center, rgba(20,49,31,0) 45%, rgba(20,49,31,.7) 100%); mix-blend-mode: normal; }
#galeria.fx5 .item .item-wrapper .item-img video.cab-hover-video { filter: saturate(1.15) contrast(1.08); }
#galeria.fx6 .item-img:has(.cab-hover-video)::after { background: #c9a55c; mix-blend-mode: soft-light; }
#galeria.fx6 .item .item-wrapper .item-img video.cab-hover-video { filter: saturate(.85) contrast(1.1) brightness(.95); }

/* fotos de los chicos: marco con la misma proporción que el vídeo (16:9) para que se vea entero y nítido */
.cid-v1RehC6NIm .item .item-wrapper .item-img img { height: auto !important; aspect-ratio: 16 / 9; }
/* sin subir color ni contraste (el vídeo ya viene con efectos); solo la viñeta verde, más suave */
#galeria.fx5 .item .item-wrapper .item-img video.cab-hover-video { filter: none; }
#galeria.fx5 .item-img:has(.cab-hover-video)::after { background: radial-gradient(ellipse at center, rgba(20,49,31,0) 50%, rgba(20,49,31,.55) 100%); }
/* vídeo de los chicos en blanco y negro, con la viñeta verde suave */
#galeria.fx5 .item .item-wrapper .item-img video.cab-hover-video { filter: grayscale(1) contrast(1.05); }
/* vídeo de los chicos: en color, suave (un pelín menos de saturación) */
#galeria.fx5 .item .item-wrapper .item-img video.cab-hover-video { filter: saturate(.9); }
/* vídeo de los chicos: claroscuro (centro luminoso, bordes oscuros en verde) */
#galeria.fx5 .item .item-wrapper .item-img video.cab-hover-video { filter: contrast(1.12) saturate(.9) brightness(1.02); }
#galeria.fx5 .item-img:has(.cab-hover-video)::after {
  background: radial-gradient(ellipse 70% 75% at 50% 45%, rgba(255,248,230,.16) 0%, rgba(255,248,230,0) 45%, rgba(20,49,31,.35) 75%, rgba(10,25,16,.75) 100%);
  mix-blend-mode: normal;
}
/* claroscuro sin brillo extra: algo más oscuro en conjunto */
#galeria.fx5 .item .item-wrapper .item-img video.cab-hover-video { filter: contrast(1.08) saturate(.85) brightness(.9); }
#galeria.fx5 .item-img:has(.cab-hover-video)::after {
  background: radial-gradient(ellipse 70% 75% at 50% 45%, rgba(20,49,31,0) 35%, rgba(20,49,31,.4) 72%, rgba(10,25,16,.78) 100%);
}

/* =========== Ajustes móvil =========== */
@media (max-width: 991px) {
  /* borde dorado encima de la barra fija */
  .cab-mbar { border-top: 2px solid #c9a55c !important; }
  /* botones flotantes más separados de la barra y entre sí */
  .cab-float { bottom: calc(80px + env(safe-area-inset-bottom)) !important; gap: 14px !important; }
}
@media (max-width: 767px) {
  /* fotos de los chicos: formato más alto, como antes, para que el vídeo se vea grande */
  .cid-v1RehC6NIm .item .item-wrapper .item-img img:not(.cab-hover-img) { aspect-ratio: 8 / 9 !important; height: auto !important; }
}
/* en táctil: el cambio de foto se activa al llegar a la mitad (lo controla el script) */
@media (hover: none) {
  .cid-v1RehC6NIm .cab-hover-img { display: block !important; }
  .cid-v1RehC6NIm .item .item-wrapper .item-img.is-swapped img.cab-hover-img { opacity: 1; }
}
/* la foto que aparece encima se ajusta siempre al marco de la otra */
.cid-v1RehC6NIm .item .item-wrapper .item-img img.cab-hover-img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; }

/* =========== Menú: submenú PORTADAS (provisional, para enseñar opciones) =========== */
.cid-v1RdVHtC3j .cab-portadas { position: relative; }
.cid-v1RdVHtC3j .cab-portadas .dropdown-toggle::after { display: inline-block; content: ""; margin-left: 6px; vertical-align: 2px; border-top: 4px solid currentColor; border-left: 4px solid transparent; border-right: 4px solid transparent; }
.cid-v1RdVHtC3j .cab-portadas .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 200px; margin: 0;
  background: #14311F !important; border: 1px solid rgba(201,165,92,.5); border-radius: 12px; padding: 8px 0; box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.cid-v1RdVHtC3j .cab-portadas:hover .dropdown-menu, .cid-v1RdVHtC3j .cab-portadas.open .dropdown-menu { display: block; }
.cid-v1RdVHtC3j .cab-portadas .dropdown-item {
  display: block; padding: 10px 18px; color: #f4efe4 !important; font-family: 'Space Grotesk', sans-serif; font-size: .9rem; text-align: left; white-space: nowrap; background: transparent !important;
}
.cid-v1RdVHtC3j .cab-portadas .dropdown-item:hover { color: #c9a55c !important; }
.cid-v1RdVHtC3j .cab-portadas .dropdown-item::before { display: none !important; }
@media (max-width: 991px) {
  .cid-v1RdVHtC3j .cab-portadas .dropdown-menu { position: static; transform: none; border: 0; box-shadow: none; background: rgba(20,49,31,.12) !important; margin: 4px auto 8px; display: none; }
  .cid-v1RdVHtC3j .cab-portadas:hover .dropdown-menu { display: none; }
  .cid-v1RdVHtC3j .cab-portadas.open .dropdown-menu { display: block; }
  .cid-v1RdVHtC3j .cab-portadas .dropdown-item { text-align: center; color: #173d27 !important; font-size: 1.05rem; }
}
.cid-v1RdVHtC3j { position: relative; z-index: 1050; }
.cid-v1RdVHtC3j .cab-portadas .dropdown-menu { z-index: 1100; opacity: 1 !important; visibility: visible; }
.cid-v1RdVHtC3j .cab-portadas .dropdown-item { border-radius: 0 !important; opacity: 1 !important; }
.cid-v1RdVHtC3j .cab-portadas .dropdown-item[aria-current] { color: #c9a55c !important; }
#menu01-0 .cab-portadas .dropdown-menu .dropdown-item { display: block !important; width: auto !important; border: 0 !important; background: transparent !important; color: #f4efe4 !important; }
#menu01-0 .cab-portadas .dropdown-menu .dropdown-item:hover, #menu01-0 .cab-portadas .dropdown-menu .dropdown-item[aria-current] { color: #c9a55c !important; }
@media (max-width: 991px) {
  #menu01-0 .cab-portadas .dropdown-menu .dropdown-item { color: #173d27 !important; text-align: center; padding: 8px 12px; }
  #menu01-0 .cab-portadas .dropdown-menu .dropdown-item[aria-current] { color: #fff !important; }
}
/* logo de portada un pelín más grande */
@media (min-width: 993px) { .cab-hero-logo img { height: 210px !important; } }
@media (max-width: 992px) { .cab-hero-logo img { height: 155px; } }
/* portada en móvil: solo "Cuidado integral de / jardines, fincas y piscinas" */
.cab-br-mob { display: none; }
@media (max-width: 767px) {
  .cab-br-mob { display: inline; }
  #inicio .cab-hero-rest { display: none; }
}

/* portada en móvil: selectores de fotos centrados y "scroll" visible, por encima de la barra fija */
@media (max-width: 991px) {
  #inicio .cab-hero-dots { left: 50% !important; right: auto !important; transform: translateX(-50%) !important; bottom: 84px !important; }
  .cab-scroll { display: flex !important; right: 18px !important; bottom: 76px !important; gap: 8px; }
  .cab-scroll i { height: 40px; }
}
/* móvil: las fotos de la galería ocupan todo el ancho hasta los márgenes laterales */
@media (max-width: 767px) {
  .cid-v1RekR6Hnh .cab-photo-slide { min-width: calc(100% - 8px) !important; max-width: calc(100% - 8px) !important; }
  .cid-v1RekR6Hnh .cab-photo-slide .slide-content .item-wrapper .item-img img { height: 300px !important; }
}
/* móvil: el carrusel llega hasta el borde lateral y las fotos de los lados asoman cortadas */
@media (max-width: 767px) {
  .cid-v1RekR6Hnh .embla { margin-left: -24px !important; margin-right: -24px !important; }
  .cid-v1RekR6Hnh .cab-photo-slide { min-width: 84% !important; max-width: 84% !important; }
  .cid-v1RekR6Hnh .embla__button.embla__button--prev { left: 10px; }
  .cid-v1RekR6Hnh .embla__button.embla__button--next { right: 10px; }
}
@media (max-width: 767px) { .cid-v1RekR6Hnh .embla { width: calc(100% + 48px) !important; max-width: none !important; } .cid-v1RekR6Hnh .embla__viewport { width: 100% !important; } }
/* al pinchar: se queda la otra foto; con el ratón encima se ve la contraria */
.cid-v1RehC6NIm .item .item-wrapper .item-img.is-swapped img.cab-hover-img { opacity: 1; }
@media (hover: hover) {
  .cid-v1RehC6NIm .item .item-wrapper .item-img.is-swapped:hover img.cab-hover-img { opacity: 0; }
}
@media (max-width: 991px) { .cab-scroll { bottom: 86px !important; } }
/* escritorio: la galería llega hasta los bordes laterales del bloque */
@media (min-width: 768px) {
  .cid-v1RekR6Hnh .embla { margin-left: -32px !important; margin-right: -32px !important; width: calc(100% + 64px) !important; max-width: none !important; }
  .cid-v1RekR6Hnh .embla__viewport { width: 100% !important; }
}
/* móvil: marcadores centrados sin depender de transform (la animación de entrada lo anulaba) */
@media (max-width: 991px) {
  #inicio .cab-hero-dots { left: 0 !important; right: 0 !important; transform: none !important; justify-content: center; }
  /* scroll: centrado y en horizontal, encima de los marcadores */
  .cab-scroll { left: 0 !important; right: 0 !important; bottom: 104px !important; flex-direction: column; align-items: center; gap: 4px !important; margin: 0 auto; width: max-content; }
  .cab-scroll span { writing-mode: horizontal-tb; font-size: .68rem; letter-spacing: .35em; padding-left: .35em; }
  .cab-scroll i { display: none !important; }
  .cab-scroll::after { margin-top: 2px !important; }
  @keyframes cabBounce { 0%,100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(5px) rotate(45deg); } }
  .cab-scroll::after { animation: cabBounce 1.6s ease-in-out infinite; }
}
@media (max-width: 991px) { #inicio .cab-hero-dots { bottom: 128px !important; } .cab-scroll { bottom: 76px !important; } }
/* táctil: el "hover" se queda pegado al tocar; aquí manda solo is-swapped (scroll y toques) */
@media (hover: none) {
  .cid-v1RehC6NIm .item .item-wrapper .item-img:hover:not(.is-swapped) img.cab-hover-img,
  .cid-v1RehC6NIm .item-img:hover:not(.is-swapped) .cab-hover-img { opacity: 0 !important; }
  .cid-v1RehC6NIm .item .item-wrapper .item-img.is-swapped img.cab-hover-img { opacity: 1 !important; }
}
/* logo de portada: letras de CABESMA al nivel visual de los títulos de sección */
@media (min-width: 993px) { .cab-hero-logo img { height: 245px !important; } }
@media (max-width: 992px) { .cab-hero-logo img { height: 178px !important; } }
/* móvil: icono con el mismo margen arriba que a la izquierda (respecto al marco de la portada) */
@media (max-width: 991px) {
  .cid-v1RdVHtC3j:not(.cab-scrolled) .navbar:not(.opened) .navbar-brand,
  .cid-v1RdVHtC3j:not(.cab-scrolled) .navbar:not(.opened) .navbar-toggler { transform: translateY(14px); }
}

/* =========== Pie: crédito y versión móvil más aireada =========== */
.cab-footer-bottom .cab-credit { margin-top: 12px; opacity: .85; }
.cab-footer-bottom a { text-decoration: none; }
@media (max-width: 767px) {
  .cab-footer-in { padding: 32px 24px 28px; }
  .cab-footer-top { gap: 22px; padding-bottom: 26px; }
  .cab-footer-nav { gap: 12px 22px; }
  .cab-footer-bottom { padding-top: 22px; font-size: .88rem; line-height: 1.7; }
  .cab-footer-bottom p { margin: 0 0 16px; }
  .cab-footer-bottom .cab-fsep { display: none; }
  .cab-footer-bottom .cab-fi { display: block; margin-bottom: 2px; }
  .cab-footer-bottom .cab-credit { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid rgba(201,165,92,.25); }
}
@media (max-width: 767px) { .cab-footer-bottom p, .cab-footer-bottom .cab-fi { line-height: 1.55 !important; } .cab-footer-bottom .cab-fi { margin-bottom: 7px !important; } .cab-footer-bottom p { margin-bottom: 20px !important; } }
@media (max-width: 992px) { .cab-hero-logo img { height: 150px !important; } }
@media (max-width: 992px) { .cab-hero-logo img { height: 130px !important; } }
