/* ============================================================
   Farmacia del Pinocchio - Ancona | style.css
   Warm italian apothecary: walnut wood + ochre + sage
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --wood-900: #2a1a10;
  --wood-700: #4d2e1c;
  --wood-500: #7a4a2f;
  --wood-300: #b58863;
  --wood-100: #e8d6bf;
  --wood-50:  #f6ecdc;

  --ocra-700: #a8671a;
  --ocra-500: #d48a2a;
  --ocra-300: #e5b670;
  --ocra-100: #f6e2bd;

  --leaf-700: #4a6b3d;
  --leaf-500: #6e9354;
  --leaf-300: #a6c187;
  --leaf-100: #dde8cc;

  --ink-900: #1f140c;
  --ink-700: #3e2e21;
  --ink-500: #6a5444;
  --ink-400: #8d7a69;
  --ink-300: #b9a995;

  --paper: #fbf4e6;
  --parchment: #f7ecd4;
  --cream: #fdf8ee;
  --white: #ffffff;

  --radius-lg: 14px;
  --radius: 8px;
  --radius-sm: 4px;

  --shadow-sm: 0 2px 8px rgba(42, 26, 16, 0.07);
  --shadow-md: 0 12px 28px rgba(42, 26, 16, 0.12);
  --shadow-lg: 0 24px 50px rgba(42, 26, 16, 0.18);
  --shadow-xl: 0 36px 72px rgba(42, 26, 16, 0.22);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 96px;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--ink-700);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Spectral', 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--wood-900);
  font-weight: 600;
  letter-spacing: -0.005em;
}

p { margin: 0; }

a {
  color: var(--wood-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--ocra-700); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--wood-900);
  color: var(--wood-100);
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--ocra-700);
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wood-100);
}

.topbar-item svg {
  width: 13px;
  height: 13px;
  color: var(--ocra-300);
}

.topbar-item strong {
  color: var(--ocra-300);
  font-weight: 600;
  font-family: 'Spectral', serif;
  font-size: 0.92rem;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(251, 244, 230, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--wood-100);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
  height: 80px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--wood-900);
  flex-shrink: 0;
}

.logo-crest {
  width: 52px;
  height: 52px;
  background: var(--wood-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocra-300);
  position: relative;
  box-shadow: 0 6px 14px rgba(42, 26, 16, 0.32);
}

.logo-crest::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ocra-500);
}

.logo-crest svg { width: 26px; height: 26px; }

.logo-text {
  font-family: 'Spectral', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--wood-900);
  line-height: 1;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ocra-700);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== NAV ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.main-nav a:hover {
  color: var(--ocra-700);
  background: var(--wood-50);
}

.main-nav a.nav-cta {
  background: var(--ocra-500);
  color: var(--wood-900);
  padding: 11px 22px;
  border-radius: var(--radius);
  margin-left: 10px;
  box-shadow: 0 6px 14px rgba(212, 138, 42, 0.30);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.main-nav a.nav-cta svg { width: 15px; height: 15px; }

.main-nav a.nav-cta:hover {
  background: var(--ocra-700);
  color: var(--cream);
  transform: translateY(-1px);
}

/* ===== BURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--wood-100);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  transition: all var(--transition);
}

.burger:hover { background: var(--wood-50); border-color: var(--ocra-300); }

.burger span {
  width: 100%;
  height: 2px;
  background: var(--wood-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.01em;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--ocra-500);
  color: var(--wood-900);
  box-shadow: 0 8px 20px rgba(212, 138, 42, 0.32);
}

.btn-primary:hover {
  color: var(--cream);
  background: var(--ocra-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212, 138, 42, 0.40);
}

.btn-dark {
  background: var(--wood-900);
  color: var(--ocra-300);
}

.btn-dark:hover {
  background: var(--wood-700);
  color: var(--ocra-300);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--wood-900);
  border: 2px solid var(--wood-300);
}

.btn-outline:hover {
  background: var(--wood-50);
  border-color: var(--ocra-500);
  color: var(--wood-900);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 104px;
  background: var(--paper);
  background-image:
    radial-gradient(800px 460px at 90% 10%, rgba(212, 138, 42, 0.14), transparent 60%),
    radial-gradient(600px 420px at 5% 95%, rgba(74, 107, 61, 0.08), transparent 65%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><circle cx='30' cy='30' r='1' fill='%23b58863' opacity='0.18'/></svg>");
  background-size: 30px 30px;
  opacity: 0.6;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--wood-100);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wood-700);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ocra-500);
}

.hero h1 {
  font-family: 'Spectral', serif;
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 22px;
  color: var(--wood-900);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: italic;
  color: var(--ocra-700);
  font-weight: 500;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-500);
  margin-bottom: 32px;
  line-height: 1.75;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--wood-100);
  max-width: 520px;
}

.hero-trust-item {
  text-align: left;
}

.hero-trust-item .num {
  font-family: 'Spectral', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--wood-900);
  display: block;
  line-height: 1;
}

.hero-trust-item .lbl {
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-top: 6px;
  display: block;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 300px 300px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--wood-100);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-frame {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--ocra-500);
  border-radius: 300px 300px var(--radius) var(--radius);
  z-index: -1;
}

.hero-plaque {
  position: absolute;
  top: 34px;
  left: -40px;
  background: var(--wood-900);
  color: var(--ocra-300);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 1px solid var(--ocra-500);
}

.hero-plaque .small {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wood-300);
  margin-bottom: 4px;
}

.hero-plaque .big {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ocra-300);
}

.hero-stamp {
  position: absolute;
  bottom: 44px;
  right: -28px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--ocra-500);
  color: var(--wood-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: rotate(-6deg);
  z-index: 3;
  padding: 8px;
  border: 2px solid var(--wood-900);
}

.hero-stamp .n {
  font-family: 'Spectral', serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stamp .l {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.2;
}

/* ===== SERVICES STRIP ===== */
.strip {
  background: var(--wood-900);
  color: var(--wood-100);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ocra-700), var(--ocra-500), var(--ocra-700));
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.strip-item:last-child { border-right: none; }

.strip-icon {
  width: 46px;
  height: 46px;
  background: rgba(212, 138, 42, 0.16);
  border: 1px solid var(--ocra-700);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocra-300);
  flex-shrink: 0;
}

.strip-icon svg { width: 22px; height: 22px; }

.strip-item strong {
  display: block;
  font-family: 'Spectral', serif;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 4px;
  font-weight: 600;
}

.strip-item span {
  font-size: 0.84rem;
  color: var(--wood-300);
  line-height: 1.5;
}

/* ===== SECTIONS ===== */
.section {
  padding: 104px 0;
  position: relative;
}

.section.section-alt { background: var(--parchment); }
.section.section-cream { background: var(--cream); }

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ocra-700);
  margin-bottom: 18px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ocra-500);
}

.section-head h2 {
  font-family: 'Spectral', serif;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin-bottom: 14px;
  color: var(--wood-900);
  font-weight: 600;
}

.section-head h2 em { font-style: italic; color: var(--ocra-700); font-weight: 500; }

.section-head p {
  color: var(--ink-500);
  font-size: 1.04rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== REPARTI (services) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--wood-100);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ocra-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--ocra-300);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wood-50);
  color: var(--wood-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--wood-100);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--ocra-500);
  color: var(--wood-900);
  border-color: var(--ocra-700);
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-family: 'Spectral', serif;
  font-size: 1.35rem;
  color: var(--wood-900);
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  color: var(--ink-500);
  font-size: 0.94rem;
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocra-700);
  background: var(--ocra-100);
  padding: 5px 12px;
  border-radius: 100px;
  margin-top: 18px;
}

/* ===== STORIA (about) ===== */
.story-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--wood-100);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-decor-frame {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 130px;
  height: 130px;
  border: 2px solid var(--ocra-500);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.story-badge-year {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--wood-900);
  color: var(--ocra-300);
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--ocra-500);
}

.story-badge-year .num {
  font-family: 'Spectral', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  color: var(--ocra-300);
}

.story-badge-year .lbl {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood-300);
  margin-top: 6px;
  display: block;
}

.story-text h2 {
  font-family: 'Spectral', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 22px;
  font-weight: 600;
}

.story-text h2 em { font-style: italic; color: var(--ocra-700); font-weight: 500; }

.story-text p {
  color: var(--ink-500);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.story-text p strong { color: var(--wood-900); font-weight: 700; }

.story-highlights {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.story-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--ink-700);
  line-height: 1.6;
}

.story-highlights li svg {
  width: 22px;
  height: 22px;
  color: var(--leaf-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.story-highlights li strong { color: var(--wood-900); font-weight: 700; }

/* ===== ORARI / SEDE ===== */
.sede-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.sede-card {
  background: var(--cream);
  border: 1px solid var(--wood-100);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}

.sede-card h3 {
  font-family: 'Spectral', serif;
  font-size: 1.5rem;
  color: var(--wood-900);
  margin-bottom: 6px;
  font-weight: 600;
}

.sede-card .sede-sub {
  color: var(--ink-500);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.hours-table {
  list-style: none;
}

.hours-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--wood-100);
  font-size: 0.96rem;
}

.hours-table li:last-child { border-bottom: none; }

.hours-table .day {
  font-weight: 600;
  color: var(--wood-900);
}

.hours-table .time {
  color: var(--wood-700);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-family: 'Spectral', serif;
}

.hours-table li.is-closed .time { color: var(--ocra-700); font-style: italic; }

.hours-table li.today {
  margin: 8px -14px;
  padding: 14px;
  background: var(--ocra-100);
  border-radius: 8px;
  border-bottom-color: transparent;
}

.sede-dark {
  background: var(--wood-900);
  color: var(--wood-100);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.sede-dark::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 138, 42, 0.18), transparent 65%);
}

.sede-dark > * { position: relative; z-index: 1; }

.sede-dark h3 {
  color: var(--cream);
  font-size: 1.5rem;
  margin-bottom: 24px;
  font-family: 'Spectral', serif;
  font-weight: 600;
}

.sede-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.sede-row:last-of-type { border-bottom: none; }

.sede-row .icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 138, 42, 0.16);
  border: 1px solid var(--ocra-700);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocra-300);
  flex-shrink: 0;
}

.sede-row .icon svg { width: 20px; height: 20px; }

.sede-row .lbl {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood-300);
  margin-bottom: 3px;
  font-weight: 600;
}

.sede-row .val {
  font-family: 'Spectral', serif;
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.45;
}

.sede-row .val a { color: var(--ocra-300); }
.sede-row .val a:hover { color: var(--cream); }

.sede-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 22px;
  background: var(--ocra-500);
  color: var(--wood-900);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition);
}

.sede-map-btn:hover {
  background: var(--cream);
  color: var(--wood-900);
  transform: translateY(-2px);
}

.sede-map-btn svg { width: 15px; height: 15px; }

/* ===== FAQ ===== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--wood-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--ocra-300);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: 'Spectral', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wood-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wood-50);
  color: var(--wood-700);
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
  font-family: 'Spectral', serif;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--ocra-500);
  color: var(--wood-900);
}

.faq-item .faq-body {
  padding: 0 28px 24px;
  color: var(--ink-500);
  font-size: 0.97rem;
  line-height: 1.8;
}

/* ===== CONTATTI ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}

.contact-card {
  background: var(--cream);
  border: 1px solid var(--wood-100);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-family: 'Spectral', serif;
  font-size: 1.7rem;
  color: var(--wood-900);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-card > p {
  color: var(--ink-500);
  margin-bottom: 32px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.contact-rows {
  list-style: none;
  display: grid;
  gap: 16px;
}

.contact-rows li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--wood-50);
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.contact-rows li:hover {
  border-color: var(--ocra-300);
  transform: translateX(3px);
}

.contact-rows .icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--wood-900);
  color: var(--ocra-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-rows .icon svg { width: 18px; height: 18px; }

.contact-rows .lbl {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-rows .val {
  font-family: 'Spectral', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--wood-900);
}

.contact-rows .val a { color: var(--wood-900); }
.contact-rows .val a:hover { color: var(--ocra-700); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--wood-900);
  color: var(--wood-300);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--ocra-500);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 138, 42, 0.10), transparent 65%);
  pointer-events: none;
}

.site-footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-brand .logo-crest {
  background: rgba(212, 138, 42, 0.14);
  color: var(--ocra-300);
}

.footer-brand .logo-crest::after { border-color: var(--ocra-500); }

.footer-brand .logo-text { color: var(--cream); }
.footer-brand .logo-sub { color: var(--ocra-300); }

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--wood-300);
  max-width: 340px;
}

.footer-col h4 {
  color: var(--cream);
  font-family: 'Spectral', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--ocra-500);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: var(--wood-300);
  font-size: 0.92rem;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--ocra-300);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--wood-300);
}

.footer-contact-item strong {
  color: var(--ocra-300);
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-contact-item a { color: var(--cream); }
.footer-contact-item a:hover { color: var(--ocra-300); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--wood-300);
}

.footer-legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-legal a { color: var(--wood-300); }
.footer-legal a:hover { color: var(--ocra-300); }

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
  .hero-layout { gap: 44px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .strip-item { border-right: none; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--wood-100);
    gap: 4px;
  }
  .main-nav.active { display: flex; }
  .main-nav a { padding: 14px 16px; width: 100%; border-radius: var(--radius-sm); }
  .main-nav a.nav-cta { margin-left: 0; margin-top: 10px; justify-content: center; }
  .burger { display: flex; align-items: center; }
}

@media (max-width: 900px) {
  .topbar-left .topbar-item:nth-child(n+3) { display: none; }

  .hero { padding: 56px 0 80px; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .services-grid { grid-template-columns: 1fr; }
  .sede-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  .topbar { display: none; }
  .header-inner { height: 72px; }
  .main-nav { top: 72px; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 1.85rem; }

  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: 1rem; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }

  .hero-plaque { left: 10px; top: 14px; padding: 12px 16px; }
  .hero-plaque .big { font-size: 1rem; }
  .hero-stamp { width: 92px; height: 92px; right: 10px; bottom: 18px; }
  .hero-stamp .n { font-size: 1.45rem; }

  .hero-trust { grid-template-columns: 1fr 1fr; gap: 16px; }

  .sede-card, .sede-dark { padding: 32px 26px; }
  .contact-card { padding: 36px 26px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .logo-text { font-size: 1.12rem; }
  .logo-sub { font-size: 0.62rem; }
  .logo-crest { width: 44px; height: 44px; }

  .faq-item summary { padding: 18px 22px; font-size: 1rem; }
  .faq-item .faq-body { padding: 0 22px 22px; font-size: 0.92rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 1.75rem; }
}

@media print {
  .site-header, .site-footer, .burger, .hero-ctas, .topbar {
    display: none !important;
  }
  body { background: #fff; color: #000; }
}
