/* ============================================================
   ARTECNA S.C.A.R.L. — style.css
   ============================================================ */

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

/* ---- VARIABILI ---- */
:root {
  /* Palette — derivata dal logo */
  --orange:      #E8621A;
  --orange-dark: #C04E0E;
  --orange-light:#FFF0E6;
  --charcoal:    #3A3A3A;
  --charcoal-2:  #555555;
  --charcoal-3:  #888888;
  --light-gray:  #F4F4F2;
  --border:      #DEDBD6;
  --white:       #FFFFFF;

  /* Footer */
  --footer-bg:   #252525;
  --footer-mid:  #2E2E2E;
  --footer-text: #AAAAAA;

  /* Topbar */
  --topbar-bg:   #2E2E2E;

  /* Tipografia */
  --font-body:    'Barlow', system-ui, sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  /* Layout */
  --max-w:  1200px;
  --pad-x:  clamp(1rem, 5vw, 2.5rem);
  --radius: 4px;
  --shadow: 0 2px 16px rgba(0,0,0,.10);
  --trans:  .22s ease;
}

/* ---- BASE ---- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { color: var(--orange); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--orange-dark); }
address { font-style: normal; }

/* ---- TIPOGRAFIA ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.15;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--charcoal-3);
}
p { color: var(--charcoal-2); max-width: 64ch; }

/* ---- UTILITY ---- */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x); }

.tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-light);
  padding: .3rem .85rem; border-radius: 2px;
  border-left: 3px solid var(--orange);
}

/* Divisore con accento arancio */
.section-title-line {
  display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem;
}
.section-title-line::before {
  content: ''; display: block; width: 40px; height: 3px;
  background: var(--orange); flex-shrink: 0;
}

/* ---- BOTTONI ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  padding: .8rem 2rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--trans); letter-spacing: .03em;
  text-transform: uppercase;
}
.btn-primary  { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover  { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover  { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-dark     { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.btn-dark:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--topbar-bg);
  font-size: .78rem;
  color: #aaa;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: var(--max-w); margin-inline: auto; padding: .45rem var(--pad-x);
  display: flex; gap: 2rem; flex-wrap: wrap; align-items: center;
  justify-content: flex-end;
}
.topbar a { color: #bbb; }
.topbar a:hover { color: var(--orange); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,.09);
}
.header-inner {
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x);
  height: 76px; display: flex; align-items: center; gap: 2rem;
}

/* Logo */
.logo       { flex-shrink: 0; }
.logo-img   { height: 48px; width: auto; }
.footer-logo img { height: 44px; background: #fff; border-radius: 6px; padding: 4px 10px; }

/* Nav */
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 0; }
.main-nav a {
  display: block; padding: .5rem 1rem;
  font-size: .88rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--charcoal-2); transition: all var(--trans);
  border-bottom: 3px solid transparent; margin-bottom: -3px;
}
.main-nav a:hover { color: var(--orange); }
.main-nav a.active { color: var(--orange); border-bottom-color: var(--orange); }

/* CTA header */
.header-cta {
  flex-shrink: 0; margin-left: .5rem;
  background: var(--orange); color: #fff;
  padding: .55rem 1.4rem; border-radius: var(--radius);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background var(--trans); white-space: nowrap;
}
.header-cta:hover { background: var(--orange-dark); color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal); border-radius: 2px; transition: all var(--trans);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--charcoal);
  padding: clamp(4rem, 10vw, 7rem) var(--pad-x);
  min-height: 540px; display: flex; align-items: center;
}

/* Decorazione geometrica a destra — richiama il logo */
.hero::after {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 500px; height: 500px;
  background: linear-gradient(135deg, var(--orange) 0%, transparent 60%);
  opacity: .15;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.hero::before {
  content: '';
  position: absolute; right: 120px; bottom: 0;
  width: 6px; height: 100%;
  background: var(--orange); opacity: .4;
}

.hero-content {
  max-width: var(--max-w); margin-inline: auto; width: 100%;
  position: relative; z-index: 1;
  max-width: 680px;
}
.hero .tag { margin-bottom: 1.4rem; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 span { color: var(--orange); }
.hero p { color: #ccc; font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Barra statistiche sotto l'hero */
.hero-stats {
  background: var(--orange);
  padding: 1.6rem var(--pad-x);
}
.hero-stats-inner {
  max-width: var(--max-w); margin-inline: auto;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem;
}
.stat-item { text-align: center; color: #fff; }
.stat-number {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  line-height: 1; display: block;
}
.stat-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* ============================================================
   SEZIONI GENERALI
   ============================================================ */
.section { padding: clamp(3.5rem, 8vw, 6rem) var(--pad-x); }
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-top: .5rem; }
.section--gray { background: var(--light-gray); }
.section--dark { background: var(--charcoal); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #aaa; }

.section-centered { text-align: center; }
.section-centered p { margin-inline: auto; }

/* ============================================================
   CARDS SERVIZI
   ============================================================ */
.cards-grid {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem;
}

.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,.13); }
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { color: var(--charcoal); margin-bottom: .6rem; font-size: 1.2rem; }
.card p { font-size: .93rem; }

/* Card dark per sfondo scuro */
.card--dark {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1);
  border-top-color: var(--orange);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #aaa; }

/* ============================================================
   SEZIONE ABOUT / SPLIT
   ============================================================ */
.split {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.split-visual {
  background: var(--light-gray);
  border-radius: var(--radius); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; overflow: hidden;
  border-left: 6px solid var(--orange);
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }
.split-content .tag { margin-bottom: 1rem; }
.split-content h2 { margin-bottom: 1.2rem; }
.split-content p { margin-bottom: 1.5rem; }

/* ============================================================
   MISSION GRID
   ============================================================ */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
}
.mission-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.mission-item:hover { background: rgba(255,255,255,.04); }
.mission-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.8rem;
  font-variant-numeric: tabular-nums;
}
.mission-item p {
  font-size: .95rem;
  color: #c0bfbd;
  padding-top: .35rem;
  line-height: 1.6;
}

/* Lista check */
.check-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .95rem; color: var(--charcoal-2);
}
.check-list li::before {
  content: '▶'; color: var(--orange); font-size: .7rem; flex-shrink: 0; margin-top: .4rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  max-width: var(--max-w); margin-inline: auto;
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 3.5rem clamp(2rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 8px;
  background: var(--orange);
}
.cta-banner h2 { color: #fff; }
.cta-banner p  { color: #aaa; max-width: 44ch; }

/* ============================================================
   NEWS / PROGETTI PREVIEW
   ============================================================ */
.news-grid {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
}
.news-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--trans), box-shadow var(--trans);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.news-card-thumb {
  height: 190px; background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  border-bottom: 3px solid var(--orange);
}
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 1.5rem; }
.news-card-date { font-size: .75rem; color: var(--charcoal-3); letter-spacing: .06em; margin-bottom: .5rem; }
.news-card-body h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.news-card-body h3 a { color: var(--charcoal); }
.news-card-body h3 a:hover { color: var(--orange); }
.news-card-body p  { font-size: .88rem; }
.news-card-link { display: inline-block; margin-top: 1rem; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.news-card-link:hover { color: var(--orange-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 0; }

.footer-main { padding: 4rem var(--pad-x); }
.footer-inner {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 3rem;
}
.footer-brand p { font-size: .9rem; color: var(--footer-text); margin-top: 1.2rem; max-width: 28ch; line-height: 1.6; }

/* Badge certificazioni */
.footer-cert { display: flex; gap: .5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.cert-badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.2); color: #ccc;
  padding: .25rem .6rem; border-radius: 2px;
}

.footer-col h4 { color: #fff; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: var(--footer-text); font-size: .88rem; transition: color var(--trans); }
.footer-col a:hover { color: var(--orange); }

.footer-contact-col address { display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; }
.footer-contact-col a { color: var(--footer-text); }
.footer-contact-col a:hover { color: var(--orange); }

.social-links { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); color: var(--footer-text);
  transition: all var(--trans);
}
.social-links a:hover { background: var(--orange); color: #fff; }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.3rem var(--pad-x);
  font-size: .78rem; color: rgba(170,170,170,.55);
}
.footer-bottom-inner {
  max-width: var(--max-w); margin-inline: auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(170,170,170,.55); transition: color var(--trans); }
.footer-legal a:hover { color: var(--orange); }

/* ============================================================
   PAGE HEADER (pagine interne)
   ============================================================ */
.page-header {
  background: var(--charcoal);
  padding: clamp(3rem, 7vw, 5rem) var(--pad-x);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 6px;
  background: var(--orange);
}
.page-header::before {
  content: '';
  position: absolute; right: 60px; top: -80px;
  width: 320px; height: 320px;
  background: linear-gradient(135deg, var(--orange) 0%, transparent 60%);
  opacity: .10;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.page-header-inner {
  max-width: var(--max-w); margin-inline: auto;
  position: relative; z-index: 1;
}
.page-header .tag { margin-bottom: 1.2rem; }
.page-header h1 { color: #fff; margin-bottom: 1rem; }
.page-header p  { color: #bbb; font-size: 1.05rem; max-width: 56ch; }

/* ============================================================
   MEZZO CARD
   ============================================================ */
.mezzo-card { display: flex; flex-direction: column; gap: .5rem; }
.mezzo-desc { font-size: .93rem; flex: 1; }
.mezzo-meta {
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.mezzo-qty {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange);
}

/* ============================================================
   GALLERIA
   ============================================================ */

/* Barra filtri */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 2.5rem;
}
.gallery-filter {
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem 1.2rem; border-radius: var(--radius);
  border: 2px solid var(--border); background: var(--white);
  color: var(--charcoal-2); cursor: pointer;
  transition: all var(--trans);
}
.gallery-filter:hover { border-color: var(--orange); color: var(--orange); }
.gallery-filter.active {
  background: var(--orange); border-color: var(--orange);
  color: #fff;
}

/* Griglia */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ---- PHOTO CARD ---- */
.photo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
  outline-offset: 3px;
  display: flex; flex-direction: column;
}
.photo-card:focus-visible { outline: 3px solid var(--orange); }
.photo-card.hidden        { display: none; }
.photo-card:hover         { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(0,0,0,.14); }

/* Zona foto */
.photo-card-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-gray);
}
.photo-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s ease;
}
.photo-card:hover .photo-card-thumb img { transform: scale(1.04); }

/* Icona zoom — appare sull'angolo in alto a destra al hover */
.photo-card-zoom {
  position: absolute; top: .7rem; right: .7rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.7);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}
.photo-card:hover .photo-card-zoom { opacity: 1; transform: scale(1); }

/* Placeholder quando la foto non è ancora presente */
.photo-card-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; color: var(--charcoal-3); background: var(--light-gray);
}
.photo-card-placeholder span {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
}

/* Zona testo sotto la foto */
.photo-card-body {
  padding: 1.1rem 1.25rem 1.3rem;
  display: flex; flex-direction: column; gap: .4rem;
  flex: 1;
}
.gallery-cat-badge {
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--orange); color: #fff;
  padding: .18rem .55rem; border-radius: 2px;
  display: inline-block; align-self: flex-start;
}
.photo-card-title {
  font-size: 1rem; color: var(--charcoal); margin-top: .3rem; line-height: 1.3;
}
.photo-card-meta {
  display: flex; align-items: center; gap: .9rem; margin-top: .1rem; flex-wrap: wrap;
}
.photo-card-luogo {
  font-size: .78rem; color: var(--charcoal-3);
  display: flex; align-items: center; gap: .3rem;
}
.photo-card-anno {
  font-size: .72rem; color: var(--charcoal-3); letter-spacing: .06em;
  margin-left: auto;
}

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(20,20,20,.92);
  display: flex; align-items: center; justify-content: center;
  padding: var(--pad-x);
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
  backdrop-filter: blur(4px);
}
.lightbox.is-open { opacity: 1; pointer-events: all; }

.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem;
  cursor: pointer; transition: background var(--trans);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.lightbox-close:hover { background: var(--orange); }

.lightbox-inner {
  background: var(--white); border-radius: var(--radius);
  max-width: 900px; width: 100%;
  display: grid; grid-template-columns: 3fr 2fr;
  overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.55);
  transform: translateY(20px);
  transition: transform .28s ease;
  max-height: 90vh;
}
.lightbox.is-open .lightbox-inner { transform: translateY(0); }

/* Foto grande a sinistra */
.lightbox-img-wrap {
  background: #111;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; min-height: 320px;
  border-right: 4px solid var(--orange);
}
.lightbox-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  max-height: 90vh;
}
.lightbox-img-wrap .gallery-placeholder {
  background: #1a1a1a; color: #555;
}

/* Dati a destra */
.lightbox-body {
  padding: 2.2rem 1.8rem;
  display: flex; flex-direction: column; gap: .6rem;
  overflow-y: auto;
}
.lightbox-badge {
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--orange-light); color: var(--orange);
  padding: .22rem .65rem; border-radius: 2px; border-left: 3px solid var(--orange);
  display: inline-block; align-self: flex-start;
}
.lightbox-body h2 { font-size: 1.35rem; line-height: 1.2; margin-top: .2rem; }
.lightbox-luogo { font-size: .88rem; color: var(--charcoal-3); }
.lightbox-year {
  font-size: .72rem; color: var(--charcoal-3);
  letter-spacing: .1em; text-transform: uppercase;
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: block;
}

/* ============================================================
   PAGINA CONTATTI
   ============================================================ */
.contact-grid {
  max-width: var(--max-w); margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }

/* L'indirizzo si allarga su tutta la larghezza */
.contact-card--wide { grid-column: 1 / -1; }

.contact-card-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.contact-card-icon--accent {
  background: var(--charcoal);
  color: var(--orange);
}

.contact-card-body { flex: 1; }

.contact-card-label {
  display: block;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--charcoal-3); margin-bottom: .35rem;
}

.contact-card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
  word-break: break-word;
  transition: color var(--trans);
}
a.contact-card-value:hover { color: var(--orange); }

.contact-card-note {
  font-size: .82rem; color: var(--charcoal-3);
  margin-top: .35rem; max-width: none;
}

/* ============================================================
   MAIN MIN-HEIGHT
   ============================================================ */
.site-main { min-height: 60vh; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .split           { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-visual    { order: -1; aspect-ratio: 16/7; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
  .cta-banner      { text-align: center; justify-content: center; }
  .cta-banner::after { display: none; }
  .lightbox-inner     { grid-template-columns: 1fr; overflow-y: auto; }
  .lightbox-img-wrap  { min-height: 220px; max-height: 45vh; border-right: none; border-bottom: 4px solid var(--orange); }
}

@media (max-width: 700px) {
  .topbar          { display: none; }
  .nav-toggle      { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 3px solid var(--orange);
    padding: 1rem var(--pad-x) 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: .15rem; }
  .main-nav a { padding: .65rem .5rem; border-bottom: 1px solid var(--border); margin: 0; }
  .header-cta      { display: none; }
  .footer-inner    { grid-template-columns: 1fr; }
  .cards-grid      { grid-template-columns: 1fr; }
  .news-grid       { grid-template-columns: 1fr; }
  .hero-stats-inner { justify-content: flex-start; gap: 2rem; }
  .gallery-filters { gap: .4rem; }
  .gallery-filter  { font-size: .72rem; padding: .4rem .9rem; }
  .gallery-grid    { grid-template-columns: 1fr; }
}
