/* West Coast Pool Pros — styles */

:root {
  --navy: #0b2545;
  --navy-2: #123a63;
  --blue: #1e7fd6;
  --blue-light: #4fb0e8;
  --orange: #ff8a00;
  --orange-2: #ff5f00;
  --bg: #f6f9fc;
  --card: #ffffff;
  --text: #1c2b3a;
  --text-muted: #5a6b7b;
  --border: #e3eaf1;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .6em;
}

.section { padding: 72px 0; }
.section-alt { background: #eef4fa; }
.section-header { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-header p { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 95, 0, .28);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(255, 95, 0, .36); }
.btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-text { display: none; }

@media (min-width: 480px) {
  .brand img { height: 40px; }
}

.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a:hover { color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone svg { flex: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.nav-toggle svg { pointer-events: none; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0 16px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 12px; }

@media (min-width: 900px) {
  .brand-text { display: block; font-weight: 800; color: var(--navy); font-size: 1.05rem; }
  .main-nav { display: block; }
  .header-phone { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 15%, var(--navy-2), var(--navy) 60%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(to top, rgba(255,255,255,.06), transparent);
}
.hero-inner {
  padding: 72px 0 64px;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; padding: 96px 0 88px; }
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.hero .lede { color: #cfe0f2; font-size: 1.15rem; max-width: 46ch; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
  color: #dce9f7;
  font-size: .92rem;
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art-logo { width: 100%; max-width: 340px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
  text-align: center;
}
.hero-stats strong { display: block; font-size: 1.5rem; color: #fff; }
.hero-stats span { font-size: .8rem; color: #b9cee6; }

/* Trust bar */
.trust-bar { background: #fff; border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 32px 0;
}
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #eaf2fb;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.trust-item h3 { font-size: .95rem; margin-bottom: .15em; }
.trust-item p { font-size: .82rem; color: var(--text-muted); margin: 0; }

/* Specialties strip */
.specialties {
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: #fff;
  text-align: center;
  padding: 14px 0;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .95rem;
}
.specialties .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; }

/* Services */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.plan-card.featured { border: 2px solid var(--orange); position: relative; }
.plan-badge {
  position: absolute;
  top: -13px; left: 22px;
  background: var(--orange);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.plan-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 14px;
}
.plan-icon.blue { background: linear-gradient(135deg, var(--blue), var(--navy-2)); }
.plan-icon.orange { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.plan-card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.plan-sub { color: var(--text-muted); font-size: .88rem; margin-bottom: 14px; }
.plan-card ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan-card li { display: flex; gap: 9px; font-size: .92rem; align-items: flex-start; }
.plan-card li svg { flex: none; margin-top: 3px; color: var(--blue); }
.plan-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.plan-price .amount { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.plan-price .period { color: var(--text-muted); font-size: .85rem; }

/* Diagnostics callout */
.diagnostics-card {
  margin-top: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) { .diagnostics-card { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.diagnostics-card ul { list-style: none; margin: 14px 0 0; padding: 0; columns: 2; gap: 10px 24px; }
.diagnostics-card li { display: flex; gap: 8px; font-size: .92rem; margin-bottom: 10px; break-inside: avoid; }
.diagnostics-card li svg { flex: none; margin-top: 3px; color: var(--blue); }
.diagnostics-note {
  background: #eef4fa;
  border-radius: 12px;
  padding: 20px;
  font-size: .88rem;
  color: var(--text-muted);
  border-left: 4px solid var(--blue);
}
.diagnostics-note strong { color: var(--navy); }

/* Why choose */
.why-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.why-item .icon {
  width: 50px; height: 50px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #eaf2fb;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.why-item h3 { font-size: 1rem; margin-bottom: .3em; }
.why-item p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* Service area */
.area-wrap {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) { .area-wrap { grid-template-columns: 1fr 1fr; align-items: center; } }
.area-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.area-list li {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; font-weight: 600;
}
.area-list svg { color: var(--orange); flex: none; }
.area-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px;
}
.area-card h3 { color: #fff; }
.area-card p { color: #cfe0f2; }

/* Contact */
.contact-wrap {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) { .contact-wrap { grid-template-columns: .9fr 1.1fr; } }

.contact-info {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px;
}
.contact-info h2 { color: #fff; }
.contact-info p { color: #cfe0f2; }
.contact-methods { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-methods a { text-decoration: none; color: #fff; font-weight: 700; }
.contact-methods .label { display: block; color: #a9c3de; font-weight: 500; font-size: .8rem; margin-bottom: 2px; }
.contact-methods li { display: flex; gap: 14px; align-items: flex-start; }
.contact-methods .icon {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .9rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { background: #e7f7ee; color: #1c6b3f; border: 1px solid #bfe8cf; }
.form-status.error { background: #fdecec; color: #a3261f; border: 1px solid #f6c6c2; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b9cee6;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .footer-logo { height: 34px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.site-footer a { text-decoration: none; color: #b9cee6; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  font-size: .78rem;
  color: #8fa9c4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* Sticky mobile call bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--navy);
  display: flex;
  box-shadow: 0 -6px 20px rgba(0,0,0,.18);
}
.mobile-call-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-call-bar a.call { background: var(--orange); }
@media (min-width: 900px) { .mobile-call-bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 58px; } }
