@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap");

:root {
  --primary-bg: #ffffff;
  --secondary-bg: #f4f7fa;
  --text-dark: #1a2b4c;
  --text-light: #555555;
  --accent-color: #004a8c;
  --accent-hover: #002d5c;
  --font-headings: "Playfair Display", serif;
  --font-text: "Montserrat", sans-serif;
  --accent-light: #8bb3e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-text);
  color: var(--text-light);
  background-color: var(--primary-bg);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-headings);
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

header {
  background: rgba(26, 43, 76, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.scrolled {
  padding: 12px 0;
  background: rgba(26, 43, 76, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 75px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

header.scrolled .navbar-logo {
  height: 55px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #8bb3e0;
}

.nav-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 10px;
  margin-top: 4px;
}

.nav-links .nav-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.nav-links .nav-icons a:hover {
  color: var(--accent-light);
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25));
}

.icon-separator {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  line-height: 1;
}

.menu-toggle {
  display: none;
  font-size: 2.2rem;
  padding: 5px 10px;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.3s ease-in-out;
}

.btn-prenota {
  position: relative;
  background: transparent;
  color: #ffffff !important;
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  transform: translateY(0);
  transition: all 0.4s ease !important;
}

.btn-prenota::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--accent-color);
  transition: all 0.4s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn-prenota:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 74, 140, 0.3);
  transform: translateY(-2px);
}

.btn-prenota:hover::before {
  width: 100%;
}

.btn-prenota-dark {
  border-color: var(--text-dark) !important;
  color: var(--text-dark) !important;
}

.btn-prenota-dark:hover {
  border-color: var(--accent-color) !important;
  color: #ffffff !important;
}

.link-with-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.link-with-arrow:hover {
  color: var(--accent-hover);
  transform: translateX(8px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5% 80px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 50px;
  font-style: italic;
  font-family: var(--font-headings);
}

.content-row {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 80px;
}

.content-row.reverse {
  flex-direction: row-reverse;
}

.content-col {
  flex: 1;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--secondary-bg);
  padding: 0 5%;
  margin-top: 0;
}

.hero-content {
  max-width: 900px;
  margin-top: 80px;
  opacity: 0;
  animation: heroFadeIn 1s ease-out 0.2s forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-light);
}

.bio-image-container {
  text-align: center;
  margin-bottom: 30px;
}

.bio-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.bio-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.cert-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  margin: 20px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.bio-text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.bio-text-block h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary-bg);
  padding-bottom: 10px;
}

.bio-list {
  list-style: none;
  margin-bottom: 20px;
}

.bio-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}

.bio-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.competence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.competence-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
}

.competence-box h4 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.miodottore-review {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  padding: 15px 30px;
  background-color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}

.miodottore-logo {
  height: 35px;
  width: auto;
}

.review-score {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 5px 30px 5px;
  scroll-snap-type: x mandatory;
  margin-top: 25px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 15px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.review-user-info {
  display: flex;
  flex-direction: column;
}

.review-user-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  display: inline;
  line-height: 1.3;
  word-wrap: break-word;
}

.review-user-name svg {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  margin-top: -3px;
}

.review-md-logo {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.review-stars {
  color: #ffd700;
  margin-bottom: 15px;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.review-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--accent-color);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 5px;
  font-size: 0.9rem;
  display: none;
  text-align: left;
  font-family: var(--font-text);
}

.read-more-btn:hover {
  text-decoration: underline;
}

.awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.award-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  text-align: center;
  border: 1px solid #f0f0f0;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-card:hover {
  transform: translateY(-10px);
}

.award-icon {
  color: var(--accent-color);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.award-icon svg {
  width: 48px;
  height: 48px;
}

.award-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.pathologies-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pathology-tag {
  background-color: var(--secondary-bg);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.95rem;
  border: 1px solid #e0e0e0;
  transition: background-color 0.3s, color 0.3s;
}

.pathology-tag:hover {
  background-color: var(--accent-color);
  color: #ffffff;
}

.booking-section {
  position: relative;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 100%);
  color: #ffffff;
  text-align: center;
  padding: 80px 5%;
  margin: 80px 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.booking-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.booking-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 74, 140, 0.5) 0%, transparent 70%);
  border-radius: 50%;
}

.booking-section-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.booking-section h2 {
  color: #ffffff;
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.booking-section p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.booking-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-booking {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.btn-booking-primary {
  background-color: #ffffff;
  color: var(--text-dark) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-booking-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  background-color: var(--secondary-bg);
}

.btn-booking-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366 !important;
  border: 1px solid rgba(37, 211, 102, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-booking-whatsapp:hover {
  background: #25d366;
  color: #ffffff !important;
  border-color: #25d366;
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.3);
}

.btn-booking-whatsapp {
    transition: all 0.4s ease !important;
}

.btn-booking-whatsapp svg path {
    fill: #25D366; 
    transition: fill 0.4s ease;
}

.btn-booking-whatsapp:hover svg path {
    fill: #ffffff;
}

.btn-booking-instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c !important;
  border: 1px solid rgba(225, 48, 108, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-booking-instagram:hover {
  background: #e1306c;
  color: #ffffff !important;
  border-color: #e1306c;
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(225, 48, 108, 0.3);
}

.btn-booking-instagram {
    transition: all 0.4s ease !important;
}

.btn-booking-instagram svg path {
    fill: #e1306c;
    transition: fill 0.4s ease;
}

.btn-booking-instagram:hover svg path {
    fill: #ffffff;
}
.btn-booking-email {
  background: rgba(231, 76, 60, 0.1);
  color: #ff6b6b !important;
  border: 1px solid rgba(231, 76, 60, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-booking-email:hover {
  background: #e74c3c;
  color: #ffffff !important;
  border-color: #e74c3c;
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(231, 76, 60, 0.3);
}

.contatti-header {
  text-align: center;
  opacity: 0;
  animation: heroFadeIn 1s ease-out 0.2s forwards;
  margin-bottom: 50px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-family: var(--font-text);
  font-size: 1rem;
  background-color: #fcfcfc;
  transition: border-color 0.3s;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231a2b4c%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: #ffffff;
}

.form-group input:user-invalid,
.form-group textarea:user-invalid,
.form-group select:user-invalid {
  border-color: #d9534f;
  background-color: #fff9f9;
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid,
.form-group select:focus:invalid {
  border-color: #d9534f;
  background-color: #fff9f9;
  box-shadow: 0 0 5px rgba(217, 83, 79, 0.2);
}

.btn-submit {
  background-color: var(--text-dark);
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  transition: background-color 0.3s;
  font-family: var(--font-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background-color: var(--accent-color);
}

.contact-details h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 15px;
  margin-bottom: 30px;
}

.contact-buttons-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e1306c;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.instagram-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
  color: white;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  color: white;
}

.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-dark);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.email-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 43, 76, 0.3);
  color: white;
}

.required-asterisk {
  color: #d9534f;
  margin-left: 3px;
  font-weight: bold;
}

.required-text {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 15px;
  font-style: italic;
  text-align: right;
}

.listino-header {
  text-align: center;
  opacity: 0;
  animation: heroFadeIn 1s ease-out 0.2s forwards;
  margin-bottom: 50px;
}

.price-category {
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  display: inline-block;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
}

.price-table th,
.price-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.price-table th {
  background-color: var(--text-dark);
  color: #ffffff;
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:hover td {
  background-color: var(--secondary-bg);
}

.price-amount {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 150px 5% 80px 5%;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

.legal-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

.main-footer {
  background-color: #0d1b2a;
  color: #e0e0e0;
  padding: 80px 5% 30px 5%;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-col p,
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.footer-logo-text {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #888888;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .content-row {
    flex-direction: column;
  }
  .content-row.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: -100%;
    background: rgba(26, 43, 76, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    transition: left 0.4s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-icons {
    margin-left: 0;
    margin-top: 15px;
    justify-content: center;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .miodottore-review {
    flex-direction: column;
    white-space: normal;
    border-radius: 20px;
    padding: 15px 20px;
    gap: 10px;
    text-align: center;
  }

  .review-score {
    flex-wrap: wrap;
    justify-content: center;
  }

  .review-card {
    flex: 0 0 85vw;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col img {
    margin: 0 auto 15px auto !important;
  }

  .footer-bottom {
    text-align: center;
  }

  .read-more-btn.visible {
    margin: 10px auto 0 auto;
    text-align: center;
  }
}