/* ════════ SERVICE PAGES (Premium) ════════
   Shared by drain-cleaning.html, water-heaters.html, leak-repair.html,
   emergency-plumbing.html, fixtures.html and repiping.html.
   Uses the colors, fonts and buttons defined in the page's main <style>. */

.svc-page section .eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); }

/* ── Hero: same cool paper as the home page, one service up front ── */
.svc-hero {
  position: relative; isolation: isolate; overflow: hidden; padding: 40px 5% 150px;
  background:
    radial-gradient(ellipse 45% 55% at 92% 8%, color-mix(in srgb, var(--accent-light) 16%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, color-mix(in srgb, var(--steel) 12%, transparent), transparent 70%),
    #edf2f6;
}
.svc-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('images/textures/pattern-light.svg') 0 0 / 640px; opacity: 0.11;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 88% 30%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 70% at 88% 30%, #000 25%, transparent 75%);
}
.svc-hero .wave-edge path { fill: var(--navy-deep); }
.svc-hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 26px; font-size: 0.92rem; color: var(--text-light); }
.crumbs a { color: var(--navy); text-decoration: none; font-weight: 600; border-bottom: 1px solid color-mix(in srgb, var(--navy) 25%, transparent); }
.crumbs a:hover { border-bottom-color: var(--accent); }
.crumbs [data-lucide] { width: 14px; height: 14px; opacity: 0.55; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

.svc-flag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.svc-flag > span { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem var(--font-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.svc-flag > span::before { content: ''; width: 26px; height: 2px; background: var(--accent); }

.svc-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--navy-deep); margin-bottom: 20px; }
.svc-hero h1 em {
  display: inline-block; font-style: italic; font-weight: 700; color: color-mix(in srgb, var(--accent) 90%, #000); padding: 0 0.04em 0.1em;
  position: relative; isolation: isolate;
}
/* the hand-drawn underline is a mask filled with the accent colour, so it follows the theme */
.svc-hero h1 em::after {
  content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0.05em; height: 0.32em; pointer-events: none;
  background: var(--accent-light); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C 70 6, 160 4, 296 11' stroke='%23000' stroke-width='9' fill='none' stroke-linecap='round' opacity='.45'/%3E%3Cpath d='M18 20 C 110 13, 200 12, 288 16' stroke='%23000' stroke-width='4' fill='none' stroke-linecap='round' opacity='.35'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 C 70 6, 160 4, 296 11' stroke='%23000' stroke-width='9' fill='none' stroke-linecap='round' opacity='.45'/%3E%3Cpath d='M18 20 C 110 13, 200 12, 288 16' stroke='%23000' stroke-width='4' fill='none' stroke-linecap='round' opacity='.35'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.svc-lead { font-size: 1.15rem; color: var(--text-light); max-width: 540px; margin-bottom: 28px; }

.svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 34px; }
.svc-cta .btn-lg { font-size: 1.12rem; padding: 16px calc(24px + var(--tab)) 16px 24px; }
.svc-cta .btn-lg [data-lucide] { width: 20px; height: 20px; }
.svc-cta .svc-cta-main { background: var(--navy-deep); color: var(--white) !important; }
.svc-cta .svc-cta-main:hover { background: color-mix(in srgb, var(--navy) 85%, var(--navy-deep)); }
.svc-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--navy) 25%, transparent); padding-bottom: 2px; }
.svc-call:hover { border-bottom-color: var(--accent); }
.svc-call [data-lucide] { color: var(--accent); }

.svc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--shade) 35%, transparent); }
.svc-facts > div { padding: 14px 16px; border-left: 1px solid var(--line); }
.svc-facts > div:first-child { border-left: 0; }
.svc-facts [data-lucide] { width: 20px; height: 20px; color: var(--accent); margin-bottom: 6px; }
.svc-facts dt { font-size: 0.8rem; color: var(--text-light); line-height: 1.2; }
.svc-facts dd { font: 800 1.08rem/1.2 var(--font-head); color: var(--navy-deep); margin-top: 3px; }

.svc-hero-media { position: relative; min-height: 480px; }
.svc-hero-media::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 560px; height: 560px;
  transform: translate(-50%, -50%); pointer-events: none;
  background: url('images/textures/feature.svg') center / contain no-repeat; opacity: 0.1;
}
.svc-print { position: absolute; overflow: hidden; border: 10px solid var(--white); border-radius: 6px; background-color: var(--white); box-shadow: 0 2px 4px color-mix(in srgb, var(--shade) 8%, transparent), 0 24px 44px -18px color-mix(in srgb, var(--shade) 45%, transparent); }
.svc-print > img { object-fit: cover; }
.svc-print-main { inset: 20px 18px 70px 30px; transform: rotate(1.4deg); }
.svc-print-small { width: 44%; aspect-ratio: 4 / 3; left: -14px; bottom: 0; transform: rotate(-5deg); border-width: 8px; z-index: 2; }
.svc-hero-media .tape { z-index: 3; }
.svc-hero-media .t1 { left: 46%; top: 4px; transform: rotate(-4deg); }
.svc-hero-media .t2 { left: 6%; bottom: 30%; transform: rotate(-38deg); width: 70px; }
.svc-sticker {
  position: absolute; z-index: 3; right: -6px; bottom: 26px; width: 150px; height: 150px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
  background: var(--accent); color: var(--white); border: 3px solid var(--navy); transform: rotate(8deg);
  box-shadow: 0 10px 22px -8px rgba(0,0,0,0.45);
}
.svc-sticker::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,0.7); }
.svc-sticker small { font: 700 0.78rem/1.1 var(--font-label); letter-spacing: 0.12em; text-transform: uppercase; max-width: 100px; }
.svc-sticker b { font: 800 1.45rem/1.05 var(--font-head); max-width: 120px; }
.svc-sticker span { font-size: 0.78rem; opacity: 0.92; }

/* ── What's included: dark band, icon cards ── */
.svc-included { background: var(--navy-deep); color: color-mix(in srgb, var(--slate) 18%, #fff); padding-top: 70px; }
.svc-included h2 { color: var(--white); }
.svc-included .eyebrow { color: var(--mist); }
.svc-included .lead { color: color-mix(in srgb, var(--slate) 28%, #fff); }
.svc-included .section-head { border-bottom-color: rgba(255,255,255,0.16); }
.inc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.inc-grid li { display: flex; gap: 16px; padding: 22px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: background 0.2s, border-color 0.2s; }
.inc-grid li:hover { background: rgba(255,255,255,0.08); border-color: color-mix(in srgb, var(--accent-light) 45%, transparent); }
.inc-ico { width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent); color: var(--white); }
.inc-ico [data-lucide] { width: 22px; height: 22px; }
.inc-grid b { display: block; font: 800 1.15rem/1.2 var(--font-head); color: var(--white); margin-bottom: 5px; }
.inc-grid p { font-size: 0.98rem; line-height: 1.5; }
.inc-note { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 14px 18px; border-radius: 12px; background: color-mix(in srgb, var(--accent-light) 12%, transparent); border: 1px dashed color-mix(in srgb, var(--accent-light) 50%, transparent); color: var(--white); }
.inc-note [data-lucide] { width: 22px; height: 22px; color: var(--accent-light); flex-shrink: 0; }

/* ── When to call: photo + signs ── */
.signs-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.signs-photo { position: relative; }
.signs-photo .ph { aspect-ratio: 4 / 5; border-radius: 14px; box-shadow: 0 24px 44px -20px color-mix(in srgb, var(--shade) 50%, transparent); }
.signs-note {
  position: absolute; z-index: 2; right: -18px; bottom: 28px; max-width: 230px; padding: 14px 18px; background: var(--white);
  border-radius: 12px; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--shade) 45%, transparent); transform: rotate(-2deg);
  font: italic 600 1.3rem/1.1 var(--font-head); color: var(--navy);
}
.signs-note small { display: block; margin-top: 6px; font: 600 0.82rem var(--font-body); color: var(--text-light); }
.signs-list { display: grid; gap: 14px; margin-top: 26px; }
.sign { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
.sign:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 12px 26px -18px color-mix(in srgb, var(--shade) 40%, transparent); }
.sign > [data-lucide] { width: 26px; height: 26px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.sign b { display: block; font: 800 1.12rem/1.25 var(--font-head); color: var(--navy-deep); margin-bottom: 3px; }
.sign p { color: var(--text-light); font-size: 0.99rem; line-height: 1.5; }

/* ── How we do it: numbered steps on a line ── */
.svc-steps { background: var(--cream); }
.steps-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; position: relative; }
.steps-row::before { content: ''; position: absolute; left: 30px; right: 30px; top: 29px; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--navy) 30%, transparent) 0 8px, transparent 8px 16px); }
.steps-row li { position: relative; padding: 0 4px; }
.step-n { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 50%; background: var(--navy-deep); color: var(--white); font: 800 1.35rem var(--font-head); box-shadow: 0 0 0 6px var(--cream); }
.steps-row li:last-child .step-n { background: var(--accent); }
.steps-row h3 { font-size: 1.3rem; color: var(--navy-deep); margin-bottom: 8px; }
.steps-row p { color: var(--text-light); font-size: 0.99rem; line-height: 1.55; }
.step-time { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 10px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: 0.84rem; font-weight: 600; color: var(--navy); }
.step-time [data-lucide] { width: 14px; height: 14px; color: var(--accent); }

/* ── Prices ── */
.price-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.price-main h2 { margin-bottom: 18px; }
.price-big { font: 800 clamp(2.4rem, 4.2vw, 3.4rem)/1 var(--font-head); color: var(--accent-dark); margin-bottom: 6px; letter-spacing: -0.02em; }
.price-unit { display: block; font: 600 1rem var(--font-body); color: var(--text-light); margin-bottom: 18px; }
.price-main > p { color: var(--text-light); margin-bottom: 24px; max-width: 440px; }
.price-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--shade) 45%, transparent); }
.price-table h3 { padding: 18px 24px; background: var(--navy-deep); color: var(--white); font-size: 1.2rem; }
.price-table ul { list-style: none; }
.price-table li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 24px; border-top: 1px solid var(--line); }
.price-table li:first-child { border-top: 0; }
.price-table li:nth-child(even) { background: #f4f7fa; }
.price-table li b { display: block; font-weight: 700; color: var(--text); }
.price-table li small { color: var(--text-light); font-size: 0.9rem; }
.price-table li strong { flex-shrink: 0; font: 800 1.15rem var(--font-head); color: var(--navy-deep); text-align: right; }
.price-fine { display: flex; align-items: flex-start; gap: 10px; margin: 0; border: 0; padding: 16px 24px; background: var(--cream); color: var(--text-light); font-size: 0.94rem; line-height: 1.5; }
.price-fine [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* ── Recent jobs + a review ── */
.svc-work { background: var(--cream); }
.work-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.work-card { position: relative; margin: 0; border-radius: 14px; overflow: hidden; min-height: 230px; }
.work-card:first-child { grid-row: span 2; min-height: 480px; }
.work-card figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: var(--white); background: linear-gradient(transparent, color-mix(in srgb, var(--shade) 85%, transparent)); line-height: 1.35; }
.work-card figcaption b { display: block; font: 800 1.12rem var(--font-head); }
.work-card figcaption span { display: block; font-size: 0.88rem; opacity: 0.9; }
.work-card figcaption small { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 0.8rem; color: var(--mist); font-weight: 600; }
.work-card figcaption small [data-lucide] { width: 13px; height: 13px; }
.work-review { grid-column: span 2; margin: 0; padding: 28px 30px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; position: relative; }
.work-review::before { content: '“'; position: absolute; right: 22px; top: -6px; font: 800 7rem/1 var(--font-head); color: color-mix(in srgb, var(--accent) 18%, transparent); }
.work-review .stars { display: flex; gap: 2px; color: #f2b705; margin-bottom: 10px; }
.work-review .stars [data-lucide] { width: 18px; height: 18px; fill: currentColor; }
.work-review blockquote { font: 600 1.22rem/1.45 var(--font-head); color: var(--navy-deep); margin-bottom: 12px; }
.work-review figcaption { font-size: 0.92rem; color: var(--text-light); }
.work-review figcaption b { color: var(--text); }

/* ── Questions: reuses the home page FAQ look ── */
.svc-faq { background: var(--white); }

/* ── Other services ── */
.svc-more { background: var(--cream); }
.svc-more .section-head .text-link { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--accent); }
.more-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.more-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.more-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 18px 34px -20px color-mix(in srgb, var(--shade) 50%, transparent); }
.more-card .ph { aspect-ratio: 4 / 3; }
.more-card span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 4px; font: 800 1.08rem/1.2 var(--font-head); color: var(--navy-deep); }
.more-card span [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); transition: transform 0.2s; }
.more-card:hover span [data-lucide] { transform: translateX(3px); }
.more-card small { padding: 0 16px 16px; color: var(--text-light); font-size: 0.88rem; line-height: 1.4; }

/* the page's own entry in the menus */
.nav-links .nav-drop > a { color: var(--white); }

/* ── Smaller screens ── */
@media (max-width: 1100px) {
  .more-grid { grid-template-columns: repeat(6, 1fr); }
  .more-card { grid-column: span 2; }
  .more-card:nth-child(4) { grid-column: 2 / span 2; }
  .svc-facts { grid-template-columns: repeat(2, 1fr); }
  .svc-facts > div:nth-child(3) { border-left: 0; }
  .svc-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .svc-hero { padding: 28px 5% 130px; }
  .svc-hero-inner, .signs-grid, .price-wrap { grid-template-columns: 1fr; gap: 40px; }
  .svc-hero-media { min-height: 420px; max-width: 560px; width: 100%; margin: 0 auto; }
  .inc-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .steps-row::before { display: none; }
  .signs-photo { max-width: 520px; }
  .signs-photo .ph { aspect-ratio: 16 / 11; }
  .svc-more .section-head .text-link { justify-self: start; }
}
@media (max-width: 640px) {
  .svc-hero { padding: 20px 16px 110px; }
  .svc-hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .svc-lead { font-size: 1.05rem; }
  .svc-cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .svc-cta .btn-lg { justify-content: center; }
  .svc-call { align-self: center; }
  .svc-hero-media { min-height: 320px; }
  .svc-print-main { inset: 14px 6px 56px 16px; border-width: 7px; }
  .svc-print-small { width: 46%; border-width: 6px; left: -4px; }
  .svc-sticker { width: 118px; height: 118px; right: -2px; bottom: 14px; }
  .svc-sticker b { font-size: 1.15rem; max-width: 96px; }
  .svc-sticker small { font-size: 0.68rem; }
  .svc-sticker span { font-size: 0.7rem; }
  .inc-grid, .steps-row { grid-template-columns: 1fr; }
  .inc-grid li { padding: 18px; }
  .signs-note { right: 8px; bottom: -18px; font-size: 1.25rem; }
  .signs-list { margin-top: 30px; }
  .price-table li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 18px; }
  .price-table li strong { text-align: left; }
  .price-table h3, .price-fine { padding-left: 18px; padding-right: 18px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card:first-child { grid-column: span 2; grid-row: auto; min-height: 260px; }
  .work-card { min-height: 220px; }
  .work-card figcaption { padding: 34px 12px 12px; }
  .work-card:not(:first-child) figcaption b { font-size: 0.98rem; }
  .work-card:not(:first-child) figcaption span { font-size: 0.8rem; }
  .work-review { padding: 22px; }
  .work-review blockquote { font-size: 1.08rem; }
  .more-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .more-card, .more-card:nth-child(4) { grid-column: auto; }
  .more-card:last-child { grid-column: span 2; }
  .more-card:last-child .ph { aspect-ratio: 16 / 7; }
  .more-card small { display: none; }
  .more-card span { padding: 12px; font-size: 0.98rem; }
}

/* ════════ BRAND PASS: match the home page (straight photos, no tape, one corner size) ════════ */
.svc-hero h1 { font-weight: 900; font-variation-settings: 'wdth' 108; letter-spacing: -0.035em; }
.svc-hero h1 em { font-style: normal; font-weight: 900; color: var(--accent); }
.svc-flag > span { font: 700 0.78rem/1 var(--font-body); letter-spacing: 0.16em; color: var(--accent-dark); }
.svc-hero-media::before { content: none; }
.svc-print { border: 0; border-radius: 24px; }
.svc-print-main { inset: 0 0 70px 40px; transform: none; box-shadow: 0 2px 6px color-mix(in srgb, var(--shade) 8%, transparent), 0 40px 70px -30px color-mix(in srgb, var(--navy-deep) 55%, transparent); }
.svc-print-small { left: 0; transform: none; border: 6px solid var(--white); border-radius: 20px; }
.svc-sticker { transform: none; border: 0; width: 138px; height: 138px; box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--navy-deep) 70%, transparent); }
.svc-sticker::before { border-style: solid; border-color: rgba(255,255,255,0.35); }
.svc-sticker small { font: 700 0.68rem/1.1 var(--font-body); }
.signs-note { transform: none; font: 700 1.1rem/1.25 var(--font-head); border-radius: var(--r-lg); }
.svc-facts, .signs-photo .ph, .inc-grid li, .sign { border-radius: var(--r-lg); }
.inc-note, .inc-ico { border-radius: var(--r-sm); }
.price-table li:nth-child(even) { background: var(--cream); }
.svc-sticker b { font-size: 1.18rem; font-variation-settings: 'wdth' 96; letter-spacing: -0.02em; white-space: nowrap; }
/* plain section labels, same as the home page */
.svc-page section .eyebrow::before, .svc-flag > span::before { content: none; }
.svc-flag > span { font: 700 0.98rem/1.2 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--copper); }
.svc-included .eyebrow { color: var(--copper-light); }
.svc-hero h1 em::after { background: var(--copper-light); opacity: 0.75; }
.svc-hero::before { opacity: 0.07; }
