/*
  Just Cleaning — v3 design pass (Nov 2026)
  Loaded after plus.css on every public page. Everything here is additive:
  delete this file and its <link> tags to go back to v2.
  1. Readability: brighter secondary text, no captions under 14px.
  2. Hero: one brand mark (the header), no second logo lockup, real job photo.
  3. Mobile hero: the dashboard promo line hides when the announcement bar already says it.
  4. Services: photo and icon cards instead of five long text rows.
  5. Pricing: Request a Quote on every quoted service.
  6. Instant estimate: service tabs (shown only once Sean's rates are set).
*/

/* ---------- 1. readability ---------- */
:root { --muted: #93a5b1; }
.g-review figcaption,
.hero-photo figcaption { font-size: 14px; }
.hero-links { font-size: 15px; }
.service-more { color: var(--mist); font-size: 15px; }
.service-more a { color: var(--silver-hi); }

/* ---------- 2. hero ---------- */
/* the header already carries the name, so the hero shows it once less */
.hero-v2 .lockup { display: none; }
.hero-v2 .hero-copy { margin-top: 0; }
.hero-photo img { height: auto; object-position: 50% 50%; }
@media (max-width: 760px) {
  /* the header already carries the name; the first screen goes to the headline and the buttons */
  .hero-v2 .hero-copy { margin-top: 4px; }
  .hero-photo { margin-top: 22px; }
  .hero-photo img { aspect-ratio: 16 / 11; max-height: none; }

  /* ---------- 3. one message, once ---------- */
  .has-banner .hero-promo { display: none; }
}

/* ---------- 4. services as cards ---------- */
.services .service-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; border-top: 0; }
.services .service {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--dusk), var(--night));
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.services .service.has-media { grid-column: span 3; }
.services .service:hover,
.services .service:focus-within { border-color: var(--gold-line); transform: translateY(-2px); }
.services .service::after { left: 0; right: 0; bottom: 0; }
.services .service > :not(.service-media):not(.service-glyph):not(.service-num) { margin-inline: clamp(18px, 2vw, 24px); }

.service-media { position: relative; align-self: stretch; width: 100%; margin: 0 0 18px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.service-media img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: transform 0.8s var(--ease); }
.services .service:hover .service-media img { transform: scale(1.03); }
.service-media figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(5, 15, 28, 0.78); color: var(--silver-hi); font-size: 12.5px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.service-glyph { align-self: stretch; display: flex; align-items: center; gap: 12px; margin: 20px clamp(18px, 2vw, 24px) 14px; }
.service-glyph svg { width: 44px; height: 44px; padding: 11px; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; background: rgba(215, 178, 106, 0.06); }

.services .has-media .service-num { display: none; }
.services .service-num { position: absolute; top: 14px; right: 16px; padding: 0; z-index: 1; font-size: 15px; color: var(--gold-hi); text-shadow: 0 1px 8px rgba(2, 8, 16, 0.8); }
.services .service-main p { max-width: none; margin-top: 8px; }
.services .service h3 { font-size: clamp(26px, 2vw, 32px); }
.services .service-points { gap: 6px; padding-top: 14px; font-size: 15px; }
.services .service-link { align-self: flex-start; margin-top: auto; padding: 16px 0 4px; }
.services .service-more { margin-top: 2px; font-size: 14px; line-height: 1.6; }
.services .service-main { margin-top: 0; }

@media (max-width: 1100px) {
  .services .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services .service,
  .services .service.has-media { grid-column: auto; }
  .services .service:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .services .service-list { grid-template-columns: 1fr; gap: 14px; }
  .services .service:last-child:nth-child(odd) { grid-column: auto; }
  .service-media { aspect-ratio: 16 / 8; margin-bottom: 14px; }
  .service-glyph { margin-block: 16px 10px; }
  /* on phones each card is a photo or icon, a line, and the quote button; the full list lives on each service page */
  .services .service-points { display: none; }
  .service-glyph { margin-block: 16px 8px; }
  .services .service-link { padding-top: 12px; }
  .services .service:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .services .service, .service-media img { transition: none; }
  .services .service:hover, .services .service:hover .service-media img { transform: none; }
}

/* ---------- 5. pricing: a quote link on every quoted row ---------- */
.price-table td .q-link { white-space: nowrap; }

/* ---------- 6. instant estimate: service tabs ---------- */
.est-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.est-tabs button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--silver); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; }
.est-tabs button[aria-selected="true"] { border-color: var(--gold); background: rgba(215, 178, 106, 0.12); color: var(--gold-hi); }
.est-alt { display: grid; gap: 14px; }
.est-alt label { display: grid; gap: 6px; color: var(--silver); font-size: 15px; }
.est-alt input, .est-alt select { min-height: 46px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--night); color: var(--silver-hi); font: inherit; }
.est-alt-out { margin-top: 6px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--raised); }
.est-alt-out b { display: block; color: var(--gold-hi); font: 500 34px / 1.1 var(--serif); }
.est-alt-out p { margin-top: 6px; color: var(--mist); font-size: 14.5px; }
.service-media img.op-40 { object-position: 50% 40%; }
.est-alt-out > span { color: var(--silver); font-size: 15px; }
.est-alt-warn { color: var(--silver-hi) !important; }
.est-alt-warn strong { font-weight: 600; }
.est-alt-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.est-alt-actions .btn-gold { flex: 1 1 100%; }
.est-alt-actions .btn-line { flex: 1 1 140px; }
.est-alt [data-alt-fields] { display: grid; gap: 14px; }
@media (max-width: 760px) { .est-alt-actions .btn-line { flex-basis: 100%; } }
