/*
 * ARDI — 3PL Warehouse California (template single-warehouse.php).
 * Loaded on that template only (see ardi_is_ca_warehouse_page() in functions.php).
 *
 * Contains ONLY what site.css does not already have: the "California service rates"
 * panel, in-text link style, and a few size/spacing refinements from the new design.
 * Tokens, buttons, hero, sections, cards, FAQ and the quote form come from site.css.
 * Every rule is scoped to .ca-page (class on <main>) so no other page is affected.
 */

/* ---- Typography ---- */
.ca-page h1,
.ca-page h2 { text-wrap: balance; }

/* Inline links inside copy are underlined (not distinguished by colour alone). */
.ca-page p a,
.ca-page li a {
  color: var(--express-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ca-page p a:hover,
.ca-page li a:hover { color: var(--ink-950); }

/* ---- Refinements to existing components (sizes from the new design) ---- */
.ca-page .step__desc { font-size: 14px; }
.ca-page .loc-stat__label { font-size: 12px; }
.ca-page .loc-stat__sub { font-size: 14px; }
.ca-page .spec-row dt { font-size: 12px; }

/* FAQ: site.css has several .faq__q/.faq__a variants for other pages; pin this page to the design. */
.ca-page .faq__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -.01em;
}
.ca-page .faq__a { font-size: 14.5px; line-height: 1.65; }

.ca-page .capsule__note--solo { margin-top: 0; }

.ca-page .note-p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-600);
  margin: 18px 0 0;
}

.ca-page .coverage__tags {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-strong);
  margin: 16px 0 0;
}

/* ---- California service rates panel (new) ---- */
.ca-page .ca-rates {
  margin-top: 40px;
  background: var(--surface-page);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.ca-page .ca-rates__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-600);
  margin: 0 0 20px;
}
.ca-page .ca-rates__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ca-page .ca-rates__grid > :nth-child(5) { grid-column: 1 / -1; }

.ca-page .ca-rate {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}
.ca-page .ca-rate__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--text-strong);
  margin: 0;
}
.ca-page .ca-rate__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 16px 0 0;
}
.ca-page .ca-rate__amt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--ink-950);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ca-page .ca-rate__from {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-right: 8px;
}
.ca-page .ca-rate__unit {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-body);
}
.ca-page .ca-rate__note {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-hair);
  text-wrap: pretty;
}
.ca-page .ca-rates__foot {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 20px 0 0;
  max-width: 760px;
  text-wrap: pretty;
}

@media (min-width: 1140px) {
  .ca-page .ca-rates__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ca-page .ca-rates__grid > :nth-child(-n+3) { grid-column: span 2; }
  .ca-page .ca-rates__grid > :nth-child(n+4) { grid-column: span 3; }
}

/* ---- Responsive ---- */
@media (max-width: 1139px) {
  .ca-page .steps > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 759px) {
  .ca-page .sec__title { font-size: 28px; }
  .ca-page .coverage__title { font-size: 22px; }
  .ca-page .capsule__note { padding: 20px; }
  .ca-page .ca-rates { padding: 16px; }
}
@media (max-width: 640px) {
  .ca-page .ca-rates__grid { grid-template-columns: 1fr; }
  .ca-page .ca-rates__grid > :nth-child(5) { grid-column: auto; }
}
