/* =============================================================================
   ACUTUS CARE HOSPITAL — Multi-Specialty Hospital Demo Template
   Architecture: Clinical Bento Hero · Floating Pill Nav · Ice Blue, Navy & Coral
   Crafted by Acutus Digital Dynamics (https://acutusdigitaldynamics.com)
   ============================================================================= */

:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-tint: #e8f1f8;
  --navy: #0b2545;
  --navy-deep: #071930;
  --primary: #0f5c8c;
  --primary-dark: #0a4469;
  --teal: #0e8585;
  --emergency: #c53030;
  --emergency-dark: #9b2222;
  --text: #102033;
  --text-muted: #526478;
  --border: rgba(11, 37, 69, 0.11);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 18px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 37, 69, 0.1);
  --transition: 0.24s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.25rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================== DEMO & EMERGENCY RIBBON ===================== */
.top-alert-bar {
  background: var(--navy-deep);
  color: #dbe7f3;
  font-size: 0.78rem;
  padding: 0.5rem 0;
}

.top-alert-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.demo-credit a {
  color: #7cc4fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.emergency-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  flex-shrink: 0;
}

.live-dot.green {
  background: #16a34a;
}

/* ===================== FLOATING PILL NAV ===================== */
.nav-shell {
  position: sticky;
  top: 0.75rem;
  z-index: 950;
  padding: 0.75rem 0 0.25rem;
}

.floating-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.75rem 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.hosp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.hosp-cross {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.hosp-logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--navy);
  line-height: 1.1;
}

.hosp-logo-text span {
  display: block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

/* Mobile Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 48, 0.55);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(310px, 86vw);
  height: 100vh;
  background: var(--surface);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--navy);
}

.drawer-links {
  flex: 1;
  margin-top: 0.75rem;
}

.drawer-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.5rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

/* ===================== PILL BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.45rem;
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

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

.btn-emergency {
  background: var(--emergency);
  color: #ffffff;
  border-color: var(--emergency);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--navy);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  min-height: 44px;
}

.btn-block {
  width: 100%;
}

/* ===================== BENTO SHOWCASE HERO ===================== */
.bento-hero {
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.bento-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.eyebrow-line {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.bento-main h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.bento-lead {
  margin-top: 1.1rem;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.trust-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
  line-height: 1.1;
}

.trust-metric span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.bento-side {
  display: grid;
  grid-template-rows: 1.35fr auto;
  gap: 1.25rem;
}

.bento-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  min-height: 260px;
  background: var(--navy);
}

.bento-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.bento-emergency-card {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-emergency-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0.5rem 0 0.35rem;
}

.bento-emergency-card p {
  font-size: 0.82rem;
  color: #bdd1e5;
  margin-bottom: 1rem;
}

.bento-opd-card {
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-opd-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.bento-opd-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Sub-page Banner */
.sub-banner {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}

.sub-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.12;
}

.sub-banner p {
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 0.65rem;
}

/* ===================== INSURANCE / TPA STRIP ===================== */
.tpa-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
}

.tpa-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.tpa-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.tpa-list {
  display: flex;
  align-items: center;
  gap: 0.65rem 1.4rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===================== SECTIONS ===================== */
.section {
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
}

.section-white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.15;
}

.section-sub {
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 0.6rem;
}

/* ===================== DEPARTMENT SWITCHER ===================== */
.dept-tabs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.75rem;
  scrollbar-width: none;
}

.dept-tabs::-webkit-scrollbar {
  display: none;
}

.dept-tab {
  padding: 0.6rem 1.25rem;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition);
}

.dept-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.dept-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.dept-panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1.2fr 1fr;
  gap: 2.25rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.dept-panel.active {
  display: grid;
}

.dept-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.dept-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.7rem;
}

.dept-panel p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.dept-procedures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  padding: 1.15rem 0;
  margin-bottom: 1.35rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}

.dept-procedures li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.dept-procedures i {
  color: var(--teal);
  font-size: 0.78rem;
}

.dept-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

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

/* ===================== DOCTOR DIRECTORY ===================== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 1.5rem;
}

.doctor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.doctor-card.hidden-card {
  display: none;
}

.doc-img {
  height: 230px;
  overflow: hidden;
  background: var(--surface-tint);
}

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

.doc-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doc-dept {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.3rem;
}

.doc-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.doc-qual {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  flex: 1;
}

.doc-avail {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.65rem 0;
  margin-bottom: 0.85rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ===================== HEALTH PACKAGES ===================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.pkg-outline {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.package-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.pkg-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.65rem 0 1rem;
}

.pkg-price small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pkg-list {
  flex: 1;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.pkg-list li i {
  color: var(--teal);
  margin-right: 0.45rem;
  font-size: 0.76rem;
}

/* ===================== INTERACTIVE OP SLOT PICKER & FORMS ===================== */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  min-width: 0;
}

.contact-layout-grid > * {
  min-width: 0;
}

.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.info-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.info-line {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.info-line i {
  color: var(--primary);
  margin-top: 0.25rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-card > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
  min-width: 0;
}

.form-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.68rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.form-row-2 > div {
  min-width: 0;
}

/* Interactive Time-Slot Grid */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.slot-btn {
  padding: 0.6rem 0.5rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}

.slot-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.slot-btn.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ===================== FOOTER ===================== */
.hosp-footer {
  background: var(--navy-deep);
  color: #b8cde0;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1.25fr;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 0.7rem;
}

.footer-col h5 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8ba6c2;
}

.footer-bottom a {
  color: #7cc4fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3000;
  background: var(--navy);
  color: #ffffff;
  border-left: 4px solid var(--teal);
  padding: 1rem 1.35rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all 0.28s ease;
  max-width: 350px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.toast-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
}

.toast-msg {
  font-size: 0.83rem;
  color: #c8d9e8;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .bento-grid,
  .dept-panel.active {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 960px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-btn {
    display: flex;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .floating-nav {
    border-radius: var(--radius-md);
    padding: 0.55rem 0.75rem 0.55rem 1rem;
  }

  .bento-sub-row,
  .hero-trust-strip,
  .dept-procedures,
  .packages-grid,
  .footer-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

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

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
