/* ==========================================================================
   SistemaCase – Public Site Styles
   Mobile-first · Google-inspired palette · Glassmorphism · Premium UI
   ========================================================================== */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */
:root {
  /* ---- Brand / Google-inspired colours ---- */
  --color-blue:        #4285F4;
  --color-blue-light:  #669DF6;
  --color-blue-dark:   #1A73E8;
  --color-red:         #EA4335;
  --color-red-light:   #F28B82;
  --color-yellow:      #FBBC05;
  --color-yellow-light:#FDD663;
  --color-green:       #34A853;
  --color-green-light: #81C995;
  --color-green-dark:  #1E8E3E;

  /* ---- Surfaces ---- */
  --surface-50:   #FAFBFC;
  --surface-100:  #F1F3F4;
  --surface-200:  #E8EAED;
  --surface-300:  #DADCE0;
  --surface-400:  #BDC1C6;
  --surface-500:  #9AA0A6;
  --surface-600:  #80868B;
  --surface-700:  #5F6368;
  --surface-800:  #3C4043;
  --surface-900:  #202124;
  --surface-950:  #171717;

  /* ---- Semantic ---- */
  --color-primary:     var(--color-blue);
  --color-primary-h:   var(--color-blue-light);
  --color-danger:      var(--color-red);
  --color-warning:     var(--color-yellow);
  --color-success:     var(--color-green);

  /* ---- Text ---- */
  --text-primary:   var(--surface-900);
  --text-secondary: var(--surface-700);
  --text-muted:     var(--surface-500);
  --text-inverse:   #FFFFFF;

  /* ---- Gradients ---- */
  --gradient-blue:   linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  --gradient-hero:   linear-gradient(135deg, #1A1A2E 0%, #16213E 40%, #0F3460 100%);
  --gradient-card:   linear-gradient(135deg, var(--color-blue), var(--color-green));
  --gradient-success:linear-gradient(135deg, var(--color-green), var(--color-green-dark));
  --gradient-warm:   linear-gradient(135deg, var(--color-yellow), var(--color-red));
  --gradient-glass:  linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04));

  /* ---- Shadows ---- */
  --shadow-xs:   0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:   0 2px 6px rgba(0,0,0,.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 24px rgba(0,0,0,.12);
  --shadow-xl:   0 16px 48px rgba(0,0,0,.14);
  --shadow-blue: 0 4px 20px rgba(66,133,244,.30);
  --shadow-green:0 4px 20px rgba(52,168,83,.30);

  /* ---- Radii ---- */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;

  /* ---- Transitions ---- */
  --ease-out:    cubic-bezier(.25,.46,.45,.94);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --tr-fast:     .15s var(--ease-out);
  --tr-base:     .25s var(--ease-out);
  --tr-slow:     .4s  var(--ease-out);
  --tr-spring:   .5s  var(--ease-spring);

  /* ---- Layout ---- */
  --container-max:  1200px;
  --nav-height:     64px;
  --mobile-cta-h:   72px;
  --gutter:         16px;

  /* ---- Typography scale (mobile-first) ---- */
  --fs-xs:   .75rem;   /* 12 */
  --fs-sm:   .875rem;  /* 14 */
  --fs-base: 1rem;     /* 16 */
  --fs-md:   1.125rem; /* 18 */
  --fs-lg:   1.25rem;  /* 20 */
  --fs-xl:   1.5rem;   /* 24 */
  --fs-2xl:  1.75rem;  /* 28 */
  --fs-3xl:  2rem;     /* 32 */
  --fs-4xl:  2.5rem;   /* 40 */
  --fs-5xl:  3rem;     /* 48 */

  /* ---- Legacy aliases (backward compat for pvc.html) ---- */
  --google-blue:    var(--color-blue);
  --google-red:     var(--color-red);
  --google-yellow:  var(--color-yellow);
  --google-green:   var(--color-green);
  --hover-bg:       var(--surface-100);
  --surface-color:  var(--surface-50);
  --border-color:   var(--surface-300);
  --transition-fast: var(--tr-fast);
  --shadow-sm:      var(--shadow-1);
  --shadow-hover:   var(--shadow-3);
}

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

html {
  font-size: 16px;                /* Prevents iOS zoom on focus */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--tr-fast);
}
a:hover { color: var(--color-blue-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl);  }
h4 { font-size: var(--fs-lg);  }

p { margin-bottom: 1rem; }

/* ==========================================================================
   3. CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   4. NAVBAR – Sticky Glassmorphism
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background var(--tr-base), box-shadow var(--tr-base);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--text-primary);
  white-space: nowrap;
}
.navbar-brand img,
.navbar-brand svg {
  height: 36px;
  width: auto;
}
.navbar-brand:hover { color: var(--color-primary); }

/* Desktop links – hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color var(--tr-fast), background var(--tr-fast);
  min-height: 48px;              /* Touch target */
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  background: rgba(66,133,244,.08);
}

/* CTA in nav */
.nav-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--tr-base), opacity var(--tr-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: 999;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
  gap: 4px;
  transform: translateX(100%);
  transition: transform var(--tr-slow);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--tr-fast);
  min-height: 48px;
}
.mobile-menu a:hover,
.mobile-menu a.active { background: rgba(66,133,244,.08); color: var(--color-primary); }

/* Mobile nav links list reset */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Hamburger button (SVG-based) */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: var(--radius-sm);
  transition: background var(--tr-fast);
}
.hamburger-btn:hover { background: rgba(0,0,0,.05); }
.hamburger-btn svg {
  transition: transform var(--tr-base);
}
.hamburger-btn.active svg {
  transform: rotate(90deg);
}

/* CTA Phone button in navbar */
.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--color-green, #34A853);
  color: white;
  border-radius: var(--radius-full, 50px);
  font-size: var(--fs-sm, 0.875rem);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--tr-fast), transform var(--tr-fast);
  white-space: nowrap;
}
.btn-cta-phone:hover {
  background: #2d9249;
  transform: scale(1.03);
}
.btn-cta-phone svg { flex-shrink: 0; }

/* Nav links desktop - hidden on mobile by default */
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
}

/* Brand text */
.brand-text {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

/* Nav icon button */
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full, 50px);
  color: var(--text-secondary, #5F6368);
  transition: background var(--tr-fast), color var(--tr-fast);
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
}
.nav-icon-btn:hover {
  background: rgba(0,0,0,.06);
  color: var(--text-primary, #202124);
}

@media (max-width: 768px) {
  .btn-phone-text { display: none; }
  .btn-cta-phone { padding: 8px 10px; }
  .nav-icon-btn { width: 36px; height: 36px; }
}

@media (min-width: 769px) {
  .nav-links { display: flex; }
  .hamburger-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 72px var(--gutter) 64px;
  background: var(--gradient-hero);
  color: var(--text-inverse);
  text-align: center;
  overflow: hidden;
}

/* Decorative blobs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: .12;
  pointer-events: none;
}
.hero::before {
  width: 500px; height: 500px;
  top: -180px; right: -120px;
  background: var(--color-blue);
  filter: blur(100px);
}
.hero::after {
  width: 400px; height: 400px;
  bottom: -140px; left: -100px;
  background: var(--color-green);
  filter: blur(90px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  margin-bottom: 20px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-yellow-light);
  border: 1px solid rgba(251,188,5,.3);
  border-radius: var(--radius-full);
  background: rgba(251,188,5,.1);
}

.hero h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 48px;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--tr-fast), box-shadow var(--tr-base), background var(--tr-base), color var(--tr-base);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

/* Primary */
.btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(66,133,244,.40);
  color: #fff;
}

/* Secondary / Outline */
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background: rgba(66,133,244,.08);
  color: var(--color-blue-dark);
}

/* White outline (for dark backgrounds) */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* Success / Green */
.btn-success {
  background: var(--gradient-success);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-success:hover {
  box-shadow: 0 6px 28px rgba(52,168,83,.40);
  color: #fff;
}

/* Small */
.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-sm);
  min-height: 40px;
}

/* Large */
.btn-lg {
  padding: 16px 36px;
  font-size: var(--fs-md);
}

/* Icon-only */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
}

/* Danger */
.btn-danger {
  background: var(--color-red);
  color: #fff;
}
.btn-danger:hover { background: #d93025; color: #fff; }

/* ==========================================================================
   7. SECTION UTILITIES
   ========================================================================== */
.section {
  padding: 48px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-header h2 {
  margin-bottom: 10px;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin-inline: auto;
}

/* ==========================================================================
   8. CATEGORIES GRID & CARDS
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.category-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Gradient border on hover */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-card);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--tr-base);
  pointer-events: none;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(66,133,244,.08);
  font-size: 28px;
  color: var(--color-primary);
  transition: background var(--tr-base), transform var(--tr-spring);
}
.category-card:hover .category-card-icon { transform: scale(1.08); }

.category-card-title {
  font-size: var(--fs-lg);
  font-weight: 700;
}

.category-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   9. LANDING PAGE LAYOUT (Content + Sidebar)
   ========================================================================== */
.landing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.landing-content {
  min-width: 0;
}
.landing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==========================================================================
   10. BREADCRUMB
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 16px 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--tr-fast);
}
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-separator {
  display: inline-block;
  margin: 0 2px;
  color: var(--surface-400);
  font-size: .7em;
}
.breadcrumb-separator::after { content: '›'; font-size: 1.3em; }
.breadcrumb .current {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   11. CONFIGURATOR LAYOUT
   ========================================================================== */
.configurator-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.configurator-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.configurator-panel-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface-200);
}

/* ==========================================================================
   12. FORM CONTROLS
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.form-select,
.form-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: var(--fs-base);    /* 16px – prevents iOS zoom */
  color: var(--text-primary);
  background: var(--surface-50);
  border: 1.5px solid var(--surface-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(66,133,244,.18);
}

/* Custom select arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235F6368' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox / toggle */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  cursor: pointer;
  font-size: var(--fs-base);
}
.form-check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border: 2px solid var(--surface-400);
  border-radius: var(--radius-xs);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background var(--tr-fast), border-color var(--tr-fast);
  flex-shrink: 0;
  position: relative;
}
.form-check input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px; left: 6px;
  width: 6px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(66,133,244,.25);
}

/* ==========================================================================
   13. PRICE DISPLAY
   ========================================================================== */
.price-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px;
}
.price-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.price-value {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--color-green);
  line-height: 1;
}
.price-value small {
  font-size: .5em;
  font-weight: 600;
}
.price-vat {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   14. CART / RIEPILOGO
   ========================================================================== */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-200);
  transition: border-color var(--tr-fast);
}
.cart-item:hover { border-color: var(--surface-300); }

.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-detail {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.cart-item-price {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--text-primary);
  white-space: nowrap;
}
.cart-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast);
  flex-shrink: 0;
}
.cart-item-remove:hover {
  background: rgba(234,67,53,.08);
  color: var(--color-red);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  margin-top: 8px;
  border-top: 2px solid var(--surface-200);
  font-size: var(--fs-lg);
  font-weight: 700;
}
.cart-total-value {
  color: var(--color-green);
  font-size: var(--fs-xl);
}

/* ==========================================================================
   15. REVIEWS
   ========================================================================== */
.reviews-section {
  padding: 48px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--tr-base);
}
.review-card:hover { box-shadow: var(--shadow-md); }

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-200);
}
.review-author {
  font-weight: 600;
  font-size: var(--fs-sm);
}
.review-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-yellow);
  font-size: 18px;
}
.stars .star-empty { color: var(--surface-300); }

.review-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   16. RISPARMIOMETRO
   ========================================================================== */
.risparmiometro {
  position: relative;
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: #fff;
  overflow: hidden;
}
.risparmiometro::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  top: -60px; right: -60px;
  background: var(--color-green);
  border-radius: 50%;
  opacity: .12;
  filter: blur(50px);
}
.risparmiometro-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.risparmiometro-value {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--color-green-light);
  line-height: 1;
  margin-bottom: 6px;
  position: relative;
}
.risparmiometro-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.7);
  position: relative;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.footer {
  background: var(--surface-900);
  color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 320px;
  margin: 0;
}
.footer-heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  transition: color var(--tr-fast);
  min-height: 48px;          /* Touch target */
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  margin-bottom: 12px;
}
.footer-contact-item i,
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-blue-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   18. STICKY MOBILE CTA BAR
   ========================================================================== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--mobile-cta-h);
  padding: 0 var(--gutter);
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
          backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
}
.mobile-cta-bar .btn {
  flex: 1;
  max-width: 360px;
}

/* Body padding when CTA bar visible */
body.has-mobile-cta { padding-bottom: var(--mobile-cta-h); }

/* ==========================================================================
   19. TRUST BADGES / USP
   ========================================================================== */
.usp-section {
  padding: 40px 0;
  background: #fff;
}
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}
.usp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  font-size: 24px;
  flex-shrink: 0;
}
.usp-icon.bg-blue   { background: rgba(66,133,244,.1);  color: var(--color-blue);   }
.usp-icon.bg-green  { background: rgba(52,168,83,.1);   color: var(--color-green);  }
.usp-icon.bg-yellow { background: rgba(251,188,5,.12);  color: var(--color-yellow); }
.usp-icon.bg-red    { background: rgba(234,67,53,.1);   color: var(--color-red);    }

.usp-text h4 {
  font-size: var(--fs-base);
  margin-bottom: 4px;
}
.usp-text p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   20. EXPLORE CATEGORIES (compact cards)
   ========================================================================== */
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.explore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: center;
  transition: transform var(--tr-fast), box-shadow var(--tr-base);
  min-height: 48px;
}
.explore-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}
.explore-card-icon {
  font-size: 28px;
}

/* ==========================================================================
   21. ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0;  }
}

.anim-fadeIn   { animation: fadeIn  .6s var(--ease-out) both; }
.anim-slideUp  { animation: slideUp .6s var(--ease-out) both; }
.anim-pulse    { animation: pulse 2s ease-in-out infinite; }

/* Stagger helpers */
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .2s; }
.anim-delay-3 { animation-delay: .3s; }
.anim-delay-4 { animation-delay: .4s; }
.anim-delay-5 { animation-delay: .5s; }

/* Scroll-reveal base (toggled via IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   22. ICON COLOUR CLASSES
   ========================================================================== */
.icon-blue   { color: var(--color-blue);   }
.icon-red    { color: var(--color-red);    }
.icon-yellow { color: var(--color-yellow); }
.icon-green  { color: var(--color-green);  }
.icon-dark   { color: var(--surface-800);  }

/* ==========================================================================
   23. UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-primary   { color: var(--color-primary) !important; }
.text-success   { color: var(--color-green) !important; }
.text-danger    { color: var(--color-red) !important; }
.text-warning   { color: var(--color-yellow) !important; }
.text-muted     { color: var(--text-muted) !important; }
.text-white     { color: #fff !important; }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.fs-sm   { font-size: var(--fs-sm); }
.fs-base { font-size: var(--fs-base); }
.fs-md   { font-size: var(--fs-md); }
.fs-lg   { font-size: var(--fs-lg); }
.fs-xl   { font-size: var(--fs-xl); }

/* Spacing (4px grid: 0 = 0, 1 = 4, 2 = 8 … 10 = 40, 12 = 48, 16 = 64) */
.mt-0 { margin-top: 0; }       .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 4px; }     .mb-1 { margin-bottom: 4px; }
.mt-2 { margin-top: 8px; }     .mb-2 { margin-bottom: 8px; }
.mt-3 { margin-top: 12px; }    .mb-3 { margin-bottom: 12px; }
.mt-4 { margin-top: 16px; }    .mb-4 { margin-bottom: 16px; }
.mt-5 { margin-top: 24px; }    .mb-5 { margin-bottom: 24px; }
.mt-6 { margin-top: 32px; }    .mb-6 { margin-bottom: 32px; }
.mt-8 { margin-top: 40px; }    .mb-8 { margin-bottom: 40px; }
.mt-10{ margin-top: 48px; }    .mb-10{ margin-bottom: 48px; }
.mt-12{ margin-top: 64px; }    .mb-12{ margin-bottom: 64px; }

.pt-0 { padding-top: 0; }      .pb-0 { padding-bottom: 0; }
.pt-4 { padding-top: 16px; }   .pb-4 { padding-bottom: 16px; }
.pt-6 { padding-top: 32px; }   .pb-6 { padding-bottom: 32px; }
.pt-8 { padding-top: 40px; }   .pb-8 { padding-bottom: 40px; }
.pt-10{ padding-top: 48px; }   .pb-10{ padding-bottom: 48px; }

.mx-auto { margin-inline: auto; }
.px-gutter { padding-inline: var(--gutter); }

.d-none    { display: none !important; }
.d-flex    { display: flex; }
.d-grid    { display: grid; }
.d-block   { display: block; }
.d-inline-flex { display: inline-flex; }

.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 24px; }

.rounded    { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.bg-white   { background: #fff; }
.bg-surface { background: var(--surface-50); }
.bg-dark    { background: var(--surface-900); color: #fff; }

.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

/* Visually hidden – accessible */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   24. CARD GENERIC
   ========================================================================== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: box-shadow var(--tr-base);
}
.card:hover { box-shadow: var(--shadow-md); }

.card-glass {
  background: var(--gradient-glass);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
}

/* ==========================================================================
   25. BADGES
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  line-height: 1.4;
}
.badge-blue   { background: rgba(66,133,244,.12);  color: var(--color-blue);  }
.badge-green  { background: rgba(52,168,83,.12);   color: var(--color-green); }
.badge-red    { background: rgba(234,67,53,.12);   color: var(--color-red);   }
.badge-yellow { background: rgba(251,188,5,.15);   color: #8a6d00;            }

/* ==========================================================================
   26. DIVIDER
   ========================================================================== */
.divider {
  height: 1px;
  background: var(--surface-200);
  border: none;
  margin: 24px 0;
}

/* ==========================================================================
   27. LOADING SKELETON
   ========================================================================== */
.skeleton {
  background: linear-gradient(90deg, var(--surface-200) 25%, var(--surface-100) 50%, var(--surface-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   28. TOOLTIP (CSS-only)
   ========================================================================== */
[data-tooltip] {
  position: relative;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #fff;
  background: var(--surface-800);
  border-radius: var(--radius-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr-fast), transform var(--tr-fast);
  z-index: 100;
}
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE  – Tablet  (≥ 640px)
   ========================================================================== */
@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }

  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }

  .hero { min-height: 480px; padding: 80px var(--gutter) 72px; }
  .hero h1 { font-size: var(--fs-4xl); }
  .hero-actions { flex-direction: row; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid    { grid-template-columns: repeat(2, 1fr); }
  .usp-grid        { grid-template-columns: repeat(2, 1fr); }
  .explore-grid    { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ==========================================================================
   RESPONSIVE  – Desktop  (≥ 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
    --nav-height: 72px;
  }

  h1 { font-size: var(--fs-5xl); }
  h2 { font-size: var(--fs-4xl); }

  /* Navbar – show desktop links, hide hamburger */
  .nav-links { display: flex; }
  .nav-cta   { display: inline-flex; }
  .hamburger { display: none; }

  .hero { min-height: 560px; padding: 100px var(--gutter) 88px; }
  .hero h1 { font-size: var(--fs-5xl); }
  .hero p  { font-size: var(--fs-lg); }

  .section { padding: 72px 0; }

  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .reviews-grid    { grid-template-columns: repeat(3, 1fr); }
  .usp-grid        { grid-template-columns: repeat(4, 1fr); }
  .explore-grid    { grid-template-columns: repeat(4, 1fr); }

  .landing-layout {
    grid-template-columns: 1fr 340px;
    gap: 40px;
  }

  .configurator-layout {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  /* Hide mobile CTA bar on desktop */
  .mobile-cta-bar { display: none; }
  body.has-mobile-cta { padding-bottom: 0; }
}

/* ==========================================================================
   RESPONSIVE  – Wide  (≥ 1280px)
   ========================================================================== */
@media (min-width: 1280px) {
  .landing-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .navbar,
  .mobile-cta-bar,
  .hamburger,
  .mobile-menu { display: none !important; }

  body { background: #fff; color: #000; font-size: 12pt; }
  .hero { min-height: auto; padding: 24px; background: #f5f5f5 !important; color: #000; }
  .hero h1, .hero p { color: #000; }
  .shadow-sm, .shadow-md, .shadow-lg,
  .card, .category-card, .review-card { box-shadow: none !important; border: 1px solid #ddd; }
}

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

/* ==========================================================================
   CLASS ALIASES — Bridge subagent CSS ↔ HTML class names
   ========================================================================== */

/* Brand (HTML uses .brand, CSS had .navbar-brand) */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--text-primary);
  white-space: nowrap;
  text-decoration: none;
}
.brand:hover { color: var(--color-primary); }
.brand span { color: var(--color-primary); }
.brand-text { letter-spacing: -0.025em; }

/* Navbar inner container */
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Nav icon buttons (WhatsApp, Facebook, dark mode) */
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.nav-icon-btn:hover {
  background: var(--surface-100);
  color: var(--color-primary);
}

/* Desktop nav links using ul/li */
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 4px;
}
.nav-links li { display: flex; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color var(--tr-fast), background var(--tr-fast);
  min-height: 48px;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: rgba(66,133,244,.08);
}

/* Desktop nav links (div-based for landing pages) */
.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-links-desktop .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color var(--tr-fast), background var(--tr-fast);
  min-height: 48px;
  text-decoration: none;
}
.nav-links-desktop .nav-link:hover { color: var(--color-primary); background: rgba(66,133,244,.08); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hamburger button */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
}

/* Cart button */
.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: background var(--tr-fast), color var(--tr-fast);
  text-decoration: none;
}
.cart-btn:hover { background: var(--surface-100); color: var(--color-primary); }
.cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* CTA phone button */
.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--color-green);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  min-height: 48px;
  transition: background var(--tr-fast), transform var(--tr-fast);
}
.btn-cta-phone:hover { background: var(--color-green-dark); transform: translateY(-1px); }
.btn-phone-text { display: none; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 999;
  padding: 16px;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; animation: slideDown .25s var(--ease-out); }
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--tr-fast);
  text-decoration: none;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(66,133,244,.08);
  color: var(--color-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #1a73e8 0%, #174ea6 40%, #0d47a1 100%);
  color: white;
  padding: 4rem 0 3rem;
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.hero-title strong { color: #FBBC05; }
.hero-subtitle {
  font-size: var(--fs-md);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-badge {
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}
.categories-section { background: var(--surface-50); }

/* ==========================================================================
   RISPARMIOMETRO BOX – Google gradient border
   ========================================================================== */
.risparmiometro-section { background: var(--surface-50); padding: 4rem 0; }
.risparmiometro-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.risparmiometro-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 3px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red), var(--color-yellow), var(--color-green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.risparmiometro-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 2rem;
}
.risparmiometro-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-green), #0d9e4a);
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: var(--shadow-green);
}
.risparmiometro-text { flex: 1; }
.risparmiometro-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.risparmiometro-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.risparmiometro-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 1rem;
}
.result-box {
  text-align: center;
  padding: 20px 12px;
  background: var(--surface-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-200);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}
.result-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.result-value {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--color-green-dark);
  margin-bottom: 4px;
}
.result-value sup { font-size: var(--fs-xs); }
.result-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.risparmiometro-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.5rem;
}
.risparmiometro-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 14px 28px;
  font-size: var(--fs-base);
  font-weight: 700;
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION
   ========================================================================== */
.reviews-section { padding: 4rem 0; background: white; }
.reviews-card {
  background: var(--surface-50);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
}
.reviews-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red), var(--color-yellow), var(--color-green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--surface-200);
}
.reviews-google-logo { flex-shrink: 0; }
.reviews-google-logo svg { display: block; }
.reviews-score {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.reviews-rating {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.reviews-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.reviews-stars svg { display: block; }
.reviews-count {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-weight: 500;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.review-card {
  background: white;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: white;
  flex-shrink: 0;
}
.review-card:nth-child(1) .review-avatar { background: var(--color-blue); }
.review-card:nth-child(2) .review-avatar { background: var(--color-red); }
.review-card:nth-child(3) .review-avatar { background: var(--color-green); }
.review-meta { flex: 1; }
.review-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}
.review-stars-small {
  display: flex;
  align-items: center;
  gap: 1px;
  margin: 2px 0;
}
.review-stars-small svg { display: block; }
.review-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.review-text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.reviews-link {
  display: block;
  text-align: center;
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--tr-fast);
}
.reviews-link:hover {
  background: rgba(66,133,244,.06);
  text-decoration: underline;
}

/* ==========================================================================
   USP SECTION – Why Choose Us – Google gradient borders
   ========================================================================== */
.usp-section { padding: 4rem 0; background: var(--surface-50); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.usp-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: white;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}
.usp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-red), var(--color-yellow), var(--color-green));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--tr-base);
}
.usp-card:hover::before { opacity: 1; }
.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.usp-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: transform var(--tr-base);
}
.usp-card:nth-child(1) .usp-icon { background: rgba(66,133,244,.1); color: var(--color-blue); }
.usp-card:nth-child(2) .usp-icon { background: rgba(234,67,53,.1); color: var(--color-red); }
.usp-card:nth-child(3) .usp-icon { background: rgba(251,188,5,.1); color: var(--color-yellow); }
.usp-card:nth-child(4) .usp-icon { background: rgba(52,168,83,.1); color: var(--color-green); }
.usp-card:hover .usp-icon { transform: scale(1.1); }
.usp-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.usp-desc {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   FOOTER – Dark Premium
   ========================================================================== */
.footer {
  background: var(--surface-900);
  color: var(--surface-400);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-col { }
.footer-brand {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: white;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.footer-brand strong { color: white; }
.footer-desc {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--surface-400);
  margin-bottom: 1rem;
}
.footer-phone {
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
}
.footer-phone a { color: var(--surface-300); }
.footer-phone a:hover { color: white; }
.footer-heading {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 6px; }
.footer-links a {
  color: var(--surface-400);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--tr-fast);
  display: inline;
}
.footer-links a:hover { color: white; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: var(--fs-sm);
}
.footer-contact-list svg { flex-shrink: 0; color: var(--surface-500); }
.footer-zona {
  padding: 1.25rem 0;
  border-top: 1px solid var(--surface-800);
  text-align: center;
}
.footer-zona p {
  font-size: var(--fs-xs);
  color: var(--surface-500);
  margin: 0;
}
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--surface-800);
  text-align: center;
}
.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--surface-500);
  margin: 0;
}

/* ==========================================================================
   LANDING PAGE COMPONENTS
   ========================================================================== */
.landing-hero {
  background: linear-gradient(135deg, #1a73e8, #174ea6, #0d47a1);
  color: white;
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.landing-h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.landing-subtitle {
  font-size: var(--fs-base);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-sm);
  border: 1px solid rgba(255,255,255,0.3);
}
.landing-content { padding: 3rem 0; }
.landing-text h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.landing-text p {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Breadcrumb */
.breadcrumb-bar {
  padding: 12px 0;
  border-bottom: 1px solid var(--surface-200);
  font-size: var(--fs-sm);
  background: var(--surface-50);
}
.breadcrumb-bar a {
  color: var(--color-primary);
  text-decoration: none;
}
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-sep {
  margin: 0 8px;
  color: var(--surface-400);
}

/* Explore categories */
.explore-section { padding: 3rem 0; }
.explore-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}
.explore-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.explore-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: white;
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast), transform var(--tr-fast);
}
.explore-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.explore-card-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* Form elements */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid var(--surface-300);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-primary);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  min-height: 48px;
  font-family: 'Inter', sans-serif;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(66,133,244,.15);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 480px) {
  .risparmiometro-results { grid-template-columns: 1fr; gap: 10px; }
  .risparmiometro-header { flex-direction: column; align-items: center; text-align: center; }
  .risparmiometro-icon { margin-bottom: 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: var(--fs-4xl); }
  .landing-h1 { font-size: var(--fs-4xl); }
  .btn-phone-text { display: inline; }
}

@media (min-width: 1024px) {
  .nav-links, .nav-links-desktop { display: flex; }
  .hamburger-btn { display: none; }
  .hero-title { font-size: var(--fs-5xl); }
  .hero { padding: 5rem 0 4rem; }
  .landing-h1 { font-size: var(--fs-4xl); }
  .explore-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .usp-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 5rem 0; }
  .risparmiometro-card { padding: 3rem; }
  .reviews-card { padding: 3rem; }
}

/* ==========================================================================
   FLOATING CALL BUTTON (Mobile Only)
   ========================================================================== */
.fab-call {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34A853, #1E8E3E);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 142, 62, 0.45), 0 2px 6px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fab-pulse 2s ease-in-out infinite;
}
.fab-call:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(30, 142, 62, 0.55), 0 3px 10px rgba(0,0,0,0.2);
}
.fab-call:active { transform: scale(0.95); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(30, 142, 62, 0.45), 0 2px 6px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 4px 24px rgba(30, 142, 62, 0.65), 0 0 0 8px rgba(52, 168, 83, 0.15); }
}
@media (min-width: 768px) {
  .fab-call { display: none; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .navbar, .footer, .fab-call, .hero-ctas, .btn-cta-phone, .mobile-menu { display: none !important; }
  .hero { min-height: auto; padding: 2rem 0; }
  .card, .category-card, .review-card, .usp-card, .risparmiometro-card, .reviews-card { box-shadow: none !important; border: 1px solid #ddd; }
  .usp-card::before, .risparmiometro-card::before, .reviews-card::before { display: none; }
}
