/* Reefside Plumbing — blue + white, friendly family business */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: #1A2533;
  background: #FAFCFE;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --blue: #0066CC;
  --blue-dark: #004FA3;
  --blue-light: #E8F2FF;
  --blue-accent: #00A6E5;
  --navy: #0B2545;
  --white: #FFFFFF;
  --offwhite: #FAFCFE;
  --grey: #F0F4F8;
  --border: #DCE3EC;
  --muted: #5B6B7E;
  --text: #1A2533;
}

/* Typography */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* Layout */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* Top bar */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.8);
  padding: 8px 0; font-size: .82rem;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: #fff; }
.topbar .hours::before { content: '🕒 '; }
.topbar .emergency { color: var(--blue-accent); font-weight: 700; }

/* Nav */
.nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.35rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.02em;
}
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-accent) 100%);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 24px; height: 24px; color: #fff; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: .92rem; font-weight: 600; padding: 10px 16px; border-radius: 8px;
  color: var(--text); transition: all .15s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,102,204,.25); }
.nav-cta svg { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem;
  padding: 16px 32px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: all .15s;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,102,204,.25); }
.btn-ghost { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-light); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--blue-light); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at top right, rgba(0,166,229,.12) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(0,102,204,.08) 0%, transparent 50%),
    var(--offwhite);
  position: relative; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  padding: 8px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; margin-bottom: 24px;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 4px rgba(22,163,74,.2); }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--blue); }
.hero-sub { font-size: 1.15rem; color: var(--muted); margin-bottom: 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.hero-meta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--muted);
}
.hero-meta-item strong { color: var(--navy); }
.hero-meta-item svg { width: 22px; height: 22px; color: var(--blue); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-accent) 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,102,204,.25);
}
.hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.1) 0%, transparent 40%);
}
.hero-visual svg.wave-bg {
  position: absolute; bottom: 0; left: 0; right: 0; width: 100%; height: 40%;
  opacity: .25;
}
.hero-badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.hero-badge-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-badge-icon svg { width: 24px; height: 24px; }
.hero-badge strong { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 2px; }
.hero-badge span { color: var(--muted); font-size: .82rem; }

/* Section header */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* Services */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all .2s;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 24px 48px rgba(11,37,69,.08); }
.service-card .icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.service-card .from { font-size: .82rem; color: var(--blue); font-weight: 700; }

/* Story (family) */
.story { background: var(--blue-light); }
.story-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.story-visual {
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, #00A6E5 0%, #0066CC 100%);
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,102,204,.2);
}
.story-visual .frame {
  position: absolute; inset: 24px;
  border: 3px solid rgba(255,255,255,.4); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9);
}
.story-visual .frame-text {
  font-size: 1.1rem; font-weight: 700; text-align: center; line-height: 1.4;
}
.story-visual .frame-text strong { display: block; font-size: 3rem; margin-bottom: 8px; }
.story h2 { margin-bottom: 20px; }
.story p { color: var(--text); font-size: 1.05rem; margin-bottom: 16px; }
.story-sig { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.story-sig-img { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.story-sig-name { font-weight: 700; color: var(--navy); }
.story-sig-role { font-size: .85rem; color: var(--muted); }

/* Pricing / guarantees */
.guarantees { background: var(--white); }
.guarantees-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.guarantee {
  text-align: center; padding: 32px 24px;
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--offwhite);
  transition: all .2s;
}
.guarantee:hover { background: var(--white); border-color: var(--blue); transform: translateY(-2px); }
.guarantee .num {
  font-size: 2.6rem; font-weight: 800; color: var(--blue);
  line-height: 1; margin-bottom: 8px; letter-spacing: -.02em;
}
.guarantee h3 { font-size: 1.05rem; margin-bottom: 6px; }
.guarantee p { font-size: .88rem; color: var(--muted); }

/* Service areas */
.areas { background: var(--offwhite); }
.areas-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; max-width: 920px; margin: 0 auto;
}
.area {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 10px;
  transition: all .15s;
}
.area::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-accent); flex-shrink: 0;
}
.area:hover { border-color: var(--blue); background: var(--blue-light); }

/* FAQ */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--offwhite); border-radius: 16px;
  margin-bottom: 12px; padding: 4px;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.05rem; color: var(--navy);
  font-family: inherit;
}
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: all .2s; flex-shrink: 0; font-weight: 600;
}
.faq-item.open .faq-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* CTA */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(0,166,229,.2) 0%, transparent 50%);
}
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.75); font-size: 1.15rem; margin-bottom: 32px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* Footer */
footer { background: #061A33; color: rgba(255,255,255,.6); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: .9rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.55); padding: 4px 0; font-size: .9rem; }
.footer-col a:hover { color: var(--blue-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .hero-inner, .story-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .services-grid, .guarantees-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
