/* ==========================================================================
   Sin Tierra Viaggi — foglio di stile
   ========================================================================== */

@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: "DM Sans";
  src: url("../assets/fonts/dmsans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #fbf6ee;
  --sand-2: #f4eadb;
  --paper: #ffffff;
  --ink: #2b201c;
  --ink-soft: #5d4d46;
  --muted: #8a7a72;
  --terracotta: #b6715f;
  --terracotta-dark: #94513f;
  --sun: #f8e092;
  --gold: #e6a93a;
  --sea: #0f7c8a;
  --sea-dark: #0b4650;
  --line: #e6d9c7;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(43, 32, 28, .06), 0 12px 32px -12px rgba(43, 32, 28, .22);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--terracotta-dark); text-underline-offset: 3px; }
a:hover { color: var(--sea); }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(64px, 10vw, 120px); }
.section--alt { background: var(--sand-2); }
.section--flush-top { padding-top: 0; }
.img-focus-top { object-position: center 35%; }
.section--dark { background: var(--sea-dark); color: #eaf4f5; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .9rem;
}
.section--dark .eyebrow { color: var(--sun); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.section--dark .section-head p { color: #c8dfe2; }
.section-head--center { margin-inline: auto; text-align: center; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sun); color: var(--ink); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: inherit; }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 238, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(43, 32, 28, .5); }

.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 128px; height: auto; }
.brand-tagline {
  font-family: var(--font-display); font-style: italic; font-size: .95rem; color: var(--muted);
  padding-left: 12px; border-left: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block; padding: .55em 1em; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: var(--sand-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--terracotta-dark); background: var(--sand-2); }
.main-nav .nav-cta a { background: var(--terracotta); color: #fff; margin-left: 6px; }
.main-nav .nav-cta a:hover { background: var(--terracotta-dark); color: #fff; }

@media (max-width: 860px) {
  .brand-tagline { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(43, 32, 28, .35);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: .9em 1em; border-radius: var(--radius-sm); font-size: 1.1rem; }
  .main-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid; align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 70%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(43, 32, 28, .55) 0%, rgba(43, 32, 28, .25) 50%, rgba(43, 32, 28, 0) 75%),
    linear-gradient(180deg, rgba(43, 32, 28, 0) 30%, rgba(43, 32, 28, .7) 100%);
}
.hero .eyebrow { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.hero p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero .container { padding-block: clamp(48px, 9vw, 110px); }
.hero__content { max-width: 760px; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero h1 em { font-style: italic; color: var(--sun); font-weight: 500; }
.hero p { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 560px; color: rgba(255, 255, 255, .92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .eyebrow { color: var(--sun); }

/* ---------- Page hero (pagine interne) ---------- */
.page-hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  min-height: clamp(340px, 52vh, 520px);
  display: grid; align-items: end;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(43, 32, 28, .1) 0%, rgba(43, 32, 28, .75) 100%);
}
.page-hero .container { padding-block: clamp(36px, 6vw, 72px); }
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero p { font-size: 1.2rem; max-width: 620px; color: rgba(255, 255, 255, .92); margin: 0; }
.page-hero .eyebrow { color: var(--sun); }

.page-hero--plain {
  min-height: 0; color: var(--ink);
  background: var(--sand-2);
}
.page-hero--plain::after { display: none; }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain p { color: var(--ink-soft); }
.page-hero--plain .eyebrow { color: var(--terracotta); }

.breadcrumb { font-size: .9rem; margin-bottom: 14px; }
.breadcrumb a { color: inherit; opacity: .85; }
.breadcrumb a:hover { opacity: 1; color: inherit; }

/* ---------- Intro / motto ---------- */
.motto {
  display: grid; gap: clamp(32px, 6vw, 80px);
  grid-template-columns: 1.1fr 1fr; align-items: center;
}
.motto blockquote {
  margin: 0;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.2;
  color: var(--ink);
}
.motto blockquote strong { font-weight: 600; color: var(--terracotta-dark); }
.motto cite { display: block; margin-top: 18px; font: 600 .95rem var(--font-body); color: var(--muted); font-style: normal; }
@media (max-width: 860px) { .motto { grid-template-columns: 1fr; } }

/* ---------- Servizi ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--paper); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow);
}
.service__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--sand-2); color: var(--terracotta-dark); margin-bottom: 20px;
}
.service__icon svg { width: 26px; height: 26px; }
.service p { color: var(--ink-soft); margin: 0; }
.service a { font-weight: 600; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* ---------- Destinazioni (lista) ---------- */
.destinations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.destination {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .16);
}
.destination__num {
  font-family: var(--font-display); font-style: italic; font-size: 1.1rem;
  color: var(--sun); min-width: 2ch; line-height: 1.6;
}
.destination h3 { margin-bottom: .3em; }
.destination p { margin: 0; color: #c8dfe2; }
.destination a { display: inline-block; margin-top: 10px; color: var(--sun); font-weight: 600; font-size: .95rem; }
.destination a:hover { color: #fff; }
@media (max-width: 860px) { .destinations { grid-template-columns: 1fr; } }

/* ---------- Offerte (card) ---------- */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.offer-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .3s, box-shadow .3s;
}
.offer-card:hover { transform: translateY(-4px); color: var(--ink); box-shadow: 0 2px 4px rgba(43, 32, 28, .06), 0 24px 48px -16px rgba(43, 32, 28, .3); }
.offer-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.offer-card:hover .offer-card__media img { transform: scale(1.05); }
.offer-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: .8rem; font-weight: 600; padding: .4em .9em; border-radius: 999px;
}
.offer-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.offer-card__body p { color: var(--ink-soft); flex: 1; }
.offer-card__more { font-weight: 600; color: var(--terracotta-dark); display: inline-flex; align-items: center; gap: .4em; }
.offer-card__more svg { width: 1em; height: 1em; transition: transform .25s; }
.offer-card:hover .offer-card__more svg { transform: translateX(4px); }
.offer-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

/* ---------- Chi siamo / team ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.team { display: grid; gap: 20px; }
.member {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.member img { width: 120px; height: 140px; object-fit: cover; border-radius: 12px; }
.member h3 { margin-bottom: .15em; }
.member__role { font-family: var(--font-display); font-style: italic; color: var(--terracotta-dark); margin-bottom: .5em; }
.member p:not(.member__role) { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.member__contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.member__contacts a {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere;
}
.member__contacts a:hover { color: var(--terracotta-dark); }
.member__contacts svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--terracotta); }
.team--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .about, .team--2 { grid-template-columns: 1fr; } }

/* Icone social / contatto */
.icon-links { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.icon-link {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand-2); color: var(--terracotta-dark);
  transition: background-color .2s, color .2s, transform .2s;
}
.icon-link:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }
.icon-link svg { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .member { grid-template-columns: 1fr; }
  .member img { width: 100%; height: 260px; object-position: center 25%; }
}

/* ---------- Testimonianze ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  margin: 0; background: var(--paper); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.testimonial::before {
  content: "“"; font-family: var(--font-display); font-size: 4rem; line-height: .6;
  color: var(--gold); margin-bottom: 14px;
}
.testimonial blockquote { margin: 0 0 20px; flex: 1; font-size: 1.05rem; }
.testimonial--spaced { margin-top: 32px; }
.testimonial figcaption { font-weight: 600; }
.testimonial figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--terracotta); color: #fff; border-radius: calc(var(--radius) + 6px);
  padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(248, 224, 146, .45), rgba(248, 224, 146, 0) 70%);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Dettaglio offerta ---------- */
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .offer-layout { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--terracotta); }

.facts {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.facts h2 { font-size: 1.4rem; }
.facts dl { margin: 0 0 24px; display: grid; gap: 14px; }
.facts dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }
.facts .price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--terracotta-dark); line-height: 1.1; }
.facts .price small { font: 400 .9rem var(--font-body); color: var(--muted); display: block; }
.facts .btn { width: 100%; justify-content: center; }
.facts .btn + .btn { margin-top: 10px; }
.facts .btn--ghost:hover { background: var(--sand-2); }
.facts__note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 960px) { .facts { position: static; } }

.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 28px 0 8px; }
.highlight {
  background: var(--sand-2); border-radius: var(--radius-sm); padding: 18px 20px;
}
.highlight strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 2px; }
.highlight span { color: var(--ink-soft); font-size: .95rem; }

.included { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.included > div { background: var(--paper); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.included h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.included ul { list-style: none; padding: 0; margin: 0; }
.included li { position: relative; padding-left: 28px; margin-bottom: .6em; }
.included li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.included .not li::before {
  background: var(--muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 5.5l5 5M10.5 5.5l-5 5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
@media (max-width: 640px) { .included { grid-template-columns: 1fr; } }

/* Timeline itinerario */
.timeline { list-style: none; margin: 24px 0 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--terracotta), var(--sea));
  opacity: .35;
}
.timeline > li { position: relative; padding: 0 0 32px 64px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline__day {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--terracotta);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--terracotta-dark);
}
.timeline h3 { font-size: 1.25rem; margin-bottom: .2em; padding-top: 6px; }
.timeline__meta { font-size: .9rem; color: var(--muted); margin-bottom: .6em; }
.timeline p { color: var(--ink-soft); }
.timeline p:last-child { margin-bottom: 0; }

.callout {
  border-left: 4px solid var(--gold); background: #fff8e6; padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0; color: var(--ink);
}

.figure-wide { margin: 32px 0; border-radius: var(--radius); overflow: hidden; }
.figure-wide img { width: 100%; max-height: 480px; object-fit: cover; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
}
.contact-item__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand-2); color: var(--terracotta-dark);
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact-item a { font-weight: 600; font-size: 1.08rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--terracotta-dark); }
.contact-item .contact-item__line { display: block; font-weight: 400; color: var(--ink-soft); }

.contact-note { margin-top: 24px; color: var(--ink-soft); }

.form { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--sand); padding: .75em .9em; width: 100%;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); background: #fff; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.field--check input { width: auto; margin-top: .3em; accent-color: var(--terracotta); }
.form__note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form__status { margin-top: 14px; font-weight: 600; color: var(--sea); min-height: 1.5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9cdc5; padding: 64px 0 28px; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.site-footer .icon-link { background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer .icon-link:hover { background: var(--sun); color: var(--ink); }
.site-footer .footer-social {
  display: flex; justify-content: center; gap: 12px;
  margin: 0 0 40px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; color: #a8988f;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Animazioni di comparsa ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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