/* =======================================================
   Versión: 0.26.0326.3
   Archivo: /public/assets/css/hero.css
   Cambio realizado:
   - Permite que título y subtítulo de los loc_hero usen más ancho útil
     en desktop.
   - Mantiene la altura visual corregida del fondo y el montaje con la
     card superpuesta.
   - Conserva la respuesta móvil ya afinada.
   ======================================================= */

/* =========================
   Shared Hero Base
   ========================= */

.hero{
  position:relative;
  min-height:100vh;
  padding-top:5.8rem;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:var(--BRAND-DARK);
}

.hero-bg{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:0;
}

.hero-inner{
  position:relative;
  z-index:2;
  padding:3.6rem 0;
}

.hero-bg-item{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity var(--hero-fade, 900ms) ease;
}

.hero-bg-item.is-active{
  opacity:1;
}

.hero-bg-media{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  display:block;
  border:0;
}

.hero-bg-media--iframe{
  pointer-events:none;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:transparent;
  z-index:1;
  pointer-events:none;
}

.hero-title{
  color:#fff;
  font-weight:900;
  letter-spacing:-0.02em;
  line-height:1.02;
  text-shadow:0 0 26px rgba(var(--brand-dark-rgb), .55);
  font-size:clamp(2.4rem, 5vw, 4.4rem);
}

.hero-sub{
  color:rgba(255,255,255,.92);
  font-weight:300;
  font-size:1.2rem;
  max-width:58rem;
}

/* =========================
   Home Hero Rating
   ========================= */

.hero-rating{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  flex-wrap:wrap;
}

.hero-rating-stars{
  display:inline-flex;
  align-items:center;
  gap:2px;
  padding:.42rem .72rem;
  border-radius:999px;
  background:rgba(255,255,255,.22);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.hero-rating-star{
  width:.95rem;
  height:.95rem;
  display:block;
  fill:#f4c542;
  stroke:#f4c542;
  stroke-width:1.6;
  flex:0 0 auto;
}

.hero-rating-link{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  color:#fff;
  text-decoration:none;
  font-size:.98rem;
  font-weight:600;
  line-height:1;
  text-shadow:0 1px 2px rgba(var(--brand-dark-rgb), .25);
}

.hero-rating-link:hover{
  color:#fff;
  text-decoration:none;
  opacity:.95;
}

.hero-rating-text,
.hero-rating-count{
  white-space:nowrap;
}

.hero-rating-count{
  color:rgba(255,255,255,.92);
  font-weight:500;
}

.hero-google-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.2rem;
  height:1.2rem;
  border-radius:50%;
  font-size:1rem;
  font-weight:800;
  line-height:1;
  color:#4285F4;
  background:transparent;
  text-shadow:0 1px 2px rgba(var(--brand-dark-rgb), .18);
}

.hero-google-badge img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

/* =========================
   Hero Button
   ========================= */

.btn-hero{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:0 !important;
  border-radius:999px !important;
  padding:14px 54px 14px 28px !important;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  background:linear-gradient(135deg, var(--accent), #39d6ff);
  color:#fff !important;
  transition:transform .18s ease, filter .18s ease;
}

.btn-hero::after{
  content:"→";
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  transition:transform .18s ease;
}

.btn-hero:hover{
  transform:translateY(-2px);
  filter:brightness(.98);
}

.btn-hero:hover::after{
  transform:translateY(-50%) translateX(4px);
}

/* =========================
   Location Hero
   ========================= */

.loc-hero{
  position:relative;
  min-height:clamp(760px, 82vh, 980px);
  max-height:none;
  margin-bottom:0;
  overflow:visible;
  isolation:isolate;
  background:#fff;
  margin-bottom:80px;
}

.loc-hero__bg{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  height:85%;
}

.loc-hero__bg-item{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity var(--loc-fade, 900ms) ease;
}

.loc-hero__bg-item.is-active{
  opacity:1;
}

.loc-hero__bg-media{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  border:0;
}

.loc-hero__bg-media--iframe{
  pointer-events:none;
}

.loc-hero__overlay{
  position:absolute;
  inset:0;
  background:transparent;
  z-index:1;
  pointer-events:none;
}

.loc-hero__inner{
  position:relative;
  z-index:2;
  min-height:auto;
  display:flex;
  align-items:center;
  padding-top:10rem;
  padding-bottom:clamp(11rem, 18vw, 15.5rem);
}

.loc-hero__content{
  color:#fff;
  max-width:none;
}

.loc-hero__eyebrow{
  margin-bottom:1rem;
  font-size:.92rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.88);
}

.loc-hero__title{
  margin:0 0 1.25rem;
  font-size:clamp(2.3rem, 5.2vw, 5rem);
  line-height:.98;
  font-weight:800;
  color:#fff;
  text-wrap:balance;
}

.loc-hero__subtitle{
  margin:0;
  /*max-width:760px;*/
  font-size:clamp(1rem, 1.6vw, 1.35rem);
  line-height:1.55;
  color:rgba(255,255,255,.92);
}

.loc-hero__actions{
  margin-top:2rem;
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}

.loc-hero__btn,
.loc-hero__btn:link,
.loc-hero__btn:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 1.75rem;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-weight:800;
  font-size:1rem;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(48,224,198,.22);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease, -webkit-transform .18s ease;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.loc-hero__btn:hover{
  color:#fff;
  -webkit-transform:translate3d(0, -2px, 0);
  transform:translate3d(0, -2px, 0);
  box-shadow:0 12px 24px rgba(var(--brand-dark-rgb), .24);
}

.loc-hero__card-wrap{
  position:relative;
  z-index:3;
  /*margin-top:clamp(-8rem, -10vw, -4.5rem);*/
  margin-top: clamp(-14rem, -14vw, -3.5rem);	
  margin-bottom:0;
}

.loc-hero__card{
  width:min(1120px, 100%);
  margin:0 auto;
  background:#fff;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 22px 55px rgba(var(--brand-dark-rgb), .16);
}

.loc-hero__card-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1.15fr;
}

.loc-hero__cell{
  min-height:220px;
  padding:2rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-right:1px solid rgba(15,23,42,.08);
  background:#fff;
}

.loc-hero__cell:last-child{
  border-right:0;
}

.loc-hero__cell--map{
  padding:0;
  overflow:hidden;
}

.loc-hero__icon{
  width:52px;
  height:52px;
  margin-bottom:1rem;
  color:var(--BRAND-DARK);
  display:flex;
  align-items:center;
  justify-content:center;
}

.loc-hero__icon svg{
  width:34px;
  height:34px;
  display:block;
}

.loc-hero__cell-title{
  margin-bottom:.65rem;
  font-size:1.45rem;
  line-height:1.2;
  font-weight:800;
  color:var(--BRAND-DARK);
  text-wrap:balance;
}

.loc-hero__cell-text{
  font-size:1.08rem;
  line-height:1.45;
  color:#334155;
}

.loc-hero__cell-link,
.loc-hero__cell-link:link,
.loc-hero__cell-link:visited{
  font-size:1.08rem;
  line-height:1.45;
  color:var(--BRAND-DARK);
  text-decoration:none;
}

.loc-hero__cell-link:hover{
  text-decoration:underline;
}

.loc-hero__card-btn,
.loc-hero__card-btn:link,
.loc-hero__card-btn:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 1.25rem;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease, -webkit-transform .18s ease;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.loc-hero__card-btn:hover{
  color:#fff;
  -webkit-transform:translate3d(0, -2px, 0);
  transform:translate3d(0, -2px, 0);
  box-shadow:0 12px 24px rgba(var(--brand-dark-rgb), .24);
}

.loc-hero__map-link{
  display:block;
  width:100%;
  height:100%;
  color:inherit;
  text-decoration:none;
}

.loc-hero__map{
  display:block;
  width:100%;
  height:100%;
  min-height:220px;
  border:0;
  pointer-events:none;
  object-fit:cover;
}

.loc-hero__map-placeholder{
  width:100%;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.5rem;
  color:#64748b;
  background:#f8fafc;
  text-align:center;
  font-weight:600;
}

@media (max-width: 1199.98px){
  .loc-hero__inner{
    padding-top:6.5rem;
    padding-bottom:9rem;
  }
}

@media (max-width: 991.98px){
  .hero-rating-link{
    font-size:.92rem;
  }

  .hero-rating-stars{
    padding:.38rem .64rem;
  }

  .hero-rating-star{
    width:.88rem;
    height:.88rem;
  }

  .loc-hero{
    min-height:auto;
    max-height:none;
    margin-bottom:0;
  }

  .loc-hero__bg{
    height:100%;
  }

  .loc-hero__inner{
    min-height:68vh;
    padding-top:6rem;
    padding-bottom:7rem;
  }

  .loc-hero__card-wrap{
    margin-top:-3rem;
    margin-bottom:0;
  }

  .loc-hero__card-grid{
    grid-template-columns:1fr;
  }

  .loc-hero__cell{
    min-height:unset;
    padding:1.8rem 1.25rem;
    border-right:0;
    border-bottom:1px solid rgba(15,23,42,.08);
  }

  .loc-hero__cell:last-child{
    border-bottom:0;
  }

  .loc-hero__map,
  .loc-hero__map-placeholder{
    min-height:260px;
  }
}

@media (max-width: 767.98px){
  .loc-hero{
    margin-bottom:0;
  }

  .loc-hero__inner{
    padding-top:8.2rem;
    padding-bottom:6rem;
  }

  .loc-hero__card-wrap{
    margin-top:-2.25rem;
    padding-bottom:0;
  }

  .loc-hero__title{
    font-size:clamp(2rem, 10vw, 3.2rem);
  }

  .loc-hero__subtitle{
    font-size:1rem;
  }

  .loc-hero__card{
    border-radius:24px;
  }

  .loc-hero__cell-title{
    font-size:1.2rem;
  }

  .loc-hero__btn,
  .loc-hero__card-btn,
  .loc-hero__actions{
    width:100%;
  }
}

@media (max-width: 575.98px){
  .loc-hero{
    margin-bottom:0;
  }

  .loc-hero__inner{
    padding-top:9.35rem;
    padding-bottom:5rem;
  }

  .loc-hero__card-wrap{
    margin-top:-1.25rem;
    margin-bottom:0;
  }

  .loc-hero__card{
    border-radius:22px;
  }

  .hero-rating{
    gap:.42rem;
  }

  .hero-rating-link{
    font-size:.84rem;
  }

  .hero-rating-stars{
    padding:.34rem .58rem;
  }

  .hero-rating-star{
    width:.82rem;
    height:.82rem;
  }

  .hero-google-badge{
    width:1.05rem;
    height:1.05rem;
    font-size:.9rem;
  }
}
