.contact-hero {
  padding: 152px 0 72px;
  background: linear-gradient(160deg, #e8f0fe 0%, #f4f6fb 40%, #fff7ed 100%);
  position: relative;
  overflow: hidden;
}
.contact-hero .blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none }
.contact-hero .blob-1 { width: 420px; height: 420px; top: -100px; right: -60px; background: rgba(59,130,246,.12) }
.contact-hero .blob-2 { width: 320px; height: 320px; bottom: -80px; left: -60px; background: rgba(249,115,22,.09) }

.contact-hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.contact-hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 100px;
  background: var(--indigo-dim); border: 1.5px solid rgba(249,115,22,.25);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--indigo-deep); margin-bottom: 18px;
}
.contact-hero-tag span { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); display: inline-block }
.contact-hero-h {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -.025em; color: var(--text);
  margin-bottom: 18px;
}
.contact-hero-h strong { font-weight: 700 }
.contact-hero-h em {
  font-style: italic;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--indigo) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.contact-hero-sub {
  font-size: 1rem; color: var(--text-3); line-height: 1.8;
  max-width: 520px; margin: 0 auto;
}

.contact-chips {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-top: 36px;
}
.contact-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 100px;
  background: #fff; border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  font-size: .82rem; font-weight: 500; color: var(--text-2);
  transition: all .3s var(--ease);
  text-decoration: none;
}
.contact-chip:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--indigo-deep);
}
.chip-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}
.chip-icon.ph  { background: var(--teal-dim);   color: var(--teal-deep) }
.chip-icon.em  { background: var(--indigo-dim);  color: var(--indigo-deep) }
.chip-icon.lo  { background: var(--rose-dim);    color: #92400e }
.chip-icon.wa  { background: rgba(37,211,102,.12); color: #16a34a }

.contact-body {
  padding: 88px 0 100px;
  background: var(--bg);
  position: relative; z-index: 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
}

.contact-form-box {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.cfb-top {
  height: 4px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--indigo));
  background-size: 200%;
  animation: gradShift 4s ease infinite;
}
.cfb-body { padding: 40px 36px }
.cfb-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--indigo-deep); margin-bottom: 8px;
}
.cfb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); animation: blink 2s infinite }
.cfb-title {
  font-family: var(--font-h); font-size: 1.8rem; font-weight: 600;
  line-height: 1.2; color: var(--text); margin-bottom: 6px;
}
.cfb-sub { font-size: .85rem; color: var(--text-3); line-height: 1.7; margin-bottom: 32px }

/* Form fields */
.cf-form { display: flex; flex-direction: column; gap: 0 }
.cf-form .fgrid { margin-bottom: 14px }
.cf-form .fg    { margin-bottom: 14px }

.cf-form .fi,
.cf-form .fsel,
.cf-form textarea.fi {
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.cf-form .fi:focus,
.cf-form .fsel:focus,
.cf-form textarea.fi:focus {
  border-color: var(--indigo);
  background: #fff;
  box-shadow: 0 0 0 3px var(--indigo-dim);
}

.cf-form textarea.fi {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
  font-family: var(--font-b);
}

.cf-submit {
  width: 100%; padding: 15px;
  font-size: .92rem; border-radius: 10px;
  margin-top: 4px;
  letter-spacing: .01em;
}

.cf-trust {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: .73rem; color: var(--text-4); margin-top: 12px;
}
.cf-lock { font-size: .75rem }

.cf-success {
  display: none;
  align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 10px;
  background: rgba(5,150,105,.08); border: 1.5px solid rgba(5,150,105,.25);
  color: #065f46; font-size: .85rem; font-weight: 500;
  margin-top: 14px;
}
.cf-success.show { display: flex }
.cf-success-icon { font-size: 1.2rem }

.contact-sidebar { display: flex; flex-direction: column; gap: 20px }

.cs-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.cs-info-card h3 {
  font-family: var(--font-h); font-size: 1.2rem; font-weight: 600;
  color: var(--text); margin-bottom: 20px;
}
.cs-detail-list { display: flex; flex-direction: column; gap: 16px }
.cs-detail {
  display: flex; align-items: flex-start; gap: 14px;
}
.cs-detail-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0; margin-top: 1px;
}
.cs-detail-icon.phone  { background: var(--teal-dim);   color: var(--teal-deep) }
.cs-detail-icon.email  { background: var(--indigo-dim);  color: var(--indigo-deep) }
.cs-detail-icon.loc    { background: var(--rose-dim);    color: #92400e }
.cs-detail-icon.hours  { background: var(--rose-dim);    color: #92400e }
.cs-detail-txt {}
.cs-detail-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-4); margin-bottom: 2px }
.cs-detail-val   { font-size: .85rem; font-weight: 500; color: var(--text-2); line-height: 1.55 }
.cs-detail-val a { color: inherit; transition: color .2s }
.cs-detail-val a:hover { color: var(--indigo-deep) }

.cs-divider { height: 1px; background: var(--border); margin: 6px 0 }

.cs-social-row {
  display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap;
}
.cs-soc-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--bg);
  font-size: .75rem; font-weight: 600; color: var(--text-3);
  cursor: pointer; transition: all .25s var(--ease); text-decoration: none;
}
.cs-soc-btn:hover { background: var(--indigo-pale); border-color: rgba(249,115,22,.3); color: var(--indigo-deep) }
.cs-soc-icon { font-size: .8rem }

.cs-map-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cs-map-header {
  padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
}
.cs-map-pin {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--rose-dim); color: #92400e;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.cs-map-header-txt h4 { font-size: .87rem; font-weight: 700; color: var(--text) }
.cs-map-header-txt p  { font-size: .72rem; color: var(--text-4) }
.cs-map-frame {
  width: 100%; height: 280px; border: none; display: block;
  filter: saturate(.9) contrast(1.02);
}
.cs-map-footer {
  padding: 12px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cs-map-addr { font-size: .75rem; color: var(--text-3); line-height: 1.5 }
.cs-map-dir {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 700; color: var(--teal-deep);
  text-decoration: none; transition: gap .2s, color .2s;
  white-space: nowrap; flex-shrink: 0; margin-left: 12px;
}
.cs-map-dir:hover { gap: 8px; color: var(--indigo-deep) }

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-sidebar { order: -1 }
  .cs-map-frame { height: 240px }
}

@media (max-width: 768px) {
  .contact-hero  { padding: 120px 0 52px }
  .contact-chips { gap: 9px }
  .contact-chip  { padding: 10px 14px; font-size: .78rem }
  .cfb-body      { padding: 28px 20px }
  .faq-grid      { grid-template-columns: 1fr }
  .contact-body  { padding: 60px 0 72px }
  .contact-faq   { padding: 60px 0 }
}

.branches-section { padding: 88px 0 100px; background: var(--bg); }

.branches-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px; align-items: start;
}

.branch-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden; transition: all .35s var(--ease);
}
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(249,115,22,.35); }

.branch-card-top {
  height: 3px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--indigo));
  background-size: 200%; animation: gradShift 4s ease infinite;
}
.branch-main .branch-card-top { height: 4px; background: linear-gradient(90deg, var(--indigo-deep), var(--indigo), var(--teal)); background-size: 200%; }

.branch-body { padding: 22px 18px 20px; }

.branch-pin-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-dim); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; margin-bottom: 14px;
}
.branch-pin-main { background: var(--indigo-dim); }

.branch-live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 100px;
  background: var(--indigo-dim); color: var(--indigo-deep);
  font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 10px;
}
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--indigo-deep); display: inline-block; animation: blink 1.5s infinite; }

.branch-name { font-family: var(--font-h); font-size: .98rem; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 0; }
.branch-divider { height: 1px; background: var(--border); margin: 12px 0; }
.branch-addr { font-size: .72rem; color: var(--text-3); line-height: 1.7; }

.branch-soon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px;
  background: var(--teal-dim); border: 1.5px dashed rgba(59,130,246,.3);
  font-size: .7rem; font-weight: 600; color: var(--teal-deep);
}

.branch-footer {
  padding: 10px 18px; background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
}
.branch-status-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.branch-status-dot.active { background: #10b981; }
.branch-status-dot.soon { background: var(--teal); }
.branch-status-txt { font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-4); }

@media (max-width: 1024px) { .branches-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .branches-grid { grid-template-columns: 1fr 1fr; } }

/* ═══ BRANCHES — UNIFIED CARD ═══ */

.branches-section {
    padding: 88px 0 100px;
    background: var(--bg);
}

/* ── Outer card ── */
.branches-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* ── Top gradient bar ── */
.branches-card-bar {
    height: 4px;
    background: linear-gradient(90deg, #1D9E75 0%, var(--teal) 30%, var(--indigo) 65%, #7F77DD 100%);
    background-size: 200%;
    animation: gradShift 5s ease infinite;
}

/* ── Card header ── */
.branches-card-head {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.bch-eyebrow {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-4);
    margin: 0 0 4px;
}
.bch-title {
    font-family: var(--font-h);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}
.bch-legend {
    display: flex;
    align-items: center;
    gap: 18px;
}
.bch-leg-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.bch-leg-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.bch-leg-open { background: #1D9E75; }
.bch-leg-soon { background: #BA7517; }
.bch-leg-lbl {
    font-size: .75rem;
    color: var(--text-3);
}

/* ── Row grid ── */
.branches-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* ── Each branch column ── */
.br-col {
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-right: 1px solid var(--border);
    transition: background .25s;
}
.br-col:last-child {
    border-right: none;
}
.br-col:hover {
    background: var(--bg);
}

/* ── Icon + pill row ── */
.br-col-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

/* ── Pin icon ── */
.br-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.br-icon svg {
    width: 18px;
    height: 18px;
}
.br-icon-green { background: #E1F5EE; }
.br-icon-blue  { background: #E6F1FB; }
.br-icon-amber { background: #FAEEDA; }

/* ── Status pill ── */
.br-pill {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
    align-self: flex-start;
}
.br-pill-main {
    background: #E1F5EE;
    color: #085041;
}
.br-pill-soon {
    background: #FAEEDA;
    color: #633806;
}

/* ── Branch name ── */
.br-name {
    font-family: var(--font-h);
    font-size: .92rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

/* ── Address ── */
.br-addr {
    font-size: .72rem;
    color: var(--text-3);
    line-height: 1.75;
    margin: 0;
    flex: 1;
}

/* ── Coming soon text ── */
.br-soon {
    font-size: .72rem;
    color: var(--text-4);
    line-height: 1.65;
    margin: 0;
    flex: 1;
    font-style: italic;
}

/* ── Status footer inside column ── */
.br-foot {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.br-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.br-dot-open { background: #1D9E75; }
.br-dot-soon { background: #BA7517; }
.br-stat {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-4);
}

/* ── Card footer ── */
.branches-card-foot {
    padding: 14px 28px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.bcf-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.bcf-right {
    font-size: .72rem;
    color: var(--text-4);
    font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .branches-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .br-col:nth-child(3) {
        border-right: none;
    }
    .br-col:nth-child(n+4) {
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 640px) {
    .branches-section {
        padding: 60px 0 72px;
    }
    .branches-card-head {
        padding: 16px 18px;
    }
    .branches-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .br-col {
        padding: 16px 14px;
    }
    .br-col:nth-child(3) {
        border-right: 1px solid var(--border);
    }
    .br-col:nth-child(even) {
        border-right: none;
    }
    .br-col:nth-child(n+3) {
        border-top: 1px solid var(--border);
    }
    .bch-legend {
        gap: 12px;
    }
    .branches-card-foot {
        padding: 12px 18px;
    }
    .bcf-left {
        gap: 14px;
    }
}