/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img { 
  height: 42px; 
  width: auto;
}
.logo-text {
  color: #047857;
  font-weight: 700;
  line-height: 1.2;
}
.logo-text small {
  display: block;
  color: #666;
  font-weight: 400;
  font-size: 0.8rem;
}

nav {
  display: flex;
  gap: 1.5rem;
  transition: max-height 0.4s ease;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

nav a:hover { 
  color: #047857;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #047857;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:focus {
  outline: none;
}

/* Mantiene l'accessibilità per navigazione da tastiera */
@media (prefers-reduced-motion: no-preference) {
  nav a:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 2px;
  }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  border: none;
}
.btn-primary { 
  background: #047857; 
  color: #fff; 
  box-shadow: 0 4px 6px rgba(4, 120, 87, 0.2);
}
.btn-primary:hover { 
  background: #059669; 
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(4, 120, 87, 0.3);
}
.btn-outline {
  border: 2px solid #047857;
  color: #047857;
  background: transparent;
}
.btn-outline:hover { 
  background: #047857; 
  color: #fff;
  transform: translateY(-2px);
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #047857;
  border-radius: 2px;
  transition: 0.3s;
}
/* ANIMAZIONE MENU */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("images/background.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 2rem;
  animation: fadeIn 1.2s ease both;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero h1 .highlight {
  color: #86efac;
  font-weight: 800;
}

.hero .subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #e0fce5;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .btn-primary {
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  background: #16a34a;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.hero .btn-primary:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}
.hero .btn-outline:hover {
  background: #fff;
  color: #047857;
}

/* Effetto apparizione */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    height: 85vh;
    min-height: 500px;
    background-position: center center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }
}

/* SECTIONS */
section { 
  padding: 5rem 8%; 
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-light { background: #fff; }
.section-colored { background: #f6fdf9; } /* background: #e0f7ee; */
h2 {
  text-align: center;
  color: #047857;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #047857;
  border-radius: 2px;
}

/* METODO */
.metodo {
  padding: 5rem 8%;
  /*background: linear-gradient(180deg, #f6fdf9 100%, #ffffff 100%);*/
  text-align: center;
}

/* Stile per il logo del metodo Dien Chan */
.method-logo-container {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 600px;
}

.method-logo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* Per schermi più piccoli */
@media (max-width: 768px) {
  .method-logo-container {
    margin: 0 auto 1.5rem;
    max-width: 400px;
  }
}

.metodo .intro {
  max-width: 750px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  text-align: left;
}

.metodo-item.full-width {
  grid-column: 1 / -1;
  max-width: 100%;
}

.metodo-item {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.metodo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  Background: linear-gradient(90deg, #047857, #10b981);
}

.Metodo-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.metodo-item h3 {
  color: #047857;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.metodo-item h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #10b981;
}

.metodo-item p, .metodo-item ul {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

.metodo-item ul {
  list-style: none;
  padding-left: 0;
}
.metodo-item ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}
.metodo-item ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #047857;
  font-weight: bold;
}

/* BENEFICI */
.benefici {
  text-align: center;
  padding: 5rem 8%;
}

.benefici .intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #444;
  font-size: 1.1rem;
}

.benefici-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.beneficio {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
  position: relative;
}

.beneficio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #047857, #10b981);
  border-radius: 1rem 1rem 0 0;
}

.beneficio:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.beneficio h3 {
  color: #047857;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.beneficio p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  border: 1px solid #e5e7eb;
}
.testimonial .quote {
  font-size: 3rem;
  color: #047857;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.testimonial p {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.client {
  font-weight: 600;
  color: #047857;
  text-align: right;
}

/* CONTATTI */
.contact-options {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 2.5rem auto;
  flex-wrap: wrap;
}

.contact-btn {
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: .8rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column; /* Disposizione verticale */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-btn.phone { background: #1e40af; }
.contact-btn.email { background: #047857; }
.contact-btn.whatsapp { background: #25D366; }

.contact-btn:hover { 
  opacity: 0.9; 
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.contact-btn .label {
  font-size: 14px;
  font-weight: 700;
}

.contact-btn .number {
  font-size: 16px;
  font-weight: 600;
  margin-top: 5px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-item {
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-item h3 {
  color: #047857;
  margin-bottom: 1rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 1rem;
  color: #666;
  border-top: 1px solid #eee;
  background: #f8fafc;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0rem;
  color: #444;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-links img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s;
}
.social-links img:hover { transform: scale(1.1); }

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    padding: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  nav.open {
    max-height: 300px;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
  }
  .menu-toggle { display: flex; }
  .call-now { display: none; }
  section { padding: 3rem 1.5rem; }
  .hero h1 { font-size: 1.8rem; }
  .contact-options {
    flex-direction: column;
  }
  .price-card.highlight {
    transform: none;
  }
  .price-card.highlight:hover {
    transform: translateY(-5px);
  }
  h2 {
    font-size: 1.8rem;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* FOCUS STYLES FOR KEYBOARD NAVIGATION */
a:focus, button:focus {
  outline: 2px solid #047857;
  outline-offset: 2px;
}
