:root {
  --forest: #123d2b;
  --forest-2: #1d5940;
   /* --forest: #153C6A;
  --forest-2: #2160AD; */
  --sage: #d3ead6;
  --sage-2: #ebf6f1;
  --cream: #fbf7ee;
  --ivory: #fffdf8;
  --gold: #b88a44;
  --clay: #8a5b3e;
  --ink: #17231d;
  --muted: #657267;
  --line: rgba(18, 61, 43, 0.14);
  --shadow: 0 24px 70px rgba(18, 61, 43, 0.14);
  --font-head: "Lora", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  padding: 0 !important;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  background: radial-gradient(circle at top left, rgb(211 223 234 / 75%), transparent 32rem), linear-gradient(180deg, #f8fbff 0%, #f9f4ea 42%, #f8faff 100%);
  overflow-x: hidden;
}

body.drawer-open,
body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

svg {
  width: 1.15rem;
  height: 1.15rem;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 2000;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.25s ease;
}

.site-header .navbar {
  min-height: var(--header-height);
  padding: 1rem 0;
  transition: all 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 40px rgba(18, 61, 43, 0.12);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled .navbar {
  min-height: 72px;
  padding: 0rem 0;
}

.nav-shell {
  /* width: min(100% - 1.5rem, 1180px); */
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(18, 61, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 18px 55px rgba(18, 61, 43, 0.08);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled .nav-shell{
  background: transparent;
  box-shadow: 0 0px 0px rgba(18, 61, 43, 0.08);
  border-radius: 0;
  border: 0;
  backdrop-filter:unset;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.navbar-brand img {
  width: clamp(168px, 22vw, 240px);
  height: auto;
}

.desktop-nav .nav-link {
  position: relative;
  padding: 0.58rem 0.56rem;
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link:focus,
.desktop-nav .nav-link.active {
  color: #fff;
  background: var(--forest);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
  border-width: 1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary-green {
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  border-color: var(--forest);
  box-shadow: 0 14px 28px rgba(18, 61, 43, 0.22);
}

.btn-primary-green:hover,
.btn-primary-green:focus {
  color: #fff;
  background: linear-gradient(135deg, #0e3022, var(--forest-2));
  border-color: #0e3022;
}

.btn-outline-green {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(18, 61, 43, 0.2);
}

.btn-outline-green:hover,
.btn-outline-green:focus {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.icon-button:hover,
.icon-button:focus {
  background: var(--sage-2);
  transform: translateY(-1px);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(7, 25, 18, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1200;
  width: min(88vw, 360px);
  padding: 1.15rem;
  background: var(--ivory);
  box-shadow: 20px 0 80px rgba(7, 25, 18, 0.22);
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.drawer-header img {
  width: 188px;
  height: auto;
}

.drawer-nav {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem 0;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0.75rem;
  color: var(--forest);
  font-weight: 800;
  border-radius: 14px;
}

.drawer-nav a:hover,
.drawer-nav a:focus {
  background: var(--sage-2);
}

.drawer-cta {
  width: 100%;
  min-height: 50px;
}

.section-anchor {
  scroll-margin-top: 96px;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86vh;
  padding: 6.6rem 0 3.5rem;
  overflow: hidden;
}

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

.hero-section::before {
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(18, 61, 43, 0.08) 1px, transparent 1px),
    linear-gradient(30deg, rgba(184, 138, 68, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.hero-section::after {
  width: 34rem;
  height: 34rem;
  right: -12rem;
  top: 9rem;
  border: 1px solid rgba(184, 138, 68, 0.18);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
}

.hero-title {
  max-width: 12.5ch;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.hero-copy,
.lead-text {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  line-height: 1.85;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.35rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-meta,
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-meta span,
.stat-row span {
  display: grid;
  gap: 0.2rem;
  min-height: 86px;
  padding: 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.hero-meta strong,
.stat-row strong {
  color: var(--forest);
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.doctor-portrait {
  position: absolute;
  right: 0;
  top: 0;
  width: min(78%, 500px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 58% 42%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.recognition-photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(54%, 360px);
  max-height: 240px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 10px solid var(--ivory);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(18, 61, 43, 0.2);
}

.botanical-mark {
  position: absolute;
  right: 3rem;
  bottom: 1.2rem;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  color: var(--forest);
  background: var(--sage);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.botanical-mark svg {
  width: 54px;
  height: 54px;
}

.content-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.page-hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background: radial-gradient(circle at 16% 24%, rgb(211 227 234 / 85%), transparent 28rem), linear-gradient(180deg, var(--ivory), var(--cream));
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10rem;
  top: 7rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(184, 138, 68, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-title {
  max-width: 12ch;
  margin: 0;
  color: var(--forest);
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.page-intro {
  max-width: 48rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.85;
}

.page-hero-media {
  position: relative;
  min-height: 430px;
}

.page-hero-media img {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero-media .media-main {
  right: 0;
  top: 0;
  width: min(82%, 460px);
  aspect-ratio: 4 / 5;
  border-radius: 30px;
}

.page-hero-media .media-small {
  left: 0;
  bottom: 0;
  width: min(58%, 320px);
  aspect-ratio: 4 / 3;
  border: 9px solid var(--ivory);
  border-radius: 22px;
}

.breadcrumb-line {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb-line a {
  color: var(--forest);
}

.story-panel,
.quote-panel,
.info-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(18, 61, 43, 0.08);
}

.story-panel p,
.quote-panel p,
.info-panel p {
  color: var(--muted);
}

.quote-panel {
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
}

.quote-panel p,
.quote-panel h2 {
  color: #fff;
}

.quote-panel .eyebrow {
  color: #ddbf86;
}

.timeline-list {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.timeline-item strong {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.35rem;
}

.timeline-item h3 {
  margin: 0 0 0.2rem;
  color: var(--forest);
  font-size: 1.05rem;
  font-weight: 900;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value-card {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(18, 61, 43, 0.08);
}

.value-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.value-card h3 {
  margin: 0 0 0.55rem;
  color: var(--forest);
  font-family: var(--font-head);
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.team-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.team-strip span {
  padding: 0.55rem 0.8rem;
  color: var(--forest);
  font-weight: 800;
  background: var(--sage-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.gallery-lead-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}

.gallery-lead-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.gallery-lead-stack {
  display: grid;
  gap: 1.2rem;
}

.drawer-nav a.active {
  color: #fff;
  background: var(--forest);
}

.trust-section {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  padding-bottom: 2rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card,
.clinic-card,
.appointment-card,
.department-card,
.recognition-card,
.contact-card,
.contact-form {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(18, 61, 43, 0.08);
}

.trust-card {
  min-height: 260px;
  padding: 1.5rem;
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(18, 61, 43, 0.14);
}

.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.2rem;
  color: var(--forest);
  background: var(--sage-2);
  border-radius: 16px;
}

.trust-card h2,
.clinic-card h3,
.appointment-card h3,
.recognition-card h3,
.contact-card h3 {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-head);
  font-weight: 700;
}

.trust-card h2 {
  font-size: 1.25rem;
}

.trust-card p,
.section-heading p,
.appointment-card p,
.recognition-card p,
.contact-card p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.image-panel {
  position: relative;
}

.image-panel::before {
  content: "";
  position: absolute;
  inset: 2rem -1rem -1rem 1rem;
  z-index: -1;
  background: var(--sage);
  border-radius: 28px;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-copy {
  color: var(--muted);
}

.text-action {
  display: inline-flex;
  padding: 0;
  color: var(--forest);
  font-weight: 900;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--gold);
}

.stat-row {
  margin-top: 1.5rem;
}

.clinic-section,
.departments-section,
.app-section {
  background:linear-gradient(180deg, rgb(211 234 222 / 55%), rgb(248 254 255 / 0%));
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.clinic-card {
  overflow: hidden;
  border-radius: 20px;
}

.clinic-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.clinic-card:hover img {
  transform: scale(1.06);
}

.clinic-card h3 {
  padding: 1rem 1.1rem;
  font-size: 1.1rem;
}

.appointments-section {
  background: var(--ivory);
}

.appointment-stack {
  display: grid;
  gap: 1.4rem;
}

.appointment-card {
  display: grid;
  gap: 1.2rem;
  height: 100%;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: 24px;
}

.appointment-card-detailed {
  align-content: start;
  gap: 1.35rem;
}

.appointment-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.appointment-head > span,
.contact-card > svg {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--forest);
  background: var(--sage-2);
  border-radius: 16px;
}

.appointment-head svg {
  width: 24px;
  height: 24px;
}

.appointment-kicker {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.appointment-head p,
.address-note {
  margin: 0;
}

.appointment-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  justify-content: space-between;
}

.appointment-info {
  display: grid;
  gap: 0.75rem;
}

.appointment-info span,
.appointment-info a {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--muted);
}

.appointment-info a {
  color: var(--forest);
  font-weight: 800;
}

.appointment-info a:hover,
.appointment-info a:focus {
  color: var(--forest-2);
}

.appointment-info svg {
  flex: 0 0 auto;
  margin-top: 0.25rem;
  color: var(--gold);
}

.schedule-block {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.schedule-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.schedule-group-grid .schedule-block {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.schedule-block h4 {
  margin: 0 0 0.9rem;
  color: var(--forest);
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
}

.schedule-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-list li {
  display: grid;
  grid-template-columns: minmax(115px, 0.85fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(21, 60, 106, 0.13);
}

.schedule-list li:last-child {
  border-bottom: 0;
}

.schedule-list span {
  color: var(--muted);
  font-weight: 800;
}

.schedule-list strong {
  color: var(--forest);
  font-weight: 900;
}

.appointment-note {
  margin: 0;
  padding: 1rem 1.1rem;
  color: var(--forest);
  font-weight: 800;
  line-height: 1.75;
  background: rgba(238, 246, 235, 0.82);
  border: 1px solid rgba(21, 60, 106, 0.1);
  border-radius: 18px;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.department-card {
  display: grid;
  place-items: center;
  gap: 1rem;
  min-height: 190px;
  padding: 1.2rem;
  color: var(--forest);
  border-radius: 22px;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.department-card:hover,
.department-card:focus {
  transform: translateY(-5px);
  border-color: rgba(184, 138, 68, 0.45);
  background: #fff;
}

.department-card img {
  width: 86px;
  height: 86px;
  padding: 0.85rem;
  object-fit: contain;
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(18, 61, 43, 0.16);
}

.department-card span {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.recognition-card {
  overflow: hidden;
  border-radius: 22px;
}

.recognition-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}

.recognition-card div {
  padding: 1.25rem;
}

.masonry-gallery {
  column-count: 4;
  column-gap: 1rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(18, 61, 43, 0.1);
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.gallery-item.tall img {
  min-height: 360px;
}

.gallery-item.wide img {
  min-height: 260px;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(18, 61, 43, 0.34));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.05);
  filter: saturate(1.06);
}

.gallery-item:hover::after,
.gallery-item:focus::after {
  opacity: 1;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.6rem, 4vw, 2.5rem);
}

.app-section {
  overflow: hidden;
}

.app-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.app-steps img {
  width: 100%;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(18, 61, 43, 0.1);
}

.app-steps img:nth-child(even) {
  margin-top: 2rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 20px;
}

.contact-card h3 {
  font-size: 1.1rem;
}

.contact-card a {
  display: inline-block;
  color: var(--forest);
  font-weight: 800;
}

.contact-card p {
  margin: 0;
}

.home-contact-shell {
  position: relative;
  padding: clamp(1rem, 3vw, 1.5rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 247, 238, 0.9)),
    radial-gradient(circle at top right, rgba(184, 138, 68, 0.18), transparent 18rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(21, 60, 106, 0.12);
}

.home-contact-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(21, 60, 106, 0.06) 1px, transparent 1px),
    linear-gradient(30deg, rgba(184, 138, 68, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.home-contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-contact-card {
  display: grid;
  align-content: start;
  min-height: 245px;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 60, 106, 0.11);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(21, 60, 106, 0.09);
}

.home-contact-card > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(21, 60, 106, 0.16);
}

.home-contact-card svg {
  width: 24px;
  height: 24px;
}

.home-contact-card p {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-contact-card h3 {
  margin: 0 0 0.45rem;
  color: var(--forest);
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.22;
}

.home-contact-card a {
  color: inherit;
  overflow-wrap: anywhere;
}

.home-contact-card a:hover,
.home-contact-card a:focus {
  color: var(--forest-2);
}

.home-contact-card address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
}

.home-contact-shell .section-cta {
  position: relative;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(18, 61, 43, 0.08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 24px;
}

.form-label {
  color: var(--forest);
  font-weight: 800;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-control {
  min-height: 52px;
  border-color: var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.75);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.22rem rgba(184, 138, 68, 0.16);
}

textarea.form-control {
  min-height: 150px;
}

.form-status {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.form-status.is-success {
  color: #1d5940;
}

.form-status.is-error {
  color: #9d2f2f;
}

.site-footer {
  position: relative;
  padding: 4rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 85% 10%, rgba(184, 138, 68, 0.2), transparent 22rem),
    linear-gradient(135deg, #0e3022, var(--forest));
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(30deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
}

.footer-logo {
  width: 240px;
  height: auto;
  padding: 0.45rem;
  background: #fff;
  border-radius: 12px;
}

.site-footer h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.site-footer a {
  display: block;
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.department-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.department-modal .modal-body {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.department-modal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.department-modal-art {
  display: grid;
  place-items: center;
  min-height: 280px;
  background:
    radial-gradient(circle at 72% 20%, rgba(217, 234, 211, 0.28), transparent 9rem),
    linear-gradient(135deg, var(--forest), var(--forest-2));
  border: 1px solid var(--line);
  border-radius: 24px;
}

.department-modal-art img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.department-modal h2 {
  margin: 0 0 1rem;
  color: var(--forest);
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
}

.department-modal-text {
  color: var(--muted);
  line-height: 1.85;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--forest);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 15, 11, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox figure {
  width: min(100%, 1100px);
  margin: 0;
  text-align: center;
}

.gallery-lightbox img {
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox figcaption {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(14px);
}

.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox-nav.prev {
  left: 1.2rem;
}

.lightbox-nav.next {
  right: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(184, 138, 68, 0.74);
  outline-offset: 3px;
}

@media (max-width: 1199.98px) {
  .trust-grid,
  .department-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry-gallery {
    column-count: 3;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 76px;
  }

  .nav-shell {
    border-radius: 22px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 7.5rem;
  }

  .hero-title {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 520px;
  }

  .doctor-portrait {
    width: min(74%, 470px);
  }

  .trust-section {
    margin-top: 0;
  }

  .clinic-grid,
  .recognition-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-group-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
  }

  .home-contact-card {
    min-height: auto;
  }

  .department-modal-grid {
    grid-template-columns: 1fr;
  }

  .department-modal-art {
    min-height: 180px;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }

  .hero-section {
    padding-bottom: 3.5rem;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

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

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

  .hero-visual {
    min-height: 430px;
  }

  .doctor-portrait {
            width: 96%;
        max-height: 520px;
        left: 16%;
        right: auto;
        border-top-right-radius: 0 !important;
  }

  .recognition-photo {
    left: 0;
    bottom: 0.25rem;
    width: 60%;
  }

  .botanical-mark {
    right: 0.5rem;
    bottom: 0;
    width: 78px;
    height: 78px;
  }

  .page-hero {
    padding: 7.2rem 0 3.5rem;
  }

  .page-title {
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .page-hero-media {
    min-height: 390px;
  }

  .page-hero-media .media-main {
    width: 78%;
  }

  .trust-grid,
  .clinic-grid,
  .department-grid,
  .recognition-grid,
  .values-grid,
  .gallery-lead-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    min-height: auto;
  }

  .masonry-gallery {
    column-count: 2;
    column-gap: 0.75rem;
  }

  .gallery-item {
    margin-bottom: 0.75rem;
    border-radius: 16px;
  }

  .gallery-item img,
  .gallery-item.tall img,
  .gallery-item.wide img {
    min-height: 180px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1.2rem;
  }

  .gallery-lightbox img {
    max-height: 68vh;
  }
}

@media (max-width: 575.98px) {
  .container > .row,
  .container-fluid > .row {
    margin-left: 0;
    margin-right: 0;
  }

  .nav-shell {
    width: min(100% - 1rem, 1180px);
    padding: 0.45rem;
  }

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

  .icon-button {
    width: 42px;
    height: 42px;
  }

  .content-section {
    padding: 4rem 0;
  }

  .app-steps {
    gap: 0.75rem;
  }

  .app-steps img:nth-child(even) {
    margin-top: 1rem;
  }

  .masonry-gallery {
    column-count: 1;
  }

  .appointment-head,
  .contact-card {
    align-items: flex-start;
  }

  .schedule-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .department-modal .modal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .department-modal .modal-content {
    min-height: 100%;
    border-radius: 0;
  }

  .department-modal .modal-body {
    padding-top: 4rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
