/* ==========================================================================
   Aqua Ninja Pool Care — Palm Coast, FL
   Palette: vibrant cyan/aqua + dark charcoal, energetic, precise
   Type: Space Grotesk (headings, geometric/sharp) + Inter (body)
   Angular, diagonal-cut layout (nods to "ninja" precision) — no cartoon
   imagery, CSS-only geometric shapes.
   Mobile-first.
   ========================================================================== */

:root {
  --charcoal-deep: #0e1a1f;
  --charcoal: #16262c;
  --charcoal-mid: #24393f;
  --cyan: #00c9d8;
  --cyan-bright: #2fe4f0;
  --cyan-deep: #0596a6;
  --ice: #eafcfd;
  --ice-mid: #d3f4f6;
  --white: #ffffff;
  --ink: #102024;
  --ink-soft: #4b6167;

  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 16px 40px rgba(14, 26, 31, 0.18);
  --shadow-card: 0 8px 22px rgba(14, 26, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--charcoal-deep);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--cyan-deep); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-deep);
  margin: 0 0 0.6em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow.center { justify-content: center; }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--cyan);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

h2.center, .section-lede.center { text-align: center; }
.section-lede {
  max-width: 640px;
  font-size: 1.05rem;
}
.section-lede.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--cyan);
  color: var(--charcoal-deep);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--cyan-bright); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-ghost-dark {
  background: transparent;
  color: var(--charcoal-deep);
  border-color: var(--charcoal-deep);
}
.btn-ghost-dark:hover { background: var(--charcoal-deep); color: var(--white); }

.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 26, 31, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 201, 216, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
}

.brand-mark-shape {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--charcoal-deep);
  border-bottom: 1px solid rgba(0, 201, 216, 0.2);
  box-shadow: var(--shadow-soft);
  display: none;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 8px 20px 16px;
}
.main-nav li {
  border-top: 1px solid rgba(0, 201, 216, 0.12);
}
.main-nav a {
  text-decoration: none;
  color: var(--ice);
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  padding: 14px 4px;
  min-height: 44px;
}
.main-nav a:hover { color: var(--cyan); }
.main-nav.is-open { display: block; }

.header-cta {
  display: none;
  align-items: center;
  gap: 16px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  min-height: 44px;
  white-space: nowrap;
}
.phone-link:hover { color: var(--cyan); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--cyan);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .main-nav {
    position: static;
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .main-nav ul {
    flex-direction: row;
    gap: 30px;
    padding: 0;
  }
  .main-nav li { border-top: none; }
  .main-nav a { padding: 10px 2px; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-deep);
  padding: 56px 0 90px;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 201, 216, 0.35), transparent 55%),
    linear-gradient(135deg, rgba(0,201,216,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  gap: 36px;
  align-items: center;
  position: relative;
}
h1 { color: var(--white); }
.hero-lede {
  font-size: 1.08rem;
  max-width: 52ch;
  color: var(--ice-mid);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 22px;
}
.hero-actions.center { justify-content: center; }
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ice-mid);
}
.hero-stars { color: var(--cyan-bright); letter-spacing: 2px; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art-illustration {
  position: relative;
  width: 100%;
  max-width: 380px;
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--ice);
  margin-top: -46px;
  position: relative;
  z-index: 2;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 0;
  padding: 26px 20px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  max-width: 1000px;
  margin: 0 auto;
  border-top: 4px solid var(--cyan);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  min-width: 130px;
}
.trust-number {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan-deep);
}
.trust-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 700;
}
.trust-divider {
  display: none;
}
@media (min-width: 700px) {
  .trust-divider {
    display: block;
    width: 1px;
    background: rgba(14,26,31,0.12);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0 64px;
}
.section-alt {
  background: var(--ice);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.about-art {
  max-width: 280px;
  margin: 0 auto;
}
.about-points {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.about-points li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
  color: var(--charcoal-deep);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--cyan);
  transform: rotate(45deg);
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .about-art { max-width: 100%; order: 2; }
  .about-copy { order: 1; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  text-align: left;
  border-left: 4px solid var(--cyan);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card p { margin-bottom: 0; }
.services-note {
  text-align: center;
  margin-top: 32px;
  font-style: italic;
  color: var(--ink-soft);
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Process strip ---------- */
.process-strip {
  background: var(--charcoal-deep);
  color: var(--ice);
}
.process-grid {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}
.process-step {
  position: relative;
  padding-left: 56px;
}
.process-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--cyan);
  color: var(--charcoal-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
}
.process-step-num span { transform: rotate(-45deg); display: block; }
.process-step h3 { color: var(--white); }
.process-step p { color: var(--ice-mid); margin-bottom: 0; }
@media (min-width: 700px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reviews ---------- */
.review-card {
  max-width: 680px;
  margin: 40px auto 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border-top: 4px solid var(--cyan);
}
.review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 14px;
  color: var(--cyan-deep);
}
.review-quote {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--charcoal-deep);
  line-height: 1.5;
  margin: 0 0 14px;
  font-weight: 500;
}
.review-attribution {
  font-weight: 700;
  color: var(--cyan-deep);
  margin: 0;
  font-size: 0.92rem;
}
.review-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--cyan-deep), var(--cyan));
}
.cta-band-inner {
  text-align: center;
}
.cta-band-inner h2 { color: var(--charcoal-deep); }
.cta-band-inner p {
  max-width: 480px;
  margin: 0 auto 8px;
  color: var(--charcoal-deep);
  opacity: 0.85;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 40px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}
.contact-list svg { color: var(--cyan-deep); flex-shrink: 0; }
.contact-list a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.contact-list a:hover { color: var(--cyan-deep); }

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(14,26,31,0.08);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-wrap {
  background: var(--charcoal-deep);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
}
.contact-form-wrap h3 { color: var(--white); }
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  font-weight: 700;
  color: var(--cyan);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 201, 216, 0.25);
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.04);
  color: var(--white);
  min-height: 44px;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(234,252,253,0.35); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}
.contact-form button {
  margin-top: 6px;
  justify-self: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-deep);
  color: var(--ice-mid);
  padding: 40px 0 24px;
  border-top: 1px solid rgba(0,201,216,0.15);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-brand .brand-text { color: #fff; font-size: 1.1rem; }
.footer-brand p { color: #7f9aa0; margin: 4px 0 0; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-contact a:hover { color: var(--cyan); }
.footer-copyright {
  color: #5f7a80;
  font-size: 0.85rem;
  margin: 10px 0 0;
}
@media (min-width: 700px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 24px;
  }
}
