:root {
  --ink: #13201c;
  --muted: #66736e;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --sage: #426b5d;
  --sage-dark: #244a3d;
  --marigold: #c58a2e;
  --aqua: #d9ebe5;
  --border: #d8ded8;
  --shadow: 0 18px 45px rgba(35, 53, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--sage);
  border-radius: 50%;
  font-size: 0.9rem;
}

.nav-links {
  gap: clamp(12px, 3vw, 28px);
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.contact-details a:hover {
  color: var(--sage-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 71px);
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(217, 235, 229, 0.92), rgba(251, 250, 246, 0.9)),
    radial-gradient(circle at 90% 20%, rgba(197, 138, 46, 0.18), transparent 30%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--marigold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--sage-dark);
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--sage-dark);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  color: var(--sage-dark);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.qualification {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
}

.intro {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--sage-dark);
}

.button.secondary {
  color: var(--sage-dark);
  background: transparent;
  border-color: var(--sage-dark);
}

.doctor-panel {
  min-height: 380px;
  padding: clamp(28px, 5vw, 44px);
  color: #fff;
  background:
    linear-gradient(155deg, rgba(36, 74, 61, 0.96), rgba(66, 107, 93, 0.9)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2'%3E%3Cpath d='M20 80h120M80 20v120'/%3E%3Ccircle cx='80' cy='80' r='44'/%3E%3C/g%3E%3C/svg%3E");
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.doctor-photo-frame {
  position: relative;
  overflow: hidden;
  width: min(180px, 42vw);
  aspect-ratio: 1;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.doctor-photo-frame.has-missing-image::after {
  content: "Doctor photo missing";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  background: rgba(19, 32, 28, 0.44);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.doctor-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.doctor-photo.is-missing {
  visibility: hidden;
}

.doctor-panel p {
  max-width: 360px;
  margin-bottom: 0;
  font-size: 1.18rem;
  font-weight: 700;
}

.section,
.gallery-section,
.contact-section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.services-grid article {
  min-height: 96px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sage);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(35, 53, 45, 0.07);
  font-weight: 800;
}

.services-grid article span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.service-group {
  margin-top: 34px;
}

.services-grid.compact article {
  min-height: 72px;
}

.gallery-section {
  overflow: hidden;
  background: #eef4f1;
}

.gallery-section .section-heading {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.slider {
  position: relative;
  width: min(100%, 1040px);
  margin: 0 auto;
  overflow: visible;
  border-radius: 8px;
}

.slides {
  display: flex;
  align-items: center;
  gap: 22px;
  transition: transform 700ms ease;
  will-change: transform;
}

.slide {
  position: relative;
  flex: 0 0 min(66vw, 520px);
  height: clamp(250px, 36vw, 390px);
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(66, 107, 93, 0.88), rgba(197, 138, 46, 0.72)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 10px, transparent 10px 22px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.slide img.is-missing {
  visibility: hidden;
}

.slide.has-missing-image::after {
  content: "Photo file missing";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.slider-dots {
  justify-content: center;
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  background: #aebcb6;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--sage-dark);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.contact-details address,
.contact-details p {
  color: var(--muted);
  font-size: 1.06rem;
  font-style: normal;
}

.contact-details strong {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--sage-dark);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd8d3;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--sage);
  outline: 3px solid rgba(66, 107, 93, 0.16);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .doctor-panel {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .slider-dots {
    bottom: 12px;
  }

  .slider-dots {
    right: 12px;
  }
}
