/* ══════════════════════════════════════════════════════════════════
   CHRIST EMBASSY TEMA NEWTOWN - CHURCH BRANCHES & LOCATOR STYLES
   Main Church • Bankuman Church • Twi Church
   ══════════════════════════════════════════════════════════════════ */

/* --- 1. GLOBAL LOCATOR PAGE CONTAINER --- */
.ce-locator-page-main {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 35%, #F1F5F9 100%);
  min-height: 80vh;
}

/* --- 2. LOCATOR HERO SECTION --- */
.locator-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  position: relative;
  z-index: 1;
}

.branches-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full, 9999px);
  background: rgba(0, 56, 168, 0.06);
  border: 1px solid rgba(0, 56, 168, 0.16);
  color: var(--accent-royal, #0038A8);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.branches-header-badge .badge-icon {
  font-size: 0.95rem;
}

.locator-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.locator-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary, #475569);
  line-height: 1.65;
  margin: 0 auto 24px;
}

.locator-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
}

.locator-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary, #475569);
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.locator-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-royal, #0038A8);
}

/* --- 3. GOOGLE MAPS HUB (PRIMARY FOCUS) --- */
.locator-map-hub-section {
  margin-bottom: clamp(48px, 6vw, 72px);
  position: relative;
  z-index: 2;
}

.locator-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.locator-filter-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 6px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid rgba(0, 56, 168, 0.12);
  box-shadow: 0 4px 12px rgba(0, 32, 96, 0.04);
}

.filter-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary, #475569);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.filter-tab-btn:hover {
  color: var(--accent-royal, #0038A8);
  background: rgba(0, 56, 168, 0.04);
}

.filter-tab-btn.is-active {
  background: var(--accent-royal, #0038A8);
  color: #FFFFFF;
  border-color: var(--accent-royal, #0038A8);
  box-shadow: 0 4px 12px rgba(0, 56, 168, 0.25);
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-main { background: #D4AF37; }
.dot-bankuma { background: #3B82F6; }
.dot-twi { background: #10B981; }

.filter-tab-btn.is-active .tab-dot {
  background: #FFFFFF;
}

/* GPS Geolocation Button */
.locator-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full, 9999px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #002060 0%, #0038A8 100%);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 32, 96, 0.18);
  transition: all 0.25s ease;
}

.locator-geo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 56, 168, 0.28);
  border-color: #D4AF37;
}

.locator-geo-btn.is-calculating .geo-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Nearest Branch Banner */
.nearest-branch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, #F0FDF4 0%, #EFF6FF 100%);
  border: 1px solid #86EFAC;
  border-left: 5px solid #22C55E;
  padding: 14px 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.08);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nearest-branch-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nearest-branch-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nearest-branch-text h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #14532D;
  margin: 0 0 2px;
}

.nearest-branch-text p {
  font-size: 0.82rem;
  color: #166534;
  margin: 0;
}

/* Google Map Console Card */
.google-map-console-card {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid rgba(0, 56, 168, 0.12);
  box-shadow: 0 20px 48px -12px rgba(0, 32, 96, 0.12), 0 4px 14px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.map-console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.map-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-pulse-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: pulseGlow 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.map-console-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
  margin: 0 0 2px;
}

.map-console-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary, #64748B);
  margin: 0;
}

.google-map-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
  background: #E2E8F0;
}

.google-map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-loading-spinner {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-royal, #0038A8);
}

.spinner-ring {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(0, 56, 168, 0.15);
  border-top-color: var(--accent-royal, #0038A8);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.map-console-footer {
  padding: 12px 24px;
  background: #F8FAFC;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary, #64748B);
}

/* --- 4. COMPACT INFORMATION-FIRST CARDS DECK --- */
.locator-cards-deck-section {
  margin-bottom: clamp(48px, 6vw, 72px);
  position: relative;
  z-index: 1;
}

.locator-deck-header {
  margin-bottom: 24px;
}

.locator-deck-title {
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.locator-deck-sub {
  font-size: 0.95rem;
  color: var(--text-secondary, #64748B);
  margin: 0;
}

.branches-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .branches-grid-compact {
    grid-template-columns: 1fr;
  }
}

.compact-branch-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
  border-radius: 20px;
  border: 2px solid rgba(0, 0, 0, 0.07);
  padding: 24px;
  box-shadow: 0 8px 24px -6px rgba(0, 32, 96, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.compact-branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 32, 96, 0.12);
  border-color: rgba(0, 56, 168, 0.25);
}

.compact-branch-card.is-active {
  border-color: var(--accent-royal, #0038A8);
  box-shadow: 0 16px 40px -8px rgba(0, 56, 168, 0.18);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);
}

.compact-branch-card.is-active::after {
  content: 'Active on Map';
  position: absolute;
  top: -11px;
  right: 20px;
  background: var(--accent-royal, #0038A8);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 2px 8px rgba(0, 56, 168, 0.3);
}

.compact-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.compact-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.badge-gold {
  background: #FEF3C7;
  color: #92400E;
}

.badge-royal {
  background: #DBEAFE;
  color: #1E40AF;
}

.compact-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  margin: 0;
}

.locator-distance-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Compact Details List */
.compact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.compact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.compact-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 56, 168, 0.06);
  color: var(--accent-royal, #0038A8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.compact-text-wrap {
  flex: 1;
  position: relative;
}

.compact-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted, #94A3B8);
  margin-bottom: 2px;
}

.compact-value {
  font-size: 0.88rem;
  color: var(--text-primary, #1E293B);
  line-height: 1.4;
}

.font-semibold {
  font-weight: 600;
}

.compact-sub-schedule {
  font-size: 0.78rem;
  color: var(--accent-royal, #0038A8);
  font-weight: 600;
  margin-top: 3px;
}

.compact-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #F8FAFC;
  color: var(--text-secondary, #475569);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s ease;
}

.compact-copy-btn:hover {
  background: #E2E8F0;
  color: var(--text-primary, #0F172A);
}

.compact-contact-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: #F1F5F9;
  color: var(--text-primary, #0F172A);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-pill-link:hover {
  background: #E2E8F0;
}

.contact-pill-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-pill-whatsapp:hover {
  background: #BBF7D0;
}

/* Compact Card Action Bar */
.compact-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-blue {
  background: var(--accent-royal, #0038A8);
  color: #FFFFFF !important;
  border: 1px solid transparent;
}

.btn-blue:hover {
  background: #002B80;
  color: #FFFFFF !important;
}

.btn-outline-glass {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text-primary, #0F172A);
}

.btn-outline-glass:hover {
  background: rgba(0, 0, 0, 0.08);
}

.btn-dark-pill {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid transparent;
}

.btn-dark-pill:hover {
  background: #1E293B;
  color: #FFFFFF;
}

/* --- 5. TRANSIT & COMMUTE GUIDE --- */
.locator-guide-section {
  padding: clamp(48px, 6vw, 72px) 0 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.locator-guide-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.locator-guide-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary, #0F172A);
  margin-bottom: 12px;
}

.locator-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .locator-guide-grid {
    grid-template-columns: 1fr;
  }
}

.locator-guide-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.guide-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 56, 168, 0.07);
  color: var(--accent-royal, #0038A8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.guide-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #0F172A);
  margin-bottom: 14px;
}

.guide-card-text {
  font-size: 0.9rem;
  color: var(--text-secondary, #475569);
  line-height: 1.6;
  margin: 0;
}

.guide-steps-list {
  padding-left: 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary, #475569);
  line-height: 1.5;
}

.guide-steps-list strong {
  color: var(--text-primary, #0F172A);
}

/* --- 6. TOAST NOTIFICATION --- */
.locator-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.locator-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 7. RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .google-map-iframe-wrapper {
    height: 380px;
  }

  .locator-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .locator-filter-tabs {
    justify-content: center;
    width: 100%;
    overflow-x: auto;
  }

  .locator-geo-btn {
    width: 100%;
    justify-content: center;
  }

  .map-console-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-header-actions {
    width: 100%;
  }

  .map-header-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-full-mobile {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════ HOMEPAGE CHURCH BRANCHES SHOWCASE ═══════════════ */
.branches-section {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #EFF6FF 100%);
  border-top: 1px solid rgba(0, 32, 96, 0.06);
  border-bottom: 1px solid rgba(0, 32, 96, 0.06);
}

.branches-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  position: relative;
  z-index: 2;
}

.branches-section-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  color: var(--text-primary, #002060);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.branches-section-sub {
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  color: var(--text-secondary, #475569);
  line-height: 1.65;
  margin: 0 auto;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(36px, 5vw, 56px);
  position: relative;
  z-index: 2;
}

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

@media (max-width: 720px) {
  .branches-grid {
    grid-template-columns: 1fr;
  }
}

.branch-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 32, 96, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease;
  position: relative;
}

.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px -10px rgba(0, 32, 96, 0.16);
  border-color: rgba(0, 56, 168, 0.3);
}

.branch-card.is-featured-main {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 32px -10px rgba(212, 175, 55, 0.18), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.branch-card.is-featured-main:hover {
  border-color: #D4AF37;
  box-shadow: 0 22px 48px -10px rgba(212, 175, 55, 0.28);
}

.branch-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: 220px;
  overflow: hidden;
  background: #001844;
}

.branch-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.branch-card:hover .branch-card-img {
  transform: scale(1.06);
}

.branch-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 24, 68, 0.25) 0%, rgba(0, 24, 68, 0.05) 50%, rgba(0, 24, 68, 0.75) 100%);
  pointer-events: none;
}

.branch-tag-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.branch-tag-pill.tag-gold {
  background: rgba(212, 175, 55, 0.95);
  color: #060B18;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.branch-tag-pill.tag-royal {
  background: rgba(0, 56, 168, 0.92);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.branch-lang-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0, 24, 68, 0.75);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.branch-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.branch-name {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary, #002060);
  margin: 0 0 6px;
  line-height: 1.25;
}

.branch-tagline {
  font-size: 0.86rem;
  color: var(--text-muted, #64748B);
  line-height: 1.45;
  margin-bottom: 18px;
  min-height: 38px;
}

.branch-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.branch-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-body, #334155);
  line-height: 1.45;
}

.branch-info-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent-royal, #0038A8);
  margin-top: 2px;
}

.branch-info-item.schedule-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  flex-direction: column;
  gap: 4px;
}

.schedule-title {
  font-weight: 700;
  color: var(--accent-royal, #0038A8);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.schedule-main-time {
  font-weight: 600;
  color: var(--text-primary, #0F172A);
  font-size: 0.86rem;
}

.schedule-sub-time {
  color: var(--text-muted, #64748B);
  font-size: 0.78rem;
  margin-top: 2px;
}

.branch-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.branch-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.branch-actions-row .btn {
  width: 100%;
  justify-content: center;
  padding: 9px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.branch-map-full-btn {
  width: 100% !important;
  justify-content: center;
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 18px -4px rgba(245, 158, 11, 0.45);
}

.branches-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #001844 0%, #002875 50%, #001844 100%);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px) clamp(24px, 5vw, 44px);
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 16px 40px -10px rgba(0, 32, 96, 0.25);
  position: relative;
  overflow: hidden;
}

.branches-bottom-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.branches-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.branches-bottom-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branches-bottom-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px;
  line-height: 1.25;
}

.branches-bottom-desc {
  font-size: 0.92rem;
  color: #CBD5E1;
  margin: 0;
  line-height: 1.55;
  max-width: 620px;
}

.branches-bottom-right {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.branches-bottom-right .btn-primary {
  padding: 13px 26px;
  font-size: 0.92rem;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .branches-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .branches-bottom-left {
    align-items: flex-start;
    gap: 16px;
  }

  .branches-bottom-right {
    width: 100%;
  }

  .branches-bottom-right .btn {
    width: 100%;
    justify-content: center;
  }
}

