@font-face {
  font-family: Archivo;
  src: url("fuentes/archivo-ancha.woff2") format("woff2");
  font-weight: 730;
  font-stretch: 115%;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Text";
  src: url("fuentes/dm-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Text";
  src: url("fuentes/dm-serif-italica.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans Expanded";
  src: url("fuentes/zalando-expanded.woff2") format("woff2");
  font-weight: 650;
  font-display: swap;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--pine);
  background: #f3f5ee;
  border-bottom: 1px solid var(--line);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(38px, 4.7vw, 76px);
}
.hero h1 {
  font: 730 clamp(3.8rem, 5.7vw, 5.2rem)/.99 Archivo, Arial, sans-serif;
  font-stretch: 115%;
  letter-spacing: -.022em;
}
.hero h1 span { display: inline-block; }
.hero-subtitle {
  margin-top: 17px;
  font-size: clamp(1.22rem, 1.9vw, 1.58rem);
  line-height: 1.3;
  color: #3e5348;
}
.hero .actions {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 27px;
}
.hero-secondary {
  background: transparent;
  color: inherit;
  border-color: transparent;
  text-decoration: underline;
}
.hero-secondary:hover { background: #e5ebe2; }
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  width: fit-content;
  max-width: 100%;
  border-top: 1px solid #c6d3c7;
  margin-top: 15px;
  padding-top: 4px;
}
.video-preview {
  display: block;
  position: relative;
  isolation: isolate;
}
.film-still { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video-play {
  position: absolute;
  bottom: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 13px;
  border-radius: 4px;
  color: #173e32;
  background: #fff;
  font-weight: 650;
  text-decoration: none;
}
.play-mark { font: .88rem/1 Arial, sans-serif; }
.video-play:hover, .video-play:focus-visible { text-decoration: underline; }

/* Despegue */
.hero--despegue {
  background: radial-gradient(ellipse at 79% 45%, #fff 0%, transparent 49%), #f0f3e9;
}
.hero--despegue .video-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3% 0 0;
}
.hero--despegue .aircraft {
  width: 96%;
  height: auto;
  z-index: 1;
}
.hero--despegue .video-preview::before,
.hero--despegue .video-preview::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero--despegue .video-preview::before {
  inset: 44% -9% 6%;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse closest-side, transparent 0 19%, #82957860 19.4% 20%, transparent 20.5% 25%);
  mask-image: linear-gradient(to bottom, transparent, black 60%, transparent);
}
.hero--despegue .video-preview::after {
  inset: 64% 16% 14%;
  background: radial-gradient(ellipse closest-side, #48614840, transparent);
}
.hero--despegue .video-play {
  position: relative;
  inset: auto;
  background: transparent;
  margin-top: 8px;
}
.hero--despegue .play-mark {
  display: grid;
  place-items: center;
  padding-left: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pine);
  color: white;
}

/* Surcos */
.hero--surcos { background: #f8f4e9; color: #333d29; }
.hero--surcos::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 34% 40% -20% -10%;
  background: repeating-radial-gradient(ellipse at 16% 145%, transparent 0 25px, #ad995944 26px 27px, transparent 28px 38px);
  mask-image: linear-gradient(0deg, black 10%, transparent 92%);
}
.hero--surcos .hero-layout { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
.hero--surcos .hero-copy { grid-column: 2; grid-row: 1; }
.hero--surcos h1 {
  font: 400 clamp(4rem, 6.1vw, 5.8rem)/.98 "DM Serif Text", Georgia, serif;
  letter-spacing: -.013em;
}
.hero--surcos h1 span:last-child { font-style: italic; color: #596439; }
.hero--surcos .hero-subtitle::before {
  content: "";
  display: block;
  height: 3px;
  width: 66px;
  margin-bottom: 15px;
  background: #a67d36;
  transform-origin: left;
}
.hero--surcos .video-preview {
  grid-column: 1;
  grid-row: 1;
  box-shadow: -8px 8px 0 #d9cda4;
}

/* Cine */
.hero--cine { background: #111620; color: #faf7ef; border-bottom-color: #1a2027; }
.hero--cine .hero-layout { min-height: clamp(430px, 38vw, 570px); }
.hero--cine .hero-copy { position: relative; z-index: 1; }
.hero--cine h1 {
  font: 650 clamp(3.1rem, 5.25vw, 5.1rem)/1.05 "Zalando Sans Expanded", Arial, sans-serif;
  letter-spacing: .005em;
  max-width: 8em;
}
.hero--cine h1 span:last-child { color: #f5e8cf; }
.hero--cine .hero-subtitle { color: #e0e5e4; }
.hero--cine .solid { background: #f0c96c; color: #18291f; border-color: #f0c96c; }
.hero--cine .solid:hover { background: #ffda80; }
.hero--cine .hero-secondary:hover { background: #2a333c; }
.hero--cine .hero-services { border-color: #617074; }
.hero--cine .topic-link { color: #f1f4ed; }
.hero--cine a:focus-visible { outline-color: #f2cf83; }
.hero--cine .video-preview {
  position: absolute;
  inset: 0 0 0 44%;
  overflow: hidden;
}
.hero--cine .film-still {
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent, black 24%);
}
.hero--cine .video-play {
  left: auto;
  right: clamp(16px, 3vw, 54px);
  bottom: 12px;
  gap: 7px;
  padding: 4px;
  color: #f3f3ef;
  background: transparent;
  font-size: .94rem;
  font-weight: 500;
}
.hero--cine .play-mark {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding-left: 1px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .6rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero--despegue .aircraft { animation: lift-off 1.25s cubic-bezier(.2,.75,.22,1) both; }
  .hero--despegue .video-preview::after { animation: ground-shadow 1.25s ease-out both; }
  .hero--despegue h1 span { animation: settle-title .8s ease-out both; }
  .hero--despegue h1 span + span { animation-delay: 90ms; }
  .hero--surcos .hero-subtitle::before { animation: draw-rule .9s ease-out both; }
  .hero--surcos::before { animation: reveal-rows 1.25s ease-out both; }
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .hero--cine h1 span:last-child {
      background-image: linear-gradient(105deg, #f5e8cf 36%, #eac88d 46%, #fff7e8 52%, #f5e8cf 64%);
      background-size: 280% 100%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: reflejo 9s ease-in-out infinite;
    }
  }
}
@keyframes lift-off { from { transform: translateY(26px) rotate(-2deg) scale(.96); } }
@keyframes ground-shadow { from { transform: scale(1.24); } }
@keyframes settle-title { from { transform: translateY(8px); } }
@keyframes draw-rule { from { transform: scaleX(.08); } }
@keyframes reveal-rows { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes reflejo {
  0% { background-position: 100% center; }
  42%, 100% { background-position: 0% center; }
}

.preview-nav { background: #eceeea; color: #253d32; }
.preview-nav .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 9px; padding-block: 3px; }
.preview-nav strong { font-size: .91rem; margin-right: 8px; }
.preview-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 9px; }
.preview-nav [aria-current] { font-weight: 700; text-decoration-thickness: 3px; }

@media (max-width: 760px) {
  .hero .hero-layout { grid-template-columns: 1fr; gap: 18px; padding-block: 28px 22px; }
  .hero h1 { font-size: clamp(2.12rem, 9.45vw, 4rem); line-height: 1.06; }
  .hero-subtitle { margin-top: 8px; }
  .hero .actions { margin-top: 17px; gap: 6px; }
  .hero .btn { padding-inline: 10px; }
  .hero-services { margin-top: 10px; }
  .hero--despegue .video-preview { width: min(100%, 515px); margin: auto; padding-top: 0; }
  .hero--despegue .video-play { margin-top: 0; }
  .hero--surcos .hero-copy,
  .hero--surcos .video-preview { grid-column: auto; grid-row: auto; }
  .hero--surcos .video-preview { margin: 0 0 7px 7px; }
  .hero--surcos h1 { font-size: clamp(2.6rem, 11vw, 4.7rem); }
  .hero--surcos .hero-subtitle::before { width: 48px; margin-block: 12px; }
  .hero--cine .hero-layout { min-height: 0; gap: 0; padding-bottom: 0; }
  .hero--cine .video-preview { position: relative; inset: auto; margin-inline: -19px; }
  .hero--cine .film-still { height: auto; mask-image: linear-gradient(180deg, transparent, black 21%); }
  .hero--cine .video-play { bottom: 7px; }
}
@media (max-width: 430px) {
  .preview-nav strong { flex-basis: 100%; margin-top: 3px; }
}
@media (max-width: 365px) {
  .hero .btn { padding: 9px 7px; gap: 5px; }
  .hero-secondary svg { display: none; }
}
