@font-face { font-family: "Barlow Condensed"; src: url(/work/coppergate-plumbing/assets/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/work/coppergate-plumbing/assets/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(/work/coppergate-plumbing/assets/barlow-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(/work/coppergate-plumbing/assets/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --blue: #0274be;
  --sky: #1aa3ff;
  --sky-soft: #8fd0ff;
  --night: #06121f;
  --night-2: #0b1d30;
  --night-3: #12293f;
  --ink: #0d1b2a;
  --muted: #55636f;
  --line: #dde4ea;
  --paper: #f3f6f8;
  --white: #ffffff;
  --flame: #ff8a3d;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 0.98; letter-spacing: 0.005em; text-transform: uppercase; margin: 0 0 0.45em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.02; }
p { margin: 0 0 1em; }
.label { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin: 0 0 1rem; }
.label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(26, 163, 255, 0.2); }

/* Preview notice */
.preview { background: #fff4c2; color: #4d3f00; text-align: center; font-size: 0.8rem; padding: 0.45rem 1rem; line-height: 1.4; }
.preview a { color: inherit; font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 54px; padding: 0.85rem 1.6rem; border-radius: 6px; border: 2px solid var(--sky); background: var(--sky); color: var(--night); font-family: var(--head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.3s; }
.btn:hover { background: #4cb8ff; border-color: #4cb8ff; color: var(--night); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(26, 163, 255, 0.7); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: #fff; box-shadow: none; }
.btn--dark { background: var(--night); border-color: var(--night); color: #fff; }
.btn--dark:hover { background: var(--night-3); border-color: var(--night-3); color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: rgba(6, 18, 31, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.header .logo img { width: 168px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { color: #d6e3ee; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav a:hover { color: var(--sky); }
.header-call { min-height: 48px; font-size: 1.2rem; padding: 0.6rem 1.15rem; }
@media (max-width: 900px) {
  .nav { display: none; }
  .header .wrap { min-height: 66px; }
  .header .logo img { width: 132px; }
  .header-call { margin-left: auto; font-size: 1.05rem; padding: 0.5rem 0.9rem; min-height: 44px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: #d6e3ee; }
.hero::before { content: ""; position: absolute; inset: auto -10% -45% 35%; height: 120%; background: radial-gradient(closest-side, rgba(26, 163, 255, 0.55), rgba(2, 116, 190, 0.18) 55%, transparent 72%); filter: blur(8px); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 100%, rgba(255, 138, 61, 0.12), transparent 70%), linear-gradient(180deg, transparent 60%, rgba(6, 18, 31, 0.6)); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--sky); }
.hero .label { color: var(--sky-soft); }
.hero-lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); max-width: 36rem; color: #c3d3e0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }
.call-card { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); backdrop-filter: blur(6px); }
.call-card .flame { width: 54px; height: 54px; margin-bottom: 1rem; }
.call-card small { display: block; font-family: var(--head); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky-soft); font-size: 1rem; }
.call-card a.big { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.3rem); line-height: 1; color: #fff; text-decoration: none; margin: 0.35rem 0 1.25rem; letter-spacing: 0.01em; }
.call-card a.big:hover { color: var(--sky); }
.call-card .line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.98rem; }
.call-card .line a { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.contact-lines a { overflow-wrap: anywhere; text-align: right; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

.trust { background: var(--night-2); color: #d6e3ee; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust div { display: flex; align-items: center; gap: 0.8rem; padding: 1.35rem 1rem 1.35rem 0; font-size: 0.98rem; line-height: 1.3; }
.trust div + div { padding-left: 1.25rem; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.trust b { display: block; font-family: var(--head); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; }
.trust svg { width: 30px; height: 30px; flex: none; color: var(--sky); }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: 1fr 1fr; } .trust div:nth-child(3) { border-left: 0; padding-left: 0; } .trust div { border-top: 1px solid rgba(255,255,255,.08); } }
@media (max-width: 480px) { .trust .wrap { grid-template-columns: 1fr; } .trust div + div { border-left: 0; padding-left: 0; } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(6, 18, 31, 0.35); }
.service-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.service:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.service-body > p { color: var(--muted); }
.ticks { list-style: none; margin: 0.25rem 0 1.5rem; padding: 0; display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.9rem; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: rgba(26, 163, 255, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230274be'%3E%3Cpath d='M8.1 13.6 4.7 10.2l1.2-1.2 2.2 2.2 5.9-5.9 1.2 1.2z'/%3E%3C/svg%3E") center / 80% no-repeat; }
.service .btn { margin-top: auto; align-self: flex-start; font-size: 1.1rem; min-height: 48px; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; max-width: 640px; } }

/* Urgent band */
.urgent { background: var(--blue); color: #fff; }
.urgent .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 2rem 0; }
.urgent h2 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.urgent .btn { background: #fff; border-color: #fff; color: var(--night); }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.panel { position: relative; background: var(--night); color: #c3d3e0; border-radius: 14px; padding: clamp(1.75rem, 4vw, 3rem); overflow: hidden; }
.panel::before { content: ""; position: absolute; right: -30%; top: -30%; width: 80%; height: 80%; background: radial-gradient(closest-side, rgba(26, 163, 255, 0.35), transparent); }
.panel > * { position: relative; }
.panel h3 { color: #fff; }
.panel .ticks li::before { background-color: rgba(26, 163, 255, 0.25); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.stat { border-top: 3px solid var(--blue); padding-top: 0.9rem; }
.stat b { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--ink); }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.areas span { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-family: var(--head); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.04em; text-transform: uppercase; }
.areas span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.areas span.home { background: var(--night); border-color: var(--night); color: #fff; }
.areas span.home::before { background: var(--sky); }

/* Contact */
.contact { background: var(--night); color: #c3d3e0; }
.contact h2 { color: #fff; }
.contact .label { color: var(--sky-soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); }
.contact-lines { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.contact-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.contact-lines a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-lines a:hover { color: var(--sky); }
.form { background: var(--white); color: var(--ink); border-radius: 14px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.form h3 { margin-bottom: 0.3rem; }
.form > p { color: var(--muted); }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 0.85rem 0.95rem; border: 1.5px solid #cdd6de; border-radius: 6px; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(2, 116, 190, 0.15); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.done { display: none; margin-top: 1rem; padding: 0.9rem 1rem; border-left: 4px solid var(--blue); background: var(--paper); font-size: 0.95rem; }
.form.is-done .done { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

.footer { background: #040c15; color: #8ea3b5; font-size: 0.92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 2rem 0; }
.footer img { width: 130px; }
.footer a { color: #d6e3ee; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; z-index: 40; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.5rem; padding: 0.45rem; background: rgba(6, 18, 31, 0.95); border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 50px; border-radius: 8px; font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: #fff; }
  .callbar a:first-child { background: var(--sky); color: var(--night); }
  .callbar a:last-child { background: rgba(255, 255, 255, 0.1); }
  .callbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 5.25rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; animation-delay: var(--d, 0s); }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* Inner pages */
.nav a[aria-current="page"] { color: var(--sky); }
.page-hero { position: relative; overflow: hidden; background: var(--night); color: #c3d3e0; }
.page-hero::before { content: ""; position: absolute; right: -15%; top: -40%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(26, 163, 255, 0.4), rgba(2, 116, 190, 0.12) 55%, transparent 72%); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 2.5rem; align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero h1 span { color: var(--sky); }
.page-hero .label { color: var(--sky-soft); }
.page-hero .hero-lead { margin-bottom: 0; }
.page-hero-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7); max-width: 340px; justify-self: end; width: 100%; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } .page-hero-img { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: 0.9rem; color: #8ea3b5; }
.crumbs li + li::before { content: "/"; margin-right: 0.45rem; opacity: 0.6; }
.crumbs a { color: #c3d3e0; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose { font-size: 1.1rem; }
.prose h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose .ticks { font-size: 1.05rem; columns: 2 260px; column-gap: 2rem; display: block; }
.prose .ticks li { break-inside: avoid; margin-bottom: 0.6rem; }
.aside { position: sticky; top: 100px; display: grid; gap: 1rem; }
.aside-card { background: var(--night); color: #c3d3e0; border-radius: 12px; padding: 1.6rem; }
.aside-card small { display: block; font-family: var(--head); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky-soft); }
.aside-card a.big { display: block; font-family: var(--head); font-weight: 700; font-size: 2.3rem; line-height: 1.05; color: #fff; text-decoration: none; margin: 0.35rem 0 1rem; }
.aside-card .btn { width: 100%; }
.aside-list { background: var(--paper); border-radius: 12px; padding: 1.4rem 1.6rem; }
.aside-list h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.aside-list a { display: flex; justify-content: space-between; padding: 0.65rem 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.aside-list a:hover, .aside-list a[aria-current="page"] { color: var(--blue); }
@media (max-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }
.feature-box { margin: 2rem 0; padding: clamp(1.4rem, 3vw, 2rem); border-left: 4px solid var(--blue); background: var(--paper); border-radius: 0 10px 10px 0; }
.feature-box h3 { font-size: 1.7rem; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.related a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.related a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(6, 18, 31, 0.35); }
.related .r-img { aspect-ratio: 16 / 9; overflow: hidden; }
.related .r-img img { width: 100%; height: 100%; object-fit: cover; }
.related h3 { font-size: 1.6rem; margin: 1rem 1.25rem 0.3rem; }
.related p { margin: 0 1.25rem 1.25rem; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 860px) { .related { grid-template-columns: minmax(0, 1fr); } }
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.service-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
.service-link:hover { color: var(--ink); }
.service-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: auto; }
.service-actions .btn { margin-top: 0; }
