/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --emerald: #1A281E;
  --lime: #FEFCE0;
  --emerald-mid: #2d4733;
  --emerald-light: #3a5c42;
  --emerald-tint: #edf2ee;
  --sage: #5c8c65;
  --mint: #b4d1b9;
  --pale: #deeade;
  --text-dark: #1A281E;
  --text-body: #3a3a3a;
  --text-muted: #6b7280;
  --border: rgba(26, 40, 30, 0.15);

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Raleway', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 2px 16px rgba(26, 40, 30, 0.08);
  --shadow-md: 0 4px 32px rgba(26, 40, 30, 0.12);
  --transition: 0.25s ease;

  --max-width: 1200px;
  --section-pad: clamp(60px, 8vw, 100px);
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  background: #eaf2eb;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

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

.mobile-only { display: none; }

ul { list-style: none; }

address { font-style: normal; }

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section-pad { padding: var(--section-pad) 0; }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header h2 {
  margin-top: 8px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--mint);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--lime);
  color: var(--emerald);
  border-color: var(--lime);
}
.btn-primary:hover {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
}

.btn-outline {
  background: var(--emerald);
  color: var(--lime);
  border-color: var(--emerald);
}
.btn-outline:hover {
  background: var(--emerald-mid);
  color: var(--lime);
  border-color: var(--emerald-mid);
}

/* ─────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────── */
.header-sticky-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

/* Row 1 — logo centred */
.header-logo-row {
  display: flex;
  justify-content: center;
  padding: 20px clamp(20px, 5vw, 60px) 20px;
  border-bottom: 1px solid rgba(254, 252, 224, 0.1);
  background-color: var(--pale);
}

.logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Row 2 — nav bar */
.header-nav-row {
  position: relative;
  z-index: 1;
  padding: 10px clamp(20px, 5vw, 60px);
  background: var(--emerald);
}

.header-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 44px;
}

.main-nav {
  display: flex;
  justify-content: center;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px clamp(10px, 2.5vw, 40px);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

/* .main-nav a:hover,
.main-nav a.active {
  color: var(--lime);
  background: rgba(254, 252, 224, 0.08);
} */

/* Dropdowns */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #FEFCE0;
  border: 1px solid rgba(26, 40, 30, 0.15);
  border-radius: var(--radius-lg);
  padding: 8px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  box-shadow: var(--shadow-md);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.78rem;
  border-radius: 0;
  color: var(--emerald);
}
.dropdown a:hover { color: #1A281E; background: rgba(26, 40, 30, 0.08); }

.nav-cta-item { margin-left: clamp(8px, 2vw, 32px); }

.nav-cta-btn {
  font-size: clamp(0.65rem, 1vw, 0.72rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: var(--emerald) !important;
  background: var(--lime);
  padding: 8px clamp(10px, 1.5vw, 20px) !important;
  border-radius: var(--radius) !important;
  white-space: nowrap;
}
.nav-cta-btn:hover { opacity: 0.88; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: absolute;
  right: 0;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/Dr-Kashiefa-Japtha-Hero-Banner.jpg') center top/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 40, 30, 0.88) 0%,
    rgba(26, 40, 30, 0.55) 0%,
    rgba(26, 40, 30, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px clamp(20px, 8vw, 120px);
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(254, 252, 224, 0.65);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--emerald);
  margin-bottom: 24px;
  font-weight: 300;
}

.hero-blurb {
  font-size: 1.05rem;
  color: var(--emerald);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   INTRO SECTION
───────────────────────────────────────── */
.intro { background: var(--pale); }

.intro-heading {
  margin-bottom: 40px;
  text-align: center;
}

.intro-heading h2 {
  margin-top: 8px;
  font-family: 'Cinzel', serif;
  font-weight: 400;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}

.intro-text {
  border-left: 3px solid var(--mint);
  padding-left: 28px;
}

.intro-text p {
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.9;
}
.intro-text .btn {
  margin-top: 12px; 
}

/* ─────────────────────────────────────────
   MEET THE DOCTOR
───────────────────────────────────────── */
.meet-doctor { background: var(--emerald); }

.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.meet-text h2 { margin-bottom: 20px; color: var(--lime); }
.meet-text p { color: rgba(254, 252, 224, 0.82); margin-bottom: 16px; }
.meet-text .btn { margin-top: 12px; }
.meet-text .section-label { color: var(--mint); }
.meet-text .btn-outline {
  background: var(--lime);
  color: var(--emerald);
  border-color: var(--lime);
}
.meet-text .btn-outline:hover {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
}

.meet-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services { background: var(--emerald-tint); }

.services .section-header h2 { white-space: nowrap; }

@media (max-width: 768px) {
  .services .section-header h2 {
    white-space: normal;
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
}

.services-category { margin-bottom: 56px; }
.services-category:last-child { margin-bottom: 0; }

.category-heading {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mint);
  margin-bottom: 32px;
  font-family: var(--font-sans);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services-grid--two {
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

/* Gradient overlay — always present */
.service-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  background: linear-gradient(
    to top,
    rgba(26, 40, 30, 0.92) 0%,
    rgba(26, 40, 30, 0.4) 50%,
    rgba(26, 40, 30, 0) 100%
  );
  transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 40, 30, 0.97) 0%,
    rgba(26, 40, 30, 0.75) 60%,
    rgba(26, 40, 30, 0.3) 100%
  );
}

.service-card-overlay h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--lime);
  margin: 0;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-overlay h4 {
  transform: translateY(-8px);
}

/* Hidden content that fades up on hover */
.service-card-hover {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.service-card:hover .service-card-hover {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.service-card-hover p {
  font-size: 0.88rem;
  color: rgba(254, 252, 224, 0.85);
  line-height: 1.65;
  margin: 10px 0 14px;
}

.card-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  border-bottom: 1px solid rgba(254, 252, 224, 0.4);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

.card-link:hover { border-color: var(--lime); }

.card-link:hover { color: var(--emerald-light); }

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--emerald);
  padding: 64px 0 52px;
  text-align: center;
}

.page-hero h1 {
  color: var(--lime);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ── Legal content ── */
.legal-container {
  max-width: 780px;
}

.legal-intro {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  border-left: 3px solid var(--emerald);
  padding-left: 20px;
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--emerald);
}

.legal-section p {
  color: var(--text-body);
  margin-bottom: 14px;
}

.legal-list {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0 16px;
  color: var(--text-body);
}

.legal-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.cta-banner {
  background: var(--emerald);
  padding: 52px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-inner p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--lime);
  margin: 0;
  font-weight: 300;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--emerald);
  color: rgba(254, 252, 224, 0.75);
  border-top: 1px solid rgba(254, 252, 224, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr 2fr;
  gap: clamp(32px, 5vw, 64px);
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-logo img{
  width: auto;
  height: 120px;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 350px;
}

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

.footer-detail svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.footer-links h5,
.footer-contact h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--lime); }

.footer-contact address { display: flex; flex-direction: column; gap: 10px; }

.footer-contact p { font-size: 0.88rem; margin: 0; }

.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--lime); }

.footer-bottom {
  border-top: 1px solid rgba(254, 252, 224, 0.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
}

.footer-bottom-inner p {
  font-size: 0.78rem;
  color: rgba(254, 252, 224, 0.4);
  margin: 0;
}

.footer-bottom-inner p:nth-child(2) { text-align: center; }
.footer-bottom-inner p:nth-child(3) { text-align: right; }

.footer-bottom-inner a {
  color: rgba(254, 252, 224, 0.4);
  transition: color var(--transition);
}

.footer-bottom-inner a:hover { color: var(--lime); }

.footer-avily {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-avily a {
  display: flex;
  align-items: center;
}

.footer-avily img {
  height: 15px;
  width: auto;
  object-fit: contain;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}

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

  .intro-image { aspect-ratio: 4/3; }
  .meet-image { aspect-ratio: 4/3; order: -1; }

  .intro-image img { object-position: center 30%; }
  .meet-image img { object-position: top center; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Scrolled header */
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

/* Mobile nav open state */
.main-nav.nav-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px; /* overridden by JS */
  left: 0;
  right: 0;
  height: auto;
  background: var(--emerald);
  padding: 16px 24px 24px;
  overflow-y: auto;
  z-index: 99;
}

.main-nav.nav-open > ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}

.main-nav.nav-open > ul > li {
  width: 100%;
  border-bottom: 1px solid rgba(254, 252, 224, 0.1);
}

.main-nav.nav-open a {
  color: #fff;
  padding: 14px 0;
  display: block;
}
.main-nav.nav-open a:hover,
.main-nav.nav-open a:active { color: #FEFCE0; }

.main-nav.nav-open .nav-cta-item {
  border-bottom: none;
  padding-top: 12px;
  text-align: center;
}
.main-nav.nav-open .nav-cta-btn {
  display: inline-block !important;
  padding: 10px 20px !important;
  color: var(--emerald) !important;
}

/* Arrow indicator for dropdown parents */
.main-nav.nav-open .has-dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-nav.nav-open .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-left: 8px;
  flex-shrink: 0;
}
.main-nav.nav-open .has-dropdown.dropdown-open > a::after {
  transform: rotate(-135deg);
}

/* Dropdowns collapsed by default on mobile */
.main-nav.nav-open .dropdown {
  position: static;
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transform: none;
  background: #FEFCE0;
  border: none;
  box-shadow: none;
  padding: 0;
  min-width: unset;
  border-radius: var(--radius);
  transition: opacity var(--transition);
}

.main-nav.nav-open .has-dropdown.dropdown-open .dropdown {
  opacity: 1;
  visibility: visible;
  height: auto;
  padding: 4px 0;
  margin-top: 4px;
  margin-bottom: 8px;
}

.main-nav.nav-open .dropdown a {
  color: #1A281E;
  padding: 10px 16px;
}
.main-nav.nav-open .dropdown a:hover,
.main-nav.nav-open .dropdown a:active {
  background: rgba(26, 40, 30, 0.08);
  color: #1A281E;
}

.mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .main-nav { display: none; }

  .mobile-toggle { display: flex; }

  .header-nav-inner { justify-content: flex-start; }

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

  .cta-inner { flex-direction: column; text-align: center; }

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

  .hero { background-position: 67% center; min-height: 80vh; }
  .mobile-only { display: block; }
  .hero-content { margin-left: 0; padding: 60px 20px; max-width: 100%; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); color: #fff; }
  .hero-blurb { font-size: 0.95rem; color: #fff; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
}

/* ─────────────────────────────────────────
   PAGE HERO — subtitle
───────────────────────────────────────── */
.page-hero p {
  color: rgba(254, 252, 224, 0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 14px auto 0;
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   SERVICE INTRO IMAGE
───────────────────────────────────────── */
.service-intro-image-section {
  background: #fff;
  padding: 48px 0 0;
}
.service-intro-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ─────────────────────────────────────────
   SERVICE PAGE LAYOUT (content + sidebar)
───────────────────────────────────────── */
.service-page { background: #fff; }

.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.page-content p {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 16px;
}

.page-content h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--emerald);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.page-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.content-list {
  list-style: disc;
  padding-left: 24px;
  margin: 4px 0 20px;
  color: var(--text-body);
}

.content-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-link {
  color: var(--emerald-light);
  font-weight: 500;
  border-bottom: 1px solid rgba(58, 92, 66, 0.35);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.content-link:hover {
  color: var(--emerald);
  border-color: var(--emerald);
}

/* ── Sidebar ── */
.page-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-widget {
  background: var(--emerald);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 20px;
}
.sidebar-widget:last-child { margin-bottom: 0; }

.sidebar-widget h3 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.sidebar-form .form-group { margin-bottom: 14px; }

.sidebar-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 5px;
}

.sidebar-form input,
.sidebar-form textarea,
.sidebar-form select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(26, 40, 30, 0.22);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition);
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.sidebar-form input:focus,
.sidebar-form textarea:focus,
.sidebar-form select:focus {
  outline: none;
  border-color: var(--emerald);
}

.sidebar-form textarea { resize: vertical; min-height: 90px; }

.sidebar-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 4px;
  padding: 11px 20px;
}

.sidebar-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.sidebar-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--lime);
}

.sidebar-detail a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}
.sidebar-detail a:hover { color: #fff; }

/* ─────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────── */
.about-section { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-image {
  position: sticky;
  top: 80px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
}

.about-qualifications {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 28px;
  line-height: 1.7;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.about-text p {
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.9;
}

.about-text h3 {
  font-size: 1.1rem;
  margin: 36px 0 12px;
  color: var(--emerald);
}

.about-list {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-body);
  margin: 8px 0 16px;
}
.about-list li { margin-bottom: 6px; line-height: 1.7; }

.about-philosophy {
  background: var(--lime);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 40px;
}
.about-philosophy h3 { margin-top: 0; margin-bottom: 12px; }
.about-philosophy p { margin-bottom: 0; }

/* ─────────────────────────────────────────
   OVERVIEW PAGES (GYNAECOLOGY / OBSTETRICS)
───────────────────────────────────────── */
.overview-intro { background: #fff; }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.overview-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}

.overview-text p {
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.9;
}

.overview-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.overview-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--lime);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--emerald);
  transition: background var(--transition), color var(--transition);
}

.overview-link-item:hover {
  background: var(--emerald);
  color: var(--lime);
}

/* ─────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────── */
.contact-section { background: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info p {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 24px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: #1A281E;
  border: 1px solid #1A281E;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FEFCE0;
}

.contact-detail-item h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-item p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

.contact-detail-item a {
  color: var(--text-dark);
  transition: color var(--transition);
}
.contact-detail-item a:hover { color: var(--emerald-light); }

.contact-form-box {
  background: var(--lime);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 2px solid #1A281E;
}

.contact-form-box h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-box .form-group { margin-bottom: 18px; }

.contact-form-box label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 6px;
}

.contact-form-box input,
.contact-form-box textarea,
.contact-form-box select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(26, 40, 30, 0.22);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus,
.contact-form-box select:focus {
  outline: none;
  border-color: var(--emerald);
}

.contact-form-box textarea { resize: vertical; min-height: 130px; }

.contact-form-box .btn-primary {
  background: #1A281E;
  border-color: #1A281E;
  color: #FEFCE0;
}
.contact-form-box .btn-primary:hover {
  background: #FEFCE0;
  border-color: #1A281E;
  color: #1A281E;
}

.contact-map-section {
  background: #f7f8f4;
  padding: 64px 0;
}

.contact-map-section iframe {
  border-radius: var(--radius-lg);
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* ── Additional responsive ── */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr 300px; }
  .about-grid { grid-template-columns: 1fr 1.3fr; }
}

@media (max-width: 900px) {
  .about-grid,
  .overview-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 16/9; position: static; }
  .overview-image { aspect-ratio: 16/9; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .contact-form-box { padding: 28px 20px; }
}
