/* Loaded only on the homepage; keep the marketplace's coral brand palette. */
.home-page { --home-text: #29313d; --home-muted: #626976; color: var(--home-text); }
.home-page .container { width: min(calc(100% - 64px), 1240px); }
.home-page :is(a, button, textarea, summary):focus-visible { outline: 3px solid #d81047; outline-offset: 4px; }
.home-page :is(input, select):focus-visible { outline: none; }
.home-page :is(section, form)[id] { scroll-margin-top: 104px; }
.home-page .hero { padding: 36px 0 0; background: linear-gradient(140deg, #fff8f5, #fff4f6 55%, #f8f5f0); }
.home-page .hero-grid { min-height: 0; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.home-page .eyebrow { padding: 0; background: none; font-size: 10px; letter-spacing: 1.5px; color: #bc234a; }
.home-page .eyebrow span { font-size: 18px; }
.home-page .hero h1 { margin: 16px 0 18px; font-size: clamp(38px, 4vw, 58px); line-height: 1.35; letter-spacing: -1.6px; font-weight: 800; }
.home-page .hero h1 span { color: #d91e4b; }
.home-page .hero-copy > p { font-size: 15px; line-height: 1.9; color: var(--home-muted); }
.home-page .hero-copy { text-align: left; }
.home-hero-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; }
.home-hero-links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; font-weight: 700; }
.home-hero-links a:first-child { color: #c51b47; }
.home-hero-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.home-hero-photo { position: relative; height: 338px; border-radius: 24px; isolation: isolate; }
.home-hero-photo > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.home-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(12, 36, 55, .78)); border-radius: inherit; pointer-events: none; }
.home-photo-caption { position: absolute; bottom: 24px; left: 26px; z-index: 1; display: grid; gap: 5px; color: #fff; }
.home-photo-caption > span { font-size: 9px; letter-spacing: 2px; }
.home-photo-caption strong { font-size: 24px; line-height: 1.5; }
.home-photo-caption small { font-size: 12px; color: #fff; }
.home-photo-stamp { position: absolute; right: 20px; top: 20px; z-index: 1; display: grid; place-content: center; width: 86px; height: 86px; border-radius: 50%; background: #fff9ef; color: #a52a47; text-align: center; font-size: 11px; line-height: 1.6; transform: rotate(10deg); box-shadow: 0 4px 18px #162e431a; }
.home-photo-stamp b { font-size: 15px; }
.home-page .home-search-card { position: relative; margin-top: 26px; padding: 0 26px 26px; border: 1px solid #eee3e3; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px #73403b0a; }
.home-search-tabs { display: flex; gap: 28px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; border-bottom: 1px solid #eee3e3; margin-bottom: 20px; }
.home-search-tab { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 14px 2px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: var(--home-muted); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .2s, border-color .2s; }
.home-search-tab > span { font-size: 17px; }
.home-search-tab:hover { color: #c51b47; }
.home-search-tab.active { color: #c51b47; border-bottom-color: #d91e4b; }
.home-page .home-search-tab:focus-visible { outline-offset: -4px; border-radius: 4px; }
.home-search-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.home-search-heading h2 { margin: 0; font-size: 18px; letter-spacing: -.3px; }
.home-search-heading > span { color: var(--home-muted); font-size: 12px; }
.home-page .search-panel { width: 100%; margin: 0; padding: 0; transform: none; grid-template-columns: minmax(0, 1.5fr) minmax(190px, .8fr) 172px; gap: 12px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.home-page .home-search-card .search-panel { width: 100%; }
.home-page .search-field { min-width: 0; min-height: 68px; border: 1px solid #e3e5e8; border-radius: 12px; padding: 10px 14px; background: #fafbfc; gap: 12px; }
.home-page .search-field:focus-within { border-color: #d91e4b; background: #fff; box-shadow: 0 0 0 3px #ff385c12; }
.home-page .field-icon { width: 34px; height: 34px; flex: none; background: #fff0f3; color: #c51b47; font-size: 22px; }
.home-page .field-copy { min-width: 0; width: 100%; }
.home-page .field-copy b { font-size: 12px; color: #3b424d; }
.home-page .field-copy input { width: 100%; font-size: 16px; line-height: 1.5; padding: 5px 0 0; color: var(--home-text); min-height: 30px; }
.home-page .field-copy input::placeholder { color: #707785; opacity: 1; font-size: 13px; }
.home-page .search-button { min-height: 68px; width: 100%; display: flex; justify-content: center; align-items: center; gap: 10px; border-radius: 12px; background: #d91e4b; font-size: 15px; box-shadow: 0 6px 14px #d91e4b1a; }
.home-page .search-button:hover { background: #bd123b; }
.home-assurance { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding: 14px 0; color: #62616b; font-size: 12px; }
.home-assurance > span, .home-assurance > a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; }
.home-assurance > span > span { color: #267d64; }
.home-assurance > a > span:first-child { color: #c51b47; font-size: 18px; }
.home-assurance > a:hover { text-decoration: underline; }
.home-page .section { padding: 56px 0; }
.home-page .section-head { align-items: end; margin-bottom: 24px; gap: 20px; }
.home-page .section-kicker { color: #bf2349; font-size: 10px; letter-spacing: 1.8px; }
.home-page .section-head h2, .home-page .why-copy h2, .home-page .review-title h2 { margin: 8px 0 10px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.5; letter-spacing: -.6px; }
.home-page .section-head p { font-size: 14px; color: var(--home-muted); line-height: 1.7; margin: 0; }
.home-page .text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; white-space: nowrap; color: #bb1e45; font-size: 13px; }
.home-page .destinations { background: #fff; }
.home-page .destination-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.home-page .destination-card { display: block; height: 208px; padding: 0; border-radius: 16px; background: linear-gradient(140deg, #4c8591, #275468); isolation: isolate; }
.home-page .destination-card:nth-child(6n+2) { background: linear-gradient(140deg, #887fab, #4c456f); }
.home-page .destination-card:nth-child(6n+3) { background: linear-gradient(140deg, #c08771, #915454); }
.home-page .destination-card:nth-child(6n+4) { background: linear-gradient(140deg, #76978b, #3b665b); }
.home-page .destination-card:nth-child(6n+5) { background: linear-gradient(140deg, #6b88af, #384f77); }
.home-page .destination-card:nth-child(6n) { background: linear-gradient(140deg, #b78195, #7c4d6b); }
.home-page .destination-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .3s; }
.home-page .destination-card::before { z-index: -1; background: linear-gradient(transparent 25%, rgba(17, 30, 45, .9)); }
.home-destination-caption { position: absolute !important; bottom: 18px; left: 16px; right: 16px; display: grid; gap: 5px; }
.home-page .destination-card .home-destination-caption span { font-size: 20px; line-height: 1.5; }
.home-page .destination-card .home-destination-caption small { font-size: 11px; color: #fff; opacity: 1; }
.home-page .destination-card .home-destination-arrow { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; background: #ffffffed; border-radius: 50%; color: #29313d; font-size: 18px; }
.home-page .destination-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #29313d1f; }
.home-page .destination-card:hover > img { transform: scale(1.04); }
.home-more-destinations > summary { display: flex; justify-content: center; align-items: center; gap: 12px; width: fit-content; min-height: 44px; margin: 20px auto 0; padding: 8px 20px; border: 1px solid #e6e7eb; border-radius: 999px; font-size: 13px; cursor: pointer; list-style: none; }
.home-more-destinations > summary::-webkit-details-marker { display: none; }
.home-more-destinations > summary:hover { border-color: #d91e4b; color: #bb1e45; }
.home-more-destinations .home-more-close { display: none; }
.home-more-destinations[open] .home-more-open { display: none; }
.home-more-destinations[open] .home-more-close { display: inline; }
.home-more-destinations[open] > summary > span:last-child { transform: rotate(180deg); }
.home-more-destinations > .destination-grid { margin-top: 20px; }
.home-page .flash-sale-section { background: #fff5f6; }
.home-sale-label { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 5px 10px; border-radius: 6px; color: #b61c40; background: #ffe1e8; font-size: 11px; letter-spacing: 0; }
.home-page .slider-controls button { width: 44px; height: 44px; }
.home-page .flash-sale-slider { grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; padding-bottom: 12px; }
.home-page .flash-sale-slide .tour-card { box-shadow: 0 5px 18px #9d34400a; }
.home-page :is(#featured-tours, #best-sellers) .home-tour-grid { display: grid; columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; margin: 0; padding: 0; }
.home-featured-toggle { display: none; }
.home-featured-toggle[hidden] { display: none; }
/* Tour card presentation is shared in tour-card.css. */
.home-page .full-row { grid-column: 1 / -1; }
.home-page .soft-section { background: #f8f9fb; }
.home-page .why-section { background: #fbf8f3; }
.home-page .why-grid { gap: 56px; }
.home-page .why-copy p { color: var(--home-muted); font-size: 14px; }
.home-page .primary-link-button { min-height: 48px; background: #d91e4b; box-shadow: none; }
.home-page .primary-link-button:hover { background: #bd123b; }
.home-page .benefit-grid article { border-color: #ece9e3; box-shadow: none; }
.home-page .benefit-grid h3 { line-height: 1.7; }
.home-page .benefit-grid p { font-size: 13px; }
.home-page .reviews { background: #fff; }
.home-page .review-grid article { border-color: #e8e9ec; }
.home-page .review-grid footer small { font-size: 12px; }
.home-page .contact-section { padding: 24px 0 64px; background: #fff; }
.home-page .contact-card { padding: 40px; gap: 48px; border-radius: 24px; background: #29313d; }
.home-page .contact-card h2 { font-size: clamp(26px, 2.7vw, 36px); line-height: 1.5; letter-spacing: -.5px; }
.home-page .contact-card p { font-size: 14px; line-height: 1.9; color: #dbe0e8; }
.home-page .contact-card .section-kicker.light { color: #ffb5c4; }
.home-page .contact-form { min-width: 0; gap: 14px; }
.home-page .contact-form .home-form-note { margin: 0; font-size: 12px; line-height: 1.7; }
.home-page .contact-form label > span { font-size: 12px; color: #fff; }
.home-page .contact-form label > span > small { color: #dbe0e8; }
.home-page .contact-form label > span > b { color: #ffb5c4; }
.home-page .contact-form :is(input, textarea) { width: 100%; min-height: 48px; border: 1px solid #cdd1d9; border-radius: 10px; background: #fff; color: #29313d; font: inherit; font-size: 16px; padding: 12px; }
.home-page .contact-form textarea { resize: vertical; }
.home-page .contact-form :is(input, textarea)[aria-invalid="true"] { border: 2px solid #ffb5c4; }
.home-page .contact-form .form-error { color: #ffb5c4; }
.home-page .contact-form button { min-height: 50px; background: #d91e4b; font-size: 14px; }
.home-page .contact-form button:hover { background: #bd123b; }
.home-page .contact-form > small { color: #dbe0e8; font-size: 11px; line-height: 1.8; }
.home-page .contact-form > small a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

@media (max-width: 1100px) {
  .home-page .hero-grid { gap: 30px; }
  .home-page .hero h1 { font-size: 44px; }
  .home-page .destination-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .destination-card { height: 190px; }
  .home-page .flash-sale-slider { grid-auto-columns: calc((100% - 36px) / 3); }
  .home-page :is(#featured-tours, #best-sellers) .home-tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-page .why-grid { gap: 32px; }
  .home-page .contact-card { padding: 32px; gap: 32px; }
}
@media (max-width: 820px) {
  .home-page .container { width: min(calc(100% - 40px), 1240px); }
  .home-page .hero { padding-top: 26px; }
  .home-page .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 22px; }
  .home-page .hero h1 { font-size: 36px; letter-spacing: -.6px; }
  .home-page .hero-copy > p { font-size: 14px; }
  .home-desktop-break { display: none; }
  .home-hero-photo { height: 295px; }
  .home-photo-caption { left: 18px; bottom: 18px; }
  .home-photo-caption strong { font-size: 18px; }
  .home-photo-stamp { width: 64px; height: 64px; top: 14px; right: 14px; font-size: 9px; }
  .home-photo-stamp b { font-size: 12px; }
  .home-page .search-panel { grid-template-columns: minmax(0, 1fr) minmax(0, .75fr); }
  .home-page .search-button { grid-column: 1 / -1; min-height: 50px; }
  .home-assurance { gap: 4px 24px; font-size: 11px; }
  .home-page .section { padding: 44px 0; }
  .home-page .section-head { display: flex; }
  .home-page .flash-sale-slider { grid-auto-columns: calc((100% - 18px) / 2); }
  .home-page :is(#featured-tours, #best-sellers) .home-tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .why-grid { grid-template-columns: 1fr; }
  .home-page .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .home-page .container { width: calc(100% - 32px); }
  .home-page :is(section, form)[id] { scroll-margin-top: 82px; }
  .home-page .hero { padding-top: 16px; }
  .home-page .hero-grid { display: block; min-height: 0; }
  .home-page .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .home-page .hero h1 { font-size: 34px; line-height: 1.3; margin: 10px 0; letter-spacing: -.5px; }
  .home-page .hero-copy > p { font-size: 13px; line-height: 1.75; }
  .home-hero-links { margin-top: 4px; gap: 20px; }
  .home-hero-links a { font-size: 12px; }
  .home-hero-photo { display: none; }
  .home-page .home-search-card { margin-top: 12px; padding: 0 16px 16px; border-radius: 16px; }
  .home-search-tabs { gap: 20px; margin-bottom: 14px; }
  .home-search-tab { min-height: 52px; padding: 12px 2px; font-size: 12px; }
  .home-search-heading { display: block; margin-bottom: 12px; }
  .home-search-heading h2 { font-size: 16px; }
  .home-search-heading > span { display: none; }
  .home-page .search-panel { grid-template-columns: 1fr; gap: 8px; }
  .home-page .search-field { min-height: 60px; padding: 8px 12px; }
  .home-page .field-copy b { font-size: 11px; }
  .home-page .field-copy input { font-size: 16px; }
  .home-page .field-copy input::placeholder { font-size: 12px; }
  .home-page .search-button { grid-column: auto; min-height: 48px; padding: 10px; }
  .home-page .home-assurance { justify-content: flex-start; gap: 2px 16px; padding: 10px 0 12px; font-size: 10px; }
  .home-assurance > span, .home-assurance > a { min-height: 26px; }
  .home-page .section { padding: 34px 0; }
  .home-page .section-head { display: grid; gap: 4px; margin-bottom: 16px; }
  .home-page .section-head h2, .home-page .why-copy h2, .home-page .review-title h2 { font-size: 24px; line-height: 1.45; margin: 6px 0 8px; }
  .home-page .section-head p { font-size: 13px; }
  .home-page .section-kicker { font-size: 9px; }
  .home-page .text-link { font-size: 12px; justify-self: start; }
  .home-page .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-page .destination-card { height: 178px; border-radius: 14px; }
  .home-destination-caption { bottom: 14px; left: 14px; right: 14px; }
  .home-page .destination-card .home-destination-caption span { font-size: 19px; }
  .home-page .flash-sale-head { display: block; }
  .home-page .flash-sale-actions { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 8px; }
  .home-page .slider-controls { display: flex; }
  .home-page .flash-sale-actions .text-link { display: inline-flex; }
  .home-page .flash-sale-mobile-link { display: none; }
  .home-page .flash-sale-slider { display: grid; columns: auto; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0; padding: 4px 2px 14px; }
  .home-page .flash-sale-slide { display: block; width: 100%; margin: 0; scroll-snap-align: start; }
  .home-page .flash-sale-slide .tour-card { height: 100%; }
  .home-page :is(#featured-tours, #best-sellers) .home-tour-grid { grid-template-columns: 1fr; gap: 18px; }
  #home-featured-grid.is-collapsed > .tour-card:nth-child(n+4) { display: none; }
  .home-featured-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 18px; padding: 10px 16px; border: 1px solid #e6e7eb; border-radius: 12px; background: #fff; color: #c51b47; font-size: 13px; font-weight: 600; cursor: pointer; }
  .home-featured-toggle:hover { border-color: #d91e4b; background: #fff5f7; }
  .home-page :is(#featured-tours, #best-sellers) .home-tour-grid > .tour-card:nth-child(n) .tour-photo { aspect-ratio: 1 / 1; }
  .home-page .flash-sale-slide:nth-child(n) .tour-photo { aspect-ratio: 1 / 1; }
  .home-page .benefit-grid { grid-template-columns: 1fr; }
  .home-page .benefit-grid article { padding: 20px; }
  .home-page .review-grid { grid-template-columns: 1fr; }
  .home-page .contact-section { padding: 12px 0 36px; }
  .home-page .contact-card { padding: 24px 20px; border-radius: 18px; gap: 24px; }
  .home-page .contact-form { grid-template-columns: 1fr; }
  .home-page .contact-card h2 { font-size: 25px; }
}
@media (max-width: 359px) {
  .home-page .hero h1 { font-size: 30px; }
  .home-page :is(#featured-tours, #best-sellers) .home-tour-grid { grid-template-columns: 1fr; }
  .home-page :is(#featured-tours, #best-sellers) .home-tour-grid > .tour-card:nth-child(n) .tour-photo { aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .flash-sale-slider { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { transition: none !important; }
}

/* Preserve promotion artwork on all screen sizes. */
.home-hero-photo.home-banner-slider { display:block; height:auto; min-width:0; }
.home-banner-slider::after { display:none; }
.home-banner-viewport { aspect-ratio:5/3; overflow:hidden; border-radius:24px; background:#fff; }
.home-banner-slide, .home-banner-slide > a { display:block; width:100%; height:100%; }
.home-banner-slide[hidden] { display:none; }
.home-banner-slide img { display:block; width:100%; height:100%; object-fit:contain; }
.home-banner-dots { display:flex; justify-content:center; flex-wrap:wrap; margin-top:4px; }
.home-banner-dots button { display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; background:transparent; cursor:pointer; }
.home-banner-dots span { width:8px; height:8px; border-radius:50%; background:#b6a7ac; }
.home-banner-dots button[aria-pressed="true"] span { width:22px; border-radius:8px; background:#d91e4b; }
@media(max-width:760px) { .home-banner-viewport { border-radius:16px; } }
@media(max-width:600px) { .home-hero-photo.home-banner-slider { margin-top:20px; } }
