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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #f3f4f6;
  line-height: 1.5;
}

/* UTILITIES */

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

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

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo img {
  height: 48px;
  width: auto;
}

/* NAV DESKTOP */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-size: 0.95rem;
  color: #4b5563;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: #b91c1c;
}

.main-nav a.active {
  color: #b91c1c;
  border-color: #b91c1c;
}

/* NAV MOBILE */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: #111827;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.mobile-nav ul {
  list-style: none;
  padding: 8px 16px 12px;
}

.mobile-nav li + li {
  border-top: 1px solid #e5e7eb;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* HERO */

.hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #111827;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7); /* effetto velato come nel sito */
}

.hero-content {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero .accent {
  color: #b91c1c; /* rosso Argo */
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.5rem;
  font-weight: 450;
  color: #4b5563;
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BOTTONI */

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary {
    width: 170px;
    background-color: #b91c1c;
    border-radius: 15px;
    font-size: 1.2rem;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(185, 28, 28, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(185, 28, 28, 0.45);
}

.btn-whatsapp {
    width: 170px;
    background-color: #25d366;
    border-radius: 15px;
    font-size: 1.2rem;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

.btn-whatsapp:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.45);
}

/* SEZIONI */

.section {
  padding: 60px 0;
}

.section-light {
  background-color: #f3f4f6;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.section-intro {
  max-width: 560px;
  font-size: 1.1rem;
  margin: 0 auto;
  text-align: center;
  color: #4b5563;
}

/* CARDS HOME 360° */

.home-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.home-card {
  background-color: #ffffff;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.custom-card {
  background-color: #ffffff;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.cutom-card-div-padding {
    padding: 18px 20px 0px 20px;
}

.home-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.home-card p {
  color: #4b5563;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.card-link {
  font-size: 0.9rem;
  color: #b91c1c;
  font-weight: 600;
}

/* FOOTER */

.site-footer {
  background-color: #1a1a1ce3;
  color: #d1d5db;
  padding: 50px 240px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-copy {
  text-align: center;
}

.footer-info {
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 20px;  /* <<< Fix fondamentale: padding ridotto */
    text-align: center;  /* Centra contenuti quando sono impilati */
  }

  .footer-info img {
    width: 50%; /* (facoltativo) logo più piccolo su mobile */
    max-width: 180px;
  }
}

@media (min-width: 768px) {
  .home-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}


.custom-h1-4rem {
    font-size: 4rem !important;
}

.custom-home-card-img {
    width: 100%;
    height: 195px;
    border-radius: 10px 10px 0px 0px;
    cursor: pointer;
}

.cutom-home-div-padding {
    padding: 18px 20px;
}

.custom-bg-color-white {
    background-color: #ffffff !important;   
}

.dove-mappa {
  display: flex;
  gap: 20px;          /* spazio tra le due colonne */
  padding: 40px 20px;
  text-align: center;
}

.dove-mappa .col {
  flex: 1;            /* entrambe le colonne prendono il 50% */
}

.dove-mappa .dove h2,
.dove-mappa .mappa h2 {
  margin-bottom: 15px;
}

/* Per rendere la sezione responsive su telefono */
@media (max-width: 768px) {
  .dove-mappa {
    flex-direction: column;
  }
}

.custom-h2-settings {
    font-size: 3rem;
    font-weight: 500;
}

.custom-font-size-1-15rem {
    font-size: 1.15rem;
}



.about-cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;  /* Mobile: 1 colonna */
  gap: 16px;
}

.about-card {
  background-color: #ffffff;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.about-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.about-card p {
  color: #4b5563;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Desktop: 2 colonne */
@media (min-width: 768px) {
  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.custom-quote {
    padding: 16px 20px;
    margin: 20px 0;
    border-left: 4px solid #b91c1c;
    background: #f9fafb;
    font-style: italic;
    color: #374151;
}

.custom-quote-footer {
    margin-top: 10px;
    font-weight: 600;
    color: #000000;
    text-align: right;
}

.custom-section-intro {
    display: flex;
    justify-content: space-between;
    max-width: 120px !important;
}

.custom-a:hover {
    color: #b91c1c;
}

.custom-bold-500 {
    font-weight: 500;
}

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

.custom-padding-10 {
    padding: 10px;
}

.custom-padding-15 {
    padding: 15px;
}

.custom-align {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}