:root {
  --petrolio: #0d5968;
  --petrolio-scuro: #083f4b;
  --verde: #168568;
  --acqua: #eaf7f8;
  --carta: #ffffff;
  --inchiostro: #24373c;
  --tenue: #5d7479;
  --linea: #cfe5e7;
  --ombra: 0 14px 40px rgba(8, 63, 75, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--carta);
  color: var(--inchiostro);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

a { color: var(--petrolio); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(22, 133, 104, 0.35);
  outline-offset: 3px;
}

.topbar {
  background: var(--petrolio-scuro);
  color: #fff;
  font-size: 14px;
}

.topbar-inner,
.site-header-inner,
.content,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a { color: #fff; text-decoration: none; }

.site-header {
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--linea);
}

.site-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--petrolio-scuro);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--verde);
  border-radius: 50%;
  color: var(--verde);
  font-family: Georgia, "Times New Roman", serif;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--petrolio-scuro);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a[aria-current="page"] { color: var(--verde); }

.breadcrumbs {
  padding-top: 22px;
  color: var(--tenue);
  font-size: 14px;
}

.breadcrumbs a { color: var(--tenue); text-decoration: none; }

.hero {
  padding: 42px 0 58px;
  background: linear-gradient(135deg, #f7fcfc 0%, var(--acqua) 100%);
  border-bottom: 1px solid var(--linea);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 58px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--verde);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--petrolio-scuro);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.16;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.025em;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(31px, 4vw, 45px);
}

h3 {
  margin: 0 0 12px;
  font-size: 25px;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: #3f5a60;
  font-size: clamp(19px, 2vw, 23px);
}

.hero-image {
  width: 100%;
  height: 390px;
  border-radius: 4px;
  box-shadow: var(--ombra);
  object-fit: cover;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  border: 1px solid var(--petrolio);
  border-radius: 5px;
  background: var(--petrolio);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--petrolio);
}

main section { padding-top: 72px; }

main section:last-child { padding-top: 72px; padding-bottom: 82px; }

.intro {
  max-width: 860px;
  font-size: 20px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px;
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.topic {
  padding-top: 24px;
  border-top: 3px solid var(--linea);
}

.topic p { margin-bottom: 0; }

.notice {
  padding: 30px 34px;
  background: var(--acqua);
  border: 1px solid var(--linea);
}

.notice strong { color: var(--petrolio-scuro); }

.details {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 44px;
  align-items: start;
}

.details-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linea);
}

.details-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--linea);
}

.details-list strong {
  display: block;
  color: var(--petrolio-scuro);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.local-image {
  width: 100%;
  height: 310px;
  object-fit: cover;
  box-shadow: var(--ombra);
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--linea);
}

.faq summary {
  color: var(--petrolio-scuro);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.faq details p { max-width: 860px; }

.site-footer {
  background: var(--petrolio-scuro);
  color: rgba(255,255,255,0.86);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
  padding-top: 46px;
  padding-bottom: 46px;
}

.site-footer h2,
.site-footer h3 { color: #fff; }

.site-footer h2 { font-size: 27px; }
.site-footer h3 { font-size: 18px; }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: #fff; }

.small { font-size: 14px; color: var(--tenue); }
.site-footer .small { color: rgba(255,255,255,0.66); }

@media (max-width: 820px) {
  body { font-size: 16px; }
  .topbar-inner { min-height: 44px; justify-content: center; text-align: center; }
  .topbar-inner span:first-child { display: none; }
  .site-header-inner { align-items: flex-start; flex-direction: column; padding-top: 17px; padding-bottom: 17px; }
  .main-nav { justify-content: flex-start; gap: 13px 18px; }
  .hero { padding-top: 26px; }
  .hero-grid, .details { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { height: 290px; }
  .two-columns, .three-columns { grid-template-columns: 1fr; gap: 34px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .topbar-inner,
  .site-header-inner,
  .content,
  .footer-inner { width: min(100% - 28px, 1120px); }
  .brand { font-size: 21px; white-space: normal; }
  .main-nav a { font-size: 14px; }
  h1 { font-size: 39px; }
  h2 { font-size: 32px; }
  .hero-image { height: 240px; }
  .button { width: 100%; }
  .notice { padding: 24px 22px; }
}
