/* =========================================================
   Happy Camper Clean & Fix — Stylesheet
   Tokens: black/charcoal + cream, lime (Clean) + sky (Fix)
   Display: Anton  |  Body: Inter
   ========================================================= */

:root {
  --black: #0c120f;
  --charcoal: #161d19;
  --charcoal-2: #1f2823;
  --cream: #f6f4ee;
  --cream-2: #ece8dd;
  --lime: #8dc63f;
  --lime-dark: #6fa32e;
  --lime-soft: #dff0c4;
  --sky: #29abe2;
  --sky-dark: #1c8bc4;
  --sky-soft: #d3eefb;
  --white: #ffffff;
  --ink: #181d19;
  --ink-soft: #4d564e;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 14px;
  --shadow: 0 14px 34px rgba(12, 18, 15, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lime);
  color: var(--black);
  padding: 10px 16px;
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.t-clean { color: var(--sky); }
.t-fix { color: var(--lime); }
.t-white { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--lime); color: var(--black); }
.btn-primary:hover { background: var(--lime-dark); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-call { background: var(--sky); color: var(--white); padding: 10px 18px; font-size: 0.92rem; }
.btn-call:hover { background: var(--sky-dark); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 18, 15, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-mark { border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  font-size: 1.18rem;
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-top: 4px;
}

.main-nav { display: none; gap: 28px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.main-nav a:hover { opacity: 1; }

.header-call { display: none; }

.nav-toggle {
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.is-open { max-height: 320px; }
.mobile-nav a {
  padding: 14px 24px;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav .btn { margin: 14px 24px; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-call { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
@media (max-height: 560px) {
  .hero { min-height: auto; }
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8,12,10,0.95) 0%, rgba(8,12,10,0.55) 48%, rgba(8,12,10,0.35) 100%);
}

.hero-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bubbles span {
  position: absolute;
  bottom: -60px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(41,171,226,0.25));
  animation: rise 11s linear infinite;
  opacity: 0.6;
}
.hero-bubbles span:nth-child(1) { left: 8%; width: 10px; height: 10px; animation-delay: 0s; }
.hero-bubbles span:nth-child(2) { left: 22%; width: 18px; height: 18px; animation-delay: 2s; animation-duration: 14s; }
.hero-bubbles span:nth-child(3) { left: 40%; width: 8px; height: 8px; animation-delay: 4s; }
.hero-bubbles span:nth-child(4) { left: 63%; width: 16px; height: 16px; animation-delay: 1s; animation-duration: 13s; }
.hero-bubbles span:nth-child(5) { left: 80%; width: 11px; height: 11px; animation-delay: 5s; }
.hero-bubbles span:nth-child(6) { left: 92%; width: 20px; height: 20px; animation-delay: 3s; animation-duration: 16s; }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  100% { transform: translateY(-105vh) translateX(20px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-bubbles { display: none; } }

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  padding-top: 32px;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-soft);
  margin: 0 0 14px;
}
.eyebrow-dark { color: var(--sky-dark); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  color: var(--white);
}

.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 540px;
  margin-bottom: 32px;
}

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

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--lime);
  color: var(--black);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.03;
  color: var(--ink);
  margin-bottom: 28px;
}
.section-title-light { color: var(--white); }

/* ---------- Services ---------- */
.services { padding: 96px 0; background: var(--cream); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 760px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--sky);
}
.service-fix { border-top-color: var(--lime); }

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}
.service-clean .service-icon { color: var(--sky-dark); }
.service-fix .service-icon { color: var(--lime-dark); }
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 400;
}
.service-tag {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.service-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 1rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sky);
}
.service-fix .service-list li::before { background: var(--lime); }
.service-list li:last-child { margin-bottom: 0; }

/* ---------- On the job / work photos ---------- */
.work { background: var(--charcoal); padding: 96px 0; }
.work .eyebrow { color: var(--lime-soft); }

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .work-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.work-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal-2);
  aspect-ratio: 4 / 3;
}
.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px 16px;
  background: linear-gradient(0deg, rgba(8,12,10,0.92), rgba(8,12,10,0));
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- About ---------- */
.about { padding: 96px 0; background: var(--cream-2); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .about-inner { grid-template-columns: 1.3fr 0.7fr; }
}

.about p { font-size: 1.05rem; color: var(--ink-soft); }

.about-list { margin-top: 24px; }
.about-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 1rem;
  color: var(--ink);
}
.about-list li:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }
.about-list strong { color: var(--lime-dark); }

.about-badge {
  justify-self: center;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-badge img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Service area / patches ---------- */
.area {
  background: var(--black);
  padding: 96px 0;
  text-align: center;
}
.area .eyebrow { color: var(--sky-soft); justify-content: center; }
.area-sub {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

.patch-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.patch {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 3px dashed var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--charcoal);
}
.patch:nth-child(2n) { transform: none; }
.patch span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--white);
}
.patch-alt { border-color: var(--sky); }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .contact-inner {
    grid-template-columns: 1.4fr 0.9fr;
    grid-template-rows: auto auto;
    row-gap: 0;
    column-gap: 40px;
  }
  .contact-form-wrap { display: contents; }
  .contact-heading { grid-column: 1; grid-row: 1; }
  .quote-form { grid-column: 1; grid-row: 2; align-self: start; }
  .contact-card { grid-column: 2; grid-row: 2; }
}

.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; }
.form-row:last-of-type { margin-bottom: 0; }
.form-row-split { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 540px) {
  .form-row-split { grid-template-columns: 1fr 1fr; }
}

label, legend {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  margin-bottom: 7px;
  color: var(--ink);
}

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #d8d4c8;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--sky); outline: none; }
textarea { resize: vertical; }

.form-radio {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.form-radio label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-right: 18px;
  margin-bottom: 6px;
}
.form-radio input { width: auto; margin: 0; }

.contact-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.contact-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.contact-card p { color: rgba(255,255,255,0.78); font-size: 0.96rem; }
.contact-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--lime);
  margin-bottom: 10px;
  word-break: break-word;
}
.contact-card hr { border: 0; border-top: 1px solid rgba(255,255,255,0.14); margin: 22px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,0.75); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
  padding: 40px 24px;
}
.brand-footer { margin-right: auto; }
.footer-right {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { font-weight: 600; font-size: 0.92rem; opacity: 0.85; }
.footer-nav a:hover { opacity: 1; }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.9rem;
}
.footer-contact a { font-weight: 700; color: var(--sky); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .brand-footer { margin-right: 0; }
  .footer-right { flex-direction: column; align-items: center; gap: 20px; }
  .footer-nav { justify-content: center; }
  .footer-contact { align-items: center; }
}
