/* ============================================
   LAST-MINUTE FLIGHT DEALS PAGE
   All class names are prefixed with `lm-`
   so nothing conflicts with deals.css/js
   or domestic.css/js
   ============================================ */

/* ============ HERO ============ */
.lm-hero {
  background:
    linear-gradient(90deg, rgba(225,238,255,0.95) 0%, rgba(225,238,255,0.5) 40%, rgba(225,238,255,0) 70%),
    url('image/ivan-shimko.webp') center/cover no-repeat;
  padding: 60px 0 40px;
}
.lm-hero h1 {
  font-size: 50px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}
.lm-subline {
  color: var(--primary-blue);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 7px;
}
.lm-hero-text {
  color: #1b1e23;
  font-size: 15px;
  max-width: 480px;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 26px;
}

/* Countdown Timer */
.lm-countdown {
  background: #fff;
  border-radius: 12px;
  padding: 18px 24px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  flex-wrap: wrap;
}
.lm-cd-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.lm-cd-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}
.lm-cd-blocks {
  display: flex;
  gap: 16px;
}
.lm-cd-block {
  text-align: center;
  min-width: 50px;
  border-right: 1px solid #cecece;
}
.lm-cd-block:last-child { border-right: none; }
.lm-cd-num {
  font-size: 26px;
  font-weight: 700;
  color: #DC2626;
  line-height: 1;
  margin-bottom: 4px;
}
.lm-cd-unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ============ TRUST FEATURES TOP ============ */
.lm-trust-top {
  padding: 0 0 20px;
  margin-top: 0px;
}
.lm-trust-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 25px 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.lm-tt-col {
  border-right: 1px solid var(--border-light);
}
.lm-tt-col:last-child { border-right: none; }
.lm-tt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px;
}
.lm-tt-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.lm-tt-item h6 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--text-dark);
}
.lm-tt-item p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
}

/* ============ DEALS SECTION ============ */
.lm-deals-section {
  padding: 10px 0 30px;
}
.lm-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}
.lm-head h3 {
  font-weight: 700;
  font-size: 26px;
  color: var(--text-dark);
  margin: 0 0 4px;
}
.lm-price-note {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
}
.lm-view-all {
  background: #fff;
  border: 1px solid var(--border-light);
  color: #00389f;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.lm-view-all:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}
.lm-view-all i {
  font-size: 12px;
}

/* ============ DEAL CARD ============ */
.lm-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.lm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.lm-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.lm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lm-badge-left,
.lm-badge-right {
  position: absolute;
  top: 0px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
}
.lm-badge-left {
  left: 0px;
  background: #DC2626;
}
.lm-badge-right {
  right: 0px;
  background: #F97316;
}

.lm-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lm-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.lm-arrow {
  color: var(--primary-blue);
  font-size: 12px;
}

.lm-airline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.lm-al-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.lm-al-american { background: #BB1F2A; }
.lm-al-southwest {
  background: linear-gradient(135deg, #304CB2 33%, #E51A3D 33%, #E51A3D 66%, #F8B921 66%);
  font-size: 10px;
}
.lm-al-united { background: #002244; }
.lm-al-jetblue { background: #0033A0; }
.lm-al-name {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.lm-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.lm-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lm-meta i {
  color: var(--text-muted);
  font-size: 11px;
}

.lm-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.lm-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.lm-price-now {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}
.lm-price-old {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.lm-save-pill {
  background: #FEE2E2;
  color: #DC2626;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.lm-btn-book {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
  transition: background 0.2s;
  font-family: inherit;
}
.lm-btn-book:hover {
  background: var(--primary-blue-dark);
}

/* ============ WHY LAST-MINUTE CTA ============ */
.lm-why-cta {
  padding: 10px 0;
}
.lm-why-card {
  background: #EEF3FB;
  border-radius: 14px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.lm-why-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 250px;
}
.lm-why-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.lm-why-text h5 {
  margin: 0 0 5px;
  font-weight: 600;
  font-size: 24px;
  color: var(--text-dark);
}
.lm-why-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.lm-why-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lm-btn-green {
  background: var(--whatsapp-green);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.lm-btn-green:hover {
  background: var(--whatsapp-green-dark);
  color: #fff;
}
.lm-btn-outline-blue {
  background: transparent;
  color: var(--primary-blue);
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  border: 1.5px solid var(--primary-blue);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s;
}
.lm-btn-outline-blue:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* ============ POPULAR ROUTES ============ */
.lm-routes {
  padding: 30px 0 20px;
}
.lm-routes-title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 25px;
}
.lm-route-pill {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
  height: 100%;
  transition: all 0.2s;
}
.lm-route-pill:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.lm-rp-route {
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-weight: 500;
}
.lm-rp-route i {
  color: var(--primary-blue);
  font-size: 11px;
  margin: 0 4px;
}
.lm-rp-price {
  font-size: 14px;
  color: #00389f;
}
.lm-rp-price span {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 16px;
}

/* ============ BLUE FEATURES BAR ============ */
.lm-features-bar-section {
  padding: 10px 0;
}
.lm-features-bar {
  background: var(--primary-blue-dark);
  border-radius: 14px;
  padding: 24px 28px;
  color: #fff;
}
.lm-fb-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lm-fb-icon {
  width: 60px;
  height: 60px;
  background: rgb(15 62 159 / 76%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.lm-fb-item h6 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 5px;
  color: #fff;
}
.lm-fb-item p {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
}

/* ============ BOTTOM CTA ============ */
.lm-bottom-cta {
  padding: 10px 0 20px;
}
.lm-bottom-card {
  background: var(--primary-blue);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #fff;
}
.lm-bc-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 250px;
}
.lm-bc-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  flex-shrink: 0;
}
.lm-bc-text h5 {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 22px;
  color: #fff;
}
.lm-why-right i.fab.fa-whatsapp {
    font-size: 24px;
}
.lm-bc-right i.fab.fa-whatsapp{
    font-size: 24px;
}
.lm-bc-text p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}
.lm-bc-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lm-btn-cta-white {
  background: transparent;
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 500;
  border: 1.5px solid #fff;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s;
}
.lm-btn-cta-white:hover {
  background: #fff;
  color: var(--primary-blue);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .lm-hero h1 { font-size: 38px; }
  .lm-subline { font-size: 22px; }

  /* Trust top - 2x grid */
  .lm-tt-col {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 18px;
  }
  .lm-tt-col:last-child,
  .lm-tt-col:nth-last-child(2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .lm-hero {
    padding: 40px 0 30px;
    background:
      linear-gradient(180deg, rgba(225,238,255,0.95) 0%, rgba(225,238,255,0.7) 60%, rgba(225,238,255,0.4) 100%),
      url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1200&auto=format&fit=crop&q=80') center/cover no-repeat;
  }
  .lm-hero h1 { font-size: 30px; }
  .lm-subline { font-size: 19px; }
  .lm-hero-text { font-size: 14px; }

  .lm-countdown {
    padding: 14px 18px;
    gap: 12px;
  }
  .lm-cd-num { font-size: 22px; }
  .lm-cd-blocks { gap: 12px; }

  .lm-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .lm-head h3 { font-size: 20px; }

  /* Why CTA stack */
  .lm-why-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px 20px;
  }
  .lm-why-left {
    flex-direction: column;
    text-align: center;
    min-width: 0;
  }
  .lm-why-right {
    justify-content: center;
    width: 100%;
    flex-direction: column;
  }
  .lm-why-right a {
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }

  /* Bottom CTA stack */
  .lm-bottom-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px 20px;
  }
  .lm-bc-left {
    flex-direction: column;
    text-align: center;
    min-width: 0;
  }
  .lm-bc-right {
    justify-content: center;
    width: 100%;
    flex-direction: column;
  }
  .lm-bc-right a {
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }

  .lm-features-bar { padding: 20px 18px; }
  .lm-routes-title { font-size: 19px; }
}

@media (max-width: 576px) {
  .lm-hero h1 { font-size: 30px; }
  .lm-subline { font-size: 17px; }

  /* Single column trust top */
  .lm-tt-col {
    border-bottom: 1px solid var(--border-light) !important;
    padding-bottom: 18px !important;
  }
  .lm-tt-col:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .lm-cd-blocks { gap: 10px; }
  .lm-cd-block { min-width: 44px; }
  .lm-cd-num { font-size: 20px; }

  .lm-img-wrap { height: 150px; }
  .lm-route { font-size: 13px; }
  .lm-price-now { font-size: 20px; }

  .lm-badge-left,
  .lm-badge-right {
    font-size: 9px;
    padding: 4px 8px;
  }
}