:root {
  --ink: #1d2a24;
  --muted: #5e6a64;
  --paper: #fffdf8;
  --soft: #f2f5ec;
  --line: #dce4d7;
  --green: #315c47;
  --green-dark: #244535;
  --lime: #dce78a;
  --sun: #f4c65c;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(38, 62, 50, .10);
  --radius: 22px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 820px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  z-index: 100;
  border-radius: 10px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(49, 92, 71, .10);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo { width: 68px; height: 68px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.1; gap: 5px; }
.brand-copy strong { font-size: 1.25rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); }
.nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
  color: #35473d;
}
.nav a:hover, .nav a:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 91% 12%, rgba(244, 198, 92, .42) 0 9%, transparent 9.3%),
    radial-gradient(circle at 82% 50%, rgba(220, 231, 138, .52) 0 18%, transparent 18.4%),
    linear-gradient(135deg, #f8fbf2 0%, #fffdf8 60%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  min-height: 610px;
  padding-block: 86px;
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 80px;
  align-items: center;
}
.eyebrow, .section-label, .shop-city, .hero-card-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-size: .75rem;
  color: var(--green);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 500;
}
.hero-text {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: #45564d;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: var(--green-dark); }
.button-ghost { border-color: #abc1b4; color: var(--green-dark); background: rgba(255,255,255,.55); }
.button-ghost:hover { background: var(--white); }

.hero-card {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 32px;
  border: 1px solid rgba(49, 92, 71, .16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 8px;
  top: 0;
  left: 32px;
  background: var(--sun);
  border-radius: 0 0 8px 8px;
}
.hero-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; }
.hero-card a { color: var(--green-dark); font-weight: 750; text-underline-offset: 3px; }

.section { padding-block: 92px; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-label { margin-bottom: 10px; }
.section-label.light { color: #e2edc3; }
h2 {
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.story-copy { font-size: 1.09rem; color: #36473e; }
.story-copy p { margin-bottom: 1.15em; }
.story-copy p:first-child::first-letter {
  float: left;
  padding-right: 7px;
  padding-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: .72;
  color: var(--green);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.shop-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(38, 62, 50, .05);
}
.shop-card-featured { border-top: 5px solid var(--green); padding-top: 24px; }
.shop-title-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.shop-city { margin-bottom: 5px; }
.shop-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.1;
}
.badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf2c7;
  color: #43542d;
  font-weight: 800;
  font-size: .7rem;
}
.address { margin: 9px 0 22px; color: var(--muted); }
.hours { margin-bottom: 24px; border-top: 1px solid var(--line); }
.hours-row {
  display: grid;
  grid-template-columns: .9fr 1fr 1fr;
  gap: 8px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.hours-row span:first-child { font-weight: 800; }
.hours-row span:nth-child(n+2) { text-align: right; color: #4e5f56; }
.shop-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.shop-links a { font-weight: 750; color: var(--green-dark); text-underline-offset: 3px; }

.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-intro { max-width: 480px; color: var(--muted); font-size: 1.08rem; }
.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-card dl { margin: 0; }
.contact-card dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card dl > div:last-child { border-bottom: 0; }
.contact-card dt { color: var(--muted); font-weight: 750; }
.contact-card dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.contact-card a { color: var(--green-dark); text-underline-offset: 3px; }

.social-band { padding-block: 58px; background: var(--green-dark); color: var(--white); }
.social-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.social-band h2 { max-width: 650px; margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.social-links a:hover { background: rgba(255,255,255,.10); }

.site-footer { padding-block: 28px; background: #18261f; color: #cfd8d2; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; font-size: .9rem; }
.footer-inner p { margin: 0; }
.footer-details { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.footer-details a { color: inherit; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

@media (max-width: 900px) {
  .header-inner { min-height: 80px; }
  .brand-copy small { display: none; }
  .nav { gap: 15px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 35px; padding-block: 70px; }
  .hero-card { max-width: 520px; }
  .section-heading, .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  .shop-grid { grid-template-columns: 1fr; }
  .social-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: static; }
  .header-inner { padding-block: 14px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .brand-logo { width: 58px; height: 58px; }
  .nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .hero-grid { padding-block: 54px; }
  .section { padding-block: 66px; }
  .shop-card, .contact-card, .hero-card { padding: 22px; }
  .contact-card dl > div { grid-template-columns: 1fr; gap: 3px; }
  .hours-row { grid-template-columns: .8fr 1fr 1fr; font-size: .82rem; }
  .footer-inner { flex-direction: column; gap: 4px; }
  .footer-details { justify-content: flex-start; }
}

/* V3: fotografia in apertura e loghi nelle schede Botteghe e orari */
.hero-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(49, 92, 71, .16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.shop-logo-wrap {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.shop-logo {
  max-width: 150px;
  max-height: 105px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.shop-logo-wide {
  max-width: 100%;
  width: min(100%, 230px);
  max-height: 78px;
}
