:root {
  --bg: #f4f6ef;
  --ink: #0f2821;
  --brand: #006d5b;
  --brand-strong: #04483c;
  --accent: #f26b3a;
  --card: #ffffff;
  --muted: #6a7b75;
  --line: #d6ddd9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, #dcece4 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, #f6ddcf 0%, transparent 35%),
    var(--bg);
}

h1,
h2,
h3,
h4 {
  font-family: "DM Serif Display", serif;
  margin: 0 0 0.8rem;
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.main-nav a.cta-link {
  color: #fff;
  background: var(--brand);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}

.hero {
  padding: 4.5rem 0 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  max-width: 11ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  max-width: 65ch;
  font-size: 1.08rem;
}

.section-lead {
  max-width: 52rem;
  color: var(--muted);
}

.section-head {
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-points {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.2rem;
  margin: 1.5rem 0 0;
  color: var(--brand-strong);
  font-weight: 600;
}

.hero-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(10, 40, 31, 0.17);
  transform: rotate(-1.2deg);
  min-height: 420px;
}

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

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid,
.location-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

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

.service-card,
.location-card,
.testimonial-card,
.partner-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(10, 40, 31, 0.08);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.location-card {
  padding: 1.1rem;
}

.location-copy {
  margin-bottom: 1rem;
}

.map-frame-wrap {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  min-height: 260px;
}

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

.testimonial-card-rich {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(0, 109, 91, 0.15);
}

.testimonial-source {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.section-partners {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.78));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-card {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 1rem 1.5rem;
  text-align: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.partner-logo {
  max-height: 52px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  display: block;
}

.partner-name {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.contact-band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: stretch;
}

.contact-band-card {
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  color: #fff;
  padding: 2rem 2.2rem;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(4, 72, 60, 0.2);
}

.contact-band-card p {
  margin-bottom: 0.85rem;
}

.contact-band-card .btn-primary {
  background: #fff;
  color: var(--brand-strong);
  margin-top: 0.5rem;
}

.testimonial-card cite {
  color: var(--brand);
  font-style: normal;
  font-weight: 700;
}

.btn-primary,
.btn-ghost,
.btn-tiny {
  border: 0;
  text-decoration: none;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 700;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  padding: 0.72rem 1.1rem;
}

.btn-ghost {
  display: inline-block;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.6rem 1rem;
  background: #fff;
}

.btn-tiny {
  padding: 0.4rem 0.6rem;
  font-size: 0.78rem;
  color: #fff;
}

/* Keep tiny ghost buttons readable (e.g. Staff Management 'Edit'). */
.btn-ghost.btn-tiny {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.btn-approve {
  background: #118457;
}

.btn-deny {
  background: #c2382e;
}

.btn-link {
  background: #d8efe8;
  color: var(--brand-strong);
}

.patient-linked-chip {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--brand-strong);
  font-weight: 700;
}

.flash-wrap {
  margin-top: 1rem;
}

.flash {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  margin: 0.5rem 0;
  border: 1px solid;
}

.flash-success {
  color: #145f42;
  background: #dbf6ea;
  border-color: #9ce0bf;
}

.flash-error {
  color: #7a241f;
  background: #ffe2de;
  border-color: #f7b0a7;
}

.flash-warning {
  color: #6b4b17;
  background: #fff0cf;
  border-color: #eed08f;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.card-lite {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(10, 40, 31, 0.06);
}

.narrow {
  max-width: 520px;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

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

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
}

.simple-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.booking-hero {
  padding-bottom: 1.4rem;
}

.booking-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.booking-callouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.booking-callout strong {
  display: block;
  font-family: "Fraunces", serif;
  color: var(--brand-strong);
  margin-bottom: 0.4rem;
}

.booking-callout p {
  margin: 0;
  color: var(--muted);
}

.booking-policy-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(240, 248, 243, 0.95));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 16px 38px rgba(10, 40, 31, 0.09);
}

.booking-policy-card h2 {
  font-size: 1.7rem;
}

.booking-policy-block {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.booking-policy-block p:last-child {
  margin-bottom: 0;
}

.booking-form-section {
  padding-top: 1rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: start;
}

.booking-form-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 18px 40px rgba(10, 40, 31, 0.1);
  display: grid;
  gap: 1rem;
}

.form-intro {
  padding-bottom: 0.3rem;
}

.booking-form-card label {
  font-size: 0.96rem;
}

.booking-form-card input,
.booking-form-card select,
.booking-form-card textarea {
  background: #fff;
  padding: 0.78rem 0.82rem;
  border-radius: 12px;
}

.booking-form-card textarea {
  resize: vertical;
}

.booking-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-footnote {
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.booking-sidebar {
  display: grid;
  gap: 1rem;
}

.booking-branch-stack {
  display: grid;
  gap: 1rem;
}

.booking-branch-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(10, 40, 31, 0.08);
}

.booking-branch-copy {
  margin-bottom: 0.9rem;
}

.compact-map {
  min-height: 220px;
}

.compact-map iframe {
  min-height: 220px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-head-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pending-badge {
  display: inline-block;
  background: #fff0cf;
  color: #6b4b17;
  border: 1px solid #eed08f;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.row-pending td {
  background: rgba(255, 248, 220, 0.4);
}

.notes-inline {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}

.hmo-inline {
  margin: 0.45rem 0 0;
  color: var(--brand-strong);
  font-size: 0.84rem;
}

.btn-reset {
  background: #4a7fa5;
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.confirmation-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.confirmation-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.confirmation-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 56px rgba(10, 40, 31, 0.12);
  width: 100%;
  max-width: 560px;
  display: grid;
  gap: 1.4rem;
  text-align: center;
}

.confirmation-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto;
}

.confirmation-card h1 {
  font-size: 1.9rem;
  margin: 0;
}

.confirmation-summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.6rem;
  text-align: left;
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}

.confirmation-row:last-child {
  border-bottom: none;
}

.confirmation-label {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.confirmation-value {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
}

.confirmation-notice {
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.6;
}

.confirmation-contacts {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.confirmation-contacts a {
  color: var(--brand);
  text-decoration: none;
}

.confirmation-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.admin-login-section {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.admin-login-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.admin-login-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 56px rgba(10, 40, 31, 0.12);
  width: 100%;
  max-width: 440px;
  display: grid;
  gap: 1.2rem;
}

.admin-login-card-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.admin-login-card-header h1 {
  font-size: 2rem;
}

.btn-block {
  width: 100%;
  text-align: center;
  padding: 0.9rem;
}

.admin-login-footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

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

.site-footer a {
  color: var(--brand);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem;
  vertical-align: top;
}

.inline-actions {
  display: flex;
  gap: 0.5rem;
}

.staff-actions {
  align-items: center;
  flex-wrap: nowrap;
}

.staff-actions .inline {
  margin: 0;
}

.status {
  display: inline-block;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  text-transform: capitalize;
  font-weight: 700;
}

.status-pending {
  background: #fff0cf;
  color: #6b4b17;
}

.status-approved {
  background: #dbf6ea;
  color: #145f42;
}

.status-denied {
  background: #ffe2de;
  color: #7a241f;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 2rem;
  padding: 2rem 0 1.4rem;
}

/* footer-grid is defined in the admin/login section above */

.copyright {
  text-align: center;
  color: var(--muted);
  margin-top: 1rem;
}

/* ── Secretary Calendar ─────────────────────────────────────────────── */

.cal-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.cal-pending-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 90px;
}

.cal-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.cal-panel-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.cal-pending-list {
  overflow-y: auto;
  flex: 1;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cal-pending-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-size: 0.9rem;
}

.cal-pending-card p {
  margin: 0.15rem 0 0;
}

.cal-pending-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.cal-preferred {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.55rem !important;
}

.cal-pending-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.cal-empty {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0.5rem;
  font-size: 0.9rem;
}

.cal-view-wrap {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  overflow: hidden;
}

/* FullCalendar overrides */
.fc .fc-button {
  background: var(--brand) !important;
  border-color: var(--brand-strong) !important;
  box-shadow: none !important;
}
.fc .fc-button:hover {
  background: var(--brand-strong) !important;
}
.fc .fc-button-active {
  background: var(--brand-strong) !important;
}
.fc .fc-event {
  border-radius: 6px !important;
  font-size: 0.78rem !important;
  cursor: pointer;
}
.fc .fc-timegrid-event {
  min-height: 42px;
}
.fc .fc-timegrid-event .fc-event-main {
  padding: 0.2rem 0.35rem;
  line-height: 1.15;
}
.fc .fc-timegrid-event .fc-event-title {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.fc .fc-timegrid-event.ap-branch-binan {
  background: #0e8b73 !important;
  border-color: #0a6a58 !important;
}
.fc .fc-timegrid-event.ap-branch-pasig {
  background: #0a6ea8 !important;
  border-color: #075680 !important;
}
.fc .fc-timegrid-slot {
  height: 2.2rem;
}

/* ── Modals ──────────────────────────────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 40, 31, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(10, 40, 31, 0.2);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.modal-card-sm {
  max-width: 420px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}

.modal-close:hover {
  color: var(--ink);
  background: var(--card);
}

.modal-body {
  padding: 1.2rem 1.5rem;
  flex: 1;
}

.modal-patient-summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  position: sticky;
  bottom: 0;
  background: #fff;
}

.field-optional {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

.patient-search-results {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 1rem;
}

.patient-search-item {
  width: 100%;
  display: grid;
  gap: 0.2rem;
  text-align: left;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.patient-search-item strong {
  font-size: 0.95rem;
}

.patient-search-item span,
.patient-search-item small {
  color: var(--muted);
}

.patient-search-item:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(4, 72, 60, 0.08);
}

.cal-conflict-warn {
  background: #fff8dc;
  border: 1px solid #e6c84a;
  color: #7a5900;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
}

.btn-delete {
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-delete:hover {
  background: #a93226;
}

/* Staff table — inactive row dimming */
tr.row-inactive td {
  opacity: 0.5;
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  width: min(480px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.modal-box h2 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* FullCalendar selectable cursor hint */
.fc-daygrid-day:hover,
.fc-timegrid-slot:hover {
  cursor: crosshair;
}

.fc-highlight {
  background: rgba(0, 109, 91, 0.12) !important;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .cal-layout {
    grid-template-columns: 1fr;
  }
  .cal-pending-panel {
    max-height: 40vh;
    position: static;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .contact-band-grid,
  .booking-hero-grid,
  .booking-layout,
  .split-layout,
  .service-grid,
  .location-grid,
  .testimonial-grid,
  .partner-grid,
  .footer-grid,
  .booking-callouts {
    grid-template-columns: 1fr;
  }

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

  .nav-wrap {
    flex-direction: row;
    justify-content: space-between;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-card {
    min-height: 240px;
    transform: none;
  }

  .booking-form-card,
  .booking-policy-card,
  .booking-branch-card {
    padding: 1rem;
  }
}
