/* D&G Rent Boat — foglio di stile unico. Palette: blu notte del logo, turchese delle cale, sabbia, sole per le CTA. */
@font-face { font-family: 'DM Serif Display'; src: url('../fonts/dm-serif-display.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('../fonts/dm-serif-display-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-variable.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0a1f3a;  --deep: #061428;  --sea: #0b5f8a;  --aqua: #1fb6c9;  --aqua-dark: #0e8797;  --aqua-soft: #e2f5f7;
  --sand: #f7f2e8;  --sand-dark: #ece3d1;  --sun: #f6b93b;  --sun-dark: #e9a516;  --wa: #25d366;  --wa-dark: #1da851;
  --ink: #0d1b2a;  --text: #33475b;  --muted: #5d7085;  --bg: #ffffff;  --line: #dfe7ee;  --on-dark: rgba(235, 246, 250, .86);
  --font-display: 'DM Serif Display', Georgia, serif;  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 10px rgba(6, 20, 40, .06);  --shadow-md: 0 14px 36px rgba(6, 20, 40, .12);  --shadow-lg: 0 30px 70px rgba(6, 20, 40, .22);
  --radius: 16px;  --radius-lg: 26px;  --container: 1240px;  --nav-h: 80px;  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--font-body); font-size: 1.075rem; line-height: 1.72; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--aqua-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-family: var(--font-body); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
p { margin: 0 0 1.1em; }
em.accent, h1 em, h2 em { font-style: italic; color: var(--aqua); }
.section-sand h2 em, .section h2 em { color: var(--aqua-dark); }
.section-dark h2 em, .hero h1 em, .page-hero h1 em { color: #7fe3ee; }
strong { color: var(--ink); font-weight: 600; }
.section-dark strong { color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 300; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--aqua-dark); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #7fe3ee; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.65; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sun); color: var(--navy); box-shadow: 0 10px 26px rgba(246, 185, 59, .35); }
.btn-primary:hover { background: var(--sun-dark); color: var(--navy); }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* header (fisso, trasparente sopra le foto, bianco dopo lo scroll) */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand img { width: 58px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; line-height: 1; letter-spacing: .01em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; opacity: .8; margin-top: 5px; }
.site-header.scrolled .brand, .site-header.has-menu-open .brand { color: var(--navy); }
.site-header.scrolled .brand img { filter: none; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 13px; color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 10px; transition: background .2s, color .2s; }
.nav-menu a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nav-menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.site-header.scrolled .nav-menu a { color: var(--ink); }
.site-header.scrolled .nav-menu a:hover { background: var(--aqua-soft); color: var(--sea); }
.nav-cta { margin-left: 10px; }
.nav-menu .nav-cta a { background: var(--sun); color: var(--navy); border-radius: 999px; padding: 11px 22px; font-weight: 600; box-shadow: none; }
.nav-menu .nav-cta a:hover, .site-header.scrolled .nav-menu .nav-cta a:hover { background: var(--sun-dark); color: var(--navy); }
.site-header.scrolled .nav-menu .nav-cta a { color: var(--navy); }

/* menu mobile (templates/menu.css + correzioni note) */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 14px; background: rgba(6, 20, 40, .18); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; position: relative; z-index: 95; }
.nav-toggle span { display: block; width: 21px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .25s var(--ease), background .2s; }
.site-header.scrolled .nav-toggle, .site-header.has-menu-open .nav-toggle { border-color: var(--line); background: #fff; }
.site-header.scrolled .nav-toggle span, .site-header.has-menu-open .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero home */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 21s infinite, kenburns 21s infinite; }
.hero-slides img:nth-child(1) { opacity: 1; animation-delay: 0s; }
.hero-slides img:nth-child(2) { animation-delay: 7s; }
.hero-slides img:nth-child(3) { animation-delay: 14s; }
@keyframes heroFade { 0% { opacity: 0; } 4% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kenburns { 0% { transform: scale(1.12); } 40% { transform: scale(1); } 100% { transform: scale(1); } }
.hero-slides img:nth-child(1) { animation-name: heroFirst, kenburns; }
@keyframes heroFirst { 0% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 96% { opacity: 0; } 100% { opacity: 1; } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 40, .55) 0%, rgba(6, 20, 40, .1) 30%, rgba(6, 20, 40, .25) 55%, rgba(6, 20, 40, .82) 100%), linear-gradient(90deg, rgba(6, 20, 40, .55), transparent 70%); }
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 60px); padding-bottom: clamp(120px, 16vh, 190px); width: 100%; }
.hero h1 { color: #fff; max-width: 18ch; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .lead { max-width: 620px; color: rgba(255, 255, 255, .92); margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .92rem; }
.hero-badges svg { width: 18px; height: 18px; color: var(--sun); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; pointer-events: none; }
.wave svg { width: 100%; height: clamp(50px, 7vw, 110px); }
.scroll-hint { position: absolute; right: 34px; bottom: clamp(90px, 13vh, 150px); z-index: 4; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .75); text-decoration: none; }
.scroll-hint::after { content: ''; display: inline-block; width: 1px; height: 54px; background: rgba(255, 255, 255, .6); margin-top: 12px; animation: scrollLine 2s infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* hero pagine interne */
.page-hero { position: relative; color: #fff; padding: calc(var(--nav-h) + 90px) 0 clamp(110px, 13vw, 170px); background: var(--deep); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 40, .62), rgba(6, 20, 40, .35) 45%, rgba(6, 20, 40, .78)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.page-hero .lead { max-width: 680px; color: rgba(255, 255, 255, .9); margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 22px; color: rgba(255, 255, 255, .8); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* basi */
.bases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.base-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; box-shadow: var(--shadow-md); isolation: isolate; }
.base-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.base-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 20, 40, .05) 15%, rgba(6, 20, 40, .55) 45%, rgba(6, 20, 40, .94)); }
.base-card:hover > img { transform: scale(1.06); }
.base-card:hover { color: #fff; }
.base-body { padding: 36px; width: 100%; }
.base-body h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }
.base-tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); margin-bottom: 8px; }
.base-boats { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.base-boats li { display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.base-boats b { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); font-weight: 600; }
.base-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sun); }
.base-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.base-card:hover .base-link svg { transform: translateX(4px); }

/* mappa */
.map-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.map-svg { width: 100%; height: auto; background: linear-gradient(160deg, #0b2a4d, #0a1f3a 60%, #08182f); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.map-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.legend { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.legend li { display: flex; gap: 14px; align-items: flex-start; }
.legend i { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; }

/* feature */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--aqua-soft); color: var(--aqua-dark); margin-bottom: 20px; }
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.35rem; }
.feature p { margin: 0; font-size: 1rem; }

/* flotta */
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.boat { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.boat:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.boat-media { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; }
.boat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.boat:hover .boat-media img { transform: scale(1.05); }
.pill { position: absolute; top: 16px; left: 16px; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pill-free { background: var(--sun); color: var(--navy); }
.pill-lic { background: var(--navy); color: #fff; }
.boat-price { position: absolute; right: 16px; bottom: 16px; background: rgba(255, 255, 255, .95); color: var(--navy); border-radius: 14px; padding: 8px 14px; line-height: 1.15; text-align: right; box-shadow: var(--shadow-sm); }
.boat-price small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.boat-price strong { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--navy); }
.boat-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.boat-body h3 { margin-bottom: 4px; }
.boat-where { font-size: .92rem; color: var(--aqua-dark); font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.boat-where svg { width: 16px; height: 16px; }
.specs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.specs li { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.specs svg { width: 18px; height: 18px; color: var(--aqua-dark); flex: none; }
.boat-body .btn { margin-top: auto; }

/* scheda flotta estesa */
.boat-detail { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 40px; }
.boat-detail:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.boat-detail:nth-child(even) .boat-detail-media { order: 2; }
.boat-detail-media { position: relative; min-height: 420px; }
.boat-detail-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.boat-detail-body { padding: clamp(28px, 4vw, 52px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.chips li { background: var(--aqua-soft); color: var(--navy); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 500; }
.price-table { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: .98rem; }
.price-table th, .price-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: #fff; font-weight: 500; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.price-table tr:nth-child(even) td { background: var(--sand); }
.price-table td:last-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* destinazioni mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(6, 20, 40, .85)); }
.tile:hover img { transform: scale(1.07); }
.tile:hover { color: #fff; }
.tile-body { padding: 22px 24px; }
.tile h3 { color: #fff; margin: 0 0 4px; font-size: 1.55rem; }
.tile p { margin: 0; font-size: .95rem; opacity: .9; line-height: 1.45; }
.tile .pill { position: absolute; }
.tile-lg { grid-column: span 2; grid-row: span 2; }
.tile-lg h3 { font-size: 2.2rem; }
.tile-wide { grid-column: span 2; }

/* vento */
.wind { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.compass { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; margin: 0 auto; }
.compass svg { width: 100%; height: 100%; }
.compass .needle { transform-origin: 170px 170px; transition: transform .9s var(--ease); }
.wind-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.wind-buttons button { font: inherit; font-weight: 500; font-size: .96rem; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.wind-buttons button:hover { border-color: var(--sun); }
.wind-buttons button[aria-pressed="true"] { background: var(--sun); color: var(--navy); border-color: var(--sun); }
.wind-panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 30px 32px; min-height: 230px; }
.wind-panel h3 { color: #fff; margin-bottom: 6px; }
.wind-panel .dir { color: var(--sun); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.wind-panel ul { margin: 0 0 6px; padding-left: 20px; }
.wind-panel li { margin-bottom: 6px; }
.wind-panel li::marker { color: var(--aqua); }
.wind-panel .avviso { font-size: .9rem; opacity: .8; margin: 14px 0 0; }

/* passi */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed var(--sand-dark); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; font-family: var(--font-display); font-size: 1.7rem; position: relative; box-shadow: 0 0 0 8px var(--sand); }
.step h3 { font-size: 1.3rem; }
.step p { font-size: 1rem; margin: 0; }

/* fascia panoramica */
.band { position: relative; min-height: 460px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; background: var(--deep); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: rgba(6, 20, 40, .42); }
.band .container { position: relative; z-index: 2; }
.band blockquote { margin: 0 auto; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.1; max-width: 18ch; text-shadow: 0 3px 30px rgba(0, 0, 0, .3); }
.band cite { display: block; margin-top: 18px; font-style: normal; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sun); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split-media .float-card { position: absolute; right: -22px; bottom: -26px; background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-md); max-width: 260px; font-size: .95rem; line-height: 1.5; }
.split-media .float-card strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--navy); line-height: 1.1; }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e8797' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* info box */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-box { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.info-box .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--sun); margin-bottom: 16px; }
.info-box .ico svg { width: 24px; height: 24px; }
.info-box h3 { font-size: 1.25rem; }
.info-box p { margin: 0; font-size: 1rem; }
.note { background: var(--aqua-soft); border-left: 4px solid var(--aqua); padding: 18px 22px; border-radius: 0 12px 12px 0; font-size: 1rem; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 14px; margin-bottom: 12px; border: 1px solid var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 600; color: var(--ink); position: relative; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--aqua-soft); color: var(--aqua-dark); display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 24px 22px; }
.faq .answer p:last-child { margin: 0; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: var(--text); }
.post-card .media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .media img { transform: scale(1.05); }
.post-card .body { padding: 28px 30px 32px; }
.post-meta { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua-dark); font-weight: 600; margin-bottom: 10px; }
.post-card h3 { font-size: 1.55rem; }
.post-card p { margin: 0; font-size: 1rem; }

/* articolo */
.article { padding: clamp(56px, 8vw, 96px) 0; }
.article .container { max-width: 820px; }
.article h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article figure { margin: 34px 0; }
.article figure img { border-radius: var(--radius); width: 100%; }
.article figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 1.2em; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--aqua-dark); }
.answer-box { background: var(--sand); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 30px; border: 1px solid var(--sand-dark); }
.answer-box p:last-child { margin: 0; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px; margin: 0 0 34px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; }
.wind-table { width: 100%; border-collapse: collapse; margin: 10px 0 26px; font-size: .98rem; }
.wind-table th, .wind-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wind-table th { background: var(--navy); color: #fff; font-weight: 500; }
.wind-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.article-cta { margin: 46px 0 0; background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); padding: 36px; }
.article-cta h2 { color: #fff; margin-top: 0; font-size: 2rem; }
.author { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--muted); margin-top: 18px; color: rgba(255, 255, 255, .85); }

/* contatti + form */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--aqua-soft); color: var(--aqua-dark); }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list span { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; color: var(--ink); font-size: 1.1rem; }
.contact-list a:hover { color: var(--sea); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid #c9d5df; border-radius: 12px; background: #fbfdfe; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: var(--aqua); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; grid-column: 1 / -1; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-status { grid-column: 1 / -1; font-size: .95rem; color: var(--aqua-dark); margin: 0; min-height: 1.2em; }
.map-link { display: block; position: relative; border-radius: var(--radius); overflow: hidden; margin-top: 10px; }
.map-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--ease); }
.map-link:hover img { transform: scale(1.04); }
.map-link span { position: absolute; left: 16px; bottom: 16px; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-md); }

/* CTA banner */
.cta-banner { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; isolation: isolate; }
.cta-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.cta-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 20, 40, .95) 20%, rgba(6, 20, 40, .55)); }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { margin: 0; font-size: 1.12rem; }
.cta-banner .btn-row { justify-content: flex-end; }

/* testo policy */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.credits { width: 100%; border-collapse: collapse; font-size: .95rem; }
.credits th, .credits td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.credits th { background: var(--sand); }

/* footer */
.site-footer { background: var(--deep); color: rgba(225, 238, 246, .78); padding: 84px 0 0; font-size: .98rem; position: relative; }
.site-footer a { color: rgba(225, 238, 246, .88); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { width: 190px; height: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* WhatsApp flottante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #06331a; text-decoration: none; font-weight: 600; padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px); color: #06331a; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: waPulse 2.6s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* 404 */
.notfound { text-align: center; }
.notfound .big { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--aqua); margin: 0; }

/* responsive */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .fleet { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) {
  .site-header { overflow: hidden; overflow: clip; }
  .site-header.has-menu-open { overflow: visible; }
  .nav-toggle { display: flex; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 89; background: rgba(6, 20, 40, .55); border: 0; padding: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .38s var(--ease), visibility 0s linear .38s; }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu { position: fixed; inset: 0 0 0 auto; z-index: 91; width: min(86vw, 360px); background: var(--bg); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 100px 24px 40px; box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s; }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a, .site-header.scrolled .nav-menu a { color: var(--ink); padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  .nav-menu a:hover { background: var(--aqua-soft); color: var(--sea); }
  .nav-menu a[aria-current="page"] { box-shadow: none; background: var(--aqua-soft); border-radius: 12px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-menu .nav-cta a { text-align: center; padding: 15px 22px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  .bases, .map-wrap, .split, .wind, .contact-grid, .cta-banner { grid-template-columns: 1fr; }
  .cta-banner .btn-row { justify-content: flex-start; }
  .boat-detail, .boat-detail:nth-child(even) { grid-template-columns: 1fr; }
  .boat-detail:nth-child(even) .boat-detail-media { order: 0; }
  .boat-detail-media { min-height: 0; aspect-ratio: 4 / 3; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .wind { gap: 30px; }
  .compass { max-width: 260px; }
  .split-media .float-card { right: 12px; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .container { padding: 0 18px; }
  .brand img { width: 46px; }
  .brand-name { font-size: 1.3rem; }
  .fleet, .posts, .features, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .tile-lg, .tile-wide { grid-column: auto; grid-row: auto; }
  .tile-lg { grid-row: span 1; }
  .steps { grid-template-columns: 1fr; }
  .base-card { min-height: 460px; }
  .base-body { padding: 26px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; right: 16px; bottom: 16px; }
  .footer-bottom { flex-direction: column; }
  .wind-panel { padding: 24px 22px; }
  .hero-badges li { font-size: .85rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.35rem; }
  .hero h1 { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-slides img { opacity: 0; transform: none; }
  .hero-slides img:nth-child(1) { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
