/* ================================================================
   Page-specific styles
   ================================================================ */

/* ========= HOME HERO ========= */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 200px 0 120px; /* extra 40px for brand-switcher strip */
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

.home-hero::after {
  content: "";
  position: absolute;
  bottom: 5%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29, 48, 99, 0.4), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 14s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 30px); }
}

.hero-inner { max-width: 960px; margin: 0 auto; text-align: center; }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 30px 0 32px;
}

.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: inline-block;
  transform: translateY(100%);
  animation: rise 1s var(--ease) forwards;
}
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.15s; }
.hero-title .line:nth-child(3) .line-inner { animation-delay: 0.3s; }

@keyframes rise { to { transform: translateY(0); } }

.hero-lede {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: var(--ink-mute);
  max-width: 720px;
  margin: 0 auto 50px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.6s forwards;
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.8s forwards;
  margin-bottom: 80px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1s forwards;
  max-width: 960px;
  margin: 0 auto;
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: bob 2s ease-in-out infinite;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-400), transparent);
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ========= ORBIT (Unified Access) ========= */
.orbit-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.orbit-copy h2 { margin-bottom: 24px; }
.orbit-copy p { font-size: 1.05rem; margin-bottom: 20px; }
.orbit-copy .callout {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-200);
  padding-left: 24px;
  border-left: 2px solid var(--gold-400);
  margin-top: 30px;
}

.orbit-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* All absolutely-positioned children share the same square box */
.orbit-ring,
.orbit-center,
#orbitDots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring {
  border: 1px solid rgba(212, 175, 55, 0.18);
  animation: orbitSpin 40s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}

.orbit-ring:nth-child(2) {
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-color: rgba(212, 175, 55, 0.28);
  animation-duration: 30s;
  animation-direction: reverse;
}

.orbit-ring:nth-child(3) {
  top: 22%;
  left: 22%;
  width: 56%;
  height: 56%;
  border-color: rgba(212, 175, 55, 0.42);
  animation-duration: 20s;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.orbit-center {
  top: 50%;
  left: 50%;
  width: 32%;
  height: 32%;
  transform: translate(-50%, -50%);
  background: var(--gold-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px;
  border-radius: 50%;
  z-index: 2;
}

/* Dots container spins slowly so the gold dots orbit the center */
#orbitDots {
  animation: orbitSpin 50s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.8);
  animation: orbitDotPulse 2.4s ease-in-out infinite;
}

@keyframes orbitDotPulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateX(var(--r, 220px)) scale(1); }
  50%      { opacity: 0.55; transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateX(var(--r, 220px)) scale(1.4); }
}

@media (max-width: 968px) {
  .orbit-visual { height: 360px; max-width: 360px; }
}
@media (max-width: 560px) {
  .orbit-visual { height: 300px; max-width: 300px; }
}

/* ========= FOR CLINICS ========= */
.clinic-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 100px;
}

.clinic-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-deep);
}

.clinic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.clinic-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 13, 26, 0.85));
}

.clinic-image .tag {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-200);
}

.clinic-copy h2 { margin-bottom: 24px; }

.clinic-copy p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 20px; }

.clinic-types {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.clinic-types li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}

.clinic-types li::before {
  content: "✦";
  color: var(--gold-400);
  font-size: 0.8rem;
}

.achieve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.achieve-item {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.achieve-item:hover {
  border-color: var(--gold-400);
  background: var(--surface-strong);
  transform: translateY(-4px);
}

.achieve-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold-400);
  letter-spacing: 0.14em;
}

.achieve-item h4 {
  font-size: 1.15rem;
  line-height: 1.3;
}

/* ========= WHY — Differentiators ========= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.why-item {
  padding: 44px 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  background: linear-gradient(180deg, rgba(22, 37, 74, 0.2), transparent);
  transition: all 0.5s var(--ease);
}

.why-item:hover {
  border-color: var(--gold-400);
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.why-roman {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.why-item h4 { font-size: 1.4rem; margin-bottom: 14px; line-height: 1.3; }

/* ========= FAQ ========= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

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

.faq-q {
  width: 100%;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-q:hover { color: var(--gold-200); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-300);
  font-size: 1rem;
  transition: all 0.3s var(--ease);
}

.faq-item.open .faq-icon {
  background: var(--gold-grad);
  color: var(--navy-900);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 30px;
}

.faq-a p {
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 720px;
}

/* ========= PRICING ========= */
.pricing-wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.pricing-card {
  background: linear-gradient(180deg, rgba(22, 37, 74, 0.4), rgba(11, 19, 38, 0.4));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: var(--gold-grad);
  opacity: 0.2;
  z-index: -1;
  filter: blur(30px);
}

.pricing-card .badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gold-grad);
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 30px;
}

.pricing-card h2 { margin-bottom: 16px; }

.pricing-card .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-200);
  margin-bottom: 30px;
}

.pricing-includes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 40px 0;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.pricing-includes li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}

@media (max-width: 968px) {
  .orbit-wrap, .clinic-intro { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .clinic-types, .pricing-includes { grid-template-columns: 1fr; }
  .pricing-card { padding: 50px 28px; }
}
