/* =============================================
   Hero Tabs & News Cards
   ============================================= */

.hero-tabs {
  position: relative;
  z-index: 5;
  margin-top: -11rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5rem;
}

.hero-tabs__nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 8px;
  background-color: var(--sata-white);
  position: relative;
  border-radius: 16px 16px 0 0;
}

.hero-tabs__nav::before,
.hero-tabs__nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 16px;
  background: var(--sata-white);
  pointer-events: none;
}

.hero-tabs__nav::before {
  left: -15px;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 15px, white 16px);
  mask: radial-gradient(circle at 0 0, transparent 15px, white 16px);
}

.hero-tabs__nav::after {
  right: -15px;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 15px, white 16px);
  mask: radial-gradient(circle at 100% 0, transparent 15px, white 16px);
}

.hero-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--sata-white);
  border: none;
  color: var(--sata-navy);
  position: relative;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 10px;
  transition: all var(--transition);
  white-space: nowrap;
  height: fit-content !important;
}

.hero-tabs__tab.active {
  background: var(--sata-teal);
  color: var(--sata-navy);
}

.hero-tabs__tab:is(.active):hover {
  background: var(--sata-teal-dark);
  color: var(--sata-white) !important;
}

.hero-tabs__tab:not(.active):hover {
  background: var(--sata-gray-light);
  color: var(--sata-teal);
}

.hero-tabs__body {
  background: var(--sata-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(29, 47, 77, 0.16);
  clip-path: inset(0 -9999px -9999px -9999px);
  width: 100%;
  margin-top: -1px;
  position: relative;
  z-index: 1;
}

.hero-tabs__body h4 {
  font-size: 18px;
  margin-bottom: 0 !important;
}

.hero-tabs__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.hero-tabs__panel-header p {
  font-size: 0.9375rem;
  color: var(--sata-text);
  margin: 0;
}

.hero-tabs__panel-links {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.hero-tabs__panel-links span {
  font-size: 32px;
  margin-bottom: 5.5px;
  font-family: OpenSansRegular, sans-serif;
  color: var(--sata-link);
}

.hero-tabs__panel-links a {
  color: var(--sata-link);
  font-size: 16px;
  font-family: OpenSansMedium, sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.hero-tabs__panel-links a:hover {
  text-decoration: underline;
}

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

.news-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 350px;
  background: var(--sata-navy);
  cursor: pointer;
}

.news-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.news-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 28, 61, 0.92) 0%,
    rgba(0, 28, 61, 0.60) 30%,
    rgba(0, 28, 61, 0.15) 55%,
    transparent 70%
  );
}

.news-card:hover .news-card__img {
  transform: scale(1.04);
}

.news-card__badge {
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  background: var(--sata-link);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  padding: 0.25rem 0.7rem;
  border-radius: 8px;
  z-index: 2;
}

.news-card__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.75rem;
  margin: 0.5rem;
  z-index: 2;
}

.news-card__title {
  font-size: 24px !important;
  color: var(--sata-white) !important;
  font-family: OpenSansMedium, sans-serif;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.news-card__date {
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.8) !important;
  display: block;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.booking-form::before, .booking-form::after {
  display: none !important;
}

.booking-form__fields {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.booking-form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-height: 70px;
  padding: 14px !important;
  justify-content: center;
  background-color: var(--sata-gray-light);
  min-width: 0;
  border-radius: 16px;
}

.booking-form__field label {
  font-family: OpenSansRegular, sans-serif;
  font-size: 14px !important;
  color: var(--sata-text-muted) !important;
  margin-bottom: 8px !important;
}

.booking-form__field input {
  border: none;
  background: transparent;
  font-size: 16px !important;
  color: var(--sata-navy);
  padding: 0;
  outline: none;
  width: 100%;
}

.booking-form__field input::placeholder {
  opacity: 1;
}

.booking-form__divider {
  width: 1px;
  align-self: stretch;
  background: var(--sata-gray);
  margin: 1rem 0;
}

.booking-form__submit {
  flex-shrink: 0;
  background: var(--sata-teal);
  color: var(--sata-navy);
  border: none;
  border-radius: 12px;
  padding: 0 2.5rem;
  font-size: 16px;
  width: fit-content !important;
  height: 70px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.booking-form__submit:hover {
  background: var(--sata-teal-dark);
  color: var(--sata-white);
}

.booking-form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 14px;
  color: var(--sata-text-muted);
}

.booking-form__checkbox input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: auto;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--sata-teal);
  cursor: pointer;
}

.booking-form__checkbox a {
  color: var(--sata-link);
  text-decoration: none;
}

.booking-form__checkbox a:hover {
  text-decoration: underline;
}

.flight-status-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flight-status-form__form::before, .flight-status-form__form::after {
  display: none !important;
}

.flight-status-form__modes {
  display: flex;
  gap: 2rem;
}

.flight-status-form__mode {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  color: var(--sata-text);
  font-family: OpenSansRegular, sans-serif !important;
  font-weight: unset !important;
  cursor: pointer;
}

.flight-status-form__mode input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  padding: 0 !important;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #F9FAFB;
  cursor: pointer;
  border: 1px solid #D1D5DB;
  transition: background-color var(--transition), border-color var(--transition);
}

.flight-status-form__mode input[type="radio"]:checked {
  background-color: var(--sata-white);
  border: 4px solid var(--sata-link);
}

.flight-status-form__mode--sm {
  font-size: 14px;
  color: var(--sata-text-muted);
}

.flight-status-form__form {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flight-status-form__fields {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.flight-status-form__field-group {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex: 1;
}

.flight-status-form__field-group[hidden] {
  display: none !important;
}

.flight-status-form__direction {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}

.flight-status-form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-height: 70px;
  padding: 14px !important;
  justify-content: center;
  background-color: var(--sata-gray-light);
  min-width: 0;
  border-radius: 16px;
  position: relative;
}

.flight-status-form__field label {
  font-family: OpenSansRegular, sans-serif;
  font-size: 14px !important;
  color: var(--sata-text-muted) !important;
  margin-bottom: 8px !important;
}

.flight-status-form__field input,
.flight-status-form__field select {
  border: none;
  background: transparent;
  font-size: 16px !important;
  color: var(--sata-navy);
  padding: 0;
  outline: none;
  width: 100%;
  appearance: none;
}

.flight-status-form__field--date {
  flex: 0 0 220px;
}

.flight-status-form[data-mode="flight-number"] .flight-status-form__field--date {
  flex: 1;
}

.flight-status-form[data-mode="airport"] .flight-status-form__field--date {
  flex: 0.8;
}

.flight-status-form__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: none;
  background: transparent;
  font-size: 16px !important;
  color: var(--sata-navy);
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.flight-status-form__trigger svg {
  flex-shrink: 0;
  color: var(--sata-navy);
  pointer-events: none;
}

.flight-status-form__submit {
  width: 70px !important;
  height: 70px !important;
  background: var(--sata-teal);
  color: var(--sata-navy);
  border: none;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.flight-status-form__submit:hover {
  background: var(--sata-teal-dark);
  color: var(--sata-white);
}

.flight-status-form .dropdown-list {
  max-height: 240px;
  overflow-y: auto;
  scrollbar-color: var(--sata-gray) transparent;
}

.flight-status-form .dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.flight-status-form .dropdown-list::-webkit-scrollbar-track {
  background: transparent;
}

.flight-status-form .dropdown-list::-webkit-scrollbar-thumb {
  background: var(--sata-gray);
  border-radius: 4px;
}

.flight-status-form .dropdown-option {
  font-size: 16px !important;
  padding: 0.75rem;
}

.flight-status-form .dropdown-option--loading {
  color: var(--sata-text-muted);
  cursor: default;
}

.flight-status-form .dropdown-option--loading:hover {
  background: transparent;
  color: var(--sata-text-muted);
}

.flight-status-form__submit-label {
  display: none;
}

.flight-schedule-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flight-schedule-form__form::before, .flight-schedule-form__form::after {
  display: none !important;
}

.flight-schedule-form__modes {
  display: flex;
  gap: 2rem;
}

.flight-schedule-form__mode {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  color: var(--sata-text);
  font-family: OpenSansRegular, sans-serif !important;
  font-weight: unset !important;
  cursor: pointer;
}

.flight-schedule-form__mode input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  padding: 0 !important;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #F9FAFB;
  cursor: pointer;
  border: 1px solid #D1D5DB;
  transition: background-color var(--transition), border-color var(--transition);
}

.flight-schedule-form__mode input[type="radio"]:checked {
  background-color: var(--sata-white);
  border: 4px solid var(--sata-link);
}

.flight-schedule-form__form {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flight-schedule-form__fields {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.flight-schedule-form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-height: 70px;
  padding: 14px !important;
  justify-content: center;
  background-color: var(--sata-gray-light);
  min-width: 0;
  border-radius: 16px;
  position: relative;
}

.flight-schedule-form__field label {
  font-family: OpenSansRegular, sans-serif;
  font-size: 14px !important;
  color: var(--sata-text-muted) !important;
  margin-bottom: 8px !important;
}

.flight-schedule-form__field input,
.flight-schedule-form__field select {
  border: none;
  background: transparent;
  font-size: 16px !important;
  color: var(--sata-navy);
  padding: 0;
  outline: none;
  width: 100%;
  appearance: none;
}

.flight-schedule-form__field--date {
  flex: 0 0 220px;
}

.flight-schedule-form__field[hidden] {
  display: none !important;
}

.flight-schedule-form__submit {
  width: 70px !important;
  height: 70px !important;
  background: var(--sata-teal);
  color: var(--sata-navy);
  border: none;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.flight-schedule-form__submit:hover {
  background: var(--sata-teal-dark);
  color: var(--sata-white);
}

.flight-schedule-form .dropdown-list {
  max-height: 240px;
  overflow-y: auto;
  scrollbar-color: var(--sata-gray) transparent;
}

.flight-schedule-form .dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.flight-schedule-form .dropdown-list::-webkit-scrollbar-track {
  background: transparent;
}

.flight-schedule-form .dropdown-list::-webkit-scrollbar-thumb {
  background: var(--sata-gray);
  border-radius: 4px;
}

.flight-schedule-form .dropdown-option {
  font-size: 16px !important;
  padding: 0.75rem;
}

.date-calendar {
  min-width: 320px;
  padding: 0.75rem;
  max-height: none !important;
  overflow: visible !important;
}

.date-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.date-calendar__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sata-navy);
  text-transform: capitalize;
}

.date-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--sata-navy);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.date-calendar__nav:hover {
  background: var(--sata-gray-light);
  color: var(--sata-teal-dark);
}

.date-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  color: var(--sata-text-muted);
  margin-bottom: 0.25rem;
  gap: 2px;
}

.date-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  place-items: center;
}

.date-calendar .dropdown-option.date-calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  aspect-ratio: 1;
  padding: 0 !important;
  font-size: 0.85rem !important;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--sata-navy);
  cursor: pointer;
}

.date-calendar .dropdown-option.date-calendar__day:hover {
  background: var(--sata-gray-light);
  color: var(--sata-teal-dark);
}

.date-calendar .dropdown-option.date-calendar__day.active {
  background: var(--sata-teal);
  color: var(--sata-white);
}

.date-calendar .dropdown-option.date-calendar__day--today {
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--sata-teal);
}

.date-calendar .dropdown-option.date-calendar__day:disabled {
  color: var(--sata-gray-mid);
  cursor: not-allowed;
  pointer-events: none;
}

.date-calendar .dropdown-option.date-calendar__day.date-calendar__day--muted {
  color: var(--sata-gray-mid);
}

.flight-schedule-form__field--date input {
  padding-right: 24px !important;
}

.flight-schedule-form__date-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  color: var(--sata-navy);
  pointer-events: none;
}

.flight-schedule-form__submit-label {
  display: none;
}

.hero-tabs__mobile-footer {
  display: none;
  gap: 1rem;
}

.hero-tabs__mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  padding: 1rem 0;
  background: #F6F6F7;
  border: none !important;
  border-radius: 10px;
  color: var(--sata-navy);
  font-size: 16px;
  cursor: pointer;
  transition: color var(--transition);
}

.hero-tabs__mobile-btn:hover {
  background: #e8e8e8;
  color: var(--sata-teal);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1199.98px) {
  .hero-tabs {
    margin-top: -15rem;
  }

  .news-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .hero-tabs__panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-form {
    flex-direction: column;
    gap: 1rem;
  }

  .booking-form__fields {
    display: contents;
  }

  .booking-form__field {
    width: 100%;
  }

  .booking-form__consent {
    order: 1;
  }

  .booking-form__submit {
    order: 2;
    width: 100% !important;
    height: fit-content;
    padding: 0.875rem 1.5rem;
  }

  .flight-status-form__form {
    flex-direction: column;
    align-items: stretch;
  }

  .flight-status-form__fields {
    flex-direction: column;
    align-items: stretch;
  }

  .flight-status-form__field-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .flight-status-form__field--date {
    flex: 1;
    width: 100%;
  }

  .flight-status-form__submit {
    width: 100% !important;
    height: fit-content !important;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    gap: 0.5rem;
  }

  .flight-status-form__submit-label {
    display: inline;
    font-size: 16px;
    font-weight: 600;
  }

  .flight-status-form {
    margin-top: 1.5rem;
  }

  .flight-schedule-form__form {
    flex-direction: column;
    align-items: stretch;
  }

  .flight-schedule-form__fields {
    flex-direction: column;
    align-items: stretch;
  }

  .flight-schedule-form__field--date {
    flex: 1;
    width: 100%;
  }

  .flight-schedule-form__submit {
    width: 100% !important;
    height: fit-content !important;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    gap: 0.5rem;
  }

  .flight-schedule-form__submit-label {
    display: inline;
    font-size: 16px;
    font-weight: 600;
  }

  .flight-schedule-form {
    margin-top: 1.5rem;
  }
}

@media (max-width: 930px) {
  .hero-tabs {
    padding: 0 16px;
  }

  .hero-tabs__nav::before,
  .hero-tabs__nav::after {
    display: none;
  }

  .hero-tabs__nav {
    padding: 0;
    flex-wrap: nowrap;
    background-color: white;
    width: 100%;
  }

  .hero-tabs__nav .hero-tabs__tab:not(.active) {
    display: none;
  }

  .hero-tabs__nav .hero-tabs__tab.active {
    justify-content: center;
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    width: 100%;
    margin: 1rem 1rem 0 1rem;
    font-size: 16px;
    box-shadow: none;
  }

  .hero-tabs__body {
    padding: 1rem 1.5rem 1.5rem;
    border-radius: 0 0 16px 16px;
  }

  .hero-tabs__panel-header {
    display: none;
  }

  .hero-tabs__mobile-footer {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-tabs {
    padding: 0 16px;
    margin-top: -50px !important;
  }
}
