/*
 * Es Turó de França — 2.5.4
 * Dirección creativa: vídeo arquitectónico protagonista, lectura editorial a la derecha.
 * Sin tarjeta flotante, sin cambios de texto, sin cambiar la identidad.
 */
html body .etf-branded-header .etf-header-language-slot,
html body .site-header .etf-header-language-slot,
html body #masthead .etf-header-language-slot {
  margin-left: clamp(28px, 3vw, 56px) !important;
}
html body .etf-header-language-slot .etf-header-languages { gap: 8px !important; }

html body .etf-home .etf-hero {
  min-height: min(850px, calc(100svh - 70px)) !important;
  position: relative;
  overflow: hidden;
  background: #3D4030 var(--etf-hero-poster,var(--etf-hero-photo)) center / cover no-repeat !important;
  isolation: isolate;
}
html body .etf-home .etf-hero__video {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  filter: saturate(.98) contrast(1.01) brightness(.96);
  transform: none !important;
}
/* Oscurece SOLO detrás del texto; la casa queda nítida y visible. */
html body .etf-home .etf-hero::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(270deg,
    rgba(22,27,20,.88) 0%,
    rgba(22,27,20,.76) 20%,
    rgba(22,27,20,.38) 42%,
    rgba(22,27,20,.08) 61%,
    transparent 76%) !important;
}
html body .etf-home .etf-hero::after {
  display: block;
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 115px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(22,27,20,.36), transparent) !important;
}
html body .etf-home .etf-hero > .etf-container {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-block: 48px 72px;
}
html body .etf-home .etf-hero__content {
  position: relative;
  flex: 0 0 min(495px, 39vw);
  width: min(495px, 39vw);
  max-width: 495px;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  outline: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  text-align: left !important;
}
html body .etf-home .etf-hero__content::before { display: none !important; }
html body .etf-home .etf-hero .etf-kicker {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 0 0 19px;
  font-family: var(--etf-sans);
  font-size: 11px !important;
  letter-spacing: .18em;
  font-weight: 600;
  text-transform: uppercase;
  color: #F5ECDC !important;
}
html body .etf-home .etf-hero .etf-kicker::before {
  width: 31px;
  height: 1px;
  flex: 0 0 31px;
  background: #BCA686;
}
html body .etf-home .etf-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #FFF !important;
  font-family: var(--etf-serif) !important;
  font-size: clamp(66px, 6.15vw, 106px) !important;
  font-weight: 400 !important;
  line-height: .93 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
}
html body .etf-home .etf-hero__lead {
  max-width: 43ch;
  margin: 24px 0 0;
  color: rgba(255,255,255,.94) !important;
  font-family: var(--etf-sans) !important;
  font-size: clamp(16px, 1.15vw, 19px) !important;
  line-height: 1.75 !important;
  font-weight: 400;
}
html body .etf-home .etf-hero__actions {
  display: flex !important;
  align-items: center;
  flex-direction: row !important;
  gap: 25px !important;
  margin-top: 30px !important;
  flex-wrap: wrap !important;
}
html body .etf-home .etf-hero__actions .etf-btn {
  min-height: 48px;
  padding: 15px 17px;
  border-radius: 0 !important;
  font-family: var(--etf-sans) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
}
html body .etf-home .etf-hero__actions .etf-btn--gold {
  background: #BCA686 !important;
  color: #252A20 !important;
  border: 1px solid #BCA686 !important;
  box-shadow: none !important;
}
html body .etf-home .etf-hero__actions .etf-btn--gold:hover,
html body .etf-home .etf-hero__actions .etf-btn--gold:focus-visible { background: #E0CDB0 !important; color: #252A20 !important; }
html body .etf-home .etf-hero__actions .etf-btn--light {
  min-height: auto;
  background: transparent !important;
  color: #F6F3EC !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(246,243,236,.64) !important;
  padding: 8px 0 7px;
  box-shadow: none !important;
  border-radius: 0 !important;
}
html body .etf-home .etf-hero__actions .etf-btn--light:hover { color: #FFF !important; border-bottom-color: #FFF !important; }
html body .etf-home .etf-booking-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  padding-top: 19px;
  margin-top: 25px;
  border-top: 1px solid rgba(246,243,236,.35);
  color: rgba(246,243,236,.82) !important;
  font-family: var(--etf-sans);
  font-size: 10px !important;
  letter-spacing: .035em;
  line-height: 1.5;
}
html body .etf-home .etf-booking-note span::before { color: #BCA686 !important; }

/* El tema también soporta el plugin antiguo mientras se instala 1.5.2. */
html body .etf-booking .etf-contact .etf-payment-security {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  justify-content: flex-start !important;
}

@media(max-width: 1200px) and (min-width: 761px) {
  html body .etf-home .etf-hero__content {width:min(440px,43vw); flex-basis:min(440px,43vw);}
  html body .etf-home .etf-hero h1 {font-size:clamp(58px,6vw,78px) !important;}
  html body .etf-home .etf-hero__actions {gap: 18px !important;}
}
@media(max-width:760px) {
  html body .etf-header-language-slot {margin-left:0 !important;}
  html body .etf-home .etf-hero {min-height:740px !important;}
  html body .etf-home .etf-hero__video {
    object-position:center center;
  }
  html body .etf-home .etf-hero::before {
    background:linear-gradient(0deg,
      rgba(19,23,18,.89) 0%, rgba(19,23,18,.82) 19%,
      rgba(19,23,18,.52) 43%, rgba(19,23,18,.10) 76%, transparent 100%) !important;
  }
  html body .etf-home .etf-hero > .etf-container {
    align-items: flex-end;
    justify-content: flex-start;
    padding-block: 160px 35px;
  }
  html body .etf-home .etf-hero__content {
    width:100% !important; max-width:100% !important; flex: 0 1 100%;
  }
  html body .etf-home .etf-hero h1 {font-size:clamp(51px, 13vw, 78px) !important;line-height:.95 !important;}
  html body .etf-home .etf-hero__lead {max-width:100%;font-size:15.5px !important;line-height:1.62 !important;margin-top:16px;}
  html body .etf-home .etf-hero__actions {gap:15px !important;margin-top:21px !important;}
  html body .etf-home .etf-hero__actions .etf-btn--gold {flex:1 1 100%;}
  html body .etf-home .etf-booking-note {margin-top:19px;padding-top:15px;}
}
@media(max-width:400px) {
  html body .etf-home .etf-hero > .etf-container {padding-top:130px;}
  html body .etf-home .etf-hero h1 {font-size:clamp(48px, 12vw, 58px) !important;}
  html body .etf-home .etf-booking-note {gap:6px 11px;font-size:9px !important;}
}
@media(prefers-reduced-motion:reduce) {
  html body .etf-home .etf-hero__video {display:none !important;}
  html body .etf-home .etf-hero {background-image:var(--etf-hero-poster,var(--etf-hero-photo)) !important;}
}
@media(max-width:600px) {
  html body .etf-branded-header .etf-header-language-slot,
  html body .site-header .etf-header-language-slot,
  html body #masthead .etf-header-language-slot {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 1 100% !important;
    box-sizing: border-box;
  }
}
