* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: #eff4fb;
  color: #12263f;
  line-height: 1.8;
  font-weight: 400;
  font-feature-settings: 'liga' 1, 'kern' 1;
}

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

a {
  color: inherit;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

main > section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

main > section:not(.hero):nth-of-type(2n) {
  background: #e9f3fb;
}

main > section:not(.hero) .container {
  position: relative;
  z-index: 1;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f4d7d;
}

.nav-link {
  color: #4b5c75;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0f4d7d;
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 22, 43, 0.82), rgba(7, 22, 43, 0.66)), url('img/hero.jpg') center/cover no-repeat;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #d3e2ff;
  letter-spacing: 0.18em;
}

.hero h1 {
  font-size: clamp(3rem, 4vw, 5rem);
  line-height: 1.06;
  max-width: 700px;
  margin-bottom: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-copy {
  font-size: 1.05rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.9;
}

.hero-actions .btn {
  min-width: 180px;
}

.hero-actions .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.9);
}

.section-title {
  color: #0f4d7d;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
  font-size: clamp(1.75rem, 2.1vw, 2.5rem);
  line-height: 1.12;
}

.section-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  background: #0f4d7d;
  border-radius: 999px;
  margin: 1rem auto 0;
}

.section-title-left::after {
  margin: 1rem 0 0;
}

.section-subtitle {
  color: #4a5d74;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.card-speciality,
.info-card,
.contact-card {
  border: none;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 77, 125, 0.08);
}

.card-speciality {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-speciality:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 80px rgba(15, 77, 125, 0.12);
}

#specializzazioni .card-speciality {
  background: #ffffff;
  border: 1px solid rgba(15, 77, 125, 0.08);
}

#specializzazioni .card-speciality h4 {
  font-size: 1.13rem;
  letter-spacing: -0.02em;
}

#approccio .info-card {
  background: rgba(15, 77, 125, 0.05);
  border: 1px solid rgba(15, 77, 125, 0.14);
  box-shadow: none;
}

#approccio .info-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f4d7d;
}

#approccio .info-card p {
  color: #4a5a70;
  opacity: 0.95;
}

#approccio {
  background: #f4f9ff;
}

.card-speciality h4,
.info-card h4 {
  color: #0f4d7d;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.card-speciality p,
.info-card p,
.contact-card p {
  color: #4b5c75;
  line-height: 1.75;
}

.contact-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(237,244,255,0.96));
  border: 1px solid rgba(15, 77, 125, 0.16);
  box-shadow: 0 36px 90px rgba(15, 77, 125, 0.12);
  padding: 2.5rem;
  overflow: hidden;
}

 

.contact-phone {
  color: #0f4d7d;
  font-weight: 600;
}

.contact-phone:hover {
  color: #0a3d67;
}

.phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-right: 0.75rem;
  color: #0f4d7d;
}

.contact-phone:hover .phone-icon {
  color: #0a3d67;
}

.contact-card h5 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

.contact-card p {
  color: #3f5066;
  line-height: 1.8;
}

.contact-card .contact-link {
  display: inline-block;
  margin-top: 1rem;
  color: #0f4d7d;
  font-weight: 600;
  text-decoration: none;
}

.contact-card .contact-link:hover {
  text-decoration: underline;
}

.contact-card a.btn {
  background: #0f4d7d;
  border: none;
  padding: 1rem 1.6rem;
  font-weight: 600;
}

.contact-card a.btn:hover {
  background: #0b3b62;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: #3b4d63;
}

.list-check li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: #0f4d7d;
  font-weight: 800;
}

.numbers {
  background: linear-gradient(135deg, #0d3d67 0%, #0b2b4c 100%);
  color: #fff;
}

.stat-item {
  padding: 2.4rem 1.75rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.10);
}

.stat-item h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.stat-item p {
  opacity: 0.9;
  margin: 0;
}

.info-card {
  padding: 2rem;
}

.contact-card {
  padding: 2rem;
}

.map-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 28px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  background: #f7f9fc;
}


.prof-cicero {
  max-height: 600px;
  object-fit: cover;
}


.btn-primary {
  background: #0f4d7d;
  border: none;
}

.btn-primary:hover {
  background: #0a3d67;
}

footer {
  background: #081d34;
  color: #d8e5ff;
}

.footer-bg {
  background: #081d34;
}

footer p {
  margin: 0;
}

@media (max-width: 991px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 78vh;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }
}


footer p {
  font-size: 0.75rem;
  opacity: 0.85;

}