/* Affordable Pool and Spa — marketing site
   Built 11 August 2026 from the Claude Design handoff.

   The prototype styled everything inline because its runtime required it; the handoff says to move that
   into whatever the project uses. This is one plain stylesheet — no build step, which is what lets the
   site sit on cPanel hosting and be edited with GoDaddy's File Manager.

   Every value here comes from the handoff's Design Tokens section. Where a number looks oddly specific
   (13px header padding, 10.5px brand subtitle, 1.04fr hero column) it is the designer's, not a guess. */

:root {
  --navy: #06293A;
  --navy-deep: #06222F;
  --navy-mid: #0A3F57;
  --blue: #0C7AA8;
  --cyan: #16C2D6;
  --cyan-light: #3DD3E4;
  --page: #F4F9FA;
  --surface: #FFFFFF;
  --tint: #E2F6F9;
  --border: #E6EEF1;
  --border-hdr: #E2ECEF;
  --body: #3A5A68;
  --ink: #0C2A38;
  --muted: #6B8794;
  --muted-light: #9CB2BB;
  --on-dark-body: #AECCD7;
  --on-dark-link: #CFE6ED;
  --on-dark-label: #7FA7B5;
  --on-dark-faint: #5E8392;
  --star: #F2A100;
  --star-empty: #D9E2E6;

  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

::selection { background: var(--cyan); color: var(--navy); }

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

/* Clears the sticky header when an anchor is jumped to. */
[id] { scroll-margin-top: 84px; }

/* Visible only once focused — the first thing a keyboard user meets. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { left: 0; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy);
  margin: 0;
}

h1 {
  font-weight: 900;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.025em;
}

/* Kept on one line for the same reason the wordmark is: on a 375px screen "count on." otherwise breaks
   after "count" and leaves "on." alone on a fourth line, which reads as a mistake. Three lines with the
   accent phrase intact is what the design shows. */
.accent { color: var(--blue); white-space: nowrap; }

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 10px;
}
.eyebrow.on-dark { color: var(--cyan); }
.center { text-align: center; }

.section { padding-top: 46px; padding-bottom: 46px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 249, 250, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hdr);
}

.hdr-in {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 13px 24px;
}

.brand { flex: none; text-decoration: none; }

.brand-name {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--navy);
  /* Required. Without it the wordmark wraps to three lines and doubles the header height — the
     designer's note, and it is right. */
  white-space: nowrap;
}
.brand-accent { color: var(--blue); }

.brand-sub {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

.nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--body);
  text-decoration: none;
}
.nav a:hover { color: var(--blue); }
.nav-only-mobile { display: none; }

.hdr-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.hdr-text {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.hdr-text:hover { color: var(--blue); }

.btn-cta {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
}
.btn-cta:hover { background: var(--blue); }

/* The mobile menu, which the prototype never had. A checkbox and CSS: no JavaScript, so it works on the
   first paint and cannot be broken by a script that fails to load. */
.navtoggle { display: none; }

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  flex: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 10px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
}

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); }

.btn-ghost {
  background: #fff;
  border: 1.5px solid #CADDE3;
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ── Pills ───────────────────────────────────────────────────────────────── */

.pill-rating {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--border-hdr);
  border-radius: 999px;
  padding: 8px 15px;
  box-shadow: 0 1px 3px rgba(6, 41, 58, 0.05);
  text-decoration: none;
}
.pill-rating:hover { border-color: var(--cyan); }

.rating-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
}

.stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.star { color: var(--star-empty); }
.star.on { color: var(--star); }

.rating-label { color: var(--muted); font-size: 13px; font-weight: 600; }

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tint);
  border-radius: 10px;
  padding: 11px 16px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #0A5066;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 58px;
  align-items: center;
  padding-top: 66px;
  padding-bottom: 54px;
}

.hero .pill-rating { margin-bottom: 22px; }
.hero h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 26px;
  max-width: 520px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* The photo, the tinted panel behind it, and the floating card. Built so that a missing photo still
   looks deliberate: the tint is the panel, and `onerror` removes the broken <img> rather than leaving a
   torn-page icon on the homepage. */
.hero-media, .about-media {
  position: relative;
  border-radius: 22px;
}

.hero-media { min-height: 470px; }
.about-media { min-height: 420px; }

.media-tint {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--cyan), var(--blue));
  opacity: 0.18;
}

.hero-media .media-photo {
  position: relative;
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 60px -24px rgba(6, 41, 58, 0.4);
}

.about-media .media-photo {
  position: relative;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 20px 50px -24px rgba(6, 41, 58, 0.36);
}

.hero-badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: #fff;
  border-radius: 14px;
  padding: 13px 18px;
  box-shadow: 0 12px 30px -10px rgba(6, 41, 58, 0.3);
  animation: apsFloat 5s ease-in-out infinite;
}

.hero-badge-title {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  color: var(--navy);
}

.hero-badge-sub {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

@keyframes apsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Somebody who has asked their system not to animate should not get a card bobbing at them for as long
   as the page is open. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-badge { animation: none; }
}

/* ── Specialties ─────────────────────────────────────────────────────────── */

.specialties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 30px;
  padding-bottom: 56px;
}

.spec { padding: 24px; }

.spec-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  color: var(--cyan);
  margin-bottom: 14px;
}

.spec h3 { font-weight: 800; font-size: 19px; margin-bottom: 8px; }
.spec p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ── Services ────────────────────────────────────────────────────────────── */

.services {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.services li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.services li:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 24px -14px rgba(12, 122, 168, 0.5);
}

.services .dot { width: 9px; height: 9px; }

/* ── Reviews ─────────────────────────────────────────────────────────────── */

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.review { padding: 26px; border-radius: 18px; }

.stars-5 { font-size: 15px; letter-spacing: 2px; color: var(--star); }

.quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 14px 0 20px;
}

.reviewer { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.reviewer-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.reviewer-meta { display: block; font-size: 12.5px; color: var(--muted-light); }

/* ── About ───────────────────────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 16px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq { max-width: 840px; margin: 0 auto; }

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }

.faq-item { border-radius: 14px; }

.faq-item summary {
  padding: 20px 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

/* The + / – is drawn from the open state rather than toggled by script. */
.faq-sign {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--cyan);
  line-height: 1;
  flex: none;
}
.faq-sign::before { content: "+"; }
.faq-item[open] .faq-sign::before { content: "–"; }

.faq-answer {
  padding: 0 24px 22px;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--body);
}

/* ── Dark band: contact ──────────────────────────────────────────────────── */

.band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 70px 0;
}

.band-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

h2.on-dark { color: #fff; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05; }

.on-dark-p {
  font-size: 16px;
  color: var(--on-dark-body);
  margin: 14px 0 28px;
  line-height: 1.6;
}

.contact-rows { display: flex; flex-direction: column; gap: 18px; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(22, 194, 214, 0.16);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
}

.icon-sms {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.contact-label {
  display: block;
  font-size: 12px;
  color: var(--on-dark-label);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
}

.request-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.request-card h3 {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.request-card p { font-size: 16px; line-height: 1.6; color: var(--body); margin: 0; }

.request-card .btn { font-weight: 800; padding: 15px 28px; }

.request-divider {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  width: 100%;
  font-size: 15px;
  color: var(--body);
}
.request-divider a { color: var(--blue); }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.foot { background: var(--navy-deep); padding: 50px 0 30px; }

.foot-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.foot-brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  color: #fff;
}

.foot-desc {
  font-size: 14px;
  color: var(--on-dark-label);
  max-width: 300px;
  margin: 12px 0 0;
}

.foot-head {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.foot-link {
  display: block;
  color: var(--on-dark-link);
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 9px;
  font-weight: 600;
}
.foot-link:hover { color: #fff; }

.foot-qual { color: var(--on-dark-faint); font-weight: 500; }

.foot-bar {
  max-width: 1200px;
  margin: 34px auto 0;
  padding: 18px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.copyright { font-size: 13px; color: var(--on-dark-faint); }

.foot-staff {
  font-size: 13px;
  color: #3E6675;
  text-decoration: none;
}
.foot-staff:hover { color: var(--cyan); }

/* ── Responsive, at the designer's breakpoints ───────────────────────────── */

@media (max-width: 1100px) {
  [data-hdr-text] { display: none; }
}

@media (max-width: 900px) {
  .burger { display: flex; }

  /* Open: the links become a full-width panel under the header rather than a drawer, so it needs no
     scroll locking and no JavaScript. */
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--page);
    border-bottom: 1px solid var(--border-hdr);
    padding: 6px 24px 14px;
    margin: 0;
  }
  .navtoggle:checked ~ .nav { display: flex; }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-hdr);
    font-size: 16px;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav-only-mobile { display: block; }

  .hdr { position: sticky; }
  .hdr-in { position: relative; flex-wrap: wrap; gap: 14px; }
  .hdr-phone { margin-left: 0; }

  .hero, .about, .contact { grid-template-columns: 1fr; }
  .hero { gap: 34px; padding-top: 44px; }
  .about { gap: 32px; }
  .specialties, .services { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .specialties, .services, .reviews { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .band { padding: 52px 0; }
  .request-card { padding: 28px 22px; }
  /* Off the left edge on a phone it would be clipped by the viewport. */
  .hero-badge { left: 10px; }
  .btn { width: 100%; text-align: center; }
  .request-card .btn { width: auto; }
}
