:root {
  --navy-950: #05192c;
  --navy-900: #08243f;
  --navy-800: #0b3156;
  --navy-700: #124a7a;
  --sky-100: #eaf6ff;
  --sky-50: #f5fbff;
  --aqua: #14b8d4;
  --green: #20c26b;
  --text: #102033;
  --muted: #657487;
  --line: #dbe8f2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(5, 25, 44, 0.16);
  --shadow-soft: 0 14px 34px rgba(5, 25, 44, 0.09);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f7fbff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--navy-900); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 232, 242, 0.85);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); font-weight: 900; letter-spacing: -0.02em; }
.brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: 0 8px 20px rgba(8, 36, 63, 0.13); }
.brand span { font-size: 1.03rem; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 800; color: var(--navy-800); }
.nav-links a { text-decoration: none; }
.nav-links a:not(.nav-call):hover { color: var(--navy-900); }
.nav-call { padding: 12px 18px; border-radius: 999px; background: var(--navy-900); color: #fff; box-shadow: 0 10px 20px rgba(8, 36, 63, 0.14); }
.menu-button { display: none; border: 0; background: var(--sky-100); width: 46px; height: 46px; border-radius: 14px; padding: 12px; cursor: pointer; }
.menu-button span { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; border-radius: 999px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; }
.hero::after { content: ""; position: absolute; inset: auto -14% -38% 47%; height: 540px; background: radial-gradient(circle, rgba(20,184,212,.36), transparent 62%); pointer-events: none; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,25,44,.94) 0%, rgba(5,25,44,.82) 44%, rgba(5,25,44,.42) 100%), url('assets/hero-plumbing.jpg') center/cover no-repeat; opacity: .86; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr); gap: 48px; align-items: center; min-height: 730px; padding: 92px 0 76px; }
.hero-copy { max-width: 740px; }
.eyebrow { margin: 0 0 14px; color: var(--aqua); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
h1, h2, h3 { margin-top: 0; line-height: 1.06; letter-spacing: -.045em; }
h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 7.2vw, 5.8rem); max-width: 800px; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.45rem); color: var(--navy-900); }
h3 { margin-bottom: 10px; color: var(--navy-900); font-size: 1.28rem; }
.lead { margin: 0 0 30px; max-width: 650px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions, .contact-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 900; border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--aqua); color: var(--navy-950); box-shadow: 0 16px 30px rgba(20,184,212,.26); }
.btn-whatsapp { background: var(--green); color: var(--navy-950); box-shadow: 0 16px 30px rgba(32,194,107,.22); }
.btn-light { background: #fff; color: var(--navy-900); }
.full { width: 100%; }
.quick-note { margin-top: 22px; display: inline-block; padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.09); backdrop-filter: blur(12px); }
.quick-note strong { color: #fff; }
.hero-panel { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.92); color: var(--text); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.hero-logo { width: 100%; max-height: 290px; object-fit: contain; border-radius: 24px; background: #fff; }
.mini-card-grid { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { padding: 13px 14px; border-radius: 16px; background: var(--sky-100); color: var(--navy-900); font-weight: 900; display: flex; align-items: center; gap: 8px; }
.mini-card span { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 999px; background: var(--aqua); color: var(--navy-950); }
.panel-text { margin: 0; color: var(--muted); }

.trust-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 22px 0; }
.trust-items div { padding: 12px 0; }
.trust-items strong { display: block; color: var(--navy-900); font-size: 1.05rem; }
.trust-items span { color: var(--muted); font-size: .94rem; }

.section { padding: 88px 0; }
.section-top { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: end; margin-bottom: 36px; }
.section-top p:last-child { color: var(--muted); font-size: 1.08rem; max-width: 650px; justify-self: end; }
.services-section { background: radial-gradient(circle at 80% 0%, rgba(20,184,212,.13), transparent 34%), #f7fbff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; overflow: hidden; min-height: 230px; padding: 26px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.service-card::after { content: ""; position: absolute; right: -44px; bottom: -58px; width: 148px; height: 148px; border-radius: 999px; background: rgba(20,184,212,.09); }
.service-card.featured { background: linear-gradient(135deg, #fff, var(--sky-50)); border-color: rgba(20,184,212,.38); }
.icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: var(--sky-100); margin-bottom: 18px; font-size: 1.5rem; }
.service-card p { margin: 0; color: var(--muted); }

.cta-strip { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: rgba(255,255,255,.78); margin: 0; max-width: 740px; }

.split-section { background: #fff; }
.split-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; }
.split-copy p { color: var(--muted); }
.area-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.area-pills span { padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--sky-50); color: var(--navy-900); font-weight: 900; }
.image-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.image-card img { aspect-ratio: 4 / 3; width: 100%; height: 100%; object-fit: cover; }

.about-section { background: linear-gradient(180deg, #f7fbff, #edf8ff); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.about-card, .booking-card, .contact-card { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.about-card { background: #fff; padding: 34px; }
.about-card p { color: var(--muted); font-size: 1.05rem; }
.booking-card { background: var(--navy-900); color: #fff; padding: 34px; }
.booking-card h3 { color: #fff; }
.booking-card ul { margin: 0 0 26px; padding-left: 20px; color: rgba(255,255,255,.85); }
.booking-card li { margin-bottom: 10px; }

.contact-section { padding: 88px 0; background: #fff; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 38px; background: linear-gradient(135deg, #fff, var(--sky-50)); }
.contact-card p { color: var(--muted); margin-bottom: 0; }
.email-link { color: var(--navy-900); font-weight: 900; text-decoration: none; }
.email-link:hover { text-decoration: underline; }

.site-footer { padding: 36px 0; background: var(--navy-950); color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 26px; align-items: center; }
.footer-grid strong { color: #fff; display: block; margin-bottom: 4px; }
.footer-grid p { margin: 0; }
.footer-links { display: flex; gap: 18px; justify-content: center; }
.footer-links a { text-decoration: none; font-weight: 800; }
.footer-links a:hover { color: #fff; }

@media (max-width: 940px) {
  .menu-button { display: inline-block; }
  .nav-links { position: absolute; top: 78px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-soft); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: 14px; }
  .nav-links a:hover { background: var(--sky-50); }
  .nav-call { text-align: center; margin-top: 6px; }
  .hero-grid, .section-top, .split-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 74px 0 58px; }
  .hero-panel { max-width: 560px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .trust-items { grid-template-columns: 1fr; gap: 0; }
  .cta-inner, .contact-card { align-items: flex-start; flex-direction: column; }
  .section-top p:last-child { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .brand span { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero-bg { background-position: center; }
  .hero-grid { padding: 58px 0 48px; }
  .lead { font-size: 1.03rem; }
  .btn { width: 100%; }
  .quick-note { border-radius: 18px; }
  .mini-card-grid, .service-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .cta-strip { padding: 52px 0; }
  .about-card, .booking-card, .contact-card { padding: 24px; border-radius: 24px; }
  .contact-buttons { width: 100%; }
  h1 { font-size: clamp(2.35rem, 14vw, 4.2rem); }
}

/* Custom contact details for FlowWorks Plumbing Services */
.contact-card-detailed {
  align-items: stretch;
}
.contact-main {
  flex: 1.1;
}
.contact-details {
  flex: .9;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-width: min(100%, 360px);
}
.detail-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 36, 63, .08);
}
.detail-box h3 {
  margin-bottom: 12px;
}
.detail-box p {
  margin: 0;
}
.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.hours-list li:last-child {
  border-bottom: 0;
}
.hours-list span {
  color: var(--muted);
}
.hours-list strong {
  color: var(--navy-900);
  white-space: nowrap;
}
@media (max-width: 940px) {
  .contact-card-detailed {
    flex-direction: column;
  }
  .contact-details {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .hours-list li {
    flex-direction: column;
    gap: 4px;
  }
}
