:root {
  --brand:        #bf023f;
  --brand-dark:   #96022f;
  --navy:         #0f1b35;
  --muted:        #5a6a8a;
  --border:       #e8eaf0;
  --bg-page:      #f4f6fb;
  --bg-card:      #fff;
  --radius-lg:    18px;
  --radius-md:    14px;
  --radius-sm:    10px;
  --tab-h:        46px;
  --shadow-sm:    0 4px 20px rgba(0,0,0,.07);
  --shadow-md:    0 10px 32px rgba(0,0,0,.12);
  --shadow-modal: 0 24px 64px rgba(0,0,0,.22);
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(100% - 200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 30px;
}

.hero-text {
  flex: 0 0 50%;
  max-width: 50%;
  height: 250px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-image {
  flex: 0 0 48%;
  max-width: 48%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
  animation: floatUp 0.8s ease-out both;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Large Tablet: 992px – 1199px */
@media (max-width: 1199px) {
  .hero-section  { min-height: 320px; max-height: 380px; }
  .hero-bg       { object-fit: cover; object-position: center; }
  .hero-inner    { max-width: calc(100% - 80px); padding: 10px 0; gap: 24px; align-items: center; }
  .hero-text     { flex: 0 0 50%; max-width: 50%; height: 100px; }
  .hero-text h1  { font-size: clamp(1.7rem, 3.8vw, 2.8rem); margin-bottom: 12px; }
  .hero-text p   { font-size: clamp(0.9rem, 1.8vw, 1.15rem); }
  .hero-image    { flex: 0 0 47%; max-width: 47%; align-items: center; }
  .hero-image img { max-width: 100%; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.4)); }
}

/* Small Tablet: 768px – 991px */
@media (max-width: 991px) {
  .hero-section  { min-height: 220px; max-height: 300px; }
  .hero-bg       { object-fit: cover; object-position: center center; }
  .hero-inner    { max-width: 100%; padding: 10px 28px; gap: 16px; align-items: center; }
  .hero-text     { flex: 0 0 52%; max-width: 52%; }
  .hero-text h1  { font-size: clamp(1.3rem, 4vw, 2rem); margin-bottom: 8px; line-height: 1.1; }
  .hero-text p   { font-size: clamp(0.78rem, 2.2vw, 1rem); line-height: 1.4; }
  .hero-image    { flex: 0 0 46%; max-width: 46%; align-items: center; justify-content: flex-end; }
  .hero-image img { max-width: 100%; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.4)); }
}

/* Large Mobile: 576px – 767px */
@media (max-width: 767px) {
  .hero-section  { min-height: 140px; max-height: 180px; }
  .hero-bg       { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: 0; }
  .hero-inner    { max-width: 100%; padding: 8px 14px; gap: 10px; align-items: center; min-height: unset; }
  .hero-text     { flex: 0 0 52%; max-width: 52%; height: 20px; }
  .hero-text h1  { font-size: clamp(1rem, 5vw, 1.5rem); }
  .hero-text p   { font-size: clamp(0.65rem, 2.8vw, 0.85rem); line-height: 1.3; }
  .hero-image    { flex: 0 0 46%; max-width: 46%; align-items: center; justify-content: flex-end; }
  .hero-image img { max-width: 100%; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); animation: none; }
}

/* Small Mobile: up to 575px */
@media (max-width: 575px) {
  .hero-section  { min-height: 110px; max-height: 150px; }
  .hero-bg       { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: 0; }
  .hero-inner    { max-width: 100%; padding: 6px 12px; gap: 8px; align-items: center; min-height: unset; }
  .hero-text     { flex: 0 0 54%; max-width: 54%; height: 30px; }
  .hero-text h1  { font-size: clamp(0.9rem, 5.5vw, 1.25rem); margin-bottom: 4px; }
  .hero-text p   { font-size: clamp(0.58rem, 3vw, 0.75rem); line-height: 1.3; }
  .hero-image    { flex: 0 0 44%; max-width: 44%; align-items: center; justify-content: flex-end; }
  .hero-image img { max-width: 100%; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4)); animation: none; }
}

/* Extra Small: up to 380px */
@media (max-width: 380px) {
  .hero-section  { min-height: 95px; max-height: 130px; }
  .hero-inner    { padding: 5px 10px; gap: 6px; }
  .hero-text h1  { font-size: clamp(0.82rem, 5.8vw, 1.05rem); margin-bottom: 3px; }
  .hero-text p   { font-size: clamp(0.55rem, 3.2vw, 0.68rem); }
}

/* ══════════════════════════════════════
   EMERGENCY SERVICES SECTION
   ══════════════════════════════════════ */
.emergency-services {
  padding: 28px 48px 56px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-header h2 span {
  color: var(--brand);
}

.section-header p {
  font-size: 1.5rem;
  color: var(--muted);
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Service Card ── */
.svc-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.svc-card-img-wrap {
  width: 100%;
  border-bottom: 1.5px solid rgba(0,0,0,0.07);
  overflow: hidden;
}

.svc-card-img-wrap img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  display: block;
}

.svc-card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-card-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.svc-card-body p {
  font-size: 0.95rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.btn-visit {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 30px;
  text-decoration: none;
  border: none;
  outline: none;
  letter-spacing: 0.3px;
  align-self: flex-start;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-visit:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: scale(1.04);
}

/* Tablet: 2 cols */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .emergency-services {
    padding: 16px 24px 36px;
  }

  .section-header h2 { font-size: 2.2rem; }
  .section-header p  { font-size: 1.15rem; }
}

/* Mobile: 2 cols, smaller */
@media (max-width: 786px) {
  .emergency-services {
    padding: 12px 12px 28px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .svc-card-img-wrap img { height: 95px; object-fit: contain; background: #f8f9fb; }
  .svc-card-body         { padding: 14px 12px 14px; }
  .svc-card-body h3      { font-size: 0.9rem; }
  .svc-card-body p       { font-size: 0.76rem; }
  .btn-visit             { font-size: 0.78rem; padding: 7px 16px; }
  .section-header h2     { font-size: 1.5rem; }
  .section-header p      { font-size: 0.88rem; }
}

/* ══════════════════════════════════════
   MODALS
   ══════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,18,40,.58);
  backdrop-filter: blur(5px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; animation: fadeIn .2s ease; }

@keyframes fadeIn  { from { opacity: 0; }              to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.tab-modal {
  background: var(--bg-card);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  width: 100%;
  max-width: 560px;
  box-shadow: var(--shadow-modal);
  position: relative;
  margin-top: var(--tab-h);
  animation: slideUp .28s cubic-bezier(.34,1.46,.64,1);
}
.tab-modal.modal-wide { max-width: 680px; }

/* Tab label sticking up above the box */
.tab-label {
  position: absolute;
  top: calc(-1 * var(--tab-h));
  left: 0;
  height: var(--tab-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  /* font-family: 'Nunito', sans-serif; */
  font-weight: 800;
  font-size: 1rem;
  border-radius: 12px 12px 0 0;
  background: var(--bg-card);
  color: var(--navy);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 -4px 12px rgba(0,0,0,.06);
}
.tab-label .accent  { color: var(--brand); }
.tab-label .tab-icon { font-size: 1.15rem; }

/* Close button */
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1;
  padding: 4px;
  transition: color .15s;
}
.modal-close:hover { color: var(--brand); }

/* Subtitle */
.modal-subtitle {
  padding: 18px 24px 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Inner padding for option grid */
.modal-body {
  padding: 10px 15px 10px !important;
}

/* ══════════════════════════════════════
   OPTION GRID & OPT-CARD
   ══════════════════════════════════════ */
.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.option-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Option Card ── */
.opt-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.opt-card:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 22px rgba(191,2,63,.13);
  transform: translateY(-4px);
}

.opt-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1.5px solid var(--border);
}

.three-col .opt-card-img {
  height: 110px;
}

/* ── OPT-CARD-LABEL — styled as red pill button ── */
.opt-card-label {
  display: block;
  background: #bf023f;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 30px;
  text-align: center;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 10px 12px 14px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 10px rgba(191,2,63,0.25);
}

.opt-card:hover .opt-card-label {
  background: var(--brand-dark);
  box-shadow: 0 5px 14px rgba(191,2,63,0.38);
}

/* Horizontal call card label override — keep it plain */
.opt-card-label-left {
  background: transparent !important;
  color: var(--navy) !important;
  text-align: left !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.opt-card-btn {
  display: block;
  width: calc(100% - 24px);
  margin: 0 12px 14px;
  background: var(--brand);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 30px;
  text-align: center;
  letter-spacing: .3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s;
}

.opt-card:hover .opt-card-btn { background: var(--brand-dark); }

/* ── Horizontal Call Card ── */
.opt-card-horizontal {
  flex-direction: row;
  gap: 0;
  align-items: stretch;
}

.opt-card-horizontal-img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-bottom: none;
  border-right: 1.5px solid var(--border);
  border-radius: 12px 0 0 12px;
  flex-shrink: 0;
  display: block;
}

.opt-card-horizontal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 16px;
  flex: 1;
}

.opt-card-horizontal-sub {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.3;
}

.opt-card-horizontal-action {
  display: flex;
  align-items: center;
  padding-right: 16px;
  flex-shrink: 0;
}

.opt-card-btn-inline {
  width: auto;
  margin: 0;
  padding: 10px 20px;
  white-space: nowrap;
  border-radius: 30px;
  display: inline-block;
}

/* ══════════════════════════════════════
   SOS RECORD PANEL
   ══════════════════════════════════════ */
.sos-record-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 4px 0 8px;
}

.sos-record-panel.active { display: flex; }

.sos-panel-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}

.timer-ring-wrap      { position: relative; width: 120px; height: 120px; }
.timer-ring-wrap svg  { transform: rotate(-90deg); width: 120px; height: 120px; }
.ring-bg              { fill: none; stroke: var(--border); stroke-width: 7; }
.ring-prog {
  fill: none;
  stroke: var(--brand);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 295;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.timer-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
}

.rec-indicator {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--brand);
}

.rec-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}

.btn-sos {
  background: var(--brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  padding: 13px 50px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  letter-spacing: .4px;
  transition: background .2s, transform .2s;
}

.btn-sos:hover    { background: var(--brand-dark); transform: scale(1.03); }
.btn-sos.sent     { background: #22a05b; }
.btn-sos:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* ══════════════════════════════════════
   CALL PANEL
   ══════════════════════════════════════ */
.call-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 4px 0;
}

.call-panel.active { display: flex; }

.call-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.call-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.call-card:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 20px rgba(191,2,63,.12);
  transform: translateY(-3px);
}

.call-card-img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  display: block;
  border-bottom: 1.5px solid var(--border);
  padding: 10px;
  background: #f8f9fb;
}

.call-card-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  padding: 10px 8px 3px;
}

.call-card-num {
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
  padding-bottom: 8px;
  font-weight: 600;
}

.call-card-btn {
  display: block;
  width: calc(100% - 20px);
  margin: 0 10px 12px;
  background: var(--brand);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: 9px 0;
  border-radius: 30px;
  text-align: center;
  letter-spacing: .3px;
  transition: background .15s;
  text-decoration: none;
}

.call-card:hover .call-card-btn { background: var(--brand-dark); }

.btn-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  transition: color .15s;
  align-self: flex-start;
}

.btn-back:hover { color: var(--brand); }

/* ══════════════════════════════════════
   HELPLINE GRID
   ══════════════════════════════════════ */
.helpline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.helpline-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.helpline-card:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 20px rgba(191,2,63,.12);
  transform: translateY(-3px);
}

.helpline-icon-wrap {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1.5px solid var(--border);
  overflow: hidden;
}

.helpline-icon {
  width: 100%;
  height: 120px;
  object-fit: contain;
  display: block;
}

.helpline-label {
   display: block;
  background: #bf023f;
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 30px;
  text-align: center;
  text-transform: uppercase;
  margin: 10px 12px 14px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  font-size: .9rem;
}

/* ══════════════════════════════════════
   NEARBY CONFIRMATION MODAL
   ══════════════════════════════════════ */
.nearby-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 40, 0.65);
  backdrop-filter: blur(6px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nearby-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.nearby-confirm-box {
  background: #fff;
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  padding: 40px 32px 32px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
  text-align: center;
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.46, 0.64, 1);
}

/* Decorative top accent bar */
.nearby-confirm-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #bf023f, #ff6b6b);
  border-radius: 24px 24px 0 0;
}

.nearby-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f4f6fb;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.nearby-modal-close:hover {
  background: #fee2e8;
  color: var(--brand);
}

.nearby-confirm-icon {
  font-size: 3.2rem;
  margin-bottom: 14px;
  display: block;
  animation: floatUp 0.5s ease-out both 0.1s;
}

.nearby-confirm-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.nearby-confirm-title span {
  color: var(--brand);
}

.nearby-confirm-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.55;
}

.nearby-confirm-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.nearby-btn-yes,
.nearby-btn-no {
  flex: 1;
  max-width: 170px;
  padding: 14px 0;
  border-radius: 30px;
  font-size: 0.97rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.3px;
}

.nearby-btn-yes {
  background: #bf023f;
  color: #fff;
  box-shadow: 0 5px 18px rgba(191, 2, 63, 0.38);
}

.nearby-btn-yes:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(191, 2, 63, 0.48);
}

.nearby-btn-no {
  background: #f4f6fb;
  color: var(--muted);
  border: 1.5px solid var(--border);
}

.nearby-btn-no:hover {
  background: #e8eaf0;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════
   MODAL RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 786px) {
  .tab-modal        { max-width: calc(100vw - 24px); }

  .option-grid      { gap: 10px; }

  .option-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .opt-card-img            { height: 130px; }
  .three-col .opt-card-img { height: 130px; }

  .opt-card-horizontal-img { width: 90px; }

  .opt-card-label {
    font-size: .72rem;
    padding: 8px 8px;
    margin: 8px 8px 10px;
    letter-spacing: 0.2px;
  }

  .opt-card-btn            { font-size: .7rem; padding: 7px 0; width: calc(100% - 14px); margin: 0 7px 10px; }
  .tab-label               { font-size: .88rem; padding: 0 16px; }
  .modal-subtitle          { padding: 14px 16px 0; font-size: .82rem; }
  .modal-body              { padding: 12px 14px 18px; }

  .helpline-grid      { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .helpline-icon-wrap { height: 85px; }
  .helpline-icon      { height: 100px; }
  .helpline-label     { font-size: .62rem; padding: 7px 4px 6px; }

  .call-grid          { grid-template-columns: repeat(2, 1fr); }
  .call-card-img      { height: 80px; }

  .nearby-confirm-box {
    padding: 32px 20px 24px;
    border-radius: 18px;
  }

  .nearby-confirm-title { font-size: 1.15rem; }
  .nearby-confirm-sub   { font-size: 0.84rem; margin-bottom: 22px; }
  .nearby-btn-yes,
  .nearby-btn-no        { font-size: 0.9rem; padding: 12px 0; }
}

@media (max-width: 480px) {
  .opt-card-img            { height: 100px; }
  .three-col .opt-card-img { height: 100px; }

  .opt-card-label {
    font-size: .65rem;
    padding: 7px 6px;
    margin: 6px 7px 10px;
  }

  .helpline-grid      { gap: 8px; }
  .helpline-icon-wrap { height: 70px; }
  .helpline-icon      { height: 100px; }

  .tab-modal {
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  }

  .nearby-confirm-box    { padding: 28px 16px 22px; border-radius: 16px; }
  .nearby-confirm-icon   { font-size: 2.6rem; }
  .nearby-confirm-title  { font-size: 1rem; }
  .nearby-btn-yes,
  .nearby-btn-no         { font-size: 0.85rem; padding: 11px 0; }
}