/* === FORCE LIGHT THEME (override any viewer dark mode) === */
:root{color-scheme:light only}
html,body{background:#f4f3f0 !important;color:#1a1a1a !important}
.section,.hero,.faq-wrap,.wrap,main,footer,.site-footer{background-color:transparent}
.site-footer{background:#f4f3f0 !important}
h1,h2,h3,p,span,a,li,strong,cite,summary,div{color:inherit}
.qa h3,.tile h3,.why-item strong,.ac-item summary,.section-head h2,.lede,.split p,.tile p,.qa p,.why-item p,.ac-body{color:#1a1a1a !important}
.qa-num,.why-item span,.kicker.navy,.tile-link{color:#1c2e4a !important}
/* hero e final hanno testo bianco su foto: mantienilo */
.hero h1,.hero p,.hero .kicker,.hero-display,.hero-sub,.hero-lede,.final h2,.final p,.final .kicker,.final-alt{color:#fff !important}
@media (prefers-color-scheme:dark){
  html,body{background:#f4f3f0 !important;color:#1a1a1a !important}
}
/* === END FORCE LIGHT === */
/* ===================================================================
   Procida RIDE — Arts & Leisure style
   White / ink / navy · auto-layout · lightweight
   =================================================================== */
:root{
  --paper:#f4f3f0;
  --ink:#1a1a1a;
  --navy:#2b2b2b;
  --line:rgba(26,26,26,.12);
  --muted:rgba(26,26,26,.55);
  --display:'Fraunces',Georgia,serif;
  --sans:'Hanken Grotesk',system-ui,sans-serif;
  --wrap:1280px;
  --gap:clamp(1.2rem,3vw,2.2rem);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:#fff}
body{font-family:var(--sans);background:var(--paper);color:var(--ink);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 clamp(20px,5vw,48px)}

h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.1;letter-spacing:-.01em;color:var(--ink)}
.kicker{font-size:.68rem;font-weight:600;letter-spacing:.32em;text-transform:uppercase;color:var(--muted)}
.kicker.navy{color:var(--navy)}

.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:.7rem 1rem;z-index:200}
.skip-link:focus{left:8px;top:8px}

/* ---------- Buttons (outline, click-only) ---------- */
.btn,.btn-solid{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:190px;font-family:var(--sans);font-weight:500;font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;padding:.85rem 1.6rem;border:1px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;transition:background .2s ease,color .2s ease}
.btn:active,.btn-solid:active{background:var(--ink);color:var(--paper)}
.hero .btn,.hero .btn-solid{border-color:rgba(255,255,255,.85);color:#fff}
.hero .btn:active,.hero .btn-solid:active{background:#fff;color:var(--ink)}

/* ---------- Header (minimal A&L) ---------- */
.site-header{position:absolute;top:0;left:0;right:0;z-index:50;background:transparent;transition:background .35s ease,box-shadow .35s ease}
.site-header.scrolled{position:fixed;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);box-shadow:0 1px 0 var(--line)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:2.5rem;min-height:78px}
.brand{font-family:var(--display);font-size:1.3rem;font-weight:400;letter-spacing:.01em;color:#fff;white-space:nowrap;margin-right:auto;padding-right:2rem}
.brand span{opacity:.55}
.site-header.scrolled .brand{color:var(--ink)}
.nav-list{display:none;list-style:none;gap:1.9rem}
.nav-list a{font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:#fff;font-weight:500;position:relative;padding:.3rem 0}
.site-header.scrolled .nav-list a{color:var(--ink)}
.nav-list a::after{content:"";position:absolute;left:0;bottom:-3px;width:0;height:1px;background:currentColor;transition:width .3s}
.nav-list a:hover::after{width:100%}
.nav-cta{display:none}
.nav-list.open{display:flex;flex-direction:column;gap:0;position:absolute;left:0;right:0;top:100%;background:var(--paper);padding:.5rem 28px 1rem;box-shadow:0 12px 30px -16px rgba(0,0,0,.3)}
.nav-list.open li{border-bottom:1px solid var(--line)}
.nav-list.open li:last-child{border-bottom:none}
.nav-list.open a{display:block;padding:1rem 0;font-size:.78rem;color:var(--ink)}
.nav-list.open a::after{display:none}
.nav-toggle{display:flex;flex-direction:column;gap:5px;width:42px;height:42px;background:transparent;border:none;align-items:center;justify-content:center;cursor:pointer;z-index:60}
.nav-toggle span{width:24px;height:1.5px;background:#fff;transition:.3s}
.site-header.scrolled .nav-toggle span{background:var(--ink)}
.nav-toggle[aria-expanded="true"] span{background:var(--ink)}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}

/* ---------- Hero (full-bleed photo) ---------- */
.hero{position:relative;min-height:92vh;display:flex;align-items:flex-end;justify-content:center;text-align:center;color:#fff;overflow:hidden}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.28) 0%,rgba(0,0,0,.3) 45%,rgba(0,0,0,.62) 100%);z-index:1}
.hero .wrap{position:relative;z-index:2;padding-bottom:clamp(3rem,8vh,6rem);display:flex;flex-direction:column;align-items:center}
.hero .kicker{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.45)}
.hero-display{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.45);text-transform:uppercase;font-weight:300;font-size:clamp(2.4rem,8vw,5.5rem);line-height:1;letter-spacing:.01em;margin:1rem 0}
.hero-sub{font-size:.72rem;letter-spacing:.3em;text-transform:uppercase;color:#fff;margin-bottom:.4rem;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.hero-lede{font-family:var(--display);font-weight:300;font-size:clamp(1.1rem,2.4vw,1.5rem);line-height:1.4;color:#fff;max-width:40ch;margin:0 auto 2rem;text-shadow:0 1px 12px rgba(0,0,0,.5)}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center}

/* ---------- Generic section spacing ---------- */
.section{padding:clamp(3.5rem,9vw,7rem) 0}
.section-head{text-align:center;max-width:60ch;margin:0 auto clamp(2.2rem,5vw,3.6rem)}
.section-head .kicker{display:block;margin-bottom:1rem}
.section-head h2{font-size:clamp(1.9rem,5vw,3.2rem);font-weight:300}
.lede{font-family:var(--display);font-weight:300;font-size:clamp(1.4rem,3.5vw,2.2rem);line-height:1.35;max-width:30ch;color:var(--ink)}

/* ---------- AUTO-LAYOUT photo grid (A&L) ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:var(--gap)}
.tile{display:flex;flex-direction:column}
.tile-img{aspect-ratio:4/5;overflow:hidden;background:var(--line)}
.tile-img img{width:100%;height:100%;object-fit:cover}
.tile:hover 
.tile h3{font-size:1.25rem;font-weight:500;margin:1rem 0 .25rem}
.tile p{font-size:.86rem;color:var(--muted);letter-spacing:.02em}
.tile a.tile-link{font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--navy);font-weight:600;margin-top:.6rem}

/* quick answers — auto-layout */
.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,240px));gap:var(--gap);justify-content:center}
@media (max-width:600px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.qa{border:1px solid var(--ink);padding:1.1rem;aspect-ratio:1/1;display:flex;flex-direction:column;justify-content:center}
.qa-num{font-family:var(--display);font-size:.95rem;color:var(--navy);display:block;margin-bottom:.5rem}
.qa h3{font-size:1.02rem;font-weight:500;margin-bottom:.35rem}
.qa p{font-size:.82rem;color:var(--muted)}

/* intro split — auto-layout */
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:clamp(2rem,5vw,4rem);align-items:center}
.split p{color:var(--muted);margin-bottom:1rem}

/* why — auto-layout numbered */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:var(--gap)}
.why-item{padding-top:1.3rem;border-top:1px solid var(--ink)}
.why-item span{font-family:var(--display);font-size:.9rem;color:var(--navy);display:block;margin-bottom:.3rem}
.why-item strong{font-family:var(--display);font-weight:500;font-size:1.2rem;display:block;margin-bottom:.2rem}
.why-item p{font-size:.88rem;color:var(--muted)}

/* FAQ */
.faq-wrap{max-width:820px;margin:0 auto}
.ac-item{border-top:1px solid var(--line)}
.ac-item:last-child{border-bottom:1px solid var(--line)}
.ac-item summary{cursor:pointer;list-style:none;padding:1.3rem 0;font-family:var(--display);font-weight:500;font-size:1.1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.ac-item summary::-webkit-details-marker{display:none}
.ac-item summary::after{content:"+";font-family:var(--sans);font-size:1.4rem;color:var(--navy);transition:transform .3s}
.ac-item[open] summary::after{transform:rotate(45deg)}
.ac-body{padding:0 0 1.3rem;color:var(--muted);font-size:.95rem;max-width:64ch}
.center-cta{text-align:center;margin-top:2.6rem}

/* testimonials — auto-layout */
.trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--gap)}
.quote{padding-top:1.4rem;border-top:1px solid var(--ink)}
.quote p{font-family:var(--display);font-style:italic;font-weight:300;font-size:1.15rem;line-height:1.4;margin-bottom:.7rem}
.quote cite{font-style:normal;font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--navy)}
.trust-note{margin-top:1.8rem;font-size:.76rem;color:var(--muted);text-align:center}

/* final CTA band — photo bg */
.final{position:relative;text-align:center;color:#fff;overflow:hidden;padding:clamp(4rem,10vw,7rem) 0}
.final-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.final::after{content:"";position:absolute;inset:0;background:rgba(28,46,74,.62);z-index:1}
.final .wrap{position:relative;z-index:2}
.final .kicker{color:rgba(255,255,255,.85);display:block;margin-bottom:1rem}
.final h2{color:#fff;font-weight:300;font-size:clamp(2rem,6vw,3.6rem);margin-bottom:1rem}
.final p{color:rgba(255,255,255,.9);max-width:48ch;margin:0 auto 2rem}
.final .btn{border-color:#fff;color:#fff}
.final .btn:active{background:#fff;color:var(--navy)}
.final-alt{margin-top:1.4rem;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.85)}
.final-alt a{color:#fff;text-decoration:underline;text-underline-offset:4px}

/* footer — light */
.site-footer{background:var(--paper);border-top:1px solid var(--line);padding:clamp(3rem,7vw,4.5rem) 0 2.5rem}
.foot-top{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:var(--gap);padding-bottom:2.2rem;border-bottom:1px solid var(--line)}
.foot-brand .brand{color:var(--ink);font-size:1.5rem;display:block;margin-bottom:.8rem;padding:0}
.foot-brand p{font-size:.88rem;color:var(--muted);max-width:40ch}
.foot-col h3{font-size:.64rem;letter-spacing:.22em;text-transform:uppercase;color:var(--navy);margin-bottom:1rem;font-family:var(--sans);font-weight:600}
.foot-col ul{list-style:none;display:grid;gap:.55rem}
.foot-col a{font-size:.88rem;color:var(--ink)}
.foot-col a:hover{color:var(--navy)}
.foot-seo{padding-top:1.8rem;font-size:.76rem;color:var(--muted);line-height:1.7;max-width:92ch}
.copyright{margin-top:1.1rem;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}

/* ---------- Animations (driven by JS adding .in) ---------- */
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(24px);transition:opacity .9s ease,transform .9s ease}
  .reveal.in{opacity:1;transform:none}
  
}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.08)}}

a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--navy);outline-offset:3px}

/* top bar removed — dropdown (hamburger) menu used on all screen sizes */



/* ===== Hero booking form (overlay on photo) ===== */
.hero{align-items:center}
.hero .wrap{padding-top:7rem;padding-bottom:4rem}
.hero-form{width:100%;max-width:1080px;margin:2rem auto 0;background:rgba(18,26,40,.42);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.22);padding:clamp(.55rem,1.2vw,.8rem) clamp(1.2rem,3vw,1.8rem);text-align:left;box-shadow:0 24px 60px -24px rgba(0,0,0,.6)}
.hero-form .seg{display:flex;gap:.4rem;margin-bottom:.5rem;border:none;padding:0}
.hero-form .seg:not(.seg-when){display:flex;width:max-content;margin-left:auto;margin-right:auto}
.hero-form .seg:not(.seg-when) button{flex:0 0 auto}
.hero-form .seg button{flex:1;background:transparent;border:none;font-family:var(--sans);font-size:.785rem;letter-spacing:.16em;text-transform:uppercase;padding:.6rem;cursor:pointer;color:#fff;transition:background .2s,color .2s}
.hero-form .seg button[aria-selected="true"]{background:#fff;color:var(--ink)}
.hero-form .seg-when{display:inline-flex;width:auto;margin-bottom:0;border:none;padding:0;gap:1.6rem}
.hero-form .seg-when button{flex:0 0 auto;padding:.25rem .1rem .45rem;background:transparent;color:#fff;border:none;border-bottom:2px solid transparent;border-radius:0;letter-spacing:.16em;cursor:pointer}
.hero-form .seg-when button[aria-selected="true"]{background:transparent;color:#fff;border-bottom:2px solid #fff}
.hero-form .grid-2{display:flex;flex-wrap:wrap;gap:1.6rem;margin-bottom:.2rem}
.hero-form .grid-2.boat-spacer-row{min-height:3rem}
.hero-form .field{display:flex;flex-direction:column;margin-bottom:.3rem}
.hero-form label{font-size:.725rem;letter-spacing:.16em;text-transform:uppercase;color:#fff;margin-bottom:.3rem;font-weight:600}
.hero-form input,.hero-form select{font-family:var(--sans);font-size:1.025rem;padding:.6rem .7rem;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff;border-radius:0;width:100%}
.hero-form input::placeholder{color:#fff;opacity:1}
.hero-form select option{color:var(--ink)}
.hero-form input:focus,.hero-form select:focus{outline:none;border-color:#fff;background:rgba(255,255,255,.2)}
/* line-style fields (underline only, like pickup/drop-off) */
.hero-form .field-line input,.hero-form .field-line select{border:none;border-bottom:1px solid rgba(255,255,255,.4);background:transparent;padding:.4rem .1rem;border-radius:0;width:100%}
.hero-form .field-line select:focus{background:transparent;border-color:transparent;border-bottom-color:#fff}
/* number pickers (Passengers / Bags) — line width = label, dark compact list */
.hero-form .count-row{display:flex;gap:1.6rem;flex-wrap:wrap}
.hero-form .time-count-row{align-items:flex-end}
.booking[data-mode="boat"] .car-count{display:none}
.hero-form .num-field{position:relative;display:inline-flex;flex-direction:column;align-items:flex-start}
.hero-form .num-trigger{display:inline-flex;align-items:center;gap:.6rem;justify-content:space-between;width:9.5rem;align-self:stretch;background:transparent;border:none;border-bottom:1px solid rgba(255,255,255,.4);color:#fff;font-family:var(--sans);font-size:1.025rem;padding:.4rem .1rem;cursor:pointer}
.hero-form .num-trigger:focus{outline:none;border-bottom-color:#fff}
.hero-form .num-caret{font-size:.825rem;opacity:1}
.hero-form .num-list{position:absolute;left:0;top:100%;z-index:50;width:max-content;min-width:3.2rem;background:#f4f5f7;border:1px solid rgba(0,0,0,.1);max-height:220px;overflow-y:auto;display:none;box-shadow:0 16px 34px -16px rgba(0,0,0,.4)}
.hero-form #num-pax,.hero-form #num-bags,.hero-form #num-boat-pax,.hero-form #num-boat-bags{min-width:1.6rem;width:max-content;max-height:110px}
.hero-form .num-list.open{display:block}
.hero-form .num-list button{display:block;width:100%;text-align:left;background:transparent;border:none;color:var(--ink);font-family:var(--sans);font-size:1.025rem;padding:.55rem 1.1rem;cursor:pointer;line-height:1.2}
.hero-form .num-list button:hover,.hero-form .num-list button.active{background:rgba(0,0,0,.07)}
/* line-style custom selects (boat Type / From / To) */
.hero-form .sel-field{position:relative;display:flex;flex-direction:column}
.hero-form .sel-trigger{display:inline-flex;align-items:center;gap:.5rem;justify-content:space-between;width:100%;background:transparent;border:none;border-bottom:1px solid rgba(255,255,255,.4);color:#fff;font-family:var(--sans);font-size:1.025rem;padding:.4rem .1rem;cursor:pointer;text-align:left}
.hero-form .sel-trigger .sel-val{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-form .sel-trigger:focus{outline:none;border-bottom-color:#fff}
.hero-form .sel-list{width:max-content;max-width:min(90vw,360px);min-width:100%}
/* duration line width = Passengers trigger width */
.hero-form .dur-field{width:auto;align-items:flex-start}
.hero-form .type-field .sel-trigger{width:9.5rem}
.hero-form .port-field .sel-trigger{width:9.5rem}
.hero-form .num-trigger .num-val{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hero-form #sel-btype{width:6em;min-width:6em;max-width:6em;max-height:110px}
.hero-form .type-when-row{display:flex;gap:2.4rem;flex-wrap:wrap;align-items:flex-end;margin-bottom:.5rem}
.hero-form .type-when-row .type-field{flex:0 0 auto}
.hero-form .when-field{position:relative;flex:0 0 auto}
.hero-form .when-field .sel-trigger{width:9.5rem}
.hero-form .when-picker{position:absolute;left:0;top:100%;z-index:50;background:#f4f5f7;border:1px solid rgba(0,0,0,.1);display:none;box-shadow:0 16px 34px -16px rgba(0,0,0,.4);width:max-content;min-width:100%}
.hero-form .when-picker.open{display:block}
.hero-form .when-cols{display:flex}
.hero-form .when-col{max-height:240px;overflow-y:auto;min-width:9rem;padding:.2rem 0}
.hero-form .when-col:first-child{border-right:1px solid rgba(0,0,0,.1);min-width:11rem}
.hero-form .when-col button{display:block;width:100%;text-align:left;background:transparent;border:none;color:var(--ink);font-family:var(--sans);font-size:1.025rem;padding:.5rem 1rem;cursor:pointer;line-height:1.2;white-space:nowrap}
.hero-form .when-col button:hover{background:rgba(0,0,0,.06)}
.hero-form .when-col button.active{background:var(--navy);color:#fff}
.hero-form .dur-field .sel-trigger{width:9.5rem}
.hero-form #sel-bdur{width:16.5vw;min-width:16.5vw;max-width:16.5vw;max-height:33vh}
.hero-form .dur-field label{white-space:nowrap}
/* phone field removed */
.hero-form .mode{display:none}
.hero-form .mode.active{display:block}
.hero-form .btn-book{display:block;width:fit-content;margin:.5rem auto 0;border:1px solid #fff;background:transparent;color:#fff;font-family:var(--sans);font-size:.825rem;letter-spacing:.18em;text-transform:uppercase;padding:.7rem 1.6rem;cursor:pointer;transition:background .15s,color .15s}
.hero-form .btn-book:active{background:#fff;color:var(--ink)}
.hero-form .bk-consent{display:none;flex-direction:column;gap:.55rem;margin:.7rem auto .2rem}
.hero-form .bk-consent.show{display:flex;animation:bkFade .35s ease}
@keyframes bkFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.hero-form .bk-consent label{display:flex;align-items:center;gap:.6rem;font-size:.76rem;line-height:1.45;color:rgba(255,255,255,.94);cursor:pointer;letter-spacing:.01em;text-transform:none;white-space:nowrap}
.hero-form .bk-consent input{margin:0;width:17px;height:17px;flex:0 0 auto;accent-color:#fff;cursor:pointer}
.hero-form .bk-consent a{color:#fff;text-decoration:underline}

/* ----- visually hidden (kept for SEO/accessibility) ----- */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ----- rectangular form (sharp corners, flat) ----- */
.hero-form{border-radius:18px}
@media (min-width:769px){.hero-form{max-width:720px}}
.hero-form .seg:not(.seg-when){border-radius:999px}
.hero-form .seg:not(.seg-when) button{border-radius:999px}
.hero-form .seg-when,.hero-form .seg-when button{border-radius:0}
.hero-form .btn-book{border-radius:999px}

/* ----- address autocomplete (Procida only) ----- */
.hero-form .ac-wrap input{width:9.5rem;border:none;border-bottom:1px solid rgba(255,255,255,.4);background:transparent;padding:.4rem .1rem;border-radius:0}
/* Desktop: distribute boat fields across the full form width */
@media (min-width:769px){
  #mode-boat .grid-2 .field,
  #mode-boat .count-row .field,
  #mode-car .grid-2 .field,
  .hero-form .car-count .field{flex:1 1 0}
  #mode-boat .field .sel-trigger,
  #mode-boat .field .num-trigger,
  #mode-boat .ac-wrap input,
  #mode-car .ac-wrap input,
  .hero-form .car-count .num-trigger{width:100%}
}
.hero-form .ac-wrap input:focus{outline:none;background:transparent;border-bottom-color:#fff}
.ac-wrap{position:relative}
.ac-list{position:absolute;left:0;right:0;top:100%;z-index:40;background:#fff;border:1px solid var(--line);border-top:none;max-height:230px;overflow-y:auto;display:none;box-shadow:0 16px 30px -18px rgba(0,0,0,.4)}
.ac-list.open{display:block}
.ac-list button{display:block;width:100%;text-align:left;background:transparent;border:none;border-bottom:1px solid var(--line);padding:.6rem .75rem;font-family:var(--sans);font-size:.945rem;color:var(--ink);cursor:pointer;line-height:1.35}
.ac-list button:last-child{border-bottom:none}
.ac-list button:hover,.ac-list button.active{background:var(--line)}

/* ----- Leaflet map (Procida only) ----- */
.hero-map{width:100%;height:240px;margin-top:1rem;border:1px solid var(--line);border-radius:0;background:#e9eef2}
.hero-map .leaflet-control-attribution{font-size:9px}

/* ============================================================
   RESPONSIVE AUTO-LAYOUT HARDENING (desktop + mobile)
   ============================================================ */
/* Global overflow / wrapping safety */
*{min-width:0}
img,svg,video{max-width:100%;height:auto}
p,h1,h2,h3,li,a,summary{overflow-wrap:anywhere}
.btn,.btn-solid{max-width:100%}

/* ---- Tablet / small laptop ---- */
@media (max-width:900px){
  .btn,.btn-solid{min-width:0}
}

/* ---- Mobile (phones) ---- */
@media (max-width:768px){
  /* CTAs stack and go full width for easy tapping */
  .hero-ctas{flex-direction:column;align-items:stretch;width:100%;max-width:340px;margin-inline:auto}
  .hero-ctas .btn,.hero-ctas .btn-solid{width:100%}
  .center-cta .btn,.center-cta .btn-solid{width:100%;max-width:340px}

  /* Booking form: every row stacks to a single column */
  .hero-form{padding:1rem 1rem 1.2rem}
  .hero-form .grid-2,
  .hero-form .count-row,
  .hero-form .time-count-row{flex-direction:column;gap:.9rem}
  .hero-form .grid-2 .field,
  .hero-form .count-row .field,
  .hero-form .num-field,
  .hero-form .sel-field,
  .hero-form .dur-field{width:100%;align-items:stretch}
  /* Force all the fixed-width pickers/inputs to fill the row */
  .hero-form .num-trigger,
  .hero-form .sel-trigger,
  .hero-form .type-field .sel-trigger,
  .hero-form .port-field .sel-trigger,
  .hero-form .ac-wrap input{width:100%}
  .hero-form .num-list,.hero-form .sel-list{max-width:90vw}

  /* Boat form: keep each pair (Type/When, From/To, Duration/Passengers)
     side by side and equal width, instead of stacking */
  #mode-boat .grid-2{flex-direction:row;gap:.8rem}
  #mode-boat .grid-2 .field{flex:1 1 0;width:auto;min-width:0}
  #mode-boat .grid-2 .field .sel-trigger,
  #mode-boat .grid-2 .field .num-trigger,
  #mode-boat .grid-2 .field .ac-wrap,
  #mode-boat .grid-2 .ac-wrap input,
  #mode-boat .type-field .sel-trigger,
  #mode-boat .port-field .sel-trigger,
  #mode-boat .dur-field,
  #mode-boat .when-field,
  #mode-boat .when-field .sel-trigger{width:100%}

  /* Car form: keep Passengers / Bags side by side and equal width
     (same as the boat pairs), instead of stacking */
  .hero-form .count-row.car-count{flex-direction:row;gap:.8rem}
  .hero-form .count-row.car-count .field{flex:1 1 0;width:auto;min-width:0}
  .hero-form .count-row.car-count .field .num-trigger{width:100%}

  /* Consent box full width */
  .hero-form .bk-consent{max-width:100%}
  /* Keep each consent line on ONE row, shrinking the text just enough to fit */
  .hero-form .bk-consent label{white-space:nowrap;align-items:center;font-size:clamp(.6rem,3.4vw,.76rem);gap:.45rem}

  /* Keep the boat spacer row visible on mobile too */
  .hero-form .grid-2.boat-spacer-row{min-height:2.5rem}

  /* Tighten hero vertical rhythm on phones */
  .hero .wrap{padding-top:5.5rem}
}

/* ---- Very small phones ---- */
@media (max-width:380px){
  .hero-form .seg button{font-size:.72rem;letter-spacing:.1em;padding:.55rem .3rem}
  .hero-form .seg-when{gap:1rem}
}


/* ============================================================
   MAX CONTRAST — stronger, solid white text over imagery
   ============================================================ */
/* Every text element that sits over a photo = pure white */
.hero h1,.hero h2,.hero p,.hero span,.hero a,.hero .kicker,
.hero-display,.hero-sub,.hero-lede,
.final h2,.final p,.final span,.final .kicker,.final-alt,
.hero-form label,.hero-form .seg button,.hero-form input,
  .hero-form .num-trigger,.hero-form .sel-trigger,.hero-form .seg-when button{
  color:#fff !important;
}
.hero-form input::placeholder{color:#fff !important;opacity:1 !important}
/* Selected segmented tab keeps dark ink on its white pill */
.hero-form .seg button[aria-selected="true"]{color:var(--ink) !important}

/* Stronger, tighter shadows so white pops on bright backgrounds */
.hero .kicker,.hero-sub{text-shadow:0 1px 3px rgba(0,0,0,.55),0 2px 14px rgba(0,0,0,.55) !important}
.hero-display{text-shadow:0 2px 6px rgba(0,0,0,.5),0 4px 22px rgba(0,0,0,.55) !important}
.hero-lede{text-shadow:0 1px 4px rgba(0,0,0,.6),0 2px 16px rgba(0,0,0,.5) !important}
.final h2,.final .kicker,.final p,.final-alt{text-shadow:0 1px 4px rgba(0,0,0,.5),0 2px 16px rgba(0,0,0,.45) !important}
.hero-ctas .btn,.hero-ctas .btn-solid{text-shadow:0 1px 6px rgba(0,0,0,.4)}

/* Slightly deeper image overlays guarantee legibility */
.hero::after{background:linear-gradient(180deg,rgba(0,0,0,.40) 0%,rgba(0,0,0,.42) 45%,rgba(0,0,0,.70) 100%) !important}
.final::after{background:rgba(20,34,56,.72) !important}

/* Nav links + globe over the photo: solid white before scroll */
.nav-list a{color:#fff}
.nav-list a{text-shadow:0 1px 6px rgba(0,0,0,.45)}
