/* ================================================================
   SERVICES PAGE STYLES
   (loaded after style.css — uses the same color tokens)
================================================================ */

/* ---- Page hero (smaller than homepage hero) ---- */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  max-width: 720px;
  margin: 0 auto 20px;
}
.page-hero-sub {
  max-width: 640px;
  margin: 0 auto 20px;
  font-size: 15.5px;
}
.page-hero-note {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14.5px;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.page-hero-note a { color: var(--blue-light); font-weight: 600; }
.page-hero-note a:hover { text-decoration: underline; }

/* ---- Policy cards ---- */
.policy-section { padding: 64px 0; }
.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.policy-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.policy-icon { font-size: 26px; display: block; margin-bottom: 10px; }
.policy-card h3 {
  font-size: 19px;
  text-transform: none;
  margin-bottom: 10px;
}
.policy-card p { font-size: 14px; margin-bottom: 8px; }
.policy-example {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px !important;
  color: var(--text-faint) !important;
  margin-bottom: 0 !important;
}

/* ---- Renovation feature card ---- */
.reno-feature {
  position: relative;
  background: linear-gradient(160deg, rgba(36,54,232,0.14), var(--bg-elevated) 65%);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  padding: 44px;
  overflow: hidden;
}
.reno-feature h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}
.reno-feature > p { max-width: 620px; margin-bottom: 20px; font-size: 15px; }
.reno-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.reno-points li { font-size: 14.5px; color: var(--text); }

/* ---- Category sections & accordions ---- */
.category-section { padding-top: 56px; padding-bottom: 56px; scroll-margin-top: 90px; }
.category-section .section-head { margin-bottom: 28px; }

.acc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: background 0.15s ease;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--bg-elevated-2); }
.acc .chev {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: none;
  color: var(--text-faint);
  transition: transform 0.2s ease;
  font-size: 20px;
}
.acc[open] .chev { transform: rotate(180deg); }
.acc-body {
  padding: 4px 24px 26px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* ---- Price tables ---- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.price-table td, .price-table th {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.price-table td:first-child { color: var(--text); }
.price-table td:last-child, .price-table th:not(:first-child) {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--blue-light);
  font-size: 13.5px;
  white-space: nowrap;
  text-align: right;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .note { color: var(--text-faint); font-size: 12.5px; font-style: italic; }

.tier-table th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-align: right;
}
.tier-table th:first-child { text-align: left; }

.sub-heading {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 28px 0 8px;
  letter-spacing: 0.02em;
}
.tier-note {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.variables-note {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .policy-grid { grid-template-columns: 1fr; }
  .reno-feature { padding: 28px; }
  .acc summary { font-size: 16px; padding: 16px 18px; }
  .price-table { font-size: 13px; }
}
