/* ============================================================
   ARTIMULTISERVICE SRL — Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --orange:      #E05A00;
  --orange-h:    #FF6A10;
  --black:       #0d0d0d;
  --dark:        #1a1a1a;
  --dark2:       #2a2a2a;
  --gray:        #6b6b6b;
  --light:       #f5f5f5;
  --white:       #ffffff;
  --green-wa:    #25D366;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.18);
  --trans:       0.3s ease;
  --navbar-h:    92px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', Helvetica, sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ── Section base ───────────────────────────────────────────── */
.section { padding: 96px 0; }

.section-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--gray); font-size: 1.05rem; }

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}
h2 span { color: var(--orange); }

h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-primary:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(224,90,0,.35);
}
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.6);
  transition: all var(--trans);
}
.btn-whatsapp:hover {
  background: var(--green-wa);
  border-color: var(--green-wa);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,.35);
}

/* ── Reveal animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: rgba(13,13,13,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  transition: background var(--trans), box-shadow var(--trans);
}
.navbar.scrolled {
  background: var(--black);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  background: var(--white);
  border-radius: 10px;
  padding: 4px 14px;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--white);
  transition: color var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--trans);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--orange); }

.btn-nav {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--trans) !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--orange-h) !important; color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--navbar-h);
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(224,90,0,.15);
  border: 1px solid rgba(224,90,0,.4);
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--orange); }

.hero-content p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 520px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  animation: bounce 2s infinite;
  z-index: 1;
  transition: color var(--trans);
}
.hero-scroll:hover { color: var(--orange); }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ─────────────────────────────────────────────────────────────
   STATS BAR
   ───────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--black);
  padding: 40px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--orange);
  font-weight: 700;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   CHI SIAMO
   ───────────────────────────────────────────────────────────── */
.chi-siamo { background: var(--white); }

.chi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.chi-text .section-tag { display: block; }
.chi-text h2 { margin-bottom: 20px; }
.chi-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1rem;
}
.chi-text p strong { color: var(--dark); }
.chi-text .btn-primary { margin-top: 12px; }

.chi-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 12px;
  height: 420px;
}

.chi-img-main {
  grid-column: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.chi-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.chi-img-main:hover img { transform: scale(1.05); }

.chi-img-side {
  grid-column: 2;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.chi-img-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.chi-img-side:hover img { transform: scale(1.05); }

.chi-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  padding: 10px 16px;
  text-align: center;
  line-height: 1.1;
}
.chi-badge span {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
}
.chi-badge strong {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────
   SERVIZI
   ───────────────────────────────────────────────────────────── */
.servizi { background: var(--light); }

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.servizio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  cursor: default;
}
.servizio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.servizio-card:hover .servizio-icon { background: var(--orange); }
.servizio-card:hover .servizio-icon svg { stroke: var(--white); }

.servizio-icon {
  width: 56px; height: 56px;
  background: rgba(224,90,0,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background var(--trans);
}
.servizio-icon svg {
  width: 28px; height: 28px;
  stroke: var(--orange);
  transition: stroke var(--trans);
}

.servizio-card h3 { color: var(--dark); margin-bottom: 10px; }
.servizio-card p { color: var(--gray); font-size: .92rem; line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────
   GALLERIA
   ───────────────────────────────────────────────────────────── */
.galleria { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--trans);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .05em;
}

/* ─────────────────────────────────────────────────────────────
   PRIMA / DOPO
   ───────────────────────────────────────────────────────────── */
.prima-dopo { background: var(--light); }

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pd-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.pd-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform .5s ease;
}
.pd-card:hover img { transform: scale(1.04); }

.pd-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 24px 20px 16px;
  letter-spacing: .04em;
}

/* ─────────────────────────────────────────────────────────────
   CONTATTI
   ───────────────────────────────────────────────────────────── */
.contatti { background: var(--white); padding-bottom: 0; }

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 96px;
}

.contatti-info .section-tag { display: block; margin-bottom: 8px; }
.contatti-info h2 { margin-bottom: 16px; }
.contatti-info > p { color: var(--gray); margin-bottom: 36px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.07);
  transition: border-color var(--trans), box-shadow var(--trans);
}
a.contact-item:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(224,90,0,.12);
}

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(224,90,0,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--orange); }
.contact-icon--green { background: rgba(37,211,102,.12); }
.contact-icon--green svg { fill: var(--green-wa); }

.contact-label {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  margin-bottom: 2px;
}
.contact-value {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  color: var(--dark);
}

/* Social buttons nei contatti */
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  color: var(--white);
  transition: transform var(--trans), box-shadow var(--trans);
}
.contact-social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-social-btn:hover { transform: translateY(-2px); }
.contact-social-btn--ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 14px rgba(220,39,67,.3);
}
.contact-social-btn--fb {
  background: #1877F2;
  box-shadow: 0 4px 14px rgba(24,119,242,.3);
}

/* Social icons nel footer */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background var(--trans), color var(--trans), transform var(--trans);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { transform: translateY(-3px); color: var(--white); }
.footer-social a:first-child:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.footer-social a:last-child:hover  { background: #1877F2; }

/* Form */
.contatti-form {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.contatti-form h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 24px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224,90,0,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.form-note {
  font-size: .78rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
}

.form-msg {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  display: none;
}
.form-msg.success { background: #e6f9ee; color: #1a7f4b; display: block; }
.form-msg.error   { background: #fde8e8; color: #c0392b; display: block; }

/* Mappa */
.mappa-wrap {
  width: 100%;
  border-top: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
}
.mappa-wrap iframe { display: block; filter: grayscale(20%); }

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand img {
  margin-bottom: 16px;
  height: 64px;
  width: auto;
  background: var(--white);
  border-radius: 10px;
  padding: 4px 12px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; }

.footer-links, .footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4, .footer-contacts h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.footer-links a, .footer-contacts a, .footer-contacts span {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--trans);
  line-height: 1.5;
}
.footer-links a:hover, .footer-contacts a:hover { color: var(--orange); }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}

/* ─────────────────────────────────────────────────────────────
   LIGHTBOX
   ───────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lightboxImg {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transform: scale(0.92);
  transition: transform .3s ease;
  object-fit: contain;
}
.lightbox.open #lightboxImg {
  transform: scale(1);
}

.lightbox-caption {
  margin-top: 14px;
  color: rgba(255,255,255,.75);
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
  cursor: pointer;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--orange); }

@media (max-width: 600px) {
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

/* ─────────────────────────────────────────────────────────────
   WHATSAPP FLOAT
   ───────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  background: var(--green-wa);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  z-index: 900;
  transition: transform var(--trans), box-shadow var(--trans);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--trans);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--dark);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans), transform var(--trans);
  box-shadow: 0 4px 14px rgba(224,90,0,.4);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover { transform: scale(1.1); }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px 32px;
    background: var(--black);
    transform: translateX(100%);
    transition: transform var(--trans);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; }
  .btn-nav { margin-top: 8px; }

  .chi-grid { grid-template-columns: 1fr; gap: 40px; }
  .chi-images { height: 300px; }

  .servizi-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }

  .pd-grid { grid-template-columns: 1fr; }

  .contatti-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {
  :root { --navbar-h: 60px; }
  .section { padding: 56px 0; }

  .hero-content h1 { font-size: 2.6rem; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-whatsapp { width: 100%; justify-content: center; }

  .stats-grid { flex-direction: column; gap: 0; }
  .stat-divider { width: 60px; height: 1px; }

  .chi-images { grid-template-columns: 1fr; height: auto; }
  .chi-img-side { display: none; }

  .servizi-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .footer-bottom .container { flex-direction: column; text-align: center; }

  .nav-links { inset: 0 0 0 0; }

  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .scroll-top { bottom: 84px; right: 20px; }
}
