/* Vista index - banner, hero, servicios, aeronaves, mantenimiento */

  /* Banner video (debajo del nav) - ocupa todo el ancho y el alto bajo la navbar */
  .banner-video {
      width: 100%;
      max-width: 100vw;
      margin: 72px 0 0 0;
      height: calc(100vh - 72px);
      min-height: 400px;
      padding: 0;
      border: 0;
      overflow: hidden;
      background: #0a0e14;
      box-sizing: border-box;
  }

  .banner-video__media {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: high-quality;
      transform: translateZ(0);
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
  }

  /* Hero Section - banner azul, contenido centrado */
  #hero-booking {
      scroll-margin-top: 120px;
  }
  .hero {
      --min-height: 400px;
      --container-widget-flex-grow: 0;
      --container-widget-width: calc((1 - var(--container-widget-flex-grow)) * 100%);
      --container-widget-height: initial;
      --container-widget-align-self: initial;
      --flex-wrap-mobile: wrap;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: var(--min-height);
      flex-wrap: var(--flex-wrap-mobile);
      text-align: center;
      background: #00b8f2;
      padding: 4rem 2rem 5rem;
      position: relative;
      overflow: hidden;
      transition: min-height 0.4s ease, padding 0.4s ease;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
  }

  .hero-initial {
      position: absolute;
      inset: 0;
      left: 0;
      right: 0;
      width: 100%;
      z-index: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 4rem 2rem 5rem;
      box-sizing: border-box;
      opacity: 1;
      pointer-events: auto;
      transition: opacity 0.4s ease;
  }

  .hero.hero--booking .hero-initial {
      opacity: 0;
      pointer-events: none;
      z-index: 0;
  }

  .hero-initial h1 {
      font-family: "Poppins", sans-serif;
      font-weight: 800;
      font-size: clamp(2.5rem, 9vw, 4.5rem);
      letter-spacing: 4px;
      margin: 0;
      color: #FFFFFF;
      text-transform: uppercase;
      line-height: 1.1;
  }

  .hero-initial h2 {
      font-family: "Poppins", sans-serif;
      font-weight: 900;
      font-size: clamp(1.35rem, 3vw, 1.85rem);
      letter-spacing: 4px;
      text-transform: uppercase;
      margin: 0.15rem 0 2.5rem 0;
      color: #FFFFFF;
      line-height: 1.2;
  }

  .hero-initial p {
      max-width: 520px;
      margin: 0 auto 3rem;
      font-size: 1.05rem;
      line-height: 1.75;
      color: #ffffff;
      font-weight: 400;
  }

  .hero .btn,
  .hero .hero-cta-btn {
      background-color: #FFFFFF;
      font-family: "Poppins", sans-serif;
      font-weight: 700;
      fill: #0CB7F2;
      color: #0CB7F2;
      border-radius: 999px;
      padding: 0.6rem 1.5rem;
      margin-top: 0;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }

  .hero .btn:hover,
  .hero .hero-cta-btn:hover {
      background-color: #000000;
      color: #FFFFFF;
      fill: #FFFFFF;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Vista formulario de reserva (al hacer clic en "Cotiza tu vuelo ahora") */
  .hero-booking {
      position: absolute;
      inset: 0;
      z-index: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
      padding: 2rem 1rem 3.5rem;
      box-sizing: border-box;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s ease;
      overflow-x: hidden;
      overscroll-behavior: contain;
  }

  .hero.hero--booking:not([data-legs="many"]) .hero-booking {
      overflow-y: hidden;
  }

  .hero.hero--booking[data-legs="many"] .hero-booking {
      overflow-y: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
  }

  .hero-booking::-webkit-scrollbar {
      display: none;
  }

  .hero.hero--booking .hero-booking {
      opacity: 1;
      pointer-events: auto;
      z-index: 1;
  }

  .hero.hero--booking:has(.autocomplete-open) {
      overflow: visible;
  }

  .hero.hero--booking:has(.autocomplete-open) .hero-booking {
      overflow: visible;
  }

  .hero.hero--booking {
      padding: 2rem 1rem 0.25rem;
      min-height: 60vh;
      overflow-y: visible;
      overflow-x: hidden;
      transition: min-height 0.55s cubic-bezier(0.25, 0.1, 0.25, 1), max-height 0.55s cubic-bezier(0.25, 0.1, 0.25, 1), padding 0.55s ease;
      overscroll-behavior: contain;
  }

  .hero.hero--booking[data-legs="1"] {
      min-height: 390px;
      justify-content: flex-start;
      padding-bottom: 0.25rem;
  }

  .hero.hero--booking[data-legs="2"] {
      min-height: 450px;
      justify-content: flex-start;
      padding-bottom: 0.25rem;
  }

  .hero.hero--booking[data-legs="3"] {
      min-height: 520px;
      justify-content: flex-start;
      padding-bottom: 0.25rem;
  }

  .hero.hero--booking[data-legs="4"] {
      min-height: 610px;
      justify-content: flex-start;
      padding-bottom: 0.25rem;
  }

  .hero.hero--booking[data-legs="many"] {
      min-height: 660px;
      max-height: 660px;
      overflow-y: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
  }

  /* Paso 2 (aeronaves disponibles): más altura y cartas hasta los bordes */
  .hero.hero--booking:has(.hero-booking[data-step="2"]) {
      min-height: 80vh;
      max-height: none;
      padding-bottom: 3rem;
  }

  .hero.hero--booking:has(.hero-booking[data-step="2"]) .hero-booking {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
  }

  .hero.hero--booking.hero--step3 {
      min-height: 55vh;
  }

  .hero.hero--booking.hero--step3[data-legs="many"] {
      min-height: 660px;
      max-height: 660px;
  }

  .hero.hero--booking::-webkit-scrollbar {
      display: none;
  }

  .hero-booking-close {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
      z-index: 10;
      width: 36px;
      height: 36px;
      border: none;
      background: rgba(255, 255, 255, 0.2);
      color: #fff;
      font-size: 1.5rem;
      line-height: 1;
      cursor: pointer;
      border-radius: 50%;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, opacity 0.3s;
      opacity: 0;
      pointer-events: none;
  }

  .hero.hero--booking .hero-booking-close {
      opacity: 1;
      pointer-events: auto;
  }

  .hero-booking-close:hover {
      background: rgba(255, 255, 255, 0.35);
  }

  .hero-booking-title {
      font-family: "Poppins", sans-serif;
      font-weight: 700;
      font-size: clamp(1.25rem, 4vw, 1.75rem);
      letter-spacing: 2px;
      color: #FFFFFF;
      text-transform: uppercase;
      margin: 0 0 1rem 0;
      text-align: center;
  }

  .hero-booking-steps {
      display: flex;
      justify-content: center;
      gap: clamp(2rem, 5vw, 5rem);
      flex-wrap: wrap;
      margin-bottom: 12px;
  }

  .hero-booking-step {
      font-family: "Poppins", sans-serif;
      font-size: 1rem;
      color: rgba(255, 255, 255, 0.95);
      background: none;
      border: none;
      padding: 0 0 0.35rem 0;
      cursor: pointer;
      position: relative;
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }

  .hero-booking-step.is-active {
      font-weight: 700;
      color: #FFFFFF;
  }

  .hero-booking-step.is-active::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 4px;
      background: #FFFFFF;
      border-radius: 2px;
  }

  .hero-booking-piernas-header {
      display: flex;
      align-items: baseline;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-bottom: 1.25rem;
      padding-left: 3rem;
  }

  .hero-booking-piernas-title {
      font-family: "Poppins", sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #FFFFFF;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin: 0;
  }

  .hero-booking-hint {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.85);
      margin: 0;
      font-style: italic;
  }

  .hero-booking-leg {
      width: 100%;
      max-width: 100%;
  }

  .hero-booking-leg-row {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      width: 100%;
  }

  .hero-booking-leg-num {
      font-family: "Poppins", sans-serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: #ffffff;
      flex-shrink: 0;
      width: 2rem;
      height: 44px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      line-height: 1;
      box-sizing: border-box;
      /* Alinear el número con la fila de inputs (debajo de los títulos) */
      margin-top: 1.35rem;
  }

  .hero-booking-leg-title {
      font-family: "Poppins", sans-serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: #FFFFFF;
      text-transform: uppercase;
      margin: 0 0 1rem 0;
      text-align: left;
  }

  .hero-booking-fields {
      display: flex;
      gap: 1rem;
      align-items: stretch;
      margin-bottom: 0;
      text-align: left;
      width: 100%;
      flex: 1;
      min-width: 0;
  }

  .hero-booking-fields-inner {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
      gap: 0;
      position: relative;
      flex: 1;
      min-width: 0;
  }

  .hero-booking-fields-inner::after {
      content: '';
      position: absolute;
      top: 48%;
      left: 0;
      right: 0;
      bottom: 0;
      background: #ffffff;
      border: 1px solid #f0f0f0;
      border-radius: 8px;
      z-index: 0;
  }

  .hero-booking-fields-inner .hero-booking-label {
      position: relative;
      z-index: 1;
      min-width: 0;
  }

  .hero-booking-fields-inner .hero-booking-label:not(:first-child) .hero-booking-input {
      border-left: 2px solid #e8e8e8;
  }

  .hero-booking-fields-inner .hero-booking-input {
      border: none;
      border-radius: 0;
      background: #ffffff;
      box-shadow: none;
  }

  .hero-booking-fields-inner .hero-booking-label:first-child .hero-booking-input {
      border-radius: 8px 0 0 8px;
  }

  .hero-booking-fields-inner .hero-booking-label:last-child .hero-booking-input {
      border-radius: 0 8px 8px 0;
  }

  .hero-booking-fields-inner .hero-booking-input::placeholder {
      color: #6b7280;
  }

  .hero-booking-fields-inner .hero-booking-input[type="date"],
  .hero-booking-fields-inner .hero-booking-input[type="time"] {
      color: #1f2937;
  }

  .hero-booking-fields-inner .hero-booking-label span {
      color: rgba(255, 255, 255, 0.95);
  }

  /* Ocultar títulos de columnas a partir del segundo tramo */
  .hero-booking-legs .leg-item:not(:first-child) .hero-booking-label span {
      display: none;
  }

  .hero-booking-legs .leg-item:not(:first-child) .hero-booking-label {
      gap: 0;
  }

  .hero-booking-legs .leg-item:not(:first-child) .hero-booking-fields-inner::after {
      top: 0;
  }

  .hero-booking-legs .leg-item:not(:first-child) .hero-booking-leg-row {
      align-items: center;
  }

  .hero-booking-legs .leg-item:not(:first-child) .hero-booking-leg-num {
      margin-top: 0;
  }


  @media (max-width: 600px) {
      .hero-booking-fields {
          flex-direction: column;
      }
      .hero-booking-fields-inner {
          grid-template-columns: 1fr;
      }
      .hero-booking-fields-inner::after {
          top: 0;
          border-radius: 10px;
          border: 1px solid #f0f0f0;
      }
      .hero-booking-fields-inner .hero-booking-label:not(:first-child) .hero-booking-input {
          border-left: none;
          border-top: 2px solid #8d8f94;
      }
      .hero-booking-fields-inner .hero-booking-label:first-child .hero-booking-input {
          border-radius: 8px 8px 0 0;
      }
      .hero-booking-fields-inner .hero-booking-label:last-child .hero-booking-input {
          border-radius: 0 0 8px 8px;
      }
      .hero-booking-piernas-header {
          padding-left: 0;
      }
  }

  .hero-booking-label {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
  }

  .hero-booking-label span {
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.95);
      font-weight: 400;
  }

  .hero-booking-input {
      padding: 0.65rem 0.85rem;
      background: #FFFFFF;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      font-family: inherit;
      font-size: 1rem;
      color: #1f2937;
      width: 100%;
      min-height: 44px;
      box-sizing: border-box;
  }

  .hero-booking-fields-inner .hero-booking-input {
      min-height: 44px;
  }

  .hero-booking-input:not(:first-of-type) {
      border-left: 1px solid #e5e7eb;
  }

  .hero-booking-input::placeholder {
      color: #6b7280;
  }

  .hero-booking-input[type="number"] {
      -moz-appearance: textfield;
  }

  .hero-booking-input[type="number"]::-webkit-outer-spin-button,
  .hero-booking-input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: inner-spin-button;
      opacity: 1;
  }

  @media (max-width: 600px) {
      .hero-booking-input:not(:first-of-type) {
          border-left: 1px solid #d1d5db;
      }
      .hero-booking-leg-num {
          width: auto;
      }
  }

  .hero-booking-add-wrap {
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      padding-bottom: 0;
  }

  .hero-booking-add-placeholder {
      min-width: 44px;
      min-height: 44px;
      width: 44px;
      height: 44px;
  }

  .hero-booking-add-leg {
      width: 44px;
      height: 44px;
      min-width: 44px;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      background: rgba(255, 255, 255, 0.25);
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 8px;
      font-family: "Poppins", sans-serif;
      font-size: 1.5rem;
      font-weight: 600;
      line-height: 1;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
  }

  .hero-booking-add-leg:hover {
      background: rgba(255, 255, 255, 0.35);
      color: #FFFFFF;
  }

  @media (max-width: 600px) {
      .hero-booking-add-wrap {
          padding-bottom: 0;
      }
      .hero-booking-leg-row {
          flex-direction: column;
          gap: 0.5rem;
      }
      .hero-booking-leg-num {
          line-height: 1.2;
          margin-top: 0;
      }
  }

  .hero-booking-form {
      width: 100%;
      max-width: 100%;
  }

  .hero-booking-panel {
      width: 100%;
      display: none;
  }

  .hero-booking-panel--step1 {
      display: block;
  }

  .hero-booking[data-step="2"] .hero-booking-panel--step1,
  .hero-booking[data-step="3"] .hero-booking-panel--step1 {
      display: none;
  }

  .hero-booking[data-step="2"] .hero-booking-panel--step2 {
      display: block;
  }

  .hero-booking[data-step="3"] .hero-booking-panel--step1,
  .hero-booking[data-step="3"] .hero-booking-panel--step2 {
      display: none;
  }

  .hero-booking[data-step="3"] .hero-booking-panel--step3 {
      display: block;
  }

  .hero-booking-loading {
      position: absolute;
      inset: 0;
      background: rgba(0, 184, 242, 0.95);
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      z-index: 5;
      border-radius: inherit;
  }

  .hero-booking-loading[aria-hidden="false"] {
      display: flex;
  }

  .hero-booking-spinner {
      width: 48px;
      height: 48px;
      border: 4px solid rgba(255, 255, 255, 0.3);
      border-top-color: #fff;
      border-radius: 50%;
      animation: hero-booking-spin 0.8s linear infinite;
  }

  @keyframes hero-booking-spin {
      to { transform: rotate(360deg); }
  }

  .hero-booking-loading p {
      color: #fff;
      margin: 0;
      font-size: 1rem;
  }

  .hero-booking-results {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0.5rem 0;
      text-align: left;
  }

  .hero-booking-quoter-error {
      text-align: center;
      color: rgba(255, 255, 255, 0.95);
      font-size: 1rem;
      line-height: 1.5;
      margin: 0;
      padding: 1rem 1.5rem;
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
  }

  .hero-booking-quoter-countdown {
      text-align: center;
      color: rgba(255, 255, 255, 0.9);
      font-size: 0.95rem;
      margin: 0.5rem 0 0 0;
      padding: 0 1rem;
  }

  .hero-booking-results-carousel {
      position: relative;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      width: 100%;
  }

  .hero-booking-carousel-nav {
      flex-shrink: 0;
      width: 44px;
      height: 44px;
      border: none;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.25);
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      transition: background 0.2s;
      z-index: 2;
  }

  .hero-booking-carousel-nav:hover {
      background: rgba(255, 255, 255, 0.4);
  }

  .hero-booking-carousel-nav[style*="hidden"] {
      pointer-events: none;
      opacity: 0.4;
  }

  .hero-booking-results-viewport {
      flex: 1;
      overflow: hidden;
      min-width: 0;
  }

  .hero-booking-results-track {
      display: flex;
      gap: 0.625rem;
      transition: transform 0.35s ease;
      width: max-content;
      padding-bottom: 2rem;
  }

  .hero-booking-results-carousel .hero-booking-card {
      flex-shrink: 0;
      min-width: 200px;
  }

  .hero-booking-card {
      background: #ffffff;
      border-radius: 12px;
      overflow: visible;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      padding: 0 0 1.75rem 0;
      display: flex;
      flex-direction: column;
      transition: box-shadow 0.2s;
      position: relative;
  }

  .hero-booking-card:hover {
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  .hero-booking-card-image-wrap {
      width: 100%;
      height: 180px;
      position: relative;
      overflow: hidden;
      background: #e8e8e8;
      border-radius: 12px 12px 0 0;
  }

  .hero-booking-card-image-wrap .hero-booking-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  .hero-booking-card-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      border: none;
      background: transparent;
      color: #ffffff;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      transition: opacity 0.2s, transform 0.15s;
      z-index: 2;
  }

  .hero-booking-card-arrow:hover {
      opacity: 0.9;
      transform: translateY(-50%) scale(1.1);
  }

  .hero-booking-card-arrow i {
      filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  }

  .hero-booking-card-prev {
      left: 8px;
  }

  .hero-booking-card-next {
      right: 8px;
  }

  .hero-booking-card-head {
      padding: 1rem 1rem 0.5rem;
  }

  .hero-booking-card-title {
      font-size: 1rem;
      font-weight: 700;
      color: #1a1a1a;
      margin: 0;
      line-height: 1.3;
      text-align: center;
  }

  .hero-booking-card-title::after {
      content: '';
      display: block;
      width: 100%;
      height: 1px;
      background: #d1d5db;
      margin-top: 0.5rem;
  }

  .hero-booking-card-details {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem 1rem;
      padding: 0 1rem 0.25rem;
      font-size: 0.85rem;
      color: #666;
  }

  .hero-booking-card-details-col1,
  .hero-booking-card-details-col2 {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
  }

  .hero-booking-card-details-col2 {
      align-items: flex-end;
      text-align: right;
  }

  .hero-booking-card-price-wrap {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0;
      margin-top: 0.15rem;
  }

  .hero-booking-card-price {
      font-size: 1.1rem;
      font-weight: 700;
      color: #00b8f2;
      line-height: 1.2;
  }

  .hero-booking-card-price-note {
      font-size: 0.7rem;
      color: #9ca3af;
      margin-top: 0.05rem;
      line-height: 1.2;
  }

  .hero-booking-card-time,
  .hero-booking-card-pax,
  .hero-booking-card-range {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
  }

  .hero-booking-card-details-col2 .hero-booking-card-time,
  .hero-booking-card-details-col2 .hero-booking-card-pax,
  .hero-booking-card-details-col2 .hero-booking-card-range {
      justify-content: flex-end;
  }

  .hero-booking-card-time i,
  .hero-booking-card-pax i,
  .hero-booking-card-range i {
      color: #999;
      font-size: 0.8rem;
  }

  .hero-booking-card .hero-booking-select-btn {
      margin: 0;
      padding: 0.65rem 1.5rem;
      width: auto;
      display: inline-flex;
      background: #212121;
      color: #fff;
      border: none;
      border-radius: 9999px;
      font-weight: 600;
      font-size: 0.85rem;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: background 0.2s;
      align-self: center;
      position: absolute;
      left: 50%;
      bottom: -0.7rem;
      transform: translateX(-50%);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }

  .hero-booking-card .hero-booking-select-btn:hover {
      background: #333;
  }

  .hero-booking-contact-form {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      text-align: left;
  }

  .hero-booking-contact-hint {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.95);
      font-style: italic;
      margin: 0 0 1.25rem 0;
      text-align: left;
  }

  .hero-booking-contact-grid {
      width: 100%;
      margin-bottom: 1.5rem;
  }

  /* Celdas unificadas como en paso 1 (itinerario) */
  .hero-booking-contact-fields-inner {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 0;
      position: relative;
      width: 100%;
  }

  .hero-booking-contact-fields-inner::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #ffffff;
      border: 1px solid #f0f0f0;
      border-radius: 8px;
      z-index: 0;
  }

  .hero-booking-contact-fields-inner .hero-booking-contact-label {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 0;
      min-width: 0;
  }

  .hero-booking-contact-fields-inner .hero-booking-contact-label.hero-booking-contact-phone-wrap {
      flex-direction: row;
  }

  .hero-booking-contact-fields-inner .hero-booking-contact-label:nth-child(2) input,
  .hero-booking-contact-fields-inner .hero-booking-contact-label:nth-child(3) input,
  .hero-booking-contact-fields-inner .hero-booking-contact-label:nth-child(4) .hero-booking-phone-country {
      border-left: 2px solid #e8e8e8;
  }

  .hero-booking-contact-fields-inner input {
      border: none;
      border-radius: 0;
      background: #ffffff;
      box-shadow: none;
      padding: 0.65rem 0.85rem;
      font-size: 1rem;
      color: #1f2937;
      min-height: 44px;
      box-sizing: border-box;
  }

  .hero-booking-contact-fields-inner .hero-booking-contact-label:first-child input {
      border-radius: 8px 0 0 8px;
  }

  .hero-booking-contact-fields-inner .hero-booking-contact-label:last-child .hero-booking-phone-input {
      border-radius: 0 8px 8px 0;
  }

  .hero-booking-contact-form input::placeholder {
      color: #6b7280;
  }

  .hero-booking-contact-phone-wrap {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
  }

  .hero-booking-phone-prefix {
      flex-shrink: 0;
  }

  .hero-booking-phone-country {
      padding: 0.65rem 0.5rem 0.65rem 0.75rem;
      background: #f3f4f6;
      color: #374151;
      border: none;
      border-right: 1px solid #e8e8e8;
      border-radius: 0;
      font-size: 1rem;
      font-family: inherit;
      cursor: pointer;
      appearance: auto;
      min-height: 44px;
      box-sizing: border-box;
  }

  .hero-booking-phone-country option {
      background: #fff;
      color: #1f2937;
  }

  .hero-booking-phone-input {
      flex: 1;
      min-width: 0;
  }

  .hero-booking-contact-label input {
      min-width: 0;
  }

  .hero-booking-contact-actions {
      text-align: center;
      margin-top: 1rem;
  }

  .hero-booking-btn-confirm {
      display: inline-block;
      width: auto;
      padding: 0.75rem 2.25rem;
      border-radius: 9999px;
      background: #00b8f2;
      color: #ffffff;
      border: none;
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: opacity 0.2s, transform 0.2s;
  }

  .hero-booking-btn-confirm:hover {
      opacity: 0.95;
      transform: scale(1.02);
  }

  .hero-booking-legs {
      width: 100%;
      transition: min-height 0.35s ease;
  }

  .hero-booking-leg {
      position: relative;
      z-index: 1;
      margin-bottom: 1.25rem;
  }

  .hero-booking-leg.autocomplete-open {
      z-index: 50;
  }

  .hero-booking-leg.hero-booking-leg--animate {
      animation: hero-leg-appear 0.65s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  }

  @keyframes hero-leg-appear {
      0% {
          opacity: 0;
          transform: translateY(-16px);
      }
      100% {
          opacity: 1;
          transform: translateY(0);
      }
  }

  .hero-booking-leg .leg-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
  }

  .hero-booking-leg .leg-header--minimal:empty {
      display: none;
      margin: 0;
  }

  .hero-booking-leg .leg-header--minimal:not(:empty) {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 0.25rem;
  }

  .hero-booking-leg .btn-remove-leg {
      width: 44px;
      height: 44px;
      min-width: 44px;
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.25);
      color: #FFFFFF;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
      flex-shrink: 0;
  }

  .hero-booking-leg .btn-remove-leg:hover {
      background: rgba(255, 255, 255, 0.35);
      color: #FFFFFF;
  }

  .hero-booking-leg .btn-remove-leg i {
      font-size: 1rem;
  }

  .autocomplete-container {
      position: relative;
  }

  .hero-booking .autocomplete-results {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 100;
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
      max-height: 220px;
      overflow-y: auto;
      display: none;
      margin-top: 4px;
      border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .hero-booking .autocomplete-results[style*="block"] {
      display: block;
  }

  .hero-booking .autocomplete-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.6rem 1rem;
      cursor: pointer;
      background: #ffffff;
      color: #1a1a1a;
      font-size: 0.9rem;
      line-height: 1.35;
      border-bottom: 1px solid #e5e5e5;
  }

  .hero-booking .autocomplete-item:last-child {
      border-bottom: none;
  }

  .hero-booking .autocomplete-item:hover {
      background: #e8f4fc;
      color: #0d0d0d;
  }

  .hero-booking .autocomplete-item .item-flag {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 16px;
      overflow: hidden;
      border-radius: 3px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  }

  .hero-booking .autocomplete-item .item-flag-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  .hero-booking .autocomplete-item .item-content {
      flex: 1;
      min-width: 0;
  }

  .hero-booking .autocomplete-item .item-main,
  .hero-booking .autocomplete-item .item-name,
  .hero-booking .autocomplete-item .item-sub {
      color: inherit;
  }

  .hero-booking .autocomplete-item .item-main {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.4rem;
      font-weight: 500;
      margin-bottom: 0.15rem;
  }

  .hero-booking .autocomplete-item .item-code-badge {
      display: inline-block;
      padding: 0.2rem 0.5rem;
      background: #00b8f2;
      color: #fff;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      border-radius: 6px;
      line-height: 1.2;
  }

  .hero-booking .autocomplete-item .item-sub {
      font-size: 0.8rem;
      color: #444;
      opacity: 1;
  }

  .hero-booking .autocomplete-item:hover .item-sub {
      color: #333;
  }

  .hero-booking-actions {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      margin-top: 0.25rem;
  }

  .hero-booking-cotizar {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.7rem 1.75rem;
      background: #ffffff;
      color: #00b8f2;
      border: none;
      border-radius: 9999px;
      font-family: "Poppins", sans-serif;
      font-size: 1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      cursor: pointer;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
      transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  }

  .hero-booking-cotizar:hover,
  .hero-booking-cotizar:focus {
      background-color: #000000;
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Servicios - franja blanca | franja negra | franja blanca */
  .servicios-section {
      background: #FFFFFF;
      padding: var(--section-padding-y, 6rem) 0 0 0;
      overflow: visible;
  }

  .servicios-section .section-inner {
      max-width: var(--container-max, 1200px);
      margin: 0 auto;
      padding-left: var(--container-padding, 2.5rem);
      padding-right: var(--container-padding, 2.5rem);
  }

  .servicios-section .section-title-wrap {
      margin-top: 1rem;
  }

  .servicios-dark-band {
      width: 100%;
      max-width: 100%;
      background: linear-gradient(to bottom, #212121 0, #212121 44rem, #ffffff 44rem, #ffffff 100%);
      padding: var(--section-padding-y, 3rem) 0 var(--section-padding-y, 4rem) 0;
      margin: 10rem 0 0 0;
      box-sizing: border-box;
  }

  /* En móvil las 3 primeras tarjetas van apiladas: franja negra cubre las 3 tarjetas completas (imagen + contenido) */
  @media (max-width: 900px) {
      .servicios-dark-band {
          background: linear-gradient(to bottom, #212121 0, #212121 132rem, #ffffff 130rem, #ffffff 100%);
      }
  }

  .servicios-dark-band-inner {
      max-width: var(--container-max, 1200px);
      margin: -140px auto 0 auto;
      padding-left: var(--container-padding, 2.5rem);
      padding-right: var(--container-padding, 2.5rem);
      width: 100%;
      box-sizing: border-box;
      background: transparent;
  }

  .servicios-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.5rem;
      align-items: stretch;
      background: transparent;
  }

  @media (max-width: 900px) {
      .servicios-grid {
          grid-template-columns: repeat(2, 1fr);
      }
  }

  @media (max-width: 600px) {
      .servicios-grid {
          grid-template-columns: 1fr;
      }
  }

  .servicio-card {
      display: flex;
      flex-direction: column;
      max-width: 300px;
      margin: 0 auto;
      height: 100%;
      border-radius: 0;
      overflow: visible;
      transition: transform 0.3s ease;
      background: transparent;
      box-shadow: none;
  }

  /* En móvil las tarjetas ocupan todo el ancho de la franja (sin huecos a los lados) */
  @media (max-width: 600px) {
      .servicios-dark-band .servicio-card {
          max-width: 100%;
          margin: 0;
      }
  }

  .servicio-card:hover {
      transform: translateY(-2px);
  }

  .servicio-card-img-wrap {
      width: 100%;
      aspect-ratio: 2 / 2;
      overflow: hidden;
      background: transparent;
      border: none;
  }

  .servicio-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      image-rendering: -webkit-optimize-contrast;
      image-rendering: high-quality;
      vertical-align: middle;
  }

  .servicio-card-content {
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      flex: 1;
      width: 100%;
      min-height: 0;
      padding-top: 10px;
      padding-left: 0;
      padding-right: 0;
      padding-bottom: 50px;
      text-align: left;
  }

  .servicio-card-content .btn-servicio {
      margin-top: auto;
      align-self: flex-start;
  }

  .servicio-card--dark .servicio-card-content {
      background: transparent;
      color: #fff;
  }

  .servicio-card--light .servicio-card-content {
      background: transparent;
      color: #111827;
  }

  @keyframes servicio-entrada-izq {
      from {
          opacity: 0;
          transform: translateX(-50px);
      }
      to {
          opacity: 1;
          transform: translateX(0);
      }
  }

  @keyframes servicio-entrada-arriba {
      from {
          opacity: 0;
          transform: translateY(-40px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @keyframes servicio-entrada-der {
      from {
          opacity: 0;
          transform: translateX(50px);
      }
      to {
          opacity: 1;
          transform: translateX(0);
      }
  }

  .servicio-num {
      font-family: "Poppins", sans-serif;
      font-size: 3.75rem;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 0.5rem;
      display: block;
      opacity: 0;
  }

  .servicio-card:nth-child(1) .servicio-num,
  .servicio-card:nth-child(4) .servicio-num {
      transform: translateX(-50px);
  }

  .servicio-card:nth-child(2) .servicio-num,
  .servicio-card:nth-child(5) .servicio-num {
      transform: translateY(-40px);
  }

  .servicio-card:nth-child(3) .servicio-num,
  .servicio-card:nth-child(6) .servicio-num {
      transform: translateX(50px);
  }

  .servicios-section.in-view-row-1 .servicio-card:nth-child(1) .servicio-num {
      animation: servicio-entrada-izq 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.1s;
  }
  .servicios-section.in-view-row-1 .servicio-card:nth-child(2) .servicio-num {
      animation: servicio-entrada-arriba 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.2s;
  }
  .servicios-section.in-view-row-1 .servicio-card:nth-child(3) .servicio-num {
      animation: servicio-entrada-der 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.3s;
  }
  .servicios-section.in-view-row-2 .servicio-card:nth-child(4) .servicio-num {
      animation: servicio-entrada-izq 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.5s;
  }
  .servicios-section.in-view-row-2 .servicio-card:nth-child(5) .servicio-num {
      animation: servicio-entrada-arriba 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.6s;
  }
  .servicios-section.in-view-row-2 .servicio-card:nth-child(6) .servicio-num {
      animation: servicio-entrada-der 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.7s;
  }

  .servicio-card--dark .servicio-num {
      color: rgba(255, 255, 255, 0.9);
  }

  .servicio-card--light .servicio-num {
      color: #212121;
  }

  .servicio-title-underline {
      display: block;
      width: 30px;
      height: 5px;
      background: #0CB7F2;
      margin: 0 0 0.75rem 0;
      margin-left: 0;
  }

  .servicio-card h3 {
      font-family: "Poppins", sans-serif;
      font-size: 30px;
      font-weight: 700;
      color: #FFFFFF;
      letter-spacing: 0.15px;
      text-transform: uppercase;
      margin: 0 0 1rem 0;
      line-height: 1.2;
      min-height: 2.5em;
      opacity: 0;
  }

  .servicio-card:nth-child(1) h3,
  .servicio-card:nth-child(4) h3 {
      transform: translateX(-50px);
  }

  .servicio-card:nth-child(2) h3,
  .servicio-card:nth-child(5) h3 {
      transform: translateY(-40px);
  }

  .servicio-card:nth-child(3) h3,
  .servicio-card:nth-child(6) h3 {
      transform: translateX(50px);
  }

  .servicios-section.in-view-row-1 .servicio-card:nth-child(1) h3 {
      animation: servicio-entrada-izq 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.25s;
  }
  .servicios-section.in-view-row-1 .servicio-card:nth-child(2) h3 {
      animation: servicio-entrada-arriba 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.35s;
  }
  .servicios-section.in-view-row-1 .servicio-card:nth-child(3) h3 {
      animation: servicio-entrada-der 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.45s;
  }
  .servicios-section.in-view-row-2 .servicio-card:nth-child(4) h3 {
      animation: servicio-entrada-izq 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.65s;
  }
  .servicios-section.in-view-row-2 .servicio-card:nth-child(5) h3 {
      animation: servicio-entrada-arriba 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.75s;
  }
  .servicios-section.in-view-row-2 .servicio-card:nth-child(6) h3 {
      animation: servicio-entrada-der 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
      animation-delay: 0.85s;
  }

  .servicio-card--light h3 {
      color: #374151;
  }

  .servicio-card-content p {
      flex: 1;
      min-height: 0;
      font-size: 0.95rem;
      line-height: 1.6;
      margin: 0 0 1.25rem 0;
  }

  .servicio-card--dark p {
      color: rgba(255, 255, 255, 0.85);
  }

  .servicio-card--light p {
      color: #6b7280;
  }

  .btn-servicio {
      display: inline-block;
      padding: 0.6rem 1.5rem;
      font-size: 0.9rem;
      font-family: "Poppins", sans-serif;
      font-weight: 500;
      text-decoration: none;
      border-radius: 9999px;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
      text-align: center;
  }

  .servicio-card--dark .btn-servicio {
      background: #FFFFFF;
      color: #1a1a1a;
      border: 1px solid rgba(0, 0, 0, 0.12);
  }

  .servicio-card--dark .btn-servicio:hover,
  .servicio-card--dark .btn-servicio:focus,
  .servicio-card--dark .btn-servicio:active {
      background: #00b8f2;
      color: #FFFFFF;
      border-color: transparent;
  }

  .servicio-card--light .btn-servicio,
  .btn-servicio--dark {
      background: #212529;
      color: #FFFFFF;
      border: none;
      border-radius: 9999px;
      padding: 0.75rem 1.75rem;
      font-weight: 500;
  }

  .servicio-card--light .btn-servicio:hover,
  .servicio-card--light .btn-servicio:focus,
  .servicio-card--light .btn-servicio:active,
  .btn-servicio--dark:hover,
  .btn-servicio--dark:focus,
  .btn-servicio--dark:active {
      background: #00b8f2;
      color: #FFFFFF;
  }

  /* Imagen full-width despuÃ©s de servicios */
  .servicios-banner-img {
      width: 100%;
      overflow: hidden;
  }

  .servicios-banner-img img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
  }

  /* Aeronaves */
  .aeronaves-section {
      background: #f5f5f5;
      padding: var(--section-padding-y, 5rem) 0;
  }

  .aeronaves-section .section-inner {
      max-width: var(--container-max, 1200px);
      margin: 0 auto;
      padding-left: var(--container-padding, 2rem);
      padding-right: var(--container-padding, 2rem);
  }

  .aeronaves-section .section-title {
      color: #374151;
  }

  .aeronaves-intro {
      text-align: center;
      max-width: 700px;
      margin: 0 auto 3rem;
      color: #6b7280;
      font-size: 1rem;
      line-height: 1.6;
  }

  .aeronaves-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-top: 2rem;
  }

  @media (max-width: 900px) {
      .aeronaves-grid {
          grid-template-columns: 1fr;
      }
  }

  .aeronave-card {
      background: #ffffff;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      transition: box-shadow 0.3s ease, transform 0.3s ease;
  }

  .aeronave-card:hover {
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
      transform: translateY(-4px);
  }

  .aeronave-card-header {
      padding: 1.5rem 1.5rem 0;
      text-align: center;
  }

  .aeronave-card-header h3 {
      font-family: "Poppins", sans-serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: #374151;
      margin: 0 0 0.5rem 0;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      text-align: left;
  }

  .aeronave-title-underline {
      display: block;
      width: 50px;
      height: 5px;
      background: #0CB7F2;
      margin: 0 0 0.75rem 0;
      margin-left: 0;
  }

  .aeronave-img-wrap {
      width: 100%;
      aspect-ratio: 3 / 3;
      overflow: hidden;
      background: #e5e7eb;
  }

  .aeronave-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  .aeronave-content {
      padding: 1.5rem;
  }

  .aeronave-content ul {
      list-style: disc;
      color: #4b5563;
      font-size: 0.9rem;
      line-height: 1.7;
      margin: 0 0 1.25rem 0;
      padding-left: 1.25rem;
  }

  .aeronave-content li {
      padding: 0.25rem 0;
  }

  .btn-aeronave {
      display: block;
      width: 100%;
      text-align: center;
      padding: 0.7rem 1.5rem;
      background: #212529;
      color: #ffffff;
      font-family: "Poppins", sans-serif;
      font-weight: 500;
      font-size: 0.95rem;
      text-decoration: none;
      border-radius: 9999px;
      border: none;
      transition: background 0.2s ease;
  }

  .btn-aeronave:hover {
      background: #1a1d21;
      color: #ffffff;
  }

  /* Mantenimiento */
  .mantenimiento-section {
      padding: 0;
  }

  .mantenimiento {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 420px;
      align-items: stretch;
  }

  @media (max-width: 900px) {
      .mantenimiento {
          grid-template-columns: 1fr;
      }
  }

  .mantenimiento-content {
      background: #1a1a1a;
      padding: 3rem 100px 3rem 180px;
      display: flex;
      flex-direction: column;
      justify-content: center;
  }

  .mantenimiento-title {
      font-family: "Poppins", sans-serif;
      font-size: clamp(1.75rem, 3.5vw, 2.25rem);
      font-weight: 700;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 1px;
      line-height: 1.2;
      margin: 0 0 0.75rem 0;
  }

  .mantenimiento-underline {
      display: block;
      width: 60px;
      height: 3px;
      background: #00b8f2;
      margin: 0 0 1.5rem 0;
  }

  .mantenimiento-text {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1rem;
      line-height: 1.6;
      margin: 0 0 1.5rem 0;
  }

  .mantenimiento-list {
      list-style: disc;
      color: #ffffff;
      font-size: 1rem;
      line-height: 1.7;
      margin: 0;
      padding-left: 1.25rem;
  }

  .mantenimiento-list li {
      padding: 0.35rem 0;
  }

  .mantenimiento-list li::marker {
      color: rgba(255, 255, 255, 0.6);
  }

  .mantenimiento-img-wrap {
      width: 100%;
      min-height: 380px;
      overflow: hidden;
  }

  .mantenimiento-img {
      width: 100%;
      height: 100%;
      min-height: 380px;
      object-fit: cover;
      display: block;
  }
