@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/lora-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FDFBEF;
  --card: #FFFDF4;
  --band: #F2E9CC;
  --ink: #3E2F14;
  --ink-soft: #5C4820;
  --ink-muted: #6B5730;
  --ink-faint: #7A6335;
  --gold: #C98A2B;
  --gold-dark: #B7791F;
  --gold-deep: #8C5E1A;
  --gold-darker: #7A5115;
  --gold-btn: #9A651C;
  --star: #E0A93E;
  --line: #E8DCBB;
  --line-card: #EADFBE;
  --serif: 'Lora', Georgia, serif;
  --space-section: clamp(44px, 6vw, 68px);
  --space-head: clamp(24px, 3.5vw, 40px);
  --gutter: clamp(20px, 4vw, 24px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Karla', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

a { color: var(--gold-deep); }
a:hover { color: var(--gold-darker); }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 2px;
}

img { max-width: 100%; }

/* padding-inline, non la shorthand: altrimenti vince su section { padding-block } */
.wrap { max-width: 1100px; margin: 0 auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--card);
  padding: 10px 16px;
  border-radius: 8px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  padding-block: 14px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  color: var(--gold-dark);
}
.brand-tag {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.site-nav a:hover { color: var(--gold-deep); }

.lang-switch {
  display: flex;
  border: 1px solid #D8C58F;
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch a {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  text-decoration: none;
  color: var(--ink-faint);
}
.lang-switch a[aria-current='true'] {
  background: var(--gold-btn);
  color: #FFFDF4;
}

/* ---------- buttons ---------- */

.btn,
.btn-outline {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
}
.btn {
  background: var(--gold-btn);
  color: #FFFDF4;
  padding: 14px 28px;
}
.btn:hover { background: var(--gold-deep); color: #FFFDF4; }

.btn-outline {
  border: 2px solid var(--gold-dark);
  color: var(--gold-deep);
  padding: 12px 26px;
}
.btn-outline:hover { background: #F3E8C8; color: var(--gold-deep); }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-row.center { justify-content: center; }

/* ---------- typography blocks ---------- */

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 8px;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 36px auto 12px;
  max-width: 760px;
}
h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 18px;
}
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--gold-deep);
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

.prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.prose p:last-of-type { margin-bottom: 24px; }

.link-arrow {
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold-deep);
}

/* ---------- sections ---------- */

section { padding-block: var(--space-section); }
section[id] { scroll-margin-top: 76px; }

.hero {
  padding: clamp(24px, 3vw, 40px) var(--gutter) var(--space-section);
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.hero img {
  width: 100%;
  max-width: 1020px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-head);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line-card);
  border-radius: 16px;
  padding: 28px;
}
.card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.card-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
}
.split-media {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.band {
  background: var(--band);
}

/* ---------- reviews ---------- */

.reviews { text-align: center; }
.rating {
  background: var(--card);
  border: 1px solid var(--line-card);
  border-radius: 18px;
  padding: 32px 56px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.stars {
  color: var(--star);
  font-size: 34px;
  letter-spacing: 6px;
  line-height: 1;
}
.rating p {
  font-size: 17px;
  color: var(--ink-soft);
}
.rating .rating-note {
  font-size: 13px;
  color: var(--ink-faint);
}
.reviews .btn-row {
  justify-content: center;
  align-items: center;
}
.reviews .btn-outline {
  font-size: 15px;
  padding: 11px 24px;
}

/* ---------- contact ---------- */

.contact .split { align-items: stretch; }
.contact address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.contact .note {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.map {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-card);
  background: var(--card);
}
.map a { display: block; flex: 1; }
.map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.map figcaption {
  font-size: 13px;
  color: var(--ink-faint);
  padding: 10px 14px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--band);
}
.site-footer .wrap {
  padding-block: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p {
  font-size: 14px;
  color: var(--ink-faint);
}
.site-footer .brand-name { font-size: 19px; }
.site-footer .brand-tag { font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
