/* Delta Plumbing and Gas — per-site stylesheet
   Palette derived from the business's own logo (blue swirl wordmark on white):
   deep royal blue + light sky blue, white ground, warm amber accent for CTAs. */

:root {
  --navy: #0d2b53;          /* deepest brand blue, headings + footer */
  --blue: #1565c0;          /* DELTA wordmark royal blue, primary */
  --blue-600: #1257a6;
  --sky: #5bb8e8;           /* light swirl / subtext blue, secondary */
  --sky-soft: #e8f3fb;      /* tints + section grounds */
  --amber: #f5a623;         /* CTA accent — warmth against the all-blue brand */
  --amber-600: #e0921a;
  --ink: #16243a;           /* body text */
  --muted: #5b6b80;         /* secondary text */
  --line: #dde6f0;          /* hairlines */
  --white: #ffffff;
  --bg: #f6f9fc;            /* page ground */

  --maxw: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -24px rgba(13, 43, 83, .35);
  --shadow-sm: 0 8px 24px -16px rgba(13, 43, 83, .4);
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  font-weight: 800;
}

h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.section { padding: 72px 0; }
.section--tint { background: var(--sky-soft); }
.section--navy { background: var(--navy); color: #d6e3f3; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--sky); }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.section--navy .lede { color: #b7cae3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: #2a1c00; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--amber-600); color: #2a1c00; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--blue:hover { background: var(--blue-600); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.16); color:#fff; }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--sky-soft); color: var(--blue-600); }

.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

/* Logo lockup */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.34rem;
  letter-spacing: .02em;
  color: var(--blue);
  text-transform: uppercase;
}
.logo__sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sky);
  margin-top: 4px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a.nav__link {
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .98rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a.nav__link:hover { background: var(--sky-soft); color: var(--blue); }
.nav a.nav__link[aria-current="page"] { color: var(--blue); }
.nav a.nav__link[aria-current="page"]::after {
  content: "";
  display: block;
  position: relative;
}
.nav a.nav__link[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--amber);
  border-radius: 8px 8px 0 0;
}
.header-cta { margin-left: 8px; }

/* Hamburger (CSS checkbox hack) */
.nav-toggle { display: none; }
.nav-burger {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after  { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8,28,56,.92) 0%, rgba(13,43,83,.78) 42%, rgba(21,101,192,.40) 100%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; padding: 92px 0 100px; }
.hero__content { max-width: 640px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--sky); }
.hero p { color: #dbe8f7; font-size: 1.16rem; max-width: 52ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 6px 0 26px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  color: #eaf2fc;
}
.hero__badge svg { width: 18px; height: 18px; color: var(--sky); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy);
  color: #cfdcf0;
}
.trust .wrap {
  display: flex; flex-wrap: wrap; gap: 18px 36px;
  align-items: center; justify-content: space-between;
  padding-block: 22px;
}
.trust__item { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: .98rem; }
.trust__item svg { width: 22px; height: 22px; color: var(--amber); flex:0 0 auto; }
.trust__item strong { color: #fff; }

/* ---------- Section heads ---------- */
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--sky-soft);
  color: var(--blue);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 16px; }
.card .card__link {
  margin-top: auto;
  font-family: var(--display); font-weight: 700; font-size: .96rem;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px;
}
.card .card__link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card .card__link:hover svg { transform: translateX(4px); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .span2 { grid-column: span 2; }
.gallery .span2 img { aspect-ratio: 2/1; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; font-size: 1.05rem; color: var(--ink); }
.review cite { font-family: var(--display); font-weight: 700; font-style: normal; color: var(--navy); }
.review .role { color: var(--muted); font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #cfe0f5; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--blue-600));
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p { color: #cfe0f5; max-width: 58ch; margin-bottom: 0; }
.crumb { font-family: var(--display); font-weight:600; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; color: var(--sky); margin-bottom: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico {
  width: 48px; height: 48px; flex: 0 0 auto;
  border-radius: 12px; background: var(--sky-soft); color: var(--blue);
  display: grid; place-items: center;
}
.info-list .ico svg { width: 24px; height: 24px; }
.info-list .lbl { font-family: var(--display); font-weight: 700; color: var(--navy); display:block; }
.info-list a { font-size: 1.05rem; }
.hours-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.hours-card h3 { display:flex; align-items:center; gap:10px; }
.hours-card .now {
  display:inline-flex; align-items:center; gap:8px;
  background: #e7f7ec; color:#137a3a; font-family:var(--display); font-weight:700;
  font-size:.85rem; padding:6px 12px; border-radius:999px; margin-bottom: 18px;
}
.hours-card .now::before { content:""; width:9px; height:9px; border-radius:50%; background:#1ea84e; }
.hours-card ul { list-style:none; padding:0; margin:0; }
.hours-card li { display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--line); }
.hours-card li:last-child { border-bottom:0; }
.hours-card li span:last-child { font-weight:600; color: var(--navy); }

.areas { display:flex; flex-wrap:wrap; gap:10px; margin-top: 8px; }
.areas span {
  background:#fff; border:1px solid var(--line); border-radius:999px;
  padding:8px 16px; font-family:var(--display); font-weight:600; font-size:.92rem; color:var(--navy);
}

/* ---------- Steps ---------- */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; counter-reset: step; }
.step { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px 26px; box-shadow:var(--shadow-sm); }
.step__n {
  width:40px; height:40px; border-radius:50%; background:var(--blue); color:#fff;
  font-family:var(--display); font-weight:800; display:grid; place-items:center; margin-bottom:16px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aebfd8; padding: 56px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer .logo__name { color:#fff; }
.site-footer .logo__sub { color: var(--sky); }
.site-footer p { color:#9fb2cf; max-width: 38ch; margin-top: 16px; }
.footer-col h4 { color:#fff; font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:16px; }
.footer-col ul { list-style:none; padding:0; margin:0; display:grid; gap:11px; }
.footer-col a { color:#aebfd8; min-height:auto; display:inline-block; }
.footer-col a:hover { color:#fff; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.12); padding-top: 22px;
  display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; align-items:center;
  font-size:.88rem; color:#8aa0c0;
}
.footer-bottom a { color:#aebfd8; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--rev .split__media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 16px 18px;
    margin: 0;
    transform: translateY(-130%);
    transition: transform .26s ease;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }
  .nav-toggle:checked ~ .nav { transform: translateY(0); }
  .nav a.nav__link { padding: 14px 8px; border-radius: 8px; font-size: 1.05rem; }
  .nav a.nav__link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); border-radius: 0 8px 8px 0; }
  .header-cta { margin: 10px 0 0; }
  .header-cta.btn { width: 100%; }

  .section { padding: 56px 0; }
  .reviews, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .span2 { grid-column: span 2; }
  .cta-band { padding: 36px 26px; text-align: center; justify-content: center; }
  .cta-band__actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__inner { padding: 64px 0 72px; }
}

@media (max-width: 460px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band__actions .btn { width: 100%; }
  .trust .wrap { justify-content: flex-start; }
}
