/* ========== VARIABILI ========== */
:root {
  --green: #2bb673;
  --green-dark: #1f8f59;
  --green-soft: #e8f7ef;
  --navy: #0f1e2e;
  --navy-soft: #1b2f44;
  --text: #2a3542;
  --muted: #6b7785;
  --bg: #ffffff;
  --bg-alt: #f5f8f7;
  --border: #e3e9ed;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 30, 46, 0.08);
  --shadow-strong: 0 20px 50px rgba(15, 30, 46, 0.15);
}

/* ========== BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  margin-bottom: 14px;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.accent {
  color: var(--green);
}

.placeholder {
  background: #fff3cd;
  color: #8a6100;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ========== BOTTONI ========== */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid var(--green);
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(43, 182, 115, 0.3);
}

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

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  box-shadow: none;
}

.btn-light:hover {
  background: var(--green-soft);
  border-color: var(--green-soft);
  color: var(--navy);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  color: #fff !important;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15, 30, 46, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.logo span {
  color: var(--green);
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ========== HERO ========== */
.hero {
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 85% 20%, var(--green-soft) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, #eef4fa 0%, transparent 40%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin: 22px 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.photo-ring {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(135deg, var(--green), #8fd9b3);
  box-shadow: var(--shadow-strong);
}

.photo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
}

.badge {
  position: absolute;
  background: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: 12%;
  left: 0;
}

.badge-2 {
  bottom: 12%;
  right: 0;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== SEZIONI ========== */
.section {
  padding: 100px 0;
}

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

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

/* ========== CARD (PER CHI È) ========== */
.cards {
  display: grid;
  gap: 24px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.3s ease;
}

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

.card-icon {
  font-size: 2rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  border-radius: 16px;
  margin-bottom: 20px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* ========== METODO ========== */
.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.method-text p {
  color: var(--muted);
}

.method-text strong {
  color: var(--navy);
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.method-item {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.method-item .num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.method-item p {
  color: var(--muted);
  margin: 0;
}

/* ========== COME FUNZIONA ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.step {
  text-align: center;
  padding: 10px 20px;
}

.step-num {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px var(--green-soft);
}

.step p {
  color: var(--muted);
  margin: 0;
}

/* ========== CHI SONO ========== */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}

.about-role {
  font-weight: 600;
  color: var(--green-dark);
  margin-top: -8px;
}

.about-text p {
  color: var(--muted);
}

.about-text strong {
  color: var(--navy);
}

.about-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-list li {
  font-weight: 500;
  color: var(--navy);
}

/* ========== DOVE ========== */
.where {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.where-address {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.where-text p:not(.where-address):not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 26px;
}

.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== CTA FINALE ========== */
.cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  padding: 90px 0;
  text-align: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.cta strong {
  color: var(--green);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer .logo {
  color: #fff;
  margin-bottom: 6px;
}

.footer-small {
  font-size: 0.9rem;
}

.footer-small p {
  margin-bottom: 6px;
}

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

/* ========== ANIMAZIONI REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(15, 30, 46, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav.open {
    max-height: 500px;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 16px;
    border-top: 1px solid var(--border);
  }

  .nav .btn-small {
    width: auto;
    margin: 16px auto 20px;
    border-top: none;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero-inner,
  .method,
  .about,
  .where {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-photo {
    order: -1;
  }

  .photo-ring {
    max-width: 280px;
  }

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

  .section {
    padding: 70px 0;
  }

  .about-photo {
    max-width: 360px;
    margin: 0 auto;
  }

  .map {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .badge {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}