/* ══════════════════════════════════════════════
   HOME PAGE — Dr. Kaiser Jr.
   Components specific to the home page
   ══════════════════════════════════════════════ */

/* ── Hero Home ── */
.hero--home {
  background: var(--navy-900);
}

.hero--home .hero__photo-wrap {
  position: absolute;
  right: 0; bottom: 0;
  height: 100%; width: 68%;
  pointer-events: none; z-index: 1;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.04) 12%, rgba(0,0,0,.2) 22%, rgba(0,0,0,.55) 34%, rgba(0,0,0,.85) 46%, black 58%);
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.04) 12%, rgba(0,0,0,.2) 22%, rgba(0,0,0,.55) 34%, rgba(0,0,0,.85) 46%, black 58%);
}

.hero--home .hero__photo-wrap img {
  position: absolute; bottom: 0; right: 0;
  height: 100%; width: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(.88) saturate(.85);
}

.hero--home .hero__photo-gradient {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(to top, var(--navy-900) 0%, rgba(14,21,34,.6) 10%, transparent 28%),
    linear-gradient(to bottom, var(--navy-900) 0%, transparent 14%);
}

.hero--home .hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(181,140,94,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,140,94,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero eyebrow animated gold line */
.hero--home .hero__eyebrow::before {
  content: '';
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  animation: eyebrowLine 1.2s var(--ease-out-expo) .4s forwards;
}
@keyframes eyebrowLine {
  to { width: 32px; }
}

.hero--home .hero__text {
  position: relative; z-index: 10;
  max-width: 540px;
  padding: 180px 0 120px;
  width: 100%;
}

.hero--home .hero__dr-name {
  font-family: var(--font-family);
  font-weight: var(--font-weight-light);
  font-size: var(--text-xl);
  color: var(--gold-400);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero--home h1 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-light);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero--home h1 em {
  color: var(--gold-400);
  font-style: normal;
}

.hero--home .hero__tagline {
  font-weight: var(--font-weight-book);
  font-size: var(--text-lg);
  color: var(--gray-300);
  margin-top: var(--space-4);
  letter-spacing: 0.02em;
}

.hero--home .hero__rule {
  width: 48px; height: 2px;
  background: var(--gold-500);
  margin: var(--space-8) 0;
}

.hero--home .hero__checks {
  display: flex; flex-direction: column; gap: var(--space-3);
  list-style: none;
  padding: 0; margin: 0;
}

.hero__check {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-book);
  color: var(--gray-300);
}

.hero__check .chk-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(181,140,94,.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hero__check .chk-circle svg {
  width: 10px; height: 10px;
  fill: none; stroke: var(--gold-400); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}

.hero--home .hero__btns {
  display: flex; gap: var(--space-6); margin-top: var(--space-12);
  flex-wrap: wrap;
}

.hero--home .hero__scroll {
  position: absolute; bottom: 32px; left: 15%;
  display: none; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10;
}

.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
}

.hero--home .hero__scroll span {
  font-size: var(--text-xs); letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-400);
  font-weight: var(--font-weight-medium);
}

/* ── Stats Bar (below hero) ── */
.stats-bar {
  background: var(--navy-950);
  border-top: 1px solid rgba(181,140,94,.15);
  border-bottom: 1px solid rgba(181,140,94,.08);
}
.stats-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-8) 60px;
  display: flex;
  justify-content: center;
  gap: 0;
}
.stats-bar__item {
  text-align: center;
  padding: 0 var(--space-10);
  position: relative;
}
.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--gold-500);
  opacity: .3;
}
.stats-bar__number {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  line-height: 1;
}
.stats-bar__label {
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Hospital strip (marquee) ── */
.hospital-strip {
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) 0;
  overflow: hidden;
}

.hospital-strip__inner {
  display: flex; align-items: center; gap: var(--space-6);
  justify-content: center; flex-wrap: wrap;
}

.hospital-strip__label {
  font-size: var(--text-xs); font-weight: var(--font-weight-bold);
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gray-400);
  flex-shrink: 0;
}

.hospital-strip__marquee {
  display: flex;
  overflow: hidden;
  flex: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.hospital-strip__track {
  display: flex;
  gap: var(--space-8);
  animation: marqueeScroll 25s linear infinite;
  white-space: nowrap;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hospital-strip__chips {
  display: flex; gap: var(--space-3); flex-wrap: wrap;
  justify-content: center;
}

.hs-chip {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  color: var(--navy-600);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  white-space: nowrap;
}

.hospital-strip__track .hs-chip {
  flex-shrink: 0;
}

/* ── Procedure cards (home) ── */
.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Card thumbnail images */
.p-card__img {
  margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-8)) var(--space-6);
  height: 140px;
  overflow: hidden;
  position: relative;
}

.p-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.6) saturate(.8);
  transition: transform 600ms cubic-bezier(.16,1,.3,1), filter 600ms ease;
}

.p-card:hover .p-card__img img {
  transform: scale(1.08);
  filter: brightness(.5) saturate(.9);
}

.p-card__img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--navy-700), transparent);
  pointer-events: none;
}

.p-card.featured .p-card__img {
  height: 180px;
}

.p-card.featured .p-card__img::after {
  background: linear-gradient(to top, var(--navy-600), transparent);
}

.p-card {
  background: var(--navy-700);
  border-radius: 4px;
  padding: var(--space-8);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: all var(--transition-hover);
  text-decoration: none; color: #fff;
  border: 1px solid rgba(255,255,255,.04);
}

.p-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-hover);
}

.p-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  color: #fff;
}

.p-card:hover::after {
  transform: scaleX(1);
}

.p-card.featured {
  grid-row: span 2;
  align-self: stretch;
  background: var(--navy-600);
  border: 1px solid rgba(181,140,94,.2);
}

.p-card .p-num {
  position: absolute;
  top: -8px;
  right: var(--space-4);
  font-size: 80px;
  font-weight: var(--font-weight-bold);
  color: rgba(255,255,255,.03);
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.p-card .p-badge {
  font-size: var(--text-xs); font-weight: var(--font-weight-bold);
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold-400);
  background: rgba(181,140,94,.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: var(--space-6);
}

.p-card .p-icon {
  margin-bottom: var(--space-6);
}

.p-card .p-icon svg {
  width: 48px; height: 48px;
}

.p-card .p-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  color: var(--gold-400);
  margin-bottom: var(--space-3);
}

.p-card .p-desc {
  font-size: var(--text-sm);
  color: var(--gray-300);
  line-height: 1.65;
  flex: 1;
}

.p-card .p-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--gold-400);
  text-decoration: none;
}

.p-card .p-link svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  fill: none; stroke: var(--gold-400); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  overflow: visible;
}

/* ── Hospital list (home) ── */
.h-list { margin-top: var(--space-8); }

.h-item {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.h-bar {
  width: 3px; height: 36px;
  background: var(--gold-500);
  border-radius: 2px;
  flex-shrink: 0;
}

.h-info { flex: 1; }

.h-name {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-heading);
  font-size: var(--text-sm);
}

.h-meta {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-top: 2px;
}

.h-tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  background: rgba(181,140,94,.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ── Presence panel ── */
.h-panel {
  background: var(--navy-700);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.h-panel-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
}

.h-panel-sub {
  font-size: var(--text-sm);
  color: var(--gray-400);
  margin-top: var(--space-2);
}

.h-locs { margin-top: var(--space-8); }

.h-loc {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) 0;
}

.h-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

.h-loc-name {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  flex: 1;
}

.h-loc-count {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

.h-intl {
  display: flex; gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.1);
}

.h-flag {
  font-size: var(--text-lg);
  display: flex; align-items: center; gap: var(--space-2);
}

.h-flag span {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

/* ── Timeline ── */
.timeline {
  margin-top: var(--space-8);
  position: relative;
  padding-left: 80px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 68px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.tl-item {
  position: relative;
  padding-bottom: var(--space-8);
  padding-left: var(--space-8);
}

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

.tl-dot {
  position: absolute;
  left: -80px;
  top: 0;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--gray-400);
  width: 56px;
  text-align: right;
  line-height: 1.4;
}

.tl-dot::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--color-border);
  transition: all var(--transition-hover);
}

.tl-item.hl .tl-dot {
  color: var(--gold-600);
}

.tl-item.hl .tl-dot::after {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.tl-item:hover .tl-dot::after {
  border-color: var(--gold-400);
}

.tl-title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-heading);
  line-height: 1.4;
}

.tl-sub {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-top: var(--space-1);
  line-height: 1.5;
}

/* ── Formation photo ── */
.formation-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.formation-photo-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.formation-overlay {
  position: absolute;
  bottom: var(--space-6); left: var(--space-6);
  background: var(--navy-700);
  color: #fff;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
}

.formation-overlay .fov-big {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.formation-overlay .fov-big span {
  font-size: var(--text-2xl);
}

.formation-overlay .fov-small {
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: 2px;
}

/* ── FAQ sidebar layout ── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  align-items: start;
}

/* ── CTA section ── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  padding: var(--section-py) 0;
  text-align: center;
}

.cta-section .hero__orb--1 {
  background: rgba(56,84,140,.2);
  top: -100px;
  right: 10%;
}
.cta-section .hero__orb--2 {
  background: rgba(181,140,94,.08);
  bottom: -50px;
  left: 10%;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section .cta-bg-word {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: var(--font-weight-bold);
  color: rgba(255,255,255,.02);
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

/* ── Brand K Watermark ── */
.brand-watermark {
  position: absolute;
  opacity: 0.04;
  width: 500px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.brand-watermark--right {
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
}
.brand-watermark--left {
  left: -80px;
  top: 40%;
  transform: translateY(-50%);
}
.brand-watermark--center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
}

/* ── Global Specialist Badge (divider) ── */
.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-10) var(--container-px);
  overflow: hidden;
}
.brand-badge__line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.brand-badge__text {
  font-family: var(--font-family);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-500);
  white-space: nowrap;
}

/* ── Credential Strip ── */
.credential-strip {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(181,140,94,.08);
  padding: var(--space-3) var(--container-px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.credential-strip__item {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  white-space: nowrap;
}
.credential-strip__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ── Footer Brand Logo ── */
.footer-brand {
  text-align: center;
  padding: var(--space-8) 0 var(--space-4);
}
.footer-brand img {
  display: inline-block;
  max-width: 240px;
  height: auto;
  opacity: 0.5;
}

/* ── Section Transitions ── */
.section--navy + .section {
  position: relative;
}
.section--navy + .section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--navy-800), transparent);
  pointer-events: none;
  z-index: 1;
}
.section--navy + .section--alt::before {
  background: linear-gradient(to bottom, var(--navy-800), var(--color-surface-alt));
}

/* ── Staggered Reveal for Procedure Cards ── */
[data-reveal] [data-stagger] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms var(--ease-out-expo), transform 500ms var(--ease-out-expo);
}
[data-reveal].revealed [data-stagger] {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal].revealed [data-stagger="1"] { transition-delay: 0ms; }
[data-reveal].revealed [data-stagger="2"] { transition-delay: 100ms; }
[data-reveal].revealed [data-stagger="3"] { transition-delay: 200ms; }
[data-reveal].revealed [data-stagger="4"] { transition-delay: 300ms; }
[data-reveal].revealed [data-stagger="5"] { transition-delay: 400ms; }

/* ── Gold Line Grow ── */
.section-divider {
  transition: width 600ms var(--ease-out-expo);
}
[data-reveal]:not(.revealed) .section-divider {
  width: 0;
}
[data-reveal].revealed .section-divider {
  width: 40px;
}

/* ── Hero Parallax ── */
.hero--home .hero__photo-wrap img {
  will-change: transform;
  transition: transform 0ms linear;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE-FIRST (Home)
   ══════════════════════════════════════════════ */

/* ── Base mobile ── */

/* Hero slider mobile */
.hero-slider__slide .hero__btns { flex-direction: column; }
.hero-slider__slide .hero__btns .btn { width: 100%; justify-content: center; }

/* Video banner mobile */
.epsit-video-banner__inner { aspect-ratio: 16/9; max-height: none; }
.yt-facade--banner { aspect-ratio: 16/9; }
.yt-play--lg { width: 60px; height: 42px; }
.epsit-video-banner__overlay { padding: var(--space-4) var(--space-5); }
.epsit-video-banner__label { font-size: 10px; }

/* 3D icons mobile */
.p-icon--3d { width: 52px; height: 52px; border-radius: 12px; }
.p-icon--3d svg { width: 28px; height: 28px; }
.p-card.featured .p-icon--3d { width: 56px; height: 56px; }
.p-card.featured .p-icon--3d svg { width: 32px; height: 32px; }

/* ODS seals mobile */
.ods-seal-strip__img { max-width: 180px; }
.ods-seal-inline img { max-width: 200px; }
.ods-seal-divider { gap: var(--space-4); padding: var(--space-6) var(--container-px); }
.ods-seal-divider__img { max-width: 160px; }
.ods-seal-divider__line { max-width: 40px; }
.ods-seal-small img { max-width: 140px; }
.ods-seal-cta img { max-width: 180px; }

/* CEP search mobile */
.home-cep-search input { width: 100%; }

.brand-watermark { display: none; }
.brand-badge__line { max-width: 40px; }
.credential-strip { gap: var(--space-2); }
.credential-strip__item { font-size: 10px; letter-spacing: 0.08em; }
.hero--home .hero__photo-wrap { width: 100%; opacity: .15; }
.hero--home .hero__text { padding: 120px 0 100px; }
.hero--home .hero__content { padding: 0 var(--container-px); }
.stats-bar__inner { flex-direction: column; align-items: center; gap: var(--space-4); padding: var(--space-6) var(--container-px); }
.stats-bar__item { padding: 0; }
.stats-bar__item:not(:last-child)::after { display: none; }
.stats-bar__number { font-size: var(--text-3xl); }
.hospital-strip__inner { flex-direction: column; gap: var(--space-3); }
.p-grid { grid-template-columns: 1fr; }
.p-card.featured { grid-row: span 1; grid-column: span 1; }
.faq-layout { grid-template-columns: 1fr; gap: var(--space-8); }
.faq-layout > div:first-child {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.h-intl { flex-direction: column; gap: var(--space-3); }
.cta-actions { flex-direction: column; align-items: center; }
.cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

/* Testimonials horizontal scroll on mobile */
.testimonials-scroll {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-4);
}
.testimonials-scroll > * {
  flex: 0 0 90%;
  scroll-snap-align: start;
  min-width: 280px;
}

/* ── sm: 600px+ ── */
@media (min-width: 600px) {
  .hero--home .hero__photo-wrap { opacity: .3; }
  .stats-bar__inner { flex-direction: row; flex-wrap: wrap; gap: var(--space-6); }
  .stats-bar__item { padding: 0 var(--space-6); }
  .stats-bar__item:not(:last-child)::after { display: block; }
  .hospital-strip__inner { flex-direction: row; gap: var(--space-6); }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .p-card.featured { grid-column: span 2; }
  .h-intl { flex-direction: row; gap: var(--space-6); }
  .cta-actions { flex-direction: row; justify-content: center; }
  .cta-actions .btn { width: auto; max-width: none; }

  .hero-slider__slide .hero__btns { flex-direction: row; }
  .hero-slider__slide .hero__btns .btn { width: auto; }
  .epsit-video-banner__inner { max-height: none; }
  .home-cep-search input { width: 200px; }

  .testimonials-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  .testimonials-scroll > * {
    flex: none;
  }
}

/* ── md: 1024px+ ── */
@media (min-width: 1024px) {
  .brand-watermark { display: block; }
  .brand-badge__line { max-width: 120px; }
  .hero--home .hero__photo-wrap { width: 60%; opacity: .7; }
  .hero--home .hero__text { padding: 140px 0 100px; }
  .hero--home .hero__content { padding: 0 40px; }
  .hero--home .hero__scroll { display: flex; }
  .faq-layout { grid-template-columns: 1fr 2fr; gap: var(--space-16); }
  .faq-layout > div:first-child {
    padding-bottom: 0;
    border-bottom: none;
  }

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

/* ── lg: 1280px+ ── */
@media (min-width: 1280px) {
  .hero--home .hero__photo-wrap { width: 68%; opacity: 1; }
  .hero--home .hero__text { padding: 160px 0 120px; }
  .hero--home .hero__content { padding: 0 60px; }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .p-card.featured { grid-row: span 2; grid-column: span 1; }
}

/* ══════════════════════════════════════════════
   3D ICON EFFECT (brand manual style)
   ══════════════════════════════════════════════ */

.p-icon--3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, rgba(181,140,94,.12), rgba(181,140,94,.04));
  border-radius: 16px;
  box-shadow:
    6px 6px 16px rgba(0,0,0,.25),
    -3px -3px 10px rgba(255,255,255,.04),
    inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform 400ms cubic-bezier(.16,1,.3,1), box-shadow 400ms ease;
  margin-bottom: var(--space-6);
}

.p-icon--3d svg {
  width: 36px;
  height: 36px;
}

.p-card:hover .p-icon--3d {
  transform: translateY(-4px) rotateX(8deg);
  box-shadow:
    8px 12px 24px rgba(0,0,0,.35),
    -3px -3px 10px rgba(255,255,255,.05),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 20px rgba(181,140,94,.15);
}

.p-card.featured .p-icon--3d {
  width: 72px;
  height: 72px;
  background: linear-gradient(145deg, rgba(181,140,94,.18), rgba(181,140,94,.06));
}

.p-card.featured .p-icon--3d svg {
  width: 42px;
  height: 42px;
}

/* ══════════════════════════════════════════════
   EPSIT VIDEO BANNER (full-width)
   ══════════════════════════════════════════════ */

.epsit-video-banner {
  width: 100%;
  background: var(--navy-900);
}

.epsit-video-banner__inner {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  position: relative;
}

.yt-facade--banner {
  aspect-ratio: 21/9;
  width: 100%;
  position: relative;
}

.yt-facade--banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.7);
  transition: filter 400ms ease;
}

.yt-facade--banner:hover img {
  filter: brightness(.5);
}

.yt-play--lg {
  width: 88px;
  height: 62px;
  border-radius: var(--radius-lg);
}

.epsit-video-banner__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-10);
  background: linear-gradient(to top, rgba(14,21,34,.8), transparent);
  pointer-events: none;
}

.epsit-video-banner__label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

@media (min-width: 1024px) {
  .epsit-video-banner__inner {
    max-height: 560px;
  }
}

/* ══════════════════════════════════════════════
   ONE DAY SURGERY SEAL PLACEMENTS
   ══════════════════════════════════════════════ */

/* 1. Seal strip — below stats bar */
.ods-seal-strip {
  text-align: center;
  padding: var(--space-6) var(--container-px);
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}

.ods-seal-strip__img {
  display: inline-block;
  max-width: 220px;
  height: auto;
  opacity: .85;
  transition: opacity 300ms ease;
}

.ods-seal-strip:hover .ods-seal-strip__img {
  opacity: 1;
}

/* 2. Seal inline — inside One Day Surgery section */
.ods-seal-inline {
  text-align: center;
  margin-top: var(--space-10);
}

.ods-seal-inline img {
  display: inline-block;
  max-width: 280px;
  height: auto;
}

/* 3. Seal divider — between sections (replaces brand-badge) */
.ods-seal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--container-px);
  overflow: hidden;
}

.ods-seal-divider__line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.ods-seal-divider__img {
  max-width: 200px;
  height: auto;
  flex-shrink: 0;
}

/* 4. Seal small — inside formation section */
.ods-seal-small {
  margin-top: var(--space-8);
}

.ods-seal-small img {
  max-width: 180px;
  height: auto;
  opacity: .6;
  transition: opacity 300ms ease;
}

.ods-seal-small:hover img {
  opacity: .9;
}

/* 5. Seal in CTA section */
.ods-seal-cta {
  text-align: center;
  margin-bottom: var(--space-8);
}

.ods-seal-cta img {
  display: inline-block;
  max-width: 240px;
  height: auto;
  opacity: .5;
  transition: opacity 300ms ease;
}

.ods-seal-cta:hover img {
  opacity: .8;
}

/* 6. Footer brand override */
.footer-brand img {
  max-width: 200px;
}

/* Responsive seal sizes */
@media (min-width: 600px) {
  .ods-seal-strip__img { max-width: 260px; }
  .ods-seal-inline img { max-width: 320px; }
  .ods-seal-divider__img { max-width: 240px; }
  .ods-seal-divider__line { max-width: 160px; }
}

@media (min-width: 1024px) {
  .ods-seal-strip__img { max-width: 300px; }
  .ods-seal-inline img { max-width: 360px; }
  .ods-seal-divider__img { max-width: 280px; }
  .ods-seal-divider__line { max-width: 200px; }
  .ods-seal-small img { max-width: 220px; }
  .ods-seal-cta img { max-width: 280px; }
}

/* ══════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════ */

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider__track {
  position: relative;
  z-index: 5;
}

/* Slides */
.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 0ms 700ms;
  z-index: 1;
}

.hero-slider__slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms ease, visibility 0ms 0ms;
  z-index: 2;
}

/* Slide content animations */
.hero-slider__slide .hero__eyebrow,
.hero-slider__slide .hero__dr-name,
.hero-slider__slide h1,
.hero-slider__slide .hero__tagline,
.hero-slider__slide .hero__rule,
.hero-slider__slide .hero__checks,
.hero-slider__slide .hero__btns {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.hero-slider__slide.active .hero__eyebrow {
  opacity: 1; transform: translateY(0);
  transition-delay: 100ms;
}
.hero-slider__slide.active .hero__dr-name {
  opacity: 1; transform: translateY(0);
  transition-delay: 200ms;
}
.hero-slider__slide.active h1 {
  opacity: 1; transform: translateY(0);
  transition-delay: 300ms;
}
.hero-slider__slide.active .hero__tagline {
  opacity: 1; transform: translateY(0);
  transition-delay: 400ms;
}
.hero-slider__slide.active .hero__rule {
  opacity: 1; transform: translateY(0);
  transition-delay: 500ms;
}
.hero-slider__slide.active .hero__checks {
  opacity: 1; transform: translateY(0);
  transition-delay: 600ms;
}
.hero-slider__slide.active .hero__btns {
  opacity: 1; transform: translateY(0);
  transition-delay: 700ms;
}

/* Arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(14,21,34,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.hero-slider__arrow:hover {
  background: rgba(181,140,94,.3);
  border-color: var(--gold-400);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider__arrow--prev { left: 24px; }
.hero-slider__arrow--next { right: 24px; }

/* Dots */
.hero-slider__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  background: transparent;
  cursor: pointer;
  transition: all 300ms ease;
  padding: 0;
}

.hero-slider__dot.active {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: scale(1.2);
}

.hero-slider__dot:hover {
  border-color: var(--gold-400);
}

/* Progress bar */
.hero-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.1);
  z-index: 20;
}

.hero-slider__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  width: 0%;
  animation: sliderProgress 6s linear forwards;
}

@keyframes sliderProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Slider mobile */
@media (max-width: 599px) {
  .hero-slider__arrow {
    width: 36px;
    height: 36px;
  }
  .hero-slider__arrow--prev { left: 12px; }
  .hero-slider__arrow--next { right: 12px; }
  .hero-slider__arrow svg { width: 18px; height: 18px; }
  .hero-slider__dots { bottom: 20px; gap: 8px; }
  .hero-slider__dot { width: 10px; height: 10px; }
}

/* ══════════════════════════════════════════════
   ENHANCED ANIMATIONS
   ══════════════════════════════════════════════ */

/* Smooth fade-up reveal (enhanced) */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Floating animation for cards on hover */
.p-card {
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.p-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* Pulse animation for WhatsApp float */
.whatsapp-float {
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.3); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,.5); }
}

/* Testimonial cards hover lift */
.testimonial {
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 400ms ease;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
}

/* Hospital item hover */
.h-item {
  transition: padding-left 300ms ease, background 300ms ease;
}
.h-item:hover {
  padding-left: var(--space-2);
  background: rgba(181,140,94,.03);
}

/* Timeline items hover */
.tl-item {
  transition: padding-left 300ms ease;
}
.tl-item:hover {
  padding-left: calc(var(--space-8) + 4px);
}

/* Stats number shimmer */
.stats-bar__number {
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--gold-300) 50%, var(--color-accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* CTA section subtle float */
.cta-section .cta-bg-word {
  animation: ctaFloat 8s ease-in-out infinite;
}

@keyframes ctaFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -52%) scale(1.02); }
}

/* ══════════════════════════════════════════════
   MODERN ANIMATIONS — Premium Motion System
   ══════════════════════════════════════════════ */

/* ── 1. Scroll Progress Bar (top of page) ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
  z-index: 9999;
  width: 0%;
  transition: none;
}

/* ── 2. Hero text reveal — cinematic word-by-word ── */
.hero-slider__slide.active .hero__eyebrow {
  animation: slideReveal 600ms cubic-bezier(.16,1,.3,1) 100ms both;
}
.hero-slider__slide.active .hero__dr-name {
  animation: slideReveal 600ms cubic-bezier(.16,1,.3,1) 200ms both;
}
.hero-slider__slide.active h1 {
  animation: slideReveal 700ms cubic-bezier(.16,1,.3,1) 300ms both;
}
.hero-slider__slide.active .hero__tagline {
  animation: slideReveal 600ms cubic-bezier(.16,1,.3,1) 450ms both;
}
.hero-slider__slide.active .hero__rule {
  animation: ruleGrow 800ms cubic-bezier(.16,1,.3,1) 550ms both;
}
.hero-slider__slide.active .hero__checks {
  animation: slideReveal 600ms cubic-bezier(.16,1,.3,1) 650ms both;
}
.hero-slider__slide.active .hero__btns {
  animation: slideReveal 600ms cubic-bezier(.16,1,.3,1) 750ms both;
}

@keyframes slideReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes ruleGrow {
  from { width: 0; opacity: 0; }
  to { width: 56px; opacity: 1; }
}

/* ── 3. Smooth section reveals with varied directions ── */
[data-reveal="left"] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 800ms cubic-bezier(.16,1,.3,1), transform 800ms cubic-bezier(.16,1,.3,1);
}
[data-reveal="right"] {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 800ms cubic-bezier(.16,1,.3,1), transform 800ms cubic-bezier(.16,1,.3,1);
}
[data-reveal="left"].revealed,
[data-reveal="right"].revealed {
  opacity: 1;
  transform: translateX(0);
}

[data-reveal="scale"] {
  opacity: 0;
  transform: scale(.92);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.16,1,.3,1);
}
[data-reveal="scale"].revealed {
  opacity: 1;
  transform: scale(1);
}

/* ── 4. Magnetic hover effect on buttons ── */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 500ms ease, height 500ms ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary::before {
  background: rgba(255,255,255,.15);
}

.btn--outline::before,
.btn--outline-white::before {
  background: rgba(181,140,94,.08);
}

/* ── 5. Gold line animations on section dividers ── */
.section-divider {
  position: relative;
  overflow: hidden;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: dividerShine 4s ease-in-out infinite;
}

@keyframes dividerShine {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* ── 6. Floating particles/crosses (brand element) ── */
.hero--home::after {
  content: '+  +  +  +  +';
  position: absolute;
  top: 20%;
  right: 8%;
  font-size: 14px;
  letter-spacing: 12px;
  color: rgba(181,140,94,.08);
  writing-mode: vertical-lr;
  animation: crossFloat 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes crossFloat {
  0%, 100% { transform: translateY(0); opacity: .08; }
  50% { transform: translateY(-15px); opacity: .15; }
}

/* ── 7. Gradient border glow on featured cards ── */
.p-card.featured {
  position: relative;
}

.p-card.featured::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--gold-500), transparent 40%, transparent 60%, var(--gold-400));
  z-index: -1;
  opacity: 0;
  transition: opacity 500ms ease;
}

.p-card.featured:hover::before {
  opacity: 1;
}

/* ── 8. Smooth counter number glow on scroll ── */
.stats-bar__item {
  transition: transform 300ms ease;
}

.stats-bar__item:hover {
  transform: scale(1.05);
}

.stats-bar__item:hover .stats-bar__number {
  text-shadow: 0 0 20px rgba(181,140,94,.3);
}

/* ── 9. Parallax depth layers for orbs ── */
.hero__orb--1 {
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero__orb--2 {
  animation: orbFloat2 10s ease-in-out infinite 2s;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(.97); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 20px) scale(1.03); }
  66% { transform: translate(10px, -25px) scale(.98); }
}

/* ── 10. Grid background subtle animation ── */
.hero__grid-bg {
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* ── 11. Checklist items stagger animation ── */
[data-reveal].revealed .checklist__item {
  animation: checkReveal 500ms cubic-bezier(.16,1,.3,1) both;
}

[data-reveal].revealed .checklist__item:nth-child(1) { animation-delay: 100ms; }
[data-reveal].revealed .checklist__item:nth-child(2) { animation-delay: 200ms; }
[data-reveal].revealed .checklist__item:nth-child(3) { animation-delay: 300ms; }
[data-reveal].revealed .checklist__item:nth-child(4) { animation-delay: 400ms; }

@keyframes checkReveal {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── 12. Timeline dot pulse on hover ── */
.tl-item:hover .tl-dot::after {
  animation: dotPulse 1s ease infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181,140,94,.4); }
  50% { box-shadow: 0 0 0 8px rgba(181,140,94,0); }
}

/* ── 13. FAQ accordion smooth expand ── */
details.faq__item .faq__answer {
  animation: faqExpand 400ms cubic-bezier(.16,1,.3,1);
}

@keyframes faqExpand {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── 14. Credential strip subtle marquee ── */
.credential-strip {
  position: relative;
  overflow: hidden;
}

.credential-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(181,140,94,.06), transparent);
  animation: stripGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes stripGlow {
  0% { left: -60%; }
  50%, 100% { left: 100%; }
}

/* ── 15. Smooth image zoom on formation photo ── */
.formation-photo-wrap img {
  transition: transform 6s cubic-bezier(.16,1,.3,1);
}

.formation-photo-wrap:hover img {
  transform: scale(1.04);
}

/* ── 16. Video banner Ken Burns effect ── */
.yt-facade--banner img {
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* ── 17. Seal hover grow ── */
.ods-seal-strip__img,
.ods-seal-divider__img,
.ods-seal-inline img,
.ods-seal-small img {
  transition: transform 500ms cubic-bezier(.16,1,.3,1), opacity 300ms ease;
}

.ods-seal-strip:hover .ods-seal-strip__img,
.ods-seal-divider:hover .ods-seal-divider__img,
.ods-seal-inline:hover img,
.ods-seal-small:hover img {
  transform: scale(1.05);
}

/* ── 18. Hospital strip chips subtle bounce ── */
.hospital-strip__track .hs-chip {
  transition: transform 300ms ease, background 300ms ease;
}

.hospital-strip__track .hs-chip:hover {
  transform: translateY(-2px);
  background: var(--navy-50);
}

/* ── 19. Back to top spin on hover ── */
.back-to-top svg {
  transition: transform 300ms ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ── 20. Cursor glow on dark sections ── */
.section--navy,
.hero--home {
  position: relative;
}

/* ── Reduce motion for accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__orb { display: none; }
  .hospital-strip__track { animation: none; }
}
