/* ═══════════════════════════════════════
   BRANCHES PAGE — branches.css
═══════════════════════════════════════ */

/* ── BRANCH TABS (mobile quick-nav) ── */
.branch-tabs-bar {
  background: #0d0d0d;
  border-bottom: 1px solid rgba(199,154,59,0.1);
  padding: 0 80px;
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.branch-tabs-bar::-webkit-scrollbar { display: none; }
.branch-tab-btn {
  background: transparent; border: none;
  color: rgba(247,245,242,.4);
  font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 18px 28px; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .3s; white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}
.branch-tab-btn.act, .branch-tab-btn:hover {
  color: var(--gld);
  border-bottom-color: var(--gld);
}

/* ── MAIN BRANCH ── */
.main-branch-section {
  padding: 80px 80px 60px;
}
.main-branch-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--bdr);
  overflow: hidden;
  margin-top: 48px;
}
.main-branch-img {
  position: relative;
  height: 540px;
  overflow: hidden;
}
.main-branch-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 12s ease;
}
.main-branch-img:hover img { transform: scale(1.04); }
.main-branch-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(11,11,11,.5) 100%);
}
.main-branch-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(11,11,11,.95) 0%, transparent 100%);
}
.branch-badge {
  display: inline-block;
  padding: 5px 16px;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.badge-main { background: var(--gld); color: var(--blk); }
.badge-branch { background: rgba(199,154,59,.12); border: 1px solid rgba(199,154,59,.35); color: var(--gld); }
.main-branch-caption-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--ofw);
  line-height: 1.2;
}
.main-branch-info {
  background: #111;
  padding: 52px 52px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.branch-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px,3vw,44px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 6px;
}
.branch-city {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(247,245,242,.38);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.branch-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.branch-detail { display: flex; gap: 14px; align-items: flex-start; }
.branch-detail-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(199,154,59,.22);
  display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
}
.branch-detail-label {
  font-size: 9px; letter-spacing: 2.5px;
  color: var(--gld); text-transform: uppercase; margin-bottom: 4px;
}
.branch-detail-val {
  font-size: 13px;
  color: rgba(247,245,242,.55);
  line-height: 1.65;
  white-space: pre-line;
}
.branch-detail-val a {
  color: rgba(247,245,242,.55);
  transition: color .3s;
}
.branch-detail-val a:hover { color: var(--gld); }
.branch-features {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.b-feat {
  padding: 5px 14px;
  border: 1px solid rgba(199,154,59,.18);
  font-size: 11px;
  color: rgba(247,245,242,.42);
  letter-spacing: .5px;
  transition: border-color .3s, color .3s;
}
.main-branch-info:hover .b-feat { border-color: rgba(199,154,59,.3); color: rgba(247,245,242,.55); }
.branch-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── STATUS INDICATOR ── */
.branch-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-open { background: #3B8A3A; box-shadow: 0 0 6px rgba(59,138,58,.6); }
.status-closed { background: #8C1D18; }
.status-text-open { color: #3B8A3A; }
.status-text-closed { color: #8C1D18; }

/* ── SUB-BRANCHES ── */
.sub-branches-section {
  padding: 0 80px 100px;
}
.sub-branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.sub-branch-card {
  background: var(--card);
  border: 1px solid var(--bdr);
  overflow: hidden;
  transition: border-color .4s, box-shadow .4s, transform .4s;
}
.sub-branch-card:hover {
  border-color: rgba(199,154,59,.45);
  box-shadow: 0 24px 56px rgba(0,0,0,.45);
  transform: translateY(-5px);
}
.sub-branch-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.sub-branch-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.sub-branch-card:hover .sub-branch-img img { transform: scale(1.06); }
.sub-branch-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(11,11,11,.75) 100%);
}
.sub-branch-img-label {
  position: absolute;
  bottom: 16px; left: 20px;
  z-index: 1;
}
.sub-branch-info { padding: 32px 36px 36px; }
.sub-branch-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500; margin-bottom: 20px;
}
.sub-branch-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.sub-branch-detail { display: flex; gap: 10px; align-items: flex-start; }
.sbd-icon { font-size: 14px; opacity: .65; margin-top: 2px; flex-shrink: 0; }
.sbd-label { font-size: 9px; letter-spacing: 2px; color: var(--gld); text-transform: uppercase; margin-bottom: 2px; }
.sbd-val { font-size: 13px; color: rgba(247,245,242,.5); line-height: 1.6; }
.sub-branch-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }

/* ── ALL-BRANCHES OVERVIEW ── */
.branches-overview-strip {
  padding: 56px 80px;
  background: #0a0a0a;
  border-top: 1px solid rgba(199,154,59,.1);
  border-bottom: 1px solid rgba(199,154,59,.1);
}
.branches-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(199,154,59,.08);
  margin-top: 44px;
}
.bov-item {
  background: #0a0a0a;
  padding: 32px 32px;
  transition: background .3s;
}
.bov-item:hover { background: #111; }
.bov-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 600;
  color: var(--gld); line-height: 1; margin-bottom: 8px;
}
.bov-label { font-size: 11px; color: rgba(247,245,242,.4); letter-spacing: 2px; text-transform: uppercase; }

/* ── COPY ADDRESS BUTTON ── */
.copy-btn {
  background: transparent;
  border: 1px solid rgba(199,154,59,.22);
  color: rgba(247,245,242,.45);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all .3s;
  font-family: 'Outfit', sans-serif;
}
.copy-btn:hover { border-color: var(--gld); color: var(--gld); }
.copy-btn.copied { border-color: #3B8A3A; color: #3B8A3A; }

/* ── HOURS TABLE ── */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table tr { border-bottom: 1px solid rgba(199,154,59,.07); }
.hours-table td { padding: 6px 0; font-size: 13px; color: rgba(247,245,242,.5); line-height: 1.5; }
.hours-table td:first-child { color: rgba(247,245,242,.3); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.hours-table tr.today td { color: var(--gld); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .main-branch-card { grid-template-columns: 1fr; }
  .main-branch-img { height: 320px; }
  .branch-tabs-bar,
  .main-branch-section,
  .sub-branches-section,
  .branches-overview-strip { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 768px) {
  .branch-tabs-bar,
  .main-branch-section,
  .sub-branches-section,
  .branches-overview-strip { padding-left: 20px; padding-right: 20px; }
  .sub-branches-grid { grid-template-columns: 1fr; }
  .branches-overview-grid { grid-template-columns: 1fr 1fr; }
  .main-branch-info { padding: 32px 24px; }
  .branch-actions { flex-direction: column; }
  .branch-actions .btn-fill,
  .branch-actions .btn-gold { text-align: center; }

  .page-hero{
    min-height:320px !important;
  }
  
  .page-title{
    font-size:42px !important;
    line-height:1.05 !important;
  }
  
  .page-subtitle{
    font-size:14px !important;
    max-width:100% !important;
  }
  
  .breadcrumb{
    font-size:11px !important;
  }

  .branch-tabs-bar{
    padding:0 !important;
  }
  
  .branch-tab-btn{
    flex:1;
    min-width:120px;
    padding:16px 20px;
    font-size:12px;
    letter-spacing:1px;
  }
  .branches-overview-grid{
    grid-template-columns:1fr;
    gap:12px;
    background:none;
  }
  .bov-item{
    border:1px solid rgba(199,154,59,.12);
  }
  .main-branch-card{
    margin-top:32px;
  }
  
  .main-branch-img{
    height:240px !important;
  }
  
  .main-branch-info{
    padding:24px 20px !important;
  }
  
  .branch-name{
    font-size:32px !important;
  }
  
  .branch-city{
    margin-bottom:20px;
  }
  .main-branch-img{
    height:180px !important;
  }
  
  .main-branch-img-caption{
    padding:16px;
  }
  
  .main-branch-caption-title{
    font-size:18px;
    line-height:1.1;
  }
  .branch-details{
    gap:10px;
  }
  
  .branch-detail{
    gap:8px;
    align-items:flex-start;
  }
  
  .branch-detail-icon{
    width:30px;
    height:30px;
    font-size:12px;
  }
  
  .branch-detail-label{
    margin-bottom:2px;
  }
  .branch-features{
    gap:6px;
    margin-bottom:18px;
  }
  
  .b-feat{
    padding:4px 10px;
    font-size:10px;
  }
  .branch-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  
  .branch-actions .btn-fill{
    grid-column:1/-1;
  }
  
  .branch-actions .btn-fill,
  .branch-actions .btn-gold{
    padding:14px 10px !important;
    font-size:11px !important;
  }
  .hours-table{
    table-layout:fixed;
  }
  
  .hours-table td:first-child{
    width:95px;
  }
  
  .hours-table td{
    font-size:11px;
  }
  .main-branch-info{
    border-top:1px solid rgba(199,154,59,.1);
  }
  
  .branch-name{
    font-size:28px !important;
  }
  
  .branch-city{
    font-size:10px;
    letter-spacing:2px;
  }
  .sub-branch-card div[style*="display:flex"]{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }
  
  .sub-branch-card .btn-fill,
  .sub-branch-card .btn-gold{
    width:100%;
    text-align:center;
    padding:12px 10px !important;
  }
}
