/* Ekraam Dental Solutions — Public Website (brand: logo teal / gold / black) */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
:root {
  --brand-red: #CFA759;
  --brand-red-dark: #B8923F;
  --brand-blue: #00A0B8;
  --brand-blue-dark: #008294;
  --brand-gray: #6b7280;
  --brand-dark: #0b0b0b;
  --brand-light: #E6F6F9;
  --brand: #00A0B8;
  --brand-primary: #00A0B8;
  --bs-primary: #00A0B8;
  --bs-primary-rgb: 0, 160, 184;
  --hero-gradient: linear-gradient(135deg, #0b0b0b 0%, #17262d 40%, #008294 100%);
  --surface: #f8fafc;
  --accent: #CFA759;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  background: #fff;
}

/* Top bar */
.site-topbar {
  background: #00A0B8;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 2px solid var(--brand-red);
}




/* Logo */
.brand-logo {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
.footer-logo {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  /* Logo has black lettering — white plate on the dark footer */
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Navbar */
.site-navbar {
  border-bottom: 1px solid #e5e7eb;
}
.site-navbar .nav-link {
  font-weight: 500;
  color: #334155 !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.5rem;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--brand-blue) !important;
  background: var(--brand-light);
}




.btn-primary {
  --bs-btn-bg: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: var(--brand-blue-dark);
  --bs-btn-hover-border-color: var(--brand-blue-dark);
  --bs-btn-active-bg: var(--brand-blue-dark);
  --bs-btn-active-border-color: var(--brand-blue-dark);
}
.btn-outline-primary {
  --bs-btn-color: var(--brand-blue);
  --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-bg: var(--brand-blue);
  --bs-btn-hover-border-color: var(--brand-blue);
}

/* Hero */
.hero-section {
  background: var(--hero-gradient);
  min-height: 520px;
  position: relative;
}
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}
.min-vh-60 { min-height: 60vh; }
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(207, 167, 89, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

/* Feature / service cards */
.feature-icon, .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #E6F6F9, #F8F2E6);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.feature-card, .service-card, .doctor-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 3px solid transparent;
}
.feature-card:hover, .service-card:hover, .doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(44, 111, 136, 0.12) !important;
  border-top-color: var(--brand-red);
}

/* Page hero */
.page-hero {
  background: linear-gradient(180deg, #E6F6F9 0%, #fff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.page-hero .breadcrumb-item a { color: var(--brand-blue); text-decoration: none; }

.about-image-placeholder {
  height: 360px;
  background: linear-gradient(145deg, #E6F6F9, #F8F2E6);
}

/* Gallery */
.gallery-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
  color: #64748b;
}
.gallery-card { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.gallery-item.hidden { display: none !important; }

/* Doctors */
.doctor-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(145deg, #E6F6F9, #F8F2E6);
}
.doctor-avatar-lg {
  height: 320px;
  background: linear-gradient(145deg, #E6F6F9, #F8F2E6);
}

/* CTA */
.cta-box {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
}

/* Contact */
.contact-info-card {
  background: var(--hero-gradient);
}

/* Confirmation */
.confirmation-icon {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-red));
}

/* Footer */
.site-footer {
  background: #00A0B8;
  border-top: 3px solid var(--brand-red);
}
.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.footer-links a:hover { color: #fff; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.social-btn:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* Forms */
.form-control:focus, .form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 160, 184, 0.2);
}

.text-primary { color: var(--brand-blue) !important; }
.bg-primary-subtle { background-color: var(--brand-light) !important; }

/* Badge polish */
.badge.bg-primary-subtle {
  border: 1px solid rgba(0, 160, 184, 0.2);
}

@media (max-width: 991.98px) {
  .brand-logo { height: 48px; max-width: 200px; }
}
@media (max-width: 767.98px) {
  .hero-section { min-height: auto; }
  .display-4 { font-size: 2rem; }
  .display-5 { font-size: 1.75rem; }
  .brand-logo { height: 42px; max-width: 180px; }
}

/* Sticky navbar — always on top */
.site-navbar {
  z-index: 1030;
  position: sticky;
  top: 0;
}

/* =====================================================================
   SITE CHROME: topbar, navbar, footer, back-to-top (shared by all public pages)
   ===================================================================== */
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
[hidden] { display: none !important; }

/* ---------- Open-now badge ---------- */
.hp-open { display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 700; line-height: 1.5; background: rgba(255, 255, 255, .1); color: #fff; white-space: nowrap; }
.hp-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f87171; flex: none; }
.hp-open.is-open::before { background: #34d399; animation: hpOpenPulse 2s infinite; }
@keyframes hpOpenPulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }

/* ---------- Topbar ---------- */
.site-topbar {
  position: relative;
  background: linear-gradient(135deg, #007a8c 0%, #00A0B8 45%, #0bb3c9 100%);
  color: rgba(255, 255, 255, .88);
  border-bottom: 0;
  font-size: .82rem;
  letter-spacing: .01em;
}
.site-topbar::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 90% 0%, rgba(255,255,255,.12), transparent 55%);
  pointer-events: none;
}
.site-topbar::after {
  content: "";
  position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, #CFA759, #00A0B8, #CFA759);
  opacity: .9;
}
.topbar-list { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; position: relative; z-index: 1; }
.topbar-list a, .topbar-list span {
  display: inline-flex; align-items: center; gap: .45rem;
  color: inherit; text-decoration: none;
  transition: color .2s, transform .2s;
}
.topbar-list a:hover { color: #fff; transform: translateY(-1px); }
.topbar-list i, .topbar-hours i {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  font-size: .78em;
  color: #fff;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
}
.topbar-right { display: flex; align-items: center; gap: .9rem; position: relative; z-index: 1; }
.topbar-hours { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .28); }
.topbar-social { display: flex; gap: .4rem; }
.topbar-social a {
  width: 28px; height: 28px; display: grid; place-items: center;
  color: rgba(255, 255, 255, .85);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  text-decoration: none;
  transition: background .25s, color .25s, transform .25s, border-color .25s, box-shadow .25s;
}
.topbar-social a:hover {
  color: #0a3a44;
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
}

/* ---------- Navbar ---------- */
.site-navbar.bg-white { background-color: rgba(255, 255, 255, .9) !important; }
.site-navbar {
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(15, 50, 65, .06);
  padding-block: .6rem;
  transition: box-shadow .35s ease, padding .35s ease, background-color .35s ease;
}
.site-navbar.shadow-sm { box-shadow: none !important; }
.site-navbar.shadow-sm.is-scrolled {
  box-shadow: 0 12px 40px rgba(15, 50, 65, .1) !important;
  padding-block: .35rem;
  background-color: rgba(255, 255, 255, .95) !important;
}
.site-navbar .brand-logo {
  height: 60px; max-width: 220px; width: auto; object-fit: contain;
  transition: height .35s ease, filter .3s;
  filter: drop-shadow(0 2px 6px rgba(0, 160, 184, .12));
}
.site-navbar.is-scrolled .brand-logo { height: 48px; }
.site-navbar::after { /* reading progress */
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #00A0B8, #CFA759, #00A0B8);
  background-size: 200% 100%;
  transform: scaleX(var(--scroll, 0)); transform-origin: left;
  border-radius: 2px;
}

.site-navbar .navbar-nav .nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .94rem;
  color: #334155 !important; background: transparent !important;
  padding: .55rem 1rem !important; border-radius: 999px;
  transition: color .25s, background-color .25s, box-shadow .25s, transform .2s;
}
.site-navbar .navbar-nav .nav-link:hover {
  color: var(--brand-blue) !important;
  background: linear-gradient(135deg, #e8f7fa, #f5fafc) !important;
  transform: translateY(-1px);
}
.site-navbar .navbar-nav .nav-link.active {
  color: var(--brand-blue-dark) !important;
  background: linear-gradient(135deg, #D9F1F5, #eef6fb) !important;
  box-shadow: 0 4px 14px rgba(0, 160, 184, .12);
}
.site-navbar .nav-ico { display: none; font-size: 1.1rem; }
@media (min-width: 992px) {
  .site-navbar .navbar-nav .nav-link.active::after {
    content: ""; position: absolute; bottom: 4px; inset-inline-start: 50%;
    width: 18px; height: 3px; margin-inline-start: -9px; border-radius: 3px;
    background: linear-gradient(90deg, #00A0B8, #CFA759);
    box-shadow: 0 2px 6px rgba(0, 160, 184, .35);
  }
}

.nav-cta {
  white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.4rem; font-weight: 700; font-size: .92rem; color: #fff;
  background: linear-gradient(135deg, #00A0B8 0%, #0088a0 50%, #006d80 100%);
  border: 0; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 160, 184, .32), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .25s, box-shadow .25s, color .2s, filter .25s;
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .5s ease;
}
.nav-cta:hover::before { transform: translateX(120%); }
.nav-cta:hover, .nav-cta:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 160, 184, .45), inset 0 1px 0 rgba(255,255,255,.25);
}


/* Animated burger */
.nav-burger-btn { padding: .7rem !important; border-radius: .9rem !important; background: var(--brand-light) !important; box-shadow: none !important; }
.nav-burger-btn:focus-visible { outline: 3px solid rgba(0, 160, 184, .45); outline-offset: 2px; }
.nav-burger { position: relative; display: block; width: 22px; height: 16px; }
.nav-burger i { position: absolute; inset-inline: 0; height: 2px; border-radius: 2px; background: #0f172a; transition: transform .3s, opacity .2s, top .3s; }
.nav-burger i:nth-child(1) { top: 0; } .nav-burger i:nth-child(2) { top: 7px; } .nav-burger i:nth-child(3) { top: 14px; }
.nav-burger-btn[aria-expanded="true"] i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-burger-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-burger-btn[aria-expanded="true"] i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse { margin-top: .75rem; padding: .6rem; background: #fff; border: 1px solid #e1ebef; border-radius: 1.25rem; box-shadow: 0 24px 50px rgba(15, 50, 65, .16); }
  .site-navbar .navbar-nav { gap: .15rem; }
  .site-navbar .navbar-nav .nav-link { display: flex; width: 100%; padding: .85rem 1rem !important; border-radius: .9rem; font-size: 1rem; }
  .site-navbar .nav-ico { display: inline-block; width: 1.4rem; text-align: center; color: var(--brand-blue); }
  .site-navbar .navbar-nav .nav-link.active { box-shadow: inset 3px 0 0 var(--brand-blue); }
  .nav-cta { width: 100%; justify-content: center; padding: .85rem 1.3rem; }
  .site-navbar .brand-logo { height: 50px; max-width: 190px; }
  .site-navbar.is-scrolled .brand-logo { height: 44px; }
}
@media (max-width: 575.98px) {
  .site-navbar .brand-logo { height: 44px; max-width: 170px; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .7); border-top: 0; padding: 0;
  background: radial-gradient(circle at 92% 0, rgba(0, 160, 184, .3), transparent 45%), radial-gradient(circle at 0 100%, rgba(207, 167, 89, .2), transparent 45%), #00A0B8;
}
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand-red), var(--brand-blue)); }
.footer-main { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.footer-brand { display: inline-block; margin-bottom: 1.25rem; }
.footer-logo { display: block; height: 54px; width: auto; max-width: 240px; padding: .5rem .85rem; object-fit: contain; background: #fff; border: 0; border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.footer-about { max-width: 26rem; margin-bottom: 1.5rem; line-height: 1.75; color: rgba(255, 255, 255, .62); }
.footer-social { display: flex; gap: .6rem; }
.social-btn { width: 42px; height: 42px; font-size: 1.05rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); transition: transform .25s, background .25s, border-color .25s; }
.social-btn:hover { transform: translateY(-3px); border-color: transparent; }
.social-btn--fb:hover { background: #1877f2; }
.social-btn--ig:hover { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.social-btn--wa:hover { background: #25d366; }

.footer-title { position: relative; margin: 0 0 1.25rem; padding-bottom: .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand-red), var(--brand-blue)); }
.footer-links { margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 0; margin: 0; color: rgba(255, 255, 255, .62); transition: color .2s, gap .25s; }
.footer-links a::before { content: ""; width: 0; height: 2px; border-radius: 2px; background: var(--brand-red); transition: width .25s, margin .25s; }
.footer-links a:hover { color: #fff; gap: .55rem; }
.footer-links a:hover::before { width: 14px; }

.footer-contact { margin: 0; display: grid; gap: 1rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .9rem; }
.fc-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1rem; color: #00A0B8; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09); border-radius: 12px; }
.footer-contact strong { display: block; font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .5); line-height: 1.3; }
.footer-contact div > span:not(.hp-open), .footer-contact a { color: #fff; font-weight: 500; text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: #CFA759; }
.fc-ico--wa { color: #4ade80; }
.footer-contact .hp-open { display: flex; width: fit-content; margin-top: .4rem; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.15rem 0; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.footer-made i { color: var(--brand-red); margin-inline: .15rem; animation: hpBeat 1.8s ease-in-out infinite; display: inline-block; }
@keyframes hpBeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; z-index: 1020; inset-inline-end: 1.25rem; bottom: 1.25rem; width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, #00A0B8, var(--brand-blue-dark)); border: 0; border-radius: 50%; box-shadow: 0 12px 28px rgba(0, 160, 184, .4); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility 0s linear .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, visibility 0s; }
.to-top:hover { transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid rgba(0, 160, 184, .45); outline-offset: 3px; }
@media (max-width: 767.98px) { body:has(.hp-mbar) .to-top { bottom: 5.75rem; } }

@media (prefers-reduced-motion: reduce) {
  .site-navbar, .site-navbar .brand-logo, .nav-burger i, .to-top, .footer-links a, .footer-links a::before { transition: none; }
  .hp-open.is-open::before, .footer-made i { animation: none; }
}

/* ---------- Topbar address / small screens ---------- */
.topbar-list a:hover i { color: #fff; }
@media (max-width: 1199.98px) { .topbar-hours { display: none; } }
@media (max-width: 1099.98px) { .topbar-addr { display: none; } }

/* ---------- Contact page: clinic card ---------- */
.contact-info-card a:not(.btn) { color: #fff; text-decoration: none; }
.contact-info-card a:not(.btn):hover { text-decoration: underline; }
.btn-wa { color: #fff; background: #25d366; border: 0; }
.btn-wa:hover, .btn-wa:focus-visible { color: #fff; background: #1faa53; }

/* ---------- Icons missing from Bootstrap Icons: tooth + orthodontic braces ---------- */
.bi-tooth::before, .bi-braces::before {
  content: "" !important; font-family: inherit !important; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em;
  background-color: currentColor; -webkit-mask: var(--hp-mask) center / contain no-repeat; mask: var(--hp-mask) center / contain no-repeat;
}
.bi-tooth { --hp-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5.2C10.6 4 9 3.5 7.6 3.5 5.2 3.5 3.5 5.4 3.5 7.9c0 2.1.9 3.5 1.4 5.3.5 2 .6 4.8 1.3 6.6.4 1 1.4 1.4 2.1.8.9-.8 1-3.2 1.5-4.9.3-1 1-1.5 2.2-1.5s1.9.5 2.2 1.5c.5 1.7.6 4.1 1.5 4.9.7.6 1.7.2 2.1-.8.7-1.8.8-4.6 1.3-6.6.5-1.8 1.4-3.2 1.4-5.3 0-2.5-1.7-4.4-4.1-4.4-1.4 0-3 .5-4.4 1.7Z'/%3E%3C/svg%3E"); }
.bi-braces { --hp-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1.8' y='7' width='6.4' height='10' rx='2'/%3E%3Crect x='8.8' y='4.6' width='6.4' height='14.8' rx='2'/%3E%3Crect x='15.8' y='7' width='6.4' height='10' rx='2'/%3E%3Cpath d='M1.8 12h20.4'/%3E%3Crect x='3.6' y='10.4' width='2.8' height='3.2' rx='.7' fill='black' stroke='none'/%3E%3Crect x='10.6' y='10.4' width='2.8' height='3.2' rx='.7' fill='black' stroke='none'/%3E%3Crect x='17.6' y='10.4' width='2.8' height='3.2' rx='.7' fill='black' stroke='none'/%3E%3C/svg%3E"); }

/* ---------- Doctor feature block (Doctors, About, profile pages) ---------- */
.doctor-feature { background: linear-gradient(135deg, #E6F6F9 0%, #fff 60%, #F8F2E6 100%); border: 1px solid #e1ebef; box-shadow: 0 14px 40px rgba(15, 50, 65, .08); }
.doctor-feature-avatar { display: grid; place-items: center; width: 150px; height: 150px; font-size: 2.8rem; font-weight: 800; letter-spacing: .04em; color: #fff; border-radius: 50%; background: linear-gradient(135deg, #00A0B8, var(--brand-red)); box-shadow: 0 0 0 12px rgba(0, 160, 184, .08), 0 18px 36px rgba(0, 160, 184, .25); }
.doctor-avatar-lg .doctor-feature-avatar { width: 200px; height: 200px; font-size: 3.6rem; }
.doctor-feature-list li { display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem; }
.doctor-feature-list i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; color: var(--brand-blue); background: #fff; border: 1px solid #e1ebef; border-radius: 10px; }

/* Bootstrap's wide row gutters (g-5) can push pages ~12px past the viewport on phones */
main { overflow-x: clip; }

/* Mid-width desktops (992–1199px): keep the whole navbar on one line */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-navbar .navbar-nav .nav-link { padding: .5rem .62rem !important; font-size: .9rem; }
  .site-navbar .navbar-nav { gap: 0; }
  .nav-cta { padding: .55rem 1.05rem; font-size: .9rem; }
  .site-navbar .brand-logo { height: 54px; max-width: 200px; }
}


/* =====================================================================
   HOME PAGE
   ===================================================================== */
/* Ekraam Dental Solutions — Home page. Scoped to .home-page / .hp-* so other pages are unaffected. */
.home-page {
  --hp-blue: #00A0B8;
  --hp-blue-dark: #008294;
  --hp-red: #CFA759;
  --hp-ink: #0f172a;
  --hp-muted: #5b6b7f;
  --hp-line: #e1ebef;
  --hp-tint: #f2f8fa;
  --hp-radius: 1.25rem;
  --hp-shadow: 0 8px 26px rgba(15, 50, 65, .07);
  --hp-shadow-lg: 0 24px 60px rgba(0, 70, 140, .16);
  --hp-interval: 15s;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--hp-ink);
  overflow-x: clip;
}
.home-page h1, .home-page h2, .home-page h3, .home-page h4 { letter-spacing: -.02em; text-wrap: balance; }
.home-page p { text-wrap: pretty; }
.hp-ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
html.hp-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
html.hp-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn--primary { color: #fff; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); box-shadow: 0 10px 24px rgba(0, 160, 184, .32); }
.hp-btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(0, 160, 184, .44); }
.hp-btn--ghost { color: var(--hp-ink); background: #fff; border-color: var(--hp-line); box-shadow: var(--hp-shadow); }
.hp-btn--ghost:hover { color: var(--hp-blue); border-color: var(--hp-blue); }
.hp-btn--outline { color: var(--hp-blue); border-color: var(--hp-blue); background: transparent; }
.hp-btn--outline:hover { color: #fff; background: var(--hp-blue); }
.hp-btn--light { color: var(--hp-blue-dark); background: #fff; }
.hp-btn--light:hover { color: var(--hp-red); }
.hp-btn--line { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hp-btn--line:hover { color: var(--hp-blue-dark); background: #fff; }
.hp-btn:focus-visible, .hp-service:focus-visible, .hp-nav-btn:focus-visible, .hp-tab:focus-visible,
.hp-accordion .accordion-button:focus-visible { outline: 3px solid rgba(0, 160, 184, .45); outline-offset: 2px; }
.hp-arrow { transition: transform .2s; display: inline-block; }
a:hover > .hp-arrow, .hp-btn:hover .hp-arrow, .hp-service:hover .hp-arrow { transform: translateX(4px); }


/* =====================================================================
   HERO SLIDER — cinematic, themed per slide
   ===================================================================== */
.hp-btn--glass { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .26); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hp-btn--glass:hover { color: #0d1f26; background: #fff; border-color: #fff; }
.hp-btn--wa { color: #fff; background: #25d366; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.hp-btn--wa:hover { color: #fff; background: #1faa53; box-shadow: 0 14px 30px rgba(37, 211, 102, .42); }

.hp-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0e1c22;
  padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(5.5rem, 8vw, 7rem);
  min-height: min(94vh, 980px);
  min-height: min(94dvh, 980px);
  display: flex;
  align-items: center;
  padding-inline: max(0px, env(safe-area-inset-left, 0px)) max(0px, env(safe-area-inset-right, 0px));
}
.hp-hero > .container { width: 100%; }
.hp-hero-bg { position: absolute; inset: 0; z-index: -1; background: #0e1c22; overflow: hidden; }

/* Shared legibility overlay: one layer for every slide (desktop = left-to-right, mobile = top-to-bottom, see media queries) */
.hp-hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 15, 28, 0) 55%, rgba(7, 15, 28, .42) 100%),
    linear-gradient(100deg, rgba(5, 12, 26, .55) 0%, rgba(7, 16, 32, .38) 32%, rgba(9, 20, 38, .18) 62%, rgba(10, 22, 40, .08) 100%);
}

/* Slide photos. Each slide sets its own images, focal point and colour tint; sizes are art-directed:
   desktop 1920w, tablet 1280w, phone 900x1200 portrait crop. */
.hp-bg {
  position: absolute; inset: -3%;
  opacity: 0; transition: opacity 1.2s ease;
  background-color: #0e1c22;
  background-image: radial-gradient(60% 75% at 80% 42%, var(--tint, transparent), transparent 72%), var(--img-d);
  background-size: cover, cover;
  background-position: center, var(--pos-d, 60% 30%);
  background-repeat: no-repeat;
  filter: brightness(1.08) contrast(1.04) saturate(1.05);
}
/* Image URLs come from inline styles (DB-driven). Keep only fallback tint/position. */
.hp-bg--0 { --pos-d: 62% 30%; --pos-m: 50% 40%; --tint: rgba(0, 160, 184, .12); }
.hp-bg--1 { --pos-d: 58% 35%; --pos-m: 50% 40%; --tint: rgba(0, 160, 184, .12); }
.hp-bg--2 { --pos-d: 50% 40%; --pos-m: 50% 38%; --tint: rgba(207, 167, 89, .14); }
.hp-bg--3 { --pos-d: 62% 45%; --pos-m: 50% 45%; --tint: rgba(0, 160, 184, .12); }
.hp-bg {
  /* ensure vars resolve even when only one size is provided */
}
.hp-hero[data-theme="0"] .hp-bg--0,
.hp-hero[data-theme="1"] .hp-bg--1,
.hp-hero[data-theme="2"] .hp-bg--2,
.hp-hero[data-theme="3"] .hp-bg--3,
.hp-hero[data-theme="4"] .hp-bg--4,
.hp-hero[data-theme="5"] .hp-bg--5,
.hp-hero[data-theme="6"] .hp-bg--6,
.hp-hero[data-theme="7"] .hp-bg--7 {
  opacity: 1;
  will-change: transform, opacity;
  animation: hpKen calc(var(--hp-interval) + 2s) cubic-bezier(.25, .6, .3, 1) forwards;
}
@keyframes hpKen {
  from { transform: scale(1.07) translate3d(-.8%, .4%, 0); }
  to { transform: scale(1) translate3d(0, 0, 0); }
}
.hp-hero.is-paused .hp-bg { animation-play-state: paused; }
/* Minimal grid — almost invisible so the photo stays realistic */
.hp-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .01) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .01) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 90% at 72% 42%, #000, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 90% at 72% 42%, #000, transparent 85%);
  opacity: .45; pointer-events: none;
}
/* Soft ambient glow only — no heavy colored orbs */
.hp-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .1; animation: hpOrb 24s ease-in-out infinite; pointer-events: none; }
.hp-orb--1 { width: 260px; height: 260px; background: #00A0B8; top: -80px; inset-inline-start: 45%; }
.hp-orb--2 { width: 200px; height: 200px; background: #3DB8CC; bottom: -90px; inset-inline-end: 14%; animation-delay: -10s; }
@keyframes hpOrb { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(12px, 10px); } }

.hp-slides { display: grid; }
.hp-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease, visibility 0s linear .6s; }
.hp-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .6s ease, visibility 0s; }
.hp-slide:nth-child(1) { --a: #3DB8CC; --m: #00A0B8; --b: #CFA759; --glow: rgba(0, 160, 184, .45); --p1: #17404f; --p2: #0d222b; }
.hp-slide:nth-child(2) { --a: #3DB8CC; --m: #00A0B8; --b: #CFA759; --glow: rgba(0, 160, 184, .42); --p1: #14485a; --p2: #0c2530; }
.hp-slide:nth-child(3) { --a: #E5C98A; --m: #CFA759; --b: #00A0B8; --glow: rgba(207, 167, 89, .4); --p1: #3d3319; --p2: #15130c; }
.hp-slide:nth-child(4) { --a: #3DB8CC; --m: #00A0B8; --b: #CFA759; --glow: rgba(0, 160, 184, .4); --p1: #17404f; --p2: #0c222b; }
/* If the script never starts, still show the first slide */
html.hp-js [data-hero-slider]:not(.is-ready) .hp-slide.is-active { opacity: 0; visibility: hidden; animation: hpRescue 0s linear 2.5s forwards; }
@keyframes hpRescue { to { opacity: 1; visibility: visible; } }

/* Copy */
.hp-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1.05rem; margin-bottom: 1.15rem;
  font-size: .82rem; font-weight: 650; letter-spacing: .03em;
  color: #eef5fc;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.12);
}
.hp-eyebrow i {
  color: #CFA759;
  font-size: .95em;
  filter: drop-shadow(0 0 6px rgba(207, 167, 89, .45));
}
.hp-title { text-shadow: 0 2px 24px rgba(3, 10, 22, .35); margin: 0 0 1rem; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; font-weight: 750; color: #fff; letter-spacing: -.02em; }
.hp-gradient-text, .hp-split .g { background: linear-gradient(90deg, var(--a), var(--m, var(--a)), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-lead { max-width: 32rem; margin: 0 0 1.5rem; font-size: clamp(.98rem, 1.4vw, 1.1rem); line-height: 1.72; color: rgba(220, 232, 246, .8); }
.hp-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.hp-proof { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.hp-proof li { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .8rem; font-size: .8rem; font-weight: 500; color: #d0e0f0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; }
.hp-proof i { color: var(--a); font-size: .9em; }

/* Staggered entrance */
.hp-anim { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.hp-slide.is-active .hp-anim { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms + 160ms); }
.hp-split.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.hp-split.is-split .w > span { display: inline-block; transform: translateY(112%); transition: transform .85s cubic-bezier(.2, .7, .2, 1); }
.hp-split.is-split .hp-gradient-text { background: none; color: inherit; }
.hp-slide.is-active .hp-split.is-split .w > span { transform: none; transition-delay: calc(var(--wi, 0) * 55ms + 200ms); }

/* Stage: clinical photo panel + info layers */
.hp-stage { position: relative; width: min(100%, 560px); aspect-ratio: 4 / 5; margin-inline: auto; opacity: 0; transform: translateX(36px) scale(.97); transition: opacity .75s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.hp-slide.is-active .hp-stage { opacity: 1; transform: none; transition-delay: .12s; }
.hp-halo { position: absolute; inset: -10%; border-radius: 1.5rem; background: radial-gradient(circle at 50% 40%, var(--glow), transparent 70%); filter: blur(18px); opacity: .7; pointer-events: none; }
.hp-ringline { position: absolute; inset: -10px; border-radius: 1.35rem; border: 1px solid rgba(255, 255, 255, .14); pointer-events: none; }
.hp-arch { position: absolute; inset: 0; overflow: hidden; border-radius: 1.65rem; background: linear-gradient(165deg, var(--p1), var(--p2)); box-shadow: 0 32px 72px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .14), 0 0 48px rgba(0, 160, 184, .18); }
.hp-arch::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; z-index: 2; background: linear-gradient(90deg, var(--a), var(--b)); pointer-events: none; }
.hp-arch img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center center; transform: scale(1.02); image-rendering: auto; filter: contrast(1.05) saturate(1.08) brightness(1.02); }
.hp-slide.is-active .hp-arch img { animation: hpZoom 12s ease-out forwards; }
@keyframes hpZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hp-arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(6, 14, 28, .55) 100%); pointer-events: none; }
.hp-arch .hp-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hp-arch--art::after { display: none; }
.hp-arch--art::before { opacity: .9; }

.hp-layer { position: absolute; z-index: 3; transform: translate3d(calc(var(--px, 0) * var(--d, 0) * 1px), calc(var(--py, 0) * var(--d, 0) * 1px), 0); transition: transform .4s ease-out; }
.hp-chip { display: flex; align-items: center; gap: .6rem; padding: .55rem .95rem .55rem .55rem; text-align: start; color: #fff; background: rgba(12, 22, 40, .72); border: 1px solid rgba(255, 255, 255, .16); border-radius: .85rem; box-shadow: 0 12px 32px rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; transition: opacity .55s ease .45s, transform .35s ease; }
.hp-slide.is-active .hp-chip { opacity: 1; }
.hp-chip:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .28); }
.hp-chip strong { display: block; font-size: .88rem; line-height: 1.25; white-space: nowrap; font-weight: 650; }
.hp-chip small { display: block; font-size: .72rem; color: rgba(255, 255, 255, .68); white-space: nowrap; margin-top: .1rem; }
.hp-chip-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1rem; font-weight: 700; color: #fff; border-radius: .75rem; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 4px 14px rgba(0, 0, 0, .22); }
.hp-layer--1 { top: 8%; inset-inline-start: -10%; }
.hp-layer--2 { bottom: 18%; inset-inline-end: -9%; }
.hp-layer--3 { bottom: 2%; inset-inline-start: -6%; }

/* Art animations (SVG) */
.hp-twinkle { animation: hpTwinkle 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hp-twinkle--b { animation-delay: -1s; } .hp-twinkle--c { animation-delay: -1.9s; }
@keyframes hpTwinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.hp-spin { animation: hpSpin 48s linear infinite; }
.hp-spin--rev { animation-direction: reverse; animation-duration: 64s; }
@keyframes hpSpin { to { transform: rotate(360deg); } }
.hp-dot-pulse circle:last-child { transform-box: fill-box; transform-origin: center; animation: hpDot 2.2s ease-out infinite; }
.hp-dot-pulse--b circle:last-child { animation-delay: -.7s; } .hp-dot-pulse--c circle:last-child { animation-delay: -1.4s; }
@keyframes hpDot { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.hp-bob { animation: hpBob 5s ease-in-out infinite; }
.hp-bob--b { animation-delay: -1.6s; } .hp-bob--c { animation-delay: -3.2s; }
@keyframes hpBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Slider controls */
.hp-nav-btn { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 1.05rem; color: var(--hp-ink); background: #fff; border: 1px solid var(--hp-line); border-radius: 50%; box-shadow: var(--hp-shadow); cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, opacity .2s; }
.hp-nav-btn:hover { color: #fff; background: var(--hp-blue); border-color: var(--hp-blue); transform: translateY(-2px); }
.hp-nav-btn:disabled { opacity: .4; pointer-events: none; }
.hp-nav-btn:focus-visible { outline: 3px solid rgba(0, 160, 184, .45); outline-offset: 2px; }
.hp-slider-ui { display: flex; align-items: center; gap: 1.5rem; margin-top: clamp(1.1rem, 2.2vw, 2rem); }
.hp-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; flex: 1; max-width: 700px; }
.hp-tab { min-width: 0; padding: .7rem 0 0; text-align: start; color: rgba(255, 255, 255, .5); background: none; border: 0; cursor: pointer; transition: color .3s; }
.hp-tab:hover, .hp-tab.is-active { color: #fff; }
.hp-tab-top { display: flex; align-items: baseline; gap: .55rem; margin-bottom: .6rem; }
.hp-tab-num { font-size: .72rem; font-weight: 700; letter-spacing: .1em; opacity: .65; font-variant-numeric: tabular-nums; }
.hp-tab-label { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-tab-label .t-short { display: none; }
.hp-tab-bar { display: block; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.hp-tab-bar i { display: block; height: 100%; background: linear-gradient(90deg, #00A0B8, #CFA759); transform: scaleX(0); transform-origin: left; }
.hp-tab.is-active .hp-tab-bar i { transform: scaleX(1); }
.hp-tab.is-running .hp-tab-bar i { transform: scaleX(0); animation: hpFill var(--hp-interval) linear forwards; }
[data-hero-slider].is-paused .hp-tab.is-running .hp-tab-bar i { animation-play-state: paused; }
@keyframes hpFill { to { transform: scaleX(1); } }
.hp-ctrls { display: flex; gap: .6rem; margin-inline-start: auto; }
.hp-hero .hp-nav-btn { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hp-hero .hp-nav-btn:hover { color: #0d1f26; background: #fff; border-color: #fff; }
.hp-hero .hp-nav-btn--ghost { background: transparent; }
.hp-hero :focus-visible { outline: 3px solid rgba(255, 255, 255, .75); outline-offset: 3px; }

/* =====================================================================
   QUICK BOOKING BAR (overlaps the hero)
   ===================================================================== */
.hp-booking-wrap { position: relative; z-index: 6; margin-top: -3.4rem; }
.hp-booking { display: flex; align-items: center; gap: 1.25rem; padding: 1.05rem 1.15rem 1.05rem 1.7rem; background: rgba(255, 255, 255, .97); border: 1px solid #fff; border-radius: 1.6rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .24); }
.hp-booking-copy { flex: none; }
.hp-booking-copy strong { display: block; font-size: 1.08rem; line-height: 1.25; }
.hp-booking-copy span { font-size: .85rem; color: var(--hp-muted); }
.hp-booking-field { position: relative; flex: 1; min-width: 0; margin: 0; }
.hp-booking-field > i { position: absolute; inset-inline-start: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--hp-blue); pointer-events: none; }
.hp-booking-field::after { content: "\F282"; font-family: "bootstrap-icons"; position: absolute; inset-inline-end: 1.1rem; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--hp-muted); pointer-events: none; }
.hp-booking-field select { width: 100%; height: 54px; padding: 0 2.6rem; font-family: inherit; font-size: .98rem; font-weight: 600; color: var(--hp-ink); background: var(--hp-tint); border: 1.5px solid var(--hp-line); border-radius: 999px; -webkit-appearance: none; appearance: none; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.hp-booking-field select:hover { border-color: #bcd8e2; }
.hp-booking-field select:focus-visible { outline: none; border-color: var(--hp-blue); box-shadow: 0 0 0 4px rgba(0, 160, 184, .18); }
.hp-booking-actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.hp-booking-actions .hp-btn { height: 54px; padding-block: 0; }
.hp-booking-call { flex: none; width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.1rem; color: var(--hp-blue-dark); background: var(--hp-tint); border: 1.5px solid var(--hp-line); border-radius: 50%; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.hp-booking-call:hover { color: #fff; background: var(--hp-blue); transform: translateY(-2px); }

/* =====================================================================
   TRUST ROW
   ===================================================================== */
.hp-trust { padding: clamp(2.25rem, 4vw, 3rem) 0 0; }
.hp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hp-trust-item { display: flex; align-items: center; gap: .9rem; padding: .5rem .75rem; }
.hp-trust-item > i { flex: none; width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.3rem; border-radius: 14px; color: var(--hp-blue); background: var(--hp-tint); transition: .3s; }
.hp-trust-item:hover > i { color: #fff; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); transform: translateY(-3px); }
.hp-trust-item strong { display: block; font-size: .98rem; }
.hp-trust-item span { color: var(--hp-muted); font-size: .82rem; }


/* =====================================================================
   SECTIONS
   ===================================================================== */
.hp-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.hp-section--tint { background: var(--hp-tint); }
.hp-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.hp-head h2, .hp-h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: .75rem; }
.hp-head p, .hp-muted { color: var(--hp-muted); font-size: 1.05rem; line-height: 1.7; }
.hp-kicker { display: inline-block; margin-bottom: .75rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hp-red); position: relative; padding-inline-start: 1.8rem; }
.hp-kicker::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 1.3rem; height: 2px; background: var(--hp-red); }
.hp-head .hp-kicker { padding-inline-start: 0; }
.hp-head .hp-kicker::before { display: none; }

/* Services */
.hp-service {
  position: relative; display: block; height: 100%; padding: 2rem 1.75rem 1.75rem; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--hp-line); border-radius: var(--hp-radius); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.hp-service::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--hp-blue), var(--hp-red)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.hp-service::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(260px circle at var(--mx, 85%) var(--my, 110%), rgba(0, 160, 184, .13), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.hp-service:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-lg); border-color: transparent; color: inherit; }
.hp-service:hover::before { transform: scaleX(1); }
.hp-service:hover::after { opacity: 1; }
.hp-service-num { position: absolute; top: 1.2rem; inset-inline-end: 1.5rem; font-size: 2.4rem; font-weight: 800; color: #eaf1f8; line-height: 1; }
.hp-service-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 1.25rem; font-size: 1.65rem; color: var(--hp-blue); background: linear-gradient(145deg, #D9F1F5, #F8F2E6); border-radius: 18px; transition: .3s; }
.hp-service:hover .hp-service-icon { color: #fff; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); transform: rotate(-6deg) scale(1.06); }
.hp-service h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.hp-service p { color: var(--hp-muted); font-size: .95rem; line-height: 1.65; margin-bottom: 1.1rem; }
.hp-link { color: var(--hp-blue); font-weight: 600; font-size: .92rem; }

/* Why us */
.hp-why-visual { position: relative; min-height: 400px; border-radius: 2rem; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 20% 15%, #3a8099 0, transparent 55%), linear-gradient(145deg, #0b171c 0%, #153a48 55%, var(--hp-blue-dark) 100%); box-shadow: var(--hp-shadow-lg); }
.hp-why-ring { width: 190px; height: 190px; display: grid; place-items: center; font-size: 5rem; color: #fff; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .28), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 0 0 28px rgba(255, 255, 255, .05), 0 0 0 58px rgba(255, 255, 255, .03); animation: hpPulse 5s ease-in-out infinite; }
.hp-why-ring .hp-ico { width: 1em; height: 1em; stroke-width: 1.3; }
.hp-why-card { position: absolute; z-index: 2; bottom: 1.25rem; inset-inline-start: 1.25rem; display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; padding: 1rem 1.25rem; background: #fff; border-radius: 1rem; box-shadow: var(--hp-shadow-lg); }
.hp-why-card i { grid-row: span 2; font-size: 1.8rem; color: var(--hp-red); }
.hp-why-card strong { font-size: 1.7rem; line-height: 1; }
.hp-why-card span { font-size: .8rem; color: var(--hp-muted); }
.hp-why-chip { position: absolute; padding: .45rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.hp-why-chip i { color: #6ee7b7; margin-inline-end: .3rem; }
.hp-why-chip--a { top: 1.5rem; inset-inline-start: 1.5rem; }
.hp-why-chip--b { top: 3.9rem; inset-inline-end: 1.5rem; }
.hp-point { display: flex; gap: .9rem; height: 100%; padding: 1.1rem; background: #fff; border: 1px solid var(--hp-line); border-radius: 1rem; transition: .25s; }
.hp-point:hover { transform: translateY(-3px); box-shadow: var(--hp-shadow); }
.hp-point > span { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.2rem; color: var(--hp-blue); background: var(--hp-tint); border-radius: 12px; }
.hp-point h4 { font-size: 1rem; font-weight: 700; margin: 0 0 .25rem; }
.hp-point p { margin: 0; font-size: .86rem; color: var(--hp-muted); line-height: 1.55; }

/* Stats */
.hp-stats { position: relative; padding: clamp(3rem, 6vw, 4.5rem) 0; color: #fff; background: radial-gradient(circle at 85% 0, rgba(0, 160, 184, .45), transparent 50%), linear-gradient(135deg, #0b0b0b 0%, #17303a 45%, var(--hp-blue-dark) 100%); }
.hp-stats::before, .hp-stats::after { content: ""; position: absolute; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--hp-red), var(--hp-blue)); }
.hp-stats::before { top: 0; } .hp-stats::after { bottom: 0; }
.hp-stat > i { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: .75rem; font-size: 1.25rem; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); }
.hp-stat .hp-count { display: block; font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hp-stat small { color: rgba(255, 255, 255, .7); font-size: .95rem; }

/* Process */
.hp-step { position: relative; height: 100%; padding: 2rem 1.75rem; text-align: center; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); transition: .3s; }
.hp-step:hover { box-shadow: var(--hp-shadow-lg); transform: translateY(-5px); }
.hp-step-num { width: 60px; height: 60px; margin: 0 auto 1.25rem; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--hp-blue), var(--hp-red)); border-radius: 50%; box-shadow: 0 10px 24px rgba(0, 160, 184, .3); }
.hp-step h3 { font-size: 1.2rem; font-weight: 700; }
.hp-step p { color: var(--hp-muted); margin: 0; line-height: 1.65; }
@media (min-width: 768px) {
  .hp-step::after { content: ""; position: absolute; top: 2.9rem; inset-inline-end: -1.5rem; width: 1.5rem; border-top: 2px dashed #bcd3e8; }
  .col-md-4:last-child .hp-step::after { display: none; }
}

/* =====================================================================
   REVIEWS SLIDER (scroll-snap rail + progress)
   ===================================================================== */
.hp-rail { display: flex; gap: 1.5rem; overflow-x: auto; padding: .5rem .25rem 1.5rem; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.hp-rail::-webkit-scrollbar { display: none; }
.hp-rail:focus-visible { outline: 3px solid rgba(0, 160, 184, .45); outline-offset: 4px; border-radius: 1rem; }
.hp-rail > .hp-review { flex: 0 0 calc((100% - 2.2 * 1.5rem) / 3.2); scroll-snap-align: start; }
.hp-review { position: relative; display: flex; flex-direction: column; margin: 0; padding: 1.75rem; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow); transition: transform .3s, box-shadow .3s; }
.hp-review:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-lg); }
.hp-quote { position: absolute; top: .9rem; inset-inline-end: 1.1rem; font-size: 3.2rem; line-height: 1; color: #e1edf8; }
.hp-stars { position: relative; color: #f59e0b; letter-spacing: 2px; margin-bottom: 1rem; }
.hp-review blockquote { flex: 1; margin: 0 0 1.5rem; font-size: 1.02rem; line-height: 1.7; color: #334155; }
.hp-review figcaption { display: flex; align-items: center; gap: .8rem; }
.hp-review figcaption strong { display: block; line-height: 1.2; }
.hp-review figcaption small { color: var(--hp-muted); }
.hp-avatar { width: 44px; height: 44px; display: grid; place-items: center; font-weight: 700; color: #fff; border-radius: 50%; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); }
.hp-rail-ui { display: flex; align-items: center; gap: 1.5rem; }
.hp-rail-bar { flex: 1; height: 4px; border-radius: 4px; background: #cfe0f0; overflow: hidden; }
.hp-rail-bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--hp-blue), var(--hp-red)); width: calc(var(--w, .3) * 100%); margin-inline-start: calc((1 - var(--w, .3)) * var(--p, 0) * 100%); }

/* FAQ */
.hp-accordion { --bs-accordion-border-color: transparent; display: grid; gap: .8rem; }
.hp-accordion .accordion-item { border: 1px solid var(--hp-line); border-radius: 1rem !important; overflow: hidden; background: #fff; }
.hp-accordion .accordion-button { font-weight: 600; font-size: 1rem; padding: 1.15rem 1.35rem; background: #fff; color: var(--hp-ink); box-shadow: none; }
.hp-accordion .accordion-button:not(.collapsed) { color: var(--hp-blue); background: var(--hp-tint); }
.hp-accordion .accordion-body { color: var(--hp-muted); line-height: 1.7; padding: 1rem 1.35rem 1.35rem; }

/* CTA */
.hp-cta-wrap { padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.hp-cta { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 3.5rem); color: #fff; border-radius: 2rem; background: linear-gradient(135deg, #0b0b0b 0%, #17303a 40%, var(--hp-blue-dark) 100%); box-shadow: var(--hp-shadow-lg); }
.hp-cta-glow { position: absolute; width: 360px; height: 360px; top: -150px; inset-inline-end: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(207, 167, 89, .55), transparent 65%); }
.hp-cta-glow--b { width: 300px; height: 300px; top: auto; bottom: -160px; inset-inline-end: auto; inset-inline-start: 20%; background: radial-gradient(circle, rgba(0, 160, 184, .4), transparent 65%); }
.hp-cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; margin-bottom: .5rem; }
.hp-cta p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 1.05rem; }
.hp-cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: flex-end; }

/* Meet your dentist — modern clinical portrait */
.hp-doc-section { background: linear-gradient(180deg, #fff 0%, var(--hp-tint) 100%); }
.hp-doc-visual {
  position: relative; min-height: 460px; border-radius: 1.5rem; overflow: hidden;
  display: grid; place-content: end center; justify-items: center; gap: .85rem;
  padding: 0 1.25rem 1.5rem;
  background:
    radial-gradient(circle at 85% 12%, rgba(14, 116, 200, .35), transparent 50%),
    radial-gradient(circle at 12% 92%, rgba(207, 167, 89, .28), transparent 48%),
    linear-gradient(160deg, #0a1424 0%, #153a48 55%, #0d1f26 100%);
  box-shadow: 0 24px 60px rgba(15, 50, 65, .18);
}
.hp-doc-photo {
  position: relative; width: min(100%, 280px); aspect-ratio: 4 / 5; margin-top: 1.75rem;
  border-radius: 1.25rem; overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .5);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35), 0 0 0 10px rgba(255, 255, 255, .06);
  background: #0e1a2e;
}
.hp-doc-photo img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 12%;
}
.hp-doc-badge {
  position: absolute; left: .75rem; bottom: .75rem;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: rgba(12, 32, 42, .78); border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hp-doc-badge i { color: #00A0B8; }
.hp-doc-name { text-align: center; color: #fff; }
.hp-doc-name strong { display: block; font-size: 1.25rem; letter-spacing: .01em; }
.hp-doc-name span { font-size: .8rem; color: rgba(255, 255, 255, .72); letter-spacing: .04em; }
.hp-doc-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
.hp-doc-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .65rem; font-size: .74rem; font-weight: 600; color: #e8f2fc;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
}
.hp-doc-tag i { color: #fca5a5; font-size: .85em; }
/* legacy avatar support */
.hp-doc-avatar { width: 200px; height: 200px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255, 255, 255, .45); }
.hp-doc-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.hp-creds { display: grid; gap: .85rem; margin: 0; }
.hp-creds li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--hp-line); border-radius: 1rem; transition: .25s; }
.hp-creds li:hover { transform: translateY(-3px); box-shadow: var(--hp-shadow); }
.hp-cred-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.25rem; color: var(--hp-blue); background: linear-gradient(145deg, #D9F1F5, #F8F2E6); border-radius: 14px; }
.hp-creds strong { display: block; line-height: 1.3; }
.hp-creds span:not(.hp-cred-ico) { color: var(--hp-muted); font-size: .9rem; }

/* Mobile quick-action bar */
.hp-mbar { display: none; }



/* =====================================================================
   VISIT US
   ===================================================================== */
.hp-visit-card { height: 100%; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow); }
.hp-visit-card h3 { margin: 0 0 .4rem; font-size: 1.45rem; font-weight: 800; }
.hp-visit-card > p { margin: 0; color: var(--hp-muted); }
.hp-visit-list { display: grid; gap: 1.05rem; margin: 1.6rem 0; padding: 0; list-style: none; }
.hp-visit-list li { display: flex; align-items: flex-start; gap: .95rem; }
.hp-visit-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.1rem; color: var(--hp-blue); background: var(--hp-tint); border-radius: 13px; }
.hp-visit-ico--wa { color: #16a34a; background: #e8f8ee; }
.hp-visit-list strong { display: block; font-size: .78rem; font-weight: 600; color: var(--hp-muted); line-height: 1.3; }
.hp-visit-list a, .hp-visit-list .v { color: var(--hp-ink); font-weight: 600; text-decoration: none; }
.hp-visit-list a:hover { color: var(--hp-blue); }
.hp-visit .hp-open { display: flex; width: fit-content; margin-top: .4rem; color: var(--hp-ink); background: var(--hp-tint); }
.hp-visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
/* Professional map — no floating card */
.hp-map {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(160deg, #e4eef2 0%, #d0e0e8 100%);
  border: 0;
  border-radius: 1.35rem;
  box-shadow:
    inset 0 0 0 1px rgba(15, 50, 65, .06),
    0 4px 6px rgba(15, 50, 65, .03),
    0 20px 48px rgba(15, 50, 65, .12);
  transition: box-shadow .4s ease, transform .4s ease;
}
.hp-map:hover {
  box-shadow:
    inset 0 0 0 1px rgba(15, 50, 65, .08),
    0 8px 16px rgba(15, 50, 65, .05),
    0 28px 56px rgba(15, 50, 65, .16);
  transform: translateY(-2px);
}
.hp-map--live { background: #e8f0f3; }
.hp-leaflet-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: inherit;
  cursor: pointer;
}
/* Soft edge vignette over map */
.hp-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(9, 22, 27, .12);
  background: linear-gradient(
    180deg,
    rgba(9, 22, 27, .04) 0%,
    transparent 28%,
    transparent 72%,
    rgba(9, 22, 27, .08) 100%
  );
}
/* Full-area click → Google Maps */
.hp-map-click {
  position: absolute;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1rem 1.25rem;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  pointer-events: none; /* let Leaflet receive drag/zoom; map click opens Google Maps */
}
.hp-map-click-hint {
  opacity: 0;
  transform: translateY(10px);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(26, 115, 232, .42);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.hp-map:hover .hp-map-click-hint,
.hp-map-click:focus-visible .hp-map-click-hint {
  opacity: 1;
  transform: translateY(0);
}
.hp-map-click-hint i {
  font-size: 1rem;
}
/* Pin */
.hp-leaflet-pin { background: transparent !important; border: 0 !important; }
.hp-leaflet-pin-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(145deg, #e11d48, #9f1239);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow:
    0 0 0 5px rgba(225, 29, 72, .18),
    0 12px 26px rgba(159, 18, 57, .45);
  animation: hpPinPulse 2.4s ease-in-out infinite;
}
.hp-leaflet-pin-dot i { transform: rotate(45deg); font-size: 1.15rem; }
@keyframes hpPinPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(225, 29, 72, .18), 0 12px 26px rgba(159, 18, 57, .45); }
  50% { box-shadow: 0 0 0 10px rgba(225, 29, 72, .08), 0 12px 26px rgba(159, 18, 57, .45); }
}
.leaflet-container { font-family: inherit; background: #e8f0f3; }
.leaflet-control-zoom {
  border: 0 !important;
  border-radius: .75rem !important;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 50, 65, .14) !important;
  margin: 12px !important;
}
.leaflet-control-zoom a {
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 16px !important;
  color: #1f4a5c !important;
  background: #fff !important;
  border-bottom: 1px solid #e8eef1 !important;
}
.leaflet-control-zoom a:hover {
  background: #f3f8fb !important;
  color: var(--hp-blue, #008294) !important;
}
.leaflet-control-attribution {
  display: block !important;
  font-size: 10px !important;
  background: rgba(255, 255, 255, .88) !important;
  padding: 3px 8px !important;
  border-radius: 6px 0 0 0 !important;
  color: #5a6b73 !important;
}
.leaflet-control-attribution a { color: #008294 !important; }

/* Marker popup */
.hp-map-popup .leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 50, 65, .18);
  border: 1px solid rgba(15, 50, 65, .06);
  padding: 0;
}
.hp-map-popup .leaflet-popup-content {
  margin: 12px 14px;
  font-family: inherit;
}
.hp-map-popup-inner {
  display: grid;
  gap: .35rem;
  min-width: 180px;
}
.hp-map-popup-inner strong {
  font-size: .95rem;
  font-weight: 800;
  color: #0f2a35;
}
.hp-map-popup-inner span {
  font-size: .78rem;
  color: #5a6b73;
  line-height: 1.4;
}
.hp-map-popup-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .45rem;
  padding: .45rem .7rem;
  font-size: .78rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  border-radius: 999px;
  width: fit-content;
}
.hp-map-popup-link:hover { filter: brightness(1.06); }
.hp-map-popup .leaflet-popup-tip {
  box-shadow: none;
}

/* Visit info card accent */
.hp-visit-card {
  position: relative;
  overflow: hidden;
  height: 100%;
}
.hp-visit-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hp-blue), #CFA759);
}

@media (max-width: 991.98px) {
  .hp-map { min-height: 320px; border-radius: 1.15rem; }
}
@media (max-width: 575.98px) {
  .hp-map { min-height: 260px; border-radius: 1rem; }
  .hp-map-click { padding-bottom: 1rem; }
  .hp-map-click-hint { font-size: .8rem; padding: .6rem 1.05rem; }
}





/* =====================================================================
   FOUNDER MESSAGE
   ===================================================================== */
.hp-founder { padding-top: clamp(2rem, 4vw, 3rem); }
.hp-founder-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 50, 65, .08);
}
.hp-founder-photo {
  position: relative;
  height: 100%;
  min-height: 520px;
  background:
    radial-gradient(circle at 18% 12%, rgba(92, 192, 255, .22), transparent 48%),
    radial-gradient(circle at 88% 88%, rgba(207, 167, 89, .18), transparent 42%),
    linear-gradient(165deg, #08111f 0%, #153a48 52%, #0a1a32 100%);
  overflow: hidden;
}
.hp-founder-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 12, 24, .55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hp-founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  transition: transform 1.2s ease;
}
.hp-founder-card:hover .hp-founder-photo img { transform: scale(1.04); }
.hp-founder-photo-meta {
  position: absolute;
  inset-inline: 1rem;
  top: 1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  pointer-events: none;
}
.hp-founder-years {
  display: grid;
  padding: .65rem .85rem;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hp-founder-years strong {
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
  color: #7dd3fc;
}
.hp-founder-years small {
  margin-top: .25rem;
  font-size: .72rem;
  color: rgba(255, 255, 255, .75);
  letter-spacing: .02em;
}
.hp-founder-role {
  padding: .4rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #00A0B8, #CFA759);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
.hp-founder-body {
  height: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hp-founder-lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--hp-muted);
}
.hp-founder-lead strong { color: var(--hp-ink); }
.hp-founder-creds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}
.hp-founder-creds li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .7rem .8rem;
  background: var(--hp-tint);
  border: 1px solid var(--hp-line);
  border-radius: .85rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hp-founder-creds li:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 160, 184, .25);
  box-shadow: 0 10px 24px rgba(15, 50, 65, .08);
}
.hp-founder-creds i {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--hp-blue);
  background: #fff;
  border-radius: .55rem;
  font-size: .9rem;
  box-shadow: 0 2px 8px rgba(15, 50, 65, .06);
}
.hp-founder-creds span {
  font-size: .86rem;
  line-height: 1.35;
  color: var(--hp-ink);
}
.hp-founder-creds strong { display: block; font-size: .88rem; }
.hp-founder-sign {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: .25rem;
  margin-bottom: .25rem;
}
.hp-founder-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #00A0B8, #153a48);
  box-shadow: 0 8px 18px rgba(10, 90, 180, .25);
}
.hp-founder-sign strong { display: block; font-size: 1rem; color: var(--hp-ink); }
.hp-founder-sign span { font-size: .82rem; color: var(--hp-muted); }
@media (max-width: 991.98px) {
  .hp-founder-photo { min-height: 420px; }
}
@media (max-width: 575.98px) {
  .hp-founder-creds { grid-template-columns: 1fr; }
  .hp-founder-photo { min-height: 360px; }
}


/* =====================================================================
   SHARED HORIZONTAL STRIPS (Moments + Certificates) — RTL continuous
   ===================================================================== */
.hp-hstrip {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
html.hp-js .hp-hstrip[data-reveal] { opacity: 0; transform: translateY(16px); }
html.hp-js .hp-hstrip[data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity .85s ease, transform .85s cubic-bezier(.2, .7, .2, 1);
}
.hp-hstrip-track {
  display: flex;
  width: max-content;
  will-change: transform;
  /* JS drives continuous RTL movement */
  animation: none;
}

.hp-hstrip-nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 50, 65, .12);
  border-radius: 50%;
  color: var(--hp-ink);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(15, 50, 65, .14);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.hp-hstrip-prev { inset-inline-start: 6px; }
.hp-hstrip-next { inset-inline-end: 6px; }
.hp-hstrip-nav:hover {
  color: #fff;
  background: var(--hp-blue);
  border-color: var(--hp-blue);
  transform: translateY(-50%) scale(1.05);
}
.hp-hstrip-nav:active { transform: translateY(-50%) scale(.98); }
.hp-hstrip-nav:focus-visible {
  outline: 3px solid rgba(0, 160, 184, .45);
  outline-offset: 2px;
}
@media (max-width: 575.98px) {
  .hp-hstrip-nav { width: 38px; height: 38px; }
  .hp-hstrip-prev { inset-inline-start: 2px; }
  .hp-hstrip-next { inset-inline-end: 2px; }
}

.hp-hstrip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(8, 18, 34, .2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.hp-hstrip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 28px rgba(12, 32, 42, .2);
  opacity: 0;
  transform: scale(.88);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  background-image:
    linear-gradient(#0d1f26, #0d1f26),
    linear-gradient(#0d1f26, #0d1f26);
  background-size: 5px 16px, 5px 16px;
  background-position: 16px 16px, 27px 16px;
  background-repeat: no-repeat;
}
.hp-hstrip.is-paused::after { opacity: 1; }
.hp-hstrip.is-paused::before { opacity: 1; transform: scale(1); }
.hp-hstrip-group {
  display: flex;
  gap: 1.1rem;
  padding-inline: .55rem;
}
.hp-hcard {
  position: relative;
  flex: none;
  width: min(72vw, 280px);
  margin: 0;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 50, 65, .08);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .3s ease;
}
.hp-hcard-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #eef5fb, #e6eef1);
  overflow: hidden;
}
.hp-hcard-frame img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}
.hp-hcard-zoom {
  position: absolute;
  inset-inline-end: .7rem; bottom: .7rem;
  z-index: 2;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(12, 32, 42, .55);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s ease, transform .25s ease;
}
.hp-hcard-meta {
  padding: .7rem .85rem .8rem;
}
.hp-hcard-meta strong {
  display: block;
  font-size: .95rem;
  line-height: 1.3;
  color: var(--hp-ink);
  margin-bottom: .28rem;
}
.hp-hcard-meta span {
  font-size: .8rem;
  color: var(--hp-muted);
  line-height: 1.35;
}
.hp-hcard:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 160, 184, .28);
  box-shadow: 0 20px 44px rgba(15, 50, 65, .14);
}
.hp-hcard:hover .hp-hcard-frame img { transform: scale(1.06); }
.hp-hcard:hover .hp-hcard-zoom { opacity: 1; transform: scale(1); }
@keyframes hpStripRtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 575.98px) {
  .hp-hcard { width: min(78vw, 240px); }
}
@media (prefers-reduced-motion: reduce) {
  .hp-hstrip { overflow-x: auto; }
  .hp-hstrip-track { width: auto; transform: none !important; }
  .hp-hstrip-group[aria-hidden="true"] { display: none; }
}

/* =====================================================================
   CLINIC MOMENTS MARQUEE (right → left continuous)
   ===================================================================== */
.hp-moments {
  padding: 1.75rem 0 1rem;
  background: linear-gradient(180deg, #f7fafb 0%, #fff 50%, #fff 100%);
  overflow: hidden;
}
.hp-moments .hp-hstrip { margin-top: .15rem; }
.hp-moments-top {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: .65rem; text-align: center;
}
.hp-moments-head { margin: 0 auto; text-align: center; max-width: 40rem; }
.hp-moments-head p { margin: .4rem auto 0; max-width: 36rem; color: var(--hp-muted); }

.hp-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
html.hp-js .hp-marquee[data-reveal] { opacity: 0; transform: translateY(18px); }
html.hp-js .hp-marquee[data-reveal].is-visible { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.hp-marquee-track {
  display: flex;
  width: max-content;
  animation: hpMarquee 42s linear infinite;
  will-change: transform;
}
/* Fade-in for every image card in the strip (both marquee groups) */
html.hp-js .hp-marquee[data-reveal] .hp-moment {
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .7s ease, transform .75s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, border-color .3s ease;
}
html.hp-js .hp-marquee[data-reveal] .hp-moment img {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .85s ease, transform .85s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment {
  opacity: 1;
  transform: none;
}
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment img {
  opacity: 1;
  transform: none;
}
/* Stagger all 7 cards in each group */
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(1) { transition-delay: .06s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(2) { transition-delay: .14s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(3) { transition-delay: .22s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(4) { transition-delay: .30s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(5) { transition-delay: .38s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(6) { transition-delay: .46s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(7) { transition-delay: .54s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(1) img { transition-delay: .12s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(2) img { transition-delay: .20s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(3) img { transition-delay: .28s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(4) img { transition-delay: .36s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(5) img { transition-delay: .44s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(6) img { transition-delay: .52s; }
html.hp-js .hp-marquee[data-reveal].is-visible .hp-moment:nth-child(7) img { transition-delay: .60s; }
.hp-marquee:hover .hp-marquee-track,
.hp-marquee:focus-within .hp-marquee-track {
  animation-play-state: paused;
}
.hp-marquee-group {
  display: flex;
  gap: 1rem;
  padding-inline: .5rem;
}
.hp-moment {
  position: relative;
  flex: none;
  width: min(72vw, 280px);
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #0e1a2e;
  box-shadow: 0 14px 34px rgba(15, 50, 65, .12);
  border: 1px solid rgba(15, 50, 65, .06);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, border-color .3s ease;
}
.hp-moment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 60, .05) 0%, rgba(8, 30, 60, .15) 45%, rgba(6, 14, 28, .55) 100%);
  opacity: .55;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 1;
}
.hp-moment img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
.hp-moment figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.7rem .9rem .75rem;
  font-size: .8rem;
  font-weight: 650;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(6, 14, 28, .82));
  letter-spacing: .02em;
  transform: translateY(6px);
  opacity: .92;
  transition: transform .4s ease, opacity .35s ease;
}
.hp-moment:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 160, 184, .35);
  box-shadow: 0 22px 48px rgba(15, 50, 65, .22), 0 0 0 3px rgba(0, 160, 184, .12);
}
.hp-moment:hover::after { opacity: .28; }
.hp-moment:hover img {
  transform: scale(1.1);
  filter: brightness(1.06) contrast(1.03);
}
.hp-moment:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}
@keyframes hpMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 767.98px) {
  .hp-moment { width: min(78vw, 240px); }
  .hp-moment img { height: 170px; }
  .hp-marquee-track { animation-duration: 36s; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-marquee-track { animation: none; }
  .hp-marquee { overflow-x: auto; }
  .hp-marquee-track { width: auto; }
  .hp-marquee-group[aria-hidden="true"] { display: none; }
  html.hp-js .hp-marquee[data-reveal],
  html.hp-js .hp-marquee[data-reveal] .hp-moment,
  html.hp-js .hp-marquee[data-reveal] .hp-moment img {
    opacity: 1; transform: none; transition: none;
  }
}



/* =====================================================================
   CERTIFICATES (horizontal rail)
   ===================================================================== */
.hp-certs {
  background: linear-gradient(180deg, #fff 0%, #f3f8fc 100%);
}
.hp-certs.hp-section {
  padding: 1.25rem 0 1.75rem !important;
}
.hp-certs-top {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: .65rem; text-align: center;
}
.hp-certs-head { margin: 0 auto; text-align: center; max-width: 40rem; }
.hp-certs-head p { margin: .4rem auto 0; color: var(--hp-muted); }
.hp-certs-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 300px);
  gap: 1.1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .35rem .15rem 1rem;
  margin: 0 -.15rem;
  scrollbar-width: none;
}
.hp-certs-rail::-webkit-scrollbar { display: none; }
.hp-cert {
  position: relative;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 50, 65, .07);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, border-color .3s ease;
}
html.hp-js .hp-cert[data-reveal] {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .7s ease, transform .75s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease, border-color .3s ease;
  transition-delay: var(--d, 0s);
}
html.hp-js .hp-cert[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.hp-cert:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 160, 184, .28);
  box-shadow: 0 22px 48px rgba(15, 50, 65, .14);
}
.hp-cert {
  cursor: pointer;
}
.hp-cert-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #eef5fb, #e6eef1);
  overflow: hidden;
}
.hp-cert-zoom {
  position: absolute;
  inset-inline-end: .7rem;
  bottom: .7rem;
  z-index: 2;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(12, 32, 42, .55);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.hp-cert:hover .hp-cert-zoom,
.hp-cert:focus-visible .hp-cert-zoom {
  opacity: 1;
  transform: scale(1);
}
.hp-cert-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 20, 40, .08));
  pointer-events: none;
}
.hp-cert-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.hp-cert:hover .hp-cert-frame img { transform: scale(1.05); }
.hp-cert-meta {
  padding: 1rem 1.1rem 1.15rem;
}
.hp-cert-meta strong {
  display: block;
  font-size: .98rem;
  line-height: 1.3;
  color: var(--hp-ink);
  margin-bottom: .3rem;
}
.hp-cert-meta span {
  font-size: .82rem;
  color: var(--hp-muted);
  line-height: 1.4;
}
.hp-certs-ui {
  display: flex; align-items: center; gap: 1rem; margin-top: .25rem;
}
.hp-certs-bar {
  flex: 1; height: 4px; border-radius: 999px; background: #e4eef7; overflow: hidden;
}
.hp-certs-bar span {
  display: block; height: 100%; width: calc(var(--w, .3) * 100%);
  margin-inline-start: calc(var(--p, 0) * (100% - var(--w, .3) * 100%));
  background: linear-gradient(90deg, var(--brand-blue, #00A0B8), var(--brand-red, #CFA759));
  border-radius: inherit;
  transition: width .2s ease, margin-inline-start .2s ease;
}
@media (max-width: 575.98px) {
  .hp-certs-rail { grid-auto-columns: minmax(230px, 82vw); }
  .hp-moments-top, .hp-certs-top { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html.hp-js .hp-cert[data-reveal] { opacity: 1; transform: none; transition: none; }
  .hp-certs-rail { scroll-behavior: auto; }
}

/* Moments lightbox */
.hp-lb {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center;
  padding: 1rem;
}
.hp-lb[hidden] { display: none !important; }
.hp-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 12, 24, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: hpLbIn .25s ease;
}
.hp-lb-dialog {
  position: relative; z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 720px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .5rem;
  animation: hpLbPop .3s cubic-bezier(.2, .7, .2, 1);
}
.hp-lb-figure {
  margin: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #0c171c;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  max-height: min(80vh, 680px);
}
.hp-lb-figure img {
  display: block;
  width: 100%;
  max-height: min(68vh, 560px);
  object-fit: contain;
  background: #0c171c;
}
.hp-lb-figure figcaption {
  padding: .85rem 1.1rem;
  color: #fff;
  font-weight: 650;
  font-size: .95rem;
  background: linear-gradient(180deg, #0f1c24, #0c171c);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hp-lb-nav, .hp-lb-close {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hp-lb-nav:hover, .hp-lb-close:hover { background: rgba(255, 255, 255, .22); transform: scale(1.05); }
.hp-lb-close {
  position: absolute; top: -52px; inset-inline-end: 0;
}
.hp-lb-count {
  position: absolute; left: 50%; bottom: -2.2rem;
  transform: translateX(-50%);
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.8);
  letter-spacing: .04em;
}
.hp-lb-figure img {
  transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.hp-lb.is-switching .hp-lb-figure img {
  opacity: 0;
  transform: scale(.97);
}
.hp-lb--cert .hp-lb-figure {
  background: #f7fafb;
}
.hp-lb--cert .hp-lb-figure img {
  object-fit: contain;
  background: #f7fafb;
  max-height: min(72vh, 620px);
}
.hp-lb--cert .hp-lb-figure figcaption {
  color: var(--hp-ink, #0f1c24);
  background: #fff;
  border-top: 1px solid rgba(15, 50, 65,.08);
}
@keyframes hpLbIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes hpLbPop {
  from { opacity: 0; transform: translateY(12px) scale(.94); }
  to { opacity: 1; transform: none; }
}
@keyframes hpLbOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (max-width: 767.98px) {
  .hp-lb-dialog { grid-template-columns: 1fr; gap: .75rem; }
  .hp-lb-nav { width: 42px; height: 42px; }
  .hp-lb-prev { position: absolute; left: .35rem; top: 42%; z-index: 2; }
  .hp-lb-next { position: absolute; right: .35rem; top: 42%; z-index: 2; }
  .hp-lb-close { top: .5rem; inset-inline-end: .5rem; z-index: 3; background: rgba(0,0,0,.45); }
}

/* =====================================================================
   MOMENTS + CERTIFICATES v2 — full-bleed strips, drag to scroll
   ===================================================================== */
.hp-hstrip { touch-action: pan-y; cursor: grab; }
.hp-hstrip.is-dragging { cursor: grabbing; }
.hp-hstrip.is-dragging .hp-hcard { pointer-events: none; transform: none; }
.hp-hstrip::before, .hp-hstrip::after { display: none; }          /* no dim + pause glyph on hover */
.hp-hstrip { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hp-hstrip-group { gap: 1.25rem; padding-inline: .625rem; align-items: flex-start; }
.hp-hint { display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; font-weight: 600; letter-spacing: .01em; }
.hp-strip-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .9rem 1.4rem; margin-top: clamp(1.25rem, 3vw, 2rem); text-align: center; }

/* ---------- Moments: dark cinematic section with photo-first cards ---------- */
.hp-moments {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.25rem, 6vw, 5rem);
  background:
    radial-gradient(55% 70% at 12% 0%, rgba(0, 160, 184, .38), transparent 62%),
    radial-gradient(45% 60% at 92% 100%, rgba(207, 167, 89, .28), transparent 62%),
    linear-gradient(180deg, #0c1a20 0%, #091325 100%);
}
.hp-moments::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent 85%); mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent 85%);
}
.hp-moments .hp-moments-top { margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.hp-moments .hp-head { margin-bottom: 0; }
.hp-moments .hp-kicker { color: #00A0B8; }
.hp-moments .hp-kicker::before { background: linear-gradient(90deg, #00A0B8, #CFA759); }
.hp-moments .hp-head h2 { color: #fff; }
.hp-moments .hp-head h2 span, .hp-moments .hp-head .hp-gradient-text { background: linear-gradient(135deg, #00A0B8, #CFA759); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-moments .hp-head p { color: rgba(224, 236, 241, .78); }
.hp-moments .hp-hstrip { margin: 0; padding: .9rem 0 2.6rem; }
.hp-moments .hp-hcard {
  width: min(74vw, 310px); border: 0; border-radius: 1.5rem; background: #12233d; color: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 255, 255, .08);
  position: relative;
}
.hp-moments .hp-hcard::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; z-index: 4; border-radius: 1.5rem 1.5rem 0 0;
  background: linear-gradient(90deg, #00A0B8, #CFA759); opacity: .9; pointer-events: none;
}
.hp-moments .hp-hcard:nth-child(even) { margin-top: 2rem; }        /* gentle stagger */
.hp-moments .hp-hcard-frame { aspect-ratio: 8 / 9; background: #12233d; }
.hp-moments .hp-hcard-frame::before {                              /* 01, 02 … counter */
  counter-increment: hc; content: counter(hc, decimal-leading-zero);
  position: absolute; z-index: 2; top: .85rem; inset-inline-start: .85rem; padding: .22rem .65rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: #fff;
  background: linear-gradient(135deg, rgba(0, 160, 184, .75), rgba(207, 167, 89, .65)); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hp-moments .hp-hstrip-group { counter-reset: hc; }
.hp-moments .hp-hcard-zoom { top: .85rem; bottom: auto; background: rgba(8, 18, 34, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hp-moments .hp-hcard-meta {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 3; pointer-events: none;
  padding: 3.4rem 1.1rem 1.05rem;
  background: linear-gradient(180deg, rgba(6, 13, 26, 0) 0%, rgba(6, 13, 26, .78) 55%, rgba(6, 13, 26, .94) 100%);
}
.hp-moments .hp-hcard-meta strong { margin: 0 0 .12rem; font-size: 1.02rem; color: #fff; }
.hp-moments .hp-hcard-meta span { color: rgba(224, 236, 241, .78); }
.hp-moments .hp-hcard:hover { transform: translateY(-8px); box-shadow: 0 30px 64px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 160, 184, .55), 0 0 28px rgba(207, 167, 89, .2); }
.hp-moments .hp-hcard:nth-child(even):hover { transform: translateY(-8px); }
.hp-moments .hp-hcard:hover .hp-hcard-frame img { transform: scale(1.07); }
.hp-moments .hp-hint { color: rgba(224, 236, 241, .7); }
.hp-moments .hp-hstrip-nav { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hp-moments .hp-hstrip-nav:hover { color: #fff; background: linear-gradient(135deg, #00A0B8, #008294); border-color: #00A0B8; }
.hp-moments .hp-hstrip-nav:focus-visible { outline-color: rgba(207, 167, 89, .6); }

/* ---------- Certificates: light section, framed documents with a gold ribbon ---------- */
.hp-certs {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 55% at 88% 0%, rgba(0, 160, 184, .11), transparent 62%),
    radial-gradient(50% 50% at 0% 100%, rgba(207, 167, 89, .06), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #eff6fc 100%);
}
.hp-certs::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(44, 111, 136, .13) 1px, transparent 1.2px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hp-certs.hp-section { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.25rem, 6vw, 5rem) !important; }
.hp-certs .hp-certs-top { margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.hp-certs .hp-head { margin-bottom: 0; }
.hp-certs .hp-hstrip { margin: 0; padding: .9rem 0 1.6rem; }
.hp-certs .hp-hstrip-group { align-items: stretch; }
.hp-certs .hp-hcard {
  width: min(80vw, 340px); padding: .65rem .65rem 0; border: 1px solid #d9e6f3; border-radius: 1.25rem; background: #fff;
  box-shadow: 0 1px 0 #fff inset, 0 16px 38px rgba(15, 50, 65, .10), 0 2px 6px rgba(15, 50, 65, .05);
}
.hp-certs .hp-hcard-frame { aspect-ratio: 450 / 328; border-radius: .8rem; border: 1px solid #e3edf7; background: #f6f9fd; }
.hp-certs .hp-hcard-frame::after {                                  /* light sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transition: transform .8s ease;
}
.hp-certs .hp-hcard:hover .hp-hcard-frame::after { transform: translateX(120%); }
.hp-certs .hp-hcard-zoom { background: rgba(12, 32, 42, .6); }
.hp-hcard-badge {
  position: absolute; z-index: 4; top: 0; inset-inline-end: 1.15rem; width: 34px; height: 46px; display: grid; place-items: start center; padding-top: .55rem;
  font-size: .95rem; color: #fff; background: linear-gradient(180deg, #f8cf5b, #d8981a);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); filter: drop-shadow(0 3px 5px rgba(120, 80, 0, .35));
}
.hp-certs .hp-hcard-meta { padding: .9rem .5rem 1rem; }
.hp-certs .hp-hcard-meta strong { font-size: .98rem; margin-bottom: .22rem; }
.hp-certs .hp-hcard:hover { transform: translateY(-6px); border-color: rgba(0, 160, 184, .35); box-shadow: 0 26px 54px rgba(15, 50, 65, .18); }
.hp-certs .hp-hint { color: var(--hp-muted); }

/* Lightbox: swipe on touch, cleaner caption */
.hp-lb-figure { touch-action: pan-y; }
.hp-lb-figure img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
@media (max-width: 575.98px) {
  .hp-moments .hp-hcard { width: min(72vw, 260px); }
  .hp-moments .hp-hcard:nth-child(even) { margin-top: 1.35rem; }
  .hp-certs .hp-hcard { width: min(78vw, 290px); }
  .hp-hstrip { mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .hp-hstrip { cursor: auto; }
  .hp-moments .hp-hcard:hover, .hp-certs .hp-hcard:hover { transform: none; }
  .hp-certs .hp-hcard-frame::after { display: none; }
}

/* =====================================================================
   ABOUT PAGE (.ab-*) — builds on the .home-page tokens and .hp-* components
   ===================================================================== */
.ab-hero {
  --a: #3DB8CC; --m: #00A0B8; --b: #CFA759;
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0e1c22;
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(6.5rem, 10vw, 8.75rem);
}
.ab-hero-bg {
  position: absolute; inset: 0; z-index: -1; background-color: #0e1c22;
  background-image:
    linear-gradient(180deg, rgba(7, 15, 28, 0) 55%, rgba(7, 15, 28, .55) 100%),
    linear-gradient(100deg, rgba(5, 12, 26, .92) 0%, rgba(7, 16, 32, .74) 42%, rgba(9, 20, 38, .38) 75%, rgba(10, 22, 40, .28) 100%),
    radial-gradient(55% 80% at 85% 30%, rgba(0, 160, 184, .25), transparent 70%),
    url("/website/images/hero/hero-family-d.webp");
  background-size: cover, cover, cover, cover; background-position: center, center, center, 62% 45%; background-repeat: no-repeat;
  animation: hpKen 9s cubic-bezier(.25, .6, .3, 1) forwards;
}
.ab-crumb {
  display: inline-flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  margin: 0 0 1.5rem; padding: .4rem .85rem .4rem .7rem;
  list-style: none; font-size: .82rem; font-weight: 600;
  color: rgba(224, 236, 241, .78);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ab-crumb li + li::before {
  content: ""; display: inline-block;
  width: 4px; height: 4px; margin-inline: .35rem .55rem;
  border-radius: 50%; background: rgba(255,255,255,.45);
  vertical-align: middle;
}
.ab-crumb a {
  color: #fff; text-decoration: none;
  transition: color .2s;
}
.ab-crumb a:hover { color: #CFA759; }
.ab-title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.15rem, 4.8vw, 3.65rem);
  line-height: 1.07; font-weight: 800;
  letter-spacing: -.03em; color: #fff;
  text-shadow: 0 2px 28px rgba(3, 10, 22, .4), 0 0 60px rgba(0, 160, 184, .15);
}
.ab-hero .hp-lead {
  max-width: 36rem;
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  color: rgba(228, 238, 248, .88);
}
.ab-hero .hp-actions { margin-bottom: 0; gap: .9rem; }
.ab-hero .hp-btn--primary {
  box-shadow: 0 12px 28px rgba(0, 160, 184, .4), inset 0 1px 0 rgba(255,255,255,.2);
}
.ab-hero .hp-btn--primary:hover {
  box-shadow: 0 16px 36px rgba(0, 160, 184, .5), inset 0 1px 0 rgba(255,255,255,.25);
}
.ab-hero .hp-btn--glass {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.ab-hero .hp-btn--glass:hover {
  background: #fff; color: #0d1f26;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.ab-rise {
  opacity: 0; transform: translateY(24px);
  animation: abRise .75s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 100ms + 80ms);
}
@keyframes abRise { to { opacity: 1; transform: none; } }

/* Soft decorative glow behind hero content */
.ab-hero .container.position-relative::before {
  content: "";
  position: absolute;
  width: min(420px, 55vw); height: min(420px, 55vw);
  inset-inline-start: -8%; top: 10%;
  background: radial-gradient(circle, rgba(0, 160, 184, .22) 0%, transparent 68%);
  filter: blur(40px);
  pointer-events: none; z-index: 0;
}
.ab-hero .container.position-relative > * { position: relative; z-index: 1; }

/* Stats card overlapping the hero */
.ab-stats-wrap { position: relative; z-index: 6; margin-top: -4.1rem; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid #fff; border-radius: 1.6rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .22); overflow: hidden; }
.ab-stat { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem 1.35rem; text-align: center; }
.ab-stat + .ab-stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; bottom: 22%; width: 1px; background: var(--hp-line); }
.ab-stat > i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: .5rem; font-size: 1.15rem; color: var(--hp-blue); background: var(--hp-tint); border-radius: 12px; }
.ab-stat strong { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-stat small { margin-top: .2rem; font-size: .84rem; font-weight: 600; color: var(--hp-muted); }

/* Who we are */
.ab-who { padding-top: clamp(3.5rem, 7vw, 6rem); }
.ab-h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 1rem; }
.ab-lead { margin: 0 0 1rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; font-weight: 600; color: var(--hp-ink); }
.ab-copy { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.8; color: var(--hp-muted); }
.ab-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 1.5rem; padding: 0; list-style: none; }
.ab-chips a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; font-size: .86rem; font-weight: 600; color: var(--hp-blue-dark); text-decoration: none; background: var(--hp-tint); border: 1px solid var(--hp-line); border-radius: 999px; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.ab-chips a:hover { color: #fff; background: var(--hp-blue); border-color: var(--hp-blue); transform: translateY(-2px); }
.ab-invite { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: linear-gradient(135deg, #f2f8fa, #fff); border: 1px solid var(--hp-line); border-inline-start: 4px solid var(--hp-blue); border-radius: 1rem; box-shadow: var(--hp-shadow); }
.ab-invite-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); border-radius: 12px; }
.ab-invite p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--hp-ink); }
.ab-invite a { font-weight: 700; color: var(--hp-blue-dark); text-decoration: none; white-space: nowrap; }
.ab-invite a:hover { text-decoration: underline; }

/* Photo collage */
.ab-collage { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 1.05; margin-inline: auto; }
.ab-collage-ring { position: absolute; inset: 6% 4% 2% 8%; border-radius: 2rem; border: 2px dashed rgba(0, 160, 184, .25); transform: rotate(-3deg); }
.ab-ph { position: absolute; margin: 0; overflow: hidden; background: #e6eef1; border: 6px solid #fff; border-radius: 1.5rem; box-shadow: 0 24px 54px rgba(15, 50, 65, .2); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ab-ph img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ab-ph:hover { transform: translateY(-6px) rotate(-.6deg); }
.ab-ph--1 { top: 0; inset-inline-start: 0; width: 68%; height: 60%; z-index: 2; }
.ab-ph--1 img { object-position: center 35%; }
.ab-ph--2 { top: 14%; inset-inline-end: 0; width: 42%; height: 38%; z-index: 3; }
.ab-ph--3 { bottom: 0; inset-inline-end: 4%; width: 62%; height: 46%; z-index: 4; }
.ab-ph--3 img { object-position: center 30%; }
.ab-float { position: absolute; z-index: 5; bottom: 9%; inset-inline-start: -2%; display: flex; align-items: center; gap: .7rem; padding: .7rem 1.1rem .7rem .7rem; background: rgba(255, 255, 255, .96); border: 1px solid var(--hp-line); border-radius: 1rem; box-shadow: 0 18px 40px rgba(15, 50, 65, .2); animation: abBob 5s ease-in-out infinite; }
.ab-float-ico { display: grid; place-items: center; width: 42px; height: 42px; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); border-radius: 12px; }
.ab-float strong { display: block; font-size: .95rem; line-height: 1.25; }
.ab-float small { display: block; font-size: .78rem; color: var(--hp-muted); }
@keyframes abBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* Values */
.ab-values .hp-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ab-card { position: relative; height: 100%; padding: 1.9rem 1.6rem 1.7rem; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); box-shadow: var(--hp-shadow); overflow: hidden; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.ab-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, #00A0B8, #CFA759); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.ab-card:hover { transform: translateY(-6px); border-color: rgba(0, 160, 184, .3); box-shadow: var(--hp-shadow-lg); }
.ab-card:hover::before { transform: scaleX(1); }
.ab-card-num { position: absolute; top: 1rem; inset-inline-end: 1.3rem; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: rgba(0, 160, 184, .08); }
.ab-card-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; font-size: 1.5rem; color: var(--hp-blue); background: var(--hp-tint); border-radius: 16px; transition: .3s; }
.ab-card:hover .ab-card-ico { color: #fff; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); transform: rotate(-6deg) scale(1.05); }
.ab-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 750; }
.ab-card p { margin: 0; font-size: .96rem; line-height: 1.7; color: var(--hp-muted); }

/* Doctor (dark) */
.ab-doctor {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(55% 70% at 8% 0%, rgba(0, 160, 184, .30), transparent 62%),
    radial-gradient(45% 60% at 95% 100%, rgba(255, 90, 115, .16), transparent 62%),
    linear-gradient(180deg, #0c1a20 0%, #091325 100%);
}
.ab-doctor::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .45; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(70% 80% at 60% 40%, #000, transparent 85%); mask-image: radial-gradient(70% 80% at 60% 40%, #000, transparent 85%); }
.ab-doctor .hp-kicker { color: #00A0B8; }
.ab-doctor .hp-kicker::before { background: #00A0B8; }
.ab-doctor .ab-h2 { color: #fff; }
.ab-doc-photo { position: relative; width: min(100%, 380px); margin-inline: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.75rem; background: linear-gradient(165deg, #f4f9ff, #dbe9f7); box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .14); }
.ab-doc-photo::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; z-index: 2; background: linear-gradient(90deg, #00A0B8, #CFA759); }
.ab-doc-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 12%; }
.ab-doc-tag { position: absolute; inset-inline: .85rem; bottom: .85rem; padding: .8rem 1rem; color: #fff; background: rgba(10, 20, 38, .72); border: 1px solid rgba(255, 255, 255, .16); border-radius: 1rem; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ab-doc-tag strong { display: block; font-size: 1rem; line-height: 1.25; }
.ab-doc-tag span { display: block; margin-top: .1rem; font-size: .8rem; color: rgba(224, 236, 241, .8); }
.ab-quote { position: relative; margin: 0 0 1.75rem; padding: .25rem 0 .25rem 1.25rem; font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 500; line-height: 1.65; color: rgba(236, 244, 252, .92); border-inline-start: 3px solid #00A0B8; }
.ab-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.ab-timeline::before { content: ""; position: absolute; top: .6rem; bottom: .6rem; inset-inline-start: 5.1rem; width: 2px; background: linear-gradient(180deg, rgba(76, 195, 255, .7), rgba(255, 90, 115, .5)); }
.ab-timeline li { position: relative; display: flex; align-items: flex-start; gap: 1.6rem; padding: .7rem 0; }
.ab-timeline li::after { content: ""; position: absolute; inset-inline-start: calc(5.1rem - 5px); top: 1.15rem; width: 12px; height: 12px; border-radius: 50%; background: #0c1a20; border: 3px solid #00A0B8; box-shadow: 0 0 0 4px rgba(76, 195, 255, .15); }
.ab-year { flex: none; width: 3.9rem; padding-top: .1rem; font-size: .86rem; font-weight: 800; letter-spacing: .02em; color: #00A0B8; font-variant-numeric: tabular-nums; }
.ab-timeline li > div { margin-inline-start: 1.1rem; }
.ab-timeline strong { display: block; font-size: 1.02rem; line-height: 1.35; color: #fff; }
.ab-timeline small { display: block; margin-top: .15rem; font-size: .86rem; color: rgba(224, 236, 241, .7); }

/* Why choose us */
.ab-why .hp-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ab-why-item { height: 100%; padding: 1.6rem 1.4rem; text-align: center; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); transition: transform .3s, box-shadow .3s, border-color .3s; }
.ab-why-item:hover { transform: translateY(-5px); box-shadow: var(--hp-shadow-lg); border-color: rgba(0, 160, 184, .28); }
.ab-why-item > span { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 1rem; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, #00A0B8, var(--hp-blue-dark)); border-radius: 50%; box-shadow: 0 10px 22px rgba(0, 160, 184, .3); }
.ab-why-item h3 { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 750; }
.ab-why-item p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--hp-muted); }

/* Hero glass cards (desktop) — premium glassmorphism */
.ab-hero-cards {
  display: flex; flex-direction: column; gap: .95rem; align-items: flex-end;
  position: relative;
}
.ab-hero-cards::before {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  inset-inline-end: -20px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(0, 160, 184, .35) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none; z-index: 0;
}
.ab-glass {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: .9rem;
  min-width: 17.5rem;
  padding: .95rem 1.3rem .95rem .95rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, rgba(12, 22, 40, .45) 100%);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 1.2rem;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .3s, background .3s;
}
.ab-glass:hover {
  transform: translateX(-6px) scale(1.02);
  border-color: rgba(255,255,255,.35);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, .35),
    0 0 0 1px rgba(0, 160, 184, .2),
    inset 0 1px 0 rgba(255,255,255,.25);
  background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, rgba(12, 22, 40, .5) 100%);
}
.ab-glass:nth-child(2) { margin-inline-end: 2.75rem; }
.ab-glass:nth-child(3) { margin-inline-end: 1.25rem; }
.ab-glass > span {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; font-size: 1.1rem;
  background: linear-gradient(145deg, #3DB8CC 0%, #00A0B8 45%, #CFA759 100%);
  border-radius: 14px;
  box-shadow:
    0 8px 18px rgba(0, 160, 184, .35),
    inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .3s ease;
}
.ab-glass:hover > span { transform: scale(1.08) rotate(-3deg); }
.ab-glass strong {
  display: block; font-size: 1rem; line-height: 1.25; font-weight: 700;
  letter-spacing: -.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
.ab-glass small {
  display: block; margin-top: .15rem;
  font-size: .8rem; color: rgba(224, 236, 241, .82);
  font-weight: 500;
}

/* Inside the clinic mosaic */
.ab-inside .hp-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ab-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.ab-tile { position: relative; display: block; aspect-ratio: 1 / 1.12; overflow: hidden; border-radius: 1.35rem; background: #dfe9f5; box-shadow: var(--hp-shadow); text-decoration: none; color: #fff; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.ab-tile img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ab-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6, 13, 26, .86) 100%); pointer-events: none; }
.ab-tile-cap { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; padding: 1rem 1.1rem; }
.ab-tile-cap strong { display: block; font-size: 1rem; line-height: 1.25; }
.ab-tile-cap small { display: block; margin-top: .1rem; font-size: .8rem; color: rgba(224, 236, 241, .8); }
.ab-tile:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow-lg); color: #fff; }
.ab-tile:hover img { transform: scale(1.07); }
.ab-tile:focus-visible { outline: 3px solid rgba(0, 160, 184, .5); outline-offset: 3px; }

/* Responsive */
@media (max-width: 991.98px) {
  .ab-hero { text-align: center; }
  .ab-hero .hp-lead { margin-inline: auto; }
  .ab-hero .hp-actions, .ab-crumb { justify-content: center; }
  .ab-collage { width: min(100%, 480px); }
  .ab-doc-photo { width: min(100%, 320px); }
}
@media (max-width: 767.98px) {
  .ab-hero-bg {
    background-image:
      linear-gradient(180deg, rgba(6, 14, 28, .6) 0%, rgba(6, 14, 28, .82) 45%, rgba(6, 14, 28, .95) 100%),
      radial-gradient(80% 50% at 50% 22%, rgba(0, 160, 184, .22), transparent 75%),
      url("/website/images/hero/hero-family-m.webp");
    background-size: cover, cover, cover; background-position: center, center, 50% 45%;
  }
  .ab-stats-wrap { margin-top: -3.2rem; }
  .ab-stats { grid-template-columns: repeat(2, 1fr); border-radius: 1.4rem; }
  .ab-stat { padding: 1.15rem .75rem 1.05rem; }
  .ab-stat + .ab-stat::before { display: none; }
  .ab-stat:nth-child(n + 3) { border-top: 1px solid var(--hp-line); }
  .ab-stat:nth-child(even) { border-inline-start: 1px solid var(--hp-line); }
  .ab-float { inset-inline-start: 0; bottom: 4%; transform: scale(.9); transform-origin: left bottom; }
  .ab-invite { flex-direction: column; gap: .7rem; }
  .ab-timeline::before { inset-inline-start: 5px; }
  .ab-timeline li { flex-direction: column; gap: .15rem; padding: .65rem 0 .65rem 2rem; }
  .ab-timeline li::after { inset-inline-start: 0; top: 1.1rem; }
  .ab-year { width: auto; padding-top: 0; }
  .ab-timeline li > div { margin-inline-start: 0; }
  .ab-quote { text-align: start; }
}
@media (max-width: 575.98px) {
  .ab-hero .hp-actions .hp-btn { flex: 1 1 auto; padding: .8rem 1rem; font-size: .95rem; }
  .ab-chips a { font-size: .82rem; padding: .4rem .8rem; }
  .ab-card { padding: 1.6rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-hero-bg, .ab-float { animation: none; }
  .ab-rise { opacity: 1; transform: none; animation: none; }
  .ab-ph, .ab-card, .ab-card-ico, .ab-why-item, .ab-chips a { transition: none; }
  .ab-ph:hover, .ab-card:hover, .ab-why-item:hover { transform: none; }
}

@media (max-width: 991.98px) {
  .ab-mosaic { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
}
@media (max-width: 767.98px) {
  .ab-title { font-size: clamp(1.9rem, 8.2vw, 2.4rem); }
  .ab-hero { padding-bottom: 5.5rem; }
  .ab-stat > i { width: 38px; height: 38px; font-size: 1.05rem; }
  .ab-collage { margin-top: .5rem; }
  .ab-lead { font-size: 1.08rem; }
  .ab-copy { font-size: 1rem; line-height: 1.75; }
  .ab-chips { gap: .5rem; }
  .ab-chips a { padding: .55rem .9rem; min-height: 40px; }
  .ab-invite { padding: 1rem; }
  .ab-values .hp-head p, .ab-inside .hp-head p { font-size: 1rem; }
  .ab-doctor .hp-actions, .ab-who .hp-actions { justify-content: center; }
  .ab-doc-tag { inset-inline: .6rem; bottom: .6rem; padding: .65rem .85rem; }
  .ab-tile { border-radius: 1.1rem; }
  .ab-tile-cap { padding: .75rem .8rem; }
  .ab-tile-cap strong { font-size: .9rem; } .ab-tile-cap small { font-size: .74rem; }
  .ab-why-item { padding: 1.35rem 1.1rem; }
}
@media (max-width: 575.98px) {
  .ab-who .hp-actions .hp-btn, .ab-doctor .hp-actions .hp-btn { flex: 1 1 100%; }
  .ab-stats { border-radius: 1.2rem; }
  .ab-stat small { font-size: .78rem; }
  .ab-float { padding: .55rem .9rem .55rem .55rem; }
  .ab-float-ico { width: 36px; height: 36px; }
  .ab-float strong { font-size: .86rem; } .ab-float small { font-size: .72rem; }
  .ab-ph { border-width: 4px; border-radius: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .ab-tile, .ab-tile img { transition: none; } .ab-tile:hover { transform: none; } }

/* ---------- Hero refinements ---------- */
/* Let the browser keep vertical scrolling but hand horizontal swipes to the slider (otherwise touch swipes get cancelled) */
.hp-slides { touch-action: pan-y; }
.hp-stage, .hp-chip { -webkit-user-select: none; user-select: none; }
.hp-arch img { -webkit-user-drag: none; user-drag: none; }
@media (min-width: 992px) {
  .hp-hero { min-height: min(88vh, 900px); min-height: min(88dvh, 900px); }
}
@media (min-width: 1400px) {
  .hp-hero { min-height: min(90vh, 960px); min-height: min(90dvh, 960px); }
  .hp-stage { width: min(100%, 600px); }
}
@media (max-width: 1199.98px) {
  .hp-bg { background-image: radial-gradient(60% 75% at 80% 42%, var(--tint, transparent), transparent 72%), var(--img-t, var(--img-d)); }
  .hp-bg { background-position: center, var(--pos-d, 60% 30%); }
}

/* =====================================================================
   RESPONSIVE — Hero slider (desktop → tablet → mobile)
   ===================================================================== */

/* Large desktop polish */
@media (min-width: 1400px) {
  .hp-stage { width: min(100%, 600px); }
  .home-page .hp-title { font-size: clamp(2.8rem, 4.2vw, 4.5rem); }
}

/* Tablet landscape / small desktop */
@media (max-width: 1199.98px) {
  .hp-layer--1 { inset-inline-start: -6%; }
  .hp-layer--2 { inset-inline-end: -6%; }
  .hp-hero { min-height: min(82vh, 800px); min-height: min(82dvh, 800px); }
  .home-page .hp-title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
}

/* Tablet portrait & below — stack content, center text */
@media (max-width: 991.98px) {
  .hp-hero {
    text-align: center;
    min-height: auto;
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    padding-bottom: 5.5rem;
    display: block;
  }
  .hp-lead { margin-inline: auto; max-width: 36rem; }
  .hp-actions, .hp-proof { justify-content: center; }
  .hp-stage { width: min(78vw, 420px); margin-bottom: 1.35rem; }
  .hp-layer--1 { inset-inline-start: -14%; }
  .hp-layer--2 { inset-inline-end: -14%; }
  .hp-tabs { max-width: none; }
  .hp-tab-label .t-long { display: none; }
  .hp-tab-label .t-short { display: inline; }
  .hp-slider-ui { margin-top: 1.5rem; gap: .85rem; justify-content: center; flex-wrap: wrap; }
  .hp-actions .hp-btn { min-height: 48px; }
  .hp-nav-btn { min-width: 44px; min-height: 44px; }
  .hp-tab { min-height: 44px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

  /* Non-hero page pieces that share this breakpoint */
  .hp-booking-copy { display: none; }
  .hp-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-why-visual, .hp-doc-visual { min-height: 320px; }
  .hp-rail > .hp-review { flex-basis: calc((100% - 1.2 * 1.5rem) / 2.2); }
  .hp-cta-actions { justify-content: flex-start; }
}

/* Phones */
@media (max-width: 767.98px) {
  .hp-hero {
    padding-top: max(.75rem, env(safe-area-inset-top, 0px));
    padding-bottom: 5.25rem;
  }
  .hp-stage { width: min(70vw, 300px); margin-bottom: 1.1rem; }
  .hp-eyebrow { margin-bottom: .65rem; font-size: .78rem; }
  .hp-title,
  .home-page .hp-title {
    font-size: clamp(1.7rem, 7vw, 2.3rem) !important;
    line-height: 1.12;
    margin-bottom: .7rem;
    text-shadow: 0 2px 18px rgba(3, 10, 22, .55);
  }
  .hp-lead {
    font-size: .92rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
    max-width: 22rem;
  }
  .hp-actions {
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: .85rem;
  }
  .hp-actions .hp-btn {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    font-size: .92rem;
    justify-content: center;
  }
  .hp-proof { gap: .45rem; flex-wrap: wrap; justify-content: center; }
  .hp-proof li { font-size: .78rem; padding: .35rem .7rem; }
  .hp-ringline { inset: -9px; }
  .hp-layer--2, .hp-layer--3 { display: none; }
  .hp-layer--1 { top: auto; bottom: 6%; inset-inline-start: -10%; inset-inline-end: auto; }
  .hp-chip { padding: .45rem .75rem .45rem .45rem; max-width: 11.5rem; }
  .hp-chip-ico { width: 30px; height: 30px; font-size: .8rem; }
  .hp-chip strong { font-size: .78rem; }
  .hp-chip small { font-size: .65rem; }
  .hp-orb { opacity: .22; }

  /* Mobile background + overlay for legibility */
  .hp-bg {
    inset: -1%;
    background-image: radial-gradient(90% 55% at 50% 18%, var(--tint, transparent), transparent 70%), var(--img-m, var(--img-d));
    background-position: center, var(--pos-m, 50% 38%);
  }
  .hp-hero-bg::after,
  .home-page .hp-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(6, 14, 28, .18) 0%, rgba(6, 14, 28, .32) 28%, rgba(6, 14, 28, .55) 58%, rgba(6, 14, 28, .72) 100%);
  }

  .hp-slider-ui { gap: .5rem; margin-top: 1.25rem; }
  .hp-tabs { gap: .4rem; }
  .hp-tab { flex: 1 1 0; min-width: 0; padding: .4rem .3rem; }
  .hp-tab-num { font-size: .68rem; }
  .hp-tab-label { font-size: .7rem; }
  .hp-tab-bar { height: 3px; }
  .hp-ctrls { gap: .4rem; }
  .hp-nav-btn { width: 42px; height: 42px; min-width: 42px; min-height: 42px; }

  /* Booking bar & mobile action bar */
  .hp-booking { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem; }
  .hp-booking-field, .hp-booking-actions { width: 100%; }
  .hp-booking-actions { flex-wrap: wrap; }
  .hp-booking-actions .hp-btn { flex: 1 1 auto; justify-content: center; }
  .hp-mbar {
    position: fixed; z-index: 1030; inset-inline: 0; bottom: 0; display: flex; gap: .6rem;
    padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(9, 22, 27, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  .hp-mbar.is-on { transform: none; }
  .hp-mbar a {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none;
  }
  .hp-mbar-call { flex: none; width: 48px; color: #fff; background: #008294; }
  .hp-mbar-wa { flex: none; width: 48px; color: #fff; background: #25d366; }
  .hp-mbar-book { flex: 1; color: #1b1608; background: linear-gradient(135deg, #E0C88C, #B8923F); font-size: .92rem; }

  .hp-trust-grid { grid-template-columns: 1fr; gap: .25rem; }
  .hp-cta-actions .hp-btn { flex: 1 1 100%; }
  .hp-why-visual { min-height: 280px; }
  .hp-doc-visual { min-height: 360px; padding-bottom: 1.15rem; }
  .hp-doc-photo { width: min(100%, 210px); margin-top: 1.25rem; }
  .hp-why-ring { width: 150px; height: 150px; font-size: 4rem; }
  .hp-rail-ui { gap: 1rem; }
  .hp-map-label { flex-direction: column; align-items: stretch; text-align: start; }
  .hp-visit-actions .hp-btn { flex: 1 1 100%; }
}

/* Small phones */
@media (max-width: 575.98px) {
  .hp-stage { width: min(72vw, 280px); }
  .hp-title,
  .home-page .hp-title { font-size: clamp(1.55rem, 7.5vw, 2.05rem) !important; }
  .hp-lead { font-size: .88rem; max-width: 100%; }
  .hp-actions .hp-btn { flex: 1 1 100%; }
  .hp-proof li { font-size: .74rem; }
  .hp-layer--1 { inset-inline-start: -6%; bottom: 4%; }
  .hp-chip { max-width: 10.5rem; }
}

/* Large phones in portrait */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hp-stage { width: min(70vw, 340px); }
  .hp-title,
  .home-page .hp-title { font-size: clamp(1.85rem, 5.5vw, 2.45rem) !important; }
}

/* Short viewports (landscape phones / short tablets) */
@media (max-height: 640px) and (max-width: 991.98px) {
  .hp-hero { min-height: auto; padding-top: .5rem; padding-bottom: 4rem; }
  .hp-stage { width: min(58vw, 260px); margin-bottom: .85rem; }
  .hp-title,
  .home-page .hp-title { font-size: clamp(1.4rem, 5vw, 1.9rem) !important; margin-bottom: .4rem; }
  .hp-lead {
    font-size: .85rem; margin-bottom: .65rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .hp-proof { display: none; }
  .hp-eyebrow { margin-bottom: .35rem; }
  .hp-layer--1 { display: none; }
}

/* Extremely short mobile portrait — prioritise copy + CTA */
@media (max-width: 767.98px) and (max-height: 620px) {
  .hp-stage { display: none; }
  .hp-hero { padding-bottom: 4.5rem; }
}

/* Landscape phones */
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 500px) {
  .hp-hero { min-height: auto; padding-block: .5rem 3.5rem; }
  .hp-stage { width: min(52vw, 240px); }
  .hp-slides .row { align-items: center; }
  .hp-lead { -webkit-line-clamp: 2; }
  .hp-actions { margin-bottom: .35rem; }
  .hp-slider-ui { margin-top: .7rem; }
}

/* Desktop short height */
@media (min-width: 992px) and (max-height: 780px) {
  .hp-stage { width: min(100%, 540px); }
  .hp-title,
  .home-page .hp-title { font-size: clamp(2rem, 3.6vw, 3rem); }
  .hp-hero { min-height: min(92vh, 760px); min-height: min(92dvh, 760px); }
}

/* Prevent chip overflow on small screens */
@media (max-width: 991.98px) {
  .hp-stage { overflow: visible; }
  .hp-layer { max-width: calc(100vw - 2rem); }
}

.hp-slide.is-active { overflow: visible; }
.hp-slides { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .hp-slide, .hp-stage, .hp-anim, .hp-chip, .hp-rail, .hp-mbar, .hp-bg { transition: none; scroll-behavior: auto; }
  .hp-chip, .hp-orb, .hp-why-ring, .hp-arch img, .hp-twinkle, .hp-spin, .hp-bob, .hp-dot-pulse circle, .hp-map-pin::before, .hp-map-pin::after, .hp-bg { animation: none !important; }
  .hp-anim, .hp-stage { opacity: 1; transform: none; }
  .hp-split.is-split .w > span { transform: none; transition: none; }
  html.hp-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hp-btn, .hp-service, .hp-step, .hp-point, .hp-review { transition: none; }
}


/* =====================================================================
   HOME PAGE REFINEMENT — aligned with the Ekraam Dental Solutions logo
   (classic serif display type, teal + gold, softer depth, brand details)
   ===================================================================== */
.home-page { --hp-gold: #CFA759; --hp-gold-deep: #8B7030; --hp-gold-soft: #F7F0E0; --hp-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif; }

/* Display typography echoes the logo's classical serif lettering */
.home-page .hp-title,
.home-page .hp-head h2,
.home-page .hp-h2,
.home-page .hp-cta h2,
.home-page .hp-visit-card h3,
.home-page .hp-brand-line { font-family: var(--hp-serif); letter-spacing: -.005em; }
.home-page .hp-title { font-size: clamp(2.5rem, 5.2vw, 4.3rem); font-weight: 700; line-height: 1.04; }
.home-page .hp-head h2, .home-page .hp-h2 { font-size: clamp(2.1rem, 4vw, 3.15rem); font-weight: 700; line-height: 1.08; }
.home-page .hp-cta h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 700; line-height: 1.1; }
.home-page .hp-visit-card h3 { font-size: 1.9rem; font-weight: 700; }
.home-page .hp-lead { font-size: clamp(1rem, 1.3vw, 1.12rem); }

/* Section headings: gold kicker + short brand rule */
.home-page .hp-kicker { color: var(--hp-gold-deep); letter-spacing: .16em; }
.home-page .hp-kicker::before { background: var(--hp-gold); }
.home-page .hp-head h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 1rem auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--hp-blue), var(--hp-gold)); }
.home-page .hp-section--tint { background: linear-gradient(180deg, #EEF8FA 0%, #f8f6ee 100%); }

/* Hero: refined badge, gold-lit accents */
.home-page .hp-eyebrow { color: #f3ead2; border-color: rgba(207, 167, 89, .45); background: rgba(207, 167, 89, .1); letter-spacing: .04em; }
.home-page .hp-eyebrow i { color: var(--hp-gold); }
.home-page .hp-proof li { border-color: rgba(207, 167, 89, .25); }
.home-page .hp-btn { border-radius: 999px; font-weight: 650; letter-spacing: .01em; }
.home-page .hp-btn--primary { background: linear-gradient(135deg, #1AB0C7, #008294); }
.home-page .hp-hero .hp-btn--primary { background: linear-gradient(135deg, #E0C88C, #B8923F); color: #1b1608; box-shadow: 0 12px 28px rgba(207, 167, 89, .38); }
.home-page .hp-hero .hp-btn--primary:hover { color: #1b1608; box-shadow: 0 16px 34px rgba(207, 167, 89, .52); }

/* Quick booking bar: brand accent line, deeper teal-tinted shadow */
.home-page .hp-booking { position: relative; overflow: hidden; border-radius: 1.75rem; box-shadow: 0 34px 80px rgba(15, 50, 65, .26); }
.home-page .hp-booking::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--hp-blue), var(--hp-gold), var(--hp-blue)); }
.home-page .hp-booking-copy strong { font-family: var(--hp-serif); font-size: 1.45rem; font-weight: 700; }

/* Trust row becomes a single elevated card with dividers */
.home-page .hp-trust { padding-top: clamp(2rem, 4vw, 3rem); }
.home-page .hp-trust-grid { gap: 0; padding: 1.1rem .6rem; background: #fff; border: 1px solid var(--hp-line); border-radius: 1.5rem; box-shadow: var(--hp-shadow); }
.home-page .hp-trust-item { padding: .65rem 1.1rem; }
.home-page .hp-trust-item > i { color: var(--hp-blue-dark); background: linear-gradient(145deg, #D9F1F5, #F7F0E0); }
@media (min-width: 992px) { .home-page .hp-trust-item + .hp-trust-item { border-inline-start: 1px solid var(--hp-line); } }

/* Brand statement — puts the logo on the page */
.hp-brand { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.hp-brand-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.hp-brand-logo { display: block; width: min(420px, 78vw); height: auto; }
.hp-brand-rule { display: flex; align-items: center; gap: .9rem; width: min(420px, 78vw); color: var(--hp-gold); }
.hp-brand-rule::before, .hp-brand-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--hp-gold)); }
.hp-brand-rule::after { transform: scaleX(-1); }
.hp-brand-rule i { font-size: .7rem; }
.hp-brand-line { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; font-style: italic; color: #006F80; }

/* Service cards: calmer surface, gold numerals, brand hover */
.home-page .hp-service { border-radius: 1.5rem; box-shadow: 0 1px 0 rgba(15, 50, 65, .04), var(--hp-shadow); }
.home-page .hp-service-num { font-family: var(--hp-serif); font-size: 3rem; font-weight: 700; color: #efe4c6; }
.home-page .hp-service::before { background: linear-gradient(90deg, var(--hp-blue), var(--hp-gold)); }
.home-page .hp-service h3 { font-family: var(--hp-serif); font-size: 1.6rem; font-weight: 700; }
.home-page .hp-service:hover { box-shadow: 0 26px 56px rgba(15, 50, 65, .16); }

/* Home service cards with photos */
.hp-service--photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hp-service--photo .hp-service-media {
  position: relative;
  flex: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #0e2a35, #17465a);
}
.hp-service--photo .hp-service-media {
  position: relative;
}

/* Homepage featured services */
.hp-featured-services {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 12% 8%, rgba(207, 167, 89, .13), transparent 42%),
              linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
}
.hp-featured-services .hp-head h2 { color: #123846; }
.hp-service--featured {
  border-color: rgba(207, 167, 89, .48);
  box-shadow: 0 12px 32px rgba(15, 50, 65, .11), 0 0 0 1px rgba(207, 167, 89, .08);
}
.hp-service--featured::before {
  height: 5px;
  background: linear-gradient(90deg, #008294, #CFA759, #E5C98A);
  transform: scaleX(1);
}
.hp-service--featured .hp-service-media { aspect-ratio: 16 / 9; }
.hp-service--featured .hp-service-body { padding-top: 1.55rem; }
.hp-service--featured .hp-service-icon {
  color: #5c4517;
  background: linear-gradient(145deg, #f5e8c7, #e4c77f);
}
.hp-featured-badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  inset-inline-start: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .48rem .82rem;
  color: #fff;
  background: rgba(12, 42, 52, .88);
  border: 1px solid rgba(229, 201, 138, .72);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .035em;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hp-featured-badge i { color: #e5c98a; }
@media (prefers-reduced-motion: reduce) {
  .hp-service--featured { transition: none; }
}
.hp-service--photo .hp-service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9, 22, 27, .22) 100%);
  pointer-events: none;
}
.hp-service--photo .hp-service-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}
.hp-service--photo:hover .hp-service-media img,
.hp-service--photo:focus-visible .hp-service-media img {
  transform: scale(1.12);
  filter: saturate(1.12) contrast(1.05);
}
.hp-service--photo .hp-service-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.35rem 1.4rem 1.35rem;
}
.hp-service--photo .hp-service-num {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.15rem;
  z-index: 1;
}
.hp-service--photo .hp-service-icon { margin-bottom: .85rem; }
.hp-service--photo h3 { margin-bottom: .45rem; }
.hp-service--photo p { flex: 1 1 auto; }
.hp-service--photo .hp-link { margin-top: auto; }
@media (max-width: 575.98px) {
  .hp-service--photo .hp-service-body { padding: 1.15rem 1.15rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-service--photo .hp-service-media img { transition: none; }
  .hp-service--photo:hover .hp-service-media img { transform: none; }
}

.home-page .hp-link { color: var(--hp-blue-dark); font-weight: 650; }

/* Process steps, founder card, FAQ: consistent radius and gold accents */
.home-page .hp-step { border-radius: 1.5rem; }
.home-page .hp-step h3 { font-family: var(--hp-serif); font-size: 1.55rem; font-weight: 700; }
.home-page .hp-step-num { font-family: var(--hp-serif); background: linear-gradient(135deg, var(--hp-blue), var(--hp-gold)); }
.home-page .hp-founder-card { box-shadow: 0 30px 70px rgba(15, 50, 65, .14); }
.home-page .hp-founder-years strong { font-family: var(--hp-serif); }

/* Stats band: gold numerals on deep teal */
.home-page .hp-stat .hp-count { font-family: var(--hp-serif); font-weight: 700; color: #ecd9a4; }
.home-page .hp-stat > i { color: var(--hp-gold); border-color: rgba(207, 167, 89, .3); }

/* Closing CTA: logo tooth mark as a soft watermark */
.home-page .hp-cta { border-radius: 2.25rem; }
.home-page .hp-cta::after { content: ""; position: absolute; inset-block: 8% 8%; inset-inline-end: 3%; width: clamp(140px, 22vw, 300px); background: url("../images/branding/favicon.png") center / contain no-repeat; opacity: .09; pointer-events: none; }
.home-page .hp-cta > * { position: relative; z-index: 1; }

@media (max-width: 575.98px) {
  .home-page .hp-trust-grid { padding: .5rem; }
}


/* =====================================================================
   HERO SLIDER — modernised, brand-aligned (teal / gold / deep ink)
   ===================================================================== */
.home-page .hp-hero { background: #09161b; }
.home-page .hp-hero-bg { background: #09161b; }
/* Brand-tinted legibility overlay (replaces the old navy) */
.home-page .hp-hero-bg::after {
  background:
    linear-gradient(180deg, rgba(6, 16, 20, .15) 0%, rgba(6, 16, 20, 0) 24%, rgba(6, 16, 20, 0) 55%, rgba(6, 16, 20, .48) 100%),
    linear-gradient(100deg, rgba(6, 18, 23, .52) 0%, rgba(8, 24, 30, .38) 38%, rgba(10, 30, 38, .16) 68%, rgba(10, 30, 38, .08) 100%);
}
/* Slide tints follow the logo palette instead of cyan / pink / green */
.home-page .hp-bg--1 { --tint: rgba(0, 160, 184, .12); }
.home-page .hp-bg--2 { --tint: rgba(207, 167, 89, .12); }
.home-page .hp-bg--3 { --tint: rgba(0, 160, 184, .12); }
.home-page .hp-orb--1 { background: #00A0B8; }
.home-page .hp-orb--2 { background: #CFA759; opacity: .12; }
/* Logo tooth mark as a faint watermark */
.home-page .hp-hero-bg::before { content: ""; position: absolute; z-index: 1; inset-block: 6% 14%; inset-inline-end: -4%; width: clamp(260px, 38vw, 560px); background: url("../images/branding/favicon.png") center / contain no-repeat; opacity: .05; pointer-events: none; }

/* Copy */
.home-page .hp-slide { position: relative; }
.home-page .hp-lead { max-width: 33rem; color: rgba(236, 244, 247, .86); line-height: 1.7; }
.home-page .hp-title { text-wrap: balance; }
.home-page .hp-gradient-text { font-style: italic; padding-inline-end: .06em; }
.home-page .hp-proof li { color: #e3eef2; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.home-page .hp-proof i { color: var(--hp-gold); }
.home-page .hp-btn--glass { border-color: rgba(255, 255, 255, .34); }

/* Oversized outlined slide numeral behind the stage (desktop) */
@media (min-width: 992px) {
  .home-page .hp-slide::before { position: absolute; z-index: -1; inset-inline-end: -1rem; top: -2.2rem; font-family: var(--hp-serif); font-size: clamp(9rem, 15vw, 15rem); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(207, 167, 89, .26); pointer-events: none; }
  .home-page .hp-slide:nth-child(1)::before { content: "01"; }
  .home-page .hp-slide:nth-child(2)::before { content: "02"; }
  .home-page .hp-slide:nth-child(3)::before { content: "03"; }
  .home-page .hp-slide:nth-child(4)::before { content: "04"; }
}

/* Stage: softer large radius, brand frame, glass chips */
.home-page .hp-arch { border-radius: 2rem; box-shadow: 0 34px 70px rgba(0, 0, 0, .46), 0 0 0 1px rgba(255, 255, 255, .12); }
.home-page .hp-arch::before { height: 3px; background: linear-gradient(90deg, #00A0B8, #CFA759); }
.home-page .hp-ringline { inset: -14px; border-radius: 2.4rem; border: 1px solid rgba(207, 167, 89, .38); }
.home-page .hp-ringline::after { content: ""; position: absolute; width: 9px; height: 9px; top: 12%; inset-inline-end: -5px; border-radius: 50%; background: var(--hp-gold); box-shadow: 0 0 0 5px rgba(207, 167, 89, .18); }
.home-page .hp-halo { opacity: .55; filter: blur(26px); }
.home-page .hp-chip { background: rgba(9, 24, 30, .6); border-color: rgba(255, 255, 255, .2); border-radius: 1rem; -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 16px 36px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .12); }
.home-page .hp-chip-ico { border-radius: .8rem; color: #14201b; background: linear-gradient(135deg, #E5C98A, #CFA759); }

/* Slider controls: glass dock with brand progress */
.home-page .hp-slider-ui { gap: 1.25rem; padding: .35rem .5rem .35rem 1.15rem; width: fit-content; max-width: 100%; background: rgba(9, 24, 30, .5); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.home-page .hp-tabs { gap: 1.1rem; min-width: min(560px, 52vw); padding-bottom: .55rem; }
.home-page .hp-tab { padding-top: .5rem; }
.home-page .hp-tab-num { font-family: var(--hp-serif); font-size: .95rem; letter-spacing: .04em; color: var(--hp-gold); opacity: .8; }
.home-page .hp-tab-label { font-size: .84rem; letter-spacing: .01em; }
.home-page .hp-tab-bar { height: 2px; background: rgba(255, 255, 255, .2); }
.home-page .hp-tab-bar i { background: linear-gradient(90deg, #00A0B8, #CFA759); }
.home-page .hp-tab.is-active .hp-tab-label { color: #fff; }
.home-page .hp-ctrls { gap: .4rem; }
.home-page .hp-hero .hp-nav-btn { width: 42px; height: 42px; font-size: .95rem; }
.home-page .hp-hero .hp-nav-btn:hover { color: #1b1608; background: #CFA759; border-color: #CFA759; }

@media (max-width: 991.98px) {
  .home-page .hp-slider-ui { width: 100%; justify-content: space-between; border-radius: 1.4rem; padding: .35rem .6rem .35rem 1rem; }
  .home-page .hp-tabs { min-width: 0; }
  .home-page .hp-lead { margin-inline: auto; }
  .home-page .hp-hero-bg::before { opacity: .035; }
}
@media (max-width: 575.98px) {
  .home-page .hp-ringline { inset: -10px; }
  .home-page .hp-slider-ui { padding: .3rem .5rem .3rem .75rem; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { .home-page .hp-slide::before { transition: none; } }


/* =====================================================================
   SERVICES PAGE — photo cards, clean spacing (.sv-*)
   ===================================================================== */
.sv-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  color: #fff;
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(0, 160, 184, .35), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(207, 167, 89, .2), transparent 60%),
    linear-gradient(135deg, #09161b 0%, #12303b 60%, #00A0B8 100%);
}
.sv-hero::after {
  content: ""; position: absolute; z-index: -1;
  inset-block: 8% 8%; inset-inline-end: 4%;
  width: clamp(180px, 28vw, 380px);
  background: url("../images/branding/favicon.png") center / contain no-repeat;
  opacity: .08; pointer-events: none;
}
.sv-crumb { margin: 0 0 1.5rem; font-size: .85rem; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45); }
.sv-crumb a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.sv-crumb a:hover { color: #fff; }
.sv-crumb .active { color: #CFA759; }
.sv-kicker {
  display: inline-block; margin-bottom: .9rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #CFA759;
}
.sv-title {
  max-width: 14ch; margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -.01em;
  text-wrap: balance;
}
.sv-title em {
  font-style: italic;
  background: linear-gradient(90deg, #00A0B8, #CFA759);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-inline-end: .05em;
}
.sv-lead {
  max-width: 30rem; margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; color: rgba(236, 244, 247, .85);
}
.sv-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.sv-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem; font-weight: 650; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.sv-btn:hover { transform: translateY(-2px); }
.sv-btn--gold {
  color: #1b1608; background: linear-gradient(135deg, #E0C88C, #CFA759);
  box-shadow: 0 12px 28px rgba(207, 167, 89, .35);
}
.sv-btn--gold:hover { color: #1b1608; box-shadow: 0 16px 34px rgba(207, 167, 89, .5); }
.sv-btn--glass {
  color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sv-btn--glass:hover { color: #0d1f26; background: #fff; border-color: #fff; }

/* Section — clear gap under hero (no negative pull-up) */
.sv-section {
  position: relative;
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #EEF8FA 0%, #fff 55%);
}

.sv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Card */
.sv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 0;
  color: #1e293b;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e1ebef;
  border-radius: 1.5rem;
  box-shadow: 0 10px 28px rgba(15, 50, 65, .08);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
  animation: svRise .7s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i, 1) * 55ms);
}
@keyframes svRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.sv-card:hover {
  color: #1e293b;
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 26px 52px rgba(15, 50, 65, .16);
}

/* Photo */
.sv-card-media {
  position: relative;
  flex: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #0e2a35, #17465a);
}
.sv-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 22, 27, .28) 100%);
  pointer-events: none;
  opacity: .85;
  transition: opacity .35s;
}
.sv-card:hover .sv-card-media::after { opacity: .55; }
.sv-card-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}
.sv-card:hover .sv-card-media img,
.sv-card:focus-visible .sv-card-media img {
  transform: scale(1.12);
  filter: saturate(1.12) contrast(1.05);
}

/* Body */
.sv-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.35rem 1.4rem 1.35rem;
  min-height: 0;
}
.sv-ico {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: .85rem;
  font-size: 1.25rem;
  color: #008294;
  background: linear-gradient(145deg, #D9F1F5, #F7F0E0);
  border-radius: 14px;
  transition: transform .35s, background .35s, color .35s;
}
.sv-card:hover .sv-ico {
  color: #fff;
  background: linear-gradient(135deg, #1AB0C7, #008294);
  transform: rotate(-6deg) scale(1.05);
}
.sv-card-title {
  margin: 0 0 .45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 1.6vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
}
.sv-card-body p {
  margin: 0 0 1.1rem;
  color: #5b6b7f;
  font-size: .94rem;
  line-height: 1.6;
  flex: 1 1 auto;
}
.sv-more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: auto;
  font-size: .88rem; font-weight: 650; color: #008294;
}
.sv-more i { transition: transform .3s; }
.sv-card:hover .sv-more i { transform: translateX(4px); }

/* Signature cards */
.sv-card--star {
  border-color: transparent;
  background: radial-gradient(90% 70% at 100% 0%, rgba(207, 167, 89, .28), transparent 60%),
              linear-gradient(150deg, #0e2a35, #17465a);
}
.sv-card--star:hover { color: inherit; }
.sv-card--star .sv-card-body { color: #fff; }
.sv-card--star .sv-card-body p { color: rgba(236, 244, 247, .82); }
.sv-card--star .sv-ico {
  color: #1b1608;
  background: linear-gradient(135deg, #E5C98A, #CFA759);
}
.sv-card--star:hover .sv-ico {
  color: #1b1608;
  background: linear-gradient(135deg, #f0dda9, #d2b46c);
}
.sv-card--star .sv-more { color: #CFA759; }
.sv-card--star .sv-card-title { color: #fff; }

.sv-tag {
  position: absolute; z-index: 3;
  top: .75rem; inset-inline-end: .75rem;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .7rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #CFA759;
  background: rgba(9, 22, 27, .75);
  border: 1px solid rgba(207, 167, 89, .45);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* CTA */
.sv-cta-wrap {
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
  background: #fff;
}
.sv-cta {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem 2rem; flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 3rem);
  color: #fff; border-radius: 2rem;
  background: linear-gradient(135deg, #09161b 0%, #12303b 55%, #008294 100%);
  box-shadow: 0 24px 60px rgba(15, 50, 65, .22);
}
.sv-cta::after {
  content: ""; position: absolute;
  inset-block: 10%; inset-inline-end: 2%;
  width: clamp(120px, 18vw, 240px);
  background: url("../images/branding/favicon.png") center / contain no-repeat;
  opacity: .08; pointer-events: none;
}
.sv-cta > * { position: relative; z-index: 1; }
.sv-cta h2 {
  margin: 0 0 .35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700;
}
.sv-cta p { margin: 0; color: rgba(236, 244, 247, .8); }

/* Responsive */
@media (max-width: 1199.98px) {
  .sv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
}
@media (max-width: 991.98px) {
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
  .sv-card-title { font-size: 1.45rem; }
}
@media (max-width: 575.98px) {
  .sv-section { padding-top: 1.5rem; padding-bottom: 2.5rem; }
  .sv-grid { grid-template-columns: 1fr; gap: 1rem; }
  .sv-card { border-radius: 1.25rem; }
  .sv-card-media { aspect-ratio: 16 / 10; }
  .sv-card-body { padding: 1.15rem 1.15rem 1.2rem; }
  .sv-ico { width: 44px; height: 44px; font-size: 1.15rem; }
  .sv-actions .sv-btn { flex: 1 1 100%; justify-content: center; }
  .sv-cta { border-radius: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-card { animation: none; }
  .sv-card, .sv-ico, .sv-more i, .sv-btn, .sv-card-media img { transition: none; }
  .sv-card:hover { transform: none; }
  .sv-card:hover .sv-card-media img { transform: none; }
}





/* Service detail hero image hover zoom */
.sv-detail-media {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.sv-detail-media img {
  width: 100%;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.sv-detail-media:hover img {
  transform: scale(1.08);
}

/* Icon next to service name */
.sv-card-title {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.sv-ico--inline {
  flex: none;
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  font-size: 1.15rem;
  border-radius: 12px;
}
.sv-detail-title {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.sv-detail-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  font-size: 1.45rem;
  color: #1b1608;
  background: linear-gradient(135deg, #E5C98A, #CFA759);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(207, 167, 89, .35);
}
@media (max-width: 575.98px) {
  .sv-detail-icon { width: 46px; height: 46px; font-size: 1.2rem; border-radius: 12px; }
  .sv-ico--inline { width: 38px; height: 38px; font-size: 1.05rem; }
}

/* =====================================================================
   GALLERY PAGE (.gl-*) - reuses the .sv-hero banner
   ===================================================================== */
.gl-hero { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.gl-section {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(48% 40% at 0 0, rgba(0, 160, 184, .12), transparent 70%),
    radial-gradient(42% 36% at 100% 30%, rgba(207, 167, 89, .14), transparent 70%),
    linear-gradient(180deg, #EAF7FA 0%, #fff 55%);
}

/* ----- Intro ----- */
.gl-intro { max-width: 46rem; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); text-align: center; }
.gl-kicker {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .9rem; padding: .4rem 1.05rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #3a2a06;
  background: linear-gradient(135deg, #F2DFAE, #CFA759); border-radius: 999px; box-shadow: 0 8px 20px rgba(150, 105, 20, .2);
}
.gl-title { margin: 0 0 .8rem; font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 800; line-height: 1.15; color: #0f172a; }
.gl-title span { background: linear-gradient(135deg, #00A0B8, #007585); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gl-title::after { content: ""; display: block; width: 72px; height: 4px; margin: 1rem auto 0; border-radius: 4px; background: linear-gradient(90deg, #00A0B8, #CFA759); }
.gl-lead { margin: 0 auto; max-width: 38rem; font-size: 1.05rem; line-height: 1.75; color: #5b6b7f; }
.gl-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.gl-stat {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .55rem; font-size: .88rem; font-weight: 600; color: #17343a;
  background: #fff; border: 1px solid #dcecf0; border-radius: 999px; box-shadow: 0 6px 18px rgba(15, 50, 65, .07);
}
.gl-stat i { display: grid; place-items: center; width: 30px; height: 30px; font-size: .9rem; color: #fff; background: linear-gradient(135deg, #00A0B8, #007585); border-radius: 50%; }
.gl-stat--gold i { color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759); }
.gl-stat strong { font-weight: 800; }

/* ----- Filters ----- */
.gl-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; width: fit-content; max-width: 100%; margin: 0 auto clamp(1.5rem, 3vw, 2.25rem); padding: .4rem; background: #fff; border: 1px solid #dcecf0; border-radius: 999px; box-shadow: 0 10px 28px rgba(15, 50, 65, .09); }
.gl-filter { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.3rem; font-size: .92rem; font-weight: 650; color: #46606b; background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: color .25s, background .25s, box-shadow .25s; }
.gl-filter em { font-style: normal; padding: .05rem .5rem; font-size: .74rem; font-weight: 700; color: #00829a; background: #E6F6F9; border-radius: 999px; }
.gl-filter:hover { color: #008294; }
.gl-filter.is-active { color: #fff; background: linear-gradient(135deg, #1AB0C7, #007585); box-shadow: 0 8px 18px rgba(0, 160, 184, .35); }
.gl-filter.is-active em { color: #3a2a06; background: #F2DFAE; }
.gl-filter:focus-visible { outline: 3px solid rgba(0, 160, 184, .45); outline-offset: 2px; }

/* ----- Grid ----- */
.gl-grid { --gl-gap: 1.35rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gl-gap); counter-reset: gl; }
.gl-item { flex: 0 0 calc((100% - 2 * var(--gl-gap)) / 3); margin: 0; counter-increment: gl; }
.gl-item.is-hidden { display: none; }

.gl-tile {
  position: relative; display: block; width: 100%; padding: .5rem; text-align: start; cursor: zoom-in;
  background: #fff; border: 0; border-radius: 1.6rem;
  box-shadow: 0 1px 2px rgba(15, 50, 65, .06), 0 16px 36px rgba(15, 50, 65, .11), 0 0 0 1px rgba(0, 160, 184, .1);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease;
}
.gl-media { position: relative; display: block; overflow: hidden; border-radius: 1.2rem; aspect-ratio: 8 / 7; background: #d8ecf1; }
.gl-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.gl-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 70, 84, 0) 42%, rgba(0, 62, 76, .88) 100%); }
.gl-num {
  position: absolute; z-index: 2; top: 1.15rem; inset-inline-start: 1.15rem; padding: .22rem .65rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; color: #3a2a06;
  background: linear-gradient(135deg, #F2DFAE, #CFA759); border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; box-shadow: 0 6px 14px rgba(0, 70, 84, .3);
}
.gl-num::before { content: counter(gl, decimal-leading-zero); }
.gl-zoom {
  position: absolute; z-index: 2; top: 1.05rem; inset-inline-end: 1.05rem; display: grid; place-items: center; width: 38px; height: 38px; font-size: .9rem; color: #fff;
  background: rgba(0, 110, 128, .6); border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s, background .3s;
}
.gl-cap { position: absolute; z-index: 2; inset-inline: .5rem; bottom: .5rem; display: grid; gap: .1rem; padding: 2rem 1.15rem 1.05rem; pointer-events: none; }
.gl-cap strong { font-size: 1.05rem; font-weight: 800; line-height: 1.25; color: #fff; text-shadow: 0 2px 10px rgba(0, 50, 62, .45); }
.gl-cap small { font-size: .8rem; font-weight: 600; color: #F2DFAE; }
.gl-cap::before { content: ""; width: 34px; height: 3px; margin-bottom: .45rem; border-radius: 3px; background: linear-gradient(90deg, #CFA759, #F2DFAE); transition: width .35s ease; }

.gl-tile:hover, .gl-tile:focus-visible { transform: translateY(-8px); box-shadow: 0 2px 4px rgba(15, 50, 65, .06), 0 30px 60px rgba(0, 90, 106, .26), 0 0 0 2px #CFA759; }
.gl-tile:hover .gl-media img, .gl-tile:focus-visible .gl-media img { transform: scale(1.08); }
.gl-tile:hover .gl-zoom, .gl-tile:focus-visible .gl-zoom { opacity: 1; transform: none; }
.gl-tile:hover .gl-zoom { background: #CFA759; color: #3a2a06; }
.gl-tile:hover .gl-cap::before, .gl-tile:focus-visible .gl-cap::before { width: 64px; }
.gl-tile:focus-visible { outline: 3px solid #00A0B8; outline-offset: 3px; }
@media (hover: none) { .gl-zoom { opacity: 1; transform: none; } }

/* ----- Call to action band ----- */
.gl-cta {
  position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem); color: #fff; border-radius: 2rem;
  background: radial-gradient(60% 120% at 100% 0, rgba(255, 255, 255, .2), transparent 60%), radial-gradient(40% 90% at 0 100%, rgba(207, 167, 89, .45), transparent 65%), #00A0B8;
  box-shadow: 0 30px 70px rgba(0, 110, 128, .32);
}
.gl-cta::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, #CFA759, #F2DFAE, #CFA759); }
.gl-cta-copy { position: relative; max-width: 34rem; }
.gl-cta-copy p { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.15; color: #fff; }
.gl-cta-copy small { display: block; margin-top: .45rem; font-size: .98rem; color: rgba(255, 255, 255, .92); }
.gl-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: .7rem; }
.gl-cta-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.5rem; font-size: .95rem; font-weight: 700; text-decoration: none; border-radius: 999px; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.gl-cta-btn--gold { color: #1a1204; background: linear-gradient(135deg, #F2DFAE, #CFA759 60%, #b98f3f); box-shadow: 0 12px 26px rgba(120, 80, 0, .3); }
.gl-cta-btn--gold:hover { color: #1a1204; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(120, 80, 0, .4); }
.gl-cta-btn--ghost { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .45); }
.gl-cta-btn--ghost:hover { color: #0a4a56; background: #fff; transform: translateY(-2px); }

/* ----- Lightbox ----- */
.gl-lightbox {
  position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.5rem;
  background: radial-gradient(60% 50% at 50% 0, rgba(0, 160, 184, .35), transparent 70%), rgba(4, 22, 28, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: glFade .25s ease;
}
.gl-lightbox[hidden] { display: none; }
@keyframes glFade { from { opacity: 0; } to { opacity: 1; } }
.gl-lb-fig { margin: 0; text-align: center; min-width: 0; }
.gl-lb-fig img { display: block; max-width: min(100%, 820px); max-height: 72vh; width: auto; height: auto; margin: 0 auto; padding: .45rem; background: #fff; border-radius: 1.3rem; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 2px rgba(207, 167, 89, .85); }
.gl-lb-fig figcaption { display: grid; gap: .2rem; margin-top: 1.1rem; }
.gl-lb-fig figcaption strong { font-size: 1.15rem; font-weight: 800; color: #fff; }
.gl-lb-fig figcaption span { font-size: .92rem; color: #F2DFAE; }
.gl-lb-count { display: inline-block; justify-self: center; margin-top: .5rem; padding: .2rem .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759); border-radius: 999px; }
.gl-lb-btn { display: grid; place-items: center; width: 48px; height: 48px; font-size: 1.05rem; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.gl-lb-btn:hover { color: #1b1608; background: #CFA759; border-color: #CFA759; transform: scale(1.08); }
.gl-lb-btn:focus-visible { outline: 3px solid #CFA759; outline-offset: 2px; }
.gl-lb-close { position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; }

/* ----- Responsive ----- */
@media (max-width: 991.98px) { .gl-item { flex-basis: calc((100% - var(--gl-gap)) / 2); } }
@media (max-width: 575.98px) {
  .gl-grid { --gl-gap: .9rem; }
  .gl-item { flex-basis: 100%; }
  .gl-tile { border-radius: 1.3rem; }
  .gl-cta { border-radius: 1.5rem; text-align: center; justify-content: center; }
  .gl-cta-actions { justify-content: center; width: 100%; }
  .gl-cta-btn { flex: 1 1 100%; justify-content: center; }
  .gl-filters { border-radius: 1.4rem; }
  .gl-lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 1rem; }
  .gl-lb-fig { grid-row: 1; }
  .gl-lb-prev, .gl-lb-next { position: absolute; bottom: 1.25rem; }
  .gl-lb-prev { inset-inline-start: 1.25rem; } .gl-lb-next { inset-inline-end: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .gl-tile, .gl-media img, .gl-zoom, .gl-cap::before, .gl-lightbox { transition: none; animation: none; } }


/* =====================================================================
   DOCTORS (.dx-*) — list page, doctor cards and doctor profile page
   Reuses .sv-hero / .ab-hero banner, .sv-btn buttons and .sv-cta band
   ===================================================================== */
.dx-section { padding: 0 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, #EEF8FA 0%, #fff 100%); }

/* ---------- Buttons ---------- */
.dx-btn-primary { color: #fff; background: linear-gradient(135deg, #1AB0C7, #008294); box-shadow: 0 12px 26px rgba(0, 160, 184, .35); }
.dx-btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(0, 160, 184, .5); }
.dx-btn-ghost { color: #008294; background: #fff; border-color: #cfe0e6; }
.dx-btn-ghost:hover { color: #fff; background: #008294; border-color: #008294; }

/* ---------- Photo frame (shared by lead + profile) ---------- */
.dx-photo-wrap { position: relative; padding: 14px; }
.dx-ring { position: absolute; inset: 0; border: 1px solid rgba(207, 167, 89, .55); border-radius: 2.2rem; }
.dx-ring::after { content: ""; position: absolute; top: 14%; inset-inline-end: -5px; width: 9px; height: 9px; border-radius: 50%; background: #CFA759; box-shadow: 0 0 0 5px rgba(207, 167, 89, .18); }
.dx-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.7rem; background: linear-gradient(165deg, #17404f, #0d222b); box-shadow: 0 20px 44px rgba(15, 50, 65, .3); }
.dx-photo::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, #00A0B8, #CFA759); }
.dx-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 14%; }
.dx-photo-badge { position: absolute; inset-inline: 1rem; bottom: 1rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(9, 22, 27, .55); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dx-photo-badge i { color: #CFA759; }

/* Initials placeholder (doctor without a photo) */
.dx-initials { display: grid; place-items: center; width: 100%; height: 100%; font-family: "Cormorant Garamond", Georgia, serif; font-size: 3rem; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .92); background: radial-gradient(circle at 80% 15%, rgba(207, 167, 89, .35), transparent 50%), linear-gradient(160deg, #00A0B8 0%, #12303b 100%); }
.dx-initials--xl { font-size: clamp(4rem, 9vw, 6rem); }

/* ---------- Lead doctor card ---------- */
.dx-lead { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(240px, 380px) 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: -3.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); background: #fff; border: 1px solid #e1ebef; border-radius: 2rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .16); }
.dx-tag { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .9rem; padding: .35rem .85rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8B7030; background: #F7F0E0; border: 1px solid rgba(207, 167, 89, .45); border-radius: 999px; }
.dx-name { margin: 0 0 .25rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.05; color: #0f2a34; }
.dx-sub { margin: 0 0 1.1rem; font-size: 1.02rem; font-weight: 600; color: #008294; }
.dx-lead-text { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.75; color: #5b6b7f; }
.dx-lead-quote { margin: 0 0 1.25rem; padding: .25rem 0 .25rem 1.1rem; font-style: italic; line-height: 1.7; color: #3b4b5c; border-inline-start: 3px solid #CFA759; }
.dx-creds { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.dx-creds li { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem .5rem .5rem; background: #EEF8FA; border: 1px solid #e1ebef; border-radius: 999px; }
.dx-creds i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; font-size: .95rem; color: #1b1608; background: linear-gradient(135deg, #E5C98A, #CFA759); border-radius: 50%; }
.dx-creds span { display: flex; flex-direction: column; font-size: .78rem; line-height: 1.25; color: #5b6b7f; }
.dx-creds strong { font-size: .9rem; color: #12303b; }
.dx-langs { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.5rem; font-size: .92rem; color: #5b6b7f; }
.dx-langs i { color: #00A0B8; }

/* ---------- Section heading ---------- */
.dx-head { text-align: center; margin: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.dx-kicker { display: inline-block; margin-bottom: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8B7030; }
.dx-head h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #0f2a34; }
.dx-head h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 1rem auto 0; border-radius: 3px; background: linear-gradient(90deg, #00A0B8, #CFA759); }
.dx-head p { max-width: 36rem; margin: 1rem auto 0; color: #5b6b7f; }

/* ---------- Doctor cards ---------- */
.dx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 340px)); justify-content: center; gap: 1.5rem; }
.dx-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #e1ebef; border-radius: 1.6rem; box-shadow: 0 10px 30px rgba(15, 50, 65, .08); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.dx-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 28px 56px rgba(15, 50, 65, .18); }
.dx-card::before { content: ""; position: absolute; z-index: 3; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, #00A0B8, #CFA759); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.dx-card:hover::before { transform: scaleX(1); }
.dx-card-photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: linear-gradient(165deg, #17404f, #0d222b); }
.dx-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9, 22, 27, .45) 100%); pointer-events: none; }
.dx-card-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 15%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.dx-card:hover .dx-card-photo img { transform: scale(1.06); }
.dx-card-go { position: absolute; z-index: 2; top: .9rem; inset-inline-end: .9rem; display: grid; place-items: center; width: 38px; height: 38px; color: #1b1608; background: linear-gradient(135deg, #E5C98A, #CFA759); border-radius: 50%; opacity: 0; transform: translateY(-6px) scale(.9); transition: opacity .3s, transform .3s; }
.dx-card:hover .dx-card-go { opacity: 1; transform: none; }
.dx-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.35rem 1.5rem 1.5rem; }
.dx-card-spec { display: inline-block; margin-bottom: .6rem; padding: .28rem .75rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8B7030; background: #F7F0E0; border: 1px solid rgba(207, 167, 89, .4); border-radius: 999px; }
.dx-card-name { margin: 0 0 .15rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.dx-card-name a { color: #0f2a34; text-decoration: none; }
.dx-card-title { margin-bottom: .5rem; font-size: .85rem; font-weight: 600; color: #008294; }
.dx-card-bio { margin: .35rem 0 1rem; font-size: .94rem; line-height: 1.6; color: #5b6b7f; }
.dx-card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; font-size: .9rem; font-weight: 700; color: #008294; }
.dx-card-link i { transition: transform .25s; }
.dx-card:hover .dx-card-link i { transform: translateX(5px); }

/* Staggered reveal for neighbours in a row */
.dx-grid .dx-card:nth-child(3n+2) { --d: .08s; }
.dx-grid .dx-card:nth-child(3n+3) { --d: .16s; }

/* ---------- Empty state ---------- */
.dx-empty { margin-top: -3.5rem; position: relative; z-index: 2; padding: 3rem 1.5rem; text-align: center; background: #fff; border: 1px solid #e1ebef; border-radius: 2rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .12); }
.dx-empty > i { font-size: 2.6rem; color: #CFA759; }
.dx-empty h2 { margin: .75rem 0 .4rem; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; color: #0f2a34; }
.dx-empty p { margin-bottom: 1.5rem; color: #5b6b7f; }

/* ---------- Profile page ---------- */
.dx-profile-hero .ab-title { margin-bottom: .6rem; }
.dx-profile { padding: 0 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, #EEF8FA 0%, #fff 420px); }
.dx-profile-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); align-items: start; gap: clamp(1.25rem, 3vw, 2.25rem); margin-top: -3.5rem; }
.dx-side { position: sticky; top: 96px; }
.dx-side-card { padding: 1.25rem; background: #fff; border: 1px solid #e1ebef; border-radius: 2rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .16); }
.dx-photo-wrap--side { padding: 12px; }
.dx-facts { display: grid; gap: .5rem; margin: 1.1rem 0; padding: 0; list-style: none; }
.dx-facts li { display: flex; align-items: center; gap: .8rem; padding: .65rem .8rem; background: #EEF8FA; border: 1px solid #e1ebef; border-radius: 1rem; }
.dx-facts i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; color: #008294; background: #fff; border-radius: .7rem; box-shadow: 0 2px 8px rgba(15, 50, 65, .06); }
.dx-facts small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8B7030; }
.dx-facts strong { display: block; font-size: .92rem; line-height: 1.3; color: #12303b; }
.dx-side-actions { display: grid; gap: .6rem; }
.dx-side-actions .sv-btn { justify-content: center; }

.dx-main { display: grid; gap: 1.5rem; min-width: 0; }
.dx-panel { padding: clamp(1.4rem, 3vw, 2.25rem); background: #fff; border: 1px solid #e1ebef; border-radius: 1.75rem; box-shadow: 0 14px 40px rgba(15, 50, 65, .08); }
.dx-panel-title { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; color: #0f2a34; }
.dx-panel-title span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; font-size: 1.05rem; color: #1b1608; background: linear-gradient(135deg, #E5C98A, #CFA759); border-radius: 50%; }
.dx-text { margin: 0 0 1rem; font-size: 1.04rem; line-height: 1.8; color: #4a5a6c; }
.dx-text--soft { font-size: .95rem; color: #7a8896; }
.dx-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.dx-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; font-size: .86rem; font-weight: 600; color: #006c7c; background: #E6F6F9; border: 1px solid rgba(0, 160, 184, .25); border-radius: 999px; }

.dx-quote { position: relative; margin: 0; padding: clamp(1.6rem, 3.5vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem); overflow: hidden; color: #fff; background: radial-gradient(60% 90% at 90% 0%, rgba(0, 160, 184, .35), transparent 60%), linear-gradient(135deg, #09161b 0%, #12303b 70%, #008294 100%); border-radius: 1.75rem; box-shadow: 0 24px 60px rgba(15, 50, 65, .22); }
.dx-quote > i { position: absolute; top: -.6rem; inset-inline-start: 1rem; font-size: 5.5rem; line-height: 1; color: rgba(207, 167, 89, .35); }
.dx-quote blockquote { position: relative; margin: 0 0 .9rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-style: italic; line-height: 1.45; }
.dx-quote figcaption { position: relative; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #CFA759; }

.dx-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.dx-timeline::before { content: ""; position: absolute; top: 14px; bottom: 14px; inset-inline-start: 21px; width: 2px; background: linear-gradient(180deg, #00A0B8, #CFA759); opacity: .45; }
.dx-timeline li { position: relative; display: flex; align-items: flex-start; gap: 1rem; padding: .6rem 0; }
.dx-tl-dot { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; font-size: 1rem; color: #fff; background: linear-gradient(135deg, #00A0B8, #17404f); border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(0, 130, 148, .3); }
.dx-timeline strong { display: block; padding-top: .25rem; font-size: 1.02rem; line-height: 1.35; color: #12303b; }
.dx-timeline small { display: flex; align-items: center; gap: .35rem; margin-top: .2rem; font-size: .86rem; color: #5b6b7f; }
.dx-timeline small i { color: #CFA759; }

.dx-book { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: clamp(1.4rem, 3vw, 2rem); background: linear-gradient(135deg, #F7F0E0, #fff); border: 1px solid rgba(207, 167, 89, .45); border-radius: 1.75rem; }
.dx-book h3 { margin: 0 0 .25rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; font-weight: 700; color: #0f2a34; }
.dx-book p { margin: 0; color: #5b6b7f; }

.dx-back { margin-top: 2.5rem; text-align: center; }
.dx-back a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: #008294; text-decoration: none; }
.dx-back a:hover { color: #00A0B8; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .dx-lead { grid-template-columns: 1fr; text-align: center; margin-top: -3rem; }
  .dx-lead .dx-photo-wrap { width: min(300px, 78%); margin-inline: auto; }
  .dx-lead-quote { text-align: start; }
  .dx-creds, .dx-lead .sv-actions, .dx-langs { justify-content: center; }
  .dx-profile-grid { grid-template-columns: 1fr; margin-top: -3rem; }
  .dx-side { position: static; }
  .dx-side-card { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 1.25rem; align-items: center; }
  .dx-side-card .dx-side-actions { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
  .dx-side-card { grid-template-columns: 1fr; }
  .dx-side-card .dx-photo-wrap { width: min(280px, 80%); margin-inline: auto; }
  .dx-side-card .dx-side-actions { grid-template-columns: 1fr; }
  .dx-lead .sv-actions .sv-btn { flex: 1 1 100%; justify-content: center; }
  .dx-book .sv-btn { width: 100%; justify-content: center; }
}
@media (max-width: 575.98px) {
  .dx-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dx-card, .dx-card::before, .dx-card-photo img, .dx-card-go, .dx-card-link i { transition: none; }
  .dx-card:hover { transform: none; }
}


/* =====================================================================
   FORM PAGES — Appointments, Contact, Confirmation (.fm-* .ap-* .ct-* .cf-*)
   ===================================================================== */
.ap-hero { padding-bottom: clamp(5rem, 9vw, 7rem); }
.fm-section { padding: 0 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, #EEF8FA 0%, #fff 100%); }

.fm-card { padding: clamp(1.5rem, 4vw, 2.75rem); background: #fff; border: 1px solid #e1ebef; border-radius: 2rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .14); }
.fm-card-title { margin: 0 0 1.4rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 700; color: #0f2a34; }
.fm-group { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #0f2a34; }
.fm-num { display: grid; place-items: center; width: 30px; height: 30px; font-family: system-ui, sans-serif; font-size: .85rem; font-weight: 700; color: #1b1608; background: linear-gradient(135deg, #E5C98A, #CFA759); border-radius: 50%; }
.fm-form .form-label { margin-bottom: .4rem; font-size: .84rem; font-weight: 650; color: #12303b; }
.fm-form .form-control, .fm-form .form-select { padding: .8rem 1rem; font-size: .98rem; color: #0f2a34; background-color: #f6fafb; border: 1.5px solid #dbe6ea; border-radius: .95rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.fm-form .form-control::placeholder { color: #8da1aa; }
.fm-form .form-control:hover, .fm-form .form-select:hover { border-color: #bcd3dc; }
.fm-form .form-control:focus, .fm-form .form-select:focus { background-color: #fff; border-color: #00A0B8; box-shadow: 0 0 0 4px rgba(0, 160, 184, .18); }
.fm-form .input-validation-error { border-color: #d6455d; background-color: #fff7f8; }
.fm-form .form-select { background-position: right 1rem center; }
.fm-check { display: flex; align-items: flex-start; gap: .65rem; margin: 1.5rem 0 0; padding: .9rem 1rem; background: #F7F0E0; border: 1px solid rgba(207, 167, 89, .4); border-radius: 1rem; }
.fm-check .form-check-input { flex: none; float: none; margin: .15rem 0 0; width: 1.1rem; height: 1.1rem; border-color: #B8923F; }
.fm-check .form-check-input:checked { background-color: #008294; border-color: #008294; }
.fm-check .form-check-input:focus { box-shadow: 0 0 0 4px rgba(0, 160, 184, .2); }
.fm-check .form-check-label { font-size: .88rem; color: #4a4126; }
.fm-submit { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; margin-top: 1.5rem; padding: .95rem 2.2rem; font-size: 1rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1AB0C7, #008294); border: 0; border-radius: 999px; box-shadow: 0 14px 30px rgba(0, 160, 184, .38); transition: transform .25s, box-shadow .25s; }
.fm-submit:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(0, 160, 184, .52); }
.fm-alert { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.5rem; padding: 1rem 1.25rem; font-weight: 600; color: #14532d; background: #ecf8f0; border: 1px solid #b7e2c6; border-radius: 1.2rem; }
.fm-alert i { font-size: 1.2rem; color: #16a34a; }

/* Dark side panel */
.fm-aside { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 2.5rem); color: #fff; background: radial-gradient(80% 60% at 100% 0%, rgba(207, 167, 89, .26), transparent 60%), linear-gradient(155deg, #0c242d, #17465a); border-radius: 2rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .2); }
.fm-aside::after { content: ""; position: absolute; inset-block-end: -2rem; inset-inline-end: -1.5rem; width: 190px; height: 190px; background: url("../images/branding/favicon.png") center / contain no-repeat; opacity: .07; pointer-events: none; }
.fm-aside > * { position: relative; z-index: 1; }
.fm-aside-title { margin: 0 0 1.5rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 700; }
.fm-steps { display: grid; gap: 1.15rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.fm-steps li { display: flex; gap: .9rem; }
.fm-steps li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; font-weight: 700; color: #1b1608; background: linear-gradient(135deg, #E5C98A, #CFA759); border-radius: 50%; }
.fm-steps strong { display: block; margin-bottom: .1rem; font-size: 1rem; }
.fm-steps div { font-size: .9rem; line-height: 1.5; color: rgba(236, 244, 247, .78); }
.fm-contact { display: grid; gap: .85rem; margin: 0; padding: 1.5rem 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .93rem; color: rgba(236, 244, 247, .85); }
.fm-contact li { display: flex; align-items: flex-start; gap: .8rem; }
.fm-contact li > i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; font-size: .9rem; color: #CFA759; background: rgba(207, 167, 89, .14); border-radius: 50%; }
.fm-contact a { color: #fff; text-decoration: none; }
.fm-contact a:hover { color: #CFA759; }
.fm-contact small { display: block; margin-bottom: .1rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #CFA759; }
.fm-contact--lg { gap: 1.25rem; padding-top: 0; border-top: 0; font-size: .98rem; line-height: 1.55; }
.fm-contact--lg li > i { width: 40px; height: 40px; font-size: 1.05rem; }

.ap-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; margin-top: -3.5rem; align-items: start; }
.ap-layout .fm-aside { position: sticky; top: 100px; }

/* Contact */
.ct-tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: -3.2rem; margin-bottom: 1.75rem; }
.ct-tile { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; color: #12303b; text-decoration: none; background: #fff; border: 1px solid #e1ebef; border-radius: 1.4rem; box-shadow: 0 14px 36px rgba(15, 50, 65, .12); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.ct-tile:hover { color: #12303b; transform: translateY(-5px); box-shadow: 0 22px 48px rgba(15, 50, 65, .2); }
.ct-tile-ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; font-size: 1.25rem; color: #008294; background: linear-gradient(145deg, #D9F1F5, #F7F0E0); border-radius: 16px; transition: .3s; }
.ct-tile:hover .ct-tile-ico { color: #fff; background: linear-gradient(135deg, #1AB0C7, #008294); }
.ct-tile--wa .ct-tile-ico { color: #16a34a; background: #e8f8ee; }
.ct-tile--wa:hover .ct-tile-ico { color: #fff; background: #25d366; }
.ct-tile small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8B7030; }
.ct-tile strong { display: block; font-size: 1rem; line-height: 1.3; }
.ct-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1.5rem; align-items: stretch; }
.ct-book { margin-top: 1.75rem; }
.ct-info { display: flex; flex-direction: column; }
.ct-info .ct-book { align-self: flex-start; margin-top: auto; }
.ct-info .fm-contact { margin-bottom: 1.75rem; }

/* Confirmation */
.cf-section { padding: clamp(3rem, 8vw, 6rem) 0; background: radial-gradient(60% 50% at 50% 0%, rgba(0, 160, 184, .18), transparent 70%), linear-gradient(180deg, #EEF8FA, #fff); }
.cf-card { position: relative; max-width: 640px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; background: #fff; border: 1px solid #e1ebef; border-radius: 2.2rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .14); overflow: hidden; }
.cf-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, #00A0B8, #CFA759); }
.cf-check { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 1.4rem; font-size: 2.6rem; color: #fff; background: linear-gradient(135deg, #1AB0C7, #008294); border-radius: 50%; box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(207, 167, 89, .65), 0 18px 36px rgba(0, 160, 184, .4); animation: cfPop .7s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes cfPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.cf-kicker { color: #8B7030; }
.cf-title { margin: 0 0 .8rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.05; color: #0f2a34; }
.cf-lead { max-width: 28rem; margin: 0 auto 1.75rem; color: #5b6b7f; font-size: 1.05rem; line-height: 1.7; }
.cf-actions { justify-content: center; }
.cf-note { margin: 1.75rem 0 0; font-size: .9rem; color: #5b6b7f; }
.cf-note a { color: #008294; font-weight: 650; text-decoration: none; }
.cf-note a:hover { text-decoration: underline; }

@media (max-width: 991.98px) {
  .ap-layout, .ct-layout { grid-template-columns: 1fr; }
  .ap-layout .fm-aside { position: static; }
  .ct-tiles { grid-template-columns: 1fr; margin-top: -2.5rem; }
}
@media (max-width: 575.98px) {
  .fm-card, .fm-aside { border-radius: 1.5rem; }
  .fm-submit { width: 100%; }
  .cf-actions .sv-btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cf-check { animation: none; } .ct-tile, .fm-submit { transition: none; } }

/* =====================================================================
   SITE-WIDE ALIGNMENT — shared banner, footer, details pages
   ===================================================================== */
/* Any remaining page using .page-hero (service / doctor details) gets the brand banner */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-bottom: 0; background: radial-gradient(60% 90% at 88% 0%, rgba(0, 160, 184, .35), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(207, 167, 89, .2), transparent 60%), linear-gradient(135deg, #09161b 0%, #12303b 60%, #00A0B8 100%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; inset-block: 10%; inset-inline-end: 5%; width: clamp(140px, 22vw, 300px); background: url("../images/branding/favicon.png") center / contain no-repeat; opacity: .08; pointer-events: none; }
.page-hero h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.05; }
.page-hero .lead, .page-hero .text-muted { color: rgba(236, 244, 247, .85) !important; }
.page-hero .text-primary { color: #CFA759 !important; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45); font-size: .85rem; }
.page-hero .breadcrumb-item a { color: rgba(255, 255, 255, .75); }
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: #CFA759; }

/* Details pages: brand-tinted content cards and icons */
.about-image-placeholder { border-radius: 2rem !important; background: linear-gradient(145deg, #D9F1F5, #F7F0E0); color: #00A0B8; }
.doctor-avatar-lg { background: linear-gradient(145deg, #D9F1F5, #F7F0E0); border-radius: 2rem !important; }
.sticky-top.card, .card.shadow-sm { border-radius: 1.6rem !important; box-shadow: 0 14px 36px rgba(15, 50, 65, .12) !important; }
.bi-check2-circle.text-primary { color: #CFA759 !important; }
.btn-outline-secondary { --bs-btn-color: #008294; --bs-btn-border-color: #cfe0e6; --bs-btn-hover-bg: #008294; --bs-btn-hover-border-color: #008294; --bs-btn-hover-color: #fff; }

/* Footer: serif headings, gold accents */
.footer-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; color: #fff; }
.footer-links a:hover { color: #CFA759; }
.footer-contact .fc-ico { color: #CFA759; }
.footer-bottom { border-top-color: rgba(207, 167, 89, .22); }



/* =====================================================================
   FEATURED SERVICES — EDS brand teal and gold treatment
   ===================================================================== */
.sv-card.sv-card--star {
  border: 1px solid rgba(207, 167, 89, .72);
  background: radial-gradient(90% 75% at 100% 0%, rgba(207, 167, 89, .22), transparent 62%),
              linear-gradient(150deg, #063b46 0%, #007f91 58%, #00A0B8 100%);
  box-shadow: 0 14px 34px rgba(0, 160, 184, .18), 0 5px 16px rgba(207, 167, 89, .12);
}
.sv-card.sv-card--star:hover {
  border-color: #CFA759;
  box-shadow: 0 24px 48px rgba(0, 160, 184, .25), 0 8px 22px rgba(207, 167, 89, .2);
}
.sv-card.sv-card--star .sv-card-body { color: #fff; }
.sv-card.sv-card--star .sv-card-body p { color: rgba(255, 255, 255, .86); }
.sv-card.sv-card--star .sv-card-title { color: #fff; }
.sv-card.sv-card--star .sv-ico,
.sv-card.sv-card--star:hover .sv-ico {
  color: #12303b;
  background: linear-gradient(135deg, #F2DFAE 0%, #CFA759 100%);
  box-shadow: 0 5px 15px rgba(207, 167, 89, .22);
}
.sv-card.sv-card--star .sv-more { color: #F2DFAE; }
.sv-card.sv-card--star .sv-tag {
  color: #17343a;
  background: linear-gradient(135deg, #F2DFAE, #CFA759);
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
}

/* Services hero follows the About page hero layout and visual treatment. */
.sv-hero.ab-hero {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 7vw, 6rem);
}
.sv-hero .sv-hero-bg {
  background-image:
    linear-gradient(180deg, rgba(7, 15, 28, 0) 50%, rgba(7, 15, 28, .5) 100%),
    linear-gradient(100deg, rgba(5, 12, 26, .82) 0%, rgba(7, 16, 32, .62) 42%, rgba(9, 20, 38, .32) 78%, rgba(10, 22, 40, .22) 100%),
    radial-gradient(55% 80% at 85% 30%, rgba(0, 160, 184, .28), transparent 70%),
    url("/website/images/hero/hero-family-d.webp");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, 62% 45%;
  background-repeat: no-repeat;
}
@media (max-width: 991.98px) {
  .sv-hero.ab-hero { text-align: center; padding-bottom: 4.5rem; }
  .sv-hero .ab-crumb { justify-content: center; }
  .sv-hero .hp-actions { justify-content: center; }
  .sv-hero .hp-lead { margin-inline: auto; }
}
@media (max-width: 767.98px) {
  .sv-hero .sv-hero-bg {
    background-image:
      linear-gradient(180deg, rgba(6, 14, 28, .55) 0%, rgba(6, 14, 28, .75) 45%, rgba(6, 14, 28, .9) 100%),
      radial-gradient(80% 50% at 50% 22%, rgba(0, 160, 184, .22), transparent 75%),
      url("/website/images/hero/hero-family-m.webp");
    background-size: cover, cover, cover;
    background-position: center, center, 50% 45%;
  }
}


/* =====================================================================
   CLINIC MAP (Home + Contact) - professional Leaflet controls
   ===================================================================== */
.hp-map { transform: none; }
.hp-map:hover { transform: none; }
.hp-leaflet-map { cursor: grab; }
.hp-leaflet-map:active { cursor: grabbing; }
.hp-leaflet-map .leaflet-marker-icon { cursor: pointer; }
.hp-map-click { display: none; }

/* Pin: brand teal with a gold halo */
.hp-leaflet-pin-dot {
  background: linear-gradient(145deg, #00A0B8, #006b7a);
  box-shadow: 0 0 0 5px rgba(207, 167, 89, .35), 0 12px 26px rgba(0, 90, 105, .45);
  animation: hpPinPulse2 2.4s ease-in-out infinite;
}
@keyframes hpPinPulse2 {
  0%, 100% { box-shadow: 0 0 0 5px rgba(207, 167, 89, .35), 0 12px 26px rgba(0, 90, 105, .45); }
  50% { box-shadow: 0 0 0 12px rgba(207, 167, 89, .10), 0 12px 26px rgba(0, 90, 105, .45); }
}

/* Zoom + recenter controls */
.leaflet-top.leaflet-right .leaflet-control { margin-top: 12px !important; margin-right: 12px !important; }
.leaflet-top.leaflet-right .leaflet-control + .leaflet-control { margin-top: 8px !important; }
.leaflet-control-zoom, .hp-map-recenter {
  border: 0 !important;
  border-radius: .8rem !important;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 50, 65, .18) !important;
}
.leaflet-control-zoom { margin: 0 !important; }
.leaflet-control-zoom a, .hp-map-recenter a {
  width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  display: grid !important;
  place-items: center;
  font-size: 20px !important;
  font-weight: 500;
  color: #17343a !important;
  background: #fff !important;
  border-bottom: 1px solid #e8eef1 !important;
  transition: background .2s, color .2s;
}
.hp-map-recenter a { font-size: 16px !important; border-bottom: 0 !important; }
.leaflet-control-zoom a:hover, .hp-map-recenter a:hover { color: #fff !important; background: var(--hp-blue, #00A0B8) !important; }
.leaflet-control-zoom a.leaflet-disabled { color: #b4c0c6 !important; background: #f4f7f8 !important; }
.leaflet-control-scale-line {
  font-size: 10px; color: #3b4f57; background: rgba(255, 255, 255, .85);
  border-color: #6b7f88; border-radius: 0 0 4px 4px;
}

/* Floating action bar: always visible, bottom centre */
.hp-map-actions {
  position: absolute;
  z-index: 500;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  max-width: calc(100% - 1.5rem);
}
.hp-map-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.15rem;
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hp-map-btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #00A0B8, #007585);
  box-shadow: 0 12px 28px rgba(0, 130, 148, .42);
}
.hp-map-btn--ghost {
  color: #17343a !important;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 50, 65, .2);
}
.hp-map-btn:hover { transform: translateY(-2px); }
.hp-map-btn--ghost:hover { background: #fdf6e6; }

/* Wheel-zoom hint */
.hp-map-hint {
  position: absolute; z-index: 600; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: #fff;
  background: rgba(9, 22, 27, .45);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.hp-map-hint.is-on { opacity: 1; }

/* Popup in brand colours */
.hp-map-popup-link {
  background: linear-gradient(135deg, #00A0B8, #007585);
}
.hp-map-popup-inner strong { color: #0b1f26; }

@media (max-width: 575.98px) {
  .hp-map-actions { bottom: 1.35rem; gap: .4rem; }
  .hp-map-btn { padding: .55rem .9rem; font-size: .78rem; }
  .hp-map-hint { display: none; }
}

/* =====================================================================
   HOME PAGE - design polish (CSS only, no markup or logic changes)
   ===================================================================== */
.home-page { --hp-shadow-soft: 0 1px 2px rgba(15, 50, 65, .04), 0 12px 32px rgba(15, 50, 65, .08); }

/* Section headings: brand rule under the title */
.home-page .hp-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: .9rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--hp-blue), var(--hp-red));
}
.home-page .hp-head .hp-kicker {
  padding: .35rem .95rem;
  color: var(--hp-blue-dark);
  background: rgba(0, 160, 184, .09);
  border: 1px solid rgba(0, 160, 184, .2);
  border-radius: 999px;
}
.home-page .hp-section--tint {
  background:
    radial-gradient(60% 50% at 100% 0, rgba(0, 160, 184, .07), transparent 70%),
    radial-gradient(50% 45% at 0 100%, rgba(207, 167, 89, .09), transparent 70%),
    var(--hp-tint);
}

/* Quick booking bar */
.home-page .hp-booking {
  border: 1px solid rgba(0, 160, 184, .14);
  box-shadow: 0 34px 80px rgba(8, 40, 52, .26), 0 0 0 6px rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px);
}

/* Trust row as a clean card strip */
.home-page .hp-trust-grid {
  padding: .75rem;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: 1.5rem;
  box-shadow: var(--hp-shadow-soft);
}
.home-page .hp-trust-item { border-radius: 1rem; transition: background .25s; }
.home-page .hp-trust-item:hover { background: var(--hp-tint); }
@media (min-width: 992px) {
  .home-page .hp-trust-item + .hp-trust-item { position: relative; }
  .home-page .hp-trust-item + .hp-trust-item::before {
    content: ""; position: absolute; inset-inline-start: -.5rem; top: 22%; bottom: 22%;
    width: 1px; background: var(--hp-line);
  }
}

/* Service cards */
.home-page .hp-service {
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-shadow-soft);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.home-page .hp-service:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 160, 184, .35);
  box-shadow: 0 30px 60px rgba(8, 60, 78, .18);
}
.home-page .hp-service-media { overflow: hidden; }
.home-page .hp-service-media img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.home-page .hp-service:hover .hp-service-media img { transform: scale(1.07); }
.home-page .hp-service-body h3 { letter-spacing: -.01em; }
.home-page .hp-service .hp-arrow { transition: transform .25s ease; }
.home-page .hp-service:hover .hp-arrow { transform: translateX(5px); }

/* Why us */
.home-page .hp-why-visual { box-shadow: 0 30px 70px rgba(8, 50, 64, .28); }
.home-page .hp-point { transition: transform .25s ease; }
.home-page .hp-point:hover { transform: translateX(6px); }

/* Process steps with connector line (desktop) */
.home-page .hp-step { box-shadow: var(--hp-shadow-soft); }
.home-page .hp-step-num { box-shadow: 0 0 0 7px rgba(0, 160, 184, .1), 0 12px 26px rgba(0, 160, 184, .3); }
@media (min-width: 992px) {
  .home-page .hp-step::after {
    content: ""; position: absolute; top: 3.9rem; inset-inline-start: calc(100% - .1rem);
    width: calc(1.5rem + .2rem); border-top: 2px dashed rgba(207, 167, 89, .7);
  }
  .home-page .col-lg-3:last-child .hp-step::after { display: none; }
}

/* Testimonials */
.home-page .hp-review {
  border: 1px solid var(--hp-line);
  box-shadow: var(--hp-shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.home-page .hp-review:hover { transform: translateY(-5px); box-shadow: 0 26px 56px rgba(8, 60, 78, .14); }
.home-page .hp-quote { color: var(--hp-red); opacity: .9; }
.home-page .hp-stars { color: var(--hp-red); }

/* Stats */
.home-page .hp-stat { position: relative; }
.home-page .hp-count { text-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
@media (min-width: 768px) {
  .home-page .hp-stats .col-6 + .col-6 { position: relative; }
  .home-page .hp-stats .col-6:not(:first-child)::before {
    content: ""; position: absolute; inset-inline-start: 0; top: 18%; bottom: 18%;
    width: 1px; background: rgba(255, 255, 255, .15);
  }
}

/* Visit card + info */
.home-page .hp-visit-card { box-shadow: var(--hp-shadow-soft); }
.home-page .hp-visit-list li { padding: .35rem .5rem; margin-inline: -.5rem; border-radius: .9rem; transition: background .2s; }
.home-page .hp-visit-list li:hover { background: var(--hp-tint); }
.home-page .hp-visit-ico { transition: transform .25s, background .25s, color .25s; }
.home-page .hp-visit-list li:hover .hp-visit-ico { color: #fff; background: var(--hp-blue); transform: scale(1.06); }
.home-page .hp-visit-list li:hover .hp-visit-ico--wa { background: #16a34a; }

/* FAQ */
.home-page .hp-accordion .accordion-item { box-shadow: 0 1px 2px rgba(15, 50, 65, .04); transition: box-shadow .25s, border-color .25s; }
.home-page .hp-accordion .accordion-item:hover { border-color: rgba(0, 160, 184, .35); box-shadow: var(--hp-shadow-soft); }
.home-page .hp-accordion .accordion-button:not(.collapsed) { border-inline-start: 4px solid var(--hp-red); }

/* Buttons: refined hover */
.home-page .hp-btn { transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.home-page .hp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 160, 184, .4); }

/* CTA */
.home-page .hp-cta { box-shadow: 0 30px 70px rgba(8, 50, 64, .3); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .home-page .hp-service, .home-page .hp-service-media img, .home-page .hp-review, .home-page .hp-btn,
  .hp-map-btn, .hp-leaflet-pin-dot { transition: none !important; animation: none !important; transform: none !important; }
}


/* =====================================================================
   HEADER + FOOTER - advanced polish (brand: teal / gold / black)
   ===================================================================== */

/* ---------- Topbar: deep teal-black with gold hairline ---------- */
.site-topbar {
  background: linear-gradient(135deg, #007a8c 0%, #00A0B8 45%, #0bb3c9 100%);
  color: rgba(255, 255, 255, .92);
  padding-block: .5rem !important;
}
.site-topbar::before { background: radial-gradient(120% 80% at 90% 0%, rgba(255, 255, 255, .14), transparent 55%), radial-gradient(40% 120% at 0 100%, rgba(207, 167, 89, .18), transparent 60%); }
.site-topbar::after { height: 1px; background: linear-gradient(90deg, transparent, #CFA759 20%, #00A0B8 55%, #CFA759 85%, transparent); opacity: 1; }
.topbar-list i, .topbar-hours i { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(207, 167, 89, .75); }
.topbar-list a:hover { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, .55); }
.topbar-sep { background: rgba(255, 255, 255, .35); }
.topbar-social a { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.topbar-social a:hover { color: #1a1204; background: #CFA759; border-color: #CFA759; box-shadow: 0 8px 18px rgba(207, 167, 89, .35); }
.site-topbar .hp-open { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

/* ---------- Navbar: glass bar, animated gold underline ---------- */
.site-navbar.bg-white { background-color: rgba(255, 255, 255, .82) !important; }
.site-navbar { border-bottom: 1px solid rgba(0, 160, 184, .12); }
.site-navbar.shadow-sm.is-scrolled {
  background-color: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 14px 40px rgba(6, 40, 52, .14) !important;
}
@media (min-width: 992px) {
  .site-navbar .navbar-nav .nav-link {
    padding: .6rem .95rem !important;
    border-radius: .7rem;
    letter-spacing: .005em;
  }
  .site-navbar .navbar-nav .nav-link::before {
    content: ""; position: absolute; inset-inline: .95rem; bottom: .3rem; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #00A0B8, #CFA759);
    transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .site-navbar .navbar-nav .nav-link:hover::before,
  .site-navbar .navbar-nav .nav-link.active::before { transform: scaleX(1); }
  .site-navbar .navbar-nav .nav-link:hover { background: rgba(0, 160, 184, .06) !important; transform: none; }
  .site-navbar .navbar-nav .nav-link.active { background: rgba(0, 160, 184, .09) !important; box-shadow: none; }
  .site-navbar .navbar-nav .nav-link.active::after { display: none; }
}
.nav-cta {
  background: linear-gradient(135deg, #CFA759 0%, #b98f3f 100%);
  color: #1a1204 !important;
  box-shadow: 0 10px 24px rgba(207, 167, 89, .42), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.nav-cta:hover, .nav-cta:focus-visible {
  color: #1a1204 !important;
  box-shadow: 0 16px 34px rgba(207, 167, 89, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.nav-burger-btn { background: rgba(0, 160, 184, .1) !important; }
@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse { border-top: 3px solid #CFA759; }
  .site-navbar .navbar-nav .nav-link.active { background: rgba(0, 160, 184, .09) !important; box-shadow: inset 3px 0 0 #CFA759; }
}

/* ---------- Footer: premium dark ---------- */
.site-footer {
  color: rgba(255, 255, 255, .88);
  background: radial-gradient(circle at 92% 0, rgba(0, 160, 184, .3), transparent 45%), radial-gradient(circle at 0 100%, rgba(207, 167, 89, .2), transparent 45%), #00A0B8;
}
.site-footer::before { height: 4px; background: linear-gradient(90deg, #CFA759, #fff 50%, #CFA759); }
.footer-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.footer-glow--a { width: 420px; height: 420px; top: -220px; inset-inline-end: -120px; background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 68%); }
.footer-glow--b { width: 360px; height: 360px; bottom: -200px; inset-inline-start: 8%; background: radial-gradient(circle, rgba(207, 167, 89, .28), transparent 68%); }
.site-footer .footer-main, .site-footer .footer-bottom { position: relative; z-index: 1; }

.footer-logo { border: 1px solid rgba(207, 167, 89, .35); box-shadow: 0 14px 32px rgba(0, 0, 0, .4), 0 0 0 4px rgba(255, 255, 255, .04); }
.footer-about { color: rgba(255, 255, 255, .9); }

.footer-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; }
.footer-btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1.15rem;
  font-size: .86rem; font-weight: 700; text-decoration: none; border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.footer-btn--gold { color: #1a1204; background: linear-gradient(135deg, #e3c27a, #CFA759 55%, #b98f3f); box-shadow: 0 10px 24px rgba(207, 167, 89, .32); }
.footer-btn--gold:hover { color: #1a1204; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(207, 167, 89, .45); }
.footer-btn--ghost { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .4); }
.footer-btn--ghost:hover { color: #0a4a56; background: #fff; border-color: #fff; transform: translateY(-2px); }

.social-btn { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }

.footer-title { color: #fff; letter-spacing: .14em; }
.footer-title::after { width: 34px; background: linear-gradient(90deg, #CFA759, #fff); }
.footer-links a { color: rgba(255, 255, 255, .9); }
.footer-links a:hover { color: #fff; }

.fc-ico { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); transition: background .25s, color .25s, transform .25s; }
.footer-contact li:hover .fc-ico { color: #1a1204; background: #CFA759; transform: translateY(-2px); }
.footer-contact li:hover .fc-ico--wa { color: #fff; background: #25d366; border-color: #25d366; }
.footer-contact strong { color: rgba(255, 255, 255, .78); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.footer-contact div > span:not(.hp-open), .footer-contact a { color: #fff; }
.footer-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom { border-top: 0; color: rgba(255, 255, 255, .85); background: rgba(0, 60, 72, .38); position: relative; }
.footer-bottom::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(207, 167, 89, .9), rgba(255, 255, 255, .5), rgba(207, 167, 89, .9), transparent); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { position: relative; color: rgba(255, 255, 255, .9); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .footer-legal a + a::before { content: ""; position: absolute; inset-inline-start: -.65rem; top: 25%; bottom: 25%; width: 1px; background: rgba(255, 255, 255, .2); }
}

/* Back to top: gold ring */
.to-top { background: linear-gradient(135deg, #00A0B8, #007585); box-shadow: 0 12px 28px rgba(0, 120, 140, .4), 0 0 0 3px rgba(207, 167, 89, .55); }
.to-top:hover { box-shadow: 0 16px 34px rgba(0, 120, 140, .5), 0 0 0 4px rgba(207, 167, 89, .8); }

/* Footer credit line */
.footer-credit { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; letter-spacing: .02em; color: rgba(255, 255, 255, .9); }
.footer-credit i { display: grid; place-items: center; width: 26px; height: 26px; font-size: .8rem; color: #fff; background: rgba(255, 255, 255, .14); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(207, 167, 89, .75); }
.footer-credit strong { font-weight: 700; color: #F2DFAE; letter-spacing: .03em; }


/* =====================================================================
   MOMENTS - logo teal (#00A0B8) + gold, bright and premium
   ===================================================================== */
.hp-moments {
  background:
    radial-gradient(48% 62% at 8% 0%, rgba(255, 255, 255, .22), transparent 62%),
    radial-gradient(42% 58% at 96% 100%, rgba(207, 167, 89, .42), transparent 64%),
    radial-gradient(30% 40% at 60% 105%, rgba(0, 90, 106, .32), transparent 70%),
    #00A0B8;
  border-block: 0;
}
/* gold hairlines top and bottom */
.hp-moments::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, #CFA759 0%, #F2DFAE 50%, #CFA759 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.hp-moments::before { opacity: .55; background-image: radial-gradient(rgba(255, 255, 255, .28) 1px, transparent 1.3px); background-size: 24px 24px; }

/* heading */
.hp-moments .hp-kicker {
  padding: .4rem 1.05rem; color: #3a2a06;
  background: linear-gradient(135deg, #F2DFAE, #CFA759);
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px;
  box-shadow: 0 8px 20px rgba(120, 80, 0, .22);
}
.hp-moments .hp-head h2 { color: #fff; text-shadow: 0 2px 18px rgba(0, 70, 84, .35); }
.hp-moments .hp-head h2::after {
  content: ""; display: block; width: 78px; height: 4px; margin: .95rem auto 0; border-radius: 4px;
  background: linear-gradient(90deg, #CFA759, #F2DFAE, #CFA759);
  box-shadow: 0 4px 14px rgba(207, 167, 89, .55);
}
.hp-moments .hp-head h2 span, .hp-moments .hp-head .hp-gradient-text { background: linear-gradient(135deg, #F2DFAE, #CFA759); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-moments .hp-head p { color: rgba(255, 255, 255, .94); }

/* photo cards: white mat with gold edge */
.hp-moments .hp-hcard {
  background: #fff; padding: .45rem; border-radius: 1.6rem;
  box-shadow: 0 24px 50px rgba(0, 70, 84, .38), 0 0 0 2px rgba(207, 167, 89, .85);
}
.hp-moments .hp-hcard::after { inset-inline: .45rem; top: .45rem; border-radius: 1.2rem 1.2rem 0 0; background: linear-gradient(90deg, #CFA759, #F2DFAE, #CFA759); opacity: 1; }
.hp-moments .hp-hcard-frame { border-radius: 1.2rem; overflow: hidden; background: #0a4a56; }
.hp-moments .hp-hcard-frame::before {
  color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 6px 14px rgba(0, 70, 84, .3);
}
.hp-moments .hp-hcard-zoom { background: rgba(0, 110, 128, .6); border: 1px solid rgba(255, 255, 255, .35); }
.hp-moments .hp-hcard-meta {
  inset-inline: .45rem; bottom: .45rem; border-radius: 0 0 1.2rem 1.2rem;
  background: linear-gradient(180deg, rgba(0, 70, 84, 0) 0%, rgba(0, 78, 94, .82) 55%, rgba(0, 62, 76, .95) 100%);
}
.hp-moments .hp-hcard-meta span { color: #F2DFAE; }
.hp-moments .hp-hcard:hover { box-shadow: 0 34px 66px rgba(0, 60, 74, .5), 0 0 0 2px #F2DFAE, 0 0 34px rgba(242, 223, 174, .45); }

/* arrows and hint */
.hp-moments .hp-hint { color: rgba(255, 255, 255, .92); }
.hp-moments .hp-hstrip-nav { color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 12px 28px rgba(0, 70, 84, .35); }
.hp-moments .hp-hstrip-nav:hover { color: #fff; background: linear-gradient(135deg, #00829a, #006b7a); border-color: #fff; }
.hp-moments .hp-hstrip-nav:focus-visible { outline-color: #fff; }


/* =====================================================================
   SERVICES (.sx-*) — services list and service detail pages
   Reuses .ab-hero / .sv-hero banner, .sv-btn buttons, .sv-cta band and
   the shared .dx-head / .dx-btn-* helpers from the Doctors block
   ===================================================================== */
.sx-section { padding: 0 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, #EEF8FA 0%, #fff 100%); }

/* ---------- Toolbar ---------- */
.sx-toolbar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.25rem; margin-top: -2.4rem; margin-bottom: 2rem; padding: .85rem 1rem; background: #fff; border: 1px solid #e1ebef; border-radius: 1.4rem; box-shadow: 0 24px 56px rgba(15, 50, 65, .14); }
.sx-search { position: relative; flex: 1 1 280px; max-width: 520px; }
.sx-search > i { position: absolute; top: 50%; inset-inline-start: 1rem; transform: translateY(-50%); color: #7f93a1; pointer-events: none; }
.sx-search input { width: 100%; height: 48px; padding: 0 1rem 0 2.75rem; font-size: .95rem; color: #1e293b; background: #f4f9fa; border: 1px solid #e1ebef; border-radius: 999px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.sx-search input:focus { background: #fff; border-color: #00A0B8; box-shadow: 0 0 0 .22rem rgba(0, 160, 184, .15); }
.sx-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.sx-pill { display: inline-flex; align-items: center; gap: .45rem; height: 44px; padding: 0 1.1rem; font-size: .88rem; font-weight: 650; color: #3b4b5c; background: #fff; border: 1px solid #d7e5ea; border-radius: 999px; transition: all .2s; }
.sx-pill span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 .35rem; font-size: .72rem; font-weight: 700; color: #5b6b7f; background: #eef4f6; border-radius: 999px; }
.sx-pill i { color: #CFA759; }
.sx-pill:hover { border-color: #00A0B8; color: #008294; }
.sx-pill.is-active { color: #fff; background: linear-gradient(135deg, #1AB0C7, #008294); border-color: transparent; box-shadow: 0 10px 22px rgba(0, 160, 184, .3); }
.sx-pill.is-active span { color: #fff; background: rgba(255, 255, 255, .22); }
.sx-pill.is-active i { color: #F2DFAE; }

/* ---------- Grid + cards ---------- */
.sx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.sx-card { position: relative; display: flex; flex-direction: column; overflow: hidden; color: #1e293b; text-decoration: none; background: #fff; border: 1px solid #e1ebef; border-radius: 1.6rem; box-shadow: 0 10px 30px rgba(15, 50, 65, .08); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.sx-card[hidden] { display: none; }
.sx-card:hover { color: #1e293b; transform: translateY(-8px); border-color: transparent; box-shadow: 0 30px 60px rgba(15, 50, 65, .18); }
.sx-card:focus-visible { outline: 3px solid #00A0B8; outline-offset: 3px; }
.sx-card--star { border-color: rgba(207, 167, 89, .7); box-shadow: 0 14px 36px rgba(207, 167, 89, .2); }
.sx-card-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: linear-gradient(160deg, #00A0B8, #12303b); }
.sx-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 22, 27, .55) 100%); pointer-events: none; }
.sx-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.sx-card:hover .sx-card-media img { transform: scale(1.07); }
.sx-ribbon { position: absolute; z-index: 2; top: .9rem; inset-inline-start: .9rem; display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .75rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759); border-radius: 999px; box-shadow: 0 8px 18px rgba(0, 0, 0, .22); }
.sx-card-ico { position: absolute; z-index: 2; inset-inline-start: 1.25rem; bottom: -1px; transform: translateY(50%); display: grid; place-items: center; width: 54px; height: 54px; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, #1AB0C7, #008294); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 10px 22px rgba(0, 130, 148, .35); transition: transform .35s, background .35s; }
.sx-card--star .sx-card-ico { color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759); box-shadow: 0 10px 22px rgba(207, 167, 89, .45); }
.sx-card:hover .sx-card-ico { transform: translateY(50%) scale(1.08) rotate(-6deg); }
.sx-card-body { display: flex; flex: 1; flex-direction: column; padding: 2.2rem 1.5rem 1.4rem; }
.sx-card-title { margin: 0 0 .5rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.65rem; font-weight: 700; line-height: 1.15; color: #0f2a34; }
.sx-card-text { margin: 0 0 1.1rem; font-size: .95rem; line-height: 1.65; color: #5b6b7f; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sx-card-link { display: flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .95rem; font-size: .9rem; font-weight: 700; color: #008294; border-top: 1px solid #eef3f6; }
.sx-card-link i { transition: transform .25s; }
.sx-card:hover .sx-card-link i { transform: translateX(5px); }
.sx-card--star .sx-card-link { color: #8B7030; }

/* ---------- Empty state ---------- */
.sx-empty { padding: 3rem 1.5rem; margin-top: 1rem; text-align: center; background: #fff; border: 1px dashed #cfe0e6; border-radius: 1.6rem; }
.sx-empty > i { font-size: 2.6rem; color: #CFA759; }
.sx-empty h3 { margin: .75rem 0 .4rem; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; color: #0f2a34; }
.sx-empty p { margin-bottom: 1.4rem; color: #5b6b7f; }

/* ---------- How your visit works ---------- */
.sx-process { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem); background: #fff; }
.sx-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: sx; }
.sx-steps li { position: relative; padding: 2rem 1.4rem 1.5rem; text-align: center; background: #fff; border: 1px solid #e1ebef; border-radius: 1.5rem; box-shadow: 0 10px 28px rgba(15, 50, 65, .06); transition: transform .3s, box-shadow .3s; }
.sx-steps li:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(15, 50, 65, .13); }
.sx-step-no { position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 30px; height: 30px; font-size: .8rem; font-weight: 800; color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759); border-radius: 50%; box-shadow: 0 0 0 4px #fff; }
.sx-steps li > i { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto .9rem; font-size: 1.4rem; color: #008294; background: #E6F6F9; border-radius: 50%; }
.sx-steps h3 { margin: 0 0 .35rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; font-weight: 700; color: #0f2a34; }
.sx-steps p { margin: 0; font-size: .9rem; line-height: 1.6; color: #5b6b7f; }

/* ---------- Detail page ---------- */
.sx-hero-row { display: flex; align-items: flex-start; gap: clamp(1rem, 3vw, 1.75rem); }
.sx-hero-ico { flex: none; display: grid; place-items: center; width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759); border-radius: 1.4rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .3), 0 0 0 6px rgba(255, 255, 255, .1); }
.sx-detail-hero .hp-lead { max-width: 40rem; }
.sx-detail { padding: 0 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, #EEF8FA 0%, #fff 420px); }
.sx-detail-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 370px); align-items: start; gap: clamp(1.25rem, 3vw, 2.25rem); margin-top: -3.5rem; }
.sx-detail-main { display: grid; gap: 1.5rem; min-width: 0; }
.sx-media { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #00A0B8, #12303b); border: 6px solid #fff; border-radius: 1.9rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .2); }
.sx-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.sx-media:hover img { transform: scale(1.04); }
.sx-panel { padding: clamp(1.4rem, 3vw, 2.25rem); background: #fff; border: 1px solid #e1ebef; border-radius: 1.75rem; box-shadow: 0 14px 40px rgba(15, 50, 65, .07); }
.sx-panel-title { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.1rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; color: #0f2a34; }
.sx-panel-title span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; font-size: 1.05rem; color: #1b1608; background: linear-gradient(135deg, #E5C98A, #CFA759); border-radius: 50%; }
.sx-text { margin: 0 0 1rem; font-size: 1.04rem; line-height: 1.85; color: #4a5a6c; }
.sx-text:last-child { margin-bottom: 0; }
.sx-text--soft { font-size: .95rem; color: #7a8896; }

.sx-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 0; padding: 0; list-style: none; }
.sx-perks li { display: flex; flex-direction: column; gap: .75rem; padding: 1.1rem; background: #EEF8FA; border: 1px solid #e1ebef; border-radius: 1.2rem; transition: transform .3s, box-shadow .3s; }
.sx-perks li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 50, 65, .1); }
.sx-perks li > i { display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.2rem; color: #008294; background: #fff; border-radius: .9rem; box-shadow: 0 4px 12px rgba(15, 50, 65, .08); }
.sx-perks strong { display: block; font-size: .98rem; color: #12303b; }
.sx-perks small { display: block; margin-top: .15rem; font-size: .84rem; line-height: 1.5; color: #5b6b7f; }

.sx-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.sx-timeline::before { content: ""; position: absolute; top: 18px; bottom: 18px; inset-inline-start: 21px; width: 2px; background: linear-gradient(180deg, #00A0B8, #CFA759); opacity: .45; }
.sx-timeline li { position: relative; display: flex; align-items: flex-start; gap: 1rem; padding: .6rem 0; }
.sx-tl-dot { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #00A0B8, #17404f); border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(0, 130, 148, .3); }
.sx-timeline strong { display: block; padding-top: .2rem; font-size: 1.02rem; color: #12303b; }
.sx-timeline small { display: block; margin-top: .15rem; font-size: .9rem; line-height: 1.55; color: #5b6b7f; }

.sx-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.sx-pager-link { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.35rem; text-decoration: none; background: #fff; border: 1px solid #e1ebef; border-radius: 1.3rem; box-shadow: 0 8px 22px rgba(15, 50, 65, .06); transition: transform .3s, box-shadow .3s, border-color .3s; }
.sx-pager-link:hover { transform: translateY(-4px); border-color: rgba(0, 160, 184, .4); box-shadow: 0 18px 38px rgba(15, 50, 65, .12); }
.sx-pager-link small { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8B7030; }
.sx-pager-link strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; color: #0f2a34; }
.sx-pager-link--next { text-align: end; grid-column: 2; }
.sx-pager-link:only-child { grid-column: 1 / -1; }

.sx-aside { position: sticky; top: 96px; display: grid; gap: 1.25rem; }
.sx-book { position: relative; overflow: hidden; display: grid; gap: .7rem; padding: 1.75rem 1.5rem; color: #fff; text-align: center; background: radial-gradient(70% 90% at 90% 0%, rgba(0, 160, 184, .4), transparent 60%), linear-gradient(135deg, #09161b 0%, #12303b 65%, #008294 100%); border-radius: 1.9rem; box-shadow: 0 30px 70px rgba(15, 50, 65, .28); }
.sx-book-ico { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto .1rem; font-size: 1.5rem; color: #3a2a06; background: linear-gradient(135deg, #F2DFAE, #CFA759); border-radius: 50%; }
.sx-book h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.8rem; font-weight: 700; }
.sx-book p { margin: 0 0 .4rem; font-size: .92rem; line-height: 1.6; color: rgba(236, 244, 247, .82); }
.sx-book .sv-btn { justify-content: center; }
.sx-book-addr { display: flex; align-items: flex-start; justify-content: center; gap: .45rem; margin: .6rem 0 0 !important; font-size: .82rem !important; color: rgba(236, 244, 247, .7) !important; }
.sx-book-addr i { margin-top: .15rem; color: #CFA759; }
.sx-others { padding: 1.4rem; background: #fff; border: 1px solid #e1ebef; border-radius: 1.6rem; box-shadow: 0 14px 40px rgba(15, 50, 65, .07); }
.sx-others h3 { margin: 0 0 .8rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #0f2a34; }
.sx-others ul { display: grid; gap: .3rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.sx-others li a { display: flex; align-items: center; gap: .75rem; padding: .55rem .65rem; color: #1e293b; text-decoration: none; border-radius: .9rem; transition: background .2s; }
.sx-others li a:hover { background: #EEF8FA; color: #008294; }
.sx-others li a > span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; color: #008294; background: #E6F6F9; border-radius: .7rem; }
.sx-others li a strong { flex: 1; font-size: .92rem; }
.sx-others li a > i { font-size: .75rem; color: #9aa8b6; }
.sx-others-all { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: #008294; text-decoration: none; }
.sx-others-all:hover { color: #00A0B8; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .sx-grid { gap: 1.2rem; }
}
@media (max-width: 991.98px) {
  .sx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
  .sx-detail-grid { grid-template-columns: 1fr; margin-top: -3rem; }
  .sx-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 767.98px) {
  .sx-aside { grid-template-columns: 1fr; }
  .sx-perks { grid-template-columns: 1fr; }
  .sx-perks li { flex-direction: row; align-items: center; }
  .sx-hero-row { flex-direction: column; }
}
@media (max-width: 575.98px) {
  .sx-grid { grid-template-columns: 1fr; gap: 1rem; }
  .sx-steps { grid-template-columns: 1fr; }
  .sx-toolbar { margin-top: -2rem; }
  .sx-search { max-width: none; }
  .sx-pager { grid-template-columns: 1fr; }
  .sx-pager-link--next { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-card, .sx-card-media img, .sx-card-ico, .sx-card-link i, .sx-media img, .sx-steps li, .sx-perks li, .sx-pager-link { transition: none; }
  .sx-card:hover, .sx-steps li:hover, .sx-perks li:hover, .sx-pager-link:hover { transform: none; }
  .sx-card:hover .sx-card-media img, .sx-media:hover img { transform: none; }
}
