/* Route-owned compatibility treatments preserving the current Fly With Us design.
Canonical shell remains in /styles/; global compatibility remains in /style.css. */
/* Compatibility treatments used by this route, from design-v2. */
@layer base {
  :where(#main-content) .v2-container h2 {
    letter-spacing: var(--ls-heading, -0.01em);
    text-wrap: pretty;
  }
  :where(#main-content) .eyebrow {
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: var(--fs-eyebrow, 0.8125rem);
    font-weight: 600;
    letter-spacing: var(--ls-eyebrow, 0.18em);
    text-transform: uppercase;
    color: var(--copper-500, #8a4f29);
  }
  :where(#main-content) .btn-primary,
  :where(#main-content) .btn-secondary-on-dark {
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: var(--fs-small, 0.875rem);
    font-weight: 600;
    letter-spacing: var(--ls-button, 0.12em);
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--radius-sm, 4px);
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background-color var(--duration-fast, 250ms) var(--ease-silk, cubic-bezier(0.4,0,0.2,1)),
    color            var(--duration-fast, 250ms) var(--ease-silk, cubic-bezier(0.4,0,0.2,1)),
    border-color     var(--duration-fast, 250ms) var(--ease-silk, cubic-bezier(0.4,0,0.2,1)),
    transform        var(--duration-fast, 250ms) var(--ease-silk, cubic-bezier(0.4,0,0.2,1)),
    box-shadow       var(--duration-smooth, 400ms) var(--ease-luxury, cubic-bezier(0.25,0.1,0.1,1));
  }
  :where(#main-content) .btn-primary:focus-visible,
  :where(#main-content) .btn-secondary-on-dark:focus-visible {
    outline: 2px solid var(--gold-500, #c9a227);
    outline-offset: 3px;
  }
  :where(#main-content) .btn-primary[disabled],
  :where(#main-content) .btn-secondary-on-dark[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
  }
  :where(#main-content) .btn-primary {
    background: var(--gold-500, #c9a227);
    color: var(--ink-900, #0f0d0a);
    border-color: var(--gold-500, #c9a227);
  }
  :where(#main-content) .btn-primary:hover {
    background: var(--gold-600, #a98517);
    border-color: var(--gold-600, #a98517);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(15,13,10,.08));
  }
  :where(#main-content) .btn-primary:active {
    background: var(--gold-700, #7e6207);
    transform: translateY(0px);
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(15,13,10,.06));
  }
  :where(#main-content) .btn-secondary-on-dark {
    background: transparent;
    color: var(--bone-50, #faf7f1);
    border-color: var(--bone-50, #faf7f1);
  }
  :where(#main-content) .btn-secondary-on-dark:hover {
    background: var(--bone-50, #faf7f1);
    color: var(--ink-900, #0f0d0a);
  }
  :where(#main-content) .anim-fadeup {
    opacity: 0;
    transform: translateY(20px);
    animation: anim-fadeup var(--duration-cinematic, 800ms) var(--ease-luxury, cubic-bezier(0.25,0.1,0.1,1)) forwards;
  }
  :where(#main-content) .anim-delay-1 {
    animation-delay: 120ms;
  }
  :where(#main-content) .anim-delay-2 {
    animation-delay: 240ms;
  }
}
/* Compatibility treatments used by this route, from home-v2. */
@layer base {
  :where(#main-content) .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity   var(--duration-epic, 1200ms) var(--ease-luxury, cubic-bezier(0.25,0.1,0.1,1)),
    transform var(--duration-epic, 1200ms) var(--ease-luxury, cubic-bezier(0.25,0.1,0.1,1));
  }
  :where(#main-content) .reveal.in {
    opacity: 1;
    transform: none;
  }
  :where(#main-content) .reveal-delay-1.in {
    transition-delay: 120ms;
  }
  :where(#main-content) .reveal-delay-2.in {
    transition-delay: 240ms;
  }
  :where(#main-content) .reveal-delay-3.in {
    transition-delay: 360ms;
  }
  @media (max-width: 767px) {
    :where(#main-content) .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
  :where(#main-content) .v2-container {
    max-width: var(--site-max-w, 1536px);
    margin: 0px auto;
    padding-left: var(--site-pad-x, clamp(1.5rem, 5vw, 5rem));
    padding-right: var(--site-pad-x, clamp(1.5rem, 5vw, 5rem));
  }
  :where(#main-content) #hero {
    background: linear-gradient(rgba(0, 0, 0, 0.45) 0%, transparent 18%), linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.08) 100%);
  }
  :where(#main-content) {
    --cx: max(
    var(--site-pad-x, clamp(1.5rem, 5vw, 5rem)),
    calc(50vw - var(--site-max-w, 1536px) / 2 + var(--site-pad-x, clamp(1.5rem, 5vw, 5rem)))
    );
  }
  :where(#main-content) .hero-content {
    position: absolute;
    left: var(--cx);
    right: var(--cx);
    bottom: max(8%, 5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: var(--space-8, 64px);
  }
  :where(#main-content) .hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }
  :where(#main-content) .hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-size: var(--fs-eyebrow, 0.8125rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3em 0.9em;
    border-radius: var(--radius-pill, 9999px);
    border: 1px solid transparent;
    white-space: nowrap;
  }
  :where(#main-content) .hero-pill {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: rgb(255, 255, 255);
    backdrop-filter: blur(6px);
  }
  :where(#main-content) .hero-left h1 {
    font-size: clamp(1.75rem, 2.6vw, 3rem);
    line-height: 1.1;
    color: rgb(255, 255, 255);
    margin: 0px;
  }
  :where(#main-content) .hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  :where(#main-content) .hero-right p {
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    max-width: 42ch;
    margin: 0px;
  }
  :where(#main-content) .hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  @media (max-width: 899px) {
    :where(#main-content) .hero-content {
      grid-template-columns: 1fr;
      left: var(--site-pad-x, 1.5rem);
      right: var(--site-pad-x, 1.5rem);
      bottom: 3.5rem;
      gap: var(--space-3, 24px);
    }
    :where(#main-content) .hero-pills {
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-bottom: 0.75rem;
    }
    :where(#main-content) .hero-pill--hide-mobile {
      display: none;
    }
    :where(#main-content) .hero-left h1 {
      font-size: clamp(1.75rem, 7vw, 2.75rem);
      line-height: 1.1;
    }
    :where(#main-content) .hero-right p {
      font-size: 0.9375rem;
      line-height: 1.5;
    }
    :where(#main-content) .hero-ctas {
      gap: 0.5rem;
    }
    :where(#main-content) .hero-ctas a {
      flex: 0 1 auto;
      text-align: center;
      padding: 0.65rem 1.4rem;
      font-size: 0.7rem;
    }
  }
  :where(#main-content) .section-bone {
    background: var(--bone-50, #faf7f1);
    padding: clamp(4rem, 9vw, 8rem) 0px;
  }
  :where(#main-content) .section-surf {
    background: var(--bone-50, #faf7f1);
    padding: clamp(4rem, 9vw, 8rem) 0px;
  }
  :where(#main-content) .why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8, 64px);
  }
  @media (min-width: 1024px) {
    :where(#main-content) .why-grid {
      grid-template-columns: 1fr 1.2fr;
      gap: var(--space-10, 80px);
    }
  }
  :where(#main-content) .why-grid h2 {
    font-size: clamp(1.625rem, 2.2vw, 2.5rem);
    letter-spacing: var(--ls-heading, -0.01em);
    max-width: 18ch;
  }
  :where(#main-content) .why-lede {
    font-size: var(--fs-body-lg, 1.125rem);
    line-height: 1.6;
    color: var(--bone-600, #4f4636);
    margin-bottom: var(--space-4, 32px);
    font-weight: 300;
  }
  :where(#main-content) .bullets {
    list-style: none;
    padding: 0px;
    margin: var(--space-8, 64px) 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--bone-300, #c9bea7);
  }
  @media (min-width: 1024px) {
    :where(#main-content) .bullets {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  :where(#main-content) .bullets li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: var(--space-2, 16px);
    padding: var(--space-4, 32px) var(--space-3, 24px) var(--space-4, 32px) 0;
    border-bottom: 1px solid var(--bone-300, #c9bea7);
    align-items: start;
  }
  @media (max-width: 639px) {
    :where(#main-content) .bullets {
      grid-template-columns: 1fr;
    }
    :where(#main-content) .bullets li {
      border-right-width: medium;
      border-right-style: none;
      border-right-color: currentcolor;
      padding-left: 0px;
      padding-right: 0px;
      margin-right: 0px;
    }
  }
  @media (min-width: 640px) and (max-width: 1023px) {
    :where(#main-content) .bullets li:nth-child(2n+1) {
      border-right: 1px solid var(--bone-300, #c9bea7);
      padding-right: var(--space-3, 24px);
    }
    :where(#main-content) .bullets li:nth-child(2n) {
      padding-left: var(--space-3, 24px);
    }
  }
  @media (min-width: 1024px) {
    :where(#main-content) .bullets li:not(:last-child) {
      border-right: 1px solid var(--bone-300, #c9bea7);
      padding-right: var(--space-3, 24px);
      margin-right: -1px;
    }
    :where(#main-content) .bullets li {
      padding-left: var(--space-3, 24px);
    }
    :where(#main-content) .bullets li:first-child {
      padding-left: 0px;
    }
  }
  :where(#main-content) .bullet-num {
    font-family: var(--font-heading, "Tenor Sans", serif);
    font-size: 2rem;
    line-height: 1;
    color: var(--gold-500, #c9a227);
    font-weight: 400;
    padding-top: 2px;
  }
  :where(#main-content) .bullet-body h4 {
    font-family: var(--font-body, "Open Sans", sans-serif);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--ink-900, #0f0d0a);
    letter-spacing: 0.01em;
    line-height: 1.3;
    margin: 0px 0px 0.4rem;
  }
  :where(#main-content) .bullet-body p {
    font-size: 0.875rem;
    color: var(--color-gray-5, #7f8285);
    line-height: 1.5;
    margin: 0px;
  }
  :where(#main-content) .lodges-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3, 24px);
    margin-bottom: 0px;
  }
  @media (min-width: 768px) {
    :where(#main-content) .lodges-intro {
      grid-template-columns: 1fr 1.6fr;
      align-items: end;
      gap: var(--space-8, 64px);
    }
  }
  :where(#main-content) .lodges-intro h2 {
    font-size: clamp(1.625rem, 2.2vw, 2.5rem);
    letter-spacing: var(--ls-heading, -0.01em);
  }
  :where(#main-content) .lodges-intro p {
    color: var(--bone-600, #4f4636);
    font-size: var(--fs-body-lg, 1.125rem);
    font-weight: 300;
    line-height: 1.6;
  }
  :where(#main-content) .editorial {
    text-align: center;
    max-width: 760px;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4, 32px);
  }
  :where(#main-content) .editorial h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.75rem);
    letter-spacing: var(--ls-heading, -0.01em);
    max-width: 18ch;
    text-wrap: pretty;
  }
  :where(#main-content) .editorial p {
    font-size: var(--fs-body-lg, 1.125rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--bone-600, #4f4636);
    margin: 0px;
  }
  :where(#main-content) .section-charter {
    position: relative;
    isolation: isolate;
    background: var(--ink-900, #0f0d0a);
    color: var(--bone-50, #faf7f1);
    padding: clamp(4rem, 9vw, 8rem) 0px;
    overflow: hidden;
    margin-top: clamp(4rem, 6.5vw, 7rem);
  }
  :where(#main-content) .section-charter::before {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -2;
    background: url("/assets/images/charter.jpg") center center / cover;
    filter: saturate(0.6) brightness(0.55);
  }
  :where(#main-content) .section-charter::after {
    content: "";
    position: absolute;
    inset: 0px;
    z-index: -1;
    background: linear-gradient(90deg, rgba(15, 13, 10, 0.15) 0%, rgba(15, 13, 10, 0.6) 45%, rgba(15, 13, 10, 0.88) 100%);
  }
  :where(#main-content) .charter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10, 80px);
    align-items: center;
  }
  @media (max-width: 767px) {
    :where(#main-content) .charter-layout {
      grid-template-columns: 1fr;
    }
    :where(#main-content) .section-charter::after {
      background: rgba(10, 8, 6, 0.55);
    }
  }
  @media (min-width: 768px) {
    :where(#main-content) .section-charter::before {
      filter: saturate(0.6) brightness(0.72);
    }
  }
  :where(#main-content) .charter-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3, 24px);
  }
  :where(#main-content) .charter-content h2 {
    font-size: clamp(1.625rem, 2.2vw, 2.5rem);
    letter-spacing: var(--ls-heading, -0.01em);
    margin: 0px;
  }
  :where(#main-content) .charter-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-body-lg, 1.125rem);
    font-weight: 300;
    line-height: 1.65;
    margin: 0px;
  }
  @media (max-width: 767px) {
    :where(#main-content) .hero-pill {
      white-space: normal;
      max-width: 100%;
    }
  }
}
@layer base {
  @keyframes anim-fadeup {
    100% {
      opacity: 1;
      transform: translateY(0px);
    }
  }
}

/* Route composition and aircraft treatments. */
#hero {
  min-height: 100svh;
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
  z-index: -1;
}

.hero-bg-img {
  animation: hero-kenburns 20s cubic-bezier(0.76, 0, 0.24, 1) infinite alternate;
  transform-origin: center center;
}

@keyframes hero-kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.1) translate(-1.5%, -1.5%); }
}

/* Fleet grid — cards con foto estilo Feeling Air × HYH */

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4, 32px);
  margin-top: var(--space-8, 64px);
}

@media (min-width: 768px) {
  .fleet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fleet-card {
  background: var(--ink-900, #0f0d0a);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Foto */

.fleet-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.fleet-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.1, 1);
}

.fleet-card:hover .fleet-photo img {
  transform: scale(1.05);
}

/* Barra de nombre sobre la foto */

.fleet-name-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(15,13,10,0.92) 0%, rgba(15,13,10,0.5) 70%, transparent 100%);
  padding: var(--space-4, 32px) var(--space-3, 24px) var(--space-2, 16px);
}

.fleet-name-bar h3 {
  color: #fff;
  font-size: clamp(0.9375rem, 1.4vw, 1.125rem);
  letter-spacing: var(--ls-heading, -0.01em);
  margin: 0;
  line-height: 1.2;
}

.fleet-name-bar h3::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--gold-500, #c9a227);
  margin-top: 0.4rem;
}

/* Specs row */

.fleet-specs-row {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.fleet-spec {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: var(--space-2, 16px) 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: var(--gold-300, #e6c75c);
}

.fleet-spec:last-child {
  border-right: none;
}

.fleet-spec svg {
  color: var(--gold-500, #c9a227);
  flex-shrink: 0;
}

.spec-val {
  font-family: var(--font-heading, "Tenor Sans", serif);
  font-size: 1rem;
  color: #fff;
  line-height: 1;
}

.spec-lbl {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* Descripción */

.fleet-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  padding: var(--space-3, 24px);
  margin: 0;
  flex: 1;
}

/* Routes grid — 3 cards */

.routes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3, 24px);
  margin-top: var(--space-8, 64px);
}

@media (min-width: 768px) {
  .routes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.route-card {
  background: #fff;
  border-top: 2px solid var(--copper-500, #8a4f29);
  padding: var(--space-5, 40px) var(--space-4, 32px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.route-num {
  font-family: var(--font-heading, "Tenor Sans", serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--copper-300, #b8834a);
  opacity: 0.45;
}


.route-card h3 {
  font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
  letter-spacing: var(--ls-heading, -0.01em);
  margin: 0;
  line-height: 1.35;
}

.route-card p {
  font-size: 0.9375rem;
  color: var(--bone-600, #4f4636);
  line-height: 1.65;
  margin: 0;
}

.route-detail {
  font-size: 0.8125rem !important;
  font-weight: 600;
  color: var(--copper-500, #8a4f29) !important;
  border-top: 1px solid var(--bone-200, #e8dfd0);
  padding-top: 0.75rem;
  margin-top: auto !important;
}

/* Why bullets — 3 cols desktop */

@media (min-width: 1024px) {
  .why-bullets {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Final CTA — override background con Pilatus */

#book-flight::before {
  background-image: url("/assets/images/fleet-pilatus-pc12.jpg");
  background-position: center center;
}

@media (max-width: 767px) {
  #book-flight::before {
    background-position: 30% center;
  }
}

.fly-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2, 16px);
}
