﻿/* =========================================================
   Shree Chamunda Piles Clinic — Main Stylesheet
   ========================================================= */

:root {
  --blue:        #1E5BD8;
  --blue-dark:   #0F3DA8;
  --blue-deep:   #0B2E80;
  --blue-soft:   #E8F1FF;
  --blue-softer: #F4F8FF;
  --green:       #16A34A;
  --green-soft:  #E6F7EE;
  --whatsapp:    #25D366;
  --ink:         #0F172A;
  --ink-2:       #1F2937;
  --muted:       #5B6473;
  --muted-2:     #8A93A2;
  --line:        #E5EAF2;
  --card:        #FFFFFF;
  --pink-soft:   #FDECEF;
  --orange-soft: #FFF1DD;
  --purple-soft: #EFE6FB;
  --cyan-soft:   #E1F3FB;
  --shadow-sm:   0 2px 6px rgba(15,61,168,.06);
  --shadow-md:   0 8px 28px rgba(15,61,168,.10);
  --shadow-lg:   0 20px 50px rgba(15,61,168,.14);
  --radius:      14px;
  --radius-lg:   20px;
  --container:   1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink-2);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Toast ---- */
.toast-msg {
  position: fixed; top: 20px; right: 20px;
  background: #fff; border-left: 4px solid #16A34A;
  padding: 14px 20px; border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 14px; font-weight: 500; color: var(--ink);
  z-index: 9999;
  transition: opacity .4s ease, transform .4s ease;
  display: flex; align-items: center; gap: 10px;
}
.toast-msg i { color: #16A34A; font-size: 18px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 20px rgba(30,91,216,.25);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); color: #fff; }
.btn-whatsapp {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-whatsapp:hover { border-color: #cfdcf3; }
.wa-ic {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; font-size: 14px;
}
.btn-link {
  display: block; margin-top: 10px;
  color: var(--blue); font-size: 13px; font-weight: 500;
  text-align: center;
}
.btn-link:hover { text-decoration: underline; }

/* ---- Brand (legacy — kept for compatibility) ---- */
.brand {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; flex-shrink: 1;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.logo-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, #E8F1FF, #D6E5FF);
  display: grid; place-items: center;
  color: var(--blue); font-size: 26px;
  box-shadow: inset 0 0 0 1px #cfdcf3;
  flex: 0 0 52px;
}
.brand-name { font-size: 22px; font-weight: 700; color: var(--blue); line-height: 1; white-space: nowrap; }
.brand-tag  { font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; }

/* ════════════════════════════════════════
   PILL BRAND LOGO — matches admin navbar style
   Used on topbar, footer, mobile nav panel
   ════════════════════════════════════════ */
.cc-pill-brand { gap: 0; }
.cc-pill {
  display: flex; align-items: center; gap: 0;
  background: linear-gradient(135deg, #1E5BD8 0%, #0F3DA8 100%);
  border-radius: 12px;
  height: 44px;
  box-shadow: 0 3px 10px rgba(30,91,216,.28);
  transition: box-shadow .2s, transform .2s;
  flex-shrink: 0;
  overflow: visible; /* never clip text */
}
.cc-pill-brand:hover .cc-pill {
  box-shadow: 0 5px 16px rgba(30,91,216,.42);
  transform: translateY(-1px);
}
/* Dark footer variant */
.cc-pill.cc-pill-dark {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: none;
}
.cc-pill-emblem {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,.15);
  border-right: 1px solid rgba(255,255,255,.12);
  border-radius: 12px 0 0 12px;
}
.cc-pill.cc-pill-dark .cc-pill-emblem { background: rgba(0,0,0,.18); }
.cc-pill-text {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 14px 0 10px;
  line-height: 1;
  height: 44px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, #1E5BD8 0%, #0F3DA8 100%);
}
.cc-pill.cc-pill-dark .cc-pill-text { background: transparent; }
.cc-pill-l1 {
  font-size: 14px; font-weight: 700; color: #fff;
  letter-spacing: .1px; white-space: nowrap;
}
.cc-pill-l2 {
  font-size: 9.5px; font-weight: 500;
  color: rgba(255,255,255,.72);
  letter-spacing: .7px; text-transform: uppercase;
  margin-top: 3px; white-space: nowrap;
}

/* Responsive pill sizes */
@media (max-width: 767px) {
  .cc-pill        { height: 38px; border-radius: 10px; }
  .cc-pill-emblem { width: 38px; height: 38px; border-radius: 10px 0 0 10px; }
  .cc-pill-text   { height: 38px; border-radius: 0 10px 10px 0; padding: 0 10px 0 8px; }
  .cc-pill-l1     { font-size: 12px; }
  .cc-pill-l2     { font-size: 8px; }
}
@media (max-width: 480px) {
  .cc-pill        { height: 36px; border-radius: 9px; }
  .cc-pill-emblem { width: 34px; height: 36px; border-radius: 9px 0 0 9px; }
  .cc-pill-text   { height: 36px; border-radius: 0 9px 9px 0; padding: 0 9px 0 7px; }
  .cc-pill-l1     { font-size: 11px; }
  .cc-pill-l2     { font-size: 7.5px; letter-spacing: .3px; margin-top: 2px; }
}

/* ---- Top Header ---- */
.topbar {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 100;
}
.topbar .row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: nowrap;
}
.info-cell {
  display: flex; align-items: center; gap: 10px; color: var(--ink-2);
}
.info-cell .ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 16px; flex: 0 0 40px;
}
.info-cell .lbl { font-size: 12px; color: var(--muted); line-height: 1.2; }
.info-cell .val { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---- Navigation ---- */
.nav {
  background: var(--blue); color: #fff;
  position: relative; z-index: 200;
}
.nav.sticky {
  position: fixed; top: 0; left: 0; right: 0;
  box-shadow: 0 4px 20px rgba(14,61,168,.3);
  animation: slideDown .25s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px;
}
#nav-menu {
  display: flex; gap: 0; padding: 0; margin: 0; list-style: none;
}
#nav-menu li a {
  display: flex; align-items: center; height: 52px; padding: 0 16px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.92);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
#nav-menu li a:hover { background: rgba(255,255,255,.12); color: #fff; }
#nav-menu li a.active { background: rgba(255,255,255,.18); color: #fff; }
.nav-login-sep { border-left: 1px solid rgba(255,255,255,.2); margin-left: 6px; }
.nav-login-link {
  display: flex !important; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1) !important;
  padding: 0 14px !important;
}
.nav-admin-link { background: rgba(0,0,0,.15) !important; }

/* Hamburger button — shown only on mobile */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  cursor: pointer;
  background: var(--blue-soft, #EBF1FD);
  border: 1.5px solid #D6E4FF;
  border-radius: 10px;
  padding: 0;
  flex-shrink: 0;
  transition: background .15s, opacity .2s;
  opacity: 1;
}
.menu-btn:hover { background: #D6E4FF; }
/* Animated hamburger bars — blue to match topbar */
.menu-btn .bar {
  display: flex; flex-direction: column; gap: 5px;
  width: 20px;
}
.menu-btn .bar span {
  display: block; height: 2px; background: var(--blue, #1E5BD8); border-radius: 2px;
  transition: transform .25s, opacity .25s, width .25s;
}
/* When drawer is open, hide the hamburger — the panel has its own X close button */
.menu-btn.is-open { opacity: 0; pointer-events: none; }

/* Mobile nav drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 190;
  pointer-events: none;
}
.mobile-nav-drawer.open { pointer-events: auto; }

.nav-backdrop {
  position: absolute; inset: 0;
  background: rgba(11,46,128,.55);
  opacity: 0; transition: opacity .25s;
}
.mobile-nav-drawer.open .nav-backdrop { opacity: 1; }

.nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(80vw, 300px);
  background: var(--blue-dark);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column;
}
.mobile-nav-drawer.open .nav-panel { transform: translateX(0); }

.nav-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: var(--blue-deep);
}
.nav-panel-head .brand-name { color: #fff; font-size: 16px; font-weight: 700; }
.nav-panel-head .brand-tag  { color: rgba(255,255,255,.7); font-size: 11px; }
.nav-close-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  display: grid; place-items: center; font-size: 16px; cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
}
.nav-close-btn:hover { background: rgba(255,255,255,.22); }

.nav-panel ul { list-style: none; padding: 8px 0; margin: 0; flex: 1; }
.nav-panel ul li a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .15s, color .15s;
}
.nav-panel ul li a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-panel ul li a i { width: 20px; text-align: center; opacity: .8; font-size: 14px; }
.nav-panel .nav-panel-logins {
  padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; gap: 10px;
}
.nav-panel .nav-panel-logins a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
  color: #fff; text-align: center;
}
.nav-panel .btn-patient { background: var(--green); }
.nav-panel .btn-admin   { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); }

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 20% 0%, #DCE9FF 0%, transparent 60%),
    radial-gradient(900px 400px at 100% 30%, #E2EDFF 0%, transparent 60%),
    linear-gradient(180deg, #F2F7FF 0%, #ECF3FF 100%);
  overflow: hidden; padding: 56px 0 32px;
}
.plus-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(30,91,216,.08) 1px, transparent 2px);
  background-size: 28px 28px;
  opacity: .35; pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr .9fr;
  gap: 28px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue);
  border-radius: 50px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.hero-text h1 {
  font-size: 50px; line-height: 1.08; font-weight: 700;
  color: var(--ink); margin: 0 0 16px; letter-spacing: -.5px;
}
.hero-text h1 .accent { color: var(--blue); display: block; }
.ecg-line {
  display: flex; align-items: center; gap: 8px;
  margin: 6px 0 18px; color: var(--blue);
}
.ecg-line svg { width: 200px; height: 20px; }
.hero-text p.lead { color: var(--muted); font-size: 16px; max-width: 440px; margin: 0 0 22px; }
.hero-pills { display: flex; gap: 24px; margin: 0 0 26px; flex-wrap: wrap; }
.pill { display: flex; align-items: center; gap: 10px; }
.pill .pic {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px;
}
.pill.b .pic { background: #DDE9FF; color: var(--blue); }
.pill.g .pic { background: #DCF3E5; color: #16A34A; }
.pill.o .pic { background: #FFE6CC; color: #E07A1F; }
.pill .t { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.doctor-wrap {
  position: relative; display: grid; place-items: end center;
}
.doctor-wrap img {
  max-height: 520px; width: auto;
  filter: drop-shadow(0 30px 40px rgba(15,61,168,.18));
}
.cross {
  position: absolute; color: var(--blue);
  opacity: .35; font-size: 26px;
}

/* Booking Card */
.booking-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-lg);
  border: 1px solid #E5ECFA;
}
.booking-card h3 {
  text-align: center; font-size: 20px; color: var(--blue); margin: 0 0 6px;
}
.uline {
  width: 60px; height: 3px; background: var(--blue);
  border-radius: 2px; margin: 0 auto 4px;
}
.dots {
  text-align: center; color: var(--muted-2);
  letter-spacing: 3px; margin-bottom: 16px;
}
.field {
  position: relative; margin-bottom: 11px;
}
.field > i {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); font-size: 13px;
}
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line);
  background: #fff; border-radius: 10px;
  padding: 13px 13px 13px 38px;
  font-size: 13px; color: var(--ink); font-family: inherit;
  appearance: none; -webkit-appearance: none;
  outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select { color: var(--muted-2); }
.field.select::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); font-size: 11px; pointer-events: none;
}
.field.date::after {
  content: "\f073"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--blue); font-size: 13px; pointer-events: none;
}
.safe {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px; font-size: 12px; color: var(--muted);
}
.safe i { color: var(--green); }

/* ---- Stats Bar ---- */
.stats-wrap { margin-top: -26px; position: relative; z-index: 2; }
.stats-bar {
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 20px 14px;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 18px; border-right: 1px solid #EEF2F8;
}
.stat:last-child { border-right: 0; }
.stat .ic {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 22px;
}
.stat.g .ic { background: #E0F3E6; color: #16A34A; }
.stat.y .ic { background: #FFF1CB; color: #F0A500; }
.stat.p .ic { background: #EEE6FB; color: #7C3AED; }
.stat .v { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1; }
.stat .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---- Section Headings ---- */
section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 32px; font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.section-head .uline { margin: 0 auto; }
.section-head .dots { margin-top: 6px; }
.kicker {
  color: var(--blue); font-weight: 700; letter-spacing: 1.5px;
  font-size: 12px; margin-bottom: 6px;
}

/* ---- Services ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 16px;
}
.svc {
  border-radius: var(--radius); padding: 24px 16px; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc .ic { font-size: 36px; margin-bottom: 12px; display: inline-block; }
.svc h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 7px; min-height: 40px; }
.svc p  { font-size: 12px; color: var(--muted); margin: 0; }
.svc.b { background: #E8F1FF; } .svc.b .ic { color: var(--blue); }
.svc.g { background: #E6F7EE; } .svc.g .ic { color: #16A34A; }
.svc.r { background: var(--pink-soft); } .svc.r .ic { color: #E0375A; }
.svc.o { background: var(--orange-soft); } .svc.o .ic { color: #E08A1F; }
.svc.p { background: var(--purple-soft); } .svc.p .ic { color: #7C3AED; }
.svc.c { background: var(--cyan-soft); } .svc.c .ic { color: #1AB1E0; }

/* ---- About ---- */
.about-wrap { padding: 30px 0 60px; background: var(--blue-softer); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.about-grid img { border-radius: 16px; box-shadow: var(--shadow-md); }
.about-grid h2 { font-size: 34px; font-weight: 700; color: var(--ink); margin: 6px 0 14px; line-height: 1.15; }
.about-grid h2 .accent { color: var(--blue); }
.about-grid p { color: var(--muted); margin: 0 0 18px; max-width: 480px; }
.checklist { padding: 0; margin: 0; }
.checklist li {
  display: flex; align-items: center; gap: 12px;
  padding: 7px 0; font-weight: 500; color: var(--ink-2);
}
.checklist li i { color: var(--blue); font-size: 17px; }

/* ---- Doctor Spotlight (single doctor) ---- */
.doctor-spotlight {
  background: #fff; border: 1px solid #EEF2F8; border-radius: 22px;
  padding: 32px; display: grid; grid-template-columns: 260px 1fr;
  gap: 36px; align-items: center;
  box-shadow: 0 12px 36px rgba(15,61,168,.10);
}
.ds-photo {
  position: relative;
  width: 260px; height: 320px; border-radius: 18px;
  overflow: hidden; background: linear-gradient(135deg,#EBF1FD,#D6E4FF);
}
.ds-photo img { width: 100%; height: 100%; object-fit: cover; }
.ds-badge {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line);
  border-radius: 50px; padding: 6px 14px;
  font-size: 11px; font-weight: 700; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
  white-space: nowrap;
}
.ds-name { font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.ds-spec {
  display: inline-block; margin-top: 6px;
  background: var(--blue-soft, #EBF1FD); color: var(--blue);
  padding: 5px 14px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
}
.ds-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin: 18px 0; color: var(--muted); font-size: 13px;
}
.ds-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ds-meta i { color: var(--blue); }
.ds-about {
  color: var(--ink-2, #1F2937); line-height: 1.7; font-size: 14px;
  margin-bottom: 18px;
}
.ds-expertise { margin-bottom: 22px; }
.ds-expertise strong {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--ink); text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 10px;
}
.ds-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-chips span {
  background: #F4F8FF; border: 1px solid #D6E4FF;
  color: var(--blue); padding: 6px 12px; border-radius: 50px;
  font-size: 12px; font-weight: 600;
}
.ds-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-actions .btn-outline {
  background: transparent; border: 1.5px solid var(--blue);
  color: var(--blue);
}
.ds-actions .btn-outline:hover { background: var(--blue); color: #fff; }

@media (max-width: 860px) {
  .doctor-spotlight { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .ds-photo { width: 100%; max-width: 280px; margin: 0 auto; height: 320px; }
  .ds-name { font-size: 24px; text-align: center; }
  .ds-spec { display: inline-block; }
  .ds-body { text-align: center; }
  .ds-meta, .ds-chips, .ds-actions { justify-content: center; }
  .ds-expertise strong { text-align: center; }
}

/* ---- Testimonials ---- */
.testimonials { background: linear-gradient(180deg,#F0F6FF 0%,#E7F0FF 100%); }

/* Google rating strip */
.g-rating-strip {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fff; padding: 10px 18px; border-radius: 50px;
  box-shadow: 0 4px 14px rgba(15,61,168,.08);
  border: 1px solid var(--line);
}
.g-rating-num { font-size: 22px; font-weight: 700; color: var(--ink); }
.g-rating-stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; }
.g-rating-meta { font-size: 13px; color: var(--muted); }
.g-rating-meta strong { color: var(--ink); }
.g-rating-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #EFF6FF; color: #1D4ED8;
  border-radius: 50px; padding: 4px 10px;
  font-size: 11px; font-weight: 700;
}
.g-rating-badge .fa-google { color: #4285F4; }

/* ---- Testimonials Carousel ---- */
/* Outer flex: arrows on sides (desktop), stacked (mobile) */
.tm-wrap { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px;
  background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  color: var(--ink-2); font-size: 15px;
  cursor: pointer; transition: box-shadow .15s, transform .15s;
  border: none; outline: none;
}
.arrow:hover:not(:disabled) { box-shadow: var(--shadow-md); transform: scale(1.06); }
.arrow:disabled { opacity: .35; cursor: default; }
.tm-track-wrap { flex: 1; overflow: hidden; }

/*
  KEY FIX: use FLEX not Grid so translateX works correctly.
  Each .tm card gets width calculated by JS (viewport / visible count) minus gap.
  gap: 16px on desktop, 8px on mobile.
*/
.tm-track {
  display: flex; flex-wrap: nowrap;
  gap: 16px;
  transition: transform .40s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  align-items: stretch;
}

/* Each card: JS sets flex: 0 0 <width>px via --tm-w CSS var */
.tm {
  position: relative;
  flex: 0 0 var(--tm-w, 33%); /* JS overrides this */
  min-width: 0;
  background: #fff; border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 14px rgba(15,61,168,.06);
  border: 1px solid #EEF2F8;
  transition: box-shadow .18s;
  box-sizing: border-box;
}
.tm:hover { box-shadow: 0 10px 26px rgba(15,61,168,.12); }

/* Top row: avatar + name/when */
.tm .tm-top-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.tm .av-init {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700; color: #fff;
}
.tm .tm-body { flex: 1; min-width: 0; }
.tm .tm-head {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 2px;
}
.tm .tm-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.tm .tm-when { font-size: 11px; color: var(--muted); }
.tm .stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; margin: 6px 0 8px; }
.tm .qt { color: var(--ink-2); font-size: 13px; line-height: 1.6; margin: 0; }
.tm-g-mark {
  position: absolute; top: 12px; right: 12px;
  color: #4285F4; font-size: 14px; opacity: .85;
}

/* Desktop: side arrows visible, mobile controls hidden */
.tm-arrow-side { display: grid; }
.tm-controls { display: none; }

/* Dot indicators */
.tm-dots {
  display: none;
  justify-content: center; gap: 8px;
}
.tm-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #CBD5E1; border: none; padding: 0; cursor: pointer;
  transition: background .2s, transform .2s; outline: none;
}
.tm-dot.active { background: var(--blue); transform: scale(1.35); }

/* ---- Gallery ---- */
.gallery-filters {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 24px;
}
.gf-btn {
  padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  cursor: pointer; transition: all .2s;
}
.gf-btn:hover, .gf-btn.active {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.gal-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.gal-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-overlay {
  position: absolute; inset: 0; background: rgba(30,91,216,.55);
  display: flex; align-items: flex-end; padding: 14px;
  opacity: 0; transition: opacity .2s;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span { color: #fff; font-weight: 600; font-size: 14px; }

/* ---- Clinic Photo Gallery (real photos + 3D tour) ---- */
.clinic-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.cg-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 6px 18px rgba(15,61,168,.10);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  display: block;
  text-decoration: none;
  background: #EEF2F8;
}
.cg-item:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(15,61,168,.18); }
.cg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cg-item:hover img { transform: scale(1.06); }
.cg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 60%);
  display: flex; align-items: flex-end;
  padding: 14px;
}
.cg-overlay span {
  color: #fff; font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* 3D Tour card — always-on overlay */
.cg-tour { aspect-ratio: 16/10; }
.cg-overlay-tour {
  background: linear-gradient(135deg, rgba(66,133,244,.85), rgba(15,61,168,.85));
  flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: #fff;
  padding: 24px;
}
.cg-tour-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 28px;
  margin-bottom: 12px;
  backdrop-filter: blur(6px);
  transition: transform .3s;
}
.cg-tour:hover .cg-tour-icon { transform: scale(1.12) rotate(-8deg); }
.cg-tour-text strong {
  display: block; font-size: 16px;
  font-weight: 700; margin-bottom: 4px;
}
.cg-tour-text span { font-size: 12px; opacity: .85; }

@media (max-width: 820px) {
  .clinic-gallery-grid { grid-template-columns: 1fr; }
  .cg-tour { aspect-ratio: 4/3; }
}

/* ---- Tips + Contact ---- */
.tips-contact-wrap { padding: 30px 0 60px; }
.tips-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.tips-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.tips-head h2 { font-size: 24px; font-weight: 700; color: var(--ink); margin: 0; }
.tips-head a { color: var(--blue); font-weight: 600; font-size: 13px; }
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.article-card {
  background: #fff; border: 1px solid #EEF2F8; border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Image wrapper: relative so category badge overlays */
.article-img-link { position: relative; display: block; text-decoration: none; overflow: hidden; }
.article-img-link img { width: 100%; height: 140px; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-img-link img { transform: scale(1.04); }
.article-cat {
  position: absolute; top: 10px; left: 10px;
  background: var(--blue); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 50px;
  text-transform: uppercase;
}
.article-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.article-body h5 { font-size: 14px; margin: 0 0 6px; line-height: 1.35; }
.article-body h5 a { color: var(--ink); text-decoration: none; font-weight: 700; }
.article-body h5 a:hover { color: var(--blue); }
.article-body .dt { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.article-excerpt { font-size: 12px; color: var(--ink-2); line-height: 1.55; margin: 0 0 12px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-body .rm { font-size: 12px; color: var(--blue); font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; margin-top: auto; }
.article-body .rm:hover { gap: 8px; }

.contact-info-card {
  background: #fff; border: 1px solid #EEF2F8;
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--ink); }
.contact-info-card .uline { margin: 0 0 16px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.contact-row i {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-size: 13px; flex: 0 0 34px;
}
.contact-row .v { color: var(--ink-2); font-size: 13px; font-weight: 500; line-height: 1.4; }
.contact-row .v a { color: var(--blue); }
.contact-row .v a:hover { text-decoration: underline; }
.map-embed {
  margin-top: 14px; position: relative;
}
.map-embed iframe {
  width: 100%; height: 180px; border: 0;
  border-radius: 10px; display: block;
}
.map-directions-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; width: 100%; justify-content: center;
  background: var(--blue); color: #fff !important;
  padding: 11px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  transition: background .15s, transform .15s;
  text-decoration: none !important;
}
.map-directions-btn:hover {
  background: var(--blue-dark); transform: translateY(-1px);
}

/* ---- Contact Form Section ---- */
.contact-form-section { background: var(--blue-softer); padding: 60px 0; }
.contact-form-wrap { max-width: 800px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field-full { grid-column: 1 / -1; }
.field-full textarea { padding-top: 14px; }

/* ---- Logins Section ---- */
.logins-section { padding: 60px 0; }
.logins-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.login-card {
  background: #fff; border: 1px solid #EEF2F8; border-radius: var(--radius-lg);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.login-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.login-icon {
  width: 70px; height: 70px; border-radius: 50%;
  display: grid; place-items: center; font-size: 28px; margin: 0 auto 16px;
}
.login-icon.b { background: var(--blue-soft); color: var(--blue); }
.login-icon.g { background: #E6F7EE; color: #16A34A; }
.login-icon.o { background: var(--orange-soft); color: #E08A1F; }
.login-card h4 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.login-card p { font-size: 13px; color: var(--muted); margin: 0 0 18px; }

/* ---- Footer ---- */
footer {
  background: linear-gradient(180deg, #1E5BD8 0%, #1949B0 100%);
  color: #fff; padding: 60px 0 16px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.2fr .8fr .9fr 1fr 1fr; gap: 28px;
}
.foot-brand p { color: rgba(255,255,255,.8); margin: 14px 0 16px; font-size: 13px; max-width: 220px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; color: #fff;
}
.socials .fb { background: #1877F2; }
.socials .ig { background: radial-gradient(circle at 30% 110%, #FFDC80, #FCAF45, #F77737, #F56040, #FD1D1D, #E1306C, #C13584); }
.socials .wa { background: #25D366; }
.socials .yt { background: #FF0000; }
footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; font-weight: 600; }
footer ul li { font-size: 13px; color: rgba(255,255,255,.85); padding: 4px 0; }
footer ul li a:hover { color: #fff; text-decoration: underline; }
.svc-list li { display: flex; align-items: center; gap: 7px; }
.svc-list li i { color: #58D08B; font-size: 12px; }
.hours-row {
  font-size: 13px; color: rgba(255,255,255,.9);
  display: grid; grid-template-columns: 65px auto; gap: 6px; padding: 2px 0;
}
.emerg-box {
  margin-top: 12px; background: #0E8E5A; border-radius: 10px;
  padding: 12px; display: flex; align-items: center; gap: 10px;
}
.emerg-box .ic {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff;
  display: grid; place-items: center; font-size: 14px;
}
.emerg-box .t { font-weight: 600; line-height: 1.2; font-size: 13px; }
.emerg-box .s { font-size: 12px; opacity: .85; }
.newsletter p { font-size: 12px; color: rgba(255,255,255,.8); margin: 0 0 10px; }
.nl-box {
  background: #fff; border-radius: 8px; padding: 5px;
  display: flex; align-items: center;
}
.nl-box input {
  flex: 1; border: 0; outline: 0; padding: 9px 10px;
  font-size: 12px; font-family: inherit; color: var(--ink);
}
.nl-box button {
  background: var(--blue); color: #fff; padding: 9px 12px;
  border-radius: 6px; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
}
.copy {
  margin-top: 36px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center; font-size: 12px; color: rgba(255,255,255,.65);
}

/* =========================================================
   FLOATING ACTION BUTTONS — WhatsApp / Call / Scroll-top
   ========================================================= */

/* --- Shared base --- */
.fab-wa,
.fab-cl {
  position: fixed;
  bottom: 32px; z-index: 500;
  display: flex; align-items: center; gap: 12px;
  border-radius: 60px;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.4,0,.2,1),
              box-shadow .22s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}
.fab-wa:hover,
.fab-cl:hover { transform: translateY(-4px); }

/* --- Icon circle --- */
.fab-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px; flex-shrink: 0;
  transition: transform .2s;
}
.fab-wa:hover .fab-icon,
.fab-cl:hover .fab-icon { transform: scale(1.1); }

/* --- Text block --- */
.fab-body { display: flex; flex-direction: column; line-height: 1.2; }
.fab-sub  { font-size: 10px; font-weight: 500; opacity: .8; text-transform: uppercase; letter-spacing: .5px; }
.fab-main { font-size: 14px; font-weight: 700; }

/* --- WhatsApp — bottom left --- */
.fab-wa {
  left: 24px;
  background: #fff;
  border: 1.5px solid #d1f5e0;
  box-shadow: 0 8px 28px rgba(37,211,102,.22);
  padding: 8px 20px 8px 8px;
  color: #128C7E;
}
.fab-wa .fab-icon { background: #25D366; color: #fff; }
.fab-wa .fab-sub  { color: #25D366; }
.fab-wa .fab-main { color: #075E54; }
.fab-wa:hover { box-shadow: 0 14px 36px rgba(37,211,102,.38); color: #075E54; }

/* --- Call — bottom right --- */
.fab-cl {
  right: 24px;
  background: #fff;
  border: 1.5px solid #d6e4ff;
  box-shadow: 0 8px 28px rgba(30,91,216,.18);
  padding: 8px 20px 8px 8px;
  color: var(--blue);
}
.fab-cl .fab-icon { background: var(--blue); color: #fff; }
.fab-cl .fab-sub  { color: var(--blue); }
.fab-cl .fab-main { color: var(--ink); }
.fab-cl:hover { box-shadow: 0 14px 36px rgba(30,91,216,.32); color: var(--blue); }

/* --- Scroll-to-top — just above call button --- */
.scroll-top-btn {
  position: fixed;
  right: 24px; bottom: 116px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--blue);
  border: 2px solid #D6E4FF;
  display: grid; place-items: center;
  font-size: 16px; cursor: pointer;
  box-shadow: 0 4px 16px rgba(30,91,216,.14);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s, opacity .3s;
  opacity: 0; pointer-events: none;
  text-decoration: none;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover {
  background: var(--blue); color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(30,91,216,.28);
}

/* ---- Mobile: compact icon-only circles ---- */
@media (max-width: 600px) {
  .fab-wa, .fab-cl {
    width: 54px; height: 54px;
    padding: 0; border-radius: 50%;
    justify-content: center;
    border-width: 0;
  }
  .fab-wa {
    left: 16px; bottom: 24px;
    background: #25D366;
    box-shadow: 0 6px 20px rgba(37,211,102,.40);
  }
  .fab-cl {
    right: 16px; bottom: 24px;
    background: var(--blue);
    box-shadow: 0 6px 20px rgba(30,91,216,.35);
  }
  .fab-wa .fab-icon,
  .fab-cl .fab-icon { width: 54px; height: 54px; font-size: 24px; background: transparent; }
  .fab-wa .fab-icon { color: #fff; }
  .fab-cl .fab-icon { color: #fff; }
  .fab-body { display: none; }
  .scroll-top-btn { right: 16px; bottom: 94px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .doctor-wrap { display: none; }
  .services-grid { grid-template-columns: repeat(3,1fr); }
  .docs-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: repeat(2,1fr); }
  .tips-contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .logins-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 800px) {
  .articles-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .cf-row { grid-template-columns: 1fr; }
}
/* ---- Mobile nav: hide the whole nav bar, show hamburger in topbar ---- */
@media (max-width: 900px) {
  /* Hide the entire nav bar (nav-inner strip) on mobile */
  #main-nav { display: none !important; }
  /* Show mobile drawer container */
  .mobile-nav-drawer { display: block; }
}
@media (min-width: 901px) {
  /* Always show desktop nav bar, never show mobile drawer */
  #main-nav { display: block !important; }
  #nav-menu { display: flex !important; }
  .menu-btn { display: none !important; }
  .mobile-nav-drawer { display: none !important; }
}

@media (max-width: 900px) {
  /* Topbar: show brand + hamburger only, hide info cells and book btn */
  .topbar .row { flex-wrap: nowrap; justify-content: space-between; align-items: center; }
  .topbar .row > .info-cell { display: none; }
  .topbar .row > .btn.btn-primary { display: none; }
  /* Show hamburger in topbar on mobile */
  .menu-btn { display: flex !important; }
  /* Logo smaller */
  .logo-icon { width: 40px; height: 40px; font-size: 20px; flex: 0 0 40px; }
  .brand-name { font-size: 18px; }
}
@media (min-width: 901px) {
  /* Hide hamburger on desktop, show Book Appointment btn */
  .menu-btn { display: none !important; }
  .topbar .row > .btn.btn-primary { display: inline-flex; }
}

/* Tablet breakpoint handled entirely by JS (2 cards) — no CSS grid needed */

@media (max-width: 720px) {
  .hero-text h1 { font-size: 34px; }
  .hero-grid { grid-template-columns: 1fr; }
  .booking-card { margin-top: 20px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .docs-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid #EEF2F8; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .section-head h2 { font-size: 26px; }
  .about-grid h2 { font-size: 26px; }
  .logins-grid { grid-template-columns: 1fr; }

  /* ---- Testimonials Mobile ---- */
  /* Rating strip: wrap into compact rows */
  .g-rating-strip {
    border-radius: 16px; gap: 8px 12px;
    padding: 10px 14px; justify-content: center;
    width: 100%; box-sizing: border-box;
  }
  .g-rating-num { font-size: 20px; }
  .g-rating-meta { font-size: 12px; }

  /* Carousel: stack arrows below, use 2-per-slide (JS handles width) */
  .tm-wrap { flex-direction: column; gap: 0; align-items: stretch; }
  .tm-track-wrap { width: 100%; }
  .tm-track { gap: 8px; } /* smaller gap on mobile */

  /* Side arrows hidden on mobile */
  .tm-arrow-side { display: none !important; }

  /* Controls row below: prev • dots • next */
  .tm-controls {
    display: flex !important;
    justify-content: center; align-items: center;
    gap: 14px; margin-top: 14px;
  }
  .tm-controls .arrow { width: 42px; height: 42px; flex: 0 0 42px; font-size: 14px; }

  /* Card tweaks for mobile (smaller padding) */
  .tm { padding: 16px 14px; border-radius: 14px; }
  .tm .av-init { width: 40px; height: 40px; font-size: 16px; flex: 0 0 40px; }
  .tm .tm-name { font-size: 13px; }
  .tm .tm-when { font-size: 11px; }
  .tm .stars { font-size: 12px; letter-spacing: 2px; margin: 4px 0 6px; }
  .tm .qt { font-size: 12px; line-height: 1.55; }
  .tm-g-mark { top: 10px; right: 10px; font-size: 13px; }

  /* Show dots */
  .tm-controls .tm-dots { display: flex; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 28px; }
  .hero-badge { font-size: 11px; padding: 5px 10px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-pills { gap: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar .row > .btn { display: none; } /* hide Book btn, hero has it */
  .brand-name { font-size: 16px; }
  .brand-tag { display: none; }

  /* Very small phones: make rating strip even more compact */
  .g-rating-strip { gap: 6px 10px; padding: 8px 12px; }
  .g-rating-stars { letter-spacing: 1px; }
}
