/* =========================================================
   branch-pages.css – Writer Relocations
   Shared styles for location pages + contact page
   ========================================================= */

/* ---- BRANCH HERO ---- */
.branch-hero {
  background: var(--yellow);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.branch-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.branch-hero .container { position: relative; z-index: 2; }
.branch-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}
.branch-hero-breadcrumb {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.55);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.branch-hero-breadcrumb a { color: rgba(0,0,0,0.65); transition: color 0.2s; }
.branch-hero-breadcrumb a:hover { color: var(--black); }
.branch-hero-breadcrumb i { font-size: 0.65rem; }
.branch-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.branch-hero-sub {
  font-size: clamp(1.0rem, 1.8vw, 1.1rem);
  color: rgba(0,0,0,0.68);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}
.branch-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.branch-trust-chips {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
}
.trust-chip i { color: var(--black); font-size: 0.85rem; }

/* ---- BRANCH INFO CARD ---- */
.branch-info-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}
.branch-info-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--yellow);
}
.branch-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.branch-info-row i {
  width: 32px;
  height: 32px;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.branch-info-row div strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.branch-info-row div span {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
  font-weight: 500;
}
.branch-info-row div a {
  font-size: 0.9rem;
  color: var(--black);
  font-weight: 700;
  transition: color 0.2s;
}
.branch-info-row div a:hover { color: var(--yellow-dark); }
.branch-action-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.branch-action-btns a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-call-action { background: var(--black); color: var(--white); }
.btn-call-action:hover { background: var(--dark-2); transform: translateY(-2px); }
.btn-wa-action { background: #25d366; color: var(--white); }
.btn-wa-action:hover { background: #1ebd5d; transform: translateY(-2px); }
.btn-dir-action { background: var(--yellow-light); color: var(--black); border: 1.5px solid var(--yellow); }
.btn-dir-action:hover { background: var(--yellow); transform: translateY(-2px); }

/* ---- LOCAL INTRO ---- */
.local-intro { padding: 64px 0 48px; }
.local-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.local-intro-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 18px;
}
.local-intro-content p:last-child { margin-bottom: 0; }
.local-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.highlight-card {
  background: var(--yellow-light);
  border-radius: var(--radius);
  padding: 18px 16px;
  border: 1.5px solid rgba(254,184,17,0.3);
  text-align: center;
}
.highlight-card i {
  font-size: 1.5rem;
  color: var(--yellow-dark);
  margin-bottom: 8px;
  display: block;
}
.highlight-card strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 4px;
}
.highlight-card span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- SERVICES GRID (branch pages) ---- */
.branch-services { padding: 0 0 64px; }
.branch-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.branch-service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: var(--transition);
}
.branch-service-card:hover {
  border-color: var(--yellow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.branch-service-icon {
  width: 48px; height: 48px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.branch-service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}
.branch-service-card p {
  font-size: 0.87rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---- SCENARIOS ---- */
.scenarios-section { background: var(--cream); padding: 64px 0; }
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scenario-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.scenario-card:hover { border-color: var(--yellow); box-shadow: var(--shadow); }
.scenario-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--yellow-light);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.scenario-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.scenario-card p {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---- PROCESS (branch) ---- */
.branch-process { padding: 64px 0; }
.branch-process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}
.branch-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 32px;
}
.branch-step:last-child { padding-bottom: 0; }
.branch-step::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: var(--yellow-light);
}
.branch-step:last-child::before { display: none; }
.branch-step-num {
  width: 50px;
  height: 50px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.branch-step-content h4 {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  padding-top: 12px;
}
.branch-step-content p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ---- WHY LOCAL ---- */
.why-local { background: var(--black); color: var(--white); padding: 64px 0; }
.why-local .section-heading { color: var(--white); }
.why-local .section-label { background: rgba(254,184,17,0.15); color: var(--yellow); }
.why-local-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.why-local-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px 20px;
  transition: var(--transition);
}
.why-local-card:hover {
  background: rgba(254,184,17,0.1);
  border-color: var(--yellow);
  transform: translateY(-4px);
}
.why-local-card i {
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: 12px;
  display: block;
}
.why-local-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.why-local-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ---- BRANCH FAQ ---- */
.branch-faq { padding: 64px 0; background: var(--cream); }
.branch-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- TESTIMONIALS (branch) ---- */
.branch-testimonials { padding: 64px 0; }
.branch-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---- MAP SECTION ---- */
.map-section { padding: 64px 0; background: var(--cream); }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}
.map-embed iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ---- BOTTOM CTA (branch) ---- */
.branch-cta {
  background: var(--yellow);
  padding: 56px 0;
  text-align: center;
}
.branch-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.branch-cta p {
  font-size: 1.05rem;
  color: rgba(0,0,0,0.65);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.branch-cta-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero {
  background: var(--yellow);
  padding: 72px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.contact-hero .container { position: relative; z-index: 2; }
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.contact-hero p {
  font-size: 1.1rem;
  color: rgba(0,0,0,0.65);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.75;
}

/* ---- BRANCH CARDS GRID ---- */
.branches-section { padding: 72px 0; }
.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.branch-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.branch-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.branch-card-header {
  background: var(--black);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.branch-city-icon {
  width: 42px; height: 42px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.branch-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.branch-card-header span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.branch-card-body { padding: 22px; }
.branch-detail-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 13px;
}
.branch-detail-row:last-of-type { margin-bottom: 0; }
.branch-detail-row i {
  width: 30px; height: 30px;
  background: var(--yellow-light);
  color: var(--yellow-dark);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.branch-detail-row div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.branch-detail-row strong {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.branch-detail-row span, .branch-detail-row a {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.branch-detail-row a:hover { color: var(--yellow-dark); }
.branch-card-map {
  border-top: 1px solid var(--border);
  height: 200px;
  overflow: hidden;
}
.branch-card-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.branch-card-actions {
  padding: 16px 22px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border);
  background: var(--grey-light);
}
.branch-card-actions a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.branch-action-call { background: var(--black); color: var(--white); }
.branch-action-call:hover { background: var(--dark-2); }
.branch-action-wa { background: #25d366; color: var(--white); }
.branch-action-wa:hover { background: #1ebd5d; }
.branch-action-dir { background: var(--yellow); color: var(--black); }
.branch-action-dir:hover { background: var(--yellow-dark); }

/* ---- CONTACT FORM SECTION ---- */
.contact-form-section { padding: 72px 0; background: var(--cream); }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 60px;
  align-items: start;
}
.contact-form-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.contact-form-info p {
  font-size: 1.0rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}
.contact-quick-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.contact-quick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
}
.contact-quick-row i {
  width: 38px; height: 38px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.contact-quick-row a { color: var(--text-main); font-weight: 700; }

/* =====================================================
   RESPONSIVE – BRANCH + CONTACT
   ===================================================== */
@media (max-width: 1000px) {
  .branch-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .branch-hero-inner .branch-info-sidebar { max-width: 500px; }
  .branch-hero h1 { font-size: 2.6rem; }
  .local-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .branch-services-grid { grid-template-columns: repeat(3, 1fr); }
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  .why-local-grid { grid-template-columns: repeat(2, 1fr); }
  .branches-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 40px; }
  .branch-faq-grid { grid-template-columns: 1fr; }
  .branch-testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .branch-hero { padding: 52px 0 44px; }
  .branch-hero h1 { font-size: 2.0rem; }
  .branch-hero-btns { flex-direction: column; }
  .branch-hero-btns .btn { justify-content: center; }
  .branch-services-grid { grid-template-columns: repeat(2, 1fr); }
  .scenarios-grid { grid-template-columns: 1fr; }
  .why-local-grid { grid-template-columns: 1fr 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .branch-testi-grid { grid-template-columns: 1fr; }
  .local-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .branch-services-grid { grid-template-columns: 1fr; }
  .why-local-grid { grid-template-columns: 1fr; }
  .branch-cta-btns { flex-direction: column; align-items: center; }
  .branch-cta-btns .btn { width: 100%; justify-content: center; }
  .branch-card-actions { flex-wrap: wrap; }
  .branch-card-actions a { flex: none; width: calc(50% - 5px); }
}
