/* ============================================================
   Farmacia San Vigilio - Concesio (BS) | style.css
   Pharmacy identity: clean green + trust cross accent
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --green-900: #0f3d2e;
  --green-700: #1f7a52;
  --green-600: #2a9367;
  --green-500: #35a876;
  --green-300: #8ccfb0;
  --green-100: #d8efe2;
  --green-50:  #eff8f3;

  --cross-700: #b4223a;
  --cross-500: #d62e48;
  --cross-300: #f28a9a;

  --mint-500:  #4fbfa8;
  --mint-300:  #a9dfd1;
  --mint-100:  #e0f3ee;

  --white: #ffffff;
  --ivory: #f8faf7;
  --sand-50:  #f3f6f1;
  --sand-100: #e5ebe3;
  --sand-200: #cdd4c9;
  --sand-400: #9aa295;
  --sand-600: #66705f;
  --sand-800: #32382d;
  --text: #1d2220;

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius: 10px;
  --radius-sm: 6px;

  --shadow-sm: 0 2px 8px rgba(15, 61, 46, 0.07);
  --shadow-md: 0 10px 28px rgba(15, 61, 46, 0.11);
  --shadow-lg: 0 22px 46px rgba(15, 61, 46, 0.16);
  --shadow-xl: 0 34px 70px rgba(15, 61, 46, 0.20);

  --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: 84px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  line-height: 1.18;
  color: var(--green-900);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

a:hover { color: var(--cross-500); }

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

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

/* ===== TOPBAR (pharmacy specific) ===== */
.topbar {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  padding: 8px 0;
}

.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: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.88);
}

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

.topbar-item strong { color: var(--white); font-weight: 600; }

/* ===== HEADER ===== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) 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(--sand-100);
}

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

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

.logo-cross {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 2px solid var(--green-600);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(42, 147, 103, 0.15);
}

.logo-cross::before,
.logo-cross::after {
  content: "";
  position: absolute;
  background: var(--cross-500);
  border-radius: 2px;
}

.logo-cross::before {
  width: 22px;
  height: 6px;
}

.logo-cross::after {
  width: 6px;
  height: 22px;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green-900);
  line-height: 1.1;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--sand-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

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

.main-nav a {
  color: var(--sand-800);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

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

.main-nav a.nav-cta {
  background: var(--green-700);
  color: var(--white);
  padding: 11px 22px;
  border-radius: 8px;
  margin-left: 10px;
  box-shadow: 0 6px 14px rgba(31, 122, 82, 0.25);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.main-nav a.nav-cta:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 122, 82, 0.32);
}

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

.burger:hover { background: var(--green-50); border-color: var(--green-100); }

.burger span {
  width: 100%;
  height: 2px;
  background: var(--green-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: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

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

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 122, 82, 0.30);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(31, 122, 82, 0.38);
}

.btn-accent {
  background: var(--cross-500);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(214, 46, 72, 0.26);
}

.btn-accent:hover {
  color: var(--white);
  background: var(--cross-700);
  transform: translateY(-2px);
}

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

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

/* ===== HERO (split left-info, right-photo) ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 84px;
  background: var(--ivory);
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, var(--mint-100) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--green-100) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--green-100);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-700);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cross-500);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 46, 72, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(214, 46, 72, 0); }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin-bottom: 22px;
  color: var(--green-900);
}

.hero h1 .accent {
  color: var(--cross-500);
  font-style: italic;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--sand-600);
  margin-bottom: 34px;
  line-height: 1.7;
  max-width: 520px;
}

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

.hero-services-inline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--sand-100);
  max-width: 460px;
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--sand-800);
  font-weight: 500;
}

.hero-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-chip-icon svg { width: 16px; height: 16px; }

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 5;
  background: var(--green-100);
}

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

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(15, 61, 46, 0.20));
}

.hero-sticker {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  z-index: 2;
}

.hero-sticker.sticker-a {
  top: 28px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-sticker.sticker-a .cross-mark {
  width: 44px;
  height: 44px;
  background: var(--cross-500);
  border-radius: 10px;
  position: relative;
  flex-shrink: 0;
}

.hero-sticker.sticker-a .cross-mark::before,
.hero-sticker.sticker-a .cross-mark::after {
  content: "";
  position: absolute;
  background: var(--white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 2px;
}

.hero-sticker.sticker-a .cross-mark::before {
  width: 22px;
  height: 5px;
}

.hero-sticker.sticker-a .cross-mark::after {
  width: 5px;
  height: 22px;
}

.hero-sticker strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.02rem;
  color: var(--green-900);
  line-height: 1.2;
}

.hero-sticker span {
  font-size: 0.78rem;
  color: var(--sand-600);
}

.hero-sticker.sticker-b {
  bottom: 28px;
  right: -24px;
  min-width: 210px;
}

.hero-sticker.sticker-b .rating {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
  color: #f5a623;
}

.hero-sticker.sticker-b .rating svg { width: 16px; height: 16px; fill: currentColor; }

/* ===== BANNER STRIPE ===== */
.banner {
  background: var(--green-900);
  color: var(--white);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 280px at 100% 50%, rgba(79, 191, 168, 0.25), transparent 70%),
    radial-gradient(350px 260px at 0% 20%, rgba(214, 46, 72, 0.15), transparent 70%);
}

.banner .container { position: relative; }

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

.banner-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

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

.banner-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(79, 191, 168, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-300);
  flex-shrink: 0;
}

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

.banner-item strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
  color: var(--white);
  margin-bottom: 2px;
}

.banner-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

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

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

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

.section-head.left-aligned {
  text-align: left;
  margin-left: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cross-500);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cross-500);
  border-radius: 2px;
}

.section-head.left-aligned .section-eyebrow::before { display: inline-block; }

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 14px;
  color: var(--green-900);
}

.section-head p {
  color: var(--sand-600);
  font-size: 1.04rem;
  max-width: 620px;
  margin: 0 auto;
}

.section-head.left-aligned p { margin: 0; }

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

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

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 40px;
  height: 4px;
  background: var(--cross-500);
  border-radius: 0 0 4px 4px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

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

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--green-700);
  color: var(--white);
}

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

.service-card h3 {
  font-size: 1.3rem;
  color: var(--green-900);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--sand-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: 16px;
}

/* ===== CHI SIAMO (about) ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6;
  background: var(--green-100);
}

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

.about-badge-year {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--cross-500);
  color: var(--white);
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-badge-year .num {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge-year .lbl {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
  display: block;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}

.about-text p {
  color: var(--sand-600);
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.75;
}

.about-values {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.about-values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--sand-800);
  line-height: 1.55;
}

.about-values li svg {
  width: 22px;
  height: 22px;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-values li strong { color: var(--green-900); font-weight: 600; }

/* ===== MISSION BLOCK ===== */
.mission-block {
  background: linear-gradient(130deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  padding: 72px 60px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.mission-block::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79, 191, 168, 0.30) 0%, transparent 65%);
}

.mission-block::after {
  content: "+";
  position: absolute;
  bottom: -40px;
  left: -20px;
  font-size: 380px;
  line-height: 1;
  color: rgba(214, 46, 72, 0.10);
  font-family: 'Fraunces', serif;
  font-weight: 700;
}

.mission-block > * { position: relative; z-index: 1; }

.mission-block h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 20px;
  max-width: 640px;
}

.mission-block p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 14px;
}

/* ===== ORARI (opening hours, pharmacy style) ===== */
.hours-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hours-card {
  background: var(--white);
  border: 1px solid var(--sand-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.hours-card h3 {
  font-size: 1.4rem;
  color: var(--green-900);
  margin-bottom: 6px;
}

.hours-card .hours-sub {
  color: var(--sand-600);
  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(--sand-100);
  font-size: 0.96rem;
}

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

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

.hours-table .time {
  color: var(--green-700);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hours-table li.is-closed .time { color: var(--cross-500); }

.hours-table li.today {
  margin: 8px -16px;
  padding-left: 16px;
  padding-right: 16px;
  background: var(--green-50);
  border-radius: 10px;
  border-bottom-color: transparent;
}

.location-card {
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.location-card > * { position: relative; }

.location-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 22px;
}

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

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

.location-row .icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint-300);
  flex-shrink: 0;
}

.location-row .icon svg { width: 18px; height: 18px; }

.location-row .lbl {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3px;
  font-weight: 600;
}

.location-row .val {
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--white);
}

.location-row .val a { color: var(--mint-300); font-weight: 600; }
.location-row .val a:hover { color: var(--white); }

.location-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 22px;
  background: var(--white);
  color: var(--green-900);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition);
}

.location-map-btn:hover {
  background: var(--cross-500);
  color: var(--white);
  transform: translateY(-2px);
}

.location-map-btn svg { width: 16px; height: 16px; }

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

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

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-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: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green-50);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f7a52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--transition), background-color var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--cross-500);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}

.faq-item .faq-body {
  padding: 0 26px 24px;
  color: var(--sand-600);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ===== CONTATTI ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--sand-100);
  border-radius: var(--radius-lg);
  padding: 44px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-100);
}

.contact-card.is-primary {
  background: linear-gradient(140deg, var(--green-700) 0%, var(--green-900) 100%);
  color: var(--white);
  border-color: transparent;
}

.contact-card h3 {
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: 12px;
}

.contact-card.is-primary h3 { color: var(--white); }

.contact-card > p {
  color: var(--sand-600);
  margin-bottom: 28px;
  font-size: 0.98rem;
}

.contact-card.is-primary > p { color: rgba(255, 255, 255, 0.85); }

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

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

.contact-card.is-primary .contact-rows li {
  background: rgba(255, 255, 255, 0.10);
}

.contact-rows li:hover {
  transform: translateX(4px);
}

.contact-rows .icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--white);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card.is-primary .contact-rows .icon {
  background: var(--cross-500);
  color: var(--white);
}

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

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

.contact-card.is-primary .contact-rows .lbl { color: rgba(255, 255, 255, 0.7); }

.contact-rows .val {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-900);
}

.contact-card.is-primary .contact-rows .val { color: var(--white); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--cross-500), var(--green-700));
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 90% 100%, rgba(79, 191, 168, 0.10), transparent 70%);
  pointer-events: none;
}

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

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

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

.footer-brand .logo-cross {
  background: transparent;
  border-color: var(--mint-300);
}

.footer-brand .logo-text { color: var(--white); font-size: 1.28rem; }
.footer-brand .logo-sub { color: rgba(255, 255, 255, 0.55); }

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 10px;
}

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

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-block;
}

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

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

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

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

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s 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: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .banner-item { border-right: none; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-sticker.sticker-a { left: -8px; }
  .hero-sticker.sticker-b { right: -8px; }
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--sand-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: 8px;
    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: 48px 0 72px; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-badge-year { right: 14px; bottom: -18px; padding: 16px 20px; }
  .about-badge-year .num { font-size: 1.6rem; }

  .hours-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .mission-block { padding: 56px 32px; }
}

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

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 1.65rem; }

  .hero h1 { font-size: 1.95rem; }
  .hero-lead { font-size: 1rem; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero-services-inline { grid-template-columns: 1fr; }
  .hero-sticker.sticker-a { top: 14px; left: 12px; padding: 12px 16px; }
  .hero-sticker.sticker-a .cross-mark { width: 34px; height: 34px; }
  .hero-sticker.sticker-a .cross-mark::before { width: 18px; height: 4px; }
  .hero-sticker.sticker-a .cross-mark::after { width: 4px; height: 18px; }
  .hero-sticker.sticker-b { bottom: 14px; right: 12px; padding: 12px 16px; min-width: 170px; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 26px 22px; }

  .hours-card, .location-card { padding: 28px 24px; }
  .contact-card { padding: 32px 24px; }
  .mission-block { padding: 44px 24px; }

  .banner-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .logo-text { font-size: 1.1rem; }
  .logo-sub { font-size: 0.6rem; }
  .logo-cross { width: 38px; height: 38px; }
  .logo-cross::before { width: 18px; height: 5px; }
  .logo-cross::after { width: 5px; height: 18px; }

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

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 1.7rem; }
  .banner-grid { grid-template-columns: 1fr; gap: 18px; }
  .banner-item { border-right: none; padding-right: 0; }
}

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