/* Tourist Peru · home sections ([tp_home]). Extends tambopata.css + hub.css. Claude 2026-09-30 */
.tph-home{background:#fff}
.gdlr-core-text-box-item-content .tph-home :where(p,ul,ol,h2,h3){margin-bottom:0}
.gdlr-core-text-box-item-content .tph-home{font-size:16px;line-height:1.55}
.tph-home .tph-h-open{display:none!important}

/* proof strip */
.tph-h-proof{background:var(--tpa-soft);border-top:1px solid var(--tpa-line);border-bottom:1px solid var(--tpa-line);padding:32px 0}
.tph-h-proof ul{list-style:none;padding:0!important;margin:0!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.tph-h-proof li{display:flex;gap:12px;align-items:flex-start;margin:0!important}
.tph-h-ico{flex:none;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--tpa-line);display:flex;align-items:center;justify-content:center;color:var(--tpa-red)}
.tph-h-proof strong{display:block;font-size:16px;font-weight:600;color:var(--tpa-ink)}
.tph-h-proof li span:not(.tph-h-ico){display:block;font-size:14px;line-height:1.45;color:var(--tpa-muted);margin-top:2px}

/* packages: compact cards */
.tph-h-route{font-size:13px;color:var(--tpa-muted)}
.tph-h-plans{row-gap:20px}
.tph-h-plans .tph-card-img{aspect-ratio:auto;height:170px}
.tpa-hub .tph-h-plans .tph-card-body{padding:16px 18px 18px;gap:6px}
.tpa-hub .tph-h-plans .tph-card h3{font-size:18px;line-height:1.3;margin:0!important}
.tpa-hub .tph-h-plans .tph-card-body>p{font-size:14px;line-height:1.5;margin:2px 0 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tpa-hub .tph-h-foot{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid var(--tpa-line)}
.tpa-hub .tph-h-foot .tph-price b{font-size:20px}
.tph-h-daylink{font-size:14px;font-weight:600;white-space:nowrap}
.tph-h-combo{margin-top:24px;border:1px solid var(--tpa-line);border-radius:20px;overflow:hidden;display:grid;grid-template-columns:260px minmax(0,1fr) auto;align-items:center;background:#fff}
.tph-h-combo img,.tph-h-combo .tpa-ph{width:100%;height:100%;min-height:170px;object-fit:cover;display:block}
.tph-h-combo-t{padding:24px 28px}
.tpa-hub .tph-h-combo-t h3{font-size:22px;font-weight:600;margin:6px 0 0!important;color:var(--tpa-ink)}
.tpa-hub .tph-h-combo-t p{font-size:15px;color:var(--tpa-body);margin:6px 0 0!important}
.tph-h-combo-c{padding:24px 28px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.tph-h-combo-c b{font-size:16px;font-weight:600;white-space:nowrap}
.tph-h-more{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px}
.tph-h-more span{color:var(--tpa-muted);font-size:15px}
.tph-h-more span a{font-weight:600}

/* day tours rail */
.tph-h-headr{display:flex;align-items:center;gap:20px}
.tph-h-tours{gap:20px}
.tph-h-tours .tph-tour{flex:0 0 calc((100% - 60px)/4.25)}
.tph-h-arrows{display:flex;gap:10px}
.tph-h-arrows button{width:44px;height:44px;border-radius:50%;border:1px solid #CCCCCC;background:#fff;color:var(--tpa-ink);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.tph-h-arrows button:hover{border-color:var(--tpa-ink)}

/* how it works: photo + steps */
.tph-h-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:64px;align-items:center}
.tph-h-photo{border-radius:24px;overflow:hidden;background:var(--tpa-mist)}
.tph-h-photo img{width:100%;height:100%;min-height:560px;object-fit:cover;display:block}
.tph-h-photo--sm{margin-top:28px}
.tph-h-photo--sm img{min-height:0;height:300px}
.tph-h-steps{list-style:none;padding:0!important;margin:28px 0 0!important;display:flex;flex-direction:column}
.tph-h-steps li{display:flex;gap:18px;align-items:flex-start;padding:20px 0;border-top:1px solid var(--tpa-line);margin:0!important}
.tph-h-steps li:last-child{border-bottom:1px solid var(--tpa-line)}
.tph-h-n{flex:none;width:44px;height:44px;border-radius:50%;background:var(--tpa-red);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}
.tpa-hub .tph-h-steps h3{font-size:19px;font-weight:600;margin:0!important;color:var(--tpa-ink)}
.tpa-hub .tph-h-steps p{font-size:15px;color:var(--tpa-muted);margin:4px 0 0!important}
.tph-h-cta{margin-top:28px!important}

/* reviews over a photo */
.tph-h-rvsec{position:relative;background-size:cover;background-position:center 60%;color:#fff}
.tph-h-rvsec::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,24,31,.72),rgba(18,24,31,.6))}
.tph-h-rvsec>.tpa-wrap{position:relative}
.tpa-hub .tph-h-rvsec .tpa-h2{color:#fff}
.tph-h-rating{margin:10px 0 0!important;font-size:16px;color:#E6EAEE}
.tph-h-rating .tph-stars{color:#FFC200;letter-spacing:2px}
.tph-h-rating b{color:#fff}
.tph-h-rvsec .tph-h-rating a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.tph-h-rvsec .tph-h-arrows button{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.5);color:#fff}
.tph-h-rvsec .tph-h-arrows button:hover{background:rgba(255,255,255,.24)}
.tph-h-reviews{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:20px}
.tph-h-reviews::-webkit-scrollbar{display:none}
.tph-h-reviews .tph-review{flex:0 0 calc((100% - 40px)/3);scroll-snap-align:start;margin:0!important;background:#fff;color:var(--tpa-ink)}

/* comparison + FAQ: full-width heading, photo stretched next to the content */
.tph-h-fullhead{display:flex;justify-content:space-between;align-items:flex-end;gap:20px 40px;flex-wrap:wrap;margin-bottom:32px}
.tpa-hub .tph-h-fullhead .tph-lead{max-width:none;margin-top:10px!important}
.tph-h-media,.tph-home .tph-h-media.tpa-faq{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:48px;align-items:stretch}
.tph-h-fill{position:relative;min-height:300px}
.tph-h-fill img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover}
.tph-h-media.tpa-faq details:first-child{padding-top:18px}
.tph-h-cmp{border:1px solid var(--tpa-line);border-radius:18px;overflow:hidden}
.tph-h-cmp-r{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));border-top:1px solid var(--tpa-line);align-items:stretch}
.tph-h-cmp-r:first-child{border-top:0}
.tph-h-cmp-r>span{padding:14px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px}
.tph-h-cmp-r>span[role=rowheader]{align-items:flex-start;text-align:left;padding:16px 18px;font-weight:500;font-size:15px;color:var(--tpa-ink)}
.tph-h-cmp-h{background:var(--tpa-soft);font-size:14px;font-weight:600;color:var(--tpa-muted)}
.tph-h-cmp-h .is-us{color:var(--tpa-red)}
.tph-h-cmp-r>span.is-us{background:#FDF1EF}
.tph-h-cmp-h>span.is-us{background:#FBE6E2}
.tph-h-cmp-h .m{display:none}
.tph-h-cmp small{font-size:13px;line-height:1.35;color:var(--tpa-muted)}
.tph-h-cmp-i{display:flex}
.is-y .tph-h-cmp-i{color:#1E7A4C}
.is-m .tph-h-cmp-i{color:#A36A12}
.is-n .tph-h-cmp-i{color:#9AA0A6}

/* essentials */
.tph-h-facts .tph-fact{background:#fff}
.tph-h-fico{width:44px;height:44px;border-radius:50%;background:#FDF1EF;color:var(--tpa-red);display:flex;align-items:center;justify-content:center;font-style:normal;margin-bottom:6px}

/* grids */
.tph-home .tph-h-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tph-home .tph-h-grid3 .tph-tour-img{aspect-ratio:16/10}
.tph-h-ask{margin-top:20px!important}

@media (max-width:1100px){
  .tph-h-media,.tph-home .tph-h-media.tpa-faq{grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:32px}
}
@media (max-width:1024px){
  .tph-h-tours .tph-tour{flex-basis:calc((100% - 40px)/3.2)}
}
@media (max-width:1023px){
  .tph-h-proof ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tph-h-split{grid-template-columns:1fr;gap:32px}
  .tph-h-photo img{min-height:0;height:340px}
  .tph-h-combo{grid-template-columns:200px minmax(0,1fr)}
  .tph-h-combo-c{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;border-top:1px solid var(--tpa-line);padding:16px 24px}
  .tph-h-reviews .tph-review{flex-basis:calc((100% - 20px)/2)}
  .tph-h-media,.tph-home .tph-h-media.tpa-faq{grid-template-columns:1fr;gap:24px}
  .tph-h-fill{min-height:240px}
}
@media (max-width:767px){
  .tph-h-proof{padding:24px 0}
  .tph-h-proof ul{grid-template-columns:1fr;gap:16px}
  .tph-h-combo{grid-template-columns:1fr}
  .tph-h-combo img,.tph-h-combo .tpa-ph{height:180px}
  .tph-h-combo-t{padding:20px 20px 4px}
  .tph-h-combo-c{flex-direction:column;align-items:flex-start;border-top:0;padding:12px 20px 20px}
  .tph-h-headr .tph-h-arrows,.tph-h-rvsec .tph-h-arrows{display:none}
  .tph-h-tours{margin:0 -24px;padding:0 24px 6px;gap:12px}
  .tph-h-tours .tph-tour{flex-basis:72%}
  .tph-h-photo img{height:260px}
  .tph-h-cmp-r{grid-template-columns:minmax(0,1fr) 56px 56px 56px}
  .tph-h-cmp-r>span{padding:12px 4px}
  .tph-h-cmp-r>span[role=rowheader]{padding:14px 12px;font-size:14px}
  .tph-h-cmp small{display:none}
  .tph-h-cmp-h .d{display:none}
  .tph-h-cmp-h .m{display:inline;font-size:12px}
  .tph-h-reviews{margin:0 -24px;padding:0 24px 6px;gap:12px}
  .tph-h-reviews .tph-review{flex-basis:85%}
  .tph-h-fill{display:none}
  .tph-h-fullhead{margin-bottom:20px}
  .tph-home .tph-h-grid3{display:flex}
  .tph-home .tph-h-grid3 .tph-tour{flex:0 0 80%;scroll-snap-align:start}
}
