/* ── Reset & Variables ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --maroon:      #5A2913;
  --maroon-deep: #3E1C0A;
  --gold:        #CD853F;
  --gold-deep:   #A46A32;
  --gold-soft:   #F9EFE3;
  --cream:       #FDFAF6;
  --white:       #FFFFFF;
  --ink:         #1A1F2B;
  --ink-mid:     #5A6373;
  --border:      #E8E2DA;
  --font-h:      'Inter', system-ui, sans-serif;
  --font-b:      'Inter', system-ui, sans-serif;
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { padding-bottom: 0; }
[hidden] { display: none !important; }

/* ── Utility ─────────────────────────────────────────────────── */
.section {
  padding: 96px 40px;
}
.section-alt {
  background: var(--white);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-deep);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(30px, 3vw, 44px);
  color: var(--maroon);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
  padding-bottom: 0;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover  { background: var(--gold-deep); color: var(--white); }
.btn-primary:active { background: var(--gold-deep); color: var(--white); }
@media (hover: hover) {
  .btn-primary:hover { transform: translateY(-2px); }
}
.btn-primary:focus  { color: var(--white); outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-primary:visited { color: var(--white); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.38);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition);
}
.btn-gold:hover { background: var(--gold-deep); }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.32);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.72); background: rgba(255,255,255,0.06); }

/* ── Reveal animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.nav-transparent {
  background: transparent;
}
.navbar.nav-scrolled {
  background: rgba(253,250,246,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.logo-divider {
  width: 1px;
  height: 22px;
  background: rgba(90,41,19,0.2);
  flex-shrink: 0;
}
.nav-transparent .logo-divider { background: rgba(255,255,255,0.25); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--maroon);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-h);
  letter-spacing: 0.02em;
  transition: background var(--transition);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-h);
  font-size: 14px;
  color: var(--maroon);
  font-weight: 700;
  line-height: 1.2;
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.logo-text span {
  display: block;
  font-family: var(--font-b);
  font-size: 9px;
  font-weight: 500;
  color: var(--ink-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-transparent .logo-text { color: var(--white); }
.nav-transparent .logo-text span { color: rgba(255,255,255,0.6); }
.nav-transparent .logo-icon { background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--maroon); }

.nav-transparent .nav-links a { color: rgba(255,255,255,0.82); }
.nav-transparent .nav-links a:hover { color: var(--white); }

.btn-nav {
  background: var(--maroon);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background var(--transition);
  flex-shrink: 0;
  letter-spacing: 0.01em;
}
.btn-nav:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(205,133,63,0.4);
}
.nav-transparent .btn-nav {
  background: var(--gold);
}
.nav-transparent .btn-nav:hover {
  background: var(--gold-deep);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(205,133,63,0.4);
}
@media (hover: hover) {
  .btn-nav:hover,
  .nav-transparent .btn-nav:hover { transform: translateY(-2px); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--maroon);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-transparent .hamburger span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ──────────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.nav-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 92vw);
  height: 100dvh;
  background: linear-gradient(160deg, #2d0e05 0%, #1a0803 60%, #0e0402 100%);
  z-index: 300;
  box-shadow: -4px 0 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open { right: 0; }

/* Head */
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.drawer-logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.drawer-logo-divider {
  display: none;
}
.drawer-logo-link { display: flex; align-items: center; text-decoration: none; }
.drawer-logo-img {
  height: 15px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity var(--transition), filter var(--transition);
}
.drawer-logo-link:hover .drawer-logo-img { opacity: 0.8; }
.drawer-logo-link.logo-active .drawer-logo-img {
  opacity: 1;
  filter: brightness(0) invert(1)
          drop-shadow(0 0 4px rgba(205,133,63,0.85))
          drop-shadow(0 0 10px rgba(205,133,63,0.45));
}
.drawer-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.drawer-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Phone block */
.drawer-phones {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.drawer-phone-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s, border-color 0.2s;
}
.drawer-phone-item:hover {
  background: rgba(205,133,63,0.15);
  border-color: rgba(205,133,63,0.4);
}
.drawer-phone-primary {
  background: rgba(205,133,63,0.12);
  border-color: rgba(205,133,63,0.3);
}
.drawer-phone-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
  animation: phone-pulse 2.5s ease-in-out infinite;
}
.drawer-phone-primary .drawer-phone-icon {
  animation: phone-pulse 2s ease-in-out infinite;
}
@keyframes phone-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(205,133,63,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(205,133,63,0); }
}
.drawer-phone-item span {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
}

/* Nav links */
.drawer-nav {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
}
.drawer-nav-link i {
  width: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--gold);
  opacity: 0.8;
  flex-shrink: 0;
}
.drawer-nav-link:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.drawer-nav-link:hover i { opacity: 1; }

/* Services accordion */
.drawer-dropdown { display: flex; flex-direction: column; }
.drawer-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  background: none;
  border: none;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, color 0.18s;
}
.drawer-dropdown-trigger i:first-child {
  width: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--gold);
  opacity: 0.8;
  flex-shrink: 0;
}
.drawer-chev {
  margin-left: auto;
  font-size: 11px !important;
  width: auto !important;
  opacity: 0.5 !important;
  transition: transform 0.3s ease !important;
}
.drawer-dropdown-trigger[aria-expanded="true"] .drawer-chev {
  transform: rotate(180deg);
}
.drawer-dropdown-trigger:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.drawer-dropdown-trigger:hover i:first-child { opacity: 1; }
.drawer-dropdown-panel {
  display: none;
  flex-direction: column;
  padding: 4px 0 4px 44px;
  gap: 0;
}
.drawer-dropdown.is-open .drawer-dropdown-panel { display: flex; }
.drawer-dropdown-panel a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.drawer-dropdown-panel a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(205,133,63,0.08);
}

/* Footer info */
.drawer-footer-info {
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.drawer-footer-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-footer-info p i { color: var(--gold); opacity: 0.7; font-size: 11px; }
.drawer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.drawer-socials a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.drawer-socials a:hover { background: rgba(205,133,63,0.2); color: var(--gold); }

/* Legacy .drawer-btn — keep for any leftovers */
.drawer-btn { display: none; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #140802;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #1a0a04;
  z-index: 0;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}
/* ── Full-bleed hero video (clinic main page) ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(20,8,2,0.55) 0%,
    rgba(20,8,2,0.3) 50%,
    rgba(20,8,2,0.7) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 40px 0;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(205,133,63,0.16);
  border: 1px solid rgba(205,133,63,0.35);
  color: var(--gold);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1.hero-italic {
  font-style: normal;
  font-weight: 400;
  color: var(--gold);
  margin-top: -4px;
  margin-bottom: 28px;
}
.hero-tag {
  margin: 0 auto 28px;
  display: inline-flex;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
}
.hero-btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-h);
  font-size: 40px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── SERVICES ────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(90,41,19,0.1);
  transform: translateY(-4px);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
  font-size: 22px;
  margin-bottom: 16px;
}
.service-img {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f0e6d8, #e4cfb4);
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.service-card:hover .service-img img {
  transform: scale(1.05);
}
.service-card h3 {
  font-family: var(--font-h);
  font-size: 20px;
  color: var(--maroon);
  margin-bottom: 8px;
  font-weight: 600;
}
.service-card p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 18px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-deep);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-top: auto;
}
.service-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service-link i { font-size: 11px; transition: transform 0.2s ease; }
.service-card:hover .service-link i { transform: translateX(4px); }
.service-toggle {
  position: relative;
  z-index: 2;
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-imgs { position: relative; padding-bottom: 20px; padding-right: 20px; }
.img-main {
  border-radius: 20px;
  height: 440px;
  overflow: hidden;
}
.img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.exp-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--maroon);
  color: var(--white);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(90,41,19,0.28);
}
.exp-num {
  font-family: var(--font-h);
  font-size: 52px;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
}
.exp-label { font-size: 13px; opacity: 0.8; margin-top: 4px; }

.about-content h2 {
  font-family: var(--font-h);
  font-size: clamp(26px, 2.8vw, 40px);
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
.about-content > p {
  font-size: 16px;
  color: var(--ink-mid);
  margin-bottom: 28px;
}
.section-tag-inline { margin-bottom: 16px; }

.checklist { margin-bottom: 32px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 13px;
}
.checklist li i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.phone-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gold-soft);
  border-radius: 12px;
  padding: 18px 22px;
}
.phone-box i { font-size: 24px; color: var(--gold-deep); }
.phone-label { font-size: 12px; color: var(--ink-mid); }
.phone-num { font-size: 19px; font-weight: 700; color: var(--maroon); }

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  border-radius: 24px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(205,133,63,0.12);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  right: 80px; bottom: -90px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(205,133,63,0.08);
  pointer-events: none;
}
.cta-text h2 {
  font-family: var(--font-h);
  font-size: clamp(22px, 2.5vw, 36px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
.cta-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ── REVIEWS ─────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.review-card:hover { box-shadow: 0 8px 32px rgba(90,41,19,0.08); }
.stars { color: var(--gold); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.review-text {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 22px;
  
}
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.reviewer-ava {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.reviewer-date { font-size: 12px; color: var(--ink-mid); margin-top: 2px; }

/* ─────────────────────────────────────────────────────────────
   REVIEWS PAGE — filters, cards, submit form
───────────────────────────────────────────────────────────── */
/* Category filter bar */
.rv-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.rv-filter-btn {
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink-mid);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-b);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.rv-filter-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}
.rv-filter-btn.rv-active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}
/* Category badge on cards */
.rv-cat-badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
/* Empty state */
.rv-empty-msg {
  text-align: center;
  color: var(--ink-mid);
  font-size: 15px;
  padding: 40px 0;
  grid-column: 1/-1;
}
/* Review submit section */
.rv-submit-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.rv-submit-head {
  text-align: center;
  margin-bottom: 40px;
}
.rv-submit-head p {
  font-size: 15px;
  color: var(--ink-mid);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
/* Form layout */
.rv-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.rv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.rv-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Label */
.rv-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rv-label-icon { font-size: 15px; }
.rv-req { color: var(--maroon); }
/* Inputs, select, textarea */
.rv-input {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.rv-input:focus { border-color: var(--gold); }
.rv-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A2913' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.rv-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
/* YouTube preview */
.rv-yt-preview {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
}
.rv-yt-preview iframe {
  width: 100%;
  height: 100%;
  display: block;
}
/* File upload area */
.rv-uploads { align-items: start; }
.rv-file-label {
  display: block;
  border: 2px dashed var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.rv-file-label:hover { border-color: var(--gold); background: var(--gold-soft); }
.rv-file-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  gap: 6px;
}
.rv-file-icon {
  font-size: 28px;
  color: var(--ink-mid);
}
.rv-file-text {
  font-size: 13px;
  color: var(--ink-mid);
  font-weight: 500;
}
.rv-file-hint {
  font-size: 11px;
  color: var(--ink-mid);
  opacity: 0.65;
}
.rv-file-hidden { display: none !important; visibility: hidden !important; position: absolute !important; }
.rv-preview-wrap {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  position: relative;
}
.rv-file-square { aspect-ratio: 1/1; }
.rv-file-wide   { aspect-ratio: 21/10; }
.rv-file-square .rv-file-inner,
.rv-file-wide   .rv-file-inner { padding: 20px 16px; }
.rv-file-preview {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.rv-file-preview-square { height: 180px; aspect-ratio: 1/1; object-fit: cover; }
.rv-file-preview-wide   { height: 120px; }
.rv-file-remove {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: rgba(90,41,19,0.06);
  border: none;
  border-top: 1px solid var(--border);
  color: var(--maroon);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-b);
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.rv-file-remove:hover { background: rgba(90,41,19,0.12); }
/* Actions */
.rv-form-actions {
  display: flex;
  justify-content: flex-start;
}
.rv-submit-btn {
  min-width: 160px;
  justify-content: center;
}
/* Success message */
.rv-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  color: #2e7d32;
  font-weight: 500;
}
.rv-success i { font-size: 20px; color: #43a047; flex-shrink: 0; }
@media (max-width: 768px) {
  .rv-form-row { grid-template-columns: 1fr; }
  .rv-uploads  { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .rv-filter-wrap { gap: 8px; }
  .rv-filter-btn  { padding: 7px 14px; font-size: 12px; }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: #0D0D0D;
  color: var(--white);
  padding: 64px 40px 32px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-logo .logo-icon { background: rgba(255,255,255,0.1); }
.footer-logo-text {
  font-family: var(--font-h);
  font-size: 18px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
}
.footer-logo-text span {
  display: block;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  margin-bottom: 9px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.38); }

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background-color: #000;
  background-image: url('../images/banner-bg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 224px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  pointer-events: none;
}
.page-hero::after { display: none; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .section-tag,
.svc-hero .section-tag { background: rgba(205,133,63,0.18); color: var(--gold); border: 1px solid rgba(205,133,63,0.3); }
.page-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(32px, 4vw, 56px);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-hero h1 em {  color: var(--gold); font-weight: 400; }
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  margin-bottom: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 10px; }

/* ── SERVICES DETAIL PAGE ────────────────────────────────────── */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-detail-card:hover {
  box-shadow: 0 16px 48px rgba(90,41,19,0.1);
  transform: translateY(-4px);
}
.service-detail-img {
  height: 220px;
  overflow: hidden;
}
.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-detail-card:hover .service-detail-img img { transform: scale(1.05); }
.service-detail-body { padding: 32px; }
.service-detail-body .service-icon { margin-bottom: 16px; }
.service-detail-body h3 {
  font-family: var(--font-h);
  font-size: 22px;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 10px;
}
.service-detail-body p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}
.service-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}
.service-benefits li i { color: var(--gold); font-size: 11px; flex-shrink: 0; }
.service-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.service-price-label { font-size: 12px; color: var(--ink-mid); text-transform: uppercase; letter-spacing: 0.07em; }
.service-price-val { font-family: var(--font-h); font-size: 20px; color: var(--maroon); font-weight: 700; }

/* ── DOCTORS PAGE ────────────────────────────────────────────── */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.doctors-grid--home { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .doctors-grid--home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .doctors-grid--home { grid-template-columns: 1fr; } }
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.doctor-card:hover {
  box-shadow: 0 12px 40px rgba(90,41,19,0.1);
  transform: translateY(-4px);
}
.doctor-photo {
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-soft), #ede0ce);
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.doctor-card:hover .doctor-photo img { transform: scale(1.04); }
.doctor-body { padding: 24px 22px 28px; }
.doctor-body h3 {
  font-family: var(--font-h);
  font-size: 19px;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 4px;
}
.doctor-spec {
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.doctor-body p {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 16px;
}
.doctor-exp-row {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.doctor-exp-item {
  text-align: center;
  background: var(--gold-soft);
  border-radius: 10px;
  padding: 10px 16px;
}
.doctor-exp-num { font-family: var(--font-h); font-size: 20px; color: var(--maroon); font-weight: 700; line-height: 1; }
.doctor-exp-label { font-size: 10px; color: var(--ink-mid); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }

/* ── DOCTOR SINGLE (homepage one-doctor layout) ─────────────── */
.doctor-single {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
.doctor-single-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(90,41,19,0.12);
}
.doctor-single-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.doctor-single-body h3 {
  font-size: 28px;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 6px;
}
.doctor-single-body .doctor-spec {
  font-size: 13px;
  color: var(--gold-deep);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 20px;
}
.doctor-single-body p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 14px;
}
@media (max-width: 720px) {
  .doctor-single {
    grid-template-columns: 1fr;
  }
  .doctor-single-photo img { height: 280px; }
}

/* ── PRICES PAGE ─────────────────────────────────────────────── */
.prices-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.price-tab {
  padding: 10px 22px;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.price-tab:hover,
.price-tab.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.price-table th {
  background: var(--maroon);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 16px 24px;
  text-align: left;
}
.price-table td {
  padding: 14px 24px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: #faf8f5; }
.price-table .price-col {
  font-weight: 700;
  color: var(--maroon);
  white-space: nowrap;
  text-align: right;
  width: 160px;
}
.price-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--gold-soft);
  border-radius: 12px;
  padding: 16px 22px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-mid);
}
.price-note i { color: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }

/* ── REVIEWS PAGE ────────────────────────────────────────────── */
.reviews-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.reviews-stat-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 36px;
  min-width: 140px;
}
.reviews-stat-num {
  font-family: var(--font-h);
  font-size: 44px;
  color: var(--maroon);
  font-weight: 700;
  line-height: 1;
}
.reviews-stat-label { font-size: 13px; color: var(--ink-mid); margin-top: 6px; }
.reviews-stat-stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; margin-top: 4px; }
.reviews-big-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card-big {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow var(--transition);
}
.review-card-big:hover { box-shadow: 0 8px 32px rgba(90,41,19,0.08); }

/* ── BLOG PAGE ───────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(90,41,19,0.1);
  transform: translateY(-4px);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-soft), #ede0ce);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-deep);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.blog-card-body h3 {
  font-family: var(--font-h);
  font-size: 18px;
  color: var(--maroon);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card-body p {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 18px;
}
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mid);
  margin-top: auto;
}
.blog-meta a {
  color: var(--gold-deep);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-meta a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-meta a i { font-size: 10px; transition: transform 0.2s; }
.blog-card:hover .blog-meta a i { transform: translateX(3px); }

/* ── BLOG DATE BADGE ─────────────────────────────────────────── */
.blog-date-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.blog-day {
  font-size: 32px;
  font-weight: 800;
  color: var(--maroon);
  line-height: 1;
}
.blog-month {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-deep);
}

/* ── CONSULT SECTION ─────────────────────────────────────────── */
.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.consult-form-wrap {}
.consult-info h4 {
  font-size: 16px;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.consult-info p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
}
.consult-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.consult-form input,
.consult-form select,
.consult-form textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-b);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.consult-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.consult-form textarea { resize: vertical; min-height: 90px; }
.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus { border-color: var(--gold); }
@media (max-width: 768px) {
  .consult-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-h);
  font-size: clamp(24px, 2.5vw, 36px);
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 16px;
}
.contact-info > p {
  font-size: 16px;
  color: var(--ink-mid);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--gold-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-label { font-size: 12px; color: var(--ink-mid); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.contact-item-val { font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-item-val a { color: inherit; text-decoration: none; }
.contact-item-val a:hover { color: var(--maroon); }
.hours-table { width: 100%; }
.hours-table td { padding: 5px 0; font-size: 14px; color: var(--ink-mid); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.contact-map {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* Contact Form */
.contact-form-section { background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(205,133,63,0.12);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-note { font-size: 12px; color: var(--ink-mid); }

/* Nav active link */
.nav-links a.nav-active { color: var(--maroon); }
.nav-transparent .nav-links a.nav-active { color: var(--white); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */

/* 1280px — collapse desktop nav to hamburger */
@media (max-width: 1280px) {
  .nav-links { display: none; }
  .btn-nav  { display: none; }
  .hamburger { display: flex; }
}

/* 1200px — tighten padding */
@media (max-width: 1200px) {
  .navbar { padding: 0 32px; }
}

/* 1024px — tablet landscape: layout changes */
@media (max-width: 1024px) {
  .section { padding: 72px 32px; }
  .footer { padding: 56px 32px 28px; }
  .page-hero { padding: 184px 32px 64px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-big-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { gap: 40px; }
}

/* 760px — show only active logo on mobile navbar */
@media (max-width: 760px) {
  .logo-group .logo:not(.logo-active),
  .logo-group .logo-divider { display: none; }
}

/* 768px — tablet portrait */
@media (max-width: 768px) {
  .section { padding: 64px 24px; }
  .navbar { padding: 0 24px; }
  .footer { padding: 48px 24px 24px; }

  .hero-inner { padding: 72px 24px 0; }
  .hero-badge { font-size: 11px; }

  .hero-stats { gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-big-grid { grid-template-columns: 1fr; }
  .reviews-stats { flex-direction: column; align-items: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 164px 24px 56px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-imgs { padding-right: 16px; padding-bottom: 16px; }
  .img-main { height: 300px; }

  .cta-banner {
    flex-direction: column;
    padding: 48px 32px;
    text-align: center;
  }
  .cta-text p { max-width: 100%; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* 480px */
@media (max-width: 480px) {
  .section { padding: 48px 20px; }
  .navbar { padding: 0 20px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas a { width: 100%; justify-content: center; max-width: 300px; }

  .services-grid { grid-template-columns: 1fr; }

  .cta-banner { padding: 36px 24px; border-radius: 16px; }
}

/* 360px — very small phones */
@media (max-width: 360px) {
  .stat-num { font-size: 32px; }
  .hero h1 { font-size: 32px; }
  .navbar { padding: 0 16px; }
  .logo-img { height: 16px; }
}

/* ─────────────────────────────────────────────────────────────
   CERTIFICATES
───────────────────────────────────────────────────────────── */
/* ── DIPLOMA CAROUSEL ────────────────────────────────────────── */
.diplom-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.diplom-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  padding-bottom: 4px;
}
.diplom-slider::-webkit-scrollbar { display: none; }
.diplom-slide {
  flex: 0 0 calc(33.33% - 14px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(90,41,19,.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.diplom-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(90,41,19,.12);
}
.diplom-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(0.75);
  transition: filter 0.5s ease, transform 0.4s ease;
}
.diplom-slide.is-center img {
  filter: none;
}
.diplom-slide.is-center {
  box-shadow: 0 8px 40px rgba(90,41,19,0.18);
  transform: scale(1.03);
}
.diplom-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  background: var(--white);
  color: var(--maroon);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.diplom-nav:hover {
  background: var(--maroon);
  color: var(--white);
}
@media (max-width: 900px) {
  .diplom-slide { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 600px) {
  .diplom-slide { flex: 0 0 85%; }
  .diplom-nav { display: none; }
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(90,41,19,.08);
}
.cert-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-size: 24px;
  margin: 0 auto 16px;
}
.cert-name {
  font-family: var(--font-h);
  font-size: 15px;
  color: var(--maroon);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.cert-year {
  font-size: 12px;
  color: var(--ink-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ─────────────────────────────────────────────────────────────
   BEFORE / AFTER CASES
───────────────────────────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  border-radius: 20px;
  overflow: hidden;
}

/* ── Before / After reveal ── */
.case-ba {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: crosshair;
  border-radius: 20px;
}
.case-ba .ba-after {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0% 0 0);
  transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.ba-before-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.case-ba:hover .ba-before-wrap {
  clip-path: inset(0 100% 0 0);
}
/* divider line */
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  z-index: 5;
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.ba-divider span {
  display: block;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}
.case-ba:hover .ba-divider { left: 0%; }
/* labels */
.ba-label {
  position: absolute;
  bottom: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 5px;
  z-index: 6;
  pointer-events: none;
}
.ba-label-do {
  left: 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  opacity: 1;
  transition: opacity 0.4s;
}
.ba-label-pislia {
  right: 14px;
  background: var(--gold-deep);
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s;
}
.case-ba:hover .ba-label-do   { opacity: 0; }
.case-ba:hover .ba-label-pislia { opacity: 1; }
/* hint text */
.ba-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 6;
  pointer-events: none;
  transition: opacity 0.3s;
}
.case-ba:hover .ba-hint { opacity: 0; }
.case-body {
  padding: 20px;
}
.case-body h3 {
  font-family: var(--font-h);
  font-size: 16px;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 6px;
}
.case-body p {
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER SOCIAL
───────────────────────────────────────────────────────────── */
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  font-size: 16px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.footer-social:hover {
  background: var(--gold);
  color: var(--white);
}

/* ─────────────────────────────────────────────────────────────
   HOURS TABLE (contact strip)
───────────────────────────────────────────────────────────── */
.hours-table { border-collapse: collapse; font-size: 14px; }
.hours-table td { padding: 3px 16px 3px 0; color: var(--ink); }
.hours-table td:first-child { color: var(--ink-mid); min-width: 100px; }

/* Responsive for new sections */
@media (max-width: 1024px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-images { height: 160px; }
}
@media (max-width: 400px) {
  .certs-grid { grid-template-columns: 1fr; }
}

/* cert-card with real photo — grayscale → color on hover */
.cert-card-photo {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: zoom-in;
}
.cert-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.92);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.cert-card-photo:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.03);
}

/* ─────────────────────────────────────────────────────────────
   SERVICE CARD ACCORDION
───────────────────────────────────────────────────────────── */
.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0;
}
.service-card-header h3 {
  margin: 0;
  flex: 1;
}
.service-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  background: transparent;
  color: var(--maroon);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform 0.3s ease;
}
.service-toggle:hover {
  background: var(--maroon);
  color: var(--white);
}
.service-card.is-open .service-toggle {
  background: var(--maroon);
  color: var(--white);
  transform: rotate(45deg);
}
.service-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.service-desc p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin: 0;
  padding: 12px 0 4px;
}
.service-card.is-open .service-desc {
  max-height: 200px;
}

/* ─────────────────────────────────────────────────────────────
   DIPLOMA LIGHTBOX
───────────────────────────────────────────────────────────── */
.diplom-slide {
  cursor: zoom-in;
}
.diplom-slide img {
  object-fit: contain;
  background: var(--bg-light);
  height: 280px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbFadeIn .2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display: block;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 9001;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 9001;
}
.lightbox-arrow:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 600px) {
  .lightbox-arrow { width: 38px; height: 38px; font-size: 14px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ─────────────────────────────────────────────────────────────
   NAV DROPDOWN (Послуги)
───────────────────────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-dropdown-trigger i {
  font-size: 10px;
  transition: transform 0.25s ease;
}
.nav-dropdown:hover .nav-dropdown-trigger i,
.nav-dropdown.is-open .nav-dropdown-trigger i {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(90,41,19,.12);
  padding: 20px 0 8px;
  list-style: none;
  z-index: 500;
  animation: ddFadeIn .18s ease;
}
@keyframes ddFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink) !important;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: var(--gold-soft);
  color: var(--maroon) !important;
}
/* Transparent navbar dropdown trigger */
.nav-transparent .nav-dropdown-trigger { color: rgba(255,255,255,0.82); }
.nav-transparent .nav-dropdown-trigger:hover { color: var(--white); }
.nav-transparent .nav-dropdown-trigger.nav-active { color: var(--white); }


/* ─────────────────────────────────────────────────────────────
   LOGO IMAGES
───────────────────────────────────────────────────────────── */
.logo-img {
  height: 20px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1)
          drop-shadow(0 1px 3px rgba(0,0,0,0.45));
  transition: opacity var(--transition), filter var(--transition);
  opacity: 0.5;
}
.logo:hover .logo-img { opacity: 0.8; }
/* Active logo — поточна секція */
.logo-active .logo-img {
  opacity: 1;
  filter: brightness(0) invert(1)
          drop-shadow(0 1px 3px rgba(0,0,0,0.5))
          drop-shadow(0 0 4px rgba(205,133,63,0.85))
          drop-shadow(0 0 10px rgba(205,133,63,0.45));
}
/* Scrolled navbar — light bg, make logos dark */
.nav-scrolled .logo-img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(36%) saturate(1200%) hue-rotate(346deg) brightness(55%);
  opacity: 0.45;
}
.nav-scrolled .logo-active .logo-img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(19%) sepia(36%) saturate(1200%) hue-rotate(346deg) brightness(70%);
}
/* Footer logo */
.logo-img-footer {
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}
.footer-logo:hover .logo-img-footer { opacity: 1; }

/* ─────────────────────────────────────────────────────────────
   PORTFOLIO GRID (Наші роботи)
───────────────────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Row 1: card1 wide (2 cols) + card2 (1 col) */
.portfolio-card--large {
  grid-column: span 2;
}

/* Row 2: cards 3, 4, 5 — 3 equal (auto) */

.portfolio-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--maroon);
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.portfolio-card--large img { min-height: 300px; }

.portfolio-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.75);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(20, 6, 2, 0.82) 0%,
    rgba(20, 6, 2, 0.3) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  align-self: flex-start;
}
.portfolio-overlay h3 {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}
.portfolio-card--large .portfolio-overlay h3 { font-size: 24px; }
.portfolio-overlay p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.5;
}

/* Always show subtle bottom gradient even without hover */
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,6,2,0.45) 0%, transparent 40%);
  pointer-events: none;
}

/* Static label always visible (bottom left) */
.portfolio-card .portfolio-static-label {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  pointer-events: none;
}
.portfolio-card .portfolio-static-label h3 {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* Responsive */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-grid .portfolio-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .portfolio-grid .portfolio-card:nth-child(2) { grid-column: auto; grid-row: auto; }
  .portfolio-grid .portfolio-card:nth-child(3) { grid-column: auto; grid-row: auto; }
  .portfolio-grid .portfolio-card:nth-child(4) { grid-column: auto; grid-row: auto; }
  .portfolio-grid .portfolio-card:nth-child(5) { grid-column: 1 / 3; grid-row: auto; }
}
@media (max-width: 580px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .portfolio-card:nth-child(n) { grid-column: 1; grid-row: auto; }
  .portfolio-card img { min-height: 220px; }
  .portfolio-overlay { opacity: 1; }
}

/* ─────────────────────────────────────────────────────────────
   SERVICE DETAIL PAGE
───────────────────────────────────────────────────────────── */
/* ── SERVICE DETAIL HERO ─────────────────────────────────── */
.svc-hero { position: relative; }
.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  pointer-events: none;
}
.svc-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
.svc-hero .container h1 {
  margin-left: auto;
  margin-right: auto;
}
.svc-hero .container > p {
  margin-left: auto;
  margin-right: auto;
}
.svc-hero .breadcrumb {
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 0;
}

.svc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.svc-body {}

.svc-gallery {
  margin-bottom: 40px;
  border-radius: 20px;
  overflow: hidden;
}
.svc-gallery-main {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.svc-gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}
.svc-gallery-thumbs img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.svc-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon);
  margin: 28px 0 10px;
}
.svc-content h3:first-child { margin-top: 0; }
.svc-content p {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 14px;
}
.svc-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.svc-content ul li {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 6px;
}

.svc-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.svc-sidebar-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 12px;
}
.svc-sidebar-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--maroon);
  border-radius: 40px;
  color: var(--maroon);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline:hover {
  background: var(--maroon);
  color: #fff;
}

@media (max-width: 900px) {
  .svc-layout {
    grid-template-columns: 1fr;
  }
  .svc-sidebar {
    order: -1;
  }
  .svc-gallery-main { height: 280px; }
  .svc-gallery-thumbs img { height: 140px; }
}
@media (max-width: 580px) {
  .svc-gallery-main { height: 220px; }
  .svc-gallery-thumbs { grid-template-columns: 1fr 1fr; }
  .svc-gallery-thumbs img { height: 110px; }
}

/* ─────────────────────────────────────────────────────────────
   DOCTORS — LIST PAGE
───────────────────────────────────────────────────────────── */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.doctor-card:hover {
  box-shadow: 0 12px 40px rgba(90,41,19,.12);
  transform: translateY(-4px);
}
.doctor-card-photo-link {
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.doctor-card-photo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .4s;
}
.doctor-card:hover .doctor-card-photo-link img {
  transform: scale(1.04);
}
.doctor-card-body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.doctor-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 6px;
  line-height: 1.35;
}
.doctor-card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.doctor-card-body h3 a:hover { text-decoration: underline; }
.doctor-spec {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.doctor-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  align-self: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
}
.doctor-card-link:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────
   DOCTORS — DETAIL PAGE
───────────────────────────────────────────────────────────── */
.doc-detail-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.doc-detail-photo img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 3/4;
  display: block;
}
.doc-detail-contacts {
  margin-top: 20px;
}
.doc-quote {
  background: var(--bg-alt);
  border-left: 4px solid var(--maroon);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0 0 36px;
  position: relative;
}
.doc-quote .fa-quote-left {
  color: var(--maroon);
  opacity: .35;
  font-size: 28px;
  margin-right: 10px;
  vertical-align: middle;
}
.doc-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.doc-areas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.doc-area-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.doc-area-item .fa-tooth {
  color: var(--gold);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.doc-area-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}
.doc-area-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.doc-edu {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text-body);
}
.doc-edu .fa-graduation-cap {
  color: var(--gold);
  font-size: 20px;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .doctors-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .doctor-card-body h3 { font-size: 14px; }
}
@media (max-width: 480px) {
  .doctors-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .doc-detail-layout {
    grid-template-columns: 1fr;
  }
  .doc-detail-photo img { max-width: 320px; margin: 0 auto; }
  .doc-detail-photo { text-align: center; }
  .doc-detail-contacts { max-width: 320px; margin: 16px auto 0; }
}

/* ─────────────────────────────────────────────────────────────
   LAB PAGE
───────────────────────────────────────────────────────────── */

/* Hero */
.lab-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #080d14;
}
.lab-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.lab-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
}
.lab-hero-inner {
  position: relative;
  z-index: 2;
  padding: 160px 40px 80px;
  max-width: 760px;
}
.lab-hero-inner h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.lab-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  font-weight: 400;
}

/* Advantages grid */
.lab-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.lab-adv-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.lab-adv-item:hover {
  box-shadow: 0 12px 40px rgba(90,41,19,.1);
  transform: translateY(-3px);
}
.lab-adv-icon {
  width: 56px; height: 56px;
  background: var(--maroon);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
  font-size: 22px;
}
.lab-adv-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}
.lab-adv-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About / Equipment layout */
.lab-about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.lab-about-text p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 15px;
}
.lab-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lab-tech-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.lab-tech-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.lab-tech-item:hover img { transform: scale(1.06); }

/* Gallery strip */
.lab-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 40px;
}
.lab-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.lab-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.lab-gallery-item:hover img { transform: scale(1.07); }

/* Works grid */
.lab-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.lab-work-thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: zoom-in;
}
.lab-work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.lab-work-thumb:hover img { transform: scale(1.06); }
.lab-work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(90,41,19,0.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.3s;
}
.lab-work-thumb { position: relative; }
.lab-work-thumb:hover .lab-work-overlay { opacity: 1; }

/* ── Stats strip ── */
.lab-stats-strip {
  background: var(--maroon);
  padding: 40px 0;
}
.lab-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.lab-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.lab-stat-item:last-child { border-right: none; }
.lab-stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.lab-stat-num sup {
  font-size: 0.5em;
  vertical-align: super;
  font-weight: 700;
}
.lab-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── What we make ── */
.lab-make-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
.lab-make-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.lab-make-card:hover {
  box-shadow: 0 12px 40px rgba(90,41,19,0.1);
  transform: translateY(-4px);
}
.lab-make-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--maroon), #8b3a1a);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 18px;
}
.lab-make-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.lab-make-card p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ── Equipment list ── */
.lab-equip-list {
  list-style: none;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lab-equip-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.lab-equip-list li i {
  color: var(--maroon);
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Lab CTA ── */
.lab-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.lab-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.lab-form-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 4px;
}
.lab-cta-text h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.lab-cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 24px;
}
.lab-cta-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lab-cta-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.lab-cta-checks li i { color: var(--gold); font-size: 16px; }
.lab-cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 280px;
}
/* ── Lab order form wrapper ── */
.lab-cta-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 320px;
}
.lab-order-form {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 28px;
}
.lab-order-form input,
.lab-order-form textarea {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-b);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  background: rgba(255,255,255,0.08);
  width: 100%;
  box-sizing: border-box;
}
.lab-order-form input::placeholder,
.lab-order-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.lab-order-form input:focus,
.lab-order-form textarea:focus { border-color: var(--gold); }
.lab-order-form textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.lab-form-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lab-cta-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.lab-cta-phone:hover { background: rgba(255,255,255,0.18); }
.lab-cta-phone-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.lab-cta-phone-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.lab-cta-phone-num {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.lab-cta-mail, .lab-cta-addr {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.lab-cta-mail i, .lab-cta-addr i { color: var(--gold); }
.lab-cta-mail:hover { color: #fff; }

/* ── Lab page responsive ── */
@media (max-width: 1024px) {
  .lab-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-about-layout { grid-template-columns: 1fr; gap: 40px; }
  .lab-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .lab-works-grid { grid-template-columns: repeat(4, 1fr); }
  .lab-make-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-cta-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .lab-hero-inner { padding: 120px 24px 60px; }
  .lab-hero-sub { font-size: 16px; }
  .lab-adv-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lab-adv-item { padding: 24px 16px; }
  .lab-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .lab-works-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 16px; }
  .lab-stat-item:nth-child(2n) { border-right: none; }
  .lab-stat-item:last-child { border-bottom: none; }
  .lab-make-grid { grid-template-columns: 1fr; gap: 16px; }
  .lab-cta-contacts { min-width: 0; }
  .lab-cta-form-wrap { min-width: 0; }
}
@media (max-width: 480px) {
  .lab-adv-grid { grid-template-columns: 1fr; }
  .lab-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-works-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Sticky bottom CTA bar (mobile only) ── */
.lk-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  display: flex;
  box-shadow: 0 -4px 20px rgba(20, 30, 50, 0.12);
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

.lk-sticky-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: 14px;
  min-height: 52px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color var(--duration-fast) var(--ease-std);
  -webkit-tap-highlight-color: transparent;
}

.lk-sticky-cta__btn i {
  font-size: 16px;
  flex-shrink: 0;
}

.lk-sticky-cta__btn--call {
  background-color: var(--brand-accent);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.lk-sticky-cta__btn--call:hover {
  background-color: var(--brand-accent-deep);
  color: #fff;
  text-decoration: none;
}

.lk-sticky-cta__btn--book {
  background-color: var(--brand-primary);
  color: #fff;
}

.lk-sticky-cta__btn--book:hover {
  background-color: var(--brand-primary-deep);
  color: #fff;
  text-decoration: none;
}

@media (min-width: 769px) {
  .lk-sticky-cta { display: none !important; }
}

@media (max-width: 768px) {
  body { padding-bottom: calc(52px + max(0px, env(safe-area-inset-bottom))); }
}

/* ── 404 page ──────────────────────────────────────── */
.error-hero-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: clamp(180px, 32vw, 420px);
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  letter-spacing: -16px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.error-icon {
  width: 72px;
  height: 72px;
  background: rgba(205,133,63,0.18);
  border: 2px solid rgba(205,133,63,0.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--gold);
  margin: 0 auto 22px;
}
.error-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.error-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.error-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.error-card:hover {
  box-shadow: 0 12px 40px rgba(90,41,19,0.1);
  transform: translateY(-5px);
  text-decoration: none;
}
.error-card:hover::after { transform: scaleX(1); }
.error-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--maroon), #8b3a1a);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.error-card h3 {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.error-card p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.error-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.error-card-link i { font-size: 11px; transition: transform 0.2s; }
.error-card:hover .error-card-link i { transform: translateX(4px); }

@media (max-width: 900px) {
  .error-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .error-cards { grid-template-columns: 1fr; gap: 16px; }
  .error-hero-num { letter-spacing: -8px; }
}

/* ── File upload label ── */
.file-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-b);
  color: var(--ink-mid);
  background: var(--white);
  transition: border-color 0.2s, color 0.2s;
  box-sizing: border-box;
  width: 100%;
}
.file-upload-label:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}
.file-upload-label i { font-size: 16px; flex-shrink: 0; }
.file-upload-label input[type="file"] { display: none; }
.file-upload-text { flex: 1; }

/* ── Video: reduced-motion only ── */
@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .lab-hero-video { display: none; }
}
