/* Bengiorne – stile del sito (ricostruito a mano, senza Avada). Colori e font dalla palette del vecchio tema. */
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url(/assets/fonts/readex-pro.woff2) format("woff2"); font-weight: 160 700; font-style: normal; font-display: swap; }

:root {
  --cream: #f0eee5;
  --sand: #dfddd2;
  --yellow: #ffd400;
  --red: #bc3f31;
  --green: #1e6b59;
  --green-dark: #17594a;
  --blue: #1c5b78;
  --ink: #091b18;
  --muted: rgba(9, 27, 24, .7);
  --width: 1200px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Readex Pro", Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/27px var(--sans); color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--blue); }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 500; line-height: 1.3; margin: 0 0 .6em; color: var(--ink); }
h1, .h1 { font-size: clamp(34px, 5vw, 48px); text-transform: capitalize; }
h2 { font-size: clamp(28px, 3.6vw, 38px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: 22px; }
h5 { font-size: 20px; font-family: var(--sans); font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--width)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 860px); margin-inline: auto; }
.center { text-align: center; }
.block { padding-block: clamp(40px, 7vw, 90px); }
.lead { font-size: 20px; line-height: 1.6; font-weight: 300; }
.small { font-size: 13px; line-height: 1.5; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 50; background: #fff; padding: 8px 12px; }

/* pulsanti */
.btn { display: inline-block; padding: 1em 2.2em; background: var(--green); color: #fff; font: 400 16px/1.3 var(--sans); text-decoration: none; transition: background .15s, color .15s; overflow-wrap: anywhere; }
.btn:hover { background: var(--blue); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--green); }
.btn-yellow:hover { background: #fff; color: var(--green); }

/* barra superiore e intestazione */
.topbar { background: var(--cream); font: 13px/1.4 var(--serif); }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--ink); }
.topbar-news { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.topbar-news li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50ch; }
.topbar-news a { color: var(--muted); text-decoration: none; }
.topbar-fb, .fb { color: var(--ink); display: inline-flex; }
.icon { display: block; }
.site-header { background: var(--cream); position: relative; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.brand img { width: 212px; }
.site-nav > ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a, .sub-label { font-size: 17px; color: var(--green); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--yellow); }
.sub-label { cursor: default; }
.sub-label::after { content: " ⌄"; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -20px; min-width: 220px; list-style: none; margin: 0; padding: 16px 20px; background: #fff; box-shadow: 0 10px 30px rgba(9,27,24,.12); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a strong { display: block; font: 500 20px/1.3 var(--serif); color: var(--ink); }
.sub a small { color: var(--muted); font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--green); margin: 5px 0; }

/* home */
.hero { display: grid; grid-template-columns: 57fr 43fr; min-height: 600px; }
.hero-img { background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: clamp(32px, 4vw, 56px); color: #fff; }
.hero-text { background: var(--green); color: #fff; padding: clamp(32px, 6vw, 96px) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.hero-text h1 { color: #fff; font-size: clamp(36px, 4.4vw, 56px); }
.intro { padding-block: clamp(48px, 8vw, 100px) 0; text-align: center; max-width: 900px; }
.intro h3 { font-weight: 400; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.split-solo { grid-template-columns: 1fr; text-align: center; max-width: 900px; }
.split-flip .split-img { order: -1; }
.split-img { width: 100%; object-fit: cover; }

/* richiesta disponibilità (al posto dei form) */
.richiesta h2 { color: inherit; }
.richiesta-light h2, .richiesta-light p, .richiesta-light a:not(.btn) { color: #fff; }
.richiesta-light .btn { background: #fff; color: var(--ink); }
.richiesta-light .btn:hover { background: var(--yellow); }

/* pagine interne */
.banner { background-size: cover; background-position: center; min-height: clamp(220px, 34vw, 420px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.banner h1 { color: #fff; text-align: center; margin: 0; }
.band { background: var(--green); color: #fff; padding-block: clamp(40px, 6vw, 80px); }
.band h2, .band h5 { color: #fff; }
.band .split { padding-block: 0; }
.check { list-style: none; padding: 0; }
.check li { padding: 8px 0 8px 30px; border-bottom: 1px solid var(--sand); position: relative; }
.check li::before { content: "✓"; position: absolute; left: 4px; color: var(--green); }
.prezzi { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.prezzi li { border: 1px solid rgba(255,255,255,.4); padding: 24px; text-align: center; }
.prezzi p { margin: 0; font-size: 14px; }
.prezzi-light { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.prezzi-light li { border-color: var(--sand); background: #fff; padding: 20px 12px; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-3 img { aspect-ratio: 4 / 3; }
.map { width: 100%; min-height: 380px; border: 0; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.card { background: #fff; }
.card img { width: 100%; aspect-ratio: 1129 / 689; object-fit: cover; }
.card-body { padding: 24px; }
.card h4 a { color: var(--ink); text-decoration: none; }
.post-meta { font-size: 14px; color: var(--muted); }
.post { padding-block: clamp(40px, 6vw, 80px); }
.post h1 { text-transform: none; }
.prose img { margin: 32px 0; }
.prose .gallery img { margin: 0; }

/* piè di pagina */
.site-footer { background: var(--green) url(/assets/img/footer-bg.png) center / cover no-repeat; color: #fff; padding-block: 64px 32px; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-logo img { width: 300px; margin: 0 auto 40px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; align-items: start; }
.site-footer .richiesta h2, .site-footer .richiesta p { color: #fff; }
.site-footer .richiesta .btn { background: #fff; color: var(--ink); }
.footer-nav { list-style: none; padding: 0; margin: 0; text-align: center; }
.footer-nav li { border-bottom: 1px solid rgba(255,255,255,.25); }
.footer-nav a { display: block; padding: 12px 0; text-decoration: none; }
.footer-nav a[aria-current="page"] { color: var(--yellow); }
.footer-about h3 { color: #fff; }
.copy { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); text-align: center; font: 14px/1.6 var(--serif); }
.copy a { color: var(--yellow); }

/* telefono e tablet */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 8px 16px 20px; box-shadow: 0 10px 20px rgba(9,27,24,.1); }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--sand); }
  .site-nav a, .sub-label { display: block; padding: 12px 0; }
  .sub { position: static; display: block; box-shadow: none; background: none; padding: 0 0 8px 16px; }
  .sub-label::after { content: ""; }
  .topbar-news li + li { display: none; }
  .hero, .split, .footer-cols { grid-template-columns: 1fr; }
  .hero-text { order: -1; }
  .split-flip .split-img { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .brand img { width: 170px; }
  .topbar-news li { max-width: 30ch; }
}
