/* ===========================
   GLOBAL SETTINGS
=========================== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f9fafc;
  color: #0c2d69;
  text-align: center;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
}

/* ===========================
   HERO / HEADER
=========================== */
.hero {
  background: linear-gradient(135deg, #0c2d69, #1f47a0);
  color: #fff;
  padding: 120px 20px 90px;
}

.logo {
  width: 80px;
  max-width: 85%;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 10px;
}

.hero .subtitle {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 15px;
}

.services-top {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 900px;
  margin: 0 auto 30px;
}

/* CTA BUTTON */
.cta-btn {
  background: #8cc046;
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: 0.3s ease;
  display: inline-block;
}
.cta-btn:hover {
  background: #76a639;
}

/* ===========================
   INTRO
=========================== */
.intro {
  max-width: 900px;
  margin: 70px auto;
  padding: 0 20px;
}
.intro h2 {
  color: #8cc046;
  font-size: 2rem;
  margin-bottom: 15px;
}
.intro p {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ===========================
   SERVICES GRID
=========================== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 90px;
  padding: 0 20px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.17);
}
.service-card h3 {
  font-size: 1.35rem;
  color: #0c2d69;
  margin-bottom: 12px;
}
.service-card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===========================
   CONTACTS
=========================== */
.contacts {
  max-width: 600px;
  margin: 0 auto 90px;
}
.contacts h2 {
  color: #8cc046;
  font-size: 2rem;
  margin-bottom: 20px;
}
.contacts p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #0c2d69;
  color: #fff;
  padding: 40px 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===========================
   RESPONSIVE ADJUSTMENTS
=========================== */
@media(max-width: 768px) {

  .logo {
    width: 135px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .services-top {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .intro h2,
  .contacts h2 {
    font-size: 1.6rem;
  }

  .intro p {
    font-size: 1rem;
  }

  .service-card {
    padding: 25px 20px;
  }
}
/* === HEADER ORIZZONTALE PROFESSIONALE === */

.hero {
    background: linear-gradient(135deg, #0c2d69, #1f47a0);
    color: #fff;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
}

.hero-left {
    flex: 0 0 auto;
}

.logo-header {
    width: 150px;
    height: auto;
}

.hero-right {
    text-align: left;
    max-width: 650px;
}

.hero-right h1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.services-top {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 20px;
}

.cta-btn {
    background: #8cc046;
    padding: 14px 28px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}
.cta-btn:hover {
    background: #76a639;
}

/* === MOBILE RESPONSIVE === */
@media(max-width: 768px) {

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-right {
        text-align: center;
    }

    .logo-header {
        width: 120px;
    }

    .hero-right h1 {
        font-size: 1.8rem;
    }

    .services-top {
        font-size: 0.9rem;
    }
}

