/* ==========================================================================
   DG COSTRUZIONI - STILE MODERNO & PULITO
   ========================================================================== */

:root {
  /* Palette Colori Architettonica */
  --primary-dark: #0f172a;      /* Ardesia profondissima */
  --primary-surface: #1e293b;   /* Ardesia media per card scure */
  --primary-card: #273549;
  --accent: #d97706;            /* Ambra / Oro cantiere professionale */
  --accent-light: #f59e0b;      /* Ambra vivido */
  --accent-glow: rgba(217, 119, 6, 0.15);
  --accent-subtle: #fef3c7;     /* Sfondo badge ambra */
  
  --text-main: #1e293b;         /* Testo principale scuro */
  --text-muted: #64748b;        /* Testo secondario */
  --text-light: #f8fafc;        /* Testo chiaro per sfondi scuri */
  --text-light-muted: #94a3b8;
  
  --bg-page: #f8fafc;           /* Sfondo generale chiaro */
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;         /* Grigio chiaro pietra */
  
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  
  --success: #10b981;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  /* Tipografia */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Raggi e Ombre */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.25);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

.section-subtle {
  background-color: var(--bg-subtle);
}

/* Headers & Section Titles */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-dark .section-badge {
  background: rgba(217, 119, 6, 0.2);
  color: var(--accent-light);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--text-light);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--text-light-muted);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header .container {
  max-width: 1360px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.brand-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name span {
  color: var(--accent);
}

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

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.25vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 0.7rem 1.35rem;
  font-size: 0.92rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-quick-link:hover {
  color: var(--accent);
}

.phone-quick-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
}

/* Hamburger Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

.btn-secondary {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #000000;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--primary-dark);
}

.btn-outline:hover {
  border-color: var(--primary-dark);
  background-color: var(--bg-subtle);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 6.5rem 0 5rem 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(15, 23, 42, 0.94) 100%),
    url('https://images.unsplash.com/photo-1541888946425-d0fbb1861593?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--accent-light);
  position: relative;
}

.hero-description {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-light-muted);
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

/* Hero Trust Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Hero Fast Contact Card */
.hero-card {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-xl);
}

.hero-card-header {
  margin-bottom: 1.5rem;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.hero-card-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.fast-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}

.fast-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}

.fast-perks li svg {
  width: 20px;
  height: 20px;
  color: var(--accent-light);
  flex-shrink: 0;
}

/* ==========================================================================
   VALORI / PERCHÉ SCEGLIERCI (Trust Pillars)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 119, 6, 0.3);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: background var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--accent-subtle);
}

.pillar-icon-box svg {
  width: 26px;
  height: 26px;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.pillar-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SERVIZI
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.service-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-surface);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.service-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.service-action:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ==========================================================================
   IL NOSTRO METODO (Processo in 4 Fasi)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  position: relative;
  background: var(--primary-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(217, 119, 6, 0.4);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.55;
}
/* ==========================================================================
   CALCOLATORE PREVENTIVO RAPIDO / SMART WIZARD
   ========================================================================== */
.calculator-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  max-width: 860px;
  margin: 0 auto;
}

.calc-step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-step-title span.badge-circle {
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.calc-radio-label {
  cursor: pointer;
}

.calc-radio-label input {
  display: none;
}

.calc-box {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all var(--transition-fast);
  background: var(--bg-page);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.calc-box svg {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.calc-box-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.calc-box-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.calc-radio-label input:checked + .calc-box {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.calc-radio-label input:checked + .calc-box svg {
  color: var(--accent);
}

.calc-radio-label input:checked + .calc-box .calc-box-title {
  color: var(--primary-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.calc-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   AREA LOCALE & MAPPA
   ========================================================================== */
.local-area-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.local-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.city-badge {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.city-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.contact-quick-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-card-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.contact-card-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RECENSIONI & GOOGLE REVIEWS
   ========================================================================== */
.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  max-width: 820px;
  margin: 0 auto 3rem auto;
  box-shadow: var(--shadow-sm);
}

.google-logo-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.google-score-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.google-score-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.google-stars {
  color: #fbbc04; /* Google Gold */
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.google-reviews-count {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.google-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  transition: all var(--transition-fast);
}

.google-cta-btn:hover {
  background: var(--bg-subtle);
  border-color: #4285f4;
  color: #4285f4;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  color: #fbbc04;
  font-size: 1.05rem;
}

.review-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.review-source-badge svg {
  width: 14px;
  height: 14px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #4285f4, #1a73e8);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-avatar.avatar-alt1 {
  background: linear-gradient(135deg, #34a853, #1e8e3e);
}

.author-avatar.avatar-alt2 {
  background: linear-gradient(135deg, #ea4335, #d93025);
}

.author-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.verified-icon {
  width: 14px;
  height: 14px;
  color: #1a73e8;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
  max-height: 250px;
}

/* ==========================================================================
   BANNER FINALE (CTA BANNER)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  max-width: 600px;
  margin: 0 auto 2.2rem auto;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0b1120;
  color: var(--text-light-muted);
  padding: 4.5rem 0 2rem 0;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   MOBILE STICKY CONTACT BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-bottom-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 1040px) {
  /* Mobile Menu Toggle & Drawer attivo fino a 1040px */
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 99;
  }
  
  .nav-menu.open {
    transform: translateY(0);
  }
  
  .header-actions .btn {
    display: none;
  }

  .header-actions .phone-quick-link {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .local-area-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  

  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .google-rating-summary {
    padding: 1.25rem 1rem;
    text-align: center;
    gap: 1rem;
  }
  
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .calculator-wrap {
    padding: 1.75rem 1.25rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Attiva la bottom bar per cellulari */
  .mobile-bottom-bar {
    display: block;
  }
  
  /* Padding extra per il footer in mobile per non coprire i pulsanti */
  body {
    padding-bottom: 80px;
  }

  /* Sposta il cookie banner sopra la sticky bar su mobile */
  .cookie-banner {
    bottom: 65px;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: #e2e8f0;
  z-index: 9999;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
}

.cookie-text svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.cookie-text p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.cookie-text a {
  color: var(--accent-light);
  text-decoration: underline;
}

.cookie-accept-btn {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-accept-btn:hover {
  background: var(--accent-hover);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-text {
    flex-direction: column;
    align-items: center;
  }
}

/* Regole aggiuntive per smartphone stretti (iPhone, Galaxy, ecc.) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
    line-height: 1.2;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tagline {
    font-size: 0.65rem;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-icon svg {
    width: 22px;
    height: 22px;
  }

  .btn-lg {
    padding: 0.9rem 1.4rem;
    font-size: 0.95rem;
  }

  .google-invite-card {
    padding: 1.75rem 1rem !important;
  }

  .calculator-wrap {
    padding: 1.25rem 0.85rem !important;
  }

  .cookie-banner {
    padding: 0.85rem 1rem;
    bottom: 60px;
  }

  .cookie-text p {
    font-size: 0.8rem;
  }
}
