/* Puccinelli Plumbing & Heating — sample site
   Palette pulled from their logo: neon green + charcoal gray */
:root {
  --green: #4fef07;
  --green-dark: #3bc205;
  --logo-gray: #686e6e;
  --char: #1b1e20;
  --steel: #2a2f32;
  --text: #3d4447;
  --light: #f1f3f2;
  --line: #dfe3e1;
  --radius: 0px;
  --skew: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
html { overflow-x: clip; }
.topbar, .navbar { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: "Rubik", "Open Sans", system-ui, sans-serif;
  color: var(--char);
  line-height: 1.15;
  margin: 0 0 .5rem;
  font-weight: 700;
}
p { margin: 0 0 1rem; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: -999px; top: 0; background: var(--green); color: var(--char);
  padding: 10px 16px; z-index: 200; font-weight: 600;
}
.skip:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Rubik", sans-serif; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border: 2px solid transparent; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
  line-height: 1.1;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-green { background: var(--green); color: var(--char); }
.btn-green:hover { background: #fff; }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { background: #fff; color: var(--char); border-color: #fff; }
.btn-dark { background: var(--char); color: #fff; }
.btn-dark:hover { background: var(--green); color: var(--char); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.on-light :focus-visible, .navbar :focus-visible { outline-color: var(--char); }

/* ---------- Top bar ---------- */
.topbar { background: var(--char); color: #cfd5d2; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: stretch; min-height: 44px; }
.topbar-left { display: flex; align-items: center; gap: 22px; padding: 8px 0; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-left svg { width: 15px; height: 15px; color: var(--green); }
.open-badge { font-weight: 600; }
.open-badge::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: #8a9290; display: inline-block; margin-right: 8px;
}
.open-badge.is-open { color: #fff; }
.open-badge.is-open::before { background: var(--green); box-shadow: 0 0 0 3px rgba(79,239,7,.25); }
.topbar-right {
  position: relative; background: var(--green); color: var(--char);
  display: flex; align-items: center; gap: 8px; padding: 6px 0 6px 20px; margin-left: 30px;
  font-family: "Rubik", sans-serif; font-weight: 700; font-size: 1.1rem;
}
.topbar-right::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -14px; width: 28px;
  background: var(--green); transform: skewX(-28deg);
}
.topbar-right > * { position: relative; }
.topbar-right::after { content: ""; position: absolute; top: 0; bottom: 0; right: -100vw; width: 100vw; background: var(--green); }
.topbar-right svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100; background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 86px; }
.brand {
  position: relative; display: flex; align-items: center; background: var(--logo-gray);
  height: 86px; padding-right: 8px; margin-right: 40px;
}
.brand::before { content: ""; position: absolute; top: 0; bottom: 0; right: calc(100% - 1px); width: 100vw; background: var(--logo-gray); }
.brand::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: calc(-1 * var(--skew) / 2); width: var(--skew);
  background: var(--logo-gray); transform: skewX(-28deg);
}
.brand img { position: relative; z-index: 1; height: 76px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a.link {
  font-family: "Rubik", sans-serif; font-weight: 500; font-size: 1.02rem; color: var(--char);
  padding: 30px 16px; position: relative;
}
.nav a.link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 20px; height: 3px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a.link:hover::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; padding: 12px 22px; }
.menu-btn {
  display: none; background: var(--char); border: 0; width: 46px; height: 46px; cursor: pointer; color: #fff;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { background: var(--char); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 590px; position: relative; }
.hero-copy { padding: 84px 40px 84px 0; align-self: center; position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .12em;
  font-family: "Rubik", sans-serif; font-weight: 500; font-size: .85rem; color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 38px; height: 3px; background: var(--green); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.7rem); margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { font-size: 1.18rem; color: #cdd3d0; max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { position: relative; margin-right: calc((100vw - min(1180px, 100vw - 40px)) / -2); }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(to right, rgba(27,30,32,.45), rgba(27,30,32,0) 40%);
}
.hero-photo .stripe {
  position: absolute; top: 0; bottom: 0; left: 0; width: 100%; z-index: 1;
  background: var(--green); clip-path: polygon(14% 0, calc(14% + 12px) 0, 12px 100%, 0 100%);
}
.photo-cap {
  position: absolute; right: 20px; bottom: 18px; z-index: 3; font-size: .8rem; color: #fff;
  background: rgba(27,30,32,.78); padding: 6px 12px; max-width: 70%;
}

/* ---------- Fact strip ---------- */
.facts { background: var(--green); color: var(--char); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { display: flex; align-items: center; gap: 16px; padding: 24px 22px; border-left: 1px solid rgba(27,30,32,.18); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact svg { width: 38px; height: 38px; flex: none; }
.fact b { display: block; font-family: "Rubik", sans-serif; font-size: 1.15rem; line-height: 1.2; }
.fact span { font-size: .92rem; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { color: var(--char); }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: 38px; height: 3px; background: var(--green); }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { color: #5b6366; font-size: 1.05rem; }

/* Services */
.services { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 920px; margin: 0 auto; }
.card {
  position: relative; background: var(--light); padding: 40px 36px 38px; border-bottom: 5px solid var(--green);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.1); }
.card .ico {
  width: 68px; height: 68px; background: var(--char); color: var(--green); display: grid; place-items: center; margin-bottom: 22px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  padding-right: 8px;
}
.card .ico svg { width: 34px; height: 34px; }
.card h3 { font-size: 1.6rem; }
.card p { margin: 0; }
.card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.card li { padding: 6px 0 6px 28px; position: relative; border-top: 1px solid var(--line); font-size: .97rem; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 3px solid var(--char); border-bottom: 3px solid var(--char); transform: rotate(-45deg);
}

/* Hydronic explainer */
.hydronic { background: var(--steel); color: #d3d9d6; position: relative; overflow: hidden; }
.hydronic .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.hydronic .photo { position: relative; }
.hydronic .photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: 18px 18px 0 var(--green); }
.hydronic .eyebrow { color: var(--green); }
.hydronic h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.hydronic ul { list-style: none; margin: 24px 0 32px; padding: 0; }
.hydronic li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.hydronic li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.hydronic li svg { width: 28px; height: 28px; color: var(--green); flex: none; margin-top: 2px; }
.hydronic li b { display: block; color: #fff; font-family: "Rubik", sans-serif; font-weight: 600; }
.hydronic .photo .photo-cap { right: auto; left: 0; bottom: -2px; transform: translateY(100%); background: transparent; color: #9aa3a0; padding: 14px 0 0; max-width: 100%; }

/* Service area */
.area { background: var(--light); }
.area .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.area h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.towns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.town {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; padding: 14px 22px;
  font-family: "Rubik", sans-serif; font-weight: 600; font-size: 1.2rem; color: var(--char);
  border-left: 5px solid var(--green); box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.town svg { width: 20px; height: 20px; }
.town.more { background: transparent; box-shadow: none; border-left-color: var(--logo-gray); font-weight: 500; color: #5b6366; }
.hours { background: #fff; padding: 34px 34px 28px; border-top: 5px solid var(--char); box-shadow: 0 10px 30px rgba(0,0,0,.07); }
.hours h3 { font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.hours h3 svg { width: 26px; height: 26px; }
.hours table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--char); }
.hours tr.today td { color: var(--char); font-weight: 700; background: linear-gradient(to right, rgba(79,239,7,.22), rgba(79,239,7,.22)); }
.hours tr.today td:first-child { padding-left: 10px; }
.hours tr.today td:last-child { padding-right: 10px; }
.hours tr.closed td:last-child { color: #8a9290; font-weight: 500; }

/* Contact */
.contact { background: var(--char); color: #cfd5d2; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
}
.contact .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.contact .eyebrow { color: var(--green); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; background: var(--steel);
  border-left: 5px solid var(--green); transition: background .25s, transform .25s;
}
.contact-list a:hover { background: #343a3d; transform: translateX(4px); }
.contact-list svg { width: 30px; height: 30px; color: var(--green); flex: none; }
.contact-list small { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: #98a19d; }
.contact-list b { font-family: "Rubik", sans-serif; color: #fff; font-size: 1.3rem; font-weight: 600; word-break: break-word; }

/* Footer */
.footer { background: #111314; color: #8f9894; font-size: .9rem; padding: 26px 0; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a:hover { color: var(--green); }

/* Mobile call bar */
.callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--green); color: var(--char); text-align: center; padding: 15px 16px;
  font-family: "Rubik", sans-serif; font-weight: 700; font-size: 1.1rem; box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
.callbar svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }

/* 404 */
.notfound { background: var(--char); color: #fff; min-height: calc(100vh - 86px); display: grid; place-items: center; text-align: center; padding: 80px 20px; position: relative; overflow: hidden; }
.notfound::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px); }
.notfound > div { position: relative; max-width: 560px; }
.notfound .big { font-family: "Rubik", sans-serif; font-weight: 700; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; color: var(--green); }
.notfound h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.notfound p { color: #c3cac7; font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 64px 0 44px; }
  .hero-photo { margin: 0 calc((100vw - min(1180px, 100vw - 40px)) / -2); height: 340px; }
  .hero-photo img, .hero-photo::after { clip-path: none; }
  .hero-photo .stripe { display: none; }
  .hydronic .wrap, .area .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hydronic .photo { max-width: 520px; margin-right: 18px; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch;
    padding: 8px 20px 22px; gap: 0; box-shadow: 0 14px 20px rgba(0,0,0,.12); display: none;
  }
  .nav.open { display: flex; }
  .nav a.link { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a.link::after { display: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .navbar .wrap { width: 100%; padding-right: 20px; }
}
@media (max-width: 720px) {
  .topbar-left .hide-sm { display: none; }
  .topbar-right { display: none; }
  .topbar .wrap { min-height: 0; }
  .brand { height: 68px; margin-right: 24px; }
  .brand img { height: 58px; }
  .navbar .wrap { min-height: 68px; }
  .section { padding: 68px 0; }
  .cards { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid rgba(27,30,32,.18); padding: 18px 0; }
  .fact:first-child { border-top: 0; }
  .callbar { display: block; }
  body { padding-bottom: 56px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-photo { height: 260px; }
  .contact-list b { font-size: 1.1rem; }
  .card { padding: 32px 26px; }
  .hydronic .photo img { box-shadow: 12px 12px 0 var(--green); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
