/* ============================================
   TABORA — CITY PAGE STYLES
   Loads after main.css and services.css.
   Most of the layout reuses .scope, .overview,
   .local, .faq, .other-services from services.css.
   This file adds city-specific bits.
   ============================================ */

/* ---------- Services block (link cards to /services/<slug>/) ---------- */
.services-block {
  background: var(--cream);
  padding: clamp(56px, 8vw, 110px) 0;
}
.services-block-head { margin-bottom: 40px; max-width: 60ch; }
.services-block-head h2 { margin: 12px 0 16px; max-width: 16ch; }
.services-block-intro { font-size: 16px; color: var(--text-soft); line-height: 1.55; max-width: 60ch; }

.services-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.services-link-card {
  display: block;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px 60px 28px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.services-link-card::before {
  content: "";
  position: absolute; top: 0; left: 28px; right: 28px;
  height: 3px; background: var(--terracotta);
  border-radius: 6px 6px 0 0;
  transform: scaleX(0.3); transform-origin: left;
  transition: transform 0.3s ease;
}
.services-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--terracotta);
  box-shadow: 0 22px 40px -22px rgba(31,57,73,0.3);
}
.services-link-card:hover::before { transform: scaleX(1); }
.services-link-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  line-height: 1.2;
}
.services-link-card p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--text-soft);
  margin: 0; max-width: none;
}
.services-link-arrow {
  position: absolute;
  top: 50%; right: 22px;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--terracotta-deep);
  transition: background 0.2s ease, transform 0.25s ease, color 0.2s ease;
}
.services-link-card:hover .services-link-arrow {
  background: var(--terracotta);
  color: var(--paper);
  transform: translateY(-50%) translateX(3px);
}


/* ---------- Projects block (uses overview + scope-grid pattern) ---------- */
.projects-block {
  background: var(--cream-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.projects-block .overview-inner {
  margin-bottom: 0;
}
.projects-block .scope-grid {
  /* Inline override: 3-col for projects */
  grid-template-columns: repeat(3, 1fr);
}


/* ---------- Other cities (variant of other-services) ---------- */
.other-cities .other-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}


/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .services-link-grid { grid-template-columns: 1fr; max-width: 600px; }
  .projects-block .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .other-cities .other-grid { grid-template-columns: 1fr; max-width: 500px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .projects-block .scope-grid { grid-template-columns: 1fr; }
  .services-link-card { padding: 24px 50px 24px 22px; }
  .services-link-card h3 { font-size: 20px; }
  .services-link-arrow { right: 16px; width: 28px; height: 28px; }
}
