/* ============================================================
   CRI – Comitato Locale | Stylesheet
   Palette: Rosso CRI #D7181C, Bianco, Grigio antracite
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #D7181C;
  --red-dark:  #a81115;
  --red-light: #f5e5e5;
  --anthracite:#2b2b2b;
  --gray:      #555;
  --gray-light:#f4f4f2;
  --border:    #ddd;
  --white:     #ffffff;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'Source Sans 3', sans-serif;
  --max-w:     1100px;
  --radius:    4px;
  --shadow:    0 2px 12px rgba(0,0,0,.10);
  --transition:.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--anthracite);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a  { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--anthracite);
}

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background var(--transition), transform .15s;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-white:hover { background: var(--red-light); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 40px;
}
.divider {
  width: 48px; height: 3px;
  background: var(--red);
  margin: 12px 0 20px;
}
.text-center { text-align: center; }
.text-center .divider { margin-left: auto; margin-right: auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--anthracite);
  color: #ccc;
  font-size: .8rem;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #ccc; }
.topbar a:hover { color: var(--white); text-decoration: none; }

/* ---------- Header / Nav ---------- */
header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-emblem {
  width: 52px; height: 52px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-emblem svg { width: 32px; height: 32px; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .org { font-size: .7rem; color: var(--gray); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.logo-text .name { font-family: var(--font-serif); font-size: 1.1rem; color: var(--anthracite); line-height: 1.2; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--anthracite);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  letter-spacing: .02em;
}
nav a:hover, nav a.active {
  color: var(--red);
  background: var(--red-light);
  text-decoration: none;
}
nav .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius);
}
nav .nav-cta:hover { background: var(--red-dark); color: var(--white); }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--anthracite);
  transition: all .3s;
}
@media(max-width:768px){
  .menu-toggle { display: flex; }
  nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px 24px; border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  nav.open { display: flex; }
  nav a { padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  nav a:last-child { border-bottom: none; }
  nav .nav-cta { background: none; color: var(--red); padding: 12px 0; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--anthracite) 55%, var(--red-dark) 100%);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 18px;
  max-width: 680px;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--red);
  padding: 22px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,.25);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* ---------- Section base ---------- */
section { padding: 72px 0; }
section.gray-bg { background: var(--gray-light); }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
  border-top: 3px solid var(--red);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--red); }
.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: var(--gray); line-height: 1.5; }

/* ---------- News cards ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.news-card:hover { box-shadow: var(--shadow); }
.news-card-img {
  height: 180px;
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img .placeholder-img {
  width: 48px; height: 48px; color: var(--red); opacity: .4;
}
.news-card-body { padding: 20px; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-cat {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--red-light); color: var(--red);
  padding: 2px 8px; border-radius: 20px;
}
.news-date { font-size: .82rem; color: var(--gray); }
.news-card-body h3 { font-size: 1rem; margin-bottom: 8px; }
.news-card-body p  { font-size: .88rem; color: var(--gray); line-height: 1.5; }
.news-card-body a  { font-size: .88rem; font-weight: 700; color: var(--red); margin-top: 12px; display: inline-block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 72px 0;
  color: var(--white);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 32px; }

/* ---------- Page hero (interni) ---------- */
.page-hero {
  background: var(--anthracite);
  padding: 52px 0;
  color: var(--white);
  border-bottom: 3px solid var(--red);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem,4vw,2.4rem); margin-bottom: 8px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); text-decoration: none; }

/* ---------- Chi siamo ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media(max-width:768px){ .about-grid { grid-template-columns: 1fr; gap: 32px; } }

.about-visual {
  background: var(--red-light);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.about-visual svg { width: 80px; height: 80px; color: var(--red); opacity: .35; }

.values-list { list-style: none; margin-top: 24px; }
.values-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.values-list li:last-child { border-bottom: none; }
.values-list .val-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.values-list .val-icon svg { width: 16px; height: 16px; color: #fff; }
.values-list strong { display: block; font-weight: 700; margin-bottom: 2px; }
.values-list span  { font-size: .9rem; color: var(--gray); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 24px;
  margin-top: 40px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
}
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--red-light);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--red);
}
.team-avatar svg { width: 36px; height: 36px; color: var(--red); }
.team-card h4 { font-size: .95rem; margin-bottom: 4px; }
.team-card span { font-size: .82rem; color: var(--red); font-weight: 600; }

/* ---------- Servizi ---------- */
.services-detail { display: flex; flex-direction: column; gap: 40px; }
.service-detail-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
}
@media(max-width:480px){ .service-detail-card { grid-template-columns: 1fr; } }
.service-detail-card .sd-icon {
  width: 56px; height: 56px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-detail-card .sd-icon svg { width: 28px; height: 28px; color: var(--red); }
.service-detail-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-detail-card p  { color: var(--gray); font-size: .95rem; line-height: 1.6; }

/* ---------- News list ---------- */
.news-list { display: flex; flex-direction: column; gap: 28px; }
.news-list-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.news-list-card:hover { box-shadow: var(--shadow); }
.news-list-img {
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  min-height: 140px;
}
.news-list-img svg { width: 40px; height: 40px; color: var(--red); opacity: .35; }
.news-list-body { padding: 22px 24px 22px 0; }
.news-list-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.news-list-body p  { font-size: .9rem; color: var(--gray); margin-bottom: 12px; }
.news-list-body .read-more { font-size: .88rem; font-weight: 700; }
@media(max-width:600px){
  .news-list-card { grid-template-columns: 1fr; }
  .news-list-img  { min-height: 120px; }
  .news-list-body { padding: 16px; }
}

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  font-size: .82rem; font-weight: 700;
  padding: 7px 18px; border-radius: 20px;
  border: 2px solid var(--border); background: var(--white);
  cursor: pointer; transition: all var(--transition);
  color: var(--gray);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--red); color: var(--red); background: var(--red-light);
}

/* ---------- Volontari ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px; counter-reset: steps;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  counter-increment: steps;
}
.step-card::before {
  content: counter(steps);
  position: absolute; top: -14px; left: 24px;
  width: 28px; height: 28px;
  background: var(--red); color: #fff;
  font-family: var(--font-serif); font-size: .95rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; margin-top: 8px; }
.step-card p  { font-size: .9rem; color: var(--gray); }

.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 16px; margin-bottom: 40px;
}
.req-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.req-item svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.req-item span { font-size: .9rem; }

/* ---------- Contatti ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media(max-width:768px){ .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--red-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ci-icon svg { width: 22px; height: 22px; color: var(--red); }
.contact-item strong { display: block; margin-bottom: 2px; font-size: .9rem; }
.contact-item span, .contact-item a { font-size: .95rem; color: var(--gray); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.2rem; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .95rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--red);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--gray); margin-top: 12px; }

/* ---------- Map placeholder ---------- */
.map-placeholder {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 280px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; margin-top: 40px;
  color: var(--gray);
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--red); opacity: .5; }

/* ---------- Footer ---------- */
footer {
  background: var(--anthracite);
  color: rgba(255,255,255,.7);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:540px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-family: var(--font-sans); font-size: .8rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer-col p { font-size: .88rem; line-height: 1.6; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-col ul a:hover { color: var(--white); text-decoration: none; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo .fl-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); display: flex; align-items: center; justify-content: center;
}
.footer-logo .fl-circle svg { width: 22px; height: 22px; }
.footer-logo span { font-family: var(--font-serif); color: var(--white); font-size: .95rem; }
.footer-bottom {
  padding: 18px 0;
  font-size: .8rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }
.disclaimer {
  background: rgba(0,0,0,.25);
  padding: 10px 24px;
  font-size: .75rem;
  text-align: center;
  color: rgba(255,255,255,.4);
  border-top: 1px solid rgba(255,255,255,.07);
}

/* ============================================================
   AREA INTERNA
   ============================================================ */

.internal-bar {
  background: var(--anthracite);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}
.internal-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.internal-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.internal-logo:hover { text-decoration: none; }
.il-emblem {
  width: 36px; height: 36px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.il-emblem svg { width: 20px; height: 20px; }
.il-name { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; color: var(--white); letter-spacing: .02em; }
.internal-user-info { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.iu-name { font-size: .85rem; color: rgba(255,255,255,.75); }

.internal-breadcrumb {
  background: var(--gray-light);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: .83rem;
  color: var(--gray);
}
.internal-breadcrumb a { color: var(--red); text-decoration: none; }
.internal-breadcrumb a:hover { text-decoration: underline; }
.bc-sep { opacity: .5; margin: 0 4px; }
.bc-current { color: var(--anthracite); font-weight: 600; }

.internal-footer { background: var(--anthracite); color: rgba(255,255,255,.5); padding: 16px 0; margin-top: 60px; }
.internal-footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .8rem; }
.if-note { font-style: italic; }

.btn-logout {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.5);
  color: var(--white);
  padding: 5px 14px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 700;
  cursor: pointer; letter-spacing: .04em;
  transition: background var(--transition), border-color var(--transition);
}
.btn-logout:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.badge-qualifica {
  display: inline-block; padding: 2px 9px; border-radius: 20px;
  font-size: .75rem; font-weight: 700; font-family: var(--font-sans);
  letter-spacing: .04em; text-transform: uppercase;
}
.badge-qualifica.amministratore { background: #fef3c7; color: #92400e; }
.badge-qualifica.volontario     { background: #d1fae5; color: #065f46; }

.internal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.internal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.internal-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ic-icon {
  width: 48px; height: 48px;
  background: var(--red-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.ic-icon svg { width: 24px; height: 24px; color: var(--red); }
.internal-card h3 { font-size: 1rem; margin-bottom: 6px; }
.internal-card p  { font-size: .88rem; color: var(--gray); flex: 1; margin-bottom: 18px; }
.btn-card { font-size: .88rem; font-weight: 700; color: var(--red); text-decoration: none; }
.btn-card:hover { text-decoration: underline; }

.notice-bar {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .88rem;
  margin-bottom: 28px;
}

.turni-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.turni-table th {
  background: var(--anthracite); color: var(--white);
  padding: 11px 14px; text-align: left; font-weight: 600; font-family: var(--font-sans);
}
.turni-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.turni-table tr:nth-child(even) td { background: var(--gray-light); }
.turno-stato {
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-size: .8rem; font-weight: 700; font-family: var(--font-sans);
}
.turno-stato.confermato    { background: #d1fae5; color: #065f46; }
.turno-stato.scoperto      { background: #fee2e2; color: #991b1b; }
.turno-stato.pianificazione{ background: #fef3c7; color: #92400e; }

.comunicazioni-list { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-top: 28px; }
.comunicazione-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.comunicazione-header {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 8px; margin-bottom: 8px;
}
.comunicazione-title { font-size: .95rem; color: var(--anthracite); }
.comunicazione-data  { font-size: .8rem; color: var(--gray); white-space: nowrap; }
.comunicazione-body  { font-size: .88rem; color: var(--gray); line-height: 1.6; }

/* ---------- Responsive tweaks ---------- */
@media(max-width:600px){
  section { padding: 48px 0; }
  .hero  { padding: 52px 0 48px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
}
