/* ============================================================
   GLOBALS.CSS – Eller & Kellermann Design System
   Fonts: Inter (headings) + Roboto (body)
   Colors: #222 headings / #444 body / #013547 primary / #DDBA9B accent
   ============================================================ */

:root {
  --c-blue: #013547;
  --c-sand: #DDBA9B;
  --c-beige: #F2F0EC;
  --c-offwhite: #F9F9F9;
  --c-border: #EBEBEB;
  --c-text: #070807E6;
  --c-muted: #6C6F6E;
  --c-white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(1, 53, 71, .06);
  --shadow-md: 0 8px 32px rgba(1, 53, 71, .10);
  --shadow-lg: 0 20px 60px rgba(1, 53, 71, .14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: all .25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: #222222;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.5px;
  line-height: 1.25;
}

h3 {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

h6 {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

p {
  font-family: 'Roboto', 'Inter', sans-serif;
  color: #444444;
  line-height: 1.7;
  margin-bottom: .75rem;
  font-size: 17px;
}

.lead {
  font-size: 18px;
  color: #333333;
  font-weight: 400;
  line-height: 1.65;
}

.tagline {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-sand);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: .2px;
}

.btn-primary {
  background: var(--c-blue);
  color: var(--c-white);
}

.btn-primary:hover {
  background: #024a62;
}

.btn-secondary {
  background: transparent;
  color: var(--c-blue);
  border: 2px solid var(--c-blue);
}

.btn-secondary:hover {
  background: var(--c-blue);
  color: var(--c-white);
}

.btn-white {
  background: var(--c-white);
  color: var(--c-blue);
}

.btn-white:hover {
  background: var(--c-offwhite);
}

.btn-ghost {
  background: transparent;
  color: var(--c-blue);
  border: 2px solid var(--c-border);
}

.btn-ghost:hover {
  border-color: var(--c-blue);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 14px;
}

/* ===== SEPARATOR LINE (breadcrumb) ===== */
.sep {
  color: var(--c-border);
}

/* ===== CARDS (generic) ===== */
.card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ===== SPLIT LAYOUT ===== */
.split {
  display: flex;
  gap: 80px;
  align-items: center;
}

.split.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 1024px) {
  .split {
    flex-direction: column;
    gap: 40px;
  }

  .split.reverse {
    flex-direction: column;
  }
}

.split-text,
.split-image {
  flex: 1;
}

.split-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .split-image img {
    height: 300px;
  }
}

/* ===== PAGE HERO (standard sub-page) ===== */
.page-hero {
  padding: 80px 0;
}

.page-hero.bg-beige {
  background: var(--c-beige);
}

.page-hero.bg-blue {
  background: var(--c-blue);
}

.page-hero.bg-blue h1,
.page-hero.bg-blue p,
.page-hero.bg-blue .tagline {
  color: var(--c-white);
}

.page-hero.bg-blue .tagline {
  color: var(--c-sand);
}

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

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--c-offwhite);
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-muted);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a:hover {
  color: var(--c-blue);
}

/* ===== SECTION PADDING ===== */
.section {
  padding: 90px 0;
}

.section.bg-white {
  background: var(--c-white);
}

.section.bg-beige {
  background: var(--c-beige);
}

.section.bg-offwhite {
  background: var(--c-offwhite);
}

.section.bg-blue {
  background: var(--c-blue);
}

.section.bg-blue h2 {
  color: var(--c-white);
}

.section.bg-blue p {
  color: rgba(255, 255, 255, .75);
}

.section-intro {
  max-width: 680px;
  margin-bottom: 50px;
}

/* ===== FEATURE CARD GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media(max-width:599px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--c-beige);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--c-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.feature-card:hover h3,
.feature-card:hover p {
  color: var(--c-white);
}

.feature-card .fc-icon {
  width: 52px;
  height: 52px;
  background: var(--c-white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card .fc-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--c-blue);
}

.feature-card:hover .fc-icon {
  background: rgba(255, 255, 255, .15);
}

.feature-card:hover .fc-icon svg {
  fill: var(--c-white);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-card p {
  font-size: 14px;
  margin: 0;
}

/* ===== CHECK LIST (Leistungsspektrum items) ===== */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media(max-width:600px) {
  .check-list {
    grid-template-columns: 1fr;
  }
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--c-offwhite);
  border-radius: 12px;
  padding: 16px 20px;
}

.check-item svg {
  width: 18px;
  height: 18px;
  fill: var(--c-blue);
  flex-shrink: 0;
}

.check-item span {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-blue);
}

/* ===== DOCTOR CARD ===== */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media(max-width:600px) {
  .doctor-grid {
    grid-template-columns: 1fr;
  }
}

.doctor-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.doctor-card .d-photo {
  height: 280px;
  overflow: hidden;
  background: var(--c-beige);
}

.doctor-card .d-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.doctor-card .d-body {
  padding: 26px;
}

.doctor-card .d-body h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.doctor-card .d-body .d-role {
  display: block;
  font-size: 13px;
  color: var(--c-sand);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.doctor-card .d-body p {
  font-size: 14px;
  color: var(--c-muted);
}

.doctor-card .d-body a.d-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== CTA BLOCK ===== */
.cta-block {
  background: var(--c-blue);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
}

.cta-block h2 {
  color: var(--c-white);
  margin-bottom: 16px;
}

.cta-block p {
  color: rgba(255, 255, 255, .75);
  max-width: 540px;
  margin: 0 auto 32px;
}

@media(max-width:767px) {
  .cta-block {
    padding: 44px 28px;
  }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--c-blue);
  padding: 9px 0;
  text-align: center;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  row-gap: 4px;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  letter-spacing: .1px;
}

.trust-bar-item .stars {
  color: #FBBC05;
  font-size: 13px;
  letter-spacing: 1px;
}

.trust-bar-item strong {
  color: #fff;
  font-weight: 700;
}

.trust-bar-sep {
  color: rgba(255, 255, 255, .25);
  font-size: 18px;
  line-height: 1;
}

@media(max-width:767px) {
  .trust-bar .container {
    gap: 12px;
  }

  .trust-bar-sep {
    display: none;
  }

  .trust-bar-item {
    font-size: 12px;
  }
}

/* ===== MOBILE STICKY CTA BAR ===== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(1, 53, 71, .10);
}

.mobile-cta-bar a {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--c-blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 24px;
  border-radius: 10px;
  letter-spacing: .1px;
}

@media(max-width:767px) {
  .mobile-cta-bar {
    display: block;
  }

  /* Add bottom padding to body so content is not hidden behind sticky bar */
  body {
    padding-bottom: 80px;
  }
}

/* ===== HEADER (shared) ===== */
.header-wrapper {
  background: var(--c-white);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 0 var(--c-border);
}

.h-top-row {
  border-bottom: 1px solid var(--c-border);
  padding: 14px 0;
}

.h-top-row .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.h-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.h-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-blue);
  letter-spacing: -.3px;
}

.h-slogan {
  font-size: 13px;
  color: var(--c-muted);
  border-left: 1px solid var(--c-border);
  padding-left: 18px;
  line-height: 1.3;
}

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

.h-phone {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-blue);
}

.h-phone:hover {
  color: var(--c-sand);
}

.h-btn {
  background: var(--c-blue);
  color: var(--c-white);
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  transition: var(--transition);
}

.h-btn:hover {
  background: #024a62;
}

.h-icons {
  display: flex;
  gap: 8px;
}

.h-icon {
  width: 40px;
  height: 40px;
  background: var(--c-beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.h-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--c-text);
}

.h-icon:hover {
  background: var(--c-blue);
}

.h-icon:hover svg {
  fill: var(--c-white);
}

.h-hamburger {
  display: none;
  cursor: pointer;
}

.h-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-blue);
  margin: 5px 0;
  border-radius: 2px;
}

.h-nav-row {
  padding: 0;
}

.h-nav-row .container {
  display: flex;
}

.h-nav {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.h-nav li a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  transition: var(--transition);
  position: relative;
}

.h-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--c-sand);
  transform: scaleX(0);
  transition: transform .2s;
}

.h-nav li a:hover::after,
.h-nav li a.active::after {
  transform: scaleX(1);
}

.h-nav li a:hover,
.h-nav li a.active {
  color: var(--c-blue);
}

.h-nav .arrow {
  width: 10px;
  height: 10px;
  fill: #aaa;
}

@media(max-width:1100px) {

  .h-slogan,
  .h-phone,
  .h-btn,
  .h-icons,
  .h-nav-row {
    display: none;
  }

  .h-hamburger {
    display: block;
  }
}

/* ===== FOOTER (shared) ===== */
.site-footer {
  background: var(--c-beige);
  padding: 72px 0 0;
  border-top: 2px solid var(--c-sand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 50px;
}

@media(max-width:1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media(max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-blue);
  display: block;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 16px;
  max-width: 260px;
}

.footer-tel-big {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-blue);
  display: block;
  margin-bottom: 4px;
}

.footer-tel-big:hover {
  color: var(--c-sand);
}

.footer-google {
  background: var(--c-white);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 16px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.footer-google .stars {
  color: #FBBC05;
  font-size: 15px;
}

.footer-google .rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-google .score {
  font-weight: 700;
  color: var(--c-blue);
  font-size: 15px;
}

.footer-google .count {
  font-size: 11px;
  color: var(--c-muted);
}

.footer-google .g-tag {
  font-size: 11px;
  font-weight: 700;
  color: #4285F4;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-sand);
  display: inline-block;
}

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

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--c-muted);
}

.footer-col ul li a:hover {
  color: var(--c-sand);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, .07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: 13px;
  margin: 0;
  color: var(--c-muted);
}

.footer-legal {
  display: flex;
  gap: 18px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--c-muted);
}

.footer-legal a:hover {
  color: var(--c-blue);
}

/* ===== SCROLL-TO-TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--c-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 900;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: var(--c-white);
}

.scroll-top:hover {
  background: var(--c-sand);
}

/* =================================================================
   DYNAMISCHE PRAXIS-UHR
   ================================================================= */
.praxis-clock {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-offwhite);
  border-radius: 100px;
  padding: 7px 15px;
  border: 1px solid var(--c-border);
  white-space: nowrap;
  min-width: 200px;
}

.pclock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.pclock-dot.open {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
  animation: pulse-green 2s infinite;
}

.pclock-dot.closed {
  background: #ef4444;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .08);
  }
}

.pclock-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pclock-info strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-blue);
}

.pclock-info span {
  font-size: 11px;
  color: var(--c-muted);
}

.pclock-bar {
  width: 50px;
  height: 4px;
  background: var(--c-border);
  border-radius: 100px;
  overflow: hidden;
  flex-shrink: 0;
}

.pclock-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 100px;
  transition: width 1s ease;
}

@media(max-width:1100px) {
  .praxis-clock {
    display: none;
  }
}

/* =================================================================
   NAVIGATION DROPDOWNS
   ================================================================= */
.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--c-white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(1, 53, 71, .14), 0 0 0 1px var(--c-border);
  min-width: 240px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
  z-index: 1000;
}

/* Large dropdown for Leistungen */
.has-dropdown:nth-child(4) .nav-dropdown {
  min-width: 320px;
  columns: 1;
  max-height: 80vh;
  overflow-y: auto;
}

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

.nav-dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--c-muted);
  transition: all .15s;
}

.nav-dropdown a:hover {
  background: var(--c-beige);
  color: var(--c-blue);
  padding-left: 26px;
}

.nav-dropdown .dd-section-title {
  padding: 8px 20px 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-sand);
  margin-top: 6px;
  border-top: 1px solid var(--c-border);
}

.nav-dropdown .dd-section-title:first-child {
  border-top: none;
  margin-top: 0;
}

/* =================================================================
   LEISTUNGSSEITE LAYOUT (ToC + Content + Sidebar)
   ================================================================= */
.ls-layout {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 40px;
  align-items: start;
}

@media(max-width:1280px) {
  .ls-layout {
    grid-template-columns: 1fr 280px;
  }

  .ls-toc {
    display: none;
  }
}

@media(max-width:1024px) {
  .ls-layout {
    grid-template-columns: 1fr;
  }

  .ls-sidebar {
    display: none;
  }
}

/* Table of Contents */
.ls-toc {
  position: sticky;
  top: 80px;
  background: var(--c-offwhite);
  border-radius: 16px;
  padding: 22px;
}

.ls-toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-sand);
  margin-bottom: 14px;
}

.ls-toc ul {
  list-style: none;
}

.ls-toc ul li a {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--c-muted);
  border-radius: 8px;
  transition: all .15s;
  border-left: 2px solid transparent;
}

.ls-toc ul li a:hover,
.ls-toc ul li a.active {
  color: var(--c-blue);
  background: var(--c-white);
  border-left-color: var(--c-sand);
}

/* Sidebar on service pages */
.ls-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ls-sidebar .sb-block {
  background: var(--c-offwhite);
  border-radius: 16px;
  padding: 24px;
}

.ls-sidebar .sb-block h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-sand);
  margin-bottom: 14px;
}

.sb-doctor {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: var(--c-white);
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
  border: 1px solid var(--c-border);
}

.sb-doctor:hover {
  border-color: var(--c-sand);
  box-shadow: 0 4px 16px rgba(1, 53, 71, .08);
}

.sb-doctor img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.sb-doctor-info strong {
  display: block;
  font-size: 14px;
  color: var(--c-blue);
  font-weight: 700;
}

.sb-doctor-info span {
  font-size: 12px;
  color: var(--c-muted);
}

/* FAQ Accordion */
.faq-list {
  margin-top: 20px;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all .2s;
}

.faq-item:hover {
  border-color: var(--c-sand);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  background: var(--c-beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: all .2s;
  color: var(--c-blue);
  font-style: normal;
}

.faq-item.open .faq-icon {
  background: var(--c-sand);
  color: var(--c-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* =================================================================
   MOBILE RESPONSIVE ADDITIONS
   ================================================================= */

/* --- Hamburger nav open state --- */
@media(max-width:1100px) {
  .h-nav-row {
    display: none;
    padding: 12px 0;
    border-top: 1px solid var(--c-border);
  }

  .h-nav-row.mobile-open {
    display: block;
  }

  .h-nav {
    flex-direction: column;
    gap: 0;
  }

  .h-nav li a {
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--c-border);
  }

  .h-nav li a::after {
    display: none;
  }

  .h-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .h-hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .h-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .h-hamburger span {
    transition: all .25s ease;
  }
}

/* --- Reduce section & hero padding on mobile --- */
@media(max-width:767px) {
  .section {
    padding: 56px 0;
  }

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

@media(max-width:480px) {
  .section {
    padding: 44px 0;
  }

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

  .section-intro {
    margin-bottom: 28px;
  }

  .lead {
    font-size: 15px;
  }
}

/* --- FAQ adjustments on small screens --- */
@media(max-width:480px) {
  .faq-question {
    font-size: 14px;
    padding: 16px 18px;
    gap: 10px;
  }

  .faq-answer-inner {
    font-size: 14px;
    padding: 0 18px 16px;
  }
}

/* --- CTA block mobile --- */
@media(max-width:480px) {
  .cta-block {
    padding: 36px 20px;
    border-radius: var(--radius-md);
  }
}

/* --- Scroll-to-top mobile position --- */
@media(max-width:600px) {
  .scroll-top {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* --- Split image height on very small screens --- */
@media(max-width:480px) {
  .split-image img {
    height: 220px;
  }
}

/* --- Disable hover transforms on touch devices --- */
@media(hover: none) {

  .feature-card:hover,
  .doctor-card:hover,
  .card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}

/* --- ls-sidebar: 2-col grid on tablet (instead of hidden) --- */
@media(max-width:1024px) and (min-width:601px) {
  .ls-sidebar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: static;
  }
}

/* --- H1 safeguard on very small screens --- */
@media(max-width:400px) {
  h1 {
    font-size: clamp(26px, 7.5vw, 40px);
    letter-spacing: -0.5px;
  }

  h2 {
    font-size: clamp(20px, 5.5vw, 30px);
  }
}

/* --- Breadcrumb wrapping --- */
@media(max-width:480px) {
  .breadcrumb .container {
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* --- doctor grid 1-col on very small screens --- */
@media(max-width:480px) {
  .doctor-grid {
    grid-template-columns: 1fr;
  }
}
/* Dropdown Menu Styles */
.h-nav.dropdown-mode li.has-drop {
    position: relative;
}
.h-nav.dropdown-mode li.has-drop .drop-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    z-index: 1000;
}
.h-nav.dropdown-mode li.has-drop:hover .drop-menu {
    display: block;
}
.h-nav.dropdown-mode li.has-drop .drop-menu li {
    margin: 0;
}
.h-nav.dropdown-mode li.has-drop .drop-menu li a {
    display: block;
    padding: 8px 20px;
    color: #4A4F54;
    font-size: 15px;
    font-weight: 400;
}
.h-nav.dropdown-mode li.has-drop .drop-menu li a:hover,
.h-nav.dropdown-mode li.has-drop .drop-menu li a.active {
    color: #013547;
    background: #F4F6F6;
}

/* Accessibility Mode Toggle */
body.a11y-mode {
    font-size: 110%;
    background-color: #fdfdfd;
}
body.a11y-mode p, body.a11y-mode a, body.a11y-mode span, body.a11y-mode li, body.a11y-mode div {
    color: #1a1a1a !important;
}
body.a11y-mode #btn-accessibility svg {
    fill: #013547;
}

