/* =============================================
   GRANITE BAY POOL CLEANERS — STYLESHEET
   ============================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg:           #f0f7ff;
  --surface:      #ffffff;
  --surface-2:    #e8f4fd;
  --border:       #cce4f5;
  --accent:       #0077cc;
  --accent-dark:  #005fa3;
  --accent-light: #e8f4fd;
  --text:         #0d1e2e;
  --text-muted:   #4a6680;
  --text-light:   #7a9ab8;
  --success:      #00a878;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 4px rgba(0,119,204,0.1);
  --shadow-md:    0 4px 16px rgba(0,119,204,0.12);
  --shadow-lg:    0 8px 32px rgba(0,119,204,0.15);
  --max-w:        1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }

/* ---------- Utilities ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section--alt { background: var(--surface); }
.section-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--text); margin-bottom: 1rem; line-height: 1.2; }
.section-sub { color: var(--text-muted); max-width: 560px; font-size: 1.05rem; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; border: 2px solid transparent; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--accent); border-color: #fff; }
.btn-white:hover { background: var(--accent-light); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 2px solid var(--accent); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.logo { font-size: 1.1rem; font-weight: 800; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
.main-nav { display: flex; gap: 0.25rem; margin-left: auto; }
.main-nav a { padding: 0.4rem 0.75rem; border-radius: var(--radius-sm); color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: all 0.15s; }
.main-nav a:hover, .main-nav a.active { background: var(--accent-light); color: var(--accent); }
.header-phone { margin-left: 0.5rem; white-space: nowrap; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--accent); margin-left: auto; }
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 1rem 1.25rem; border-bottom: 2px solid var(--accent); gap: 0; }
  .main-nav.open { display: flex; }
  .header-phone { display: none; }
  .hamburger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0d5c99 0%, #0077cc 50%, #00a8e8 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='rgba(255,255,255,0.06)' d='M0,60 C360,120 720,0 1080,60 C1260,90 1380,30 1440,60 L1440,120 L0,120 Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
.hero h1 span { color: #7de8ff; }
.hero-sub { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; opacity: 0.85; font-size: 0.9rem; }
.hero-badge { display: flex; align-items: center; gap: 0.4rem; }

/* ---------- Trust Bar ---------- */
.trust-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.trust-items { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.trust-item span:first-child { font-size: 1.2rem; }

/* ---------- Problem Section ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.problem-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.problem-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.problem-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.problem-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, border-color 0.2s; }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); }
.service-card ul { list-style: none; padding: 0; margin-top: 0.75rem; }
.service-card ul li { font-size: 0.88rem; color: var(--text-muted); padding: 0.25rem 0; border-top: 1px solid var(--border); }
.service-card ul li::before { content: '✓ '; color: var(--success); font-weight: 700; }

/* ---------- Pricing ---------- */
.pricing-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; max-width: 860px; margin-left: auto; margin-right: auto; }
.pricing-card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: all 0.2s; }
.pricing-card.featured { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.pricing-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.75rem; border-radius: 99px; margin-bottom: 1rem; }
.pricing-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.price { font-size: 2.2rem; font-weight: 900; color: var(--accent); }
.price-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.pricing-features li { font-size: 0.9rem; color: var(--text-muted); padding: 0.35rem 0; border-top: 1px solid var(--border); text-align: left; padding-left: 1.5rem; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.stars { color: #f5a623; font-size: 1rem; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.95rem; color: var(--text-muted); font-style: italic; margin-bottom: 1rem; line-height: 1.7; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.testimonial-location { font-size: 0.82rem; color: var(--text-light); }

/* ---------- Service Areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.area-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.area-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 0.3rem; }
.area-zip { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.75rem; font-weight: 600; }
.area-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 2.5rem auto 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 0.75rem; background: var(--surface); overflow: hidden; }
.faq-item summary { padding: 1.1rem 1.25rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--accent); }
.faq-item[open] summary::after { content: '−'; }
.faq-body { padding: 0 1.25rem 1.1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ---------- CTA Banner ---------- */
.cta-banner { background: linear-gradient(135deg, #0d5c99 0%, #0077cc 100%); color: #fff; text-align: center; padding: 4rem 0; }
.cta-banner h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-banner p { opacity: 0.85; margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner .btn-white { font-size: 1.1rem; padding: 0.9rem 2.2rem; }

/* ---------- Map Section ---------- */
.map-section { background: var(--surface); padding: 3rem 0; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--border); }
.map-wrap iframe { display: block; width: 100%; height: 320px; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1e2e; color: #a0b8cc; padding: 3rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-logo { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.9rem; margin-bottom: 1rem; }
.footer-nap { font-style: normal; font-size: 0.9rem; line-height: 1.8; }
.footer-nap a { color: #7de8ff; text-decoration: none; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.35rem; }
.footer-col ul a { color: #a0b8cc; text-decoration: none; font-size: 0.9rem; transition: color 0.15s; }
.footer-col ul a:hover { color: #7de8ff; }
.footer-social { margin-top: 1rem; }
.footer-social a { color: #7de8ff; text-decoration: none; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid #1e3550; padding: 1.25rem 0; text-align: center; font-size: 0.82rem; color: #6a8aaa; }

/* ---------- Inner Pages ---------- */
.page-hero { background: linear-gradient(135deg, #0d5c99 0%, #0077cc 100%); color: #fff; padding: 3rem 0 2.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.75rem; }
.page-hero-sub { opacity: 0.88; max-width: 560px; margin: 0 auto 1.5rem; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; opacity: 0.75; margin-bottom: 1rem; }
.breadcrumb a { color: #fff; }
.page-content { padding: 3rem 0 4rem; }
.content-body { max-width: 800px; margin: 0 auto; }
.content-body h2 { font-size: 1.45rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--text); }
.content-body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--accent); }
.content-body p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.75; }
.content-body ul { color: var(--text-muted); padding-left: 1.5rem; margin-bottom: 1rem; }
.content-body ul li { margin-bottom: 0.4rem; line-height: 1.65; }
.content-body a { color: var(--accent); }
.content-faq .faq-item { margin-bottom: 0.75rem; }
.cta-box { background: var(--accent-light); border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 2rem; text-align: center; margin: 2.5rem 0; }
.cta-box h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text); }
.cta-box p { color: var(--text-muted); margin-bottom: 1.25rem; }
.cta-box .btn { margin: 0.4rem; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.about-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.about-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.about-card h3 { color: var(--accent); font-size: 1rem; margin-bottom: 0.5rem; font-weight: 700; }
.about-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; max-width: 960px; margin: 0 auto; align-items: start; }
@media (max-width: 700px) { .contact-layout { grid-template-columns: 1fr; } }
.phone-link { display: inline-block; font-size: 1.6rem; font-weight: 900; color: var(--accent); text-decoration: none; margin: 0.5rem 0 1rem; }
.contact-details h3 { font-size: 1rem; color: var(--text); margin: 1.25rem 0 0.4rem; font-weight: 700; }
.contact-details ul { list-style: none; padding: 0; color: var(--text-muted); font-size: 0.95rem; }
.contact-details ul li { margin-bottom: 0.25rem; }
.social-link { color: var(--accent); text-decoration: none; font-size: 0.95rem; }
.quote-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm); color: var(--text); padding: 0.65rem 0.85rem; font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin: 0; }
