@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --rc-primary: #6f7bff;
  --rc-secondary: #53c8d9;
  --rc-bg: radial-gradient(circle at 10% 20%, rgba(111,123,255,0.25), transparent 55%),
             radial-gradient(circle at 80% 8%, rgba(83,200,217,0.28), transparent 45%),
             radial-gradient(circle at 20% 90%, rgba(11,26,47,0.08), transparent 65%),
             #f6f8ff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 120px) 0 80px;
  background: var(--rc-bg);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 32px);
}

.hero__motion .orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
  mix-blend-mode: multiply;
  animation: float 12s ease-in-out infinite;
}

.hero__motion .orb--one {
  width: 260px;
  height: 260px;
  left: -40px;
  top: 10%;
  background: linear-gradient(135deg, rgba(111,123,255,0.6), rgba(83,200,217,0.45));
}

.hero__motion .orb--two {
  width: 320px;
  height: 320px;
  right: -60px;
  top: 5%;
  background: linear-gradient(135deg, rgba(83,200,217,0.6), rgba(98,91,252,0.5));
  animation-delay: -4s;
}

.hero__motion .orb--three {
  width: 220px;
  height: 220px;
  bottom: -60px;
  right: 25%;
  background: linear-gradient(135deg, rgba(111,123,255,0.4), rgba(11,26,47,0.2));
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -24px, 0) scale(1.04); }
}

.hero__grid {
  display: grid;
  gap: clamp(28px, 6vw, 60px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  font-weight: 600;
  color: #0b1a2f;
  box-shadow: 0 10px 30px rgba(11,26,47,0.08);
}

.gradient {
  background: linear-gradient(135deg, var(--rc-primary), var(--rc-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero__cta {
  margin: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rc-primary), var(--rc-secondary));
  color: #fff;
  box-shadow: 0 14px 28px rgba(111,123,255,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(111,123,255,0.3);
}

.hero-button.outline {
  background: transparent;
  color: var(--rc-primary);
  box-shadow: inset 0 0 0 2px rgba(111,123,255,0.35);
}

.hero-button.whatsapp {
  background: #1fbe77;
  box-shadow: 0 14px 28px rgba(31,190,119,0.25);
}

.hero-button.whatsapp:hover,
.hero-button.whatsapp:focus-visible {
  box-shadow: 0 20px 36px rgba(31,190,119,0.3);
}

.hero__stats {
  margin: 24px 0 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  font-weight: 600;
  color: #0b1a2f;
}

.hero__stats dt {
  font-size: 2rem;
}

.hero__stats dd {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.review-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.scan-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 24px 60px rgba(11,26,47,0.12);
}

.scan-card__canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: radial-gradient(circle at 50% 50%, rgba(111,123,255,0.18), transparent 70%);
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 12px 0;
}

.scan-card__canvas svg {
  width: 90%;
  height: auto;
  stroke: rgba(255,255,255,0.9);
  fill: none;
}

.scan-card__canvas .irrigation circle {
  fill: rgba(83,200,217,0.45);
}

.scan-card__canvas .pulse {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(111,123,255,0.4);
  animation: pulse 6s ease-in-out infinite;
}

.scan-card__canvas .pulse.delayed {
  animation-delay: -3s;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.6; }
  70% { transform: scale(1.2); opacity: 0; }
  100% { opacity: 0; }
}

.scan-card__meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-nav-wrap {
  position: relative;
  margin: clamp(-60px, -6vw, -40px) auto 64px;
  padding: 0 clamp(16px, 5vw, 32px);
  max-width: 1120px;
}

.section-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 18px);
  padding: clamp(12px, 3vw, 20px) clamp(16px, 4vw, 32px);
  border-radius: 28px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 24px 60px rgba(11,26,47,0.12);
  backdrop-filter: blur(16px);
  overflow: visible;
}

.section-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 18px;
  font-weight: 700;
  color: #0b1a2f;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.section-nav__link i {
  font-size: 1.2rem;
  color: var(--rc-secondary);
}

.section-nav__link:hover,
.section-nav__link:focus-visible {
  background: rgba(111,123,255,0.12);
  transform: translateY(-2px);
}

.section-nav__link.is-active {
  background: linear-gradient(135deg, rgba(111,123,255,0.18), rgba(83,200,217,0.28));
  box-shadow: inset 0 0 0 1px rgba(111,123,255,0.25);
}

.section {
  padding: clamp(72px, 12vw, 110px) 0;
}

.section--alt {
  background: #f7f9ff;
}

.section__header {
  max-width: 720px;
  margin: 0 auto clamp(40px, 7vw, 60px);
  text-align: center;
}

.section__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section__header p {
  margin-top: 16px;
  color: var(--muted);
}

.symptom-grid,
.diagnostic-grid,
.timeline,
.comfort-grid,
.tech-grid,
.outcome-grid,
.case-grid,
.expertise-grid,
.pricing-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.symptom-grid,
.comfort-grid,
.tech-grid,
.outcome-grid,
.case-grid,
.expertise-grid,
.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.diagnostic-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.timeline {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
}

.timeline-step,
.symptom-card,
.diagnostic-card,
.comfort-card,
.tech-card,
.outcome-card,
.case-card,
.expertise-card,
.price-card,
.faq-item,
.contact-card {
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.timeline-step:hover,
.symptom-card:hover,
.diagnostic-card:hover,
.comfort-card:hover,
.tech-card:hover,
.outcome-card:hover,
.case-card:hover,
.expertise-card:hover,
.price-card:hover,
.faq-item:hover,
.contact-card:hover,
.timeline-step:focus-within,
.symptom-card:focus-within,
.diagnostic-card:focus-within,
.comfort-card:focus-within,
.tech-card:focus-within,
.outcome-card:focus-within,
.case-card:focus-within,
.expertise-card:focus-within,
.price-card:focus-within,
.faq-item:focus-within,
.contact-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(15,23,42,0.12);
}

.timeline-step h3 {
  margin-bottom: 12px;
}

.timeline-step {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 30px);
  background: linear-gradient(135deg, rgba(111,123,255,0.22), rgba(83,200,217,0.18));
  border: 1px solid rgba(255,255,255,0.4);
  color: #0b1a2f;
  --pulse-color: rgba(111,123,255,0.55);
}

.timeline-step__pulse {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  top: -70px;
  right: -40px;
  background: radial-gradient(circle at center, var(--pulse-color) 0%, rgba(255,255,255,0) 70%);
  filter: blur(0);
  opacity: 0.85;
  animation: stepPulse 6s ease-in-out infinite;
}

.timeline-step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  pointer-events: none;
}

.timeline-step > * {
  position: relative;
  z-index: 1;
}

.timeline-step__media {
  margin-bottom: 18px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(11,26,47,0.16);
  border: 1px solid rgba(255,255,255,0.55);
}

.timeline-step__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.timeline-step:hover .timeline-step__pulse,
.timeline-step:focus-within .timeline-step__pulse {
  animation-duration: 3.5s;
  transform: scale(1.08);
}

@keyframes stepPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.timeline-step[data-step="anaesthesia"] {
  background: linear-gradient(135deg, rgba(111,123,255,0.28), rgba(83,200,217,0.28));
}

.timeline-step[data-step="anaesthesia"] .timeline-step__pulse {
  --pulse-color: rgba(111,123,255,0.65);
}

.timeline-step[data-step="access"] {
  background: linear-gradient(135deg, rgba(255,154,98,0.32), rgba(255,213,153,0.28));
  --pulse-color: rgba(255,154,98,0.6);
}

.timeline-step[data-step="shaping"] {
  background: linear-gradient(135deg, rgba(83,200,217,0.3), rgba(139,248,206,0.28));
  --pulse-color: rgba(83,200,217,0.6);
}

.timeline-step[data-step="disinfection"] {
  background: linear-gradient(135deg, rgba(255,121,198,0.3), rgba(111,123,255,0.24));
  --pulse-color: rgba(255,121,198,0.58);
}

.timeline-step[data-step="seal"] {
  background: linear-gradient(135deg, rgba(130,199,255,0.3), rgba(111,123,255,0.24));
  --pulse-color: rgba(130,199,255,0.58);
}

.timeline-step[data-step="crown"] {
  background: linear-gradient(135deg, rgba(255,220,128,0.32), rgba(255,168,55,0.26));
  --pulse-color: rgba(255,193,102,0.62);
}

.outcome-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.outcome-card header {
  margin-bottom: 12px;
}

.outcome-card h3 {
  font-size: 1.35rem;
}

.outcome-card p {
  color: var(--muted);
}

.progress {
  margin-top: 16px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(111,123,255,0.16);
  overflow: hidden;
  position: relative;
}

.progress__fill {
  position: absolute;
  inset: 0;
  width: var(--progress);
  background: linear-gradient(135deg, var(--rc-primary), var(--rc-secondary));
}

.outcome-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  padding-left: 18px;
  list-style: disc;
  color: var(--muted);
}

.case-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.case-card header {
  margin-bottom: 16px;
}

.case-label {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rc-secondary);
}

.case-meta {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.case-meta div {
  display: grid;
  gap: 4px;
}

.case-meta dt {
  font-weight: 700;
  color: #0b1a2f;
}

.case-details {
  margin-top: 16px;
}

.case-details summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: #0b1a2f;
}

.case-details summary::-webkit-details-marker {
  display: none;
}

.case-details summary::after {
  content: '\25BC';
  float: right;
  font-size: 0.8rem;
  transform: rotate(0deg);
  transition: transform .2s ease;
}

.case-details[open] summary::after {
  transform: rotate(180deg);
}

.case-details ol {
  margin-top: 12px;
  margin-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.doctor-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 32px);
  justify-content: center;
}

.doctor-card {
  --bg: #fff;
  --title-color: #fff;
  --title-color-hover: #000;
  --text-color: #666;
  --button-color: #eee;
  --button-color-hover: #ddd;
  background: var(--bg);
  border-radius: 2rem;
  padding: 0.5rem;
  width: min(20rem, 100%);
  height: 30rem;
  overflow: clip;
  position: relative;
  font-family: "Lato", "Montserrat", "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 26px 56px rgba(15,23,42,0.18);
}

.doctor-card.dark {
  --bg: #222;
  --title-color: #fff;
  --title-color-hover: #fff;
  --text-color: #ccc;
  --button-color: #555;
  --button-color-hover: #444;
}

.doctor-card::before {
  content: "";
  position: absolute;
  width: calc(100% - 1rem);
  height: 30%;
  bottom: 0.5rem;
  left: 0.5rem;
  mask: linear-gradient(#0000, #000f 80%);
  backdrop-filter: blur(1rem);
  border-radius: 0 0 1.5rem 1.5rem;
  transform: translateY(0);
  transition: transform 0.25s ease;
}

.doctor-card > img {
  max-width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 5%;
  border-radius: 1.5rem;
  display: block;
  transition: aspect-ratio 0.25s ease, object-position 0.5s ease;
  width: 100%;
  height: auto;
}

.doctor-card section {
  margin: 1rem;
  height: calc(33.3333% - 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.doctor-card h3 {
  margin: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  opacity: 1;
  transform: translateY(0);
  transition: color 0.5s ease, margin-bottom 0.25s ease, opacity 1s ease, transform 0.25s ease;
}

.doctor-card p {
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--text-color);
  margin: 0;
  opacity: 1;
  transform: translateY(0);
  transition: margin-bottom 0.25s ease, opacity 1s ease 0.2s, transform 0.25s ease 0.2s;
}

.doctor-card section > div {
  flex: 1;
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.25s ease 0.2s, opacity 1s ease;
}

.doctor-card .tag {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--title-color-hover);
  font-weight: 700;
}

.doctor-card .tag i {
  font-size: 1rem;
}

.doctor-card button {
  border: 1px solid transparent;
  border-radius: 1.25rem 1.25rem 1.5rem 1.25rem;
  font-size: 1rem;
  padding: 1rem 1.5rem 1rem 2.75rem;
  transform: translateX(1rem);
  background: var(--button-color);
  transition: background 0.33s ease, transform 0.33s ease;
  outline-offset: 2px;
  position: relative;
  color: var(--title-color-hover);
  cursor: pointer;
}

.doctor-card button::before,
.doctor-card button::after {
  content: "";
  width: 0.85rem;
  height: 0.1rem;
  background: currentColor;
  position: absolute;
  top: 50%;
  left: 1.33rem;
  border-radius: 1rem;
}

.doctor-card button::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.15s ease;
}

.doctor-card button::before {
  transform: translateY(-50%);
}

.doctor-card button.following::after,
.doctor-card button.is-following::after {
  transform: translateY(-50%) rotate(0deg);
}

.doctor-card button:hover,
.doctor-card button:focus-visible {
  background: var(--button-color-hover);
}

.doctor-card button:focus-visible {
  outline: 2px solid var(--text-color);
}

.doctor-card:hover::before,
.doctor-card:focus-within::before {
  transform: translateY(100%);
}

.doctor-card:hover > img,
.doctor-card:focus-within > img {
  aspect-ratio: 1 / 1;
  object-position: 50% 10%;
  transition: aspect-ratio 0.25s ease, object-position 0.25s ease;
}

.doctor-card:hover h3,
.doctor-card:focus-within h3 {
  color: var(--title-color-hover);
  margin-bottom: 0.5rem;
  opacity: 1;
  transform: translateY(0);
}

.doctor-card:hover p,
.doctor-card:focus-within p {
  margin-bottom: 0.5rem;
  opacity: 1;
  transform: translateY(0);
}

.doctor-card:hover section > div,
.doctor-card:focus-within section > div {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.25s ease 0.25s, opacity 0.5s ease 0.25s;
}

.doctor-card:hover,
.doctor-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px rgba(15,23,42,0.22);
}

@media (hover: hover) {
  .doctor-card h3 {
    opacity: 0;
    transform: translateY(-200%);
  }

  .doctor-card p,
  .doctor-card section > div {
    opacity: 0;
    transform: translateY(100%);
  }
}

.outcome-callout,
.team-cta {
  margin-top: clamp(32px, 6vw, 48px);
  padding: clamp(18px, 4vw, 24px);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(111,123,255,0.12), rgba(83,200,217,0.18));
  color: #0b1a2f;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(111,123,255,0.12);
}

.triage-note,
.evidence-callout,
.followup,
.emi {
  margin-top: clamp(32px, 6vw, 48px);
  padding: clamp(18px, 4vw, 24px);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(111,123,255,0.12), rgba(83,200,217,0.18));
  color: #0b1a2f;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(111,123,255,0.12);
}

.price-card header {
  margin-bottom: 16px;
}

.price-card h3 {
  font-size: 1.4rem;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
}

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

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\25BC';
  float: right;
  font-size: 0.8rem;
  transform: rotate(0deg);
  transition: transform .2s ease;
}

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

.faq-item p {
  margin-top: 16px;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-card { 
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.contact-card i {
  font-size: 1.8rem;
  color: var(--rc-secondary);
}

.media-lab__grid {
  display: grid;
  gap: clamp(32px, 6vw, 56px);
  align-items: stretch;
}

@media (min-width: 960px) {
  .media-lab__grid {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  }
}

.media-lab__carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  padding: 28px 28px 32px;
  border-radius: 36px;
  background: radial-gradient(circle at 10% 10%, rgba(111,123,255,0.45), transparent 60%),
              radial-gradient(circle at 80% 0%, rgba(255,121,198,0.45), transparent 55%),
              rgba(7,16,40,0.88);
  box-shadow: 0 40px 90px rgba(11,26,47,0.28);
  overflow: hidden;
  isolation: isolate;
}

.media-lab__carousel::before {
  content: "";
  position: absolute;
  inset: -30% -10% 30% -40%;
  background: linear-gradient(120deg, rgba(255,255,255,0.25), rgba(255,255,255,0));
  transform: rotate(8deg);
  filter: blur(40px);
  opacity: 0.7;
  animation: auroraSweep 14s ease-in-out infinite;
  z-index: -2;
}

.media-lab__carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2,8,23,0.55));
  z-index: -1;
}

@keyframes auroraSweep {
  0%, 100% { transform: rotate(8deg) translateX(-10%); opacity: 0.65; }
  50% { transform: rotate(12deg) translateX(8%); opacity: 0.9; }
}

.media-lab__note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.slideshow {
  position: relative;
  margin: 0 auto;
  width: min(300px, 100%);
  height: 400px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.slideshow .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transform: rotateY(270deg);
  transform-style: preserve-3d;
  animation: animate 40s linear infinite;
  animation-delay: calc(var(--i) * 4s);
}

@keyframes animate {
  0% {
    transform: rotateY(270deg);
  }
  10%,
  100% {
    transform: rotateY(90deg);
  }
}

.slideshow .slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.slideshow .slide h3 {
  position: relative;
  z-index: 2;
  color: #000000;
  font-size: 2rem;
  transform: rotateY(180deg) translateY(100px) translateZ(50px);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  font-weight: 900;
}

.slideshow .slide h3 span {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 0.8em;
  font-weight: 300;
  transform: translateZ(50px);
  backface-visibility: hidden;
}

.media-lab__videos {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-lab__video {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(111,123,255,0.36), rgba(255,121,198,0.34));
  box-shadow: 0 34px 80px rgba(8,16,40,0.28);
  display: grid;
  gap: 18px;
  overflow: hidden;
  isolation: isolate;
}

.media-lab__video::before {
  content: "";
  position: absolute;
  inset: -40% 20% 30% -30%;
  background: radial-gradient(circle, rgba(255,255,255,0.4), transparent 70%);
  filter: blur(50px);
  opacity: 0.7;
  animation: vokaFlow 12s linear infinite;
  z-index: -1;
}

@keyframes vokaFlow {
  0% { transform: translateX(-10%) rotate(0deg); opacity: 0.6; }
  50% { transform: translateX(10%) rotate(8deg); opacity: 0.9; }
  100% { transform: translateX(-10%) rotate(0deg); opacity: 0.6; }
}

.media-lab__video video {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 22px 40px rgba(5,12,30,0.4);
}

.media-lab__video figcaption {
  font-size: 1rem;
  color: #0b1228;
  line-height: 1.6;
  font-weight: 600;
}

.chairside-status {
  margin-top: clamp(40px, 8vw, 72px);
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  justify-items: center;
}

@media (min-width: 1024px) {
  .chairside-status {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.rc-card {
  position: relative;
  width: min(280px, 100%);
  min-height: 210px;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 18px 32px rgba(11, 26, 47, 0.24);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.rc-card__header {
  display: flex;
  justify-content: flex-end;
}

.rc-card__close {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.55);
}

.rc-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

@media (min-width: 540px) {
  .rc-card__body {
    flex-direction: row;
    align-items: flex-start;
  }
}

.rc-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: currentColor;
}

.rc-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.rc-card__body p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  line-height: 1.45;
}

.rc-progress {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rc-progress__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc-progress__meta span {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

.rc-progress__bar {
  position: relative;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(12, 22, 40, 0.45);
  overflow: hidden;
}

.rc-progress__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--progress-width, 100%);
  background: linear-gradient(90deg, #1d1da3 0%, #5a81ff 60%, #6ff7d3 100%);
  border-radius: inherit;
}

.rc-progress--actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  background: rgba(15, 25, 45, 0.45);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.rc-btn:hover,
.rc-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10, 18, 35, 0.35);
}

.rc-btn--primary {
  background: linear-gradient(135deg, #5a81ff, #53c8d9);
  color: #0b1a2f;
}

.rc-card--blue {
  background: radial-gradient(circle at top right, rgba(21, 64, 148, 0.75) 0%, rgba(17, 18, 30, 0.92) 45%, rgba(17, 18, 30, 0.98) 100%);
}

.rc-card--green {
  background: radial-gradient(circle at top right, rgba(7, 119, 104, 0.8) 0%, rgba(15, 20, 27, 0.92) 50%, rgba(15, 20, 27, 0.98) 100%);
}

.rc-card--red {
  background: radial-gradient(circle at top right, rgba(167, 70, 54, 0.8) 0%, rgba(24, 18, 26, 0.92) 50%, rgba(24, 18, 26, 0.98) 100%);
}

.rc-card--blue .rc-btn--primary:hover,
.rc-card--green .rc-btn--primary:hover,
.rc-card--red .rc-btn--primary:hover {
  filter: brightness(1.05);
}

.rc-card--green .rc-btn,
.rc-card--red .rc-btn {
  background: rgba(14, 24, 36, 0.55);
}

.rc-card--green .rc-btn:hover,
.rc-card--green .rc-btn:focus-visible,
.rc-card--red .rc-btn:hover,
.rc-card--red .rc-btn:focus-visible {
  background: rgba(14, 24, 36, 0.75);
}

.rc-card--green .rc-btn--primary {
  background: linear-gradient(135deg, #1ad8a6, #52ffa0);
}

.rc-card--red .rc-btn--primary {
  background: linear-gradient(135deg, #fe6c9b, #ffaf87);
  color: #320a15;
}

@media (max-width: 640px) {
  .media-lab__grid {
    justify-items: center;
  }

  .media-lab__video {
    width: 100%;
  }

  .rc-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .media-lab__carousel {
    padding: 24px 22px 28px;
  }

  .slideshow {
    height: 340px;
  }

  .slideshow .slide h3 {
    font-size: 1.6rem;
    transform: rotateY(180deg) translateY(80px) translateZ(40px);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section-nav-wrap {
    margin: -40px auto 48px;
  }

  .section-nav {
    border-radius: 22px;
  }

  .hero {
    padding-bottom: 56px;
  }

  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-card img {
    margin: 0 auto;
  }
}
