/* Portada y catálogo de circuitos */
:root {
  --titulos-eje: "Montserrat", Arial, sans-serif;
}

.header nav a[href="#destinos"]:not([aria-current]):not(:hover) {
  color: inherit;
}

.cover {
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.cover:after {
  background:
    linear-gradient(90deg, #101010e8, #10101063 53%, transparent 85%),
    linear-gradient(0deg, #101010be, transparent 40%);
}

.cover .hero-content {
  padding-block: clamp(3.7rem, 8vw, 8rem) 2rem;
}

.cover h1,
.cover h1 em,
.selection h2,
.quote h2,
.quote em,
.office h2,
.trip-photo h3,
.travel-benefits h2,
.featured-trip h2 {
  font-family: var(--titulos-eje);
  letter-spacing: -.035em;
}

.cover h1 {
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  line-height: .94;
}

.cover h1 em {
  color: var(--oro-eje);
  font-style: normal;
  font-weight:700;
}

.cover .eyebrow {
  color:var(--oro-eje);
}

.filmstrip {
  padding-bottom: 4rem;
}

.scene-controls button:not([aria-pressed="true"]) {
  background: var(--oro-eje);
  color: white;
}

.finder-wrap {
  margin-top: -2rem;
  z-index: 1;
}

#finder {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  border: 1px solid var(--edge);
  border-radius: .65rem;
  align-items: center;
}

#finder #dest,
#quote-form #program {
  background: white;
}

.selection {
  padding-block: 3.2rem;
}

.selection h2 {
  margin-bottom: .55rem;
}

.card {
  background: #171717;
  color: white;
  border-radius: .65rem;
}

.trip-photo {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: clamp(14rem, 24vw, 21rem);
  border-radius: 0;
}

.trip-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #171717, #17171794 34%, transparent 70%);
}

.trip-photo .destino {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  aspect-ratio: auto;
}

.trip-heading {
  padding: 1.1rem 1.2rem .15rem;
}

.trip-heading .duration {
  position: static;
  display: block;
  padding: 0;
  margin: 0 0 .3rem;
  background: transparent;
  color:var(--oro-eje);
}

.trip-photo h3 {
  margin: 0;
  color: white;
  font-size: clamp(1.65rem, 2.55vw, 2.5rem);
  line-height: 1.06;
}

.card-body {
  padding: .8rem 1.2rem 1.15rem;
}

.card-body > p {
  margin-bottom: .9rem;
}

.card small,
.card .source {
  color: #fcfbf8;
}

.card strong {
  color:var(--oro-eje);
}

.card label {
  border-color: #ffffff40;
}

.travel-benefits {
  background: #171717;
  color: white;
  padding-block: 2.6rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.benefit-grid h2 {
  color:var(--oro-eje);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

.benefit-grid h3 {
  font-size: 1rem;
  margin-bottom: .35rem;
}

.benefit-grid p {
  margin: 0;
  color: #e5dfd1;
}

.featured-trip {
  margin-block: 1.5rem;
  border-radius: .65rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(90deg, #171717 3%, #171717bf 50%, #1717172b),
    url("viaje-roma-800.webp") center 54% / cover #171717;
  color: white;
}

.featured-trip .eyebrow {
  color:var(--oro-eje);
  margin-bottom: .45rem;
}

.featured-trip h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: .5rem;
}

.quote em {
  color:var(--oro-eje);
  font-style: italic;
}

@media (max-width: 820px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .cover h1 {
    font-size: clamp(2.75rem, 11.5vw, 4.75rem);
  }

  .cover:after {
    background: linear-gradient(90deg, #101010de, #10101062),
      linear-gradient(0deg, #101010bf, transparent 45%);
  }

  #finder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .finder-wrap {
    margin-top: -1.4rem;
  }

  .trip-photo {
    min-height: 16rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

button,.button.primary,.header .outline,.cover .hero-link,.featured-trip .button,.scene-controls button {background-color:var(--oro-eje);}

.cover .hero-photo[src^="banner-coliseo-"] { object-position: 42% 56%; }
@media (min-width: 48rem) {
  .cover .hero-photo[src^="banner-coliseo-"] {
    left: auto;
    right: 0;
    width: 73%;
    mask-image: linear-gradient(to right, transparent, black 25%);
  }
}

.cover .hero-photo[hidden] { display: none; }
