/* Services page — additional styles */

/* ── Services page hero ───────────────────────────── */
.svc-hero {
  position: relative;
  min-height: 100vh;
  height: clamp(720px, 100vh, 920px);
  overflow: hidden;
  background: #1a1208;
  color: #fff;
}
.svc-hero-bg { position: absolute; inset: 0; }
.svc-hero-svg { width: 100%; height: 100%; display: block; }
.svc-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.15) 100%),
              linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%);
}

/* Make pill nav text dark on light pill, but on dark hero the brand text needs to be light */
.svc-nav .brand-text-light b { color: #fff; }
.svc-nav .brand-text-light em { color: rgba(255,255,255,.65); }
.svc-nav .nav-book-btn {
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(20px);
}

.svc-hero-inner {
  position: relative;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
}
.svc-hero-copy {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 24px;
}
.svc-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.02em;
}
.svc-hero-copy h1 {
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
}
.svc-hero-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  max-width: 520px;
}
/* Hero CTA group: primary "Book HVAC Service" + ghost "Call <phone>" */
.svc-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}
.svc-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease, box-shadow .2s ease;
}
.svc-hero-btn:focus-visible { outline: 3px solid rgba(214, 51, 67, 0.45); outline-offset: 2px; }
.svc-hero-btn-primary {
  color: #fff;
  box-shadow: 0 12px 28px rgba(214, 51, 67, 0.32);
}
.svc-hero-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.svc-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.svc-hero-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); }
.svc-hero-btn-ghost svg { color: #fff; }

/* Hero trust strip */
.svc-hero-trust {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.svc-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.svc-hero-trust-item svg { color: rgba(255, 255, 255, 0.65); }

@media (max-width: 760px) {
  .svc-hero { height: auto; min-height: clamp(560px, 80vh, 720px); }
  .svc-hero-inner { padding: 120px 24px 56px; align-items: flex-end; }
  .svc-hero-copy h1 { font-size: 36px; }
  .svc-hero-copy p { font-size: 16px; }
  .svc-hero-ctas { width: 100%; }
  .svc-hero-btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 14px 16px; }
  .svc-hero-trust { gap: 6px 12px; }
  .svc-hero-trust-item { font-size: 12px; }
}

/* ── All services grid ─────────────────────────────── */
.all-svc {
  background: var(--bg);
  padding: 120px 0;
}
.all-svc-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.all-svc-head h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.all-svc-head .lead { font-size: 18px; line-height: 1.6; color: var(--ink-3); max-width: 560px; }

.all-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.all-svc-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .25s;
}
.all-svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}
.all-svc-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: #d8cfbc;
  overflow: hidden;
}
.all-svc-thumb svg { width: 100%; height: 100%; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.all-svc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.all-svc-card:hover .all-svc-thumb svg,
.all-svc-card:hover .all-svc-thumb img { transform: scale(1.04); }
.all-svc-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.all-svc-body h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.all-svc-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-3);
  flex: 1;
  margin: 0;
}
.all-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 8px;
}
.all-svc-link:hover { color: var(--accent); }

/* Tags below the description in each card */
.all-svc-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.all-svc-tag {
  padding: 4px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

@media (max-width: 980px) { .all-svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .all-svc-grid { grid-template-columns: 1fr; }
  .all-svc { padding: 72px 0; }
}

/* ── Problem chooser (4 compact cards under hero) ──── */
.svc-problem-chooser {
  background: var(--bg);
  padding: 64px 0 24px;
}
.svc-problem-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.svc-problem-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.2;
}
.svc-problem-head .lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
.svc-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.svc-problem-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.svc-problem-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 12px 28px rgba(5, 29, 62, 0.08);
}
.svc-problem-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.svc-problem-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.svc-problem-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
}
.svc-problem-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.005em;
}
@media (max-width: 980px) { .svc-problem-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) {
  .svc-problem-grid { grid-template-columns: 1fr; }
  .svc-problem-chooser { padding: 48px 0 12px; }
}

/* ── Emergency strip ─────────────────────────────────── */
.svc-emergency {
  background: linear-gradient(135deg, var(--bg-2), #fff);
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc-emergency-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.svc-emergency-copy { flex: 1 1 360px; min-width: 0; }
.svc-emergency-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.svc-emergency-copy h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--ink);
}
.svc-emergency-copy p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 620px;
}
.svc-emergency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.svc-emergency-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.svc-emergency-btn-primary { color: #fff; box-shadow: 0 10px 22px rgba(214, 51, 67, 0.25); }
.svc-emergency-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); }
.svc-emergency-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.svc-emergency-btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }
@media (max-width: 640px) {
  .svc-emergency { padding: 44px 0; }
  .svc-emergency-inner { flex-direction: column; align-items: stretch; }
  .svc-emergency-actions { width: 100%; flex-direction: column; order: 2; }
  /* Brief: on mobile, phone button appears first */
  .svc-emergency-btn-primary { order: 1; }
  .svc-emergency-btn-ghost { order: 2; }
  .svc-emergency-btn { width: 100%; padding: 14px 18px; }
}

/* ── Estimator + Offers strip ────────────────────────── */
.svc-estimator-offers {
  background: var(--bg);
  padding: 64px 0;
}
.svc-estimator-offers-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 14px 32px rgba(5, 29, 62, 0.06);
}
.svc-estimator-offers-copy { flex: 1 1 380px; min-width: 0; }
.svc-estimator-offers-copy h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 6px;
}
.svc-estimator-offers-copy p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
.svc-estimator-offers-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.svc-eo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.svc-eo-btn-primary { color: #fff; box-shadow: 0 8px 18px rgba(214, 51, 67, 0.22); }
.svc-eo-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); }
.svc-eo-btn-ghost { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); }
.svc-eo-btn-ghost:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.svc-eo-btn-ghost svg { color: var(--accent); }
@media (max-width: 640px) {
  .svc-estimator-offers { padding: 48px 0; }
  .svc-estimator-offers-inner { padding: 24px 20px; flex-direction: column; align-items: stretch; }
  .svc-estimator-offers-actions { flex-direction: column; }
  .svc-eo-btn { width: 100%; }
}

/* ── Why Choose Trident (4-point grid) ───────────────── */
.svc-why { background: var(--bg-2); padding: 80px 0; }
.svc-why-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.svc-why-head h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}
.svc-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.svc-why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-why-card-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  margin-bottom: 4px;
}
.svc-why-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.svc-why-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
@media (max-width: 980px) { .svc-why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) {
  .svc-why { padding: 56px 0; }
  .svc-why-grid { grid-template-columns: 1fr; }
}

/* ── Final CTA section (services-page-specific) ──────── */
.svc-final-cta {
  background: var(--bg);
  padding: 80px 0;
}
.svc-final-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, #0a1628 0%, #1a2540 100%);
  border-radius: 22px;
  padding: 48px;
  color: #fff;
}
.svc-final-cta-copy { flex: 1 1 480px; min-width: 0; }
.svc-final-cta-copy h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 10px;
}
.svc-final-cta-copy p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 560px;
}
.svc-final-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.svc-final-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.svc-final-cta-btn-primary { color: #fff; box-shadow: 0 12px 26px rgba(214, 51, 67, 0.32); }
.svc-final-cta-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.svc-final-cta-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.svc-final-cta-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.svc-final-cta-btn-ghost svg { color: #fff; }
@media (max-width: 640px) {
  .svc-final-cta { padding: 56px 0; }
  .svc-final-cta-inner { padding: 32px 22px; flex-direction: column; align-items: stretch; }
  .svc-final-cta-actions { flex-direction: column; }
  .svc-final-cta-btn { width: 100%; padding: 14px 20px; }
}
