/* =============================================
   TETTI TOP SERVICE - v6.0 STILE PULITO
   Logo 40% più grande di v5.0
   ============================================= */

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: #1B3A5C;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
  width: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
h1, h2, h3, h4, h5, h6, p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ============================================
   HEADER + LOGO (40% PIU GRANDE)
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  overflow: visible;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 180px;
  padding-top: 15px;
  padding-bottom: 15px;
  overflow: visible;
}

.logo-link {
  flex-shrink: 0;
  display: inline-block;
}

/* LOGO: 154px desktop = +40% da 110px di v5.0 */
.logo-img {
  height: 154px !important;
  width: auto !important;
  max-width: 360px;
  display: block !important;
  margin-top: 10px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.nav-desktop {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-desktop a {
  color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8A45C;
  transition: width 0.3s;
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }
.nav-desktop a:hover,
.nav-desktop a.active { color: #C8A45C; }
.site-header.scrolled .nav-desktop a { color: #1B3A5C; }
.site-header.scrolled .nav-desktop a.active { color: #C8A45C; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: space-around;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s;
}
.site-header.scrolled .hamburger span { background: #1B3A5C; }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.85rem 0;
  border-bottom: 1px solid #eee;
  color: #1B3A5C;
  font-weight: 500;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27, 58, 92, 0.92) 0%,
    rgba(27, 58, 92, 0.72) 50%,
    rgba(74, 144, 184, 0.32) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 200px 1.5rem 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 164, 92, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 164, 92, 0.4);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-tag .dot {
  width: 10px;
  height: 10px;
  background: #C8A45C;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .title-gold { color: #C8A45C; display: block; }
.hero-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
  font-weight: 300;
}
.hero-cta {
  display: inline-block;
  background: #C8A45C;
  color: #1B3A5C;
  padding: 1.1rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(200, 164, 92, 0.3);
}
.hero-cta:hover {
  background: #d4b36a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 164, 92, 0.45);
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro {
  background: linear-gradient(135deg, #2C4A6E 0%, #1B3A5C 100%);
  color: #fff;
  padding: 100px 0;
}
.intro-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.title-white { color: #fff; display: block; }
.title-gold { color: #C8A45C; display: block; }
.intro-text {
  font-size: 1.15rem;
  max-width: 700px;
  opacity: 0.88;
  line-height: 1.7;
}

/* ============================================
   EYEBROW
   ============================================ */
.eyebrow {
  display: block;
  color: #C8A45C;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow-blue { color: #4A90B8; }
.eyebrow-gold {
  display: block;
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ============================================
   FIDUCIA
   ============================================ */
.fiducia {
  background: #FAF7F2;
  padding: 100px 0;
}
.fiducia-head {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}
.fiducia-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 800;
}
.fiducia-head p {
  font-size: 1.05rem;
  opacity: 0.8;
  line-height: 1.7;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 50px;
}
.card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: 0.3s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.card-wide { grid-column: 1 / -1; }
.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 164, 92, 0.15);
  color: #C8A45C;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}
.card p { font-size: 0.92rem; opacity: 0.78; line-height: 1.6; }

.quote-box {
  background: #1B3A5C;
  color: #fff;
  padding: 50px;
  border-radius: 8px;
  text-align: center;
}
.quote {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  font-style: italic;
}
.quote-box p:not(.quote) { opacity: 0.78; max-width: 700px; margin: 0 auto; }

/* ============================================
   SERVIZI
   ============================================ */
.servizi {
  padding: 100px 0;
  background: #fff;
}
.servizi h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
  font-weight: 800;
}
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.servizio {
  padding: 2rem;
  background: #FAF7F2;
  border-radius: 8px;
  border-left: 4px solid #C8A45C;
}
.servizio h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.servizio p { font-size: 0.95rem; opacity: 0.8; }

/* ============================================
   SICUREZZA
   ============================================ */
.sicurezza {
  background: #1B3A5C;
  color: #fff;
  padding: 100px 0;
}
.sicurezza-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sicurezza-text .eyebrow { color: #C8A45C; }
.sicurezza-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.sicurezza-text p { opacity: 0.92; margin-bottom: 1.5rem; line-height: 1.7; }
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.check-list li { font-weight: 500; }
.sicurezza-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ============================================
   LAVORI
   ============================================ */
.lavori {
  background: #FAF7F2;
  padding: 100px 0;
}
.lavori h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
  font-weight: 800;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.3s;
  cursor: pointer;
}
.gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FAQ
   ============================================ */
.faq { padding: 100px 0; }
.faq-head {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}
.faq-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  font-weight: 800;
}
.faq-head p { opacity: 0.8; }
.faq-category { margin-bottom: 40px; }
.faq-category h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #C8A45C;
}
.faq-item {
  background: #FAF7F2;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: #C8A45C;
  font-weight: 300;
  transition: 0.3s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* ============================================
   CONTATTI
   ============================================ */
.contatti {
  background: #f0f7fc;
  padding: 100px 0;
}
.contatti-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.contatti-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  font-weight: 800;
  color: #1B3A5C;
}
.contatti-head p { opacity: 0.8; }
.contatti-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}
.contatti-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 0.5rem;
}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(74, 144, 184, 0.3);
  background: #f0f7fc;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: #1B3A5C;
  transition: 0.2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: #4A90B8;
  background: #fff;
}
.form-field textarea { resize: vertical; }
.btn-gold {
  display: inline-block;
  background: #C8A45C;
  color: #1B3A5C;
  border: 0;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 12px rgba(200, 164, 92, 0.3);
  text-decoration: none;
}
.btn-gold:hover {
  background: #d4b36a;
  transform: translateY(-1px);
}
.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* ============================================
   PRIVACY CHECKBOX
   ============================================ */
.form-privacy {
  margin: 1.25rem 0 0.5rem;
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  cursor: pointer;
  color: #1B3A5C;
  font-weight: 400;
}
.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #C8A45C;
  flex-shrink: 0;
}
.privacy-check a {
  color: #4A90B8;
  text-decoration: underline;
  font-weight: 600;
}
.privacy-check a:hover {
  color: #1B3A5C;
}

/* ============================================
   PRIVACY PAGE
   ============================================ */
.privacy-section {
  margin-bottom: 2.5rem;
}
.privacy-section h2 {
  font-size: 1.4rem;
  color: #1B3A5C;
  margin-bottom: 0.75rem;
  font-weight: 700;
  border-left: 4px solid #C8A45C;
  padding-left: 0.75rem;
}
.privacy-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2a3442;
  margin-bottom: 0.75rem;
}
.privacy-section ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding: 0;
}
.privacy-section ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2a3442;
  margin-bottom: 0.4rem;
}
.privacy-section a {
  color: #4A90B8;
  text-decoration: underline;
}
.privacy-section a:hover {
  color: #1B3A5C;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1B3A5C;
  color: #fff;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cookie-text {
  flex: 1;
  min-width: 0;
}
.cookie-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
  color: #C8A45C;
}
.cookie-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.92;
}
.cookie-desc a {
  color: #C8A45C;
  text-decoration: underline;
  font-weight: 600;
}
.cookie-desc a:hover {
  color: #fff;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-btn {
  border: none;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cookie-btn-accept {
  background: #C8A45C;
  color: #1B3A5C;
}
.cookie-btn-accept:hover {
  background: #d4b06a;
  transform: translateY(-1px);
}
.cookie-btn-reject {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

@media (max-width: 720px) {
  .cookie-banner {
    padding: 1rem;
  }
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    padding: 0.7rem 1rem;
  }
}
.contatti-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.info-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #1B3A5C;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.info-icon {
  width: 40px;
  height: 40px;
  background: #4A90B8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.info-title { font-weight: 700; color: #1B3A5C; margin-bottom: 0.25rem; }
.info-text {
  font-size: 0.92rem;
  opacity: 0.78;
  line-height: 1.5;
}
.info-link {
  color: #4A90B8;
  font-weight: 500;
  font-size: 0.95rem;
}
.info-link:hover { text-decoration: underline; }
.info-piva {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1B3A5C;
  color: #fff;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 40px;
}
.footer-logo {
  height: 154px;
  width: auto;
  max-width: 360px;
}
.site-footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #C8A45C;
}
.site-footer p, .site-footer a {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.88;
  color: #fff;
}
.site-footer a:hover { color: #C8A45C; opacity: 1; }
.site-footer ul li { margin-bottom: 0.5rem; }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: 0.3s;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  background: #1ebd5a;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-spacer { height: 180px; }

.page-hero {
  padding: 80px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.page-hero p {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-content { padding: 80px 0; }

/* ============================================
   SERVIZI LIST
   ============================================ */
.servizi-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 60px;
}
.servizi-detail {
  background: #FAF7F2;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #C8A45C;
}
.servizi-detail h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #1B3A5C;
}
.servizi-detail p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ============================================
   CTA BOX
   ============================================ */
.cta-box {
  background: linear-gradient(135deg, #1B3A5C 0%, #2C4A6E 100%);
  color: #fff;
  padding: 50px;
  border-radius: 16px;
  text-align: center;
  margin-top: 60px;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.cta-box p {
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   LAVORI PAGE
   ============================================ */
.dark-page { background: #2a3442; }
.dark-page .nav-desktop a { color: #fff; }

.cantiere {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 3rem;
  overflow: hidden;
}
.cantiere-cover {
  position: relative;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
  background: #1a2332;
}
.cantiere-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cantiere-cover:hover img { transform: scale(1.05); }
.cantiere-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}
.cantiere-cover:hover .cantiere-cover-overlay { opacity: 1; }
.cantiere-cover-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}
.cantiere-content {
  padding: 2rem;
}
.cantiere-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cantiere-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 164, 92, 0.15);
  border: 1px solid rgba(200, 164, 92, 0.3);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  margin-bottom: 1rem;
}
.cantiere-badge .localita {
  color: #C8A45C;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cantiere-badge .provincia {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 600;
}
.cantiere-titolo {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.cantiere-via {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  font-style: italic;
}
.cantiere-descrizione {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.punti-chiave {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.punto {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(200, 164, 92, 0.08);
  border-radius: 8px;
  border-left: 3px solid #C8A45C;
}
.punto-icon {
  width: 36px;
  height: 36px;
  background: #C8A45C;
  color: #1a2332;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.punto h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.punto p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}
.cantiere-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.cantiere-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.cantiere-gallery img:hover {
  transform: scale(1.02);
}
.lavori-cta {
  background: #1a2332;
  border: 1px solid rgba(200, 164, 92, 0.2);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 4rem;
}
.lavori-cta h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}
.lavori-cta p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 95%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* ============================================
   SERVIZI PAGE
   ============================================ */
.servizi-page {
  background: #efe9dc;
  padding: 100px 0;
}
.servizi-intro {
  max-width: 800px;
  margin-bottom: 4rem;
}
.servizi-intro h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #1B3A5C;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.servizi-intro p {
  font-size: 1.1rem;
  color: rgba(27, 58, 92, 0.7);
  line-height: 1.7;
}
.servizio-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.servizio-block.reverse { direction: rtl; }
.servizio-block.reverse > * { direction: ltr; }
.servizio-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.servizio-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #1B3A5C;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.servizio-content p {
  font-size: 1.05rem;
  color: rgba(27, 58, 92, 0.72);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.servizio-features {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.servizio-features li {
  padding: 0.5rem 0;
  color: #1B3A5C;
  font-weight: 500;
}

/* ============================================
   SICUREZZA PAGE
   ============================================ */
.sicurezza-page {
  background: #fafaf7;
  padding: 100px 0;
}
.sicurezza-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sicurezza-img-wrap { position: relative; }
.sicurezza-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}
.sicurezza-badge {
  position: absolute;
  bottom: -24px;
  right: 32px;
  background: #1B3A5C;
  color: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 220px;
}
.badge-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.badge-sub { font-size: 0.85rem; opacity: 0.7; }
.sicurezza-text h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #1B3A5C;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.sicurezza-text > p {
  font-size: 1.1rem;
  color: rgba(27, 58, 92, 0.7);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.vantaggi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.vantaggio {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.vantaggio-icon {
  width: 40px;
  height: 40px;
  background: #efe9dc;
  color: #c0392b;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.vantaggio-title {
  font-weight: 600;
  color: #1B3A5C;
  margin-bottom: 0.25rem;
}
.vantaggio-desc {
  font-size: 0.9rem;
  color: rgba(27, 58, 92, 0.72);
  line-height: 1.5;
}

/* ============================================
   CHI SIAMO PAGE
   ============================================ */
.chisiamo-content { padding: 80px 0; background: #fff; }
.chisiamo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  margin-bottom: 80px;
}
.chisiamo-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(27, 58, 92, 0.72);
  margin-bottom: 1.25rem;
}
.chisiamo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-box {
  background: #FAF7F2;
  padding: 1.5rem;
  border-radius: 12px;
  border-bottom: 3px solid #C8A45C;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1B3A5C;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #C8A45C;
  text-transform: uppercase;
  margin: 0.5rem 0;
}
.stat-box p {
  font-size: 0.85rem;
  color: rgba(27, 58, 92, 0.72);
  line-height: 1.5;
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
  background: #fff;
  padding: 100px 0;
}
.checklist-head {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}
.checklist-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1B3A5C;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.checklist-head p {
  color: rgba(27, 58, 92, 0.72);
  font-size: 1.1rem;
}
.checklist-items {
  max-width: 800px;
  margin: 0 auto 2rem;
}
.check-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  margin-bottom: 1rem;
  align-items: flex-start;
  transition: 0.2s;
}
.check-item:hover {
  border-color: rgba(192, 57, 43, 0.3);
  background: rgba(192, 57, 43, 0.03);
}
.check-num {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid rgba(27, 58, 92, 0.3);
  color: #1B3A5C;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.check-item h4 {
  color: #1B3A5C;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.check-item p {
  color: rgba(27, 58, 92, 0.72);
  font-size: 0.92rem;
  line-height: 1.6;
}
.checklist-advice {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #efe9dc;
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 6px;
  align-items: flex-start;
}
.advice-icon {
  font-size: 1.5rem;
  color: #c0392b;
  flex-shrink: 0;
}
.advice-title {
  font-weight: 700;
  color: #1B3A5C;
  margin-bottom: 0.5rem;
}
.checklist-advice p:last-child {
  color: rgba(27, 58, 92, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   PRONTO SECTION
   ============================================ */
.pronto {
  background: #0f1d2e;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.pronto-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.pronto-text {
  font-size: 1.1rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.pronto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.btn-rosso {
  display: inline-block;
  padding: 1rem 2rem;
  background: #c0392b;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s;
  text-decoration: none;
}
.btn-rosso:hover { background: #a93226; }
.btn-bianco {
  display: inline-block;
  padding: 1rem 2rem;
  background: #fff;
  color: #1B3A5C;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s;
  text-decoration: none;
}
.btn-bianco:hover { background: #f0f0f0; }

/* ============================================
   RESPONSIVE - MOBILE PRIMA CLASSE 768px
   ============================================ */
@media (max-width: 768px) {
  .nav-desktop { display: none !important; }
  .site-footer p, .site-footer a { font-size: 0.7rem !important; line-height: 1.4 !important; }
  .site-footer h4 { font-size: 0.8rem !important; }
  .footer-grid { gap: 1.5rem !important; }
  .footer-bottom { font-size: 0.7rem !important; }
  .hamburger { display: flex !important; }
  .header-inner { height: 135px !important; }
  /* LOGO MOBILE: 112px = +40% da 80px */
  .logo-img {
    height: 112px !important;
    max-width: 240px !important;
  }

  .hero-content { padding: 130px 1rem 40px; }
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }
  .hero-title .title-gold { display: inline !important; }
  .hero-text {
    font-size: 1rem !important;
    max-width: 100% !important;
  }
  .hero-tag {
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem !important;
  }

  .page-hero { padding: 50px 1rem 40px !important; }
  .page-hero h1 { font-size: 1.8rem !important; line-height: 1.2 !important; }
  .page-hero p { font-size: 1rem !important; }
  .page-spacer { height: 135px !important; }

  .intro-title { font-size: 2.2rem !important; line-height: 1.1 !important; }
  .intro-text { font-size: 1rem !important; }
  .intro { padding: 60px 0 70px !important; }

  .cards { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .card { padding: 1.5rem !important; }
  .card h3 { font-size: 1rem !important; }

  .fiducia, .servizi, .sicurezza, .lavori, .faq, .contatti,
  .servizi-page, .sicurezza-page, .chisiamo-content, .checklist,
  .page-content { padding: 60px 0 !important; }

  .btn-gold, .hero-cta, .btn-rosso, .btn-bianco {
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
    width: 100%;
    text-align: center;
  }

  .quote-box { padding: 30px 20px !important; }
  .quote { font-size: 1.3rem !important; }

  .contatti-form { padding: 1.5rem !important; }
  .form-field input, .form-field textarea { font-size: 16px !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .contatti-grid { grid-template-columns: 1fr !important; }

  .info-card { padding: 1.5rem !important; }

  .cantiere { margin-bottom: 2rem !important; }
  .cantiere-cover { height: 220px !important; }
  .cantiere-content { padding: 1.25rem !important; }
  .cantiere-titolo { font-size: 1.3rem !important; line-height: 1.3 !important; }
  .cantiere-badge { flex-wrap: wrap; }
  .cantiere-gallery { grid-template-columns: repeat(2, 1fr) !important; gap: 0.5rem !important; }
  .cantiere-gallery img { height: 130px !important; }

  .servizio-block { grid-template-columns: 1fr !important; gap: 1.5rem !important; margin-bottom: 3rem !important; }
  .servizio-block.reverse { direction: ltr; }
  .servizio-img img { height: 220px !important; }

  .sicurezza-wrap, .sicurezza-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .sicurezza-img { height: 280px !important; }
  .sicurezza-badge {
    position: relative !important;
    right: 0 !important;
    bottom: 0 !important;
    max-width: 100% !important;
    margin-top: 1rem !important;
  }

  .punti-chiave { grid-template-columns: 1fr !important; }
  .vantaggi { grid-template-columns: 1fr !important; }

  .check-item { padding: 1rem !important; flex-direction: column !important; gap: 0.5rem !important; }
  .check-num { width: 28px; height: 28px; font-size: 0.8rem; }
  .check-item h4 { font-size: 0.95rem !important; }
  .check-item p { font-size: 0.85rem !important; }
  .checklist-advice { flex-direction: column !important; padding: 1.25rem !important; }

  .chisiamo-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .chisiamo-stats { grid-template-columns: 1fr 1fr !important; }
  .stat-number { font-size: 2rem !important; }

  .pronto-title { font-size: 1.7rem !important; }

  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

  .servizi-list { grid-template-columns: 1fr !important; }
  .cta-box { padding: 30px 20px !important; }
}

@media (max-width: 380px) {
  /* LOGO SCHERMI PICCOLI: 98px = +40% da 70px */
  .logo-img {
    height: 98px !important;
    max-width: 200px !important;
  }
  .header-inner { height: 115px !important; }
  .page-spacer { height: 115px !important; }

  .hero-title { font-size: 1.7rem !important; }
  .intro-title { font-size: 1.8rem !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .cantiere-gallery { grid-template-columns: 1fr !important; }
  .chisiamo-stats { grid-template-columns: 1fr !important; }
}




