/* ============================================
   DR. STEFANO ARTONI — Custom Styles
   Complementary to Tailwind CSS
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary: #0D7377;
  --primary-light: #11999E;
  --primary-dark: #0A5C5F;
  --primary-darker: #074547;
  --primary-50: #E6F5F5;
  --primary-100: #B3E0E1;
  --primary-200: #80CCCE;
  --primary-300: #4DB8BA;
  --primary-400: #26A8AB;
  --primary-500: #11999E;
  --primary-600: #0D7377;
  --primary-700: #0A5C5F;
  --primary-800: #074547;
  --primary-900: #042E30;
  --accent-warm: #D4A953;
  --accent-warm-light: #E8C97D;
  --accent-warm-dark: #B8903E;
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #E5E5E5;
  --neutral-300: #D4D4D4;
  --neutral-400: #A3A3A3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.1), 0 12px 28px rgba(0,0,0,0.06);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Global Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  line-height: 1.7;
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--neutral-900);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--neutral-100);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-300);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* --- Selection --- */
::selection {
  background: var(--primary-100);
  color: var(--primary-dark);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary);
}

.navbar-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.navbar-logo span {
  color: var(--neutral-800);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-600);
  transition: var(--transition-base);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-50);
}

.nav-links .has-dropdown {
  position: relative;
}

.nav-links .has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  padding: 0.5rem;
  z-index: 100;
  border: 1px solid rgba(0,0,0,0.06);
}

.nav-links .has-dropdown:hover .dropdown {
  display: block;
  animation: fadeDown 0.2s ease;
}

.nav-links .dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: var(--transition-base);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-700);
  border-bottom: 1px solid var(--neutral-100);
  transition: var(--transition-base);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
  padding-left: 0.5rem;
}

.mobile-menu .mobile-cta {
  margin-top: 1.5rem;
  display: block;
  text-align: center;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: var(--radius-lg);
  font-weight: 600;
  border-bottom: none;
}

/* --- Hero Section --- */
.hero {
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 40%, var(--neutral-50) 100%);
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--primary-100);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--neutral-500);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-image-wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  min-height: 250px;
  object-fit: cover;
  object-position: center;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,0.95) 100%);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 115, 119, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 6px 20px rgba(13, 115, 119, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* --- Sections --- */
.section {
  padding: 4rem 1.5rem;
}

.section-lg {
  padding: 5rem 1.5rem;
}

.section-gray {
  background: var(--neutral-50);
}

.section-teal {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}

.section-teal h2,
.section-teal h3 {
  color: #fff;
}

.section-teal p {
  color: rgba(255,255,255,0.85);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--primary-50);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-teal .section-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--neutral-500);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 1.4rem;
  transition: var(--transition-base);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  transform: scale(1.05);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.card p {
  color: var(--neutral-500);
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.card-link:hover {
  gap: 0.7rem;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-base);
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* --- Stats / Benefits --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--neutral-500);
  font-weight: 500;
}

/* --- Benefits --- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.benefit-item:hover {
  background: var(--neutral-50);
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.benefit-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.9rem;
  color: var(--neutral-500);
}

/* --- Reviews Slider --- */
.reviews-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc(100% - 1rem);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: #FBBF24;
}

.review-text {
  font-size: 0.95rem;
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-text.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-text.expanded {
  -webkit-line-clamp: unset;
}

.review-read-more {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.review-read-more:hover {
  text-decoration: underline;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-100);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.review-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--neutral-400);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  color: var(--neutral-600);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* --- Map Section --- */
.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* --- Contact Info --- */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--neutral-800);
}

.contact-value a {
  color: var(--primary);
}

.contact-value a:hover {
  text-decoration: underline;
}

/* --- Footer --- */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 0.5rem;
}

.footer-brand .navbar-logo {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--neutral-400);
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--neutral-400);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 0.3rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--neutral-500);
}

.footer-bottom a {
  color: var(--primary-light);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* --- Inner Page Hero --- */
.page-hero {
  padding-top: 80px;
  background: linear-gradient(135deg, var(--primary-50) 0%, #fff 60%);
  padding-bottom: 3rem;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--neutral-400);
  margin-bottom: 1.5rem;
}

.page-hero .breadcrumb a {
  color: var(--primary);
  font-weight: 500;
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero .breadcrumb svg {
  width: 14px;
  height: 14px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--neutral-500);
  max-width: 650px;
  line-height: 1.7;
}

/* --- Content Sections for Inner Pages --- */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content-section h2 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  color: var(--neutral-900);
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
  color: var(--neutral-800);
}

.content-section p {
  margin-bottom: 1rem;
  color: var(--neutral-600);
  font-size: 1rem;
}

.content-section ul,
.content-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  color: var(--neutral-600);
}

.content-section li::marker {
  color: var(--primary);
}

/* --- Pathology List --- */
.pathology-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.pathology-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-100);
  transition: var(--transition-base);
  font-weight: 500;
  font-size: 0.95rem;
}

.pathology-item:hover {
  border-color: var(--primary-200);
  background: var(--primary-50);
  transform: translateX(4px);
}

.pathology-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Timeline / Method Steps --- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-200), var(--primary-100));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 1;
}

.timeline-item h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--neutral-500);
  font-size: 0.95rem;
}

/* --- Certification Cards --- */
.cert-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 1.5rem;
}

.cert-card-header {
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--primary-100);
}

.cert-card-header h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.cert-card-header .cert-year {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.cert-card-body {
  padding: 1.5rem;
}

.cert-card-body p {
  font-size: 0.95rem;
  color: var(--neutral-600);
  margin-bottom: 0.5rem;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery-item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* --- Feature List (perche sceglierci) --- */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.feature-number {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--neutral-500);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animations --- */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* --- Responsive Breakpoints --- */

/* Tablet */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .pathology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .section {
    padding: 5rem 2rem;
  }
  .section-lg {
    padding: 6rem 2rem;
  }
  .navbar-inner {
    padding: 0.75rem 2rem;
  }
  .nav-links {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .review-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-content {
    padding: 5rem 2rem 0;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .map-wrapper iframe {
    height: 450px;
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .hero-content {
    padding: 6rem 2rem 0;
  }
}

/* --- Utility --- */
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-2 { gap: 0.75rem; }
.gap-4 { gap: 1.5rem; }
.hidden { display: none; }
.block { display: block; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
