/* ---------------------------------------------------------
   Agriturismo Rubinu – stylesheet
   Palette terrosa, tipografia serif, ritmo lento
--------------------------------------------------------- */

:root {
  --verde-scuro: #2f3a23;
  --verde-oliva: #6b7f4e;
  --verde-salvia: #9aa57c;
  --sabbia: #d9c89e;
  --crema: #efe7d3;
  --carta: #f7f1e1;
  --terracotta: #b25a36;
  --cacao: #3b2a1d;
  --inchiostro: #1f1a14;
  --ombra: rgba(31, 26, 20, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--inchiostro);
  background: var(--carta);
  -webkit-font-smoothing: antialiased;
}

/* Texture sottile su tutto il sito */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(178, 90, 54, 0.04) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(107, 127, 78, 0.05) 0, transparent 40%);
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
  color: var(--cacao);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

p { margin-bottom: 1rem; }
a { color: var(--terracotta); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cacao); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --------- Etichette piccole maiuscoletto --------- */
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--verde-oliva);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--terracotta);
  border: none;
  margin: 1.5rem auto;
}

.divider-left { margin-left: 0; margin-right: 0; }

/* --------- Bottoni --------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--cacao);
  color: var(--cacao);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover {
  background: var(--cacao);
  color: var(--carta);
}
.btn-primary {
  background: var(--cacao);
  color: var(--carta);
}
.btn-primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--carta);
}
.btn-light {
  border-color: var(--carta);
  color: var(--carta);
}
.btn-light:hover {
  background: var(--carta);
  color: var(--cacao);
}

/* --------- Header / Nav --------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 28px 0;
}
.site-header.solid {
  position: relative;
  background: var(--carta);
  border-bottom: 1px solid rgba(59, 42, 29, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: inherit;
}
.brand img {
  height: 62px;
  width: auto;
  display: block;
  transition: opacity .25s ease;
}
.brand:hover img { opacity: 0.88; }
.site-header.light .brand img {
  filter: brightness(0) invert(1) opacity(0.95);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .brand img { height: 48px; }
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.site-header.light .nav-links a,
.site-header.light .brand-text {
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.site-header.light .brand img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.35));
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: currentColor;
  color: inherit;
}
.site-header.light { color: var(--carta); }
.site-header.dark  { color: var(--cacao); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  color: inherit;
}
.menu-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s ease;
}
.menu-toggle span:nth-child(1) { top: 2px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 18px; }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--carta);
    color: var(--cacao);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 1.2rem;
    transform: translateX(100%);
    transition: transform .4s ease;
    z-index: 100;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--cacao) !important; font-size: 1rem; }
}

/* --------- Hero --------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--carta);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31,26,20,0.55) 0%, rgba(31,26,20,0) 220px),
    linear-gradient(180deg, rgba(31,26,20,0.10) 30%, rgba(31,26,20,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 90px;
  max-width: 760px;
}
.hero-content .eyebrow { color: var(--sabbia); }
.hero h1 {
  color: var(--carta);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  margin-bottom: 1.2rem;
  font-style: italic;
}
.hero p.lead {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* --------- Page banner (hero piccolo per pagine interne) --------- */
.page-banner {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--carta);
  overflow: hidden;
  padding-top: 100px;
}
.page-banner .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(31,26,20,0.65) 0%, rgba(31,26,20,0) 240px),
    linear-gradient(180deg, rgba(31,26,20,0.35) 0%, rgba(31,26,20,0.6) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  padding: 40px 28px;
}
.page-banner h1 {
  color: var(--carta);
  font-style: italic;
  font-weight: 400;
}
.page-banner p {
  max-width: 580px;
  margin: 0 auto;
  opacity: 0.95;
}

/* --------- Sezioni --------- */
section { padding: 110px 0; }
section.tight { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}
.section-head .divider { margin: 1.5rem auto; }
.section-head p { color: rgba(31,26,20,0.7); font-size: 1.05rem; }

.bg-crema { background: var(--crema); }
.bg-verde { background: var(--verde-scuro); color: var(--carta); }
.bg-verde h2, .bg-verde h3 { color: var(--carta); }
.bg-verde .eyebrow { color: var(--sabbia); }
.bg-verde .section-head p, .bg-verde p { color: rgba(247,241,225,0.82); }

/* --------- Layout due colonne --------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-image {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 60px var(--ombra);
}
.split-image.landscape { aspect-ratio: 5/4; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 70px 0; }
}

/* --------- Card spazi / produzioni --------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.card {
  background: var(--carta);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px var(--ombra); }
.card-image {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.card-body {
  padding: 30px 28px 36px;
}
.card-body h3 { margin-bottom: 0.6rem; }
.card-body p { color: rgba(31,26,20,0.72); font-size: 0.96rem; margin-bottom: 1.2rem; }
.card-meta {
  display: flex;
  gap: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde-oliva);
  margin-bottom: 1rem;
}

/* --------- Quote / pull --------- */
.quote {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1.4;
  max-width: 820px;
  margin: 0 auto;
  color: var(--cacao);
}
.quote cite {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--verde-oliva);
  margin-top: 1.5rem;
}

/* --------- Lista valori / numeri --------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  text-align: center;
}
.value-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  color: var(--terracotta);
  display: block;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.value-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde-oliva);
}

/* --------- Galleria --------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid figure {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: zoom-in;
  transition: filter .3s ease;
}
.gallery-grid figure:hover { filter: brightness(1.08); }
.gallery-grid .tall { aspect-ratio: 3/4; grid-row: span 2; }
.gallery-grid .wide { aspect-ratio: 2/1; grid-column: span 2; }
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .tall, .gallery-grid .wide { grid-row: auto; grid-column: auto; aspect-ratio: 1; }
}

/* --------- Contatti --------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info p { margin-bottom: 0.4rem; }
.contact-info .label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--verde-oliva);
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}
form.contact-form { display: grid; gap: 18px; }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(59, 42, 29, 0.25);
  background: transparent;
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--inchiostro);
  outline: none;
  transition: border-color .2s ease;
}
form.contact-form input::placeholder,
form.contact-form textarea::placeholder {
  color: rgba(31,26,20,0.45);
}
form.contact-form input:focus,
form.contact-form textarea:focus { border-color: var(--terracotta); }
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button { justify-self: flex-start; margin-top: 10px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* --------- Footer --------- */
.site-footer {
  background: var(--cacao);
  color: var(--sabbia);
  padding: 80px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.site-footer h4 {
  color: var(--carta);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.site-footer a { color: var(--sabbia); }
.site-footer a:hover { color: var(--carta); }
.site-footer p, .site-footer li { font-size: 0.92rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --------- Animazioni reveal --------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --------- Bottone "torna su" --------- */
.to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--cacao);
  color: var(--carta);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .25s ease;
  z-index: 80;
  box-shadow: 0 12px 30px var(--ombra);
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--terracotta); }
.to-top svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
@media (max-width: 600px) {
  .to-top { width: 42px; height: 42px; bottom: 18px; right: 18px; }
}

/* --------- Affinamenti header --------- */
.site-header.solid.dark .nav-links a { color: var(--cacao); }
.site-header.solid .brand img { filter: none; }

/* --------- Barra prenotazione (premium, custom) --------- */
.booking-panel {
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, var(--carta) 0%, var(--crema) 100%);
  border: 1px solid rgba(217,200,158,0.55);
  border-radius: 4px;
  box-shadow: 0 28px 64px rgba(31,26,20,0.30);
  overflow: hidden;
  text-align: left;
  position: relative;
}
/* Riflesso superiore sottile per profondità materica */
.booking-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  pointer-events: none;
}
.bp-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 24px 26px;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  cursor: pointer;
  transition: background .25s ease;
}
.bp-cell:hover { background: rgba(107,127,78,0.06); }
.bp-cell + .bp-cell::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 1px;
  background: rgba(59,42,29,0.12);
}
.bp-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde-oliva);
  pointer-events: none;
}
/* Valori in serif: gerarchia editoriale, coerente col sito */
.bp-cell input,
.bp-cell select {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--inchiostro);
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.bp-cell input:focus,
.bp-cell select:focus { outline: none; }
.bp-cell input::-webkit-datetime-edit { color: var(--inchiostro); }
.bp-cell input[value=""]::-webkit-datetime-edit,
.bp-cell input:not([value])::-webkit-datetime-edit { color: rgba(31,26,20,0.4); }
/* Icona calendario custom sui campi data */
.bp-date {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b25a36' stroke-width='1.5'><rect x='3' y='4.5' width='18' height='17' rx='2'/><line x1='3' y1='9' x2='21' y2='9'/><line x1='8' y1='2.5' x2='8' y2='6'/><line x1='16' y1='2.5' x2='16' y2='6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 18px 18px;
  padding-right: 54px;
}
.bp-date input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0; top: 0;
  width: 100%; height: 100%;
  cursor: pointer;
}
.bp-date input[type="date"]::-webkit-inner-spin-button { display: none; }
/* Chevron custom sui select ospiti */
.bp-guests {
  flex: 0 0 auto;
  min-width: 112px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236b7f4e' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 11px 8px;
  padding-right: 46px;
}
/* CTA — stesso linguaggio di .btn-primary */
.bp-cta {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  padding: 14px;
}
.bp-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--cacao);
  border-radius: 3px;
  background: var(--cacao);
  color: var(--carta);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 38px;
  min-height: 62px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s ease, border-color .3s ease, box-shadow .25s ease;
}
.bp-cta button::after {
  content: "";
  width: 18px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'><path d='M0 6h21M16 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.6'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'><path d='M0 6h21M16 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.6'/></svg>") no-repeat center / contain;
  transition: transform .25s ease;
}
.bp-cta button:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  box-shadow: 0 12px 28px rgba(178,90,54,0.32);
}
.bp-cta button:hover::after { transform: translateX(4px); }
.bp-error {
  color: var(--sabbia);
  font-size: 0.9rem;
  text-align: center;
  margin: 1rem 0 0;
  min-height: 0;
}

@media (max-width: 880px) {
  .booking-panel {
    flex-wrap: wrap;
  }
  .bp-cell { flex: 1 1 50%; padding: 20px 22px; }
  .bp-cell + .bp-cell::before { display: none; }
  .bp-cell.bp-guests { flex: 1 1 50%; }
  .bp-date { background-position: right 20px center; }
  .bp-cta { flex: 1 1 100%; padding: 0; }
  .bp-cta button {
    width: 100%;
    border-radius: 0;
    border-width: 0;
    border-top: 1px solid rgba(217,200,158,0.3);
    min-height: 60px;
  }
}
@media (max-width: 520px) {
  .bp-cell, .bp-cell.bp-guests { flex: 1 1 100%; }
  .bp-cell + .bp-cell { border-top: 1px solid rgba(59,42,29,0.1); }
}

/* Foglia decorativa SVG ripetibile */
.leaf-bg {
  position: relative;
}
.leaf-bg::after {
  content: "";
  position: absolute;
  top: 30px; right: 30px;
  width: 80px; height: 80px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M32 4c14 8 18 22 12 36-4 10-14 18-24 20 2-12 6-22 14-30 8-8 6-18-2-26z' fill='%236b7f4e' opacity='0.18'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------------------------------------------------------
   Aggiunte Royaletiger (nov 2026): blog, articoli, breadcrumb,
   FAQ, 404, form, menu a 8 voci
--------------------------------------------------------- */

/* Menu: con la voce Blog servono spazi più stretti sotto i 1200px */
@media (max-width: 1200px) and (min-width: 881px) {
  .nav-links { gap: 20px; }
  .nav-links a { letter-spacing: 0.12em; font-size: 0.76rem; }
}

/* Breadcrumb nel banner */
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  opacity: 0.85;
}
.breadcrumb a { color: inherit; border-bottom: 1px solid rgba(247,241,225,0.4); }
.breadcrumb a:hover { border-bottom-color: currentColor; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* Card del blog */
.cards-blog .card-image { display: block; }
.cards-blog .card-meta { justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; }
.cards-blog h3 a { color: inherit; }
.cards-blog h3 a:hover { color: var(--terracotta); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2rem; }

/* Articolo */
.article { padding: 80px 0 40px; }
.article-meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--verde-oliva);
  margin-bottom: 2rem;
}
.article-summary {
  background: var(--crema);
  border-left: 3px solid var(--terracotta);
  padding: 28px 32px;
  margin-bottom: 3rem;
}
.article-summary h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.article-summary ul { padding-left: 1.1rem; }
.article-summary li { margin-bottom: 0.4rem; }
.article-body p.lead-article {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  line-height: 1.55;
  color: var(--cacao);
}
.article-body h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 2.8rem 0 1rem;
}
.article-body h3 { font-size: 1.4rem; margin: 2rem 0 0.6rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul { padding-left: 1.2rem; margin-bottom: 1.4rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body a, .article-sources a, .article-faq a {
  color: var(--terracotta);
  border-bottom: 1px solid rgba(178,90,54,0.35);
}
.article-body a:hover { border-bottom-color: var(--terracotta); }

.article-faq { margin-top: 3.5rem; }
.article-faq h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 1.2rem; }
.faq-item {
  border-top: 1px solid rgba(59,42,29,0.15);
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(59,42,29,0.15); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--cacao);
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: -2px;
  font-size: 1.4rem;
  color: var(--terracotta);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.8rem; }

.article-sources {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: rgba(31,26,20,0.75);
}
.article-sources h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.article-sources ul { padding-left: 1.1rem; margin-top: 0.8rem; }
.article-sources li { margin-bottom: 0.35rem; }

/* 404 */
.page-404 { padding: 200px 0 120px; }

/* Esito del form contatti */
.form-status { font-size: 0.9rem; color: var(--verde-oliva); min-height: 1.4em; margin: 0; }
.form-status.is-error { color: var(--terracotta); }

@media (max-width: 600px) {
  .article { padding: 56px 0 24px; }
  .article-summary { padding: 22px 20px; }
  .page-404 { padding: 150px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card, .faq-item summary::after { transition: none; }
}

/* Menu mobile: il pulsante resta visibile (e scuro) sopra il pannello aperto */
@media (max-width: 880px) {
  .menu-toggle { position: relative; z-index: 101; }
  .nav:has(.nav-links.open) .menu-toggle span { background: var(--cacao) !important; }
}
