/* ============================================
   BIO-CLINIC SASSARI - MAIN STYLESHEET
   Design System: Medical, Professional, Trustworthy
   Colors: Bio-Clinic Official Green Palette
   Primary: #7CBA3D | Dark: #008238 | Accent: #00d084
   ============================================ */

/* === CSS VARIABLES === */
:root {
  /* Primary Colors - Bio-Clinic Green */
  --primary: #7CBA3D;
  --primary-dark: #008238;
  --primary-light: #9ccc65;
  --primary-bg: #f0f7e6;
  
  /* Secondary Colors - Darker Green */
  --secondary: #43A140;
  --secondary-light: #67a671;
  
  /* Accent Colors - Bio-Clinic Mint/Teal */
  --accent: #00d084;
  --accent-light: #34e2e4;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  /* Bio-Clinic Brand Green (main) */
  --brand-green: #7CBA3D;
  
  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', var(--font-primary);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  
  /* Container */
  --container-max: 1280px;
  --container-padding: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-top {
  background: var(--secondary);
  color: var(--white);
  font-size: 0.875rem;
  padding: var(--space-sm) 0;
}

.header-top a {
  color: var(--white);
}

.header-top a:hover {
  color: var(--primary-light);
}

.header-main {
  padding: var(--space-md) 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-text span {
  color: var(--secondary);
}

/* === NAVIGATION === */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.nav-dropdown a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

/* Wide Dropdown (per Specialisti) */
.nav-dropdown-wide {
  min-width: 380px;
  padding: var(--space-md);
}

.nav-dropdown-wide a {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

/* Nav CTA Button */
.nav-cta {
  background: #00704A !important;
  color: white !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-left: 1rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: #005a3c !important;
}

/* Mobile Menu Sections */
.mobile-nav-section {
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-sm);
  margin-top: var(--space-sm);
}

.mobile-nav-section-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-xs) var(--space-md);
}

.mobile-nav-section ul {
  list-style: none;
  padding-left: var(--space-md);
}

.mobile-nav-section ul li a {
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition-base);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  padding: var(--space-xl);
  transition: right var(--transition-slow);
  z-index: 1001;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
}

.mobile-nav-list a {
  display: block;
  padding: var(--space-md) 0;
  font-size: 1.125rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1000;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-full);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--warning);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

@media (max-width: 1024px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .hero-buttons {
    justify-content: center;
  }
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 1024px) {
  .hero-stats {
    justify-content: center;
  }
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  padding: 0.2rem 0;
  overflow: visible;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.hero-image {
  position: relative;
}

@media (max-width: 1024px) {
  .hero-image {
    display: none;
  }
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--white);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .trust-items {
    justify-content: space-between;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-text strong {
  display: block;
  font-size: 1.25rem;
  color: var(--gray-900);
  line-height: 1.4;
  padding: 0.1rem 0;
  overflow: visible;
}

.trust-text span {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--space-lg);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

/* Specialty Card */
.specialty-card {
  text-align: center;
  padding: var(--space-xl);
}

.specialty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.specialty-icon svg {
  width: 32px;
  height: 32px;
}

.specialty-count {
  display: inline-block;
  background: var(--gray-100);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: var(--space-sm);
}

/* Doctor Card */
.doctor-card {
  text-align: center;
}

.doctor-image {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 4px solid var(--primary-bg);
}

.doctor-specialty {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-badge {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* === FEATURES === */
.feature {
  display: flex;
  gap: var(--space-lg);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.feature-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.feature-text {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* === TESTIMONIALS === */
.testimonial {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--warning);
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-source {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* === CTA SECTION === */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-title {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* === FOOTER === */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-description {
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--gray-400);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer-contact svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--gray-800);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.875rem;
}

/* === SLIM CARE PAGE === */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--white) 100%);
}

.page-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .page-hero-content {
    grid-template-columns: 1fr;
  }
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--accent);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.timeline {
  position: relative;
  padding-left: var(--space-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-bg);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--space-2xl) - 6px);
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: var(--radius-full);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.timeline-title {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.timeline-content {
  color: var(--gray-600);
}

/* Drug Comparison */
.drug-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .drug-comparison {
    grid-template-columns: 1fr;
  }
}

.drug-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-100);
  transition: all var(--transition-base);
}

.drug-card:hover {
  border-color: var(--primary);
}

.drug-header {
  text-align: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: var(--space-lg);
}

.drug-name {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.drug-ingredient {
  color: var(--gray-500);
}

.drug-result {
  text-align: center;
  background: var(--primary-bg);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.drug-result-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.drug-result-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.team-member {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
}

.team-name {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: 0.875rem;
  color: var(--primary);
}

/* === FORMS === */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }

.bg-primary { background-color: var(--primary); }
.bg-primary-light { background-color: var(--primary-bg); }
.bg-white { background-color: var(--white); }
.bg-gray { background-color: var(--gray-50); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-lg); }
.mt-3 { margin-top: var(--space-xl); }
.mt-4 { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-lg); }
.mb-3 { margin-bottom: var(--space-xl); }
.mb-4 { margin-bottom: var(--space-2xl); }

.py-1 { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-2 { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-3 { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.hidden { display: none; }

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

@media (min-width: 769px) {
  .hide-desktop { display: none; }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.5s ease forwards;
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.contact-info-title {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-info-text {
  color: var(--gray-600);
}

.contact-info-text a {
  color: var(--primary);
  font-weight: 500;
}

.map-container {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =============================================
   PHYSICIAN LINKS
   ============================================= */

.physician-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted var(--primary);
  transition: all 0.2s ease;
}

.physician-link:hover {
  color: #008c44;
  border-bottom-style: solid;
}

/* Inside team cards */
.team-name .physician-link {
  color: inherit;
  border-bottom: none;
}

.team-name .physician-link:hover {
  color: var(--primary);
}

/* Inside footer */
.footer .physician-link {
  color: var(--gray-300);
  border-bottom-color: var(--gray-500);
}

.footer .physician-link:hover {
  color: white;
}


/* ═══════════════════════════════════════════════════════════════
   TEAM MEMBER CLICKABLE CARDS - Riquadri medici cliccabili
   ═══════════════════════════════════════════════════════════════ */

a.team-member-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
}

a.team-member-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--gray-300);
}

a.team-member-clickable:hover .team-avatar {
  background: var(--primary-bg);
  transform: scale(1.05);
}

a.team-member-clickable:hover .team-avatar svg {
  stroke: var(--primary);
}

a.team-member-clickable:hover .team-name {
  color: var(--primary);
}

a.team-member-clickable .team-name {
  color: var(--gray-800);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
  transition: color 0.2s ease;
}

a.team-member-clickable .team-role {
  color: var(--primary);
  font-size: 0.85rem;
  font-style: italic;
  margin: 0;
}

a.team-member-clickable .team-avatar {
  width: 60px;
  height: 60px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

a.team-member-clickable .team-avatar svg {
  stroke: var(--primary);
  transition: stroke 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════
   FIX GLOBALE - NUMERI E STATISTICHE VISIBILI
   Previene troncamento dei numeri grandi in tutte le pagine
   ═══════════════════════════════════════════════════════════════ */

/* Stats generiche - fix overflow */
.lab-stats,
.stats,
.stat-grid,
[class*="stat"] {
  overflow: visible !important;
}

/* Numeri grandi - garantisce visibilità completa */
.lab-stat-number,
.stat-number,
.stat-value,
[class*="stat-number"],
[class*="stat-value"] {
  line-height: 1.4 !important;
  padding: 0.3rem 0 !important;
  overflow: visible !important;
  display: block;
}

/* Trust bar items */
.trust-item,
.trust-text strong {
  overflow: visible !important;
  line-height: 1.3;
}

/* Section containers - no hidden overflow per stats */
.section > .container {
  overflow: visible;
}


/* ═══════════════════════════════════════════════════════════════
   UNIFIED CARD HOVER ANIMATIONS - Animazioni uniformi per card
   Applicato a: team-member, physician-card, specialist-card
   ═══════════════════════════════════════════════════════════════ */

/* Base styles per tutte le card medici */
.team-member,
.physician-card,
.specialist-card,
.doctor-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Hover effect unificato - SOBRIO senza sfondo verde */
.team-member:hover,
.physician-card:hover,
.specialist-card:hover,
.doctor-card:hover,
a.team-member-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--gray-300);
}

/* Avatar animation on hover - NO sfondo verde pieno */
.team-member:hover .team-avatar,
.physician-card:hover .physician-card-header,
a.team-member-clickable:hover .team-avatar {
  background: var(--primary-bg);
  transform: scale(1.05);
}

.team-member:hover .team-avatar svg,
.physician-card:hover .physician-card-header svg,
a.team-member-clickable:hover .team-avatar svg {
  stroke: var(--primary);
}

/* Name highlight on hover */
.team-member:hover .team-name,
.physician-card:hover .physician-name,
a.team-member-clickable:hover .team-name {
  color: var(--primary);
}

/* Smooth transitions for child elements */
.team-avatar,
.physician-card-header {
  transition: all 0.3s ease;
}

.team-name,
.physician-name {
  transition: color 0.2s ease;
}

/* Focus styles for accessibility */
a.team-member-clickable:focus,
a.physician-card:focus {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Active/pressed state */
a.team-member-clickable:active,
a.physician-card:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 186, 61, 0.2);
}
