/* tourdi home page, built from the approved prototype (Main.dc.html).
   Everything is scoped to .hp (the wrapper in index.php); classes start with "hp-". */
body{background:#F5F7FA}
.hp{font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;color:#0F1B2D;background:#F5F7FA;min-width:0;letter-spacing:-.005em;line-height:normal;text-align:left}
.hp *,.hp *::before,.hp *::after{box-sizing:content-box}
.hp button,.hp select,.hp summary,.hp input[type=checkbox]{box-sizing:border-box}
.hp a{color:inherit;text-decoration:none}
.hp button{font-family:inherit;cursor:pointer}
.hp input{font-family:inherit}
.hp h1,.hp h2,.hp h3,.hp p{font-family:inherit}
.hp svg{max-width:none}
.hp a:focus-visible,.hp button:focus-visible,.hp input:focus-visible,.hp summary:focus-visible{outline:3px solid #6AA7FF;outline-offset:2px}

/* section frame */
.hp-wrap{max-width:1280px;margin:0 auto}
.hp-h2{font-size:36px;font-weight:800;letter-spacing:-1.2px;margin:6px 0 0;color:#0F1B2D;line-height:1.2}
.hp-eyebrow{font-size:13px;font-weight:700;letter-spacing:.1em;color:#28425b}
.hp-sub{margin:8px 0 0;font-size:17px;color:#5A6879;line-height:1.5}
.hp-noscroll{scrollbar-width:none}.hp-noscroll::-webkit-scrollbar{display:none}
.hp-skel{background:linear-gradient(90deg,#E8EDF3 25%,#F3F6FA 50%,#E8EDF3 75%);background-size:200% 100%;animation:hp-shim 1.3s linear infinite}
@keyframes hp-shim{0%{background-position:200% 0}100%{background-position:-200% 0}}
@keyframes hp-spin{to{transform:rotate(360deg)}}

/* interactive helpers (from the prototype) */
.hp-chip{border:0;color:#fff;background:rgba(255,255,255,.18);padding:8px 16px;border-radius:999px;font-size:14.5px;font-weight:600;transition:background .2s ease,transform .2s ease}
.hp-chip:hover{background:rgba(255,255,255,.3);transform:translateY(-1px)}
.hp-fld{transition:background .2s ease;cursor:pointer;border:0;background:transparent;text-align:left;color:inherit}
.hp-fld:hover{background:#F2F5F9}
.hp-fld-l{font-size:11.5px;font-weight:700;letter-spacing:.08em;color:#5B6878}
.hp-fld-v{font-size:16px;font-weight:600;color:#142A44}
.hp-btn{border:0;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;cursor:pointer}
.hp-btn:hover{transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 10px 24px rgba(20,60,110,.28)}
.hp-round{border:0;transition:transform .2s ease,background .2s ease;cursor:pointer}
.hp-round:hover{transform:scale(1.1);background:#fff}
.hp-round:disabled{cursor:not-allowed}
.hp-round:disabled:hover{transform:none}
.hp-tcard{transition:transform .3s ease,box-shadow .3s ease}
.hp-tcard:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(16,32,56,.14)!important}
.hp-tcard:hover .hp-timg{transform:scale(1.05)}
.hp-timg{transition:transform .6s ease}
.hp-row{transition:background .2s ease,box-shadow .2s ease,transform .2s ease}
.hp-row:hover{background:#fff!important;box-shadow:0 10px 30px rgba(16,32,56,.10);transform:translateX(3px)}
.hp-dtile{transition:transform .3s ease,box-shadow .3s ease}
.hp-dtile:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(16,32,56,.22)!important}
.hp-dtile:hover .hp-dimg{transform:scale(1.07)}
.hp-dimg{transition:transform .7s ease}
.hp-stylec{transition:transform .25s ease}
.hp-stylec:hover{transform:translateY(-4px)}
.hp-opt{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;background:transparent;text-align:left;padding:11px 10px;border-radius:10px;font-size:16px;color:#142A44;transition:background .15s ease}
.hp-opt:hover{background:#F2F5F9}
.hp-stp{width:36px;height:36px;border-radius:50%;border:1.5px solid #CBD5E1;background:#fff;font-size:20px;line-height:1;color:#28425b;padding:0;transition:background .15s ease,border-color .15s ease}
.hp-stp:hover{background:#EEF2F7;border-color:#28425b}
.hp-month{transition:background .15s ease,border-color .15s ease}
.hp-month:hover{background:#F2F5F9!important}
.hp-month.on{border-color:#28425b!important;background:#EEF2F7!important}

/* pill tabs (deal countries, continents) */
.hp-tab{border:1px solid #DDE4EC;background:#fff;color:#3A4A5E;padding:9px 20px;border-radius:999px;font-weight:700;font-size:14.5px}
.hp-tab-sm{padding:9px 18px;font-weight:600}
.hp-tab.on{background:#142A44;color:#fff;border-color:#142A44}
.hp-tab[hidden]{display:none}

/* hero */
.hp-hero{position:relative;background:#142A44}
.hp-hero-bgs{position:absolute;inset:0;overflow:hidden}
.hp-slide{position:absolute;inset:0;background-size:cover;background-position:center;background-image:var(--hero-lg);opacity:0;transition:opacity .8s ease}
.hp-slide.active{opacity:1}
@media (max-width:1280px){.hp-slide{background-image:var(--hero-md,var(--hero-lg))}}
@media (max-width:768px){.hp-slide{background-image:var(--hero-sm,var(--hero-lg))}}
.hp-hero-nav{position:absolute;top:42%;z-index:5;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.9);font-size:24px;color:#142A44;padding:0;line-height:1}
.hp-slide-texts{display:grid}
.hp-slide-text{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s}
.hp-slide-text.active{opacity:1;visibility:visible}
.hp-h1{font-size:60px;line-height:1.06;font-weight:800;letter-spacing:-2px;margin:20px 0 0;color:#fff}
.hp-hero-sub{font-size:21px;line-height:1.5;margin:16px 0 0;color:#fff;font-weight:600}
.hp-hero-desc{font-size:18px;line-height:1.55;margin:8px 0 0;color:rgba(255,255,255,.88)}
.hp-dot{border:0;width:10px;height:8px;border-radius:999px;background:rgba(255,255,255,.5);padding:0;transition:width .25s ease,background .25s ease}
.hp-dot.active{width:30px;background:#fff}
.hp-pnl{display:none;position:absolute;top:84px;max-width:100%;background:#fff;border-radius:18px;box-shadow:0 24px 60px rgba(8,20,40,.35);z-index:20;color:#0F1B2D}
.hp-pnl.active{display:block}

/* FAQ */
.hp-faq{background:#fff;border:1px solid #E6EBF1;border-radius:16px;margin-bottom:12px;overflow:hidden}
.hp-faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 22px;font-size:16.5px;font-weight:600;color:#142A44;cursor:pointer}
.hp-faq summary::-webkit-details-marker{display:none}
.hp-faq-sign{flex:none;width:28px;height:28px;border-radius:50%;background:#EEF2F7;display:flex;align-items:center;justify-content:center;font-size:18px;color:#28425b}
.hp-faq-sign::before{content:"+"}
.hp-faq[open] .hp-faq-sign::before{content:"\2212"}
.hp-faq-a{padding:0 22px 20px;font-size:15.5px;line-height:1.7;color:#4B5968}

/* newsletter interest pills */
.hp-pill{cursor:pointer}
.hp-pill input{position:absolute;opacity:0;pointer-events:none}
.hp-pill span{display:inline-block;border:1.5px solid #D6DEE8;background:#fff;color:#3A4A5E;padding:8px 16px;border-radius:999px;font-weight:700;font-size:13.5px}
.hp-pill input:checked + span{background:#28425b;color:#fff;border-color:#28425b}
.hp-pill input:focus-visible + span{outline:3px solid #6AA7FF;outline-offset:2px}
#newsletterForm input[type=email]:focus,#newsletterForm input[type=text]:focus{border-color:#28425b!important}

/* how it works connector line */
.hp-stepline{display:none}
@media (min-width:1000px){.hp-stepline{display:block;position:absolute;left:12%;right:12%;top:52px;height:2px;background:#CBD5E1}}

/* wishlist hearts (outline navy, red when saved) */
.hp .hp-heart i{font-size:17px;color:#142A44}
.hp .hp-heart i.fas{color:#E8504A!important}
.hp .hp-heart i.far{color:#142A44!important}
.hp .hp-mheart i.fas{color:#E8504A!important}
.hp .hp-mheart i.far{color:#142A44!important}

/* destination tiles + polaroid moments */
.hp-moment{transition:transform .3s ease}
.hp-moment:hover{transform:rotate(0deg) translateY(-6px)!important}

@media (max-width:700px){
  .hp-h2{font-size:28px}
  .hp-h1{font-size:38px;letter-spacing:-1px}
  .hp-hero-sub{font-size:18px}
  .hp-hero-desc{font-size:16px}
  .hp-hero-in{padding:56px 16px 52px!important}
  .hp-hero-nav{display:none}
  .hp-pnl{left:0!important;width:100%!important;position:fixed;top:auto;bottom:0;border-radius:22px 22px 0 0;max-height:80vh;overflow:auto}
  .hp-sec{padding-left:16px!important;padding-right:16px!important}
  .hp-panel-app,.hp-join,.hp-cta{padding:28px 20px!important}
  .hp-wrap[style*="border-radius:32px"]{padding:34px 16px!important}
}
@media (prefers-reduced-motion:reduce){.hp *{animation:none!important;transition:none!important}}

/* Upcoming-departure rows on phones (2026-11-09): date tile + photo share the top line, the title and chips use the full
   width, price and View Tour sit on the last line and View Tour fills what the price leaves. */
@media (max-width:600px){
  .hp-row{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:12px 14px!important;padding:16px!important}
  .hp-row .hp-r-img{width:100%!important;height:76px!important;min-width:0}
  .hp-row .hp-r-text{grid-column:1/-1;flex:none}
  .hp-row .hp-r-text>div:first-child{font-size:17px!important;line-height:1.3}
  .hp-row .hp-r-price{grid-column:1;text-align:left!important;min-width:0!important}
  .hp-row .hp-r-btn{grid-column:2;text-align:center;align-self:stretch;display:flex;align-items:center;justify-content:center;min-height:48px}
  .hp-row>span:not(.hp-r-btn){justify-self:start}
}

/* Phones (2026-11-09): chip rows scroll sideways in ONE line instead of wrapping into uneven rows (the last chip used to sit alone),
   and "View All Deals" is a plain link under the heading instead of a floating white pill. */
@media (max-width:600px){
  .hp-qp,.hp-tabs-row{flex-wrap:nowrap!important;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;scroll-snap-type:x proximity}
  .hp-qp::-webkit-scrollbar,.hp-tabs-row::-webkit-scrollbar{display:none}
  .hp-qp>*,.hp-tabs-row>*{flex:none;white-space:nowrap}
  .hp-qp>span{padding-right:2px}
  .hp-deal-head{display:block!important}
  .hp-deal-all{display:inline-flex!important;align-items:center;min-height:44px;padding:0!important;background:transparent!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:3px;margin-top:2px}
}

/* Phone search bar over the hero (2026-11-09): three equal full-width rows with thin dividers, and a full-width Search button
   (it used to be half width, and the rows had uneven borders and different left edges). */
@media (max-width:600px){
  .hp-sbar{padding:6px!important;gap:0!important;border-radius:20px!important}
  .hp-sbar .hp-fld{flex:0 0 100%!important;box-sizing:border-box;width:100%;border-left:0!important;border-radius:0!important;padding:12px 14px!important;min-height:60px;border-bottom:1px solid #EEF1F5}
  .hp-sbar .hp-fld:nth-of-type(3){border-bottom:0}
  .hp-sbar .hp-sgo{flex:0 0 100%!important;width:100%;box-sizing:border-box;margin-top:6px;min-height:52px!important;padding:0 16px!important;border-radius:14px!important}
}

/* FAQ (2026-11-09): heading and a help card on the left, the questions on the right; one column on phones. */
.hp-faqgrid{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,8fr);gap:56px;align-items:start}
.hp-faqhead{position:sticky;top:120px}
.hp-faqhelp{margin-top:28px;background:#fff;border:1px solid #E6EBF1;border-radius:18px;padding:22px;box-shadow:0 4px 20px rgba(16,32,56,.05);display:flex;flex-direction:column;gap:6px}
.hp-faqhelp strong{font-size:16px;color:#142A44}
.hp-faqhelp span{font-size:14.5px;line-height:1.55;color:#5A6879}
.hp-faqhelp a{margin-top:8px;font-weight:700;font-size:15px;color:#28425b;display:inline-flex;align-items:center;min-height:44px}
.hp-faq[open]{border-color:#C9D6E6;box-shadow:0 6px 22px rgba(16,32,56,.07)}
.hp-faq summary:focus-visible{outline:3px solid #28425b;outline-offset:-3px;border-radius:16px}
.hp-faqlist .hp-faq:last-child{margin-bottom:0}
@media (max-width:900px){
  /* phones: heading, then the questions, then the help card (the questions are what people came for) */
  .hp-faqgrid{grid-template-columns:1fr;gap:0}
  .hp-faqhead{display:contents}
  .hp-faqlist{order:1;margin-top:24px}
  .hp-faqhelp{order:2;margin-top:24px}
}
