/* Homepage V2 presentation layer. Form behavior remains in booking.js. */
.home-conversion-page {
  background: #f7f5ee;
  color: #163b35;
  overflow-x: hidden;
  width: 100vw;
  max-width: 100vw;
}

.home-bg-shell {
  position: relative;
  min-height: 100vh;
}

.home-bg-shell::before {
  display: none;
}

.home-v2-hero {
  width: 100%;
  background: #f7f5ee;
  overflow: hidden;
}

.home-v2-hero-link,
.home-v2-hero picture,
.home-v2-hero img {
  display: block;
  width: 100%;
}

.home-v2-hero-link {
  position: relative;
  color: inherit;
  line-height: 0;
}

.home-hero-cta-press {
  position: absolute;
  left: 3%;
  top: 63%;
  z-index: 3;
  width: 22%;
  height: 8%;
  border-radius: 8px;
  pointer-events: none;
  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}

.home-v2-hero-link:active .home-hero-cta-press {
  background: rgba(255, 255, 255, .22);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 2px 0 rgba(29, 75, 66, .18);
  transform: scale(.97);
}

.home-v2-hero img {
  height: auto;
  max-height: none;
  object-fit: cover;
}

.home-v2-mobile-break {
  display: none;
}

.home-nav-wrap {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 5;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.home-site-nav {
  display: flex !important;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 14px;
  overflow: visible;
  width: 100%;
  min-width: 0;
  max-width: 1132px;
  margin: 0 auto;
}

@media (min-width: 641px) {
  .home-site-nav {
    padding-right: 164px;
  }
}

.home-site-nav a {
  flex: none !important;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 48px;
  padding: 9px 16px;
  border: 2px solid #d9e0d8;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #315e56;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
}

.home-site-nav a.is-active,
.home-site-nav a[aria-current="page"] {
  border-color: #39766a;
  background: #39766a;
  color: #fff;
  box-shadow: none;
}

.home-site-nav a.home-nav-booking {
  white-space: nowrap;
}

.home-site-nav a.home-nav-about {
  min-height: 46px;
  padding-block: 8px;
}

.home-v2-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  grid-template-areas:
    "booking info"
    "benefits benefits";
  gap: 30px 22px;
  margin-top: 12px;
  margin-bottom: 56px;
  min-width: 0;
}

.home-v2-booking-card {
  grid-area: booking;
  padding: 30px;
  border: 2px solid #dde9df;
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 34px rgba(33, 64, 55, .07);
  min-width: 0;
}

.home-v2-booking-card .home-step-head {
  margin-bottom: 16px;
}

.home-v2-booking-card .home-step-head h1,
.home-v2-booking-card .home-step-head h2 {
  color: #163b35;
  font-size: clamp(20px, 3vw, 30px) !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  margin-bottom: 2px !important;
}

.home-v2-booking-card .home-step-head p {
  margin-top: 0 !important;
  color: #687487 !important;
  font-size: 17px !important;
}

.home-v2-booking-card .booking-fast-note {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 2px solid #f6d7a9;
  border-radius: 18px;
  background: #fff8ec;
  color: #dc2d1f;
  font-size: 18px;
  line-height: 1.55;
}

.home-v2-booking-card .booking-fast-note strong {
  font-weight: 800;
}

.home-v2-booking-card .booking-fast-note strong span:last-child {
  white-space: nowrap;
}

.home-v2-booking-card .field {
  margin-bottom: 24px;
}

.home-v2-booking-card .field > label {
  margin-bottom: 10px;
  color: #163b35;
  font-size: 20px;
  line-height: 1.4;
}

.home-v2-booking-card input[type="text"],
.home-v2-booking-card input[type="email"],
.home-v2-booking-card input[type="date"],
.home-v2-booking-card select {
  min-height: 52px;
  border: 2px solid #d8ddd9;
  border-radius: 16px;
  background: #fff;
  color: #163b35;
  font-size: 17px;
}

.home-v2-booking-card .home-date-note {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
  padding: 18px 16px;
  border: 2px solid #dbe9dd;
  border-left: 6px solid #39766a;
  border-radius: 18px;
  background: #f8fbf5;
}

.home-v2-booking-card .home-date-note-row {
  display: block !important;
  min-width: 0;
  overflow-wrap: anywhere;
}

.home-v2-booking-card .home-date-note-row strong {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f1e5;
  color: #163b35;
  font-size: 15px;
}

.home-v2-booking-card .home-date-note-row span {
  display: block !important;
  color: #31534d;
  font-size: 15px !important;
  line-height: 1.55;
  white-space: normal !important;
}

.home-v2-booking-card .ticket-grid {
  gap: 10px;
}

.home-v2-booking-card .ticket-row {
  min-height: 56px;
  padding: 8px 12px;
  border: 2px solid #d8ddd9;
  border-radius: 16px;
  background: rgba(255, 255, 255, .84);
}

.home-v2-booking-card .ticket-row > div:first-child strong {
  color: #163b35;
  font-size: 18px;
}

.home-v2-booking-card .ticket-row span,
.home-v2-booking-card .price-tag {
  color: #31534d;
}

.home-v2-booking-card .ticket-row select {
  min-height: 44px;
}

.home-v2-booking-card .home-submit-btn {
  min-height: 54px;
  border-radius: 14px;
  background: #39766a;
  font-size: 16px;
}

.home-v2-benefits {
  grid-area: benefits;
  padding: 0 14px;
}

.home-v2-benefits > h2 {
  margin: 0 0 20px;
  color: #163b35;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
}

.home-v2-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-v2-benefit-card {
  min-width: 0;
  padding: 18px 12px;
  text-align: center;
}

.home-v2-benefit-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 10px;
  border-radius: 18px;
  background: #e8e8da;
  color: #777764;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.home-v2-benefit-card h3 {
  margin: 0 0 6px;
  color: #163b35;
  font-size: 18px;
}

.home-v2-benefit-card p {
  margin: 0;
  color: #31534d;
  font-size: 14px;
  line-height: 1.55;
}

.home-v2-main-layout > .home-info-stack {
  grid-area: info;
  align-content: start;
  gap: 16px;
}

.home-v2-main-layout .home-boundary-card {
  display: none;
}

.home-v2-footer {
  padding: 42px 0 16px;
  background: #f1eee3;
  color: #214b42;
  border-top: 1px solid #d9e2d8;
}

.home-v2-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 28px;
}

.home-v2-footer section {
  min-width: 0;
}

.home-v2-footer h2 {
  margin: 0 0 12px;
  color: #214b42;
  font-size: 16px;
  line-height: 1.4;
}

.home-v2-footer p,
.home-v2-footer a,
.home-v2-footer span {
  color: #557068;
  font-size: 14px;
  line-height: 1.8;
}

.home-v2-footer p {
  margin: 0;
}

.home-v2-footer nav {
  display: grid;
  gap: 3px;
}

.home-v2-footer a:hover {
  color: #2f6f61;
}

.home-v2-footer .home-beian {
  margin: 30px 0 0;
  padding-top: 14px;
  border-top: 1px solid #d8dfd5;
}

@media (min-width: 861px) {
  .home-v2-hero-link {
    display: block;
    width: min(100%, 1100px);
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
  }

  .home-v2-hero img {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto;
  }

  .home-v2-booking-card input[type="text"],
  .home-v2-booking-card input[type="email"],
  .home-v2-booking-card input[type="date"] {
    width: calc(100% - 24px);
  }

  .home-v2-booking-card .ticket-row {
    grid-template-columns: minmax(96px, 1fr) auto 76px;
  }

  .home-v2-booking-card .ticket-row select {
    width: 76px;
    max-width: 76px;
  }
}

@media (max-width: 860px) {
  .home-v2-main-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "booking"
      "benefits"
      "info";
  }

  .home-v2-booking-card {
    padding: 22px;
  }

  .home-v2-booking-card .ticket-row {
    min-height: 54px;
    padding: 7px 10px;
  }

  .home-v2-benefits {
    padding: 0 2px;
  }

  .home-v2-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }
}

@media (max-width: 640px) {
  .home-v2-hero-link {
    aspect-ratio: 941 / 492;
    overflow: hidden;
  }

  .home-v2-hero picture,
  .home-v2-hero img {
    height: 100%;
  }

  .home-v2-hero img {
    object-fit: cover;
    object-position: center center;
  }

  .home-site-nav {
    display: flex !important;
    justify-content: flex-end;
    gap: 5px;
    padding: 0 12px;
  }

  .home-nav-wrap {
    top: 25px;
  }

  .home-hero-cta-press {
    left: 3%;
    top: 64%;
    width: 22%;
    height: 8%;
  }

  .home-site-nav a {
    width: auto;
    max-width: none;
    min-height: 32px;
    padding: 5px 7px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .home-site-nav a.home-nav-booking {
    padding-inline: 6px;
    font-size: 10.5px;
  }

  .home-site-nav a.home-nav-about {
    min-height: 30px;
    padding-block: 4px;
  }

  .home-v2-booking-card .booking-fast-note {
    padding: 12px 10px;
    font-size: 15px;
  }

  .home-v2-booking-card .booking-fast-note strong span:last-child {
    font-size: 14px;
  }

  .home-v2-booking-card .field > label {
    font-size: 18px;
  }

  .home-v2-booking-card .home-date-note {
    gap: 8px;
    padding: 12px 8px;
  }

  .home-v2-booking-card .home-date-note-row strong {
    padding: 3px 7px;
    font-size: 13px;
  }

  .home-v2-booking-card .home-date-note-row span {
    font-size: 11.5px !important;
    line-height: 1.45;
  }

  .home-v2-mobile-break {
    display: block;
  }

  .home-v2-booking-card .ticket-row {
    padding: 7px 10px;
  }

  .home-v2-footer {
    padding: 32px 0 14px;
  }

  .home-v2-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .home-v2-benefit-card {
    padding: 12px 6px;
  }

  .home-v2-benefit-icon {
    width: 52px;
    height: 52px;
    font-size: 30px;
  }

  .home-v2-benefit-card h3 {
    font-size: 16px;
  }

  .home-v2-benefit-card p {
    font-size: 12px;
  }
}
