/* ==========================================================================
   Paradise Tankless Flush — design tokens
   Palette pulled from the client logo (pine green) plus a mineral-scale
   rust and clean-water teal, since the whole business is "remove the rust-
   colored mineral buildup, restore the clean water flow."
   ========================================================================== */

:root {
  --pine: #2e6f40;       /* brand green, exact logo background */
  --pine-dark: #1c4a2b;  /* deep shadow green — header/footer */
  --pine-mid: #3f8a54;   /* lighter green for hovers/accents */
  --stone: #f2efe4;      /* warm paper background */
  --stone-deep: #e8e2d0; /* card background, one step darker */
  --ink: #24301f;        /* near-black warm text */
  --ink-soft: #4d5749;   /* secondary text */
  --rust: #9c562d;       /* mineral-scale accent, darkened for WCAG AA contrast */
  --rust-on-dark: #d8773e; /* lightened rust for use on dark backgrounds (e.g. price-ring border), clears 3:1 non-text contrast */
  --water: #2f7a8c;      /* clean-water teal, links/secondary accent */
  --line: #d9d2bd;       /* hairline rule, warm-toned */
  --white: #ffffff;

  --font-display: 'Quicksand', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow: 0 8px 24px rgba(28, 74, 43, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--water); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--pine-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-block;
  margin-bottom: 0.6em;
}

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

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Header
   Background matches the logo's own green exactly, so the logo art sits
   with no visible box around it.
   ========================================================================== */

.site-header {
  background: var(--pine);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 74px; width: auto; margin: -10px 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
}
.main-nav a:hover { opacity: 1; text-decoration: none; border-bottom: 2px solid var(--rust); }
.main-nav a.current { opacity: 1; border-bottom: 2px solid var(--rust); }

.nav-cta {
  background: var(--rust);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  border-bottom: none !important;
}
.nav-cta:hover { background: #a85a2c; text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pine-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
}

/* ==========================================================================
   Hero (home page)
   Signature element: the "Annual Flush Dial" — a 12-tick ring representing
   the yearly maintenance cycle, since that single fact (flush once a year)
   is the core thing the whole business teaches people.
   ========================================================================== */

.hero {
  background: linear-gradient(180deg, var(--stone) 0%, var(--stone) 100%);
  padding: 64px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-dial { order: -1; max-width: 280px; margin: 0 auto; }
}

.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.1rem; max-width: 46ch; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary { background: var(--pine); color: var(--white); }
.btn-primary:hover { background: var(--pine-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--pine-dark); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--white); text-decoration: none; }

/* the dial graphic */
.dial-wrap { display: flex; justify-content: center; }
.dial-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ==========================================================================
   Sections
   ========================================================================== */

section { padding: 64px 0; }
.section-alt { background: var(--stone-deep); }
.section-head { max-width: 60ch; margin-bottom: 2.2em; }

/* ripple divider — used instead of a plain hairline between major sections */
.ripple-divider {
  height: 22px;
  background-repeat: repeat-x;
  background-size: 44px 22px;
  background-image: radial-gradient(circle at 22px -6px, transparent 16px, var(--stone) 17px);
  margin-top: -22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.card .icon { width: 34px; height: 34px; color: var(--pine); margin-bottom: 14px; }
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; font-size: 0.95rem; }

/* price callout — ring motif reused around the number */
.price-callout {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--pine-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  flex-wrap: wrap;
}
.price-ring {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 3px solid var(--rust-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-shrink: 0;
}
.price-ring .amount { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.price-ring .unit { font-size: 0.72rem; opacity: 0.8; letter-spacing: 0.06em; text-transform: uppercase;}
.price-callout .copy { flex: 1; min-width: 220px; }
.price-callout h2, .price-callout h3 { color: var(--white); font-size: 1.25rem; }
.price-callout p { color: rgba(255,255,255,0.85); margin: 0; }

.disclosure {
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--rust);
  padding: 10px 16px;
  background: var(--white);
  border-radius: 0 8px 8px 0;
  max-width: 68ch;
}

.area-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 1.2em 0;
}
.area-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.9rem;
  color: var(--pine-dark);
  font-weight: 600;
}

/* testimonial placeholder cards — visibly a template, not a fake quote */
.testimonial-card {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--ink-soft);
  font-style: italic;
}
.testimonial-card .who {
  margin-top: 12px;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pine-dark);
}

/* ==========================================================================
   Services page specifics
   ========================================================================== */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: none; }
@media (max-width: 780px) { .service-block { grid-template-columns: 1fr; gap: 16px; } }
.service-block .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--water);
  margin-bottom: 0.5em;
}
.service-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--pine-dark);
}

/* ==========================================================================
   Booking form (schedule page)
   No backend, no third-party service/subscription: the form gathers the
   fields client-side and opens a pre-filled email via a mailto link.
   ========================================================================== */

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 640px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--pine-dark);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--stone);
  color: var(--ink);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--water); outline-offset: 1px; }

.prose { max-width: 70ch; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: -6px;
}
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: -6px;
}

.contact-quick {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 3em;
}
.contact-quick a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 600;
  flex: 1;
  min-width: 220px;
}
.contact-quick a:hover { text-decoration: none; background: var(--stone-deep); }
.contact-quick svg { width: 22px; height: 22px; color: var(--pine); flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--pine-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-inner h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.8em; }
.footer-inner a { color: rgba(255,255,255,0.82); }
.footer-inner ul { list-style: none; padding: 0; margin: 0; }
.footer-inner li { margin-bottom: 8px; }
.footer-brand img { height: 40px; margin-bottom: 12px; }
.footer-disclosure {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  max-width: 60ch;
}
.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
