/* ============================================================
   ACERBIS PAESAGGISTICA SA — Premium Stylesheet
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
/* Font ospitati sul sito (prima da fonts.googleapis.com). Fonte: Google Fonts, licenza SIL OFL. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --green-900: #0f2318;
  --green-800: #1a3320;
  --green-700: #244a2e;
  --green-600: #2d5a3d;
  --green-500: #3d7a54;
  --green-400: #4d9a68;
  --green-300: #7ab88f;
  --green-200: #aed4bc;
  --green-100: #e0efe6;
  --green-50: #f3f9f5;

  --gold-500: #b8924a;
  --red-50: #fdf3f2;
  --red-200: #f0c9c4;
  --red-700: #8a2f25;
  --gold-400: #c9a96e;
  --gold-300: #dfc99a;
  --gold-100: #f5edd8;

  --cream: #f9f5ef;
  --white: #ffffff;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .05);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12), 0 4px 12px rgba(0, 0, 0, .06);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, .16);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Impedisce che la pagina rimanga bianca se JS è disabilitato o lento */
html {
  opacity: 1 !important;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── Typography ───────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--green-800);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--gray-500);
  line-height: 1.8;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1440px;
}

.container--narrow {
  max-width: 760px;
}

section {
  padding: 96px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}

.btn-primary:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--white);
  border-color: var(--gold-500);
}

.btn-gold:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Header / Navigation ──────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 25, 15, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, .2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 70%;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-500);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.nav-cta {
  padding: 9px 20px !important;
  background: var(--gold-500) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  background: var(--gold-400) !important;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .75);
  flex-shrink: 0;
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  color: var(--gold-400);
}

.nav-phone span {
  font-weight: 500;
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.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);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-garden.webp');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 25, 15, 0.85) 0%,
      rgba(10, 25, 15, 0.5) 50%,
      rgba(10, 25, 15, 0.3) 100%);
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 140px 0 100px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-eyebrow-line {
  width: 48px;
  height: 1px;
  background: var(--gold-400);
}

.hero-eyebrow-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-style: italic;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-300);
}

.hero .lead {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-number sup {
  font-size: 1.2rem;
}

.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .4);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .4), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── Section Headers ──────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

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

.section-header .lead {
  margin: 0 auto;
}

.section-header--left {
  text-align: left;
  max-width: none;
  margin: 0 0 56px;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 24px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: var(--green-200);
  max-width: 64px;
}

.section-divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ── Services Section ─────────────────────────────────────── */
.services-section {
  background: var(--cream);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  /* overflow:hidden rimosso — era quello che tagliava l'icona posizionata a bottom:-20px */
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  aspect-ratio: 4/3;
  /* overflow:hidden rimosso — clippava l'icona bottom:-20px; il clip è ora sull'img */
  overflow: visible;
  background: var(--green-100);
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card-image img {
  /* Posizione assoluta: così height:100% si risolve contro l'altezza del box
     definita da aspect-ratio. Senza questo, con immagini verticali l'img
     manteneva il rapporto naturale e il box cresceva (card asimmetriche). */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  /* clip-path sostituisce overflow:hidden: arrotonda gli angoli top e regge lo zoom hover */
  clip-path: inset(0 round var(--radius-lg) var(--radius-lg) 0 0);
  display: block;
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
}

.service-card-icon {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--gold-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.service-card-body {
  padding: 36px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card-body p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-600);
  transition: var(--transition);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

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

.service-link:hover svg {
  transform: translateX(4px);
}

/* ── About Section ────────────────────────────────────────── */
.about-section {
  background: var(--white);
}

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--green-200);
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--green-800);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-image-badge-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1;
}

.about-image-badge-text {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
  white-space: pre-line;
}

.about-content {
  padding-left: 24px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content .lead {
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-value-icon {
  width: 40px;
  height: 40px;
  background: var(--green-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-value-icon svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
}

.about-value h4 {
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: var(--green-800);
}

.about-value p {
  font-size: 0.82rem;
  margin: 0;
}

/* ── Why Us Section ───────────────────────────────────────── */
.why-section {
  background: var(--green-800);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .02);
  pointer-events: none;
}

.why-section .section-label {
  color: var(--gold-300);
}

.why-section h2 {
  color: var(--white);
}

.why-section .lead {
  color: rgba(255, 255, 255, .65);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}

.why-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: var(--transition);
}

.why-item:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(201, 169, 110, .3);
}

.why-item-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(201, 169, 110, .25);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.why-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.why-item p {
  color: rgba(255, 255, 255, .55);
  font-size: 0.875rem;
  margin: 0;
}

.why-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--green-700);
  position: relative;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section {
  background: var(--cream);
}

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

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 3px solid transparent;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--gold-500);
}

.review-stars {
  display: flex;
  gap: 4px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-500);
  color: var(--gold-500);
}

.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.65;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-700);
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.9rem;
}

.review-author-place {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ── Areas Section ────────────────────────────────────────── */
.areas-section {
  background: var(--white);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.area-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-700);
  transition: var(--transition);
}

.area-chip svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

.area-chip:hover {
  background: var(--green-100);
  border-color: var(--green-300);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-section {
  background: var(--green-900);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3320, #2d5a3d, #0f2318);
  opacity: 0.4;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section .section-label {
  color: var(--gold-300);
}

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

.cta-section .lead {
  color: rgba(255, 255, 255, .65);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact Section ──────────────────────────────────────── */
.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info .lead {
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--green-100);
}

.contact-detail:last-of-type {
  border-bottom: none;
}

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

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
}

.contact-detail-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 3px;
}

.contact-detail-value {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
}

.contact-detail-value a {
  transition: var(--transition);
}

.contact-detail-value a:hover {
  color: var(--green-600);
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--green-800);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(61, 122, 84, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-privacy input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--green-600);
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  color: var(--green-700);
  font-size: 0.9rem;
}

.form-success.is-visible {
  display: block;
}

.form-success-icon {
  margin: 0 auto 12px;
  color: var(--green-600);
}

.form-success-title {
  display: block;
  font-size: 1.05rem;
  color: var(--green-700);
  margin-bottom: 8px;
}

.form-error {
  display: none;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--radius-md);
  color: var(--red-700);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-error.is-visible {
  display: block;
}

/* Dopo l'invio resta solo il messaggio di conferma */
.is-sent > :not(.form-success) {
  display: none;
}

.form-required {
  color: var(--gold-500);
}

.form-privacy-link {
  color: var(--green-600);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
}

/* Campo anti-spam: fuori schermo per le persone, compilato solo dai bot */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Map ──────────────────────────────────────────────────── */
.map-section {
  padding: 0;
  height: 440px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, .6);
  padding: 72px 0 32px;
}

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

.footer-brand .logo-name {
  font-size: 1.15rem;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .5);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, .08);
}

.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, .7);
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, .5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .55);
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, .45);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 20px;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--green-900);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, .45);
  transition: var(--transition);
}

.page-hero .breadcrumb a:hover {
  color: var(--white);
}

.page-hero .breadcrumb svg {
  width: 12px;
  height: 12px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-style: italic;
}

.page-hero .lead {
  color: rgba(255, 255, 255, .65);
  max-width: 600px;
}

/* ── Sub-service cards ────────────────────────────────────── */
.sub-services {
  background: var(--white);
}

.sub-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.sub-service {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.sub-service:hover {
  border-color: var(--green-200);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

.sub-service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--green-600);
}

.sub-service h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.sub-service p {
  font-size: 0.875rem;
  margin: 0;
}

/* ── Image Gallery ────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-100);
  cursor: pointer;
  position: relative;
}

/* Raggruppamento per orientamento (vedi main.js):
   le verticali tutte insieme con ritaglio verticale, poi le orizzontali. */
.gallery-grid--portrait {
  margin-bottom: 16px;
}
.gallery-grid--portrait .gallery-item {
  aspect-ratio: 3/4;
}
.gallery-grid--landscape .gallery-item {
  aspect-ratio: 4/3;
}

/* Su mobile riduciamo a 2 colonne: con repeat(4) inline le miniature
   risultavano troppo piccole. !important serve a vincere lo stile inline. */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 15, 0);
  transition: var(--transition);
}

.gallery-item:hover::after {
  background: rgba(10, 25, 15, .2);
}

/* ── Scroll Animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── Utilities ────────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-40 {
  margin-top: 40px;
}

/* ── Language Dropdown ────────────────────────────────────── */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: var(--transition);
  white-space: nowrap;
}

.lang-current:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .25);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-chevron {
  width: 11px;
  height: 11px;
  opacity: 0.6;
  transition: transform var(--transition);
}

.lang-current[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--green-800);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  padding: 4px;
  min-width: 110px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 200;
  box-shadow: var(--shadow-lg);
}

.lang-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-options li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .7);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.lang-options li:hover {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
}

.lang-options li.active {
  background: var(--gold-500);
  color: var(--white);
}

.lang-options li .flag {
  font-size: 1rem;
  line-height: 1;
}

/* Le voci del menu lingua sono link veri alle pagine tradotte */
.lang-options li a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.lang-options li a:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 1px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Mobile Navigation Overlay ────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--green-900);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  padding: 8px 24px;
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--gold-300);
}

.mobile-nav-contact {
  margin-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, .45);
  font-size: 0.9rem;
}

.mobile-nav-contact a {
  color: rgba(255, 255, 255, .7);
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.mobile-nav .lang-switcher {
  margin-bottom: 20px;
}

.mobile-nav .lang-current {
  display: none;
}

.mobile-nav .lang-options {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  gap: 6px;
  padding: 0;
  min-width: auto;
}

.mobile-nav .lang-options li {
  font-size: 0.85rem;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
}

.mobile-nav .lang-options li.active {
  background: var(--gold-500);
  color: var(--white);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1380px) {
  .nav-phone span {
    display: none;
  }

  .nav-menu a {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .header-inner {
    gap: 12px;
  }
}

@media (max-width: 1200px) {
  .nav-menu a {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .logo-name {
    font-size: 0.9rem;
  }

  .logo-sub {
    font-size: 0.5rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .header-inner {
    gap: 12px;
  }
}

@media (max-width: 1024px) {

  .nav-menu,
  .nav-phone {
    display: none;
  }

  /* Su mobile la lingua si sceglie dentro il menu hamburger:
     nascondiamo la tendina nell'header per non avere due selettori. */
  .site-header .lang-switcher {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

@media (max-width: 900px) {
  .logo-name {
    font-size: 0.95rem;
  }

  .logo-sub {
    font-size: 0.55rem;
  }

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

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

  .why-grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {

  .grid-2,
  .grid-4,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    gap: 40px;
  }

  .about-image-badge {
    right: 0;
    bottom: -16px;
  }

  .about-content {
    padding-left: 0;
  }

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

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

  .sub-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Nascondi i selettori lingue nell'header su mobile per fare spazio */

  /* Assicurati che l'header non crei scroll orizzontale */
  .header-inner {
    justify-content: space-between;
    gap: 10px;
  }

  .about-image-badge {
    right: 0;
    bottom: -16px;
  }

  .container {
    padding: 0 20px;
  }

  section {
    padding: 80px 0;
  }

  .hero-content {
    padding: 120px 0 80px;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }

  .logo-name {
    font-size: 0.95rem;
  }

  .logo-sub {
    font-size: 0.55rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo-icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* ── Local SEO pages ──────────────────────────────────────── */
.service-item { display:flex; gap:20px; align-items:flex-start; padding:24px; background:var(--green-50); border-radius:var(--radius-lg); }
.service-item-icon { width:40px; height:40px; background:var(--green-100); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.service-item-icon svg { width:20px; height:20px; color:var(--green-600); }
.service-item h3 { font-size:1rem; margin-bottom:6px; color:var(--gray-900); }
.service-item p { font-size:0.9rem; color:var(--gray-500); margin:0; }
.faq-item { border-bottom:1px solid var(--gray-300); }
.faq-item:first-child { border-top:1px solid var(--gray-300); }
.faq-question { padding:20px 0; cursor:pointer; font-family:var(--font-serif); font-size:1.05rem; font-weight:500; color:var(--gray-900); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-question::-webkit-details-marker { display:none; }
.faq-question::after { content:""; width:20px; height:20px; flex-shrink:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5a3d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center; transition:transform 0.3s ease; }
details[open] .faq-question::after { transform:rotate(180deg); }
.faq-answer { padding:0 0 20px; }
.faq-answer p { color:var(--gray-700); line-height:1.7; margin:0; }
.related-link { display:inline-flex; align-items:center; gap:8px; color:var(--green-600); font-weight:500; font-size:0.9rem; padding:8px 0; border-bottom:1px solid var(--green-100); text-decoration:none; transition:var(--transition); }
.related-link:hover { color:var(--green-800); padding-left:6px; }
.related-link::before { content:"\2192"; font-size:0.8rem; }

/* ── Legal pages ──────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--green-800);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-100);
}
.legal-content h2:first-of-type { margin-top: 32px; }
.legal-content h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 28px 0 10px;
}
.legal-content p { margin-bottom: 16px; line-height: 1.8; }
.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content li { margin-bottom: 8px; line-height: 1.7; }
.legal-content address { margin-bottom: 16px; line-height: 1.9; }
.legal-content a { color: var(--green-600); text-underline-offset: 3px; }
.legal-content a:hover { color: var(--green-800); }
.legal-content code {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 0.85em;
  font-family: monospace;
  color: var(--green-700);
}

/* Cookie table */
.cookie-table-wrap { overflow-x: auto; margin: 24px 0; }
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cookie-table th {
  background: var(--green-800);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cookie-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-300);
  vertical-align: top;
  line-height: 1.6;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:nth-child(even) td { background: var(--green-50); }

/* Page hero small variant */
.page-hero--sm { min-height: 200px; }
.page-hero--sm .page-hero-content { padding: 120px 0 40px; }

/* ── Cookie consent bar ───────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--green-900);
  color: rgba(255,255,255,.9);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.85rem;
  line-height: 1.6;
}
.cookie-bar-text a {
  color: var(--gold-300);
  text-underline-offset: 3px;
}
.cookie-bar-text a:hover { color: var(--gold-400); }
.cookie-bar-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.cookie-btn-accept {
  background: var(--gold-500);
  color: var(--white);
}
.cookie-btn-accept:hover { background: var(--gold-400); }
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
}
.cookie-btn-decline:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
}

@media (max-width: 600px) {
  .cookie-bar { padding: 16px; gap: 16px; }
  .cookie-bar-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   REVIEWS CAROUSEL — chi-siamo.html
   ══════════════════════════════════════════════════════════════ */

.reviews-carousel-section {
  background: var(--green-50);
  padding: 96px 0 80px;
}

/* Aggregate score row */
.reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.reviews-aggregate-score {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aggregate-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
}
.aggregate-stars {
  font-size: 1.5rem;
  line-height: 1;
}
.reviews-aggregate-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--gray-700);
  font-size: 0.9rem;
}
.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-600);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.reviews-link:hover { color: var(--green-500); }

/* Gold stars (shared) */
.review-stars {
  color: var(--gold-500);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Google G logo SVG (shared) */
.google-logo { flex-shrink: 0; vertical-align: middle; }

/* Carousel wrapper */
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

/* Scrollable window */
.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-lg);
}

/* Sliding track — JS sets translateX */
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Each review card */
.review-slide {
  flex: 0 0 100%;
  padding: 4px 8px 8px;  /* breathing room inside viewport */
  box-sizing: border-box;
}

.review-card-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: box-shadow var(--transition);
}
.review-card-inner:hover { box-shadow: var(--shadow-lg); }

/* Stars + Google badge row */
.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Small Google link badge */
.review-google-badge {
  display: inline-flex;
  align-items: center;
  opacity: 0.65;
  transition: opacity var(--transition);
  text-decoration: none;
}
.review-google-badge:hover { opacity: 1; }

/* Review text */
.review-text {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  flex: 1;
  quotes: "\201C" "\201D";
}
.review-text::before { content: open-quote; color: var(--green-300); font-size: 1.8rem; line-height: 0; vertical-align: -0.45em; margin-right: 4px; }

/* Author footer */
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--green-100);
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  user-select: none;
}
.review-author-name {
  font-weight: 700;
  color: var(--green-800);
  font-size: 0.95rem;
}
.review-author-date {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* Prev / Next arrow buttons */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--green-200);
  background: var(--white);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
  box-shadow: var(--shadow-md);
}
.carousel-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-200);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dot[aria-selected="true"],
.carousel-dot.active {
  background: var(--green-600);
  width: 24px;
  border-radius: 4px;
}

/* Write a review CTA */
.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.reviews-write-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ══════════════════════════════════════════════════════════════
   GMB RATING BAR — contatti.html (above the map)
   ══════════════════════════════════════════════════════════════ */

.map-gmb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--green-100);
  padding: 20px 0;
}
.map-gmb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.map-gmb-rating {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.map-gmb-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-800);
}
.map-gmb-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.map-gmb-count {
  color: var(--gray-500);
  font-size: 0.85rem;
}
.map-gmb-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.map-gmb-btn {
  font-size: 0.85rem;
  padding: 9px 18px;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reviews-carousel-section { padding: 60px 0 52px; }
  .carousel-btn { display: none; }
  .carousel-viewport { border-radius: var(--radius-md); }
  .review-card-inner { padding: 22px 20px 18px; }
  .aggregate-number { font-size: 2rem; }
  .map-gmb-inner { justify-content: center; text-align: center; }
  .map-gmb-rating { justify-content: center; }
  .map-gmb-actions { justify-content: center; width: 100%; }
  .map-gmb-btn { flex: 1; text-align: center; max-width: 200px; }
}

@media (max-width: 480px) {
  .review-card-inner { padding: 18px 16px; }
  .reviews-aggregate { flex-direction: column; gap: 10px; }
}

/* ══════════════════════════════════════════════════════════════
   CTA — FAB mobile + sticky mini-bar
   ══════════════════════════════════════════════════════════════ */

/* ── Floating call button (mobile only) ────────────────────── */
/* Stack dei pulsanti flottanti (WhatsApp + Chiama) — mobile e desktop */
.cta-fab-stack {
  display: flex;
  position: fixed;
  bottom: 88px; /* sopra la cookie bar se presente */
  right: 20px;
  z-index: 8000;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.cta-fab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-700);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 20px 14px 16px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}
.cta-fab-stack--visible .cta-fab {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cta-fab:hover {
  background: var(--green-600);
}
/* WhatsApp: pulsante scuro come "Chiama" (scritta leggibile), logo a colori */
.cta-fab--wa {
  padding-left: 11px;
}
.cta-fab-wa-logo {
  flex: none;
  display: block;
}
.cta-fab-label {
  white-space: nowrap;
}


/* ── Sticky mini-bar ────────────────────────────────────────── */
.cta-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 7900;
  background: var(--green-900);
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cta-sticky-bar--visible { transform: translateY(0); }

.cta-sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cta-sticky-bar-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  flex: 1;
  min-width: 180px;
}

.cta-sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-sticky-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.cta-sticky-bar-phone:hover { color: var(--gold-400); }

.cta-sticky-bar-btn {
  font-size: 0.82rem;
  padding: 9px 18px;
  white-space: nowrap;
}

.cta-sticky-bar-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color var(--transition);
  margin-left: 4px;
}
.cta-sticky-bar-close:hover { color: var(--white); }

@media (max-width: 600px) {
  .cta-sticky-bar-inner { padding: 12px 16px; gap: 10px; }
  .cta-sticky-bar-msg { font-size: 0.82rem; }
  .cta-sticky-bar-btn { display: none; } /* su mobile basta il numero */
  .cta-sticky-bar { bottom: 0; }
  /* Se il FAB è visibile, sposta la bar più su per non sovrapporsi */
  .cta-sticky-bar--visible ~ .cta-fab-stack,
  .cta-fab-stack { bottom: calc(56px + 20px); } /* altezza bar + margine */
}

/* Bandiere del menu lingue in SVG (10.11.2026) */
.lang-flag,
.lang-options li .flag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 21px;
}
.lang-flag svg,
.lang-options li .flag svg {
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}

/* Menu lingue nel menu del telefono: carattere piccolo come i pulsanti, la riga sta nello schermo (10.11.2026) */
.mobile-nav .lang-options {
  flex-wrap: wrap;
}
.mobile-nav .lang-options li {
  padding: 0;
}
.mobile-nav .lang-options li a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 9px 12px;
}

/* Schede dei servizi: con lo zoom al passaggio del mouse anche il ritaglio della foto si ingrandiva
   e la foto usciva dalla scheda. Il ritaglio ora si stringe dello stesso fattore (1/1.06),
   così la foto zooma ma resta dentro il bordo (10.11.2026). */
.service-card-image img {
  transition: transform var(--transition-slow), clip-path var(--transition-slow);
}
.service-card:hover .service-card-image img {
  clip-path: inset(2.83% round calc(var(--radius-lg) / 1.06) calc(var(--radius-lg) / 1.06) 0 0);
}
