/* ==================== RESET & BASE ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0f2340;
  --navy-deep: #0a1830;
  --gold: #c9a24b;
  --gold-light: #e4cd8e;
  --cream: #faf7f1;
  --text-dark: #1c2530;
  --text-gray: #6b7280;
  --line: #e7e2d8;
  --white: #ffffff;
  --util-h: 38px;
  --header-h: 88px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Gothic A1', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  padding-top: calc(var(--util-h) + var(--header-h));
}

h1, h2, h3, h4 { font-family: 'Hahmlet', serif; font-weight: 700; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 24px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: 13px; margin-bottom: 14px; }
.section-head h2 { font-size: 32px; color: var(--navy); }
.section-head p { color: var(--text-gray); margin-top: 14px; font-size: 15px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  border-radius: 2px;
  transition: all .25s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-line { border: 1px solid rgba(255,255,255,.6); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }

/* ==================== UTILITY BAR ==================== */
.util-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--util-h);
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  z-index: 1001;
}
.util-bar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.util-bar .util-hours span { color: var(--gold-light); margin-right: 6px; }
.util-bar .util-tel { font-weight: 700; color: var(--white); letter-spacing: .5px; }

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: var(--util-h); left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Hahmlet', serif;
  font-weight: 700; font-size: 16px;
}
.logo-text { font-family: 'Hahmlet', serif; font-size: 19px; font-weight: 700; color: var(--navy); }
.logo-text em { font-style: normal; font-weight: 400; margin-left: 4px; color: var(--text-gray); font-size: 14px; }

.main-nav ul { display: flex; gap: 44px; }
.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--text-dark);
  position: relative; padding: 6px 0;
}
.main-nav a.active,
.main-nav a:hover { color: var(--navy); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -14px;
  height: 2px; background: var(--gold);
}

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-cta .btn { padding: 11px 24px; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); }

.mobile-nav {
  position: fixed; top: 0; right: -100%;
  width: 78%; max-width: 320px; height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 20px rgba(0,0,0,.12);
  padding: 100px 32px 40px;
  transition: right .3s ease;
  z-index: 1200;
}
.mobile-nav.open { right: 0; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 26px; }
.mobile-nav a { font-size: 16px; font-weight: 500; }
.mobile-nav .mobile-tel { display: block; margin-top: 40px; font-weight: 700; color: var(--navy); }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(10,24,48,.4);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
  z-index: 1100;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }

/* ==================== PAGE HEADER BANNER (sub pages) ==================== */
.page-banner {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 64px 24px 56px;
  text-align: center;
}
.page-banner .eyebrow { color: var(--gold-light); font-size: 13px; letter-spacing: 3px; font-weight: 700; margin-bottom: 10px; }
.page-banner h1 { font-size: 30px; }
.breadcrumb {
  margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ==================== HOME HERO ==================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--util-h) - var(--header-h));
  display: flex; align-items: center;
  background-color: #0c1e3a;
  background-image: repeating-linear-gradient(120deg, #0c1e3a 0 60px, #12294a 60px 120px);
  color: var(--white);
  padding: 60px 24px;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,24,48,.92), rgba(15,35,64,.7));
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; width: 100%; }
.hero .eyebrow { color: var(--gold-light); font-weight: 700; letter-spacing: 3px; font-size: 14px; margin-bottom: 20px; }
.hero h1 { font-size: 44px; line-height: 1.5; margin-bottom: 20px; max-width: 640px; }
.hero p { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; }

/* ==================== FEATURE STRIP ==================== */
.feature-strip { background: var(--cream); padding: 0; }
.feature-strip .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  padding: 44px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.feature-item:last-child { border-right: none; }
.feature-num { font-family: 'Hahmlet', serif; color: var(--gold); font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.feature-item h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: var(--text-gray); }

/* ==================== DOCTOR CARDS (home teaser + full page) ==================== */
.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.doctor-card { text-align: center; }
.doctor-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(150deg, var(--cream), #efe9dd);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-gray); font-size: 13px;
  margin-bottom: 20px;
}
.dr-illust { width: 52%; max-width: 170px; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.doctor-card .doctor-role { color: var(--gold); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.doctor-card p { font-size: 13.5px; color: var(--text-gray); }

.more-link { display: block; text-align: center; margin-top: 48px; }
.more-link a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--navy); padding-bottom: 4px; font-size: 14px; }

.doctor-full {
  display: grid; grid-template-columns: 320px 1fr; gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.doctor-full:last-child { border-bottom: none; }
.doctor-full:nth-child(even) { direction: rtl; }
.doctor-full:nth-child(even) > * { direction: ltr; }
.doctor-full-info h3 { font-size: 24px; color: var(--navy); margin-bottom: 4px; }
.doctor-full-info .doctor-role { color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.career-list li { padding-left: 18px; position: relative; color: var(--text-gray); margin-bottom: 9px; font-size: 14.5px; }
.career-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }

/* ==================== TREATMENT GRID ==================== */
.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.treat-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 28px;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.treat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15,35,64,.08); border-color: var(--gold); }
.treat-icon { font-size: 30px; margin-bottom: 18px; }
.treat-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.treat-card p { font-size: 13.5px; color: var(--text-gray); }
.treat-card a.treat-more { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--gold); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 70px 24px;
  text-align: center;
}
.cta-banner h2 { font-size: 26px; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; }

/* ==================== LOCATION ==================== */
.loc-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.map-placeholder {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-gray); font-weight: 700;
}
.map-illust { width: 100%; height: 100%; display: block; }
.info-card { border: 1px solid var(--line); padding: 36px; }
.info-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 24px; }
.info-list div { display: flex; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-list div:last-child { border-bottom: none; }
.info-list dt { width: 84px; flex-shrink: 0; font-weight: 700; color: var(--navy); font-size: 14px; }
.info-list dd { font-size: 14px; color: var(--text-dark); }
.info-card .btn { margin-top: 28px; width: 100%; justify-content: center; }

.faq-list { margin-top: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 15.5px; font-weight: 700; color: var(--navy);
}
.faq-q .q-icon { color: var(--gold); font-size: 18px; transition: transform .25s ease; }
.faq-item.open .q-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  font-size: 14px; color: var(--text-gray);
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 22px; }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.55); padding: 50px 24px 34px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-name { color: var(--white); font-family: 'Hahmlet', serif; font-size: 17px; margin-bottom: 10px; }
.footer-meta p { font-size: 13px; margin-bottom: 6px; }
.footer-nav { display: flex; gap: 22px; align-self: flex-start; }
.footer-nav a { font-size: 13px; }
.footer-copy { max-width: 1140px; margin: 30px auto 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 12px; opacity: .5; text-align: center; }

/* consult floating button */
.consult-float {
  position: fixed; left: 24px; bottom: 28px;
  background: var(--gold); color: var(--navy-deep);
  padding: 14px 20px; font-weight: 700; font-size: 13.5px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 22px rgba(201,162,75,.4);
  z-index: 900;
}
.consult-float:hover { background: var(--gold-light); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .feature-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: none; }
  .doctor-grid, .treat-grid { grid-template-columns: 1fr; }
  .doctor-full, .doctor-full:nth-child(even) { grid-template-columns: 1fr; direction: ltr; gap: 28px; }
  .loc-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section { padding: 64px 20px; }
  .footer-inner { flex-direction: column; }
  .consult-float { left: 14px; bottom: 14px; padding: 12px 16px; font-size: 12px; }
}
