/* =====================================================================
   CHIARELLI HOUSE — stylesheet
   Design: editorial calmo · palette calda · tipografia curata
   ===================================================================== */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
  /* palette — dark brown theme */
  --paper:  #1a0f08;   /* marrone scuro di fondo */
  --cream:  #241508;   /* marrone leggermente più chiaro per card */
  --ink:    #e8d8b8;   /* testo primario crema caldo */
  --ink-2:  #b89878;   /* testo secondario ocra */
  --terra:  #d4825a;   /* terracotta — più luminoso su scuro */
  --terra-dark: #c06840;
  --sage:   #8a9878;   /* verde salvia secondario */
  --gold:   #c8a050;   /* oro tenue dettagli — più brillante su scuro */
  --line:   rgba(232, 216, 184, 0.10);
  --line-strong: rgba(232, 216, 184, 0.22);

  /* tipografia */
  --ff-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Work Sans', system-ui, -apple-system, sans-serif;

  /* spacing scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4.5rem;
  --s-7: 6.5rem;

  /* widths */
  --w-narrow: 720px;
  --w-base:   1100px;
  --w-wide:   1400px;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.5vw + 1rem, 4.8rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 3.2vw + 0.8rem, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 1.6vw + 0.8rem, 1.9rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--ff-body); letter-spacing: 0.02em; }

.display-italic { font-style: italic; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: var(--s-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.8em;
  opacity: 0.7;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 42rem;
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.roman {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.85;
}

/* ---------- 4. LAYOUT UTILITIES ---------- */
.container { width: 100%; max-width: var(--w-base); margin: 0 auto; padding: 0 var(--s-3); }
.container-narrow { max-width: var(--w-narrow); margin: 0 auto; padding: 0 var(--s-3); }
.container-wide  { max-width: var(--w-wide); margin: 0 auto; padding: 0 var(--s-3); }

.section { padding: var(--s-7) 0; }
.section-sm { padding: var(--s-5) 0; }
@media (max-width: 720px) {
  .section { padding: var(--s-6) 0; }
}

.section-title-wrap {
  margin-bottom: var(--s-5);
  max-width: 40rem;
}

/* background alternato */
.bg-cream { background: var(--cream); }
.bg-dark {
  background: #0f0804;
  color: #E8D8B8;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #F7EED8; }
.bg-dark a { color: #d4825a; }
.bg-dark a:hover { color: #F7EED8; }

/* Sezione Al Rugantino — forza testo leggibile su qualsiasi sfondo */
.section[style*="gradient"] h2,
.section[style*="gradient"] p,
.section[style*="gradient"] em,
.section[style*="gradient"] span,
.section[style*="gradient"] {
  color: #2a1408 !important;
  text-shadow: none !important;
}
.section[style*="gradient"] .eyebrow {
  color: #8E3E2C !important;
}
.section[style*="gradient"] .roman {
  color: #8E3E2C !important;
}

/* ---------- 5. NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 15, 8, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(42, 36, 32, 0.06); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-3);
  max-width: var(--w-wide);
  margin: 0 auto;
}
.nav-logo { display: block; max-width: 220px; color: var(--ink); }
.nav-logo svg { width: 100%; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a:hover { color: var(--terra); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--terra);
}

.lang-switch {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.lang-switch a { color: var(--ink-2); text-decoration: none; padding: 0.2em 0.4em; }
.lang-switch a.current { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--terra); }
.lang-switch span { color: var(--line-strong); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-3) var(--s-4);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-2);
    transform: translateY(-120%);
    transition: transform .35s ease;
    box-shadow: 0 8px 24px rgba(42, 36, 32, 0.06);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links .lang-switch { margin-top: var(--s-2); }
}

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--terra);
  background: var(--terra);
  color: var(--cream);
  border-radius: 2px;
  transition: all .25s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #0F2D18;
}
.btn-whatsapp:hover { background: #1FB956; border-color: #1FB956; color: #0F2D18; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1F1A16;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.72) contrast(1.02);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,26,22,0.25) 0%, rgba(31,26,22,0.05) 45%, rgba(31,26,22,0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--s-7) var(--s-3) var(--s-6);
  color: #F7F2E8;
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
}
.hero h1 {
  color: #F7F2E8;
  font-weight: 300;
  max-width: 14em;
  margin-bottom: var(--s-3);
}
.hero h1 em { color: #E8B9A6; font-style: italic; font-weight: 300; }
.hero-sub {
  font-size: 1.1rem;
  max-width: 34rem;
  opacity: 0.92;
  line-height: 1.55;
  margin-bottom: var(--s-4);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: var(--s-4);
}
.hero-meta span:not(:last-child)::after {
  content: "·";
  margin-left: var(--s-3);
  opacity: 0.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ---------- 8. GRID CARDS / CAMERE ---------- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
}
.room-card {
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.room-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(42, 36, 32, 0.08); }

.room-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}
.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.room-card:hover .room-card-img img { transform: scale(1.04); }

.room-card-body {
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.room-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  color: var(--ink-2);
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
}
.room-card-meta span { display: inline-flex; align-items: center; gap: 0.4em; }

/* ---------- 9. FEATURES / SERVIZI ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4) var(--s-5);
}
.feature {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
}
.feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
}
.feature-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.feature-body h4 { margin-bottom: 0.15em; font-size: 1rem; }
.feature-body p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }

/* ---------- 10. GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 6px;
}
.gallery a {
  display: block;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
}
.gallery a:hover img { transform: scale(1.05); filter: brightness(1.05); }

.gallery .g-1 { grid-column: span 6; grid-row: span 2; }
.gallery .g-2 { grid-column: span 3; grid-row: span 1; }
.gallery .g-3 { grid-column: span 3; grid-row: span 1; }
.gallery .g-4 { grid-column: span 3; grid-row: span 2; }
.gallery .g-5 { grid-column: span 3; grid-row: span 2; }
.gallery .g-6 { grid-column: span 4; grid-row: span 1; }
.gallery .g-7 { grid-column: span 4; grid-row: span 1; }
.gallery .g-8 { grid-column: span 4; grid-row: span 1; }

@media (max-width: 820px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 100px; }
  .gallery .g-1 { grid-column: span 6; grid-row: span 2; }
  .gallery .g-2, .gallery .g-3 { grid-column: span 3; grid-row: span 1; }
  .gallery .g-4, .gallery .g-5 { grid-column: span 3; grid-row: span 2; }
  .gallery .g-6, .gallery .g-7, .gallery .g-8 { grid-column: span 2; grid-row: span 1; }
}

/* ---------- 11. LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--s-3);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  color: #F7F2E8;
  background: rgba(255, 255, 255, 0.1);
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- 12. QUOTE / PULL ---------- */
.pull-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2vw + 0.8rem, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 2rem;
}
.pull-quote::before,
.pull-quote::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: var(--s-2) auto;
  opacity: 0.7;
}
.pull-quote cite {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: var(--s-2);
}

/* ---------- 13. LOCATION / MAP ---------- */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: center;
}
@media (max-width: 820px) {
  .location-wrap { grid-template-columns: 1fr; gap: var(--s-4); }
}
.location-map {
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.location-map iframe { width: 100%; height: 100%; border: 0; }

.directions-list li {
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: var(--s-2);
}
.directions-list li:last-child { border-bottom: 0; }
.directions-list .roman-num {
  flex-shrink: 0;
  width: 2.8rem;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  font-size: 1.2rem;
}

/* ---------- 14. FORM ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 820px) {
  .form-wrap { grid-template-columns: 1fr; }
}
.form-intro h2 { margin-bottom: var(--s-2); }
.form-intro p { color: var(--ink-2); margin-bottom: var(--s-2); }

.contact-channels {
  margin-top: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.contact-channels a {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2);
  border: 1px solid var(--line);
  background: var(--cream);
  text-decoration: none;
  color: var(--ink);
  transition: background .2s, border-color .2s;
}
.contact-channels a:hover { border-color: var(--terra); background: var(--paper); }
.contact-channels svg { width: 22px; height: 22px; stroke: var(--terra); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.contact-channels strong { font-family: var(--ff-body); font-weight: 600; font-size: 0.92rem; }
.contact-channels span { font-size: 0.85rem; color: var(--ink-2); display: block; }

form { display: flex; flex-direction: column; gap: var(--s-3); }
.field { display: flex; flex-direction: column; gap: 0.4em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

label {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
input, textarea, select {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.8em 1em;
  border-radius: 2px;
  transition: border-color .2s, background .2s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--terra);
  background: #2e1a08;
}
textarea { min-height: 140px; resize: vertical; }

.field-check { flex-direction: row; align-items: flex-start; gap: 0.6em; }
.field-check input[type="checkbox"] { width: auto; margin-top: 0.35em; accent-color: var(--terra); }
.field-check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.85rem; line-height: 1.5; }
.field-check a { color: var(--terra); }

.form-status {
  padding: var(--s-2);
  border-left: 3px solid var(--terra);
  background: var(--cream);
  font-size: 0.9rem;
  display: none;
}
.form-status.success { border-color: var(--sage); display: block; }
.form-status.error { border-color: #B03838; display: block; }

/* ---------- 15. FOOTER ---------- */
.site-footer {
  background: #0f0804;
  color: #b89878;
  padding: var(--s-6) 0 var(--s-4);
  font-size: 0.92rem;
}
.site-footer a { color: #d4825a; text-decoration: none; }
.site-footer a:hover { color: #e8d8b8; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}
.footer-brand .nav-logo { color: #e8d8b8; max-width: 260px; margin-bottom: var(--s-2); }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; color: #b89878; max-width: 22rem; }

.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4825a;
  margin-bottom: var(--s-2);
}
.footer-col ul li { padding: 0.35em 0; }
.footer-col address { font-style: normal; line-height: 1.7; }

.footer-legal {
  padding-top: var(--s-3);
  border-top: 1px solid rgba(184, 152, 120, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2);
  font-size: 0.78rem;
  color: #6a5040;
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- 16. UTILITY ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }

/* ---------- 17. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- 18. PRINT ---------- */
@media print {
  .site-header, .site-footer, .hero-actions, .lightbox { display: none; }
  body { background: white; color: black; font-size: 11pt; }
  .hero { min-height: auto; }
  .hero-bg { display: none; }
  .hero-inner { color: black; padding: 1rem; }
  h1,h2,h3,h4,p { color: black !important; }
}

/* ---------- 19. MOBILE RESPONSIVE FIXES ---------- */
@media (max-width: 680px) {

  /* Griglie a 2 colonne → 1 colonna */
  .grid-2col {
    display: block !important;
  }
  .grid-2col > * {
    width: 100% !important;
    margin-bottom: var(--s-4);
  }
  .grid-2col > *:last-child { margin-bottom: 0; }

  /* Sezione Rugantino — bordo laterale diventa bordo superiore */
  .grid-2col div[style*="border-left"] {
    border-left: none !important;
    border-top: 3px solid var(--gold);
    padding-left: 0 !important;
    padding-top: var(--s-3);
  }

  /* Hero */
  .hero { min-height: 70vh; }
  .hero-inner { padding: var(--s-5) var(--s-2) var(--s-4); }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-sub { font-size: 0.98rem; }

  /* Hero buttons — incolonnati, full width */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA finale — bottoni incolonnati */
  .flex-cta {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .flex-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Padding generale ridotto */
  .section { padding: var(--s-5) 0; }
  .container { padding: 0 var(--s-2); }

  /* Footer legal — non si taglia */
  .footer-legal {
    flex-direction: column;
    gap: var(--s-2);
  }
  .footer-legal > div {
    word-break: break-word;
    font-size: 0.72rem;
    line-height: 1.7;
  }
}
