/* =====================================================================
   MANU ENT & MULTISPECIALITY HOSPITAL — SHARED STYLESHEET
   Palette: Navy #0f2b5c | Teal #14b8a6 | Panel #f8fafc | White #fff
   ===================================================================== */

:root {
  --navy: #0f2b5c;
  --navy-dark: #0a1d40;
  --teal: #14b8a6;
  --teal-dark: #0e9488;
  --white: #ffffff;
  --panel: #f8fafc;
  --text-muted: #5b6b82;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 43, 92, 0.08);
  --shadow-lg: 0 24px 55px rgba(15, 43, 92, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 60px 0;
}

.bg-panel {
  background: var(--panel);
}

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  background: rgba(20, 184, 166, 0.1);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 21px;
}

p {
  margin: 0 0 16px 0;
  color: var(--text-muted);
}

.center {
  text-align: center;
}

.max-w-680 {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

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

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

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

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

.btn-sm {
  padding: 10px 22px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--navy-dark);
  color: #cbd7ec;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

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

.topbar-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.topbar a:hover {
  color: var(--teal);
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-left: 8px;
  font-size: 12px;
}

.topbar-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.topbar-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ---------- NAV ---------- */
.nav-wrap {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(15, 43, 92, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

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

.brand img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.brand-text span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--teal-dark);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: var(--teal);
  border-radius: 3px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 3px;
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #163a75 100%);
  color: var(--white);
  padding: 64px 0 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.28), transparent 70%);
}

.page-header .eyebrow {
  background: rgba(20, 184, 166, 0.2);
  color: #5eead4;
}

.page-header h1 {
  color: var(--white);
  font-size: 38px;
  margin-bottom: 12px;
  position: relative;
}

.page-header p {
  color: #c7d2e4;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  margin-top: 16px;
  font-size: 13px;
  color: #9fb0d1;
  position: relative;
}

.breadcrumb a {
  color: var(--teal);
  font-weight: 600;
}

/* ---------- HOME HERO ---------- */
.hero {
  background: radial-gradient(1200px 500px at 100% 0%, rgba(20, 184, 166, 0.10), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding: 64px 0 90px 0;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h1 {
  font-size: 44px;
  line-height: 1.16;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-dark);
}

.hero p.lead {
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat b {
  display: block;
  font-size: 26px;
  color: var(--navy);
  font-weight: 800;
}

.hero-stat span {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-card-top {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.hero-card-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.hero-card-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(15, 43, 92, 0.85);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.hero-card-bottom {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 22px;
  align-items: center;
  background: var(--panel);
  border-top: 1px solid var(--border);
}

.hero-card-bottom img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid var(--white);
  box-shadow: 0 6px 16px rgba(15, 43, 92, 0.15);
}

.hero-card-bottom h4 {
  margin: 0 0 4px 0;
  font-size: 17px;
}

.hero-card-bottom .role {
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 12.5px;
  margin-bottom: 10px;
}

.hero-float-badge {
  position: absolute;
  top: -18px;
  right: 24px;
  background: var(--teal);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.4);
  z-index: 2;
}

/* ---------- STRIP OF STATS / TRUST BAR ---------- */
.trust-strip {
  background: var(--navy);
  padding: 26px 0;
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dbe4f5;
  font-size: 14px;
  font-weight: 600;
}

.trust-item .ic {
  color: var(--teal);
  font-size: 20px;
}

/* ---------- SPECIALTIES GRID ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spec-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 184, 166, 0.4);
}

.spec-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
}

.spec-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

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

.spec-card .learn {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ---------- PHOTO BANNER (about/services split sections) ---------- */
.photo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.photo-split.reverse .photo-split-img {
  order: 2;
}

.photo-split.reverse .photo-split-content {
  order: 1;
}

.photo-split-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.photo-split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.photo-split-img .caption-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(15, 43, 92, 0.85);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- DIRECTOR MESSAGE ---------- */
.director {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.director::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 70%);
}

.director .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.director-photo {
  position: relative;
}

.director-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.director-photo .quote-mark {
  position: absolute;
  top: -22px;
  left: -18px;
  font-size: 64px;
  color: var(--teal);
  font-family: Georgia, serif;
  line-height: 1;
}

.director-content .eyebrow {
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
}

.director-content h2 {
  color: var(--white);
}

.director-content p {
  color: #c7d2e4;
  font-size: 16px;
}

.director-sign {
  margin-top: 24px;
}

.director-sign b {
  display: block;
  font-size: 18px;
  color: var(--white);
}

.director-sign span {
  font-size: 14px;
  color: #8fa3c4;
}

/* ---------- STATS BAND ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 18px;
  box-shadow: var(--shadow);
}

.stat-box b {
  display: block;
  font-size: 34px;
  color: var(--navy);
  font-weight: 800;
}

.stat-box span {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- VALUES / WHY CHOOSE GRID ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.value-card .spec-icon {
  margin-bottom: 16px;
}

/* ---------- DOCTORS GRID ---------- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
}

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

.doctor-photo {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--panel);
}

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

.doctor-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.doctor-info {
  padding: 22px 18px 26px 18px;
}

.doctor-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.doctor-info .degree {
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.doctor-info .speciality {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.doctor-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--navy);
}

.icon-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.cta-band {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 64px;
  border: 1px solid var(--border);
}

.cta-band h3 {
  margin-bottom: 6px;
}

.cta-band p {
  margin-bottom: 0;
}

/* ---------- SERVICES PAGE DETAIL LIST ---------- */
.service-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail .spec-icon {
  margin-bottom: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.service-detail h3 {
  margin-bottom: 8px;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.service-tags span {
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- FORMS (Appointments / Contact) ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}

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

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--navy);
  background: var(--panel);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--navy);
  margin-bottom: 26px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.info-card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}

.info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.info-row .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-row h4 {
  margin-bottom: 4px;
  font-size: 15.5px;
}

.info-row p {
  margin-bottom: 0;
  font-size: 14px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 24px;
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list b {
  color: var(--navy);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-dark);
  color: #aebbd4;
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand-text {
  color: var(--white);
  font-weight: 800;
  font-size: 16.5px;
}

footer h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

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

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact .ic {
  color: var(--teal);
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 13px;
  color: #7c8bab;
}
.reviews-widget-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

/* Widget ko thoda neeche se crop karega */
.reviews-widget-wrapper > div {
  margin-bottom: -45px;
}

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

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

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

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

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

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

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

  .hero-visual {
    order: -1;
  }

  .director .container {
    grid-template-columns: 1fr;
  }

  .photo-split {
    grid-template-columns: 1fr;
  }

  .photo-split.reverse .photo-split-img {
    order: 1;
  }

  .photo-split.reverse .photo-split-content {
    order: 2;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px;
    gap: 26px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right .35s ease;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .trust-grid {
    justify-content: center;
    text-align: center;
  }
}

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

  h2 {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero-stats {
    gap: 22px;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar-left {
    justify-content: center;
    width: 100%;
  }

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

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

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

  .hero-card-bottom {
    grid-template-columns: 84px 1fr;
  }

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

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

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .form-card,
  .info-card {
    padding: 26px;
  }
}
/* ===== 2026 DELIVERY POLISH ===== */
.spec-icon.spec-photo{width:100%;height:170px;border-radius:18px;overflow:hidden;padding:0;margin:0 0 18px;background:#dcecf2;display:block}.spec-icon.spec-photo img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease}.spec-card:hover .spec-photo img,.value-card:hover .spec-photo img,.service-detail:hover .spec-photo img{transform:scale(1.05)}.value-card .spec-icon.spec-photo{width:100%;height:165px;margin-bottom:18px;border-radius:16px}.service-detail .spec-icon.spec-photo{width:210px;height:150px;align-self:start}.topbar-social a{color:#fff!important;fill:currentColor;stroke:currentColor}.topbar-social a:hover{color:#18c9b7!important;background:rgba(255,255,255,.14);border-color:#18c9b7}.topbar-social svg{display:block;width:18px;height:18px;fill:currentColor}.topbar-social a[aria-label="Instagram"] svg{fill:none;stroke:currentColor}.appointment-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:40px;align-items:start}.contact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}.form-card,.info-card{min-width:0}.form-group input,.form-group select,.form-group textarea{width:100%;max-width:100%;font-size:16px}.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:1200;display:flex;align-items:center;gap:9px;background:#25D366;color:#fff!important;padding:13px 18px;border-radius:999px;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.23);text-decoration:none}.whatsapp-float:before{content:"☎";font-size:22px}.achievements-section{background:linear-gradient(135deg,#082b5c,#087f8c);color:#fff}.achievements-section .section-head h2,.achievements-section .section-head p{color:#fff}.achievement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.achievement-card{padding:28px 18px;text-align:center;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(255,255,255,.11);backdrop-filter:blur(9px)}.achievement-card b{display:block;font-size:34px;line-height:1.1;margin-bottom:8px}.achievement-card>span{display:block}.achievement-card.featured{grid-column:span 2}body.menu-open{overflow:hidden}.nav-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}.nav-toggle.active span:nth-child(2){opacity:0}.nav-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:900px){.appointment-layout,.contact-layout{grid-template-columns:1fr}.nav-links{overflow-y:auto}.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-detail .spec-icon.spec-photo{width:100%;height:210px}.nav-wrap{position:relative;z-index:1100}}
@media(max-width:640px){.brand-text{font-size:20px}.brand img{width:54px}.nav{padding-left:14px;padding-right:14px}.nav-links{width:min(88%,360px);padding:92px 24px 40px}.page-header{padding-top:48px}.form-card,.info-card{padding:22px 18px}.achievement-grid{grid-template-columns:1fr}.achievement-card.featured{grid-column:span 1}.achievement-card b{font-size:31px}.whatsapp-float{right:14px;bottom:14px;width:54px;height:54px;padding:0;font-size:0;justify-content:center}.whatsapp-float:before{font-size:25px}.stats-band{grid-template-columns:1fr}.hero-card-top{height:340px}.photo-split-img img{height:330px}.topbar-social{width:100%;justify-content:center}}


/* ===== FINAL MOBILE MENU / SOCIAL / WHATSAPP / COUNTER FIXES ===== */
.topbar-social{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  line-height:1;
  white-space:nowrap;
}
.topbar-social .follow-label{
  display:inline-flex;
  align-items:center;
  height:30px;
  margin-right:2px;
  color:#fff;
  font-size:14px;
  line-height:1;
}
.topbar-social a{
  margin-left:0!important;
  flex:0 0 30px;
  width:30px;
  height:30px;
}
.topbar-social svg{width:16px!important;height:16px!important}

.whatsapp-float{
  width:60px!important;
  height:60px!important;
  right:22px;
  bottom:22px;
  padding:0!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  border-radius:50%!important;
  font-size:0!important;
  background:#25D366;
  border:3px solid #fff;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  transition:transform .2s ease,box-shadow .2s ease;
}
.whatsapp-float:before{content:none!important}
.whatsapp-float svg{width:34px;height:34px;color:#fff;display:block}
.whatsapp-float:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 14px 34px rgba(0,0,0,.32)}

.achievements-section{position:relative;overflow:hidden}
.achievements-section:before,.achievements-section:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.achievements-section:before{width:360px;height:360px;top:-180px;right:-100px;background:rgba(255,255,255,.08)}
.achievements-section:after{width:260px;height:260px;bottom:-150px;left:-90px;background:rgba(20,184,166,.22)}
.achievements-section .container{position:relative;z-index:1}
.achievement-card{transition:transform .25s ease,background .25s ease,box-shadow .25s ease}
.achievement-card:hover{transform:translateY(-6px);background:rgba(255,255,255,.17);box-shadow:0 18px 35px rgba(0,0,0,.12)}
.home-achievements{padding-top:78px;padding-bottom:78px}

@media(max-width:900px){
  .nav-wrap{z-index:3000!important;overflow:visible!important}
  .nav{position:relative;overflow:visible!important}
  .nav-toggle{position:relative;z-index:3300!important}
  .nav-toggle span{transition:transform .25s ease,opacity .2s ease}
  .nav-links{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:min(84vw,360px)!important;
    max-width:none!important;
    height:100dvh!important;
    min-height:100vh!important;
    padding:100px 28px 38px!important;
    background:#fff!important;
    transform:translateX(110%)!important;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:transform .32s ease,opacity .22s ease,visibility .32s ease!important;
    z-index:3200!important;
    overflow-y:auto!important;
    box-shadow:-18px 0 48px rgba(10,29,64,.22)!important;
  }
  .nav-links.open{
    transform:translateX(0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .nav-links li,.nav-links a{width:100%}
  .nav-links a{display:block;padding:11px 0;font-size:17px}
  body.menu-open:before{
    content:"";
    position:fixed;
    inset:0;
    z-index:3100;
    background:rgba(5,18,42,.55);
    backdrop-filter:blur(2px);
  }
  .topbar .container{align-items:center}
  .topbar-social{justify-content:center;width:100%;margin-top:4px}
}
@media(max-width:640px){
  .whatsapp-float{width:56px!important;height:56px!important;right:14px!important;bottom:14px!important}
  .whatsapp-float svg{width:32px;height:32px}
  .achievement-card{padding:24px 16px}
  .home-achievements{padding-top:60px;padding-bottom:60px}
}


/* === FINAL MOBILE NAV & RESPONSIVE FIX === */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,iframe{max-width:100%}
@media (max-width:900px){
  .nav-wrap{position:relative;z-index:5000!important;overflow:visible!important}
  .nav{position:relative;overflow:visible!important}
  .nav-toggle{display:flex!important;position:relative;z-index:5200!important}
  .nav-links{
    display:flex!important;position:fixed!important;top:0!important;right:0!important;left:auto!important;
    width:min(86vw,360px)!important;height:100dvh!important;min-height:100vh!important;
    padding:96px 28px 40px!important;margin:0!important;background:#fff!important;
    flex-direction:column!important;align-items:flex-start!important;gap:12px!important;
    transform:translate3d(110%,0,0)!important;right:0!important;opacity:0!important;visibility:hidden!important;
    pointer-events:none!important;transition:transform .32s ease,opacity .2s ease,visibility .32s ease!important;
    z-index:5100!important;overflow-y:auto!important;box-shadow:-18px 0 48px rgba(10,29,64,.24)!important;
  }
  .nav-links.open{transform:translate3d(0,0,0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  .nav-links li,.nav-links a{display:block!important;width:100%!important}
  .nav-links a{padding:12px 0!important;font-size:17px!important}
  body.menu-open{overflow:hidden!important}
  body.menu-open:before{content:"";position:fixed;inset:0;background:rgba(5,18,42,.58);z-index:5050;backdrop-filter:blur(2px)}
  .container{width:min(100% - 28px,1200px)!important}
  .hero .container,.photo-split,.appointment-layout,.contact-layout,.footer-grid{grid-template-columns:1fr!important}
  .hero-content,.hero-visual,.photo-split-content,.photo-split-img,.form-card,.info-card{min-width:0!important}
  input,select,textarea,button{max-width:100%!important}
  .topbar .container{gap:10px!important}
  .topbar-social{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;margin:0!important;line-height:1!important}
  .topbar-social .follow-label{display:inline-flex!important;align-items:center!important;height:34px!important;margin:0 3px 0 0!important;line-height:1!important}
}
@media (max-width:640px){
  .nav{padding-left:0!important;padding-right:0!important}
  .brand-text{font-size:18px!important}.brand-text span{font-size:10px!important}.brand img{width:50px!important}
  .hero-card-top{height:310px!important}.photo-split-img img{height:320px!important}
  .section{padding-top:54px!important;padding-bottom:54px!important}
  .form-row{grid-template-columns:1fr!important}
  .service-detail{grid-template-columns:1fr!important}
  .page-header h1{font-size:clamp(30px,9vw,42px)!important}
}


/* === VERIFIED MOBILE MENU FIX (overlay must stay below the drawer) === */
@media (max-width: 900px) {
  .nav-wrap {
    position: relative !important;
    z-index: 6000 !important;
    overflow: visible !important;
  }
  .nav {
    position: relative !important;
    overflow: visible !important;
  }
  .nav-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 6300 !important;
  }
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 6200 !important;
    width: min(86vw, 360px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    padding: 96px 28px 40px !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #0f2b5c !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    transform: translateX(110%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .32s ease, opacity .2s ease, visibility .32s ease !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    box-shadow: -18px 0 48px rgba(10,29,64,.24) !important;
  }
  .nav-links.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-links li,
  .nav-links a {
    display: block !important;
    width: 100% !important;
  }
  .nav-links a {
    color: #0f2b5c !important;
    padding: 12px 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: #0aa99a !important;
  }
  body.menu-open {
    overflow: hidden !important;
  }
  body.menu-open::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 5900 !important; /* below nav-wrap/drawer */
    background: rgba(5,18,42,.58) !important;
    backdrop-filter: blur(2px);
  }
}

/* === MOBILE MENU HEADER: original website logo + close button only === */
.mobile-menu-header { display: none; }

@media (max-width: 900px) {
  .nav-links {
    padding: 0 28px 40px !important;
  }

  .mobile-menu-header {
    display: flex !important;
    width: calc(100% + 56px) !important;
    margin: 0 -28px 14px !important;
    min-height: 112px;
    padding: 18px 20px !important;
    background: #ffffff;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(8, 43, 92, 0.12);
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .mobile-menu-logo {
    display: block;
    width: min(270px, calc(100% - 68px));
    height: 76px;
    object-fit: contain;
    object-position: left center;
  }

  .mobile-menu-close {
    position: relative;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
  }

  .mobile-menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: #082b5c;
    transform-origin: center;
  }

  .mobile-menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mobile-menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-menu-close:hover span,
  .mobile-menu-close:focus-visible span {
    background: #0aa99a;
  }

  .mobile-menu-close:focus-visible {
    outline: 3px solid rgba(10, 169, 154, 0.25);
    outline-offset: 2px;
  }

  body.menu-open .nav-toggle {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .mobile-menu-header {
    min-height: 96px;
    padding: 14px 16px !important;
  }

  .mobile-menu-logo {
    width: min(225px, calc(100% - 58px));
    height: 66px;
  }

  .mobile-menu-close {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .mobile-menu-close span {
    width: 27px;
  }
}

/* === FINAL COMPACT MOBILE HEADER / DRAWER (2026-07) === */
.mobile-menu-info{display:none}
@media (min-width:901px){
  .topbar-social a{width:34px!important;height:34px!important;flex-basis:34px!important}
  .topbar-social svg{width:18px!important;height:18px!important}
}
@media (max-width:900px){
  /* Keep the mobile top strip to one clean line: Emergency + Location only */
  .topbar .container{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;padding-top:8px!important;padding-bottom:8px!important;gap:10px!important}
  .topbar-left{display:flex!important;flex:1 1 auto!important;width:100%!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;min-width:0!important}
  .topbar-left .topbar-item{font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;gap:5px!important;min-width:0!important}
  .topbar-left .topbar-item:nth-child(1){font-size:0!important}
  .topbar-left .topbar-item:nth-child(1)::after{content:"Emergency: 01572-257375";font-size:12px!important}
  .topbar-left .topbar-item:nth-child(2){display:none!important}
  .topbar-left .topbar-item:nth-child(3){margin-left:auto!important}
  .topbar-left .topbar-item:nth-child(3)::first-letter{font-size:0}
  .topbar-left .dot{width:7px!important;height:7px!important;flex:0 0 7px!important}
  .topbar-social{display:none!important}

  /* Drawer header: compact MEMH favicon/logo and close cross on the same line */
  .nav-links{padding:0 24px 34px!important;gap:0!important}
  .mobile-menu-header{
    display:flex!important;width:calc(100% + 48px)!important;margin:0 -24px 8px!important;
    min-height:82px!important;height:82px!important;padding:11px 18px!important;background:#fff!important;
    align-items:center!important;justify-content:space-between!important;gap:12px!important;
    border-bottom:1px solid rgba(8,43,92,.13)!important;position:sticky!important;top:0!important;z-index:4!important;
  }
  .mobile-menu-logo{
    display:block!important;width:58px!important;height:58px!important;max-width:58px!important;flex:0 0 58px!important;
    object-fit:contain!important;object-position:center!important;border-radius:50%!important;
  }
  .mobile-menu-close{
    display:block!important;position:relative!important;margin-left:auto!important;flex:0 0 44px!important;
    width:44px!important;height:44px!important;padding:0!important;border:0!important;background:transparent!important;
  }
  .mobile-menu-close span{width:29px!important;height:3px!important;background:#082b5c!important}

  /* Useful contact details and social links inside the bottom of the drawer */
  .mobile-menu-info{display:block!important;width:calc(100% + 48px)!important;margin:14px -24px -34px!important;padding:18px 24px 26px!important;background:#072d59!important;color:#fff!important;border-top:1px solid rgba(255,255,255,.16)!important}
  .mobile-menu-info a,.mobile-menu-info span{color:#fff!important;text-decoration:none!important}
  .mobile-menu-contact{display:flex!important;flex-direction:column!important;gap:11px!important;font-size:13px!important;line-height:1.45!important;word-break:break-word!important}
  .mobile-menu-social{display:flex!important;align-items:center!important;gap:10px!important;margin-top:16px!important}
  .mobile-menu-social-label{font-size:13px!important;font-weight:700!important;margin-right:3px!important}
  .mobile-menu-social a{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;border-radius:50%!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.28)!important}
  .mobile-menu-social svg{width:18px!important;height:18px!important;fill:currentColor!important}
  .mobile-menu-social a[aria-label="Instagram"] svg{fill:none!important;stroke:currentColor!important}
}
@media (max-width:380px){
  .topbar-left .topbar-item,.topbar-left .topbar-item:nth-child(1)::after{font-size:10.5px!important}
  .mobile-menu-header{height:76px!important;min-height:76px!important;padding:9px 15px!important}
  .mobile-menu-logo{width:52px!important;height:52px!important;max-width:52px!important;flex-basis:52px!important}
}

/* === FINAL HEADER / MOBILE DRAWER CORRECTIONS === */
/* Keep the navigation fixed beneath the viewport top on every device. */
.nav-wrap{
  position:sticky!important;
  top:0!important;
  z-index:6000!important;
}

/* Footer social links */
.footer-social{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.footer-social>span{font-weight:800;color:#fff;margin-right:2px}
.footer-social a{
  width:38px;height:38px;border-radius:50%;display:inline-flex;
  align-items:center;justify-content:center;color:#fff;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08);
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.footer-social a:hover{transform:translateY(-2px);background:var(--teal);border-color:var(--teal)}
.footer-social svg{width:19px;height:19px;display:block;fill:currentColor}
.footer-social a[aria-label="Instagram"] svg{fill:none;stroke:currentColor}

@media(max-width:900px){
  /* Restore the original complete top bar on mobile: phone, email, location and social links. */
  .topbar .container{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:center!important;
    gap:8px 14px!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
  }
  .topbar-left{
    display:flex!important;
    width:100%!important;
    flex:1 1 100%!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:center!important;
    gap:7px 16px!important;
  }
  .topbar-left .topbar-item,
  .topbar-left .topbar-item:nth-child(1){
    display:flex!important;
    font-size:12px!important;
    line-height:1.25!important;
    white-space:normal!important;
    margin:0!important;
  }
  .topbar-left .topbar-item:nth-child(1)::after{content:none!important;display:none!important}
  .topbar-left .topbar-item:nth-child(2),
  .topbar-left .topbar-item:nth-child(3){display:flex!important}
  .topbar-social{
    display:flex!important;
    width:auto!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    margin:0!important;
  }
  .topbar-social .follow-label{display:inline-flex!important;align-items:center!important;height:auto!important;margin-right:2px!important}
  .topbar-social a{margin-left:0!important;width:32px!important;height:32px!important;flex:0 0 32px!important}
  .topbar-social svg{width:17px!important;height:17px!important}

  /* Drawer no longer carries duplicated contact/social content. */
  .mobile-menu-info{display:none!important}

  /* Logo and close button locked to one exact horizontal centre line. */
  .mobile-menu-header{
    display:grid!important;
    grid-template-columns:58px 1fr 44px!important;
    align-items:center!important;
    width:calc(100% + 48px)!important;
    height:82px!important;
    min-height:82px!important;
    margin:0 -24px 8px!important;
    padding:12px 18px!important;
    gap:0!important;
    background:#fff!important;
    position:sticky!important;
    top:0!important;
    z-index:8!important;
  }
  .mobile-menu-logo{
    grid-column:1!important;
    align-self:center!important;
    justify-self:start!important;
    width:58px!important;
    height:58px!important;
    max-width:58px!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    border-radius:50%!important;
  }
  .mobile-menu-close{
    grid-column:3!important;
    align-self:center!important;
    justify-self:end!important;
    position:relative!important;
    inset:auto!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }
  .mobile-menu-close span{
    top:50%!important;
    left:50%!important;
    margin:0!important;
  }
}

@media(max-width:480px){
  .topbar-left{gap:6px 12px!important}
  .topbar-left .topbar-item,
  .topbar-left .topbar-item:nth-child(1){font-size:11px!important}
  .mobile-menu-header{
    grid-template-columns:52px 1fr 42px!important;
    height:76px!important;
    min-height:76px!important;
    padding:10px 15px!important;
  }
  .mobile-menu-logo{width:52px!important;height:52px!important;max-width:52px!important}
  .mobile-menu-close{width:42px!important;height:42px!important;min-width:42px!important}
}

/* === FINAL VERIFIED MOBILE DRAWER + FIXED NAV PATCH === */
/* Navigation becomes fixed only after its original scroll position is crossed. */
.nav-wrap.is-fixed{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:10000!important;
  box-shadow:0 8px 24px rgba(15,43,92,.14)!important;
}
.nav-fixed-spacer{display:none;height:0}
.nav-fixed-spacer.active{display:block}

/* Footer social icons: compact and balanced with the footer typography. */
.footer-social{gap:8px!important;margin-top:15px!important}
.footer-social>span{font-size:14px!important;margin-right:3px!important}
.footer-social a{
  width:31px!important;
  height:31px!important;
  flex:0 0 31px!important;
}
.footer-social svg{width:15px!important;height:15px!important}

@media(max-width:900px){
  /* Higher specificity defeats older .nav-links li display:block rules. */
  .nav-links > li.mobile-menu-header{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    position:sticky!important;
    top:0!important;
    width:calc(100% + 48px)!important;
    height:76px!important;
    min-height:76px!important;
    margin:0 -24px 10px!important;
    padding:10px 16px!important;
    gap:12px!important;
    background:#fff!important;
    border-bottom:1px solid rgba(8,43,92,.13)!important;
    z-index:20!important;
    box-sizing:border-box!important;
  }
  .nav-links > li.mobile-menu-header .mobile-menu-logo{
    display:block!important;
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    max-width:52px!important;
    flex:0 0 52px!important;
    margin:0!important;
    padding:0!important;
    align-self:center!important;
    object-fit:contain!important;
    object-position:center!important;
    border-radius:50%!important;
  }
  .nav-links > li.mobile-menu-header .mobile-menu-close{
    display:block!important;
    position:relative!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    flex:0 0 42px!important;
    margin:0 0 0 auto!important;
    padding:0!important;
    align-self:center!important;
    inset:auto!important;
    transform:none!important;
    border:0!important;
    background:transparent!important;
    box-sizing:border-box!important;
  }
  .nav-links > li.mobile-menu-header .mobile-menu-close span{
    position:absolute!important;
    top:50%!important;
    left:50%!important;
    width:27px!important;
    height:3px!important;
    margin:0!important;
    border-radius:999px!important;
    background:#082b5c!important;
    transform-origin:center!important;
  }
  .nav-links > li.mobile-menu-header .mobile-menu-close span:first-child{
    transform:translate(-50%,-50%) rotate(45deg)!important;
  }
  .nav-links > li.mobile-menu-header .mobile-menu-close span:last-child{
    transform:translate(-50%,-50%) rotate(-45deg)!important;
  }
}

@media(max-width:380px){
  .nav-links > li.mobile-menu-header{
    height:70px!important;
    min-height:70px!important;
    padding:9px 14px!important;
  }
  .nav-links > li.mobile-menu-header .mobile-menu-logo{
    width:48px!important;height:48px!important;min-width:48px!important;max-width:48px!important;flex-basis:48px!important;
  }
  .nav-links > li.mobile-menu-header .mobile-menu-close{
    width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important;
  }
}


/* === FINAL TOPBAR SCALE + FOOTER X PATCH === */
/* Keep the desktop top bar in one compact line without increasing header height. */
.topbar{font-size:12px!important}
.topbar .container{padding-top:6px!important;padding-bottom:6px!important;gap:6px 12px!important}
.topbar-left{gap:16px!important;align-items:center!important}
.topbar-item{gap:6px!important;line-height:1.2!important}
.topbar-social{display:flex!important;align-items:center!important;gap:5px!important;line-height:1!important}
.topbar-social .follow-label{font-size:12px!important;line-height:1!important;margin:0 2px 0 0!important;white-space:nowrap!important}
.topbar-social a{width:25px!important;height:25px!important;flex:0 0 25px!important;margin-left:0!important}
.topbar-social svg{width:13px!important;height:13px!important}

/* Footer keeps Facebook, Instagram, YouTube and X at the same compact scale. */
.footer-social a{width:31px!important;height:31px!important;flex:0 0 31px!important}
.footer-social svg{width:15px!important;height:15px!important}

@media(max-width:900px){
  .topbar .container{padding-top:6px!important;padding-bottom:6px!important;gap:5px 10px!important}
  .topbar-left{gap:5px 11px!important}
  .topbar-left .topbar-item,
  .topbar-left .topbar-item:nth-child(1){font-size:10.5px!important;line-height:1.15!important}
  .topbar-social{gap:4px!important}
  .topbar-social .follow-label{font-size:10.5px!important}
  .topbar-social a{width:24px!important;height:24px!important;flex:0 0 24px!important}
  .topbar-social svg{width:12px!important;height:12px!important}
}

@media(max-width:480px){
  .topbar .container{padding-top:5px!important;padding-bottom:5px!important}
  .topbar-left .topbar-item,
  .topbar-left .topbar-item:nth-child(1){font-size:10px!important}
  .topbar-social .follow-label{font-size:10px!important}
  .topbar-social a{width:23px!important;height:23px!important;flex-basis:23px!important}
  .topbar-social svg{width:11px!important;height:11px!important}
}
