/* ELUVO — transparent pricing section for
   services/air-conditioning-service-bristol.html.
   Page-scoped styles only (prefixed `acsvc-`). Reuses the site's existing
   :root brand tokens and the shared calculator styles already loaded via
   ac-servicing-maintenance.css (acsm-btn, acsm-calc-*, acsm-tier-toggle,
   acsm-stepper, acsm-table, acsm-breakdown-*) — no colours or component
   patterns are redefined here. */

.acsvc-pricing-section { background: var(--white); }
.acsvc-note { margin-top: 10px; font-size: 0.86rem; color: var(--grey); font-style: italic; }
.acsvc-hero-statement { font-size: 1.2rem; font-weight: 800; color: var(--white); margin: 4px 0 14px; }

/* ---------- Real photography overrides (process cards / deep clean / record / engineer / maintained-system) ---------- */
/* Process card media: fixed-ratio box using position:absolute (not flex + percentage
   height), so sizing can never depend on a browser's aspect-ratio/flex interaction —
   the photo cannot stretch or squash regardless of viewport or engine. */
.acsm-process-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(140deg, #eaf4fc, #dcecf9); padding: 0; display: block; }
.acsm-process-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.acsm-process-badge { z-index: 2; }
.acsm-deepclean-media { padding: 0; }
.acsm-deepclean-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.acsvc-record-photo-wrap { border-radius: 18px; overflow: hidden; margin: 0 0 32px; aspect-ratio: 16 / 6; box-shadow: var(--shadow); }
.acsvc-record-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acsvc-engineer-band { padding: 0; overflow: hidden; }
.acsvc-engineer-band img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.acsvc-maintained-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 48px); align-items: center; text-align: left; max-width: none; }
.acsvc-maintained-grid img { width: 100%; border-radius: 18px; object-fit: cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.acsvc-maintained-copy { text-align: left; }
@media (max-width: 900px) {
  .acsvc-maintained-grid { grid-template-columns: 1fr; text-align: center; }
  .acsvc-maintained-copy { text-align: center; }
}

/* ---------- Summary cards ---------- */
.acsvc-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.acsvc-summary-card { position: relative; background: var(--white); border: 1.5px solid var(--border); border-radius: 20px; padding: 30px 28px; }
.acsvc-summary-card.is-featured { border-color: var(--blue); background: linear-gradient(180deg, #f3f9ff 0%, var(--white) 38%); box-shadow: 0 20px 44px rgba(0, 119, 200, 0.12); }
.acsvc-summary-badge { position: absolute; top: -13px; left: 26px; background: var(--blue); color: var(--white); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
.acsvc-summary-name { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; color: var(--grey); margin: 0 0 10px; }
.acsvc-summary-card.is-featured .acsvc-summary-name { color: var(--blue); }
.acsvc-summary-price { font-size: 2.3rem; font-weight: 900; color: var(--navy); line-height: 1; margin: 0 0 8px; }
.acsvc-summary-includes { font-size: 0.88rem; color: var(--text); margin: 0 0 16px; }
.acsvc-summary-addons { list-style: none; margin: 0 0 16px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.acsvc-summary-addons li { font-size: 0.86rem; color: var(--grey); }
.acsvc-summary-addons strong { color: var(--navy); font-weight: 800; }
.acsvc-summary-subtitle { font-size: 0.9rem; color: var(--grey); margin: 0 0 20px; }

/* ---------- Price table block ---------- */
.acsvc-table-block { margin: 40px 0; }
.acsvc-table-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.acsvc-table-head h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.acsvc-table-head p { font-size: 0.88rem; margin: 0; max-width: 46ch; }
.acsvc-table-head .acsm-tier-toggle { width: 300px; flex: none; }
.acsvc-table thead th span { display: block; font-size: 0.66rem; font-weight: 700; text-transform: none; letter-spacing: 0.02em; opacity: 0.85; margin-top: 2px; }
/* First column header: explicit colours on each span so this can never
   inherit the sticky-first-column body-cell colour (.acsm-table
   th:first-child sets a dark text colour for row labels, which — due to
   a pre-existing selector-specificity quirk in that shared rule — was
   also winning over the navy header's white text on this cell). */
.acsvc-table thead th .acsvc-th-main { display: block; font-size: 0.84rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); opacity: 1; }
.acsvc-table thead th .acsvc-th-sub { display: block; font-size: 0.66rem; font-weight: 600; text-transform: none; letter-spacing: 0.02em; color: rgba(255,255,255,0.7); opacity: 1; margin-top: 2px; }
.acsvc-table-more { margin-top: 14px; font-size: 0.86rem; color: var(--grey); }
.acsvc-table-more a { color: var(--blue); font-weight: 700; text-decoration: underline; }

/* ---------- Example card ---------- */
.acsvc-example-card { margin: 40px 0; background: #f7f9fc; border: 1px solid var(--border); border-radius: 20px; padding: 28px 30px; }
.acsvc-example-eyebrow { color: var(--blue); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 8px; }
.acsvc-example-desc { font-size: 0.94rem; color: var(--text); margin: 0 0 18px; }
.acsvc-example-total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1.5px solid var(--border); padding-top: 14px; }
.acsvc-example-total span { font-size: 0.86rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--grey); }
.acsvc-example-total strong { font-size: 1.5rem; font-weight: 900; color: var(--navy); }

/* ---------- Calculator (reuses .acsm-calc-* structure) ---------- */
.acsvc-calc-section { margin: 40px 0; }
.acsvc-calc-billing-field { margin-bottom: 26px; }

/* ---------- Disclaimer ---------- */
.acsvc-disclaimer { margin-top: 32px; background: #f7f9fc; border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 12px; padding: 16px 20px; font-size: 0.86rem; color: var(--grey); line-height: 1.6; }

/* ==================== TABLET ==================== */
@media (max-width: 1100px) {
  .acsvc-table-head { align-items: flex-start; }
  .acsvc-table-head .acsm-tier-toggle { width: 100%; }
}

/* ==================== MOBILE ==================== */
@media (max-width: 700px) {
  .acsvc-summary-grid { grid-template-columns: 1fr; }
  .acsvc-example-card { padding: 22px 20px; }

  /* Desktop table becomes a stacked set of premium rows/cards. */
  .acsvc-table-wrap { border: none; overflow: visible; }
  .acsvc-table { min-width: 0; display: block; }
  .acsvc-table thead { display: none; }
  .acsvc-table tbody { display: flex; flex-direction: column; gap: 12px; }
  .acsvc-table tbody tr { display: block; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; background: var(--white); }
  .acsvc-table tbody td { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: none; text-align: left; }
  .acsvc-table tbody td:first-child { padding: 0 0 10px; font-weight: 800; color: var(--navy); font-size: 0.92rem; position: static; background: transparent; }
  .acsvc-table tbody td:nth-child(2)::before { content: "Essential"; color: var(--grey); font-weight: 600; }
  .acsvc-table tbody td:nth-child(3)::before { content: "Performance"; color: var(--blue); font-weight: 700; }
  .acsvc-table tbody td.is-featured { background: #f3f9ff; margin: 0 -18px; padding: 8px 18px; border-radius: 10px; font-weight: 800; }
}
