/* Homepage experience. Selectors are intentionally scoped to avoid legacy theme collisions. */
.home-page {
  background: #fff;
  color: var(--ink, #17263a);
}

.home-page .main-header {
  box-shadow: 0 8px 28px rgba(12, 31, 54, .09);
}

.home-page .section-kicker {
  color: var(--brand-red, #c93c32);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.home-section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.home-section-heading h2 {
  color: #152a44;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
  margin: 0 0 14px;
}

.home-section-heading p:last-child {
  color: #68788b;
  line-height: 1.75;
  margin: 0;
}

/* Hero */
.home-hero {
  background: #10243c;
  overflow: hidden;
  position: relative;
}

.home-hero .carousel-inner,
.home-hero .carousel-item {
  background: #10243c;
}

.home-hero .carousel-item {
  position: relative;
}

.home-hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 38, .94) 0%, rgba(10, 28, 48, .83) 48%, rgba(11, 31, 53, .48) 100%),
    linear-gradient(0deg, rgba(4, 16, 29, .2), transparent 45%);
  inset: 0;
  position: absolute;
}

.home-hero-content {
  bottom: auto;
  color: #fff;
  left: auto;
  min-height: 660px;
  padding: 68px 0 62px;
  position: relative;
  right: auto;
  text-align: left;
  top: auto;
  z-index: 2;
}

.home-hero-content > .container,
.home-hero-content > .container > .row {
  min-height: 530px;
}

.home-hero-copy {
  color: #fff;
  max-width: 690px;
}

.hero-eyebrow {
  color: #d8e5f1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  margin: 0;
  text-transform: uppercase;
}

.hero-eyebrow i {
  color: #ff766c;
  margin-right: 8px;
}

.home-hero-copy h1 {
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 17px 0 23px;
  max-width: 720px;
}

.hero-description {
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 31px;
  max-width: 610px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-primary {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 50px;
  padding: 12px 21px;
}

.hero-phone {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
}

.hero-phone:hover { color: #fff; opacity: .78; }
.hero-phone i { color: #ff766c; font-size: 16px; }

.home-booking-card {
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(1, 12, 25, .38);
  color: #26364a;
  margin-left: auto;
  max-width: 405px;
  padding: 27px;
}

.booking-card-heading {
  align-items: center;
  border-bottom: 1px solid #e8edf2;
  display: flex;
  gap: 13px;
  margin-bottom: 19px;
  padding-bottom: 17px;
}

.booking-card-icon {
  align-items: center;
  background: #fbe9e7;
  border-radius: 12px;
  color: #c93c32;
  display: inline-flex;
  flex: 0 0 44px;
  font-size: 17px;
  height: 44px;
  justify-content: center;
}

.booking-card-heading p {
  color: #7b8898;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.booking-card-heading h2 {
  color: #1b2d44;
  font-size: 21px;
  font-weight: 800;
  margin: 0;
}

.home-booking-form .form-group { margin-bottom: 13px; }
.home-booking-form label { color: #405168; font-size: 11px; font-weight: 800; margin-bottom: 6px; }
.home-booking-form .form-control { border-radius: 9px; font-size: 13px; height: 46px; min-height: 46px; }
.home-booking-form .btn { border-radius: 9px; font-size: 13px; margin-top: 4px; min-height: 48px; }
.booking-note { color: #718094; font-size: 10px; line-height: 1.5; margin: 13px 0 0; text-align: center; }
.booking-note i { color: #21845a; margin-right: 5px; }

.home-hero .carousel-indicators {
  bottom: 18px;
  justify-content: flex-start;
  margin-left: max(15px, calc((100% - 1140px) / 2));
  z-index: 4;
}

.home-hero .carousel-indicators button {
  border: 0;
  border-radius: 99px;
  height: 4px;
  margin: 0 6px 0 0;
  opacity: .45;
  transition: opacity .2s ease, width .2s ease;
  width: 26px;
}

.home-hero .carousel-indicators button.active { opacity: 1; width: 46px; }

.home-hero .carousel-control-prev,
.home-hero .carousel-control-next {
  align-items: center;
  background: rgba(11, 30, 52, .58);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  bottom: auto;
  display: flex;
  height: 46px;
  justify-content: center;
  opacity: 0;
  top: calc(50% - 23px);
  width: 46px;
  z-index: 4;
}

.home-hero .carousel-control-prev { left: 22px; }
.home-hero .carousel-control-next { right: 22px; }
.home-hero:hover .carousel-control-prev,
.home-hero:hover .carousel-control-next,
.home-hero .carousel-control-prev:focus,
.home-hero .carousel-control-next:focus { opacity: 1; }
.home-hero .carousel-control-prev:hover,
.home-hero .carousel-control-next:hover { background: #c93c32; border-color: #c93c32; }
.home-hero .carousel-control-prev-icon,
.home-hero .carousel-control-next-icon { height: 15px; width: 15px; }

/* Trust strip */
.home-trust-bar {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  box-shadow: 0 12px 32px rgba(13, 35, 60, .07);
  position: relative;
  z-index: 3;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  align-items: center;
  display: flex;
  gap: 13px;
  min-height: 82px;
  padding: 18px 28px;
}

.trust-item + .trust-item { border-left: 1px solid #e8edf2; }
.trust-item > i { color: #c93c32; font-size: 23px; }
.trust-item span { color: #728094; font-size: 11px; line-height: 1.5; }
.trust-item strong { color: #20334c; display: block; font-size: 13px; font-weight: 800; }

/* Fleet carousel */
.home-fleet-section {
  background: #f5f8fb;
  overflow: hidden;
  padding: 96px 0 88px;
}

.home-fleet-heading { gap: 32px; margin-bottom: 39px; }
.home-fleet-heading > div:first-child { max-width: 720px; }

.home-fleet-heading-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding-bottom: 5px;
}

.home-carousel-controls { display: flex; gap: 8px; }
.home-carousel-button,
.home-testimonial-buttons button {
  align-items: center;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 50%;
  color: #263a53;
  display: inline-flex;
  height: 43px;
  justify-content: center;
  width: 43px;
}

.home-carousel-button:hover:not(:disabled),
.home-testimonial-buttons button:hover {
  background: #c93c32;
  border-color: #c93c32;
  color: #fff;
  transform: translateY(-2px);
}

.home-carousel-button:disabled { cursor: default; opacity: .38; }
.home-text-link { color: #b93229; font-size: 12px; font-weight: 800; white-space: nowrap; }
.home-text-link i { margin-left: 6px; }

.home-fleet-carousel { min-width: 0; }

.home-fleet-track {
  display: grid;
  gap: 22px;
  grid-auto-columns: calc((100% - 44px) / 3);
  grid-auto-flow: column;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 5px 2px 20px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.home-fleet-track::-webkit-scrollbar { display: none; }

.home-fleet-card {
  background: #fff;
  border: 1px solid #e1e8ef;
  border-radius: 17px;
  box-shadow: 0 10px 30px rgba(15, 39, 65, .08);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.home-fleet-card:hover {
  border-color: #d4dfe9;
  box-shadow: 0 20px 42px rgba(15, 39, 65, .14);
  transform: translateY(-5px);
}

.home-fleet-image-link {
  background: #eaf0f5;
  display: block;
  height: 236px;
  overflow: hidden;
  position: relative;
}

.home-fleet-image-link::after {
  background: linear-gradient(180deg, rgba(8, 24, 42, .04) 42%, rgba(8, 24, 42, .52));
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.home-fleet-image-link.image-unavailable::before {
  align-items: center;
  color: #8d9cad;
  content: '\f1b9';
  display: flex;
  font-family: FontAwesome;
  font-size: 54px;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.home-fleet-image-link img {
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
  width: 100%;
}

.home-fleet-card:hover .home-fleet-image-link img { transform: scale(1.045); }
.home-fleet-image-placeholder { align-items: center; color: #95a4b5; display: flex; font-size: 55px; height: 100%; justify-content: center; }

.home-fleet-comfort,
.home-fleet-rate {
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  position: absolute;
  z-index: 2;
}

.home-fleet-comfort { background: rgba(255, 255, 255, .95); color: #2b4059; left: 14px; padding: 8px 10px; top: 14px; }
.home-fleet-comfort i { color: #2478b5; margin-right: 4px; }
.home-fleet-rate { background: #132a45; bottom: 14px; color: #fff; padding: 8px 11px; right: 14px; }
.home-fleet-card-body { padding: 21px 21px 20px; }
.home-fleet-type { color: #c23a30; font-size: 9px; font-weight: 800; letter-spacing: .09em; margin: 0 0 5px; text-transform: uppercase; }
.home-fleet-card h3 { font-size: 20px; font-weight: 800; line-height: 1.3; margin: 0 0 9px; }
.home-fleet-card h3 a { color: #192e48; }
.home-fleet-card h3 a:hover { color: #c93c32; }
.home-fleet-description {
  color: #6b798a;
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.65;
  margin: 0 0 17px;
  min-height: 40px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-fleet-specs {
  border-bottom: 1px solid #e8edf2;
  border-top: 1px solid #e8edf2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 17px;
  padding: 13px 0;
}

.home-fleet-specs span { min-width: 0; padding: 0 8px; text-align: center; }
.home-fleet-specs span + span { border-left: 1px solid #e8edf2; }
.home-fleet-specs i { color: #c93c32; display: block; font-size: 13px; margin-bottom: 5px; }
.home-fleet-specs strong { color: #2d4056; display: block; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-fleet-specs small { color: #8a96a4; display: block; font-size: 8px; margin-top: 1px; }
.home-fleet-cta { align-items: center; color: #b93229; display: flex; font-size: 11px; font-weight: 800; justify-content: space-between; }
.home-fleet-cta:hover i { transform: translateX(4px); }

.home-carousel-footer {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 5px;
}

.home-carousel-progress { background: #dce4ec; border-radius: 99px; height: 3px; overflow: hidden; width: 150px; }
.home-carousel-progress span { background: #c93c32; display: block; height: 100%; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.home-carousel-footer p { color: #768497; font-size: 10px; font-weight: 700; margin: 0; min-width: 75px; }

.home-fleet-empty {
  align-items: center;
  background: #fff;
  border: 1px dashed #cdd9e4;
  border-radius: 17px;
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  padding: 30px;
}
.home-fleet-empty > span { color: #c93c32; font-size: 32px; }
.home-fleet-empty h3 { color: #1c314b; font-size: 18px; margin: 0 0 3px; }
.home-fleet-empty p { color: #6d7a8b; font-size: 12px; margin: 0; }

/* Benefits */
.home-benefits-section { background: #fff; padding: 96px 0; }
.home-benefits-heading { gap: 50px; margin-bottom: 42px; }
.home-benefits-heading > div { max-width: 680px; }
.home-benefits-heading > p { flex: 0 1 410px; }
.home-benefits-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }

.home-benefit-card {
  background: #fff;
  border: 1px solid #e2e9f0;
  border-radius: 16px;
  min-height: 280px;
  overflow: hidden;
  padding: 27px 24px;
  position: relative;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.home-benefit-card:hover {
  background: #132a45;
  border-color: #132a45;
  box-shadow: 0 22px 48px rgba(14, 37, 62, .18);
  transform: translateY(-5px);
}

.home-benefit-number { color: #dbe3eb; font-size: 11px; font-weight: 800; position: absolute; right: 20px; top: 18px; }
.home-benefit-icon { align-items: center; background: #f9e9e7; border-radius: 13px; color: #c93c32; display: flex; font-size: 24px; height: 52px; justify-content: center; margin-bottom: 35px; width: 52px; }
.home-benefit-card h3 { color: #1b304a; font-size: 17px; font-weight: 800; line-height: 1.4; margin-bottom: 11px; }
.home-benefit-card p { color: #6d7b8d; font-size: 12px; line-height: 1.75; margin: 0; }
.home-benefit-card:hover h3 { color: #fff; }
.home-benefit-card:hover p { color: rgba(255, 255, 255, .7); }
.home-benefit-card:hover .home-benefit-number { color: rgba(255, 255, 255, .35); }

/* Testimonials */
.home-testimonial-section {
  background: #102842;
  overflow: hidden;
  padding: 94px 0;
  position: relative;
}

.home-testimonial-section::before {
  background: radial-gradient(circle at 80% 20%, rgba(201, 60, 50, .35), transparent 34%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.home-testimonial-section > .container { position: relative; z-index: 1; }
.home-testimonial-intro { max-width: 460px; }
.home-testimonial-intro .section-kicker { color: #f3b56a; }
.home-testimonial-intro h2 { color: #fff; font-size: clamp(2.1rem, 3.5vw, 3.15rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; margin: 0 0 17px; }
.home-testimonial-intro > p:not(.section-kicker) { color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.75; margin-bottom: 23px; }
.home-rating-summary { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.home-rating-stars { color: #f6b94b; letter-spacing: 2px; }
.home-rating-summary strong { color: #fff; font-size: 14px; }
.home-rating-summary small { color: rgba(255, 255, 255, .55); font-size: 10px; }
.home-testimonial-intro .btn { font-size: 12px; padding: 12px 18px; }
.home-testimonial-intro .btn i { margin-left: 7px; }

.home-testimonial-carousel { padding-bottom: 58px; }
.home-testimonial-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 28px 65px rgba(2, 14, 28, .28);
  min-height: 360px;
  padding: 42px 42px 34px;
  position: relative;
}

.home-testimonial-quote { color: #f2d2cf; font-size: 38px; }
.home-testimonial-card blockquote { color: #2a3d54; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 500; line-height: 1.7; margin: 18px 0 31px; }
.home-testimonial-author { align-items: center; border-top: 1px solid #e8edf2; display: grid; gap: 12px; grid-template-columns: auto 1fr auto; padding-top: 22px; }
.home-testimonial-author img { border: 3px solid #f4d7d4; border-radius: 50%; height: 60px; object-fit: cover; width: 60px; }
.home-testimonial-author strong { color: #1d324c; display: block; font-size: 13px; font-weight: 800; }
.home-testimonial-author span:not(.home-testimonial-stars) { color: #7d8997; display: block; font-size: 9px; margin-top: 2px; }
.home-testimonial-stars { color: #f3a82f; font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.home-testimonial-navigation { align-items: center; bottom: 0; display: flex; justify-content: space-between; left: 0; position: absolute; right: 0; }
.home-testimonial-navigation .carousel-indicators { gap: 6px; margin: 0; position: static; }
.home-testimonial-navigation .carousel-indicators button { background: rgba(255, 255, 255, .42); border: 0; border-radius: 99px; height: 4px; margin: 0; opacity: 1; width: 23px; }
.home-testimonial-navigation .carousel-indicators button.active { background: #fff; width: 42px; }
.home-testimonial-buttons { display: flex; gap: 8px; }
.home-testimonial-buttons button { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }

/* Closing CTA */
.home-contact-cta { background: #c93c32; }
.home-contact-cta .intro-section-inner { background: linear-gradient(110deg, #c93c32, #a82f27); padding: 44px 0; }
.home-contact-cta h2 { color: #fff; font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.3; margin: 0; }
.home-contact-cta .hero-eyebrow { color: rgba(255, 255, 255, .7); }
.home-contact-cta .btn { background: #fff; border: 1px solid #fff; border-radius: 10px; color: #9f2c25; font-size: 12px; font-weight: 800; padding: 13px 19px; }
.home-contact-cta .btn:hover { background: #132a45; border-color: #132a45; color: #fff; transform: translateY(-2px); }
.home-contact-cta .btn i { margin-left: 7px; }

@media (max-width: 1199.98px) {
  .home-hero-content { min-height: 690px; }
  .home-hero-content > .container,
  .home-hero-content > .container > .row { min-height: 560px; }
  .home-fleet-track { grid-auto-columns: calc((100% - 22px) / 2); }
  .home-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .home-benefit-card { min-height: 250px; }
}

@media (max-width: 991.98px) {
  .home-hero-content { min-height: 0; padding: 68px 0 74px; }
  .home-hero-content > .container,
  .home-hero-content > .container > .row { min-height: 0; }
  .home-hero-copy { margin-bottom: 36px; max-width: 720px; }
  .home-booking-card { margin-left: 0; max-width: 570px; }
  .home-hero .carousel-control-prev,
  .home-hero .carousel-control-next { display: none; }
  .home-hero .carousel-indicators { bottom: 13px; margin-left: 15px; }
  .home-section-heading { align-items: flex-start; flex-direction: column; }
  .home-fleet-heading-actions { justify-content: space-between; padding: 0; width: 100%; }
  .home-benefits-heading { gap: 13px; }
  .home-benefits-heading > p { flex-basis: auto; max-width: 680px; }
  .home-testimonial-intro { max-width: 650px; }
}

@media (max-width: 767.98px) {
  .home-hero-content { padding: 52px 0 66px; }
  .home-hero-overlay { background: linear-gradient(180deg, rgba(6, 20, 36, .94), rgba(10, 28, 48, .78)); }
  .home-hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
  .hero-description { font-size: 15px; }
  .home-booking-card { max-width: none; padding: 23px; }
  .home-trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 70px; padding: 14px 4px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid #e8edf2; }
  .home-fleet-section,
  .home-benefits-section,
  .home-testimonial-section { padding-bottom: 68px; padding-top: 68px; }
  .home-fleet-heading { margin-bottom: 30px; }
  .home-fleet-heading-actions { align-items: flex-start; flex-direction: column-reverse; gap: 14px; }
  .home-fleet-track { gap: 16px; grid-auto-columns: 100%; }
  .home-fleet-image-link { height: 225px; }
  .home-carousel-footer { justify-content: space-between; }
  .home-benefits-grid { grid-template-columns: 1fr; }
  .home-benefit-card { min-height: 0; }
  .home-testimonial-card { min-height: 0; padding: 30px 24px 27px; }
  .home-testimonial-card blockquote { font-size: 16px; }
  .home-testimonial-author { grid-template-columns: auto 1fr; }
  .home-testimonial-stars { grid-column: 1 / -1; }
  .home-fleet-empty { grid-template-columns: auto 1fr; }
  .home-fleet-empty .btn { grid-column: 1 / -1; }
  .home-contact-cta .intro-section-inner { padding: 37px 0; text-align: center; }
  .home-contact-cta .text-md-end { margin-top: 22px; }
}

@media (max-width: 479.98px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-primary { width: 100%; }
  .home-fleet-card-body { padding: 19px 17px; }
  .home-carousel-progress { width: 105px; }
  .home-testimonial-buttons button { height: 40px; width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-fleet-track { scroll-behavior: auto; }
}
