:root {
  --gd-navy: #101728;
  --gd-navy-2: #172033;
  --gd-navy-3: #202a3f;
  --gd-taupe: #9a9687;
  --gd-taupe-2: #b3ad9d;
  --gd-taupe-3: #c6bfae;
  --gd-bg: #f7f6f2;
  --gd-soft: #efede7;
  --gd-white: #ffffff;
  --gd-text: #111827;
  --gd-muted: #6b7280;
  --gd-border: rgba(16, 23, 40, 0.12);
  --gd-shadow: 0 18px 55px rgba(16, 23, 40, 0.12);
  --gd-shadow-soft: 0 12px 36px rgba(16, 23, 40, 0.08);
  --gd-radius: 28px;
  --gd-radius-sm: 18px;
  --gd-transition: all 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--gd-text);
  background: var(--gd-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--gd-transition);
}

a:hover {
  color: var(--gd-taupe);
}

::selection {
  color: var(--gd-white);
  background: var(--gd-taupe);
}

.container-xl {
  max-width: 1220px;
}

.section-padding {
  padding: 96px 0;
}

.section-padding-sm {
  padding: 68px 0;
}

.bg-soft {
  background: var(--gd-soft);
}

.bg-navy {
  background: var(--gd-navy);
  color: var(--gd-white);
}

.text-taupe {
  color: var(--gd-taupe) !important;
}

.text-navy {
  color: var(--gd-navy) !important;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--gd-taupe);
  background: rgba(154, 150, 135, 0.12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gd-taupe);
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gd-navy);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-title.light {
  color: var(--gd-white);
}

.section-text {
  color: var(--gd-muted);
  max-width: 720px;
  margin-bottom: 0;
}

.bg-navy .section-text,
.bg-navy .lead,
.hero-section .lead {
  color: rgba(255, 255, 255, 0.74);
}

.btn {
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: var(--gd-transition);
}

.btn-gd-primary {
  background: var(--gd-taupe);
  border-color: var(--gd-taupe);
  color: var(--gd-white);
  box-shadow: 0 12px 26px rgba(154, 150, 135, 0.25);
}

.btn-gd-primary:hover,
.btn-gd-primary:focus {
  background: var(--gd-taupe-2);
  border-color: var(--gd-taupe-2);
  color: var(--gd-white);
  transform: translateY(-2px);
}

.btn-gd-dark {
  background: var(--gd-navy);
  border-color: var(--gd-navy);
  color: var(--gd-white);
}

.btn-gd-dark:hover,
.btn-gd-dark:focus {
  background: var(--gd-navy-3);
  border-color: var(--gd-navy-3);
  color: var(--gd-white);
  transform: translateY(-2px);
}

.btn-gd-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--gd-white);
}

.btn-gd-outline:hover {
  background: var(--gd-white);
  border-color: var(--gd-white);
  color: var(--gd-navy);
}

.btn-gd-outline-dark {
  background: transparent;
  border-color: var(--gd-border);
  color: var(--gd-navy);
}

.btn-gd-outline-dark:hover {
  background: var(--gd-navy);
  border-color: var(--gd-navy);
  color: var(--gd-white);
}

.topbar {
  background: var(--gd-navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  padding: 10px 0;
}

.topbar a {
  color: rgba(255, 255, 255, 0.82);
}

.topbar a:hover {
  color: var(--gd-taupe-3);
}

.topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 23, 40, 0.08);
  transition: var(--gd-transition);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 45px rgba(16, 23, 40, 0.10);
}

.navbar {
  padding: 14px 0;
}

.navbar-brand img {
  width: 168px;
  height: auto;
}

.navbar-toggler {
  border: 1px solid var(--gd-border);
  border-radius: 14px;
  padding: 10px 12px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav {
  gap: 3px;
}

.navbar .nav-link {
  color: var(--gd-navy);
  font-weight: 700;
  font-size: 15px;
  padding: 10px 14px !important;
  border-radius: 999px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gd-navy);
  background: rgba(154, 150, 135, 0.16);
}

.header-cta {
  margin-left: 12px;
}

.hero-section {
  position: relative;
  min-height: 740px;
  padding: 92px 0 74px;
  color: var(--gd-white);
  background:
    radial-gradient(circle at 86% 18%, rgba(198, 191, 174, 0.22) 0, rgba(198, 191, 174, 0) 34%),
    radial-gradient(circle at 12% 92%, rgba(154, 150, 135, 0.20) 0, rgba(154, 150, 135, 0) 36%),
    linear-gradient(135deg, var(--gd-navy) 0%, var(--gd-navy-2) 58%, #0b1020 100%);
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::before {
  width: 520px;
  height: 520px;
  right: -160px;
  top: -160px;
  border: 46px solid rgba(255, 255, 255, 0.05);
}

.hero-section::after {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: 80px;
  border: 38px solid rgba(198, 191, 174, 0.09);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--gd-taupe-3);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.2vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
  max-width: 820px;
}

.hero-title span {
  color: var(--gd-taupe-3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 42px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
}

.hero-meta-card {
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-meta-card strong {
  display: block;
  color: var(--gd-white);
  font-size: 24px;
  line-height: 1.2;
}

.hero-meta-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.hero-appointment {
  position: relative;
  z-index: 2;
  background: var(--gd-white);
  color: var(--gd-text);
  border-radius: var(--gd-radius);
  padding: 28px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.28);
}

.hero-appointment h3 {
  color: var(--gd-navy);
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 8px;
}

.hero-appointment .small-text {
  color: var(--gd-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(16, 23, 40, 0.12);
  color: var(--gd-text);
  background-color: var(--gd-white);
  padding: 12px 15px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gd-taupe);
  box-shadow: 0 0 0 0.25rem rgba(154, 150, 135, 0.18);
}

.form-label {
  font-weight: 700;
  color: var(--gd-navy);
  font-size: 14px;
  margin-bottom: 8px;
}

.form-text {
  color: var(--gd-muted);
}

.form-result {
  display: none;
  margin-top: 16px;
  border-radius: 18px;
  padding: 16px;
  background: rgba(154, 150, 135, 0.12);
  border: 1px solid rgba(154, 150, 135, 0.22);
  color: var(--gd-navy);
  font-size: 14px;
}

.form-result.show {
  display: block;
}

.home-service-strip {
  position: relative;
  z-index: 4;
  margin-top: -54px;
}

.quick-service-card {
  height: 100%;
  border: 1px solid rgba(16, 23, 40, 0.08);
  border-radius: var(--gd-radius-sm);
  background: var(--gd-white);
  padding: 30px;
  box-shadow: var(--gd-shadow-soft);
  transition: var(--gd-transition);
}

.quick-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gd-shadow);
}

.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gd-white);
  background: var(--gd-navy);
  margin-bottom: 20px;
  font-size: 27px;
}

.quick-service-card h3,
.service-card h3,
.doctor-card h3,
.value-card h3 {
  color: var(--gd-navy);
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.quick-service-card p,
.service-card p,
.doctor-card p,
.value-card p {
  color: var(--gd-muted);
  margin-bottom: 0;
}

.about-image-stack {
  position: relative;
}

.about-image-stack img {
  border-radius: var(--gd-radius);
  box-shadow: var(--gd-shadow);
}

.about-floating-card {
  position: absolute;
  right: -18px;
  bottom: 34px;
  max-width: 260px;
  background: var(--gd-white);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--gd-shadow);
  border: 1px solid rgba(16, 23, 40, 0.06);
}

.about-floating-card strong {
  color: var(--gd-navy);
  font-size: 34px;
  line-height: 1;
  display: block;
}

.about-floating-card span {
  color: var(--gd-muted);
  font-size: 14px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--gd-navy);
  font-weight: 650;
}

.check-list i {
  color: var(--gd-taupe);
  font-size: 20px;
  line-height: 1.4;
}

.service-card {
  position: relative;
  height: 100%;
  padding: 30px;
  background: var(--gd-white);
  border: 1px solid rgba(16, 23, 40, 0.08);
  border-radius: var(--gd-radius-sm);
  box-shadow: 0 10px 28px rgba(16, 23, 40, 0.05);
  transition: var(--gd-transition);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gd-taupe);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--gd-transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gd-shadow-soft);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(154, 150, 135, 0.13);
  color: var(--gd-taupe);
  font-size: 28px;
  margin-bottom: 18px;
}

.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gd-navy);
  font-weight: 800;
  font-size: 14px;
}

.appointment-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(198, 191, 174, 0.20), transparent 34%),
    linear-gradient(135deg, var(--gd-navy), var(--gd-navy-2));
  color: var(--gd-white);
  border-radius: 36px;
  padding: 42px;
  box-shadow: var(--gd-shadow);
}

.appointment-band::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -70px;
  bottom: -120px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.06);
}

.appointment-band .form-control,
.appointment-band .form-select {
  background: rgba(255, 255, 255, 0.96);
}

.doctor-card {
  height: 100%;
  background: var(--gd-white);
  border: 1px solid rgba(16, 23, 40, 0.08);
  border-radius: var(--gd-radius);
  box-shadow: var(--gd-shadow-soft);
  overflow: hidden;
  transition: var(--gd-transition);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gd-shadow);
}

.doctor-img {
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
  width: 100%;
  background: var(--gd-navy);
}

.doctor-info {
  padding: 26px;
}

.doctor-specialty {
  color: var(--gd-taupe);
  font-weight: 800;
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(154, 150, 135, 0.12);
  color: var(--gd-navy);
  font-size: 12px;
  font-weight: 700;
}

.value-card {
  height: 100%;
  border-radius: var(--gd-radius-sm);
  padding: 30px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.value-card h3 {
  color: var(--gd-white);
}

.value-card p {
  color: rgba(255, 255, 255, 0.70);
}

.value-card .service-icon {
  background: rgba(255, 255, 255, 0.10);
  color: var(--gd-taupe-3);
}

.testimonial-card {
  height: 100%;
  padding: 30px;
  border-radius: var(--gd-radius-sm);
  background: var(--gd-white);
  border: 1px solid rgba(16, 23, 40, 0.08);
  box-shadow: 0 10px 30px rgba(16, 23, 40, 0.05);
}

.testimonial-card .stars {
  color: var(--gd-taupe);
  margin-bottom: 18px;
}

.testimonial-card p {
  color: var(--gd-muted);
  margin-bottom: 20px;
}

.patient {
  display: flex;
  align-items: center;
  gap: 12px;
}

.patient-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gd-navy);
  color: var(--gd-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.patient strong {
  display: block;
  color: var(--gd-navy);
  line-height: 1.2;
}

.patient span {
  color: var(--gd-muted);
  font-size: 13px;
}

.gallery-card {
  position: relative;
  border-radius: var(--gd-radius-sm);
  overflow: hidden;
  background: var(--gd-navy);
  box-shadow: var(--gd-shadow-soft);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
  opacity: 0.82;
}

.gallery-card .gallery-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 14px 16px;
  background: rgba(247, 246, 242, 0.92);
  color: var(--gd-navy);
  border-radius: 16px;
  transform: translateY(12px);
  opacity: 0;
  transition: var(--gd-transition);
}

.gallery-card:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-overlay strong {
  display: block;
  line-height: 1.2;
}

.gallery-overlay span {
  font-size: 13px;
  color: var(--gd-muted);
}

.page-hero {
  position: relative;
  padding: 92px 0;
  color: var(--gd-white);
  background:
    radial-gradient(circle at 85% 22%, rgba(198, 191, 174, 0.22), transparent 30%),
    linear-gradient(135deg, var(--gd-navy), #0b1020);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -90px;
  width: 360px;
  height: 360px;
  border: 38px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.breadcrumb-mini {
  display: inline-flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 16px;
  font-weight: 700;
}

.page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0;
}

.treatment-search {
  max-width: 620px;
  margin: -30px auto 48px;
  position: relative;
  z-index: 5;
}

.treatment-search .form-control {
  min-height: 64px;
  border-radius: 999px;
  padding-left: 52px;
  box-shadow: var(--gd-shadow-soft);
}

.treatment-search i {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gd-taupe);
  font-size: 20px;
  z-index: 2;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.timeline-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gd-navy);
  color: var(--gd-white);
  font-weight: 800;
}

.timeline-item h3 {
  color: var(--gd-navy);
  font-size: 22px;
  margin-bottom: 7px;
}

.timeline-item p {
  color: var(--gd-muted);
  margin-bottom: 0;
}

.contact-card {
  height: 100%;
  padding: 28px;
  border-radius: var(--gd-radius-sm);
  background: var(--gd-white);
  border: 1px solid rgba(16, 23, 40, 0.08);
  box-shadow: var(--gd-shadow-soft);
}

.contact-card .icon-box {
  width: 52px;
  height: 52px;
  font-size: 24px;
}

.contact-card h3 {
  color: var(--gd-navy);
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--gd-muted);
}

.map-frame {
  min-height: 420px;
  width: 100%;
  border: 0;
  border-radius: var(--gd-radius);
  box-shadow: var(--gd-shadow-soft);
}

.site-footer {
  background: var(--gd-navy);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 74px;
}

.footer-logo {
  width: 176px;
  margin-bottom: 20px;
}

.site-footer h3 {
  color: var(--gd-white);
  font-size: 18px;
  margin-bottom: 18px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 11px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--gd-taupe-3);
  padding-left: 3px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--gd-taupe-3);
  margin-top: 3px;
}

.footer-bottom {
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 22px 0;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gd-white);
  background: rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
  background: var(--gd-taupe);
  color: var(--gd-white);
  padding-left: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--gd-taupe);
  color: var(--gd-white);
  box-shadow: var(--gd-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--gd-transition);
  z-index: 1030;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modal-content {
  border: 0;
  border-radius: var(--gd-radius);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid rgba(16, 23, 40, 0.08);
}

.modal-title {
  color: var(--gd-navy);
  font-weight: 800;
}

@media (max-width: 1199.98px) {
  .hero-section {
    min-height: auto;
  }

  .hero-appointment {
    margin-top: 42px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 16px;
    padding: 16px;
    border-radius: 22px;
    background: var(--gd-white);
    box-shadow: var(--gd-shadow-soft);
  }

  .header-cta {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
  }

  .header-cta .btn {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 72px 0;
  }

  .appointment-band {
    padding: 30px;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none;
  }

  .navbar-brand img {
    width: 148px;
  }

  .hero-section {
    padding: 66px 0 88px;
  }

  .hero-title {
    font-size: 43px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-appointment {
    padding: 22px;
  }

  .home-service-strip {
    margin-top: -40px;
  }

  .about-floating-card {
    position: static;
    margin-top: 18px;
    max-width: none;
  }

  .section-title {
    font-size: 34px;
  }

  .page-hero {
    padding: 68px 0;
  }

  .appointment-band {
    border-radius: 24px;
  }

  .map-frame {
    min-height: 340px;
  }
}

@media (max-width: 575.98px) {
  .quick-service-card,
  .service-card,
  .doctor-info,
  .testimonial-card,
  .contact-card {
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
