:root {
  --green: #2B6E3F;
  --green-dark: #1A4D2E;
  --green-light: #e6f2ea;
  --green-mist: #f0f7f2;

  --orange: #FF3D00;
  --orange-hover: #E63600;
  --orange-glow: rgba(255, 61, 0, 0.15);

  --brown-dark: #290402;
  --brown-warm: #5C3D2E;
  --brown-light: #8B6F5E;

  --cream: #FFFBEF;
  --cream-warm: #FFF8E7;
  --sage: #DFF6A4;
  --sage-muted: #eef7d6;
  --light-orange: #FFD18B;

  --white: #ffffff;
  --text: #290402;
  --text-muted: #5C3D2E;
  --text-light: #8B6F5E;
  --border: #e8e0d4;
  --border-light: #f0ebe4;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-xs: 0 1px 2px rgba(41, 4, 2, 0.04);
  --shadow-sm: 0 2px 8px rgba(41, 4, 2, 0.06);
  --shadow-md: 0 4px 16px rgba(41, 4, 2, 0.08);
  --shadow-lg: 0 8px 32px rgba(41, 4, 2, 0.1);
  --shadow-xl: 0 16px 48px rgba(41, 4, 2, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}


@property --animation-tick {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

@property --ring-radius {
  syntax: '<number>';
  inherits: false;
  initial-value: 100;
}

@property --ring-x {
  syntax: '<number>';
  inherits: false;
  initial-value: 50;
}

@property --ring-y {
  syntax: '<number>';
  inherits: false;
  initial-value: 50;
}


@keyframes hp-particles-ripple {
  0% { --animation-tick: 0; }
  100% { --animation-tick: 1; }
}

@keyframes hp-particles-ring {
  0% { --ring-radius: 140; }
  100% { --ring-radius: 320; }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--green-dark);
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--brown-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.2s var(--ease);
}

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

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 56px;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.header-brand:hover {
  color: var(--green-dark);
}

.header-logo {
  height: 28px;
  width: auto;
}

.header-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 12px 20px;
  z-index: 49;
}

.header-nav.nav-open {
  display: flex;
}

.header-link {
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.header-link:hover {
  color: var(--green);
  background: var(--green-light);
}

.header-cta {
  padding: 8px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  margin-left: auto;
}

.header-cta:hover {
  background: var(--orange-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 61, 0, 0.25);
}

.header-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 1px;
  transition: all 0.25s var(--ease);
  transform-origin: center;
}

.header-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 500;
}

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

.breadcrumb strong {
  color: var(--text-muted);
  font-weight: 600;
}

.hero-breadcrumb {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

.hero-breadcrumb > .container {
  font-size: 0.8125rem;
  color: rgba(43, 110, 63, 0.75);
  font-weight: 500;
}

.hero-breadcrumb a {
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
  pointer-events: auto;
}

.hero-breadcrumb a:hover {
  text-decoration: underline;
}

.hero-breadcrumb strong {
  color: var(--text);
  font-weight: 600;
}

.hero-breadcrumb span[aria-hidden] {
  margin: 0 4px;
  opacity: 0.5;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: 40px 0 64px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(43, 110, 63, 0.04), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 61, 0, 0.03), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content h1 .city-accent {
  color: var(--green);
}

/* ============================================
   HERO HIGHLIGHTS (clima data con icone)
   ============================================ */

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-highlight svg {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex-shrink: 0;
}

.hero-highlight strong {
  color: var(--brown-dark);
  font-weight: 700;
}

.hero-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 24px;
}

/* ============================================
   TRUST BADGES (prominent)
   ============================================ */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--green-light);
  border: 1.5px solid rgba(43, 110, 63, 0.15);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-dark);
  transition: all 0.2s var(--ease);
}

.trust-badge:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.trust-badge:hover svg {
  color: var(--white);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  transition: color 0.2s var(--ease);
}

.trust-badge span {
  white-space: nowrap;
}

.trust-badge-privacy {
  background: var(--cream-warm);
  border-color: rgba(255, 61, 0, 0.15);
  color: var(--brown-dark);
}

.trust-badge-privacy svg {
  color: var(--orange);
}

.trust-badge-privacy:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.trust-badge-privacy:hover svg {
  color: var(--white);
}

/* ============================================
   HERO FORM
   ============================================ */

.hero-form-wrapper {
  flex: 1;
  width: 100%;
}

/* ============================================
   FORM
   ============================================ */

.form-box {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-box h3 {
  font-size: 1.25rem;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.form-box input:not([type="checkbox"]):not([type="hidden"]),
.form-box select,
.form-box textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.form-field {
  margin-bottom: 12px;
}

.form-success {
  text-align: center;
  padding: 32px 24px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 26px;
  line-height: 56px;
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin: 0 0 8px;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--brown-warm);
  line-height: 1.6;
  margin: 0;
}

.form-error {
  margin-top: 10px;
  font-size: 0.875rem;
  color: #c0392b;
  font-weight: 500;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-optional {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.75rem;
}

.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.form-field input,
.form-field select,
.form-field textarea {
  margin-bottom: 0;
}

.form-box input:not([type="checkbox"]):not([type="hidden"]):focus,
.form-box select:focus,
.form-box textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 110, 63, 0.1);
}

.form-box input:not([type="checkbox"]):not([type="hidden"])::placeholder,
.form-box textarea::placeholder {
  color: var(--text-light);
}

.form-box select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C3D2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-box textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--green);
  text-decoration: underline;
  white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  padding: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.form-box button[type="submit"] {
  display: block;
  width: 100%;
  padding: 16px 32px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(255, 61, 0, 0.3);
  letter-spacing: 0.01em;
}

.form-box button[type="submit"]:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 61, 0, 0.35);
}

.form-box button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 61, 0, 0.2);
}

.form-box-compact {
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.servizi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.servizio-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  cursor: default;
}

.servizio-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green);
  transform: translateY(-4px);
}

.servizio-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s var(--ease);
}

.servizio-card:hover .card-icon {
  background: var(--green);
}

.servizio-card .card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  transition: color 0.3s var(--ease);
}

.servizio-card:hover .card-icon svg {
  color: var(--white);
}

.servizio-card h4 {
  margin-bottom: 10px;
  color: var(--brown-dark);
}

.servizio-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
  flex-grow: 1;
  line-height: 1.65;
}

.dato-evidenziato {
  color: var(--green-dark);
  font-weight: 700;
  background: var(--green-light);
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  transition: all 0.2s var(--ease);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question h3 {
  color: var(--brown-dark);
  font-size: 1.0625rem;
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

.faq-answer {
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: var(--green);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-section .form-box {
  border: none;
  box-shadow: var(--shadow-xl);
  text-align: left;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.before-after {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.ba-clip .ba-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 0;
  max-width: none;
  object-fit: cover;
}

.ba-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  pointer-events: none;
  transform: translateX(-50%);
}

.ba-handle-line {
  flex: 1;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.ba-label {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  pointer-events: none;
}

.ba-label-prima {
  left: 12px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
}

.ba-label-dopo {
  right: 12px;
  background: rgba(43, 110, 63, 0.85);
  color: var(--white);
}

/* ============================================
   CLIMATE DATA GRID
   ============================================ */

.griglia-dati {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 40px 0;
  overflow: hidden;
}

.dato-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s var(--ease);
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.dato-box::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.dato-box:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.dato-box:hover::before {
  opacity: 1;
}

.dato-box .valore {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  word-break: break-word;
  position: relative;
  z-index: 1;
}

.dato-box .etichetta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

.dato-box:nth-child(1)::before {
  background: linear-gradient(180deg, rgba(255, 120, 50, 0.06) 0%, rgba(255, 61, 0, 0.1) 100%);
}

.dato-box:nth-child(1)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 1;
}

.dato-box:nth-child(1):hover::after {
  opacity: 0.6;
}

.dato-box:nth-child(2)::before {
  background:
    radial-gradient(1.5px 1.5px at 20% 0%, rgba(43, 110, 63, 0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 50% 0%, rgba(43, 110, 63, 0.3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 80% 0%, rgba(43, 110, 63, 0.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 0%, rgba(43, 110, 63, 0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 65% 0%, rgba(43, 110, 63, 0.28) 50%, transparent 51%);
  background-size: 100% 24px;
  animation: none;
}

.dato-box:nth-child(2):hover::before {
  animation: pioggia 0.7s linear infinite;
}

@keyframes pioggia {
  0% { background-position: 0 -24px; }
  100% { background-position: 0 100%; }
}

.dato-box:nth-child(3)::before {
  background:
    radial-gradient(2px 2px at 15% 0%, rgba(43, 110, 63, 0.2) 50%, transparent 51%),
    radial-gradient(3px 3px at 40% 0%, rgba(43, 110, 63, 0.15) 50%, transparent 51%),
    radial-gradient(2px 2px at 70% 0%, rgba(43, 110, 63, 0.2) 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 85% 0%, rgba(43, 110, 63, 0.18) 50%, transparent 51%),
    radial-gradient(2px 2px at 30% 0%, rgba(43, 110, 63, 0.15) 50%, transparent 51%),
    radial-gradient(3px 3px at 55% 0%, rgba(43, 110, 63, 0.12) 50%, transparent 51%);
  background-size: 100% 32px;
  animation: none;
}

.dato-box:nth-child(3):hover::before {
  animation: neve 1.8s linear infinite;
}

@keyframes neve {
  0% { background-position: 0 -32px; }
  100% { background-position: 20px 100%; }
}

.dato-box:nth-child(4)::before {
  background: radial-gradient(ellipse at 50% 80%, rgba(43, 110, 63, 0.08), transparent 60%);
}

.dato-box:nth-child(4)::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232B6E3F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22c-4-3-8-6-8-11a8 8 0 0 1 16 0c0 5-4 8-8 11z'/%3E%3Cpath d='M12 8v6M9 11h6'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0;
  transition: all 0.4s var(--ease);
  z-index: 1;
}

.dato-box:nth-child(4):hover::after {
  opacity: 0.35;
  transform: translateX(-50%) scale(1);
}

.dato-box:nth-child(5)::before {
  background: radial-gradient(circle at 50% 70%, rgba(43, 110, 63, 0.1) 0%, transparent 50%);
  animation: none;
}

.dato-box:nth-child(5):hover::before {
  animation: ripple 1.5s ease-out infinite;
}

@keyframes ripple {
  0% {
    background: radial-gradient(circle at 50% 70%, rgba(43, 110, 63, 0.12) 0%, transparent 15%);
  }
  100% {
    background: radial-gradient(circle at 50% 70%, rgba(43, 110, 63, 0) 0%, transparent 55%);
  }
}

.dato-box:nth-child(6)::before {
  background:
    linear-gradient(135deg, transparent 40%, rgba(43, 110, 63, 0.04) 40%, rgba(43, 110, 63, 0.06) 55%, transparent 55%),
    linear-gradient(160deg, transparent 55%, rgba(43, 110, 63, 0.03) 55%, rgba(43, 110, 63, 0.05) 70%, transparent 70%);
}

/* ============================================
   TABLES
   ============================================ */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  background: var(--white);
  margin: 24px 0;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 600px;
}

th, td {
  padding: 14px 12px;
  text-align: center;
  border: none;
}

th {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

th:first-child {
  text-align: left;
  padding-left: 20px;
}

td {
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 500;
}

td:first-child {
  text-align: left;
  padding-left: 20px;
  font-weight: 600;
  color: var(--text);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background: var(--cream);
}

tbody tr:hover {
  background: var(--green-light);
}

/* ============================================
   DESKTOP/MOBILE TOGGLE
   ============================================ */

.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 639px) {
  .mobile-only {
    display: block;
  }

  .mobile-only.mobile-accordion {
    display: flex;
  }

  .desktop-only {
    display: none;
  }
}

/* ============================================
   CURRENT MONTH HIGHLIGHT (desktop table)
   ============================================ */

tbody tr.mese-corrente {
  background: var(--sage-muted);
  position: relative;
}

tbody tr.mese-corrente td {
  font-weight: 700;
  color: var(--green-dark);
}

tbody tr.mese-corrente td:first-child::after {
  content: " \2190  ora";
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================
   MOBILE MONTH ACCORDION
   ============================================ */

.mobile-accordion {
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
}

.month-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.month-card[open] {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.month-card.mese-corrente {
  border-color: var(--green);
  border-width: 2px;
  background: var(--sage-muted);
}

.month-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--brown-dark);
}

.month-card-header::-webkit-details-marker {
  display: none;
}

.month-card-header::marker {
  display: none;
  content: '';
}

.month-name {
  flex: 1;
}

.badge-corrente {
  display: inline-block;
  padding: 2px 8px;
  background: var(--green);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.month-card .faq-chevron {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.3s var(--ease);
}

.month-card[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

.month-card-body {
  padding: 0 16px 16px;
}

.month-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}

.month-row:last-child {
  border-bottom: none;
}

.month-row-full {
  flex-direction: column;
  gap: 4px;
}

.month-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.month-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

/* ============================================
   PLANTS SECTION
   ============================================ */

.piante-search-wrap {
  position: relative;
  max-width: 400px;
  margin: 0 auto 32px;
}

.piante-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-light);
  pointer-events: none;
}

.piante-search {
  display: block;
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.piante-search:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 110, 63, 0.1);
}

.piante-search::placeholder {
  color: var(--text-light);
}

.piante-categoria {
  margin-bottom: 28px;
}

.piante-cat-title {
  text-align: center;
  margin-bottom: 14px;
  font-size: 1.125rem;
  color: var(--brown-dark);
}

.piante-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  justify-content: center;
}

.pianta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--green);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid var(--green-light);
  transition: all 0.2s var(--ease);
  text-decoration: none;
  cursor: pointer;
}

.pianta-tag:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   INTERNAL LINKS
   ============================================ */

.links-section {
  padding: 48px 0;
}

.links-group {
  text-align: center;
  margin-bottom: 40px;
}

.links-group:last-child {
  margin-bottom: 0;
}

.links-group h2,
.links-group h3 {
  margin-bottom: 20px;
}

.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.link-citta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-xs);
}

.link-citta:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 0 24px;
  font-size: 0.875rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.footer-attribution {
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-bottom: 0;
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
}

.cookie-modal h3 {
  font-size: 1.125rem;
  color: var(--brown-dark);
  margin: 0 0 12px;
}

.cookie-modal p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 24px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.cookie-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.cookie-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cookie-btn-accept {
  background: var(--green);
  color: var(--white);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

.cookie-btn-reject:hover {
  color: var(--text);
  border-color: var(--text-light);
}

.cookie-link {
  font-size: 0.8125rem;
  color: var(--text-light);
  text-decoration: underline;
}

.cookie-link:hover {
  color: var(--green);
}

/* ============================================
   GATED SECTIONS (cookie reject)
   ============================================ */

.section-gated {
  position: relative;
}

.section-gated > .container {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s;
}

.section-gated .gate-notice {
  display: flex;
}

.section-gated.section-unlocked > .container {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}

.section-gated.section-unlocked .gate-notice {
  display: none;
}

.gate-notice {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.gate-notice-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 36px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  max-width: 400px;
}

.gate-notice-box p {
  font-size: 0.9375rem;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.5;
}

.gate-notice-box button {
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--green);
  color: var(--white);
  transition: opacity 0.15s;
}

.gate-notice-box button:hover {
  opacity: 0.9;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
  padding: 96px 0 64px;
}

.legal-page h1 {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.legal-date {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.25rem;
  color: var(--brown-dark);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.legal-page h3 {
  font-size: 1.0625rem;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-page ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-page li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.875rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
}

.legal-table th {
  background: var(--cream);
  font-weight: 600;
  color: var(--brown-dark);
}

.legal-table td {
  background: var(--white);
}

.legal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 24px;
}

.legal-table-wrap .legal-table {
  margin: 0;
  min-width: 480px;
}

@media (max-width: 640px) {
  .legal-table {
    font-size: 0.8125rem;
  }
  .legal-table th,
  .legal-table td {
    padding: 8px;
  }
}

/* ============================================
   FONTE (source text)
   ============================================ */

.fonte {
  font-size: 0.8125rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 16px;
}

/* ============================================
   RESPONSIVE: TABLET (>=640px)
   ============================================ */

@media (min-width: 640px) {
  .header-inner {
    padding: 0 32px;
  }

  .header-hamburger {
    display: none;
  }

  .header-nav {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border-bottom: none;
    box-shadow: none;
    padding: 0;
    flex: 1;
    justify-content: center;
    gap: 2px;
  }

  .header-link {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }

  .container {
    padding: 0 32px;
  }

  .breadcrumb {
    padding: 16px 32px;
  }

  .section {
    padding: 80px 0;
  }

  .form-box {
    padding: 36px 32px;
  }

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

  .griglia-dati {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .dato-box {
    padding: 28px 20px;
  }

  .dato-box .valore {
    font-size: 2rem;
    word-break: normal;
  }

  .hero-highlights {
    padding: 24px;
  }
}

/* ============================================
   RESPONSIVE: DESKTOP (>=1024px)
   ============================================ */

@media (min-width: 1024px) {
  .header-nav {
    gap: 4px;
  }

  .header-link {
    padding: 6px 14px;
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .hero-content {
    flex: 1;
  }

  .hero-form-wrapper {
    flex: 1;
    max-width: 460px;
  }

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

  .servizio-card {
    padding: 32px 28px;
  }

  .griglia-dati {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .dato-box .valore {
    font-size: 2.25rem;
    word-break: normal;
  }

  .cta-section {
    padding: 96px 0;
  }

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

  .hero-highlights {
    padding: 24px 28px;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 4px;
  }

  .hero-highlight {
    flex: 1 1 44%;
    padding: 8px 0;
  }

  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

/* ============================================
   RESPONSIVE: LARGE (>=1280px)
   ============================================ */

@media (min-width: 1280px) {
  .hero {
    padding: 36px 0 48px;
  }

  .hero-grid {
    gap: 56px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

/* ============================================
   HOMEPAGE - HERO
   ============================================ */

.site-header--transparent {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header--transparent.scrolled {
  background: rgba(255, 251, 239, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}

.hp-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 56px);
  min-height: calc(100dvh - 56px);
  padding: 64px 0 56px;
  overflow: hidden;
}

.hp-accent {
  color: var(--orange);
}

.hp-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, var(--green-light) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 100%, rgba(223, 246, 164, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 209, 139, 0.15) 0%, transparent 40%),
    var(--cream);
  z-index: 0;
}

.hp-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

@supports (background: paint(something)) {
  .hp-hero-particles {
    --particle-count: 160;
    --particle-size: 5;
    --particle-color: #2B6E3F;
    --particle-min-alpha: 0.0;
    --particle-max-alpha: 0.60;
    --ring-thickness: 50;
    --seed: 42;
    background-image: paint(leaf-particles);
    animation: hp-particles-ripple 6s linear infinite,
               hp-particles-ring 6s ease-in-out infinite alternate;
    transition: --ring-x 3s ease, --ring-y 3s ease;
  }
}

.hp-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  padding-left: 12px;
  padding-right: 12px;
}

.hp-hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--brown-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hp-hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

/* ============================================
   HOMEPAGE - SEARCH BAR
   ============================================ */

.hp-search-wrap {
  width: 100%;
  max-width: 640px;
  position: relative;
  margin-bottom: 40px;
}

.hp-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.hp-search-icon {
  position: absolute;
  left: 20px;
  width: 22px;
  height: 22px;
  color: var(--text-light);
  pointer-events: none;
  transition: color 0.2s var(--ease);
  z-index: 2;
}

.hp-search-input {
  width: 100%;
  height: 60px;
  padding: 0 50px 0 56px;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(43, 110, 63, 0);
  transition: border-color 0.2s var(--ease), box-shadow 0.3s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.hp-search-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.hp-search-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(43, 110, 63, 0.1);
}

.hp-search-input:focus ~ .hp-search-icon {
  color: var(--green);
}

.hp-search-wrap--active .hp-search-input {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom-color: var(--border-light);
}

.hp-search-kbd {
  position: absolute;
  right: 16px;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  display: none;
  z-index: 2;
}

/* ============================================
   HOMEPAGE - SEARCH RESULTS DROPDOWN
   ============================================ */

.hp-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid var(--green);
  border-top: 1px solid var(--border-light);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.hp-results--open {
  display: block;
}

.hp-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s var(--ease);
  cursor: pointer;
}

.hp-result:last-child {
  border-bottom: none;
}

.hp-result:hover,
.hp-result--active {
  background: var(--green-mist);
}

.hp-result-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.hp-result-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--green);
}

.hp-result-sigla {
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
  min-width: 24px;
  text-align: center;
}

.hp-result-name {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.hp-result-name strong {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brown-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-result-loc {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
}

.hp-result-data {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hp-result-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--cream);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.hp-result-chip svg {
  color: var(--green);
  flex-shrink: 0;
}

.hp-results-empty {
  padding: 24px 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ============================================
   HOMEPAGE - TRUST BAR
   ============================================ */

.hp-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hp-trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.hp-trust-item strong {
  font-weight: 700;
  color: var(--brown-dark);
}

/* ============================================
   HOMEPAGE - REGIONS GRID
   ============================================ */

.hp-regions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hp-regions-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.hp-regions-grid a:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: var(--green-dark);
}

.hp-regions-grid a svg {
  width: 16px;
  height: 16px;
  color: var(--text-light);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.hp-regions-grid a:hover svg {
  color: var(--green);
  transform: translateX(2px);
}

/* ============================================
   HOMEPAGE - HOW IT WORKS
   ============================================ */

.hp-how {
  background: var(--cream);
  padding: 80px 0;
}

.hp-how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

.hp-how-item {
  position: relative;
}

.hp-how-ghost {
  display: block;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(43, 110, 63, 0.07);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: -24px;
  user-select: none;
  text-decoration: underline;
  text-decoration-color: rgba(43, 110, 63, 0.18);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hp-how-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border: 1px solid rgba(43, 110, 63, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hp-how-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 10px;
}

.hp-how-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   HOMEPAGE - RESPONSIVE TABLET (>=768px)
   ============================================ */

@media (min-width: 768px) {
  .hp-hero-sub {
    font-size: 1.1875rem;
  }

  .hp-search-input {
    height: 64px;
    font-size: 1.125rem;
    padding-left: 60px;
  }

  .hp-search-icon {
    left: 24px;
    width: 24px;
    height: 24px;
  }

  .hp-regions-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .hp-how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .hp-how-grid::after {
    content: '';
    position: absolute;
    top: 80px;
    left: calc(33.33% + 16px);
    right: calc(33.33% + 16px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(43, 110, 63, 0.15), transparent);
    pointer-events: none;
  }
}

/* ============================================
   HOMEPAGE - RESPONSIVE DESKTOP (>=1024px)
   ============================================ */

@media (min-width: 1024px) {

  .hp-search-input {
    height: 68px;
    font-size: 1.1875rem;
  }

  .hp-result-data {
    gap: 8px;
  }

  .hp-result-chip {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .hp-regions-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

}

/* ============================================
   HOMEPAGE - RESPONSIVE MOBILE (<768px)
   ============================================ */

@media (max-width: 767px) {
  .hp-hero {
    padding-top: 40px;
  }

  .hp-hero-badge {
    font-size: 0.75rem;
    margin-bottom: 20px;
  }


  .hp-hero-sub {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .hp-search-wrap {
    margin-bottom: 32px;
  }

  .hp-search-input {
    height: 54px;
    font-size: 1rem;
    padding-left: 48px;
  }

  .hp-search-icon {
    left: 16px;
  }

  .hp-search-kbd {
    display: none !important;
  }

  .hp-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }

  .hp-result-data {
    flex-wrap: wrap;
    gap: 4px;
  }

  .hp-trust-bar {
    gap: 16px;
  }

  .hp-trust-item {
    font-size: 0.8125rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.form-box input:not([type="checkbox"]):not([type="hidden"]):focus-visible,
.form-box select:focus-visible,
.form-box textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-color: var(--green);
}

/* ============================================
   HUB PAGES - HERO
   ============================================ */

.hero-hub {
  padding: 40px 0 56px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, var(--green-light) 0%, transparent 65%),
    var(--cream);
}

.hero-hub h1 {
  margin-bottom: 16px;
}

.hero-hub .hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 28px;
}

/* ============================================
   HUB PAGES - STATS BAR
   ============================================ */

.hub-stats-bar {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 16px 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  row-gap: 12px;
}

.hub-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  text-align: center;
}

.hub-stat:first-child {
  padding-left: 0;
}

.hub-stat:last-child {
  padding-right: 0;
}

.hub-stat-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hub-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.hub-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================
   HUB PAGES - SEARCH FILTER
   ============================================ */

.hub-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 480px;
}

.hub-search-icon {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 18px;
  color: var(--text-light);
  pointer-events: none;
}

.hub-search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.hub-search-input::placeholder {
  color: var(--text-light);
}

.hub-search-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 110, 63, 0.1);
}

/* ============================================
   HUB REGIONALE - REGION CONTEXT
   ============================================ */

.region-context-section {
  background: var(--green-mist);
  border-top: 1px solid rgba(43, 110, 63, 0.1);
  border-bottom: 1px solid rgba(43, 110, 63, 0.1);
  padding: 40px 0;
}

.region-context-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.rctx-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.rctx-clima-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(43, 110, 63, 0.12);
  color: var(--green-dark);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.rctx-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.rctx-sub {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-light);
}

.rctx-sub strong {
  color: var(--green-dark);
  font-weight: 700;
}

.rctx-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex-shrink: 0;
}

.rctx-stat {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  min-width: 100px;
}

.rctx-stat-icon {
  width: 22px;
  height: 22px;
  margin: 0 auto 6px;
}

.rctx-stat-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.rctx-stat-val {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 3px;
}

.rctx-stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .region-context-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rctx-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .rctx-stat {
    padding: 10px 8px;
    min-width: 0;
  }

  .rctx-stat-val {
    font-size: 0.9375rem;
  }
}

/* ============================================
   HUB REGIONALE - FEATURED CITIES GRID
   ============================================ */

.featured-cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.featured-city-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.featured-city-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  color: var(--text);
}

.featured-city-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.featured-city-sigla {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.featured-city-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
}

.featured-city-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.featured-city-temp {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.featured-city-pop {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   HUB REGIONALE - PROVINCE GRID
   ============================================ */

.province-group {
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.province-group:last-child {
  margin-bottom: 0;
}

.province-group[open] {
  border-color: var(--border);
}

.province-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  background: var(--white);
  transition: background 0.15s ease;
  gap: 8px;
}

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

.province-summary::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
  margin-left: auto;
}

.province-group[open] > .province-summary::after {
  transform: rotate(180deg);
}

.province-group[open] > .province-summary {
  background: var(--green-light);
  color: var(--green-dark);
  border-bottom: 1px solid var(--border-light);
}

.province-summary:hover {
  background: var(--bg-alt);
}

.province-count {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-left: 4px;
}

.province-group .province-cities-grid {
  padding: 14px 18px 18px;
  background: var(--white);
}

.province-cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.province-city-link {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.15s var(--ease);
  white-space: nowrap;
}

.province-city-link:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ============================================
   HUB REGIONALE - CTA SECTION
   ============================================ */

.hub-cta {
  background: var(--green);
  padding: 56px 0;
  text-align: center;
}

.hub-cta-title {
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hub-cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hub-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hub-cta-btn:hover {
  background: var(--orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ============================================
   HUB NAZIONALE - TRUST STRIP
   ============================================ */

.trust-strip {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trust-strip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trust-strip-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.trust-strip-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.trust-strip-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   HUB NAZIONALE - CLIMATE ZONES
   ============================================ */

.climate-zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.climate-zone-card {
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.climate-zone-card--nord {
  background: linear-gradient(145deg, #e8f4ff 0%, #daeeff 100%);
  border: 1.5px solid #c0dcf5;
}

.climate-zone-card--centro {
  background: linear-gradient(145deg, #e6f5eb 0%, #d4edda 100%);
  border: 1.5px solid #b8dfc4;
}

.climate-zone-card--sud {
  background: linear-gradient(145deg, #fff4e8 0%, #fde8cc 100%);
  border: 1.5px solid #f5d0a0;
}

.climate-zone-icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 14px;
}

.climate-zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  width: fit-content;
}

.climate-zone-card--nord .climate-zone-tag {
  background: rgba(37,99,235,0.1);
  color: #1d4ed8;
}

.climate-zone-card--centro .climate-zone-tag {
  background: rgba(43,110,63,0.12);
  color: var(--green-dark);
}

.climate-zone-card--sud .climate-zone-tag {
  background: rgba(224,122,42,0.12);
  color: #b85a10;
}

.climate-zone-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}

.climate-zone-usda {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.climate-zone-card--nord .climate-zone-usda {
  background: rgba(37,99,235,0.08);
  color: #1d4ed8;
}

.climate-zone-card--centro .climate-zone-usda {
  background: rgba(43,110,63,0.1);
  color: var(--green);
}

.climate-zone-card--sud .climate-zone-usda {
  background: rgba(224,122,42,0.1);
  color: #b85a10;
}

.climate-zone-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}

.climate-zone-seasons {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.climate-zone-season {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.06);
  color: var(--text-muted);
}

.climate-zone-plants {
  font-size: 0.8125rem;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.climate-zone-plants strong {
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .climate-zones-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HUB NAZIONALE - REGION CARDS
   ============================================ */

.regions-grid-detailed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.region-card-detailed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  position: relative;
}

.region-card-detailed::after {
  content: '\2192';
  position: absolute;
  bottom: 18px;
  right: 20px;
  font-size: 1rem;
  color: var(--text-light);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.region-card-detailed:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.region-card-detailed:hover::after {
  color: var(--green);
  transform: translateX(3px);
}

.region-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.region-card-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.2;
}

.region-card-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.region-card-badge--nord {
  background: #EBF4FF;
  color: #2563EB;
}

.region-card-badge--centro {
  background: var(--green-light);
  color: var(--green-dark);
}

.region-card-badge--sud {
  background: #FFF3EE;
  color: var(--orange-hover);
}

.region-card-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
}

.region-card-cities {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 20px;
}

/* ============================================
   HUB NAZIONALE - SERVICE CARDS
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card-hub {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.service-card-hub:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.service-icon-hub {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.service-card-hub h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.service-card-hub p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   HUB NAZIONALE - HERO CTA
   ============================================ */

.hub-hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s var(--ease);
  box-shadow: 0 4px 16px rgba(255, 61, 0, 0.25);
}

.hub-hero-cta:hover {
  background: var(--orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 61, 0, 0.3);
}

/* ============================================
   HUB PAGES - RESPONSIVE TABLET (>=768px)
   ============================================ */

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

  .featured-cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .regions-grid-detailed {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .service-card-hub {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================
   HUB PAGES - RESPONSIVE DESKTOP (>=1024px)
   ============================================ */

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

  .regions-grid-detailed {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   HUB PAGES - RESPONSIVE MOBILE (<768px)
   ============================================ */

@media (max-width: 767px) {
  .hub-stats-bar {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    padding: 14px 16px;
    width: 100%;
  }

  .hub-stat-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
  }

  .hub-stat {
    padding: 6px 8px;
  }

  .hub-stat-value {
    font-size: 1.125rem;
  }

  .hub-search-wrap {
    max-width: 100%;
  }

  .region-context-section {
    padding: 28px 0;
  }

  .hub-cta {
    padding: 40px 0;
  }

  .service-card-hub {
    flex-direction: row;
  }

  .service-icon-hub {
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   ITALY MAP (hub nazionale)
   ============================================ */

.map-only-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: linear-gradient(160deg, #f4fbf6 0%, #edf8f1 60%, #f5f7f0 100%);
  border-radius: 20px;
  padding: 36px 24px 40px;
  border: 1.5px solid var(--border-light);
}

.map-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 8px 20px;
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: uppercase;
}

.map-legend-item::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.map-legend-item--nord::before   { background: #5da97e; }
.map-legend-item--centro::before { background: #3d8f61; }
.map-legend-item--sud::before    { background: #e8924a; }
.map-legend-item--isole::before  { background: #d46d3a; }

.italy-map-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.italy-map {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(43,110,63,0.13));
}

.rp {
  stroke: rgba(255,255,255,0.85);
  stroke-width: 0.6;
  cursor: pointer;
  transition: filter 0.18s ease;
}

.rp--nord   { fill: #5da97e; }
.rp--centro { fill: #3d8f61; }
.rp--sud    { fill: #e8924a; }
.rp--isole  { fill: #d46d3a; }

.rpl:hover .rp,
.rpl:focus-within .rp {
  filter: brightness(1.18) saturate(1.2) drop-shadow(0 2px 8px rgba(0,0,0,0.18));
  stroke: #fff;
  stroke-width: 1;
}

.rpl:focus-within { outline: none; }

.map-tooltip {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 30;
  top: 0;
  left: 0;
  min-width: 200px;
}

.map-tooltip.visible {
  opacity: 1;
}

.map-tooltip-inner {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
}

.map-tooltip-head {
  padding: 10px 14px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.map-tooltip-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.map-tooltip-zone {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.map-tooltip-zone--nord   { background: #e8f5ee; color: #2a7a50; }
.map-tooltip-zone--centro { background: #e2f0e8; color: #1e6640; }
.map-tooltip-zone--sud    { background: #fdf0e6; color: #c0622a; }
.map-tooltip-zone--isole  { background: #fbeae0; color: #a84f24; }

.map-tooltip-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px 14px;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.map-tooltip-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.map-tooltip-stat-val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}

.map-tooltip-stat-lbl {
  font-size: 0.6875rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.map-tooltip-cities {
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-tooltip-cities strong {
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 600px) {
  .italy-map-wrap {
    max-width: 340px;
  }

  .map-tooltip {
    display: none;
  }
}
