/* ============================================================
   SAGITTARIA SALDATURE — STILE PRINCIPALE
   Organizzato in sezioni chiaramente commentate.
   Palette: neri industriali, arancio fiamma, accenti caldi.
   ============================================================ */

/* ============================================================
   1. VARIABILI / TOKEN
   ============================================================
   Palette principale — MODIFICABILE A MANO:
     --c-accent       → colore primario (usato per bottoni,
                        link attivi, bordi evidenziati, ecc.)
     --c-accent-2     → colore secondario (hover / stato hover)
     --c-accent-glow  → alone luminoso (stesso hue del primario)
   ============================================================ */
:root {
  /* --- Colori di base (sfondo e testo) --- */
  --c-bg: #0a0a0a;
  --c-bg-soft: #121212;
  --c-surface: #1a1a1a;
  --c-surface-2: #222;
  --c-border: #2e2e2e;
  --c-text: #f5f5f5;
  --c-text-dim: #b8b8b8;
  --c-muted: #888;
  --c-white: #fff;

  /* --- Rosso fiamma (colore primario) ---
     Cambia qui per aggiornare tutto il sito. */
  --c-accent: #e63946;            /* rosso vivace */
  --c-accent-rgb: 230, 57, 70;    /* componenti RGB, per rgba() */

  /* --- Blu acciaio (colore secondario / hover) ---
     Usato per stati hover e accenti complementari. */
  --c-accent-2: #1d4ed7;          /* blu elettrico */
  --c-accent-2-rgb: 29, 78, 215;  /* componenti RGB, per rgba() */

  /* --- Alone luminoso (derivato dal rosso) --- */
  --c-accent-glow: rgba(var(--c-accent-rgb), 0.45);

  /* Tipografia */
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  /* Spaziature */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --container: 1200px;

  /* Raggio */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  /* Transizioni */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t-med: 0.4s var(--ease);

  /* Ombre */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px var(--c-accent-glow);}

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

.spacer {
  margin-top:20px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Focus visibile per accessibilità */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Rispetto prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   3. UTILITIES / LAYOUT
   ============================================================ */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3rem, 8vw, var(--space-xl));
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, .section-title, .hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
}

.section-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--c-text-dim);
  margin-bottom: 1rem;
}

.text-accent {
  color: var(--c-accent);
  position: relative;
  text-shadow: 0 0 30px var(--c-accent-glow);
}

/* Versione blu per accenti secondari — usa la classe .text-accent-2 */
.text-accent-2 {
  color: var(--c-accent-2);
  text-shadow: 0 0 30px rgba(var(--c-accent-2-rgb), 0.45);
}

/* ============================================================
   5. SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--c-accent);
  color: #000;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  z-index: 2000;
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   6. HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* background: rgba(10,10,10,0.6); */
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  /* border-bottom: 1px solid transparent; */
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.site-header.is-scrolled {
  /* background: rgba(10,10,10,0.92); */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  /*
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
  */
}

.nav {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.logo strong { font-weight: 600; }
.logo-mark {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px var(--c-accent-glow));
  transition: transform var(--t-fast);
}
.logo:hover .logo-mark {
  transform: rotate(-12deg) scale(1.15);
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 2rem);
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav-link:hover,
.nav-link:focus-visible {
  color: var(--c-accent);
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* CTA nel nav */
.cta-link {
  background: var(--c-accent);
  color: #000;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.cta-link::after { display: none; }
.cta-link:hover, .cta-link:focus-visible {
  background: var(--c-accent-2);
  color: #fff;
}

/* Toggle mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  z-index: 1100;
}
.nav-toggle-bar {
  width: 26px;
  height: 3px;
  background: var(--c-text);
  border-radius: 2px;
  transition: background var(--t-fast);
}

/* Su mobile: nascondi il menu desktop, mostra l'hamburger */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu { display: none; }
}

/* ============================================================
   MENU MOBILE — fullscreen rosso, slide da destra verso sinistra
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 5rem 1.5rem;
  background: var(--c-accent);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.83, 0, 0.17, 1),
              visibility 0s linear 0.55s;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.55s cubic-bezier(0.83, 0, 0.17, 1),
              visibility 0s;
}
.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.mobile-close svg {
  width: 30px;
  height: 30px;
}
.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.mobile-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  padding: 0.6rem 1rem;
  transition: color var(--t-fast);
}
.mobile-link:hover,
.mobile-link:focus-visible {
  color: rgba(255, 255, 255, 0.75);
}
.mobile-link--cta {
  margin-top: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.7rem 1.7rem;
}
.mobile-link--cta:hover,
.mobile-link--cta:focus-visible {
  background: #fff;
  color: var(--c-accent);
}

/* Desktop: nascondi il menu mobile */
@media (min-width: 861px) {
  .mobile-menu { display: none; }
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--c-accent-glow);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--c-accent-2);
  box-shadow: 0 12px 32px rgba(var(--c-accent-2-rgb), 0.45);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-white);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.btn-block {
  width: 100%;
  margin-top: 0.5rem;
}

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

/* Container video — fixed a tutto viewport, finisce sotto l'header */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100svw;
  height: 100svh;
  z-index: -2;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Video di sfondo loop — 100svh x 100svw, cover, centrato */
.hero-bg-video {
  width: 100svw;
  height: 100svh;
  object-fit: cover;
  filter: brightness(0.4) saturate(1.1) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  mix-blend-mode: color-dodge;
  background:
    radial-gradient(ellipse at 70% 40%, var(--c-accent-glow), transparent 50%),
    linear-gradient(180deg, rgba(10,10,10,0.3), rgba(10,10,10,0.55) 80%);
}

.hero-content {
  max-width: 720px;
  animation: fadeUp 1s var(--ease) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--c-white);
  margin-top: 1.75rem;
  max-width: 54ch;
  text-wrap: balance;
}
.hero-subtitle strong {
  font-weight: 600;
  color: var(--c-white);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid var(--c-text-dim);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.6;
  transition: opacity var(--t-fast);
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint-dot {
  width: 4px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 2px;
  animation: scroll-bounce 1.5s var(--ease) infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ============================================================
   9. SEZIONE CHI SONO
   ============================================================ */
.section-about {
  background: var(--c-bg);
}
.about-image-wrap {
  position: relative;
}
.about-image {
  width: 100%;
  height: clamp(420px, 55vw, 640px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: grayscale(0.15) contrast(1.05);
}
.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--c-accent);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  box-shadow: var(--shadow-glow);
}
.badge-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
}
.badge-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.about-text p { margin-bottom: 1rem; color: var(--c-text-dim); }
.about-text p strong { color: var(--c-text); }

.values-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.values-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--c-text);
}
.values-list span[aria-hidden="true"] {
  color: var(--c-accent);
}

/* ============================================================
   9b. JUMBOTRON / METODO
   ============================================================ */
.jumbotron {
  background: var(--c-accent);
  color: #fff;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.jumbotron::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.12), transparent 55%);
  pointer-events: none;
}
.jumbotron-inner {
  position: relative;
  max-width: 60ch;
  margin-inline: auto;
  padding-inline-start: 1.25rem;
}
.jumbotron-inner::before {
  background: #fff;
}
.jumbotron-inner .voice-tag {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

/* Titolo di impatto */
.jumbotron-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}
.jumbotron-title strong {
  font-weight: 700;
  display: block;
}

/* Lead — frase grande, peso medio */
.jumbotron-lead {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.45;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #fff;
  text-wrap: balance;
}

/* Testo — più piccolo, peso light */
.jumbotron-text {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.92);
}
.jumbotron-text strong {
  font-weight: 600;
  color: #fff;
}

/* ============================================================
   10. SEZIONE SERVIZI
   ============================================================ */
.section-services {
  background: var(--c-bg-soft);
  border-block: 1px solid var(--c-border);
}
.section-header {
  text-align: center;
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .section-lead { margin-inline: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* Variante a 3 colonne fisse: 3 su desktop, 2 su tablet, 1 su mobile */
.services-grid--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .services-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover,
.service-card:focus-within {
  border-color: var(--c-accent);
  background: var(--c-surface-2);
}
.service-card:hover::before,
.service-card:focus-within::before {
  transform: scaleX(1);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(var(--c-accent-rgb), 0.1);
  border: 1px solid rgba(var(--c-accent-rgb), 0.3);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  color: var(--c-accent);
}
.service-icon svg { width: 28px; height: 28px; }
.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.service-desc {
  color: var(--c-text-dim);
  font-size: 0.95rem;
}

/* ============================================================
   11. GALLERIA
   ============================================================ */
.section-gallery {
  background: var(--c-bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter var(--t-med);
  filter: brightness(0.8) saturate(1.1);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.2);
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--tall2 { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall, .gallery-item--tall2 { grid-row: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item--wide, .gallery-item--tall, .gallery-item--tall2 {
    grid-column: span 1;
    grid-row: span 1;
  }
}
.gallery-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--c-muted);
  font-size: 0.9rem;
}
.gallery-note code {
  background: var(--c-surface-2);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--c-accent);
}

/* ============================================================
   12. ZONE SERVITE
   ============================================================ */
.section-zones {
  background: var(--c-bg-soft);
  border-block: 1px solid var(--c-border);
}
.zones-text p { margin-bottom: 1rem; color: var(--c-text-dim); }
.zones-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.zone-chip {
  padding: 0.5rem 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.zone-chip:hover {
  border-color: var(--c-accent-2);
  color: var(--c-accent-2);
  cursor: default;
}
.zones-note {
  font-style: italic;
  color: var(--c-muted);
  font-size: 0.9rem;
}

.zones-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
}
.zones-map {
  width: 100%;
  height: clamp(320px, 45vw, 480px);
  border: 0;
  display: block;
  filter: invert(0.92) hue-rotate(180deg) grayscale(0.3);
}
/* Marker tondo rosso Leaflet */
.zone-marker {
  background: transparent;
  border: none;
}
.zone-marker-dot {
  display: block;
  width: 28px;
  height: 28px;
  background: var(--c-accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-accent-glow);
}
.zones-map-caption {
  padding: 0.75rem 1rem;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  font-size: 0.85rem;
  color: var(--c-text-dim);
  text-align: center;
}

/* ============================================================
   13. CONTATTI
   ============================================================ */
.section-contact {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--c-accent-rgb), 0.08), transparent 50%),
    var(--c-bg);
}
.contact-card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.contact-list li {
  display: block;
}
@media (max-width: 860px) {
  .contact-list { grid-template-columns: 1fr; }
}

/* Pulsanti di contatto (telefono, WhatsApp, email) */
.contact-btn {
  display: flex;
  align-items: center;

  gap: 0.85rem;
  width: 100%;
  height: 100%;
  min-height: 150px;
  padding: 1.25rem 1.1rem;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-btn:hover {
  border-color: var(--c-accent);
  background: var(--c-surface);
}
.contact-btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--c-accent);
}
.contact-btn--wa .contact-btn-icon {
  color: #25D366;
}
.contact-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.contact-btn-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.2;
}
.contact-btn-hint {
  font-size: 0.78rem;
  color: var(--c-muted);
  line-height: 1.3;
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-dim);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--c-muted);
}
.form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-status.is-ok { color: #4ade80; }
.form-status.is-err { color: #f87171; }

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    text-align: start;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
@media (min-width: 640px) {
  .footer-brand { align-items: flex-start; }
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.footer-brand p {
  color: var(--c-muted);
  font-size: 0.85rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .footer-nav { justify-content: flex-start; }
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--c-accent-2); }
.footer-meta {
  color: var(--c-muted);
  font-size: 0.8rem;
  grid-column: 1 / -1;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  grid-column: 1 / -1;
  margin-top: 0.75rem;
}
.footer-social .social-link {
  color: var(--c-text-dim);
}
.social-link svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   15. ANIMAZIONI SCROLL (reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   16. RESPONSIVE FINAL TUNING
   ============================================================ */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .hero-badges { gap: 0.5rem; }
  .badge { font-size: 0.75rem; padding: 0.4rem 0.8rem; }
}

/* ============================================================
   16b. SWIPER GALLERY
   ============================================================ */
.section-gallery-swiper {
  background: var(--c-bg-soft);
  position: relative;
  z-index: 1;
}
.gallery-swiper {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-block: 2rem;
}
.gallery-swiper .swiper-slide {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  aspect-ratio: 4 / 3;
}
.swiper-img-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
}
.gallery-swiper .swiper-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.1);
  transition: filter 0.3s var(--ease);
}
.gallery-swiper .swiper-slide:hover .swiper-img {
  filter: brightness(1) saturate(1.2);
}
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  color: var(--c-accent);
  background: rgba(10,10,10,0.6);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
  font-size: 1.2rem;
  font-weight: 700;
}
.gallery-swiper .swiper-pagination-bullet {
  background: var(--c-text-dim);
  opacity: 0.5;
}
.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--c-accent);
  opacity: 1;
}

/* ============================================================
   16c. PHOTOSWIPE — personalizzazione UI
   ============================================================ */
.pswp__bg {
  background: rgba(5,5,5,0.95);
}
.pswp__counter {
  font-family: var(--font-body);
  color: var(--c-text-dim);
}
.pswp__caption__center {
  font-family: var(--font-body);
  color: var(--c-text-dim);
}
.pswp__button--close {
  background-color: transparent;
}
.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
  background-color: var(--c-accent);
}
.pswp__button--arrow--left::before {
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15 18l-6-6 6-6"/></svg>') no-repeat center;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15 18l-6-6 6-6"/></svg>') no-repeat center;
  mask-size: 60%;
  -webkit-mask-size: 60%;
}
.pswp__button--arrow--right::before {
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 18l6-6-6-6"/></svg>') no-repeat center;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 18l6-6-6-6"/></svg>') no-repeat center;
  mask-size: 60%;
  -webkit-mask-size: 60%;
}

/* ============================================================
   17. MARCA VOCHE — distinzioni prima/terza persona
   ============================================================
   .voice-1p  → blocco in cui parla Gezim (prima persona)
   .voice-3p  → blocco in cui parla l'azienda (terza persona)
   La distinzione è grafica ma discreta: un piccolo marcatore
   laterale e una tonalità leggermente diversa dello sfondo.
   ============================================================ */
.voice-1p,
.voice-3p {
  position: relative;
  padding-inline-start: 1.25rem;
}
.voice-1p::before,
.voice-3p::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 3px;
  border-radius: 3px;
}
.voice-1p::before { background: var(--c-accent); }
.voice-3p::before { background: var(--c-accent-2); }

/* Etichetta di voce (opzionale, piccola) */
.voice-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
}
.voice-1p .voice-tag { color: var(--c-accent); border-color: rgba(var(--c-accent-rgb), 0.4); }
.voice-3p .voice-tag { color: var(--c-accent-2); border-color: rgba(var(--c-accent-2-rgb), 0.4); }

/* Placeholder foto Gezim — spazio riservato per ritratto */
.portrait-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--c-border);
  background:
    repeating-linear-gradient(45deg, var(--c-surface), var(--c-surface) 12px, var(--c-bg-soft) 12px, var(--c-bg-soft) 24px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--c-muted);
  font-size: 0.85rem;
  overflow: hidden;
}
.portrait-slot .portrait-slot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
}
.portrait-slot .portrait-slot-icon { font-size: 2rem; }
.portrait-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Sottosezione con header di ambito */
.subsection {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.subsection:first-of-type { margin-top: 0; }
.subsection-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Lista manufatti per categoria */
.work-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}
.work-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--c-text-dim);
  font-size: 0.95rem;
}
.work-list li::before {
  content: '▸';
  color: var(--c-accent);
  flex-shrink: 0;
}

/* Griglia categorie manufatti */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}
.work-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--t-med), transform var(--t-med);
}
.work-card:hover { border-color: var(--c-accent); }
.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--c-text);
}
