/* Pad Pilot by Vector — vectorswimmingpools.com */
:root {
  --navy: #0a3d62;
  --deep: #072c47;
  --aqua: #0e7c8c;
  --aqua-light: #e6f4f6;
  --sun: #f5a623;
  --ink: #10222f;
  --muted: #5b7183;
  --sand: #f7f5f0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 44, 71, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); line-height: 1.6; background: var(--white); }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 800; color: var(--aqua); margin-bottom: 10px; }
h1, h2 { line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.accent { color: var(--aqua); }
.section { padding: 84px 0; }
.section-alt { background: var(--sand); }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 36px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform 0.15s ease, background 0.15s ease; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--aqua); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--aqua); color: var(--aqua); background: transparent; width: 100%; text-align: center; }
.btn-outline:hover { background: var(--aqua); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(10,61,98,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 900; font-size: 1.15rem; }
.brand em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 0.95rem; }
.brand-mark { font-size: 1.5rem; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--aqua); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 60%, #0d4d6e 100%); color: #fff; padding: 90px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .kicker { color: #7fd4de; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: #7fd4de; }
.lede { font-size: 1.15rem; color: #cfe3ea; margin-bottom: 30px; max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-phone { color: #cfe3ea; margin-bottom: 34px; }
.hero-phone a { color: #fff; font-weight: 800; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }
.trust-badges { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; }
.trust-badges li { font-size: 0.92rem; color: #a9c6d2; }
.trust-badges strong { color: #fff; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,0.35); width: 100%; height: 420px; object-fit: cover; }

/* Strip */
.strip { background: var(--sun); color: var(--deep); padding: 26px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.strip-inner p { font-size: 1.05rem; max-width: 60rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.step { background: var(--white); border: 1px solid rgba(10,61,98,0.08); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--aqua-light); color: var(--aqua); font-weight: 900; font-size: 1.2rem; margin-bottom: 16px; }
.step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { color: var(--muted); }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px; align-items: stretch; }
.plan { background: var(--white); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); border: 1px solid rgba(10,61,98,0.08); display: flex; flex-direction: column; position: relative; }
.plan-featured { border: 2px solid var(--aqua); transform: scale(1.03); }
.plan-flag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--aqua); color: #fff; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan-price { font-size: 2.4rem; font-weight: 900; color: var(--navy); margin-bottom: 20px; }
.plan-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan li { padding: 9px 0 9px 30px; position: relative; color: var(--ink); border-bottom: 1px solid rgba(10,61,98,0.06); }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--aqua); font-weight: 900; }
.plan-note { margin-top: 30px; text-align: center; color: var(--muted); }
.plan-note a { color: var(--aqua); font-weight: 700; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.service-grid article { background: var(--white); border: 1px solid rgba(10,61,98,0.08); border-radius: var(--radius); padding: 26px 24px; }
.service-grid h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--navy); }
.service-grid p { color: var(--muted); font-size: 0.95rem; }

/* Serve */
.serve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.serve-grid p { color: var(--muted); margin-bottom: 26px; }
.serve-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.serve-list li { background: var(--white); border-radius: var(--radius); padding: 18px 20px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); border: 1px solid rgba(10,61,98,0.06); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-copy .trust-badges { margin-top: 24px; }
.about-copy .trust-badges li { color: var(--muted); }
.about-copy .trust-badges strong { color: var(--navy); }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 380px; object-fit: cover; }

/* FAQ */
.faq-wrap { max-width: 780px; }
.faq-list { margin-top: 32px; display: grid; gap: 14px; }
.faq { background: var(--white); border-radius: var(--radius); border: 1px solid rgba(10,61,98,0.08); overflow: hidden; }
.faq summary { padding: 20px 24px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--aqua); font-weight: 400; flex-shrink: 0; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 24px 22px; color: var(--muted); }
.faq a { color: var(--aqua); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-direct { margin-top: 18px; }
.contact-direct a { color: var(--aqua); font-weight: 700; }
.quote-form { background: var(--sand); border-radius: var(--radius); padding: 36px 32px; display: grid; gap: 16px; border: 1px solid rgba(10,61,98,0.08); }
.quote-form label { display: grid; gap: 6px; font-weight: 700; font-size: 0.92rem; }
.quote-form input, .quote-form select, .quote-form textarea { padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(10,61,98,0.2); font: inherit; font-weight: 400; background: #fff; width: 100%; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--aqua); border-color: var(--aqua); }
.form-note { color: var(--muted); font-size: 0.88rem; text-align: center; }

/* Footer */
.site-footer { background: var(--deep); color: #a9c6d2; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-text { color: #fff; font-weight: 900; font-size: 1.2rem; }
.footer-brand .brand-text em { font-style: normal; font-weight: 400; color: #7fa3b5; font-size: 1rem; }
.footer-brand p { margin-top: 12px; font-size: 0.92rem; }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-nav a { color: #a9c6d2; text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact a { color: #fff; font-weight: 700; text-decoration: none; }
.copyright { text-align: center; padding: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #7fa3b5; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .serve-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 64px 0; }
  .hero-media img { height: 280px; }
  .steps, .plan-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .strip-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 22px 20px; gap: 4px; border-bottom: 1px solid rgba(10,61,98,0.1); box-shadow: 0 20px 30px rgba(7,44,71,0.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid rgba(10,61,98,0.06); }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
}
