/* Amadeo Medical Group: homepage routes and procedure pages (2026 rebuild).
   Loaded after main.css. Colours come from main.css tokens (design/DESIGN.md). */

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.btn .icon, .nav__cta .icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Line of plain facts under the hero buttons */
.hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg);
  margin-top: var(--space-xl); padding: 0; list-style: none;
  color: rgba(255, 255, 255, 0.85); font-size: 0.95rem;
}
.hero__facts li { display: flex; align-items: center; gap: 0.5em; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); flex: none; }
.hero--inner .hero__facts { justify-content: center; }
.hero__desk { margin-top: var(--space-md); color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.hero__desk a { color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Three routes: what do you need today */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.route {
  display: flex; flex-direction: column; gap: var(--space-sm);
  padding: var(--space-xl); background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm); color: inherit; text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.route:hover, .route:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.route__when { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-dark); }
.route h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue-deeper); line-height: 1.2; }
.route p { color: var(--gray-600); line-height: 1.65; flex: 1; }
.route__go { font-weight: 600; color: var(--blue-primary); }
.route__go::after { content: " \2192"; }
.section--routes { margin-top: calc(var(--space-4xl) * -1); position: relative; z-index: 3; padding-top: 0; }
.section--routes::before { display: none; }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--space-lg); max-width: 760px; margin: 0 auto; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 4rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-pale); color: var(--blue-deeper);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
}
.steps h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--blue-deeper); margin-bottom: 0.25rem; }
.steps p { color: var(--gray-600); line-height: 1.7; }
.steps--row { grid-template-columns: repeat(3, 1fr); max-width: none; }
.section--blue .steps h3 { color: var(--white); }
.section--blue .steps p { color: rgba(255, 255, 255, 0.8); }

/* Short answer first, for people and for search */
.answer {
  max-width: 820px; margin: 0 auto; padding: var(--space-xl);
  background: var(--white); border: 1px solid var(--blue-pale);
  border-radius: var(--border-radius); box-shadow: var(--shadow-md);
}
.answer p { color: var(--gray-700); line-height: 1.75; font-size: 1.08rem; }
.answer p + p { margin-top: var(--space-md); }

/* Emergency notice: calm, never alarmist */
.notice {
  max-width: 820px; margin: var(--space-xl) auto 0; padding: var(--space-lg) var(--space-xl);
  background: var(--warm-peach); border-radius: var(--border-radius-sm);
  color: var(--gray-700); line-height: 1.7;
}
.notice strong { color: var(--gray-800); }

.plain-list { max-width: 760px; margin: 0 auto; padding-left: 1.25rem; color: var(--gray-600); line-height: 1.8; }
.plain-list li + li { margin-top: var(--space-xs); }

/* Questions */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--gray-100); padding: var(--space-lg) 0; }
.faq summary { font-weight: 600; font-size: 1.05rem; color: var(--gray-700); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-primary); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: var(--space-md); color: var(--gray-600); line-height: 1.8; }

/* Inline ask, placed after the page has answered the main worry */
.ask { max-width: 820px; margin: var(--space-2xl) auto 0; text-align: center; }
.ask p { color: var(--gray-600); margin-bottom: var(--space-md); }
.ask__alt { margin-top: var(--space-md); font-size: 0.95rem; color: var(--gray-500); }
.ask__alt a { color: var(--blue-dark); font-weight: 600; }

.crumbs { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-bottom: var(--space-md); }
.crumbs a { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 900px) {
  .routes, .steps--row { grid-template-columns: 1fr; }
  .section--routes { margin-top: 0; padding-top: var(--space-2xl); }
}
@media (prefers-reduced-motion: reduce) {
  .route { transition: none; }
  .route:hover, .route:focus-visible { transform: none; }
}
