:root{--ivory:#f3f0e9;--paper:#fbfaf6;--ink:#171f28;--navy:#092b3e;--copper:#a95531;--line:#cbc7bf;--muted:#6d6c68;--wine:#a8214a;--blue:#167cb7;--green:#11806d;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--ivory);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit}button,input,select{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e39b64;outline-offset:3px}.site-header{height:78px;padding:0 clamp(24px,5vw,76px);display:flex;align-items:center;justify-content:space-between;background:rgba(243,240,233,.97);position:relative;z-index:2;border-bottom:1px solid rgba(14,29,39,.08)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:600 27px var(--serif);letter-spacing:-1.3px}.brand-mark{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 65% 35%,#f4c53c 0 9%,transparent 10%),linear-gradient(180deg,#20bad2 0 46%,#168eb8 47% 61%,#e9a62a 62% 73%,#de572d 74%);border:2px solid #fff;box-shadow:0 0 0 1px #d5c8ac;position:relative;overflow:hidden}.brand-mark:before,.brand-mark:after{content:"";position:absolute;background:#092f58}.brand-mark:before{width:31px;height:14px;bottom:9px;left:6px;border:2px solid #092f58;border-bottom:0;background:linear-gradient(90deg,transparent 20%,#092f58 21% 26%,transparent 27% 48%,#092f58 49% 54%,transparent 55%)}.brand-mark:after{height:21px;width:4px;right:9px;bottom:8px}.brand-mark span{position:absolute;z-index:1;left:0;top:3px;color:transparent}.site-header nav{display:flex;align-items:center;gap:clamp(22px,4vw,54px)}.site-header nav a{text-decoration:none;font-size:16px}.site-header nav a:hover,.site-footer a:hover{color:var(--copper)}.nav-cta{border:1px solid var(--copper);color:#783a23;padding:9px 22px;border-radius:8px;font-family:var(--serif);font-weight:600}.hero{height:414px;min-height:370px;position:relative;overflow:hidden;color:white;background:var(--navy)}.hero-photo{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(4,28,42,.92) 0%,rgba(4,28,42,.72) 25%,rgba(4,28,42,.2) 56%,rgba(4,28,42,.03) 100%),url('assets/hero-porto-desktop.webp');background-size:cover;background-position:center 53%}.hero-content{position:relative;z-index:1;height:100%;padding:50px clamp(28px,5vw,78px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.eyebrow{margin:0 0 10px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:var(--copper)}.hero .eyebrow{color:#e8b69c}.hero h1{font:600 clamp(40px,5vw,60px)/1.08 var(--serif);letter-spacing:-1.7px;margin:0 0 17px}.hero-content>p:not(.eyebrow){font-size:18px;line-height:1.45;margin:0 0 23px}.button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:17px;border:0;border-radius:7px;padding:0 24px;text-decoration:none;font-weight:700;cursor:pointer;transition:background .18s,transform .18s}.button:hover{transform:translateY(-1px)}.button-copper,.button-submit{background:var(--copper);color:#fff}.button-copper:hover,.button-submit:hover{background:#874126}.button-copper span{font-size:22px;line-height:0}.hero-caption{position:absolute;right:clamp(24px,5vw,76px);bottom:20px;font-size:11px;letter-spacing:.08em;text-shadow:0 1px 8px #0008}.section-wrap{max-width:1250px;margin:0 auto;padding-left:clamp(25px,4.7vw,72px);padding-right:clamp(25px,4.7vw,72px)}.rides{padding-top:26px;padding-bottom:33px}.section-heading,.routes-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}.section-heading .eyebrow,.routes-head .eyebrow{margin-bottom:4px}h2{font:600 clamp(30px,3.7vw,42px)/1.08 var(--serif);letter-spacing:-1.3px;margin:0}.heading-note,.routes-head>p{color:var(--muted);font-size:13px;line-height:1.5;margin:0 0 2px}.heading-note{text-align:right}.ride-list{border-top:1px solid var(--line)}.ride-item{border-bottom:1px solid var(--line)}.ride-trigger{width:100%;min-height:51px;padding:10px 8px;display:grid;grid-template-columns:190px 1fr auto 24px;gap:20px;align-items:center;text-align:left;background:none;border:0;color:var(--ink);cursor:pointer}.ride-trigger:hover{background:#fff8}.ride-duration{font-weight:700;font-size:16px}.ride-short{font-size:15px}.ride-price{font-weight:700;white-space:nowrap}.ride-price small{font-weight:400;font-size:14px;margin-left:7px}.ride-arrow{font-size:21px;text-align:right;transition:transform .2s}.ride-item.is-open .ride-arrow{transform:rotate(90deg)}.ride-details{padding:0 50px 18px 218px;display:none;color:#51514d;font-size:14px;line-height:1.65}.ride-details p{max-width:740px;margin:0 0 12px}.ride-item.is-open .ride-details{display:block}.details-button{color:var(--copper);font-size:13px;font-weight:700;text-decoration:none}.details-button:hover{text-decoration:underline}.routes{padding-top:23px;padding-bottom:39px;border-top:1px solid #dedad2}.routes-head{margin-bottom:19px}.routes-layout{display:grid;grid-template-columns:minmax(190px,.33fr) minmax(0,1fr);gap:24px;align-items:stretch}.route-controls{display:flex;flex-direction:column;justify-content:center;gap:7px}.route-tab{--route:var(--wine);border:1px solid transparent;background:transparent;border-radius:5px;padding:11px 10px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;color:var(--ink);transition:background .2s,border-color .2s}.route-tab[data-route="magic"]{--route:var(--blue)}.route-tab[data-route="invincible"]{--route:var(--green)}.route-tab[aria-selected="true"]{background:var(--paper);border-color:#ddd7cb;box-shadow:0 5px 16px #241a1010}.route-dot{width:12px;height:12px;border-radius:50%;background:var(--route);flex:none}.route-label{font-weight:600;font-size:14px;flex:1}.route-tab small{color:var(--muted);font-size:11px}.route-tab .route-chevron{font-size:18px;color:var(--route)}.route-map-wrap{min-width:0}.map-window{height:257px;overflow:hidden;background:#dff3f1;border:1px solid #ded8ca;border-radius:6px}.route-map{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}.map-caption{min-height:57px;padding:10px 3px 0;display:flex;align-items:center;gap:10px}.map-pin{width:9px;height:9px;border-radius:50%;background:var(--wine);flex:none}.map-caption strong{font-size:13px}.map-caption p{margin:2px 0 0;color:var(--muted);font-size:12px}.map-duration{margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap}.booking{background:var(--navy);color:white;padding:31px clamp(25px,4.7vw,72px) 34px}.booking-inner{max-width:1106px;margin:0 auto;display:grid;grid-template-columns:260px minmax(0,1fr);gap:31px;align-items:center}.booking-intro .eyebrow{color:#d99a79}.booking-intro h2{font-size:36px}.copper-rule{display:block;width:57px;height:2px;background:#d5794d;margin:14px 0 10px}.booking-intro>p:last-child{font-size:14px;line-height:1.45;margin:0;color:#f0eee9}.booking-card{background:var(--paper);color:var(--ink);padding:18px;border-radius:9px;display:grid;grid-template-columns:1.1fr 1fr .9fr;gap:10px 12px}.field label{display:block;font-size:13px;font-weight:700;margin:0 0 7px}.field input,.field select{width:100%;height:47px;border:1px solid #bab7b0;border-radius:6px;background:#fff;color:var(--ink);padding:0 12px;font-size:13px}.field input:focus,.field select:focus{border-color:#a95531}.field input::placeholder{color:#555}.field-error{display:block;min-height:16px;color:#b4233b;font-size:11px;margin-top:3px}.field.has-error input,.field.has-error select{border-color:#b4233b}.button-submit{grid-column:1/-1;width:100%;min-height:48px;gap:14px;font-size:15px}.button-submit svg{width:21px;height:21px;fill:currentColor}.booking-note{grid-column:1/-1;margin:-3px 0 0;text-align:center;font-size:11px;color:#67645e;min-height:13px}.site-footer{min-height:57px;padding:13px clamp(24px,4.5vw,70px);display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--ivory);font-size:12px}.site-footer>*{flex:1}.site-footer>*+*{border-left:1px solid #a59d91;padding-left:clamp(12px,3.6vw,55px)}.site-footer a{text-decoration:none}.footer-brand{font:600 19px var(--serif)}@media(max-width:760px){.site-header{height:67px;padding:0 20px}.brand{font-size:21px;gap:8px}.brand-mark{width:38px;height:38px}.site-header nav{gap:13px}.site-header nav a{font-size:12px}.nav-cta{padding:7px 11px}.hero{height:385px;min-height:350px}.hero-photo{background-position:61% center;background-image:linear-gradient(90deg,rgba(4,28,42,.88) 0%,rgba(4,28,42,.63) 43%,rgba(4,28,42,.14) 100%),url('assets/hero-porto-desktop.webp')}.hero-content{padding:35px 24px}.hero h1{font-size:43px}.hero-content>p:not(.eyebrow){font-size:16px}.hero-caption{font-size:9px}.rides{padding-top:28px;padding-bottom:25px}.section-heading,.routes-head{align-items:flex-start}.heading-note{display:none}h2{font-size:33px}.ride-trigger{min-height:57px;padding:9px 3px;grid-template-columns:67px minmax(0,1fr) auto 18px;gap:7px}.ride-duration{font-size:13px}.ride-short{font-size:12px;line-height:1.25}.ride-price{font-size:14px}.ride-price small{display:block;text-align:right;font-size:10px;margin:0}.ride-arrow{font-size:18px}.ride-details{padding:0 10px 16px 70px;font-size:13px}.routes{padding-top:25px;padding-bottom:27px}.routes-head>p{display:none}.routes-layout{grid-template-columns:1fr;gap:12px}.route-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px}.route-tab{padding:10px 7px;gap:7px}.route-label{font-size:12px}.route-tab small{font-size:10px}.route-tab:last-child{grid-column:1/-1}.map-window{height:auto;aspect-ratio:1.62}.map-caption{min-height:62px}.booking{padding:27px 20px 30px}.booking-inner{grid-template-columns:1fr;gap:18px}.booking-intro h2 br{display:none}.booking-intro h2{font-size:33px}.booking-intro>p:last-child br{display:none}.copper-rule{margin:10px 0}.booking-card{grid-template-columns:1fr;gap:0;padding:16px}.field{margin-bottom:9px}.field input,.field select{height:47px}.button-submit{margin-top:4px}.site-footer{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:16px 20px;font-size:10px}.site-footer>*{padding:0!important;border:0!important}.site-footer>*:last-child{grid-column:1/-1}.footer-brand{font-size:17px}.site-footer a:nth-child(2){text-align:right}}@media(max-width:380px){.site-header{padding:0 14px}.brand{font-size:18px}.site-header nav{gap:8px}.site-header nav a{font-size:11px}.nav-cta{padding:6px 8px}.hero h1{font-size:39px}.ride-trigger{grid-template-columns:57px minmax(0,1fr) auto 16px;gap:5px}.ride-duration{font-size:12px}.ride-short{font-size:11px}.ride-price{font-size:13px}.route-label{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
:root{--header-height:78px}
html{scroll-padding-top:calc(var(--header-height) + 12px)}
[id]{scroll-margin-top:0}
.site-header{position:sticky;top:0}
.hero{height:auto;min-height:calc(100svh - var(--header-height))}
.hero{display:flex}
.hero-content{height:auto;flex:1}
.hero-photo{background-position:center 52%;background-image:linear-gradient(90deg,rgba(4,28,42,.92) 0%,rgba(4,28,42,.72) 25%,rgba(4,28,42,.2) 56%,rgba(4,28,42,.03) 100%),url('assets/hero-porto-desktop.webp')}
.hero-content{padding-top:clamp(48px,8vh,90px);padding-bottom:clamp(48px,8vh,90px)}
.section-wrap{max-width:1366px}
.rides,.routes{min-height:calc(100svh - var(--header-height));display:flex;flex-direction:column;justify-content:center;padding-top:clamp(44px,7vh,78px);padding-bottom:clamp(44px,7vh,78px)}
.section-heading{margin-bottom:clamp(30px,5vh,54px)}
.ride-trigger{min-height:clamp(70px,9vh,90px);grid-template-columns:205px 1fr auto 28px;gap:22px;padding:14px 10px}
.ride-duration,.ride-price{font-size:17px}
.ride-short{font-size:16px}
.ride-price small{font-size:14px}
.ride-details{padding-top:2px;padding-bottom:24px;font-size:15px}
.routes-head{margin-bottom:25px}
.route-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex-direction:unset;margin-bottom:18px}
.route-tab{--route:var(--wine);min-height:54px;border-color:#d7d2c8;background:#f8f6f1;padding:11px 16px}
.route-tab[data-route="magic"]{--route:var(--blue)}.route-tab[data-route="invincible"]{--route:var(--green)}
.route-label{font-size:14px}.route-tab[aria-selected="true"]{border-color:var(--route);background:#fff;box-shadow:0 3px 12px #241a1012}
.route-tab[aria-selected="true"] .route-dot{box-shadow:0 0 0 4px color-mix(in srgb,var(--route) 18%,transparent)}
.routes-layout{grid-template-columns:minmax(0,1fr) minmax(235px,285px);gap:22px;align-items:stretch}
.map-window{height:auto;aspect-ratio:auto;overflow:hidden;background:#e3f4f4;border:1px solid #d1cabb;border-radius:8px}
.map-canvas{position:relative;width:100%;aspect-ratio:1600 / 585}
.route-map{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.poi-markers{position:absolute;inset:0}
.poi-marker{--route:var(--wine);position:absolute;transform:translate(-50%,-50%);width:clamp(25px,2.7vw,35px);height:clamp(25px,2.7vw,35px);display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:var(--route);box-shadow:0 2px 9px #14232e55;color:#fff;font-size:12px;font-weight:700;cursor:pointer;transition:transform .18s,box-shadow .18s,opacity .18s}
.poi-marker:hover,.poi-marker:focus-visible,.poi-marker[aria-pressed="true"]{z-index:1;transform:translate(-50%,-50%) scale(1.16);box-shadow:0 0 0 5px color-mix(in srgb,var(--route) 22%,transparent),0 3px 12px #14232e55}
.poi-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}
.poi-list-button{min-height:36px;display:flex;align-items:center;gap:8px;padding:6px 9px;border:1px solid #ddd8ce;border-radius:4px;background:#faf9f5;text-align:left;font-size:12px;cursor:pointer}
.poi-list-button:hover,.poi-list-button[aria-pressed="true"]{border-color:var(--route);background:white}
.poi-list-button .route-dot{width:8px;height:8px;flex:none}
.place-panel{--route:var(--wine);min-width:0;align-self:stretch;padding:15px;background:#faf9f5;border:1px solid #d8d2c7;border-left:3px solid var(--route);border-radius:7px}
.place-panel.is-visible{animation:panel-in .22s ease both}
.place-photo-wrap{aspect-ratio:1.35;background:linear-gradient(135deg,#d5e4e1,#e9e0d1);border-radius:4px;overflow:hidden;margin:0 0 16px}
.place-photo-wrap[hidden]{display:none}
.place-photo{width:100%;height:100%;object-fit:cover}
.place-panel .eyebrow{margin-bottom:6px}
.place-title{font:600 22px/1.2 var(--serif);margin:0 0 8px}
.place-description{margin:0;color:#555550;font-size:13px;line-height:1.55}
.place-credit{display:inline-block;margin-top:11px;color:#6c574c;font-size:10px;line-height:1.4;text-decoration:underline}
.place-credit[hidden]{display:none}
@keyframes panel-in{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.booking{min-height:calc(100svh - var(--header-height));display:flex;align-items:center;padding-top:clamp(48px,7vh,85px);padding-bottom:clamp(48px,7vh,85px)}
.booking-inner{width:100%;max-width:1150px;grid-template-columns:minmax(255px,.68fr) minmax(0,1.8fr);gap:clamp(32px,5vw,70px)}
.booking-card{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 14px;padding:24px}
.booking-card .field:nth-child(1){grid-column:span 1}
.booking-card .field:nth-child(2){grid-column:span 2}
.booking-card .field:nth-child(3),.booking-card .field:nth-child(4),.booking-card .field:nth-child(5){grid-column:span 1}
.booking-card .field-notes{grid-column:span 2!important}
.field input,.field select{height:50px}
.field textarea{width:100%;min-height:50px;resize:vertical;border:1px solid #bab7b0;border-radius:6px;background:#fff;color:var(--ink);padding:12px;font:13px/1.4 var(--sans)}
.optional{font-weight:400;color:#6d6c68;font-size:11px}
.booking-note{grid-column:1/-1}
.site-footer{min-height:50svh;justify-content:space-around;padding-top:40px;padding-bottom:40px}
@media(max-height:820px) and (min-width:761px){.hero{min-height:calc(100svh - var(--header-height))}.hero-content{padding-top:36px;padding-bottom:36px}.hero h1{font-size:clamp(40px,4.8vw,56px)}.rides,.routes{padding-top:32px;padding-bottom:32px}.section-heading{margin-bottom:27px}.ride-trigger{min-height:66px}.routes-head{margin-bottom:18px}.route-controls{margin-bottom:12px}.booking{padding-top:32px;padding-bottom:32px}.booking-card{padding:18px;gap:7px 10px}.site-footer{min-height:50svh}}
@media(max-width:760px){
  :root{--header-height:67px}
  .site-header{position:sticky;top:0}
  .hero{height:auto;min-height:0;min-height:74svh}
  .hero-photo{background-position:62% center}
  .hero-content{padding:46px 24px}
  .rides,.routes{min-height:0;padding-top:42px;padding-bottom:42px}
  .section-heading{margin-bottom:22px}
  .ride-trigger{min-height:66px;padding:10px 3px;grid-template-columns:67px minmax(0,1fr) auto 18px;gap:7px}
  .ride-duration,.ride-price{font-size:13px}.ride-short{font-size:12px}.ride-price small{font-size:10px}
  .ride-details{padding:0 10px 18px 70px;font-size:13px}
  .routes-head{margin-bottom:16px}
  .route-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:10px}
  .route-tab{min-height:61px;display:grid;grid-template-columns:10px minmax(0,1fr);gap:3px 6px;padding:7px 6px}
  .route-dot{grid-row:span 2;width:9px;height:9px}
  .route-label{font-size:10px;line-height:1.2}.route-tab small{font-size:9px}.route-tab .route-chevron{display:none}
  .routes-layout{grid-template-columns:1fr;gap:12px}
  .map-window{height:212px;aspect-ratio:auto;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin}
  .map-canvas{width:580px;max-width:none;height:212px;aspect-ratio:auto}
  .route-map{width:100%;height:100%}
  .poi-marker{width:30px;height:30px;font-size:11px}
  .poi-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}
  .poi-list-button{min-height:42px;font-size:11px}
  .place-panel{padding:14px}
  .place-photo-wrap{aspect-ratio:1.8;max-height:190px}
  .place-title{font-size:20px}
  .booking{min-height:0;padding:38px 20px}
  .booking-inner{grid-template-columns:1fr;gap:20px}
  .booking-intro h2 br{display:none}.booking-intro h2{font-size:33px}
  .booking-card{grid-template-columns:1fr;gap:0;padding:16px}
  .booking-card .field:nth-child(n){grid-column:1/-1!important}
  .field{margin-bottom:10px}.field input,.field select{height:48px}
  .field textarea{min-height:78px}
  .button-submit{margin-top:4px}
  .site-footer{min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:22px 20px}
}
@media(max-width:380px){.route-label{font-size:9px}.map-canvas{width:540px}.poi-marker{width:27px;height:27px}}
@media(prefers-reduced-motion:reduce){.poi-marker,.route-tab,.place-panel{animation:none!important;transition:none!important}}
@media(max-width:760px){.hero-photo{background-image:linear-gradient(90deg,rgba(4,28,42,.88) 0%,rgba(4,28,42,.63) 43%,rgba(4,28,42,.14) 100%),url('assets/hero-porto-desktop.webp')}}
.language-switch{display:flex;align-items:center;gap:2px;padding-left:13px;border-left:1px solid #c9c3b9}
.language-switch button{border:0;background:transparent;padding:7px 5px;border-radius:4px;color:#55514a;font-size:11px;font-weight:700;cursor:pointer}
.language-switch button[aria-pressed="true"]{background:#e8e3d9;color:var(--copper)}
.ride-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:-21px 0 19px}
.ride-shortcut{min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:transparent;border:1px solid #d5d0c7;border-radius:5px;color:#31322f;text-align:left;font-size:12px;font-weight:600;cursor:pointer;transition:border-color .16s,color .16s,background .16s}
.ride-shortcut:hover,.ride-shortcut:focus-visible{border-color:var(--copper);color:var(--copper);background:#fbfaf6}
.ride-shortcut span:last-child{color:var(--copper);font-size:15px;flex:none}
.place-booking-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin-top:15px;padding:0 13px;border-radius:5px;background:var(--copper);color:white;text-decoration:none;font-size:12px;font-weight:700;transition:background .16s,transform .16s}
.place-booking-button:hover{background:#874126;transform:translateY(-1px)}
.estimate-total{grid-column:1/-1;display:block;padding:11px 13px;border:1px solid #ded8ce;border-radius:5px;background:#f1eee7;color:var(--ink);font-size:14px;font-weight:700}
.estimate-total[hidden],.place-booking-button[hidden]{display:none}
@media(max-width:760px){
  :root{--header-height:98px}
  .site-header{height:auto;min-height:98px;flex-wrap:wrap;gap:4px 10px;padding:8px 15px}
  .site-header nav{width:100%;justify-content:space-between;gap:7px}
  .site-header nav a{font-size:11px}
  .nav-cta{padding:6px 9px}
  .language-switch{gap:0;padding-left:6px}
  .language-switch button{padding:6px 4px;font-size:10px}
  .ride-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:-12px 0 15px}
  .ride-shortcut{min-height:52px;padding:7px 6px;font-size:10px;line-height:1.2}
  .ride-shortcut span:last-child{font-size:12px}
}

/* Roxana Tours — acabamento aprovado da revisão */
:root{--header-height:76px;--header-top:14px}
html{scroll-padding-top:calc(var(--header-height) + var(--header-top) + 12px)}
.site-header{position:fixed;top:var(--header-top);left:clamp(12px,2vw,24px);right:clamp(12px,2vw,24px);width:auto;height:var(--header-height);padding:0 clamp(18px,3vw,42px);border:1px solid rgba(255,255,255,.64);border-radius:17px;background:rgba(247,246,242,.44);-webkit-backdrop-filter:blur(22px) saturate(1.32);backdrop-filter:blur(22px) saturate(1.32);box-shadow:0 10px 32px rgba(4,25,40,.14);z-index:20}
.site-header nav{gap:clamp(17px,3vw,42px)}
.hero{width:calc(100% - 28px);min-height:calc(100svh - 22px);height:auto;margin:11px auto 0;border-radius:22px;overflow:hidden;display:flex}
.hero-photo{background-size:112% auto;background-position:43% 53%}
.hero-content{height:auto;min-height:calc(100svh - 22px);flex:1;padding:clamp(60px,10vh,110px) clamp(30px,5vw,76px)}
.hero::after{content:"";position:absolute;inset:13px;border:1px solid rgba(255,255,255,.63);border-radius:14px;pointer-events:none;z-index:3}
.landmark-label{position:absolute;right:clamp(28px,5vw,76px);bottom:24px;z-index:2;display:inline-flex;align-items:center;gap:9px;padding:7px 13px;border:1px solid rgba(255,255,255,.65);border-radius:30px;background:rgba(5,34,50,.3);backdrop-filter:blur(8px);color:#fff;font-size:11px;text-shadow:0 1px 8px #0008}
.landmark-dot{width:9px;height:9px;border-radius:50%;background:#36b5e9;box-shadow:0 0 0 3px #ffffffb0}
.rides,.routes,.booking{scroll-margin-top:0}
.section-heading{position:relative;margin-bottom:clamp(27px,4vh,44px)}
.section-heading:after,.routes-head:after{content:"";height:1px;flex:1;margin:0 0 9px;background:linear-gradient(90deg,#b56c4e,transparent)}
.section-heading .heading-note{max-width:260px}
.ride-shortcuts{margin:0 0 13px}
.ride-shortcut{min-height:45px;border-color:#c9aa9a;border-radius:9px;background:rgba(255,255,255,.28);font-size:13px}
.ride-shortcut:hover,.ride-shortcut:focus-visible{background:#f5e9e1}
.ride-trigger{border-radius:5px}
.ride-item.is-open .ride-trigger{background:#f4e4d8;box-shadow:inset 3px 0 #a95531}
.routes-head{margin-bottom:17px}
.routes-head:after{align-self:flex-end;max-width:44%;margin-bottom:12px}
.routes-panel{padding:14px;border:1px solid #bd927d;border-radius:16px;background:rgba(255,255,255,.26)}
.route-controls{margin-bottom:12px}
.route-tab{border-radius:10px;background:rgba(255,255,255,.38)}
.route-tab[aria-selected="true"]{background:#e7f0f1}
.routes-layout{grid-template-columns:minmax(0,1.8fr) minmax(250px,.82fr);gap:15px}
.place-panel{border:1px solid #d7c8b9;border-left:2px solid var(--route);border-radius:10px;padding:12px;background:#fffaf4}
.place-photo-wrap{aspect-ratio:1.55;margin-bottom:11px}
.place-booking-button{width:100%;justify-content:space-between;margin-top:12px;border-radius:4px;background:transparent;color:#9c4d2e;padding:0 3px;border-bottom:1px solid #c9a18d}
.place-booking-button:hover{background:transparent;color:#74351f;transform:none}
.booking-card{position:relative;border-radius:14px;padding:20px 20px 17px;box-shadow:0 14px 38px rgba(0,0,0,.12)}
.ticket-perforation{grid-column:1/-1;border-top:1px dashed #b77a5d;margin:1px 0 2px}
.estimate-total{border:0;border-radius:0;border-bottom:1px dashed #c6b6a8;background:transparent;padding:4px 3px 10px;color:#7b3e27}
.site-footer{min-height:50svh;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;padding:clamp(34px,6vh,64px) clamp(24px,5vw,72px) 20px;background:#0b0c0d;color:#f5f1e9}
.footer-main{width:100%;max-width:1320px;margin:auto;display:grid;grid-template-columns:1.25fr .7fr 1.25fr;align-items:center;gap:clamp(24px,5vw,70px)}
.footer-about{padding-right:clamp(20px,4vw,54px);border-right:1px solid #ad704f}
.footer-brand{display:inline-flex;align-items:center;gap:10px;font:600 clamp(21px,2.6vw,30px) var(--serif);text-decoration:none;white-space:nowrap}
.footer-about p{max-width:290px;margin:15px 0 0;color:#d5d0c8;font-size:13px;line-height:1.55}
.footer-nav{display:flex;flex-direction:column;gap:8px;padding:6px clamp(20px,3vw,42px);border-right:1px solid #ad704f}
.footer-nav a{color:#f5f1e9;font-size:13px;text-decoration:none}
.footer-photo-credit{color:#d5d0c8;font-size:12px;text-decoration:none;justify-self:center}
.footer-photo-credit:hover,.footer-nav a:hover{color:#e2a27f}
.footer-bottom{width:100%;max-width:1320px;margin:25px auto 0;padding-top:12px;border-top:1px solid #9e6549;display:flex;align-items:center;justify-content:space-between;color:#d5d0c8;font-size:11px}
.studio-signature{color:#e5a17d;text-decoration:none;transition:color .16s}
.studio-signature:hover{color:#ffd0b6;text-decoration:underline}
@media(max-width:760px){
 :root{--header-height:91px;--header-top:9px}
 .site-header{left:10px;right:10px;height:auto;min-height:var(--header-height);padding:7px 13px;border-radius:15px;gap:3px 8px}
 .brand{font-size:20px;gap:8px}.brand-mark{width:36px;height:36px}
 .site-header nav{width:100%;justify-content:space-between;gap:5px}
 .site-header nav a{font-size:11px}.nav-cta{padding:6px 9px}
 .language-switch{padding-left:5px}.language-switch button{padding:5px 4px;font-size:10px}
 .hero{width:calc(100% - 18px);min-height:calc(85svh - 8px);margin-top:8px;border-radius:17px}
 .hero-photo{background-size:auto 108%;background-position:38% center}
 .hero-content{min-height:calc(85svh - 8px);padding:115px 25px 68px}
 .hero h1{font-size:clamp(38px,10vw,49px)}
 .hero::after{inset:9px;border-radius:11px}
 .landmark-label{right:20px;bottom:17px;padding:6px 10px;font-size:10px}
 .section-heading:after{display:none}.section-heading{margin-bottom:21px}
 .ride-shortcuts{gap:6px;margin-bottom:13px}.ride-shortcut{min-height:55px;padding:6px;font-size:10px;gap:4px}
 .routes-head:after{max-width:25%;margin-bottom:9px}
 .routes-panel{padding:8px;border-radius:13px}
 .route-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:9px}
 .route-tab{display:grid;min-height:54px;grid-column:auto;grid-template-columns:9px minmax(0,1fr);padding:6px 5px;border-radius:8px;gap:3px 5px}
 .route-dot{grid-row:span 2;width:8px;height:8px}.route-label{font-size:9px}.route-tab small{font-size:8px}.route-tab .route-chevron{display:none}
 .routes-layout{grid-template-columns:1fr;gap:10px}
 .map-window{height:212px;aspect-ratio:auto;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin}
 .map-canvas{width:580px;max-width:none;height:212px;aspect-ratio:auto}
 .route-map{width:100%;height:100%}.poi-marker{width:29px;height:29px}
 .poi-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px}
 .poi-list-button{min-height:40px;padding:5px 6px;font-size:10px}
 .place-panel{padding:11px}.place-photo-wrap{aspect-ratio:1.8;max-height:175px}
 .booking-card{padding:15px;border-radius:12px}.ticket-perforation{margin:1px 0 5px}
 .site-footer{min-height:0;gap:0;padding:28px 22px 15px}
 .footer-main{grid-template-columns:1fr 1fr;gap:18px 16px;align-items:start}
 .footer-about{grid-column:1/-1;padding:0 0 15px;border-right:0;border-bottom:1px solid #9e6549}
 .footer-about p{margin-top:9px;font-size:12px}
 .footer-nav{padding:0;border:0;gap:7px}.footer-nav a{font-size:12px}
 .footer-photo-credit{justify-self:end;align-self:center;text-align:right;font-size:10px;line-height:1.4}
 .footer-bottom{margin-top:19px;padding-top:10px;border-top:1px solid #9e6549}
}
@media(max-width:380px){.site-header nav{gap:3px}.site-header nav a{font-size:10px}.brand{font-size:18px}.ride-shortcut{font-size:9px}.route-label{font-size:8px}.map-canvas{width:540px}}
@media(max-width:760px){footer.site-footer>.footer-bottom{padding-top:10px!important;border-top:1px solid #9e6549!important;border-left:0!important}}
@media(prefers-reduced-motion:reduce){.site-header,.ride-shortcut,.place-booking-button{transition:none}}

/* Route map: eight route-colored stops and dedicated route/place cards */
.poi-marker{--route:var(--wine);background:var(--route);border-color:#fff;box-shadow:0 2px 8px #10202b66;color:#fff;font-weight:700;z-index:2}
.poi-marker.is-selected{z-index:5;border-color:#fff;outline:2px solid var(--route);outline-offset:3px;box-shadow:0 0 0 5px rgba(255,255,255,.82),0 3px 12px #10202b66;transform:translate(-50%,-50%) scale(1.08)}
.poi-list-button{--route:var(--wine);position:relative;grid-template-columns:8px 22px minmax(0,1fr);border-color:#d8d2c8;color:var(--ink)}
.poi-list-button .route-dot{background:var(--route)}
.poi-list-number{width:22px;height:22px;display:grid;place-items:center;border:1px solid var(--route);border-radius:50%;color:var(--route);font-size:10px;font-weight:700}
.poi-list-button:hover,.poi-list-button[aria-pressed="true"]{border-color:var(--route);background:color-mix(in srgb,var(--route) 8%,white);box-shadow:inset 2px 0 var(--route)}
.poi-list-button[aria-pressed="true"] .poi-list-number{background:var(--route);color:white}
.route-cover{overflow:hidden;margin:0 0 13px;border-radius:7px;background:#edf0e9}
.route-cover-photo{display:block;width:100%;aspect-ratio:1.65;object-fit:cover;background:#d9e4dc}
.route-cover.image-unavailable .route-cover-photo,.place-photo-wrap.image-unavailable .place-photo{visibility:hidden}
.route-cover-copy{padding:10px 11px 11px}
.route-cover-copy .eyebrow{margin:0 0 3px;font-size:9px}
.route-cover-title{margin:0 0 4px;font:600 20px/1.2 var(--serif);color:var(--ink)}
.route-cover-description{margin:0;color:#555550;font-size:11px;line-height:1.45}
.route-cover-credit{display:block;margin:-7px 0 12px;color:#6c574c;font-size:9px;line-height:1.35;text-decoration:underline}
.route-cover-credit[hidden]{display:none}
.place-photo-wrap{aspect-ratio:1.65}
.place-photo-wrap.image-unavailable{background:#e5ded2}
.place-photo-wrap.image-unavailable:after{content:"";display:block;width:100%;height:100%;background:linear-gradient(135deg,#d8e5df,#eee3d4)}
@media(max-width:760px){
 .poi-marker{width:30px;height:30px}
 .poi-list-button{grid-template-columns:7px 20px minmax(0,1fr);font-size:10px}
 .poi-list-number{width:20px;height:20px;font-size:9px}
 .route-cover{margin-bottom:10px}.route-cover-photo{aspect-ratio:1.85}
 .route-cover-copy{padding:8px 9px}.route-cover-title{font-size:18px}
 .route-cover-description{font-size:10px}
 .route-cover-credit{margin-bottom:9px;font-size:9px}
}

/* Mobile layout: compact glass header, vertical hero, and touch-first flow */
.mobile-header-actions{display:none}
@media(max-width:760px){
 :root{--header-height:62px;--header-top:8px}
 html{scroll-padding-top:calc(var(--header-height) + var(--header-top) + 16px);overflow-x:clip}
 body{overflow-x:clip}
 .site-header{position:fixed;top:var(--header-top);left:8px;right:8px;width:auto;height:var(--header-height);min-height:var(--header-height);padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;overflow:visible;border:1px solid rgba(255,255,255,.72);border-radius:15px;background:rgba(247,246,242,.43);-webkit-backdrop-filter:blur(22px) saturate(1.32);backdrop-filter:blur(22px) saturate(1.32);box-shadow:0 8px 26px rgba(4,25,40,.16);z-index:30}
 .brand{min-width:0;gap:7px;font-size:19px;letter-spacing:-.7px;white-space:nowrap}
 .brand-mark{width:36px;height:36px;flex:none}
 .mobile-header-actions{display:flex;align-items:center;gap:5px;flex:none}
 .mobile-reserve{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;border:1px solid var(--copper);border-radius:8px;color:#783a23;background:rgba(255,255,255,.34);font:600 12px var(--serif);text-decoration:none;white-space:nowrap}
 .mobile-menu-toggle{width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(19,39,52,.2);border-radius:9px;background:rgba(255,255,255,.38);color:var(--ink);cursor:pointer}
 .menu-icon{position:relative;width:19px;height:14px;display:block;border-top:2px solid currentColor;border-bottom:2px solid currentColor}
 .menu-icon>span{position:absolute;left:0;right:0;top:5px;height:2px;background:currentColor}
 .mobile-menu-toggle[aria-expanded="true"] .menu-icon{border-color:transparent}
 .mobile-menu-toggle[aria-expanded="true"] .menu-icon>span{transform:rotate(45deg)}
 .mobile-menu-toggle[aria-expanded="true"] .menu-icon>span:after{content:"";position:absolute;inset:0;background:currentColor;transform:rotate(90deg)}
 .site-header nav{display:none;position:absolute;top:calc(100% + 8px);left:0;right:0;width:auto;flex-direction:column;align-items:stretch;gap:3px;padding:8px;border:1px solid rgba(255,255,255,.75);border-radius:14px;background:rgba(247,246,242,.74);-webkit-backdrop-filter:blur(22px) saturate(1.32);backdrop-filter:blur(22px) saturate(1.32);box-shadow:0 14px 34px rgba(4,25,40,.18)}
 .site-header.is-menu-open nav{display:flex}
 .site-header nav>a:not(.nav-cta){min-height:46px;display:flex;align-items:center;padding:0 12px;border-radius:8px;font-size:14px}
 .site-header nav .nav-cta{display:none}
 .site-header .language-switch{display:flex;width:100%;gap:5px;margin-top:4px;padding:6px 4px 0;border-top:1px solid rgba(31,45,54,.16);border-left:0}
 .site-header .language-switch button{flex:1;min-width:44px;min-height:44px;padding:8px;border-radius:7px;font-size:12px}
 .hero{width:calc(100% - 16px);height:auto;min-height:calc(100svh - 14px);margin:8px auto 0;border-radius:18px;overflow:hidden}
 .hero-photo{background-image:linear-gradient(180deg,rgba(4,28,42,.32) 0%,rgba(4,28,42,.02) 30%,rgba(4,28,42,.04) 47%,rgba(4,28,42,.83) 100%),linear-gradient(90deg,rgba(4,28,42,.23),transparent 76%),url('assets/hero-porto-desktop.webp');background-size:auto 110%;background-position:56% center}
 .hero-content{width:100%;height:auto;min-height:calc(100svh - 14px);justify-content:flex-end;padding:clamp(94px,16svh,130px) clamp(20px,6.5vw,29px) 68px}
 .hero .eyebrow{margin-bottom:8px;font-size:9px;letter-spacing:1.7px}
 .hero h1{max-width:12ch;margin-bottom:13px;font-size:clamp(34px,8.5vw,43px);line-height:1.04;letter-spacing:-1px}
 .hero-content>p:not(.eyebrow){max-width:31ch;margin-bottom:18px;font-size:clamp(15px,4.2vw,17px);line-height:1.4}
 .hero .button{min-height:50px;padding:0 19px;font-size:14px}
 .hero::after{inset:9px;border-radius:12px}
 .landmark-label{right:18px;bottom:17px;padding:6px 9px;font-size:9px}
 .rides,.routes,.booking{width:100%;height:auto;min-height:0;padding-top:34px;padding-bottom:36px;scroll-margin-top:0}
 .section-heading{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:18px}
 .section-heading h2,.routes-head h2{font-size:clamp(29px,7.7vw,35px);line-height:1.1}
 .section-heading .heading-note{max-width:none;text-align:left;font-size:12px}
 .ride-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 14px}
 .ride-shortcut{min-width:0;min-height:62px;padding:8px 7px;gap:4px;border-radius:8px;font-size:10px;line-height:1.25}
 .ride-shortcut span:last-child{font-size:13px}
 .ride-trigger{min-height:76px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"duration price" "title arrow";gap:3px 8px;padding:10px 8px;text-align:left}
 .ride-duration{grid-area:duration;font-size:14px}
 .ride-short{grid-area:title;min-width:0;font-size:12px;line-height:1.3}
 .ride-price{grid-area:price;justify-self:end;font-size:14px}
 .ride-price small{font-size:11px}
 .ride-arrow{grid-area:arrow;font-size:18px}
 .ride-details{padding:0 10px 15px;color:#51514d;font-size:13px;line-height:1.55}
 .routes{padding-top:29px}
 .routes-head{display:block;margin-bottom:14px}
 .routes-head:after{display:none}
 .routes-head>p{margin-top:7px;font-size:12px}
 .routes-panel{padding:8px;border-radius:13px}
 .route-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:10px}
 .route-tab{min-width:0;min-height:54px;display:grid;grid-template-columns:9px minmax(0,1fr);align-content:center;gap:3px 5px;padding:6px 5px;border-radius:8px}
 .route-tab:last-child{grid-column:auto}
 .route-tab .route-dot{grid-row:span 2;width:9px;height:9px}
 .route-label{font-size:clamp(8px,2.4vw,10px);line-height:1.15;overflow-wrap:anywhere}
 .route-tab small{font-size:9px;line-height:1.1}
 .route-tab .route-chevron{display:none}
 .routes-layout{display:flex;flex-direction:column;gap:0}
 .map-column{display:contents}
 .map-window{order:1;width:100%;height:220px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;touch-action:pan-x pan-y}
 .map-canvas{width:580px;max-width:none;height:212px;aspect-ratio:auto}
 .route-map{width:100%;height:100%;object-fit:cover}
 .poi-marker{width:44px;height:44px;font-size:14px;touch-action:manipulation}
 .place-panel{order:2;display:flex;flex-direction:column;margin-top:10px;padding:12px}
 .place-panel>.place-photo-wrap{order:1}
 .place-panel>.eyebrow{order:2}
 .place-panel>.place-title{order:3}
 .place-panel>.place-description{order:4}
 .place-panel>.place-credit{order:5}
 .place-panel>.place-booking-button{order:6}
 .place-panel>.route-cover{order:7;margin:16px 0 8px}
 .place-panel>.route-cover-credit{order:8;margin:0 0 3px}
 .route-cover-photo{aspect-ratio:1.9}
 .route-cover-copy{padding:8px 9px}
 .route-cover-title{font-size:18px}
 .route-cover-description{font-size:11px}
 .place-photo-wrap{aspect-ratio:1.8;max-height:210px;margin-bottom:9px}
 .place-title{font-size:20px}
 .place-description{font-size:13px;line-height:1.5}
 .place-booking-button{min-height:46px;display:flex;align-items:center;font-size:13px}
 .poi-list{order:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}
 .poi-list-button{min-width:0;min-height:46px;grid-template-columns:8px 22px minmax(0,1fr);padding:6px 7px;font-size:11px;line-height:1.25;touch-action:manipulation}
 .poi-list-number{width:22px;height:22px;font-size:10px}
 .booking{padding:32px 18px}
 .booking-inner{grid-template-columns:1fr;gap:14px;align-items:start}
 .booking-intro h2{font-size:32px}
 .booking-intro h2 br{display:none}
 .booking-intro>p:last-child{font-size:13px}
 .booking-card{grid-template-columns:minmax(0,1fr);gap:0;padding:15px;border-radius:13px}
 .booking-card .field:nth-child(n){grid-column:1/-1!important}
 .field{min-width:0;margin-bottom:9px}
 .field label{margin-bottom:6px;font-size:13px}
 .field input,.field select{height:52px;padding:0 12px;font-size:16px}
 .field textarea{min-height:82px;padding:12px;font-size:16px}
 .field-error{min-height:15px;font-size:11px}
 .ticket-perforation{margin:3px 0 5px}
 .estimate-total{margin-bottom:8px;padding:8px 4px;text-align:center;font-size:14px;font-weight:700}
 .button-submit{width:100%;min-height:52px;margin-top:0;font-size:14px}
 .booking-note{margin-top:8px;font-size:11px;line-height:1.4}
 .site-footer{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;height:auto;min-height:0;padding:26px 18px 16px}
 .footer-main{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:15px 12px;margin:0}
 .footer-about{grid-column:1/-1;padding:0 0 13px;border:0;border-bottom:1px solid #9e6549}
 .footer-brand{gap:8px;font-size:20px}
 .footer-brand .brand-mark{width:36px;height:36px}
 .footer-about p{margin:8px 0 0;font-size:11px}
 .footer-nav{display:flex;gap:8px;padding:0;border:0}
 .footer-nav a{min-height:30px;font-size:12px}
 .footer-photo-credit{align-self:start;justify-self:start;padding-top:2px;text-align:left;font-size:10px;line-height:1.45}
 .footer-bottom{width:100%;max-width:none;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;margin:15px 0 0;padding:12px 0 0;border-top:1px solid #9e6549;font-size:10px}
 .studio-signature{max-width:70%;text-align:right;font-size:10px;line-height:1.35}
}
@media(max-width:360px){
 .site-header{left:6px;right:6px;padding:0 8px}
 .brand{font-size:17px;gap:6px}
 .brand-mark{width:34px;height:34px}
 .mobile-reserve{padding:0 8px;font-size:11px}
 .mobile-header-actions{gap:3px}
 .hero-content{padding-right:19px;padding-left:19px}
 .ride-shortcuts{grid-template-columns:1fr;gap:6px}
 .ride-shortcut{min-height:46px;padding:8px 10px;font-size:12px}
 .poi-list{grid-template-columns:1fr}
 .footer-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 8px}
 .footer-bottom{gap:7px;font-size:9px}
 .studio-signature{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.mobile-header-actions,.site-header nav,.hero-photo{transition:none!important}}

/* Hero image update: local, optimized desktop and mobile crops (lumoplank, CC0). */
.hero-photo{background-image:linear-gradient(90deg,rgba(4,28,42,.92) 0%,rgba(4,28,42,.72) 25%,rgba(4,28,42,.2) 56%,rgba(4,28,42,.03) 100%),url('assets/hero-porto-desktop.webp');background-size:cover;background-position:center 54%;background-repeat:no-repeat}
@media(max-width:760px){
 .hero{background:var(--navy);min-height:calc(100svh - 14px)}
 .hero-photo{inset:0 0 auto;height:44svh;background-image:linear-gradient(180deg,rgba(4,28,42,.06) 0%,rgba(4,28,42,.02) 48%,rgba(4,28,42,.12) 66%,rgba(4,28,42,.74) 100%),url('assets/hero-porto-mobile.webp');background-size:100% auto;background-position:center 52%;background-repeat:no-repeat}
 .hero-content{min-height:calc(100svh - 14px);height:auto;justify-content:flex-start;padding:clamp(216px,26svh,236px) clamp(20px,6.5vw,29px) 68px}
 .hero .eyebrow{margin-bottom:8px}
 .hero h1{margin-bottom:11px}
 .hero-content>p:not(.eyebrow){margin-bottom:15px}
 .landmark-label{bottom:16px}
}

/* Motion system: browser-native reveals, reversible scroll depth, and tactile states. */
@keyframes hero-photo-reveal{from{opacity:.15;filter:brightness(.72) saturate(.84);clip-path:inset(0 0 8% 0 round 16px)}to{opacity:1;filter:brightness(1) saturate(1);clip-path:inset(0 0 0 0 round 0)}}
@keyframes hero-copy-reveal{from{opacity:0;transform:translate3d(0,16px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes menu-reveal{from{opacity:0;transform:translate3d(0,-7px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes ride-detail-reveal{from{opacity:0;transform:translate3d(0,-5px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes marker-arrive{from{opacity:0;transform:translate(-50%,-42%) scale(.62)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes estimate-change{0%{opacity:.55;transform:translateY(4px)}100%{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
 .hero-photo{transform:translate3d(0,var(--hero-depth,0px),0)}
 .motion-enabled .hero-photo{animation:hero-photo-reveal 550ms cubic-bezier(.2,.68,.24,1) both}
 .motion-enabled .hero-content>.eyebrow{animation:hero-copy-reveal 350ms cubic-bezier(.2,.68,.24,1) 550ms both}
 .motion-enabled .hero h1{animation:hero-copy-reveal 480ms cubic-bezier(.2,.68,.24,1) 680ms both}
 .motion-enabled .hero-content>p:not(.eyebrow){animation:hero-copy-reveal 450ms cubic-bezier(.2,.68,.24,1) 860ms both}
 .motion-enabled .hero .button{animation:hero-copy-reveal 450ms cubic-bezier(.2,.68,.24,1) 1.05s both}
 .motion-enabled .landmark-label{animation:hero-copy-reveal 400ms ease-out 1.12s both}
 .motion-enabled .scroll-reveal{opacity:0;transform:translate3d(0,22px,0);transition:opacity 620ms cubic-bezier(.2,.68,.24,1) var(--reveal-delay,0ms),transform 680ms cubic-bezier(.2,.68,.24,1) var(--reveal-delay,0ms)}
 .motion-enabled .scroll-reveal.is-in-view{opacity:1;transform:translate3d(0,0,0)}
 .motion-enabled .ride-item.is-open .ride-details{animation:ride-detail-reveal 240ms ease-out both}
 .motion-enabled .poi-marker.marker-arrive{animation:marker-arrive 380ms cubic-bezier(.2,.68,.24,1) var(--marker-delay,0ms) both}
 .motion-enabled .place-photo-wrap .place-photo,.motion-enabled .route-cover-photo{opacity:.18;transition:opacity 280ms ease}
 .motion-enabled .place-photo-wrap .place-photo.is-loaded,.motion-enabled .route-cover-photo.is-loaded{opacity:1}
 .motion-enabled #estimate-total.price-updated{animation:estimate-change 260ms ease-out both}
 .site-header{transition:box-shadow 280ms ease,background-color 280ms ease,backdrop-filter 280ms ease}
 .site-header.is-scrolled{box-shadow:0 8px 28px rgba(4,25,40,.15)}
 .site-header nav{transition:opacity 220ms ease,transform 220ms ease}
 .site-header.is-menu-open nav{animation:menu-reveal 220ms cubic-bezier(.2,.68,.24,1) both}
 .mobile-menu-toggle .menu-icon,.mobile-menu-toggle .menu-icon>span{transition:transform 180ms ease,opacity 180ms ease}
 .ride-trigger,.ride-shortcut,.route-tab,.poi-list-button,.place-booking-button,.button,.nav-cta{transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease,transform 180ms ease}
 .ride-trigger:active,.ride-shortcut:active,.route-tab:active,.poi-list-button:active,.place-booking-button:active,.button:active,.mobile-menu-toggle:active{transform:scale(.985)}
}
@media(prefers-reduced-motion:no-preference) and (min-width:761px){.hero-photo{will-change:transform,opacity}}
@media(prefers-reduced-motion:no-preference) and (max-width:760px){.hero-photo{transform:translate3d(0,var(--hero-depth,0px),0) scale(1.004)}}
@media(prefers-reduced-motion:reduce){
 .motion-enabled .scroll-reveal{opacity:1!important;transform:none!important;transition:none!important}
 .motion-enabled .hero-photo,.motion-enabled .hero-content>*,.motion-enabled .landmark-label,.motion-enabled .ride-details,.motion-enabled .poi-marker,.motion-enabled #estimate-total{animation:none!important}
 .motion-enabled .place-photo-wrap .place-photo,.motion-enabled .route-cover-photo{opacity:1!important;transition:none!important}
 .site-header,.site-header nav,.mobile-menu-toggle .menu-icon,.mobile-menu-toggle .menu-icon>span{transition:none!important}
}

/* Ribeira hero framing — static review before re-enabling hero motion. */
.site-header{background:rgba(247,246,242,.26);-webkit-backdrop-filter:blur(26px) saturate(1.35);backdrop-filter:blur(26px) saturate(1.35);border-color:rgba(255,255,255,.52)}
.hero{border:1px solid rgba(255,255,255,.48)}
.hero-photo{background-image:url('assets/hero-ribeira-desktop.webp');background-size:cover;background-position:center center;background-repeat:no-repeat}
.hero::before{content:"";position:absolute;z-index:1;left:0;bottom:0;width:min(76%,940px);height:68%;pointer-events:none;background:radial-gradient(ellipse 100% 94% at 0% 100%,rgba(4,28,42,.66) 0%,rgba(4,28,42,.38) 48%,rgba(4,28,42,0) 100%)}
.hero-content{justify-content:flex-end;padding:clamp(72px,10vh,112px) clamp(30px,5vw,76px) clamp(10px,1.5vh,16px);transform:translateY(6px)}
.hero::after{display:none}
.landmark-label{background:rgba(5,34,50,.22);border-color:rgba(255,255,255,.5)}
.site-footer .footer-photo-credit{font-size:10px;line-height:1.5;color:inherit}
.footer-photo-credit a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:760px){
 .site-header{background:rgba(247,246,242,.26);-webkit-backdrop-filter:blur(26px) saturate(1.35);backdrop-filter:blur(26px) saturate(1.35)}
 .hero-photo{background-image:url('assets/hero-ribeira-mobile.webp');background-size:cover;background-position:center center}
 .hero::before{width:100%;height:66%;background:radial-gradient(ellipse 110% 96% at 0% 100%,rgba(4,28,42,.66) 0%,rgba(4,28,42,.38) 52%,rgba(4,28,42,0) 100%)}
 .hero-content{justify-content:flex-end;padding:112px 25px 70px;transform:none}
 .hero::after{display:none}
 .landmark-label{right:18px;bottom:16px}
}
@media(prefers-reduced-motion:reduce){.hero-photo{transform:none!important;animation:none!important}}

/* Hero composition: Ribeira panorama with the three route choices built in. */
.hero{display:flex;flex-direction:column;justify-content:stretch}
.hero-photo{inset:0!important;height:auto!important;background-image:url('assets/hero-ribeira-desktop.webp');background-size:cover;background-position:center center;transform:translate3d(0,var(--hero-depth,0px),0)!important;will-change:transform,opacity}
.hero::before{width:min(78%,960px);height:66%;background:radial-gradient(ellipse 100% 95% at 0% 100%,rgba(4,28,42,.74) 0%,rgba(4,28,42,.45) 48%,rgba(4,28,42,0) 100%)}
.hero-content{position:absolute;left:clamp(32px,5vw,76px);bottom:clamp(118px,15vh,132px);width:min(58%,720px);height:auto;min-height:0;flex:0 0 auto;padding:0;justify-content:flex-end;transform:none;z-index:2}
.hero .eyebrow{display:none}
.hero h1{max-width:12ch;margin:0 0 11px;font-size:clamp(40px,3.2vw,46px);line-height:1.02;letter-spacing:-1.15px}
.hero h1 span{display:block}
.hero-content>p:not(.eyebrow){max-width:38ch;margin:0 0 17px;font-size:17px;line-height:1.4}
.hero .button{min-height:49px;padding:0 20px;gap:14px;border-radius:7px;font-size:14px}
.hero-route-shortcuts{--old-route:#a8214a;--magic-route:#168bd1;--inv-route:#11806d;position:absolute;z-index:2;left:clamp(48px,9vw,128px);right:clamp(48px,9vw,128px);bottom:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hero-route-shortcut{--route:var(--old-route);position:relative;min-width:0;min-height:56px;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:11px;padding:5px 0;border:0;border-radius:5px;background:transparent;color:#fff;text-align:left;cursor:pointer;touch-action:manipulation;transition:transform .18s ease,color .18s ease}
.hero-route-shortcut[data-route-tone="magic"]{--route:var(--magic-route)}
.hero-route-shortcut[data-route-tone="invincible"]{--route:var(--inv-route)}
.hero-route-shortcut:not(:last-child)::after{content:"";position:absolute;top:13px;right:-18px;width:36px;height:1px;background:rgba(255,255,255,.72)}
.hero-route-dot{position:relative;z-index:1;width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:var(--route);box-shadow:0 0 0 3px rgba(5,34,50,.56)}
.hero-route-copy{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:14px;font-weight:700;line-height:1.15}
.hero-route-copy small{font:italic 12px var(--serif);color:rgba(255,255,255,.84)}
.hero-route-shortcut:hover,.hero-route-shortcut:focus-visible{color:#ffe0cd;transform:translateY(-2px)}
.hero-route-shortcut:hover .hero-route-dot,.hero-route-shortcut:focus-visible .hero-route-dot{box-shadow:0 0 0 4px rgba(255,255,255,.24)}
.landmark-label{right:clamp(32px,5vw,76px);bottom:clamp(80px,11vh,92px);z-index:2;padding:5px 10px;border:0;background:rgba(5,34,50,.18);font-size:10px}
.hero::after{display:block;inset:10px;border:1px solid rgba(255,255,255,.5);border-radius:16px}
@media(max-width:760px){
 .hero{width:calc(100% - 16px);height:auto;min-height:calc(100svh - 14px);margin:8px auto 0;display:flex;flex-direction:column;justify-content:flex-start;border-radius:18px}
 .site-header{background:rgba(247,246,242,.26);-webkit-backdrop-filter:blur(26px) saturate(1.35);backdrop-filter:blur(26px) saturate(1.35)}
 .hero-photo{inset:0!important;height:auto!important;background-image:url('assets/hero-ribeira-mobile.webp');background-size:cover;background-position:center center;transform:translate3d(0,var(--hero-depth,0px),0)!important}
 .hero::before{width:100%;height:76%;background:linear-gradient(0deg,rgba(4,28,42,.8) 0%,rgba(4,28,42,.58) 24%,rgba(4,28,42,.18) 54%,rgba(4,28,42,0) 100%)}
 .hero-content{position:relative;left:auto;bottom:auto;width:100%;height:auto;min-height:0;flex:0 0 auto;justify-content:flex-end;padding:clamp(320px,53svh,450px) 25px 0;transform:none}
 .hero h1{max-width:12ch;margin-bottom:10px;font-size:clamp(38px,10vw,43px);line-height:1.04;letter-spacing:-1px}
 .hero-content>p:not(.eyebrow){max-width:31ch;margin-bottom:15px;font-size:clamp(15px,4.2vw,17px);line-height:1.4}
 .hero .button{min-height:49px;padding:0 19px;font-size:14px}
 .hero-route-shortcuts{position:relative;left:auto;right:auto;bottom:auto;width:auto;grid-template-columns:minmax(0,1fr);gap:2px;margin:15px 26px 30px 29px}
 .hero-route-shortcuts::before{content:"";position:absolute;top:17px;bottom:17px;left:8px;width:1px;background:rgba(255,255,255,.66)}
 .hero-route-shortcut{min-height:44px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:12px;padding:4px 0}
 .hero-route-shortcut:not(:last-child)::after{display:none}
 .hero-route-dot{width:17px;height:17px}
 .hero-route-copy{font-size:14px;line-height:1.2}
 .hero-route-copy small{font-size:11px}
 .landmark-label{display:none}
 .hero::after{inset:8px;border-radius:12px}
}
@keyframes hero-landscape-reveal{from{opacity:.35;filter:brightness(.72) saturate(.82);clip-path:inset(0 0 7% 0 round 18px)}to{opacity:1;filter:brightness(1) saturate(1);clip-path:inset(0 0 0 0 round 0)}}
@media(prefers-reduced-motion:no-preference){
 .motion-enabled .hero-photo{animation:hero-landscape-reveal 600ms cubic-bezier(.2,.68,.24,1) both}
 .motion-enabled .hero h1{animation:none!important;opacity:1!important;transform:none!important}
 .motion-enabled .hero h1 span:first-child{animation:hero-copy-reveal 420ms cubic-bezier(.2,.68,.24,1) 600ms both}
 .motion-enabled .hero h1 span:last-child{animation:hero-copy-reveal 420ms cubic-bezier(.2,.68,.24,1) 790ms both}
 .motion-enabled .hero-content>p:not(.eyebrow){animation:hero-copy-reveal 420ms cubic-bezier(.2,.68,.24,1) 970ms both}
 .motion-enabled .hero .button{animation:hero-copy-reveal 420ms cubic-bezier(.2,.68,.24,1) 1140ms both;pointer-events:auto}
 .motion-enabled .hero-route-shortcuts{animation:hero-copy-reveal 480ms cubic-bezier(.2,.68,.24,1) 1360ms both}
 .hero-photo{will-change:transform,opacity}
}
@media(prefers-reduced-motion:reduce){
 .hero-photo{transform:none!important;animation:none!important;filter:none!important;clip-path:none!important;will-change:auto!important}
 .hero-content,.hero-content>*,.hero-route-shortcuts,.hero-route-shortcut{animation:none!important;opacity:1!important;transform:none!important;transition:none!important}
}
