:root {
  --deep-blue: #0E3D6B;
  --deep-blue-2: #15528C;
  --emerald: #0F7B5C;
  --emerald-2: #1A9A73;
  --ivory: #F7F8F4;
  --paper: #FFFFFF;
  --ink: #102A2A;
  --ink-soft: #4A5C5C;
  --gold: #C7A45C;
  --line: rgba(14, 61, 107, 0.12);

  --display: 'Fraunces', serif;
  --body: 'Inter', sans-serif;
  --label: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--deep-blue);
  letter-spacing: -0.01em;
}

.serif-italic {
  font-style: italic;
  font-weight: 500;
  color: var(--emerald);
}

a {
  text-decoration: none;
}

.container-xl {
  max-width: 1240px;
}

::selection {
  background: var(--emerald-2);
  color: #fff;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .12s;
}

.reveal-delay-2 {
  transition-delay: .24s;
}

.reveal-delay-3 {
  transition-delay: .36s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation: none !important;
  }
}

/* ============ EYEBROW / LABEL ============ */
.eyebrow {
  font-family: var(--label);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ============ NAVBAR ============ */
.navbar-premium {
  padding: 14px 0;
  background: rgba(247, 248, 244, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: all .4s ease;
}

.navbar-premium.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(14, 61, 107, 0.06);
}

.brand-mark {
  display: flex;
  align-items: center;
  /* gap: 12px; */
}

.brand-mark img {
  height: 80px;
  width: auto;
}

.brand-text {
  line-height: 1.1;
}

.brand-text .b1 {
  font-family: var(--label);
  font-weight: 800;
  font-size: .92rem;
  color: var(--deep-blue);
  letter-spacing: .04em;
}

.brand-text .b2 {
  font-family: var(--label);
  font-weight: 600;
  font-size: .66rem;
  color: var(--emerald);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav-link-custom {
  font-family: var(--label);
  font-weight: 600;
  font-size: .86rem;
  color: var(--ink) !important;
  margin: 0 14px;
  position: relative;
  padding: 6px 0 !important;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--emerald-2);
  transition: width .35s ease;
}

.nav-link-custom:hover::after {
  width: 100%;
}

.btn-pulse {
  font-family: var(--label);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: 11px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--emerald) 130%);
  color: #fff !important;
  border: none;
  position: relative;
  box-shadow: 0 6px 18px rgba(15, 123, 92, 0.28);
  transition: transform .3s ease, box-shadow .3s ease;
}

.btn-pulse:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 123, 92, 0.38);
  color: #fff;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  background:
    radial-gradient(circle at 85% 18%, rgba(26, 154, 115, 0.12), transparent 55%),
    radial-gradient(circle at 10% 85%, rgba(14, 61, 107, 0.10), transparent 50%),
    var(--ivory);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 61, 107, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 61, 107, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 10%, transparent 75%);
  pointer-events: none;
}

.pulse-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  opacity: .5;
  pointer-events: none;
}

.pulse-line svg {
  width: 200%;
  height: 100%;
  animation: drift 16s linear infinite;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-kicker {
  font-family: var(--label);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-2);
  box-shadow: 0 0 0 0 rgba(26, 154, 115, 0.6);
  animation: ping 2s infinite;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 154, 115, 0.5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(26, 154, 115, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(26, 154, 115, 0);
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 26px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--emerald) 10%, var(--deep-blue-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 38px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 54px;
}

.btn-ghost-line {
  font-family: var(--label);
  font-weight: 700;
  font-size: .86rem;
  color: var(--deep-blue);
  padding: 11px 4px;
  border-bottom: 1.5px solid var(--deep-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .3s ease, color .3s ease;
}

.btn-ghost-line:hover {
  color: var(--emerald);
  border-color: var(--emerald);
  gap: 14px;
}

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stats .stat {
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid var(--line);
}

.hero-stats .stat:last-child {
  border-right: none;
}

.hero-stats .num {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--deep-blue);
  line-height: 1;
}

.hero-stats .lbl {
  font-family: var(--label);
  font-size: .72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 6px;
}

/* hero visual — caduceus emblem motif echoing the logo */
.hero-visual {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px dashed rgba(14, 61, 107, 0.22);
  animation: spin 50s linear infinite;
}

.orbit-ring.r2 {
  width: 340px;
  height: 340px;
  border-color: rgba(26, 154, 115, 0.25);
  animation-duration: 36s;
  animation-direction: reverse;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.emblem-card {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 40%;
  background: linear-gradient(145deg, #ffffff, #eef3ee);
  box-shadow: 0 30px 70px rgba(14, 61, 107, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-16px);
  }
}

.emblem-card img {
  width: 100%;
  /* width: 76%; */
  height: 100%;
  border-radius: 120px;
  /* height: auto; */
  filter: drop-shadow(0 10px 18px rgba(14, 61, 107, 0.15));
}

.float-chip {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(14, 61, 107, 0.14);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--label);
  animation: floaty 5s ease-in-out infinite;
}

.float-chip i {
  font-size: 1.2rem;
}

.chip-a {
  top: 8%;
  left: -2%;
  animation-delay: .3s;
}

.chip-a i {
  color: var(--emerald-2);
}

.chip-b {
  bottom: 10%;
  right: -4%;
  animation-delay: 1.1s;
}

.chip-b i {
  color: var(--gold);
}

.chip-title {
  font-weight: 700;
  font-size: .82rem;
  color: var(--deep-blue);
}

.chip-sub {
  font-size: .7rem;
  color: var(--ink-soft);
}

/* ============ SECTION GENERIC ============ */
section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  margin-top: 14px;
  line-height: 1.15;
}

/* ============ ABOUT ============ */
.about-img-wrap {
  position: relative;
}

.about-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(14, 61, 107, 0.16);
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--deep-blue), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img img {
  width: 100%;
  opacity: .95;
}

.about-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 26px;
  box-shadow: 0 20px 40px rgba(14, 61, 107, 0.18);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-badge .num {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--emerald);
  font-weight: 700;
}

.about-badge .txt {
  font-family: var(--label);
  font-size: .74rem;
  color: var(--ink-soft);
  line-height: 1.3;
  max-width: 120px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: .98rem;
  color: var(--ink-soft);
}

.about-list li:first-child {
  border-top: none;
}

.about-list .ic {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--deep-blue), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
}

/* ============ SERVICES ============ */
.services-band {
  background: var(--paper);
}

.service-card {
  background: var(--ivory);
  border-radius: 22px;
  padding: 38px 30px;
  height: 100%;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(14, 61, 107, 0.06), rgba(26, 154, 115, 0.06));
  opacity: 0;
  transition: opacity .45s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(14, 61, 107, 0.14);
  border-color: rgba(26, 154, 115, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--deep-blue), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
  transition: transform .4s ease;
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.08);
}

.service-card h4 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.service-card .arrow-link {
  font-family: var(--label);
  font-weight: 700;
  font-size: .8rem;
  color: var(--emerald);
  position: relative;
  z-index: 1;
}

.service-card .arrow-link i {
  transition: transform .3s ease;
  margin-left: 6px;
}

.service-card:hover .arrow-link i {
  transform: translateX(5px);
}

/* ============ WHY / STATS STRIP ============ */
.why-strip {
  background: linear-gradient(120deg, var(--deep-blue) 0%, #103E5E 55%, var(--emerald) 130%);
  color: #fff;
  border-radius: 32px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.why-strip::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.why-strip h2 {
  color: #fff;
}

.why-strip .eyebrow {
  color: #BFE3D2;
}

.why-strip .eyebrow::before {
  background: #fff;
  opacity: .5;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.why-item i {
  font-size: 1.3rem;
  color: #E7D6A8;
  margin-top: 3px;
}

.why-item h5 {
  font-family: var(--label);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.why-item p {
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.6;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 10px;
}

.metric {
  text-align: left;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  padding-left: 18px;
}

.metric .n {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.metric .l {
  font-family: var(--label);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* ============ DOCTORS ============ */
.doctor-card {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s ease, box-shadow .4s ease;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(14, 61, 107, 0.14);
}

.doctor-photo {
  aspect-ratio: 3/3.4;
  background: linear-gradient(160deg, #e7edf3, #dcefe6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.doctor-photo i {
  font-size: 4.2rem;
  color: rgba(14, 61, 107, 0.22);
}

.doctor-body {
  padding: 22px 24px 26px;
}

.doctor-body h5 {
  font-family: var(--display);
  color: var(--deep-blue);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 2px;
}

.doctor-body .spec {
  font-family: var(--label);
  color: var(--emerald);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.doctor-body .meta {
  font-size: .82rem;
  color: var(--ink-soft);
}

/* ============ TESTIMONIALS ============ */
.testimonial-band {
  background: var(--paper);
}

.t-card {
  background: var(--ivory);
  border-radius: 22px;
  padding: 36px;
  height: 100%;
  border: 1px solid var(--line);
  position: relative;
}

.t-card .quote-mark {
  font-family: var(--display);
  font-size: 3.4rem;
  color: rgba(26, 154, 115, 0.25);
  line-height: 1;
  margin-bottom: 6px;
}

.t-card p {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.t-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-blue), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--label);
  font-weight: 700;
}

.t-person h6 {
  font-family: var(--label);
  font-weight: 700;
  font-size: .9rem;
  margin: 0;
  color: var(--deep-blue);
}

.t-person span {
  font-size: .76rem;
  color: var(--ink-soft);
}

.t-stars {
  color: var(--gold);
  font-size: .78rem;
  margin-top: 4px;
}

/* ============ APPOINTMENT CTA ============ */
.appt-section {
  position: relative;
}

.appt-card {
  background: var(--paper);
  border-radius: 28px;
  padding: 60px;
  box-shadow: 0 30px 70px rgba(14, 61, 107, 0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.appt-form .form-control,
.appt-form .form-select {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 13px 16px;
  font-size: .92rem;
  background: var(--ivory);
}

.appt-form .form-control:focus,
.appt-form .form-select:focus {
  border-color: var(--emerald-2);
  box-shadow: 0 0 0 4px rgba(26, 154, 115, 0.12);
}

.appt-form label {
  font-family: var(--label);
  font-weight: 600;
  font-size: .78rem;
  color: var(--deep-blue);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--deep-blue), var(--emerald));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--label);
  font-weight: 700;
  font-size: .92rem;
  padding: 15px;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 10px 24px rgba(15, 123, 92, 0.24);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 123, 92, 0.32);
}

.appt-info .info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.appt-info .info-row i {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  background: rgba(26, 154, 115, 0.1);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.appt-info h6 {
  font-family: var(--label);
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 3px;
  font-size: .92rem;
}

.appt-info p {
  font-size: .86rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ============ FOOTER ============ */
footer {
  background: #0A2B4C;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px;
}

footer h6 {
  font-family: var(--label);
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 22px;
}

footer a {
  color: rgba(255, 255, 255, 0.65);
  font-size: .88rem;
  display: block;
  margin-bottom: 12px;
  transition: color .25s ease, padding-left .25s ease;
}

footer a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.6);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: background .3s ease, transform .3s ease;
}

.social-row a:hover {
  background: var(--emerald-2);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 26px;
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============ MISC ============ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep-blue), var(--emerald));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(14, 61, 107, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .35s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (max-width: 991px) {
  .appt-card {
    grid-template-columns: 1fr;
    padding: 36px 26px;
  }

  .why-strip {
    padding: 40px 26px;
  }

  .hero-visual {
    height: 380px;
    margin-top: 40px;
  }

  .emblem-card {
    width: 220px;
    height: 220px;
  }

  .orbit-ring {
    width: 320px;
    height: 320px;
  }

  .orbit-ring.r2 {
    width: 250px;
    height: 250px;
  }

  section {
    padding: 80px 0;
  }
}