/* ==========================================================================
   INFORMATICA FEDO — Design System & Foglio di Stile Principale
   Palette Ibrida:
   - Base Chiara: #F8FAFC / #FFFFFF
   - Sezioni Scure (Laboratorio / Specialità): #1E293B / #0F172A
   - Accento Informatica (Porta a Destra): Blu #2563EB
   - Accento Telefonia & Elettronica (Porta a Sinistra): Verde #16A34A
   ========================================================================== */

:root {
  /* Colori di base */
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-dark: #1E293B;
  --bg-dark-deeper: #0F172A;
  --bg-dark-card: #263449;
  --header-bg: rgba(255, 255, 255, 0.96);

  /* Testi */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-on-dark: #F8FAFC;
  --text-muted-on-dark: #CBD5E1;

  /* Accento Blu — Reparto Informatica */
  --blue-primary: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-dark: #1E40AF;
  --blue-soft: #EFF6FF;
  --blue-border: #BFDBFE;
  --blue-glow: rgba(37, 99, 235, 0.16);
  --blue-accent-light: #60A5FA;
  --blue-btn-shadow-hover: rgba(37, 99, 235, 0.25);

  /* Accento Verde — Reparto Telefonia, Elettronica & Chiavi */
  --green-primary: #16A34A;
  --green-hover: #15803D;
  --green-dark: #166534;
  --green-soft: #F0FDF4;
  --green-border: #BBF7D0;
  --green-glow: rgba(22, 163, 74, 0.16);
  --green-accent-light: #4ADE80;
  --green-btn-shadow-hover: rgba(22, 163, 74, 0.25);

  /* Sfondi e sfumature predisposti per i temi */
  --hero-bg-radial-left: rgba(22, 163, 74, 0.06);
  --hero-bg-radial-right: rgba(37, 99, 235, 0.07);
  --page-hero-blue-bg: linear-gradient(135deg, var(--blue-soft) 0%, var(--bg-base) 65%);
  --page-hero-green-bg: linear-gradient(135deg, var(--green-soft) 0%, var(--bg-base) 65%);
  --cta-banner-bg: linear-gradient(135deg, var(--bg-dark-deeper) 0%, var(--bg-dark) 100%);

  /* Slot stagionali neutri (inattivi nel tema principale) */
  --theme-accent: var(--blue-primary);
  --theme-accent-soft: var(--blue-soft);
  --theme-banner-height: 0px;
  --theme-banner-bg: var(--bg-dark-deeper);
  --theme-banner-text: var(--text-on-dark);
  --theme-banner-border: var(--border-dark);

  /* Brand & Utility */
  --whatsapp: #25D366;
  --whatsapp-hover: #1EBE5B;
  --amber-accent: #F59E0B;
  --border-light: #E2E8F0;
  --border-dark: #334155;

  /* Ombre & Raggi */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  /* Layout */
  --container-max: 1200px;
  --header-height: 78px;
  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

ul {
  list-style: none;
}

/* Accessibilità */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 2000;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--blue-primary);
  outline-offset: 3px;
}

.section-dark :focus-visible,
.site-footer :focus-visible,
.cta-bottom-banner :focus-visible {
  outline-color: #93C5FD;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   HEADER FISSO & NAVIGAZIONE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.brand-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-city {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .brand-logo {
    gap: 0.75rem;
  }
  .brand-logo img {
    height: 46px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-city {
    font-size: 0.75rem;
  }
}

/* Menu Desktop */
.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: var(--bg-subtle);
}

.nav-link.active {
  color: var(--text-primary);
  background-color: var(--bg-subtle);
}

.nav-link--blue:hover,
.nav-link--blue.active {
  color: var(--blue-primary);
  background-color: var(--blue-soft);
}

.nav-link--green:hover,
.nav-link--green.active {
  color: var(--green-dark);
  background-color: var(--green-soft);
}

/* Azioni rapide Header */
.header-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

/* Pulsante Mobile Hamburger */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Menu Mobile a comparsa */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-height));
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  z-index: 999;
}

.mobile-nav-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-list .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

@media (min-width: 520px) {
  .mobile-nav-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  .header-actions {
    display: flex;
  }
  .header-actions .btn {
    white-space: nowrap;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .header-inner {
    gap: 0.65rem;
  }
  .nav-link {
    padding: 0.42rem 0.55rem;
    font-size: 0.86rem;
  }
}

/* ==========================================================================
   PULSANTI & BADGE
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  max-width: 100%;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.86rem;
}

.btn--lg {
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  border-radius: 10px;
}

@media (min-width: 640px) {
  .btn--lg {
    padding: 0.95rem 1.65rem;
    font-size: 1.02rem;
  }
}

.btn--full {
  width: 100%;
}

.btn--blue {
  background-color: var(--blue-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px var(--blue-glow);
}
.btn--blue:hover {
  background-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--blue-btn-shadow-hover);
}

.btn--green {
  background-color: var(--green-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px var(--green-glow);
}
.btn--green:hover {
  background-color: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--green-btn-shadow-hover);
}

.btn--whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.btn--whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-light);
}
.btn--outline:hover {
  border-color: var(--text-secondary);
  background-color: var(--bg-subtle);
}

.btn--outline-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
}
.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge--neutral {
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.badge--blue {
  background-color: var(--blue-soft);
  color: var(--blue-dark);
  border: 1px solid var(--blue-border);
}

.badge--green {
  background-color: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-border);
}

.badge--dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--text-muted);
  flex-shrink: 0;
}

.status-badge.badge--green::before {
  background-color: var(--green-primary);
}

/* ==========================================================================
   HERO SECTION (HOME A BIVIO)
   ========================================================================== */
.hero {
  padding: 2.5rem 0 2rem;
  background: radial-gradient(circle at 15% 20%, var(--hero-bg-radial-left), transparent 40%),
              radial-gradient(circle at 85% 20%, var(--hero-bg-radial-right), transparent 42%),
              var(--bg-base);
  border-bottom: 1px solid var(--border-light);
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.hero-title .text-blue {
  color: var(--blue-primary);
}

.hero-title .text-green {
  color: var(--green-dark);
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 1.65rem;
  line-height: 1.65;
}

/* Barra indicazione 2 Entrate (Sinistra Telefonia / Destra Informatica) */
.entrances-pill-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-surface);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .entrances-pill-bar {
    grid-template-columns: 1fr 1fr;
  }
}

.entrance-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 0.88rem;
}

.entrance-pill--left {
  background-color: var(--green-soft);
  border: 1px solid var(--green-border);
  color: var(--green-dark);
}

.entrance-pill--right {
  background-color: var(--blue-soft);
  border: 1px solid var(--blue-border);
  color: var(--blue-dark);
}

.entrance-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  color: #fff;
}

.entrance-pill--left .entrance-pill-icon {
  background-color: var(--green-primary);
}

.entrance-pill--right .entrance-pill-icon {
  background-color: var(--blue-primary);
}

.entrance-pill strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

/* ==========================================================================
   BIVIO CENTRALE (2 GRANDI CARD AFFIANCATE)
   ========================================================================== */
.bivio-section {
  padding: 3rem 0 3.75rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.bivio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .bivio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.bivio-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

@media (min-width: 640px) {
  .bivio-card {
    padding: 2.35rem 2.25rem;
  }
}

.bivio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
}

.bivio-card--blue {
  border-color: var(--blue-border);
}
.bivio-card--blue::before {
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-accent-light));
}
.bivio-card--blue:hover {
  transform: translateY(-4px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--blue-soft);
}

.bivio-card--green {
  border-color: var(--green-border);
}
.bivio-card--green::before {
  background: linear-gradient(90deg, var(--green-primary), var(--green-accent-light));
}
.bivio-card--green:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary);
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--green-soft);
}

.bivio-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.bivio-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bivio-icon-box svg {
  width: 30px;
  height: 30px;
}

.bivio-card--blue .bivio-icon-box {
  background-color: var(--blue-soft);
  color: var(--blue-primary);
}

.bivio-card--green .bivio-icon-box {
  background-color: var(--green-soft);
  color: var(--green-primary);
}

.bivio-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.bivio-card-summary {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.35rem;
}

.bivio-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.85rem;
}

.bivio-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.bivio-features li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.bivio-card--blue .bivio-features li svg {
  color: var(--blue-primary);
}

.bivio-card--green .bivio-features li svg {
  color: var(--green-primary);
}

.bivio-card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bivio-direct-phone {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.bivio-direct-phone a {
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: underline;
}

/* ==========================================================================
   FASCIA SCURA "IL NOSTRO LABORATORIO" (#1E293B)
   ========================================================================== */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 4.25rem 0;
  position: relative;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-dark .section-desc {
  color: var(--text-muted-on-dark);
}

.lab-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .lab-highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lab-highlight-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.lab-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.lab-highlight-icon--green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}

.lab-highlight-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.lab-highlight-card p {
  font-size: 0.94rem;
  color: var(--text-muted-on-dark);
}

/* Griglia 3 Foto / Segnaposto Laboratorio */
.lab-photos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .lab-photos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-slot-card {
  background-color: var(--bg-dark-deeper);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.photo-slot-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #0F172A;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-slot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-slot-card:hover .photo-slot-media img {
  transform: scale(1.04);
}

.photo-placeholder-box {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    rgba(30, 41, 59, 0.7),
    rgba(30, 41, 59, 0.7) 12px,
    rgba(15, 23, 42, 0.9) 12px,
    rgba(15, 23, 42, 0.9) 24px
  );
  border-bottom: 1px dashed #475569;
}

.photo-placeholder-box svg {
  width: 38px;
  height: 38px;
  color: #60A5FA;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.placeholder-tag {
  display: inline-block;
  font-family: monospace;
  font-size: 0.78rem;
  background: rgba(37, 99, 235, 0.22);
  color: #93C5FD;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  margin-bottom: 0.35rem;
}

.photo-slot-tag-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  color: #F8FAFC;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.photo-slot-caption {
  padding: 1.1rem 1.25rem;
}

.photo-slot-caption h3,
.photo-slot-caption h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
}

.photo-slot-caption p {
  font-size: 0.86rem;
  color: var(--text-muted-on-dark);
}

/* ==========================================================================
   SEZIONE RECENSIONI & SOCIAL
   ========================================================================== */
.section-light {
  padding: 4.25rem 0;
}

.section-subtle {
  padding: 4.25rem 0;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #B45309;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-placeholder-badge {
  display: inline-block;
  font-family: monospace;
  font-size: 0.75rem;
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
}

.review-source {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* Social Cards Bar */
.social-links-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .social-links-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.social-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-primary);
}

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.social-icon--google {
  background: #4285F4;
}
.social-icon--facebook {
  background: #1877F2;
}
.social-icon--instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-card-info strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.social-card-info span {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEZIONE DOVE SIAMO, 2 ENTRATE & CONTATTI
   ========================================================================== */
.contacts-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .contacts-overview-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.storefront-showcase {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.storefront-img-wrapper {
  position: relative;
}

.storefront-img-wrapper img {
  width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: cover;
}

.doors-legend {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-light);
}

.door-legend-item {
  padding: 1rem 1.15rem;
  font-size: 0.88rem;
}

.door-legend-item--left {
  background: var(--green-soft);
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 540px) {
  .doors-legend {
    grid-template-columns: 1fr 1fr;
  }
  .door-legend-item--left {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
  }
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

@media (min-width: 500px) {
  .contact-cta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.door-legend-item--right {
  background: var(--blue-soft);
}

.door-legend-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.door-legend-item--left strong {
  color: var(--green-dark);
}

.door-legend-item--right strong {
  color: var(--blue-dark);
}

/* Box informazioni di contatto e orari */
.contact-info-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

@media (min-width: 540px) {
  .contact-info-panel {
    padding: 1.85rem;
  }
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

.contact-block-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
}

.contact-block-icon svg {
  width: 21px;
  height: 21px;
}

.contact-block h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-block p,
.contact-block li {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.contact-block a {
  overflow-wrap: anywhere;
}

.contact-block > div:not(.contact-block-icon) {
  min-width: 0;
  flex: 1;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.4rem 0 0.5rem;
}

.contact-line-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.contact-line-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact-line-tag--fisso {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.contact-line-tag--wa {
  background: var(--green-soft);
  color: var(--green-dark);
  border: 1px solid var(--green-border);
}

.contact-line-number {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

.contact-line-number--blue {
  color: var(--blue-primary);
}

.contact-line-number--green {
  color: var(--green-dark);
}

.contact-line-placeholder,
.phone-placeholder {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.14rem 0.5rem;
  border-radius: 6px;
  border: 1px dashed var(--text-muted);
  background: var(--bg-base);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-placeholder {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  border: 1px dashed rgba(203, 213, 225, 0.45);
  color: #CBD5E1;
  font-size: 0.76rem;
  font-weight: 600;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.hours-table td {
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border-light);
}

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

.hours-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  padding-right: 1rem;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-secondary);
  white-space: nowrap;
}

.map-embed-card {
  margin-top: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-embed-card iframe {
  width: 100%;
  height: 270px;
  border: 0;
  display: block;
}

/* ==========================================================================
   PAGINE INTERNE (HERO DI REPARTO, SEZIONI E CARD SERVIZI)
   ========================================================================== */
.page-hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.page-hero--blue {
  background: var(--page-hero-blue-bg);
}

.page-hero--green {
  background: var(--page-hero-green-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card--featured {
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
  border: 2px solid var(--blue-border);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.service-card-icon--blue {
  background: var(--blue-soft);
  color: var(--blue-primary);
}

.service-card-icon--green {
  background: var(--green-soft);
  color: var(--green-dark);
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.service-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.service-list--blue li svg {
  color: var(--blue-primary);
}

.service-list--green li svg {
  color: var(--green-dark);
}

.section-dark .service-list li {
  color: var(--text-muted-on-dark);
}

.section-dark .service-list li strong {
  color: #FFFFFF;
}

.section-dark .service-list--green li svg {
  color: #4ADE80;
}

/* Breadcrumb & Page Hero Layout */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: var(--blue-primary);
  text-decoration: underline;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-grid > *,
.bivio-grid > *,
.services-grid > *,
.contacts-overview-grid > *,
.specialty-grid > *,
.real-gallery-grid > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.page-hero-title {
  font-size: clamp(1.8rem, 3.8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.page-hero-desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 680px;
}

.page-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-hero-actions .btn {
  width: 100%;
}

@media (min-width: 560px) {
  .page-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem;
  }
  .page-hero-actions .btn {
    width: auto;
  }
}

.dept-quick-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.dept-quick-card--blue {
  border-color: var(--blue-border);
}

.dept-quick-card--green {
  border-color: var(--green-border);
}

/* Griglia a 4 colonne per La Nostra Specialità */
.specialty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .specialty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.specialty-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow-sm);
}

.specialty-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.specialty-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.specialty-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.specialty-card p strong {
  color: var(--text-primary);
}

/* Box Evidenziato Prezzi PC Rigenerati / Teleassistenza */
.highlight-banner {
  background: var(--bg-surface);
  border: 2px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.highlight-banner--green {
  border-color: var(--green-border);
}

/* Nota informativa e Fascia Secondaria (Noleggio) */
.info-callout-note {
  margin-top: 1.5rem;
  background: var(--bg-subtle);
  border-left: 4px solid var(--blue-primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.info-callout-note strong {
  color: var(--text-primary);
}

.secondary-service-strip {
  margin-top: 1.5rem;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
}

.secondary-service-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.secondary-service-strip-title {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  flex: 1 1 280px;
}

.secondary-service-strip-title > div {
  min-width: 0;
}

.secondary-service-strip-title h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.secondary-service-strip-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.secondary-service-strip-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.secondary-service-strip-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--border-light);
}

.secondary-service-strip-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-width: 0;
}

.secondary-service-strip-list > li svg {
  width: 16px;
  height: 16px;
  color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (min-width: 768px) {
  .secondary-service-strip-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA Banner di Fine Pagina */
.cta-bottom-banner {
  background: var(--cta-banner-bg);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-bottom-banner h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-bottom-banner p {
  color: var(--text-muted-on-dark);
  max-width: 660px;
  margin: 0 auto 1.65rem;
}

.cta-bottom-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.85rem;
}

.cta-bottom-actions .btn {
  width: 100%;
}

@media (min-width: 560px) {
  .cta-bottom-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .cta-bottom-actions .btn {
    width: auto;
  }
}

/* Galleria Foto Reali di Reparto & Contatti */
.real-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .real-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.real-photo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.real-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.real-photo-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
  overflow: hidden;
}

.real-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.real-photo-card:hover .real-photo-media img {
  transform: scale(1.04);
}

.real-photo-caption {
  padding: 1.15rem 1.25rem;
}

.real-photo-caption h3,
.real-photo-caption h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.real-photo-caption p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* BANNER INFORMATIVO SITO IN COSTRUZIONE */
.site-wip-banner {
  background: #FFFBEB;
  border-bottom: 1px solid #FDE68A;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
  z-index: 10;
}

.site-wip-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  padding: 0.55rem 0;
  text-align: center;
}

.site-wip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
  border-radius: 999px;
  padding: 0.16rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.site-wip-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.site-wip-text {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
  min-width: 0;
}

@media (max-width: 640px) {
  .site-wip-banner {
    font-size: 0.82rem;
  }
  .site-wip-banner-inner {
    padding: 0.5rem 0;
    gap: 0.35rem 0.5rem;
  }
  .site-wip-badge {
    font-size: 0.72rem;
    padding: 0.14rem 0.55rem;
  }
}

/* SEZIONE FAQ (Accordion nativo <details>/<summary>) */
.faq-block {
  margin-top: 3rem;
}

.faq-block .section-header {
  margin-bottom: 1.75rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
  max-width: 920px;
  margin: 0 auto;
}

.faq-list > * {
  min-width: 0;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

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

.faq-item--blue .faq-summary:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: -2px;
}

.faq-item--blue .faq-icon {
  color: var(--blue-primary);
  background: var(--blue-soft);
}

.faq-item--blue .faq-answer a {
  color: var(--blue-primary);
  text-decoration: underline;
  font-weight: 600;
}

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

.faq-item--green .faq-summary:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: -2px;
}

.faq-item--green .faq-icon {
  color: var(--green-primary);
  background: var(--green-soft);
}

.faq-item--green .faq-answer a {
  color: var(--green-dark);
  text-decoration: underline;
  font-weight: 600;
}

.faq-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

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

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

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

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1rem 1.35rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 640px) {
  .faq-summary {
    padding: 1rem 1.05rem;
    font-size: 0.98rem;
  }
  .faq-answer {
    padding: 0.9rem 1.05rem 1.1rem;
    font-size: 0.93rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-icon {
    transition: none;
  }
}

/* ==========================================================================
   FOOTER & PULSANTE FLOTTANTE WHATSAPP
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark-deeper);
  color: var(--text-muted-on-dark);
  padding: 3.5rem 0 5.5rem;
  border-top: 1px solid var(--border-dark);
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 6.25rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.85fr 1fr;
  }
}

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.footer-logo-box img {
  height: 42px;
  width: auto;
}

.footer-heading,
.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* Pulsante Flottante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--whatsapp);
  color: #FFFFFF;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float {
    padding: 0.9rem;
  }
}
