/* ========================================
   VARIABILI COLORI
   ======================================== */
:root {
  /* Colori principali brand */
  --color-primary: #1d4ed8;
  --color-primary-dark: #1d4b82;
  --color-secondary: #22c55e;
  --color-accent: #93c5fd;
  
  /* Backgrounds */
  --bg-main: #f5f7fb;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-lighter: #f9fafb;
  --bg-blue-light: #eff6ff;
  --bg-dark: #020617;
  --bg-darker: #0f172a;
  
  /* Testi */
  --text-primary: #1a2634;
  --text-dark: #0f172a;
  --text-medium: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --text-white: #ffffff;
  --text-white-muted: #e5e7eb;
  --text-white-light: #d1d5db;
  --text-white-lighter: #9ca3af;
  
  /* Bordi e ombre */
  --border-light: rgba(148, 163, 184, 0.12);
  --border-medium: rgba(148, 163, 184, 0.2);
  --shadow-sm: 0 18px 45px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 40px rgba(148, 163, 184, 0.22);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.3);
  
  /* Stati success */
  --success-bg: #bbf7d0;
  --success-text: #166534;
  --success-dark: #16a34a;
  
  /* Stati warning */
  --warning-bg: #fef3c7;
  --warning-border: #fbbf24;
  --warning-text: #92400e;
  --warning-dark: #78350f;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 64, 175, 0.75));
}

/* --------- RESET --------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* --------- LAYOUT UTILITIES --------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

h2.section-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
}

.section-subtitle {
  max-width: 650px;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* --------- HEADER --------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 38, 52, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

/* Burger menu */
.burger {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger .line-1,
.burger .line-2,
.burger .line-3 {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

#nav-toggle {
  display: none;
}

/* --------- NAV FULLSCREEN --------- */
nav {
  position: fixed;
  inset: 0;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 60;
}

.nav-overlay {
  width: 100vw;
  height: 100vh;
  background: var(--bg-dark);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-overlay ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
}

.nav-overlay a {
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-white-muted);
}

#nav-toggle:checked ~ nav {
  transform: translateX(0);
}

#nav-toggle:checked + label .line-1,
#nav-toggle:checked + label .line-2,
#nav-toggle:checked + label .line-3 {
  background: var(--bg-lighter);
}

#nav-toggle:checked + label .line-1 {
  transform: translateY(9px) rotate(45deg);
}

#nav-toggle:checked + label .line-2 {
  opacity: 0;
}

#nav-toggle:checked + label .line-3 {
  transform: translateY(-9px) rotate(-45deg);
}

/* --------- LOGO --------- */
.logo {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 30px; /* Regola l'altezza come preferisci */
  width: auto;
  display: block;
}


/* --------- HERO --------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(0, 0, 0, 0.1)),
    var(--gradient-hero);
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 700px;
}

.hero-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(226, 232, 240, 0.9);
}

.hero-title {
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

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

.hero-text {
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  color: rgba(226, 232, 240, 0.9);
}

.hero-cta {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.6);
  background: rgba(15, 23, 42, 0.3);
  color: #e5f0ff;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero-cta .pulse-circle {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background: #2b9f08;
  box-shadow: 0 0 0 0 rgba(9, 190, 3, 0.5);
  animation: pulse-circle 1.5s infinite;
  flex-shrink: 0;
}

.hero-cta:hover .pulse-circle {
  animation: none;
}

@keyframes pulse-circle {
  0% {
    transform: scale(0.15);
    box-shadow: 0 0 0 0 rgba(59, 179, 19, 0.5);
  }
  30% {
    transform: scale(0.25);
    box-shadow: 0 0 0 30px rgba(8, 192, 39, 0.583);
  }
  100% {
    transform: scale(0.15);
    box-shadow: 0 0 0 0 rgba(1, 182, 43, 0.629);
  }
}

.spacer {
  height: 64px;
}

/* --------- SERVIZI (MACRO CATEGORIE) --------- */
.services {
  background: var(--bg-main);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--bg-blue-light);
  color: var(--color-primary);
}

.service-tag span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.service-link {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

/* --------- CHI SIAMO --------- */
.about {
  background: var(--bg-white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--bg-blue-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-secondary);
  margin-right: 0.35rem;
}

.about-text p {
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.97rem;
}

.about-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.2rem;
}

.about-highlight-item {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.about-highlight-item span {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.about-card {
  background: linear-gradient(145deg, var(--bg-blue-light), var(--bg-white));
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.9rem;
  color: #475569;
}

/* --------- TEAM --------- */
.team {
  background: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--bg-white);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.team-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.team-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5f0ff;
  font-weight: 600;
  font-size: 1.1rem;
}

.team-name {
  font-weight: 600;
}

.team-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.team-specialty {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

.team-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --------- PERCHÉ SCEGLIERCI --------- */
.why {
  background: var(--bg-white);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.why-list {
  display: grid;
  gap: 1.1rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.why-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--success-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--success-text);
  flex-shrink: 0;
}

.why-item h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.2rem;
  color: #1f2933;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.why-panel {
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  background: var(--bg-darker);
  background-image: radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(45, 212, 191, 0.2), transparent 55%);
  color: var(--text-white-muted);
}

.why-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.why-panel p {
  font-size: 0.9rem;
  color: var(--text-white-light);
  margin-bottom: 0.75rem;
}

.why-panel small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-white-lighter);
}

/* --------- CONTATTI --------- */
.contact {
  background: var(--bg-lighter);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: grid;
  gap: 0.75rem;
}

.contact-info strong {
  color: var(--text-medium);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #dcfce7;
  color: var(--success-text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 0.5rem;
}

.contact-form {
  background: var(--bg-white);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-medium);
  display: grid;
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.25rem;
}

.field-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.field-group input,
.field-group textarea {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.6rem 0.9rem;
  font: inherit;
  outline: none;
  color: #111827;
  background: var(--bg-lighter);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group textarea {
  border-radius: 16px;
  min-height: 90px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: #2563eb;
  background: var(--bg-white);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.contact-submit {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  color: var(--bg-lighter);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.phone-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: #1e40af;
  text-decoration: underline;
}

/* --------- FOOTER --------- */
footer {
  background: var(--bg-dark);
  color: var(--text-white-lighter);
  padding: 2.5rem 0 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-white-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--text-white-lighter);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(75, 85, 99, 0.6);
  padding-top: 1rem;
}

/* --------- RESPONSIVE --------- */
@media (max-width: 900px) {
  .about-layout,
  .why-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-card,
  .why-panel {
    order: -1;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }

  section {
    padding: 3rem 0;
  }

  .about-highlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================
   TEMPLATE PAGINA TRATTAMENTI
   ======================================== */

.treatment-hero-simple {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-blue-light) 100%);
  padding: 6rem 0 3rem;
  border-bottom: 1px solid var(--border-medium);
}

.treatment-breadcrumb {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.treatment-breadcrumb a {
  color: var(--color-primary);
}

.treatment-breadcrumb span {
  margin: 0 0.4rem;
}

.treatment-hero-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.treatment-hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 650px;
}

.treatment-overview {
  background: var(--bg-white);
}

.treatment-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.treatment-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--bg-blue-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.treatment-section-title {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--color-primary-dark);
}

.treatment-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.7;
}

.treatment-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-medium);
}

.treatment-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.treatment-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.treatment-cta-box {
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 1.75rem;
  border-radius: 18px;
}

.treatment-cta-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.treatment-cta-box p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.treatment-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.treatment-info-box {
  background: var(--bg-lighter);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-medium);
}

.treatment-info-box h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.treatment-info-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.treatment-info-box li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.treatment-info-box li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.treatment-benefits {
  background: var(--bg-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-light);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--success-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--success-text);
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.treatment-indications {
  background: var(--bg-white);
}

.indications-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.indications-list {
  display: grid;
  gap: 1.25rem;
}

.indication-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.indication-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.indication-item h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
  color: #1f2933;
}

.indication-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.indications-panel {
  position: sticky;
  top: 84px;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 14px;
  padding: 1.5rem;
}

.indications-panel h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
  color: var(--warning-text);
}

.indications-panel p {
  font-size: 0.88rem;
  color: var(--warning-dark);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.treatment-process {
  background: var(--bg-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.process-step {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-light);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.treatment-faq {
  background: var(--bg-white);
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-lighter);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-item summary {
  font-weight: 600;
  color: var(--text-medium);
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.treatment-final-cta {
  background: var(--bg-darker);
  background-image: radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(45, 212, 191, 0.2), transparent 55%);
}

.final-cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.final-cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--bg-lighter);
  margin-bottom: 1rem;
}

.final-cta-box p {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .treatment-layout,
  .indications-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .treatment-sidebar,
  .indications-panel {
    position: static;
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ========================================
   PAGINA CATEGORIA TRATTAMENTI
   ======================================== */

.category-hero {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-blue-light) 100%);
  padding: 6rem 0 3rem;
  border-bottom: 1px solid var(--border-medium);
}

.category-breadcrumb {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.category-breadcrumb a {
  color: var(--color-primary);
}

.category-breadcrumb span {
  margin: 0 0.4rem;
}

.category-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.category-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 650px;
}

.treatments-grid-section {
  background: var(--bg-white);
  padding: 4rem 0;
}

.treatments-grid-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

.treatment-grid-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-medium);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.treatment-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.15);
}

.treatment-grid-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.treatment-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.treatment-grid-card:hover .treatment-grid-image img {
  transform: scale(1.08);
}

.treatment-grid-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.treatment-grid-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.treatment-grid-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.treatment-grid-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 0.5rem;
  transition: gap 0.2s ease;
}

.treatment-grid-link::after {
  content: "→";
  margin-left: 0.5rem;
  transition: margin-left 0.2s ease;
}

.treatment-grid-link:hover::after {
  margin-left: 0.75rem;
}

.category-cta {
  background: var(--bg-light);
  padding: 4rem 0;
}

.category-cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 3rem 2rem;
  color: var(--text-white);
}

.category-cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.category-cta-box p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 768px) {
  .category-hero {
    padding: 5rem 0 3rem;
  }

  .treatments-grid-section .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .treatment-grid-image {
    height: 240px;
  }
}

.iv-fluid-image img {
  object-position: center 100%;
}



/* ========================================
   POP-UP RINGRAZIAMENTO
   ======================================== */

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.popup-content {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s ease;
}

.popup-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--success-dark));
  color: var(--text-white);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.popup-content h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.popup-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  color: var(--text-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.popup-close:hover {
  transform: scale(1.05);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ========================================
   SEZIONE MODALITÀ DI SOMMINISTRAZIONE
   ======================================== */

.treatment-modalities {
  background: var(--bg-white);
  padding: 4rem 0;
}

.modalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.modality-card {
  background: linear-gradient(145deg, var(--bg-light), var(--bg-white));
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.15);
  border: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modality-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(148, 163, 184, 0.25);
}

.modality-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.1rem;
}

.modality-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.modality-title span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 0.25rem;
  text-transform: none;
}

.modality-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.modality-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.modality-features li {
  font-size: 0.85rem;
  color: var(--color-primary);
  padding-left: 1.25rem;
  position: relative;
}

.modality-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}
