/* ==========================================================================
   SDN Marine — foglio di stile
   Font: Lora e Inter (SIL Open Font License), ospitati in locale
   ========================================================================== */

@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --navy: #1d2b45;
  --navy-deep: #131d31;
  --navy-soft: #2c3d5e;
  --gold: #b8925a;
  --gold-dark: #8f6d3d;
  --gold-light: #e2c99f;
  --ivory: #f8f4ed;
  --sand: #efe6d6;
  --line: #ddd2bf;
  --ink: #1b2233;
  --muted: #5b6375;
  --white: #fff;
  --ok: #2f6b4f;
  --err: #a23a2a;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 84px;
  --shadow: 0 18px 50px -24px rgba(19, 29, 49, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--sans);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.hero-media picture, .page-hero-media picture, .service-media picture { height: 100%; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1 em, h2 em { font-style: italic; color: var(--gold-dark); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-deep); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 38em; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .95rem/1.1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(19,29,49,.15); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--navy); }
.link-arrow::after { content: "→"; color: var(--gold-dark); transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-light { color: var(--white); }
.link-light::after { color: var(--gold-light); }
.link-light:hover { color: var(--gold-light); }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--navy); color: var(--white);
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-overlay { position: fixed; inset: 0 0 auto; background: linear-gradient(to bottom, rgba(19,29,49,.55), rgba(19,29,49,0)); }
.site-header.is-scrolled { background: var(--navy); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); --header-h: 70px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: auto; height: 42px; }
.site-header.is-scrolled .brand img { height: 36px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a:not(.btn) { color: var(--white); text-decoration: none; font-size: .94rem; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--white); }
.nav-cta { min-height: 42px; padding: 10px 20px; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 0; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 26px; height: 2px; background: var(--white); margin-inline: auto; transition: transform .25s, opacity .25s; }
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -8px; }
.menu-toggle .bars::after { top: 8px; }
.menu-open .menu-toggle .bars { background: transparent; }
.menu-open .menu-toggle .bars::before { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle .bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; position: relative; z-index: 60; }
  .main-nav {
    position: fixed; inset: 0; z-index: 55; background: var(--navy-deep);
    flex-direction: column; justify-content: center; gap: 36px;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 1.7rem; }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--navy-deep); isolation: isolate; }
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(19,29,49,.82) 0%, rgba(19,29,49,.45) 48%, rgba(19,29,49,.05) 80%),
    linear-gradient(to top, rgba(19,29,49,.85) 0%, rgba(19,29,49,0) 40%);
}
.hero-content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 56px; }
.hero h1 { color: var(--white); margin-bottom: .4em; }
.hero h1 em { color: var(--gold-light); }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-facts { border-top: 1px solid rgba(255,255,255,.18); background: rgba(19,29,49,.45); backdrop-filter: blur(6px); }
.hero-facts ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-facts li { padding: 22px 0; display: flex; flex-direction: column; gap: 2px; }
.hero-facts li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-facts strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--gold-light); }
.hero-facts span { font-size: .9rem; color: rgba(255,255,255,.78); }

@media (max-width: 700px) {
  .hero { min-height: 100svh; }
  .eyebrow { letter-spacing: .14em; }
  .hero-actions .btn { width: 100%; }
  .hero-facts ul { grid-template-columns: 1fr; }
  .hero-facts li { padding: 12px 0; flex-direction: row; align-items: baseline; gap: 10px; }
  .hero-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .hero-facts strong { font-size: 1.1rem; }
}

/* Page hero (pagine interne) */
.page-hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: var(--white); background: var(--navy-deep); isolation: isolate; }
.page-hero-short { min-height: 440px; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(19,29,49,.92) 0%, rgba(19,29,49,.55) 55%, rgba(19,29,49,.6) 100%); }
.page-hero-content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 56px; }
.page-hero h1 { color: var(--white); max-width: 15em; }
.page-hero h1 em { color: var(--gold-light); }
.page-hero .lead { color: rgba(255,255,255,.88); }
.jump { display: flex; gap: 10px; margin-top: 24px; }
.jump a { color: var(--white); text-decoration: none; border: 1px solid rgba(255,255,255,.5); padding: 8px 18px; border-radius: 99px; font-size: .9rem; font-weight: 500; }
.jump a:hover { background: var(--white); color: var(--navy); }

/* --- Sections ------------------------------------------------------------ */
.section { padding-block: clamp(64px, 9vw, 120px); }
.tint { background: var(--sand); }
.section-head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--muted); }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 40px); }
.service-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.service-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.service-tag { font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.service-body h3 a { text-decoration: none; color: inherit; }
.service-body > p:not(.service-tag) { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 24px; }
.meta li { font-size: .85rem; font-weight: 500; padding: 6px 12px; background: var(--ivory); border: 1px solid var(--line); border-radius: 99px; }
.service-body .link-arrow { margin-top: auto; }
@media (max-width: 860px) { .service-grid { grid-template-columns: 1fr; } }

/* Split */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-grid.reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.split-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: -1; }
.split-media { isolation: isolate; }
.split-text > p:not(.eyebrow) { color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 28px 0 0; }
.features div { border-top: 1px solid var(--line); padding-top: 16px; }
.features dt { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.features dd { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-grid.reverse .split-media { order: 0; }
  .split-media { margin-right: 18px; }
}
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Route preview */
.route-preview .section-head { margin-inline: auto; text-align: center; }
.route-preview .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.route {
  position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 48px; counter-reset: r;
}
.route::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 0;
  border-top: 2px dashed var(--gold);
}
.route li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.route-n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light); font: 500 .95rem/1 var(--serif);
  box-shadow: 0 0 0 6px var(--ivory); margin-bottom: 8px;
}
.route strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--navy); }
.route span:last-child { font-size: .86rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 960px) {
  .route { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .route::before { left: 22px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 2px dashed var(--gold); }
  .route li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; align-items: start; text-align: left; padding-bottom: 22px; }
  .route-n { grid-row: span 2; margin: 0; }
  .route strong { padding-top: 2px; }
}

/* Story */
.story { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.story::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 85% 20%, transparent 0 22px, var(--gold-light) 22px 23px);
}
.story-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story h2 { color: var(--white); }
.story p:not(.eyebrow) { color: rgba(255,255,255,.82); font-size: 1.1rem; }
.story-media img { aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

/* Prose + info card */
.prose-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.info-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 32px; position: sticky; top: 100px; box-shadow: var(--shadow); }
.formula { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.formula p { margin: 0; }
.formula-name { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.formula-detail { font-size: .9rem; color: var(--muted); }
.incl { margin: 22px 0 26px; }
.incl h4 { margin: 18px 0 10px; }
@media (max-width: 860px) { .prose-grid { grid-template-columns: 1fr; } .info-card { position: static; } }

.list-check li, .list-x li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.list-check li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(-45deg); }
.list-x li { color: var(--muted); }
.list-x li::before, .list-x li::after { content: ""; position: absolute; left: 3px; top: .75em; width: 12px; height: 2px; background: var(--muted); transform: rotate(45deg); }
.list-x li::after { transform: rotate(-45deg); }
.list-check.cols { columns: 2; column-gap: 40px; }
.list-check.cols li { break-inside: avoid; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { background: var(--white); padding: 32px 28px; border: 1px solid var(--line); }
.step-n { display: block; font: italic 500 3rem/1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 16px; } }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 300 1.8rem/1 var(--sans); color: var(--gold-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; max-width: 46em; }

/* Islands / tours */
.island-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: 48px; }
.island-head.reverse .island-media { order: -1; }
.island-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.island-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tours { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.tour { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.tint .tour { background: var(--ivory); }
.tour header { border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tour header p:not(.tour-dur) { color: var(--muted); }
.tour-dur { font: 600 .74rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.stops { counter-reset: s; }
.stops li { counter-increment: s; position: relative; padding: 0 0 18px 46px; color: var(--muted); font-size: .98rem; }
.stops li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-dark); display: grid; place-items: center; font: 500 .85rem/1 var(--serif); background: inherit;
}
.stops li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; border-left: 1px dashed var(--line); }
.stops strong { color: var(--navy); font-weight: 600; }
.note { margin-top: 28px; font-size: .95rem; color: var(--muted); font-style: italic; }
@media (max-width: 860px) {
  .island-head, .tours { grid-template-columns: 1fr; }
  .island-head.reverse .island-media { order: 0; }
}

.incl-band { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px 64px; align-items: start; }
.incl-band .note { grid-column: 2; margin-top: 0; }
@media (max-width: 760px) { .incl-band { grid-template-columns: 1fr; } .incl-band .note { grid-column: auto; } .list-check.cols { columns: 1; } }

/* Contatti */
.contact-head { padding: clamp(56px, 8vw, 100px) 0 clamp(56px, 7vw, 90px); }
.contact-head .lead { color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-label { font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); }
.contact-value { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); overflow-wrap: anywhere; }
.contact-cta { margin-top: auto; padding-top: 12px; font-size: .9rem; font-weight: 600; }
.contact-cta::after { content: " →"; color: var(--gold-dark); }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.notfound { min-height: 60vh; }

/* --- Booking ------------------------------------------------------------- */
.booking { background: var(--navy-deep); color: var(--white); padding-block: clamp(64px, 9vw, 120px); scroll-margin-top: 70px; }
.booking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.booking h2 { color: var(--white); }
.booking-intro > p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.booking .eyebrow { color: var(--gold-light); }
.direct { margin-top: 32px; display: grid; gap: 12px; }
.direct a { display: flex; align-items: center; gap: 16px; color: var(--white); text-decoration: none; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); transition: border-color .2s, background .2s; }
.direct a:hover { border-color: var(--gold); background: rgba(255,255,255,.04); color: var(--white); }
.direct strong { font-weight: 600; color: var(--gold-light); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.direct .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(184,146,90,.16); display: grid; place-items: center; }
.direct svg { width: 22px; height: 22px; fill: var(--gold-light); }

.booking-form { background: var(--ivory); color: var(--ink); padding: clamp(24px, 4vw, 44px); border-top: 3px solid var(--gold); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold-dark) 50%), linear-gradient(135deg, var(--gold-dark) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,90,.22); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field.has-error label { color: var(--err); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-3 { display: grid; grid-template-columns: 1.4fr 1.2fr .7fr; gap: 0 16px; }
@media (max-width: 600px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.check label { font-weight: 400; color: var(--muted); font-size: .88rem; margin: 0; }
.booking-form .btn { width: 100%; margin-top: 6px; }
.booking-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.form-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 16px; margin-bottom: 20px; border-left: 3px solid; font-size: .95rem; background: var(--white); }
.form-alert.is-ok { border-color: var(--ok); color: var(--ok); }
.form-alert.is-error { border-color: var(--err); color: var(--err); }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 30em; }
.coords { font: italic 400 .95rem/1 var(--serif); color: var(--gold-light); letter-spacing: .06em; }
.footer-title { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer address { line-height: 1.9; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Barra contatti mobile */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.12);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .mobile-bar.is-visible { transform: none; visibility: visible; }
  .mobile-bar a { display: grid; place-items: center; min-height: 56px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .mobile-bar a.is-primary { background: var(--gold); color: var(--navy-deep); }
  body { padding-bottom: 56px; }
}

/* Animazione d'ingresso leggera */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* --- Blog ---------------------------------------------------------------- */
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.section-head-row h2 { margin-bottom: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); }
.post-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.tint .post-card { background: var(--ivory); }
.post-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-card-media picture { height: 100%; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.25rem; }
.post-card-body h3 a { color: inherit; text-decoration: none; }
.post-card-body h3 a:hover { color: var(--gold-dark); }
.post-card-body > p:not(.service-tag):not(.post-card-meta) { color: var(--muted); font-size: .95rem; }
.post-card-meta { margin: auto 0 0; font-size: .82rem; color: var(--muted); padding-top: 8px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.blog-head { padding-bottom: 0; }
.blog-list { padding-top: 48px; }

.wrap-narrow { max-width: 860px; }
.post-head { padding-top: clamp(40px, 6vw, 72px); }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.post-head .lead { color: var(--muted); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); margin: 18px 0 0; }
.post-meta span + span::before { content: "·"; margin-right: 18px; color: var(--gold-dark); }
.post-cover { max-width: 1140px; margin-top: 40px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
@media (max-width: 620px) { .post-cover { padding-inline: 0; } .post-cover img { aspect-ratio: 4 / 3; } .post-meta span + span::before { display: none; } }

.post-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 5vw, 72px); justify-content: center; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 100px); }
.post-aside { position: relative; }
.toc { position: sticky; top: 100px; border-left: 2px solid var(--line); padding-left: 18px; }
.toc-title { font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.toc ol { counter-reset: t; }
.toc li { margin-bottom: 10px; font-size: .88rem; line-height: 1.4; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--navy); }
@media (max-width: 960px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border-left: 0; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); }
}

.tldr { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 22px 26px; margin-bottom: 40px; }
.tldr-title { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.tldr ul { list-style: disc; padding-left: 20px; }
.tldr li { margin-bottom: 8px; color: var(--ink); }
.tldr li::marker { color: var(--gold); }

.prose-article { font-size: 1.09rem; line-height: 1.75; }
.prose-article p, .prose-article li { color: #333b4d; }
.prose-article h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 2em 0 .6em; scroll-margin-top: 100px; }
.prose-article h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose-article ul, .prose-article ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose-article ul { list-style: disc; }
.prose-article ol { list-style: decimal; }
.prose-article li { margin-bottom: .5em; padding-left: .2em; }
.prose-article li::marker { color: var(--gold-dark); }
.prose-article a { color: var(--navy); font-weight: 500; }
.prose-article strong { color: var(--navy); font-weight: 600; }

.post-faq { margin-top: 56px; }
.post-faq h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); scroll-margin-top: 100px; }

.post-cta { margin-top: 56px; background: var(--navy); color: var(--white); padding: clamp(26px, 4vw, 40px); display: grid; gap: 20px; }
.post-cta p { color: rgba(255,255,255,.8); margin: 0; }
.post-cta .eyebrow { margin-bottom: 12px; }
.post-cta-title { font: 500 1.5rem/1.25 var(--serif); color: var(--white) !important; margin-bottom: 8px !important; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Banner cookie ------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px;
  background: var(--navy-deep); color: rgba(255,255,255,.85); border-top: 3px solid var(--gold);
  padding: 20px 22px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); font-size: .92rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 14px; }
.cookie-banner strong { color: var(--white); }
.cookie-banner a { color: var(--gold-light); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.85); cursor: pointer; }
.link-btn:hover { color: var(--gold-light); }
@media (max-width: 760px) { .cookie-open .mobile-bar { visibility: hidden; } .cookie-banner { left: 12px; right: 12px; bottom: 12px; } }
