/* ============================================
   Saltash House Clearance — Design Tokens
   Palette: Tamar river teal + brass, warm paper
   ============================================ */
:root {
  --ink:        #16302B;
  --ink-soft:   #2A423C;
  --paper:      #F2EFE6;
  --paper-raised: #FFFFFF;
  --river:      #2F6E71;
  --river-dark: #204E50;
  --brass:      #B8863B;
  --brass-soft: #D8B37C;
  --slate:      #5B6B66;
  --tide-line:  #C8D6D0;
  --danger:     #8C3A2B;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, Segoe UI, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 6px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
a  { color: var(--river-dark); }

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

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--tide-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand span { color: var(--river); }

nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
nav.main-nav a:hover { color: var(--river); }

.nav-services { position: relative; }
.nav-services > a::after { content: " ▾"; font-size: 0.7em; }
.services-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--paper-raised);
  border: 1px solid var(--tide-line);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(22,48,43,0.12);
}
.nav-services:hover .services-dropdown,
.nav-services:focus-within .services-dropdown { display: block; }
.services-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
}
.services-dropdown a:hover { background: var(--paper); }

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--river);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.call-btn:hover { background: var(--river-dark); }
.call-btn svg { width: 16px; height: 16px; fill: #fff; }

/* mobile nav */
.hamburger { display: none; background: none; border: none; cursor: pointer; }
.mobile-menu { display: none; }
@media (max-width: 860px) {
  nav.main-nav > a, .nav-services, .call-btn.desktop-only { display: none; }
  .hamburger { display: block; }
  .mobile-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--tide-line);
    padding: 12px 24px 20px;
  }
  .mobile-menu a { padding: 10px 0; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--tide-line); }
}

/* ---------- Wave divider (signature element) ---------- */
.wave-divider {
  width: 100%;
  height: 48px;
  display: block;
  fill: var(--paper);
}
.wave-divider.on-river { fill: var(--river); }

/* ---------- Hero ---------- */
.hero {
  background: var(--river);
  color: #fff;
  padding: 72px 0 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
}
.hero h1 { color: #fff; }
.hero .eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--brass-soft);
  margin-bottom: 14px;
  display: block;
}
.hero p.lead { color: #E4EEEC; font-size: 1.1rem; max-width: 46ch; }
/* ---------- Hero badges: consolidated pill styling ---------- */
.hero-badges {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-badges span {
  position: relative;
  padding: 9px 16px 9px 30px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  background: rgba(22, 48, 43, 0.55);
  border: 1px solid rgba(216, 179, 124, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.hero-badges span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--brass-soft);
  border-radius: 50%;
}

/* Quote card floats over the hero, like a jetty deck */
.quote-card {
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  transform: translateY(24px);
}
.quote-card h3 { margin-bottom: 4px; }
.quote-card .sub { color: var(--slate); font-size: 0.88rem; margin-bottom: 18px; }
.quote-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 12px 0 4px;
}
.quote-card input, .quote-card textarea {
  width: 100%;
  border: 1px solid var(--tide-line);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper);
}
.quote-card textarea { min-height: 80px; resize: vertical; }
.btn-primary {
  margin-top: 18px;
  width: 100%;
  background: var(--brass);
  color: #1B1408;
  border: none;
  padding: 13px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-primary:hover { background: var(--brass-soft); }

/* ---------- Generic sections ---------- */
section { padding: 64px 0; }
section.on-paper-raised { background: var(--paper-raised); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head .eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--river);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .quote-card { transform: none; margin-top: 32px; }
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--tide-line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); font-size: 0.95rem; margin: 0; }

/* pricing table */
.price-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.price-table th, .price-table td {
  text-align: left; padding: 14px 16px;
  border-bottom: 1px solid var(--tide-line);
}
.price-table th { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); }
.price-table td.amount { font-family: var(--font-mono); font-weight: 600; color: var(--river-dark); }

/* process steps */
.process-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process-list li {
  counter-increment: step;
  display: flex; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--tide-line);
}
.process-list li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--river);
  border: 1px solid var(--river);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* FAQ */
details.faq-item {
  border-bottom: 1px solid var(--tide-line);
  padding: 16px 0;
}
details.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--river); }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { margin-top: 10px; color: var(--slate); }

/* Final CTA */
.final-cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.final-cta h2 { color: #fff; }
.final-cta .call-btn { display: inline-flex; margin-top: 16px; }

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: #C9D6D2;
  padding: 40px 0 24px;
  font-size: 0.88rem;
}
footer.site-footer .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
footer.site-footer a { color: #C9D6D2; text-decoration: none; }
footer.site-footer a:hover { color: #fff; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-cols h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid #2A423C;
  margin-top: 32px; padding-top: 20px;
  font-size: 0.8rem; color: var(--slate);
  text-align: center;
}

/* utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Hero background photo + overlay ---------- */
.hero {
  background-image:
    linear-gradient(120deg, rgba(22,48,43,0.88) 0%, rgba(47,110,113,0.82) 55%, rgba(47,110,113,0.55) 100%),
    url('/assets/images/hero.webp');
  background-size: cover;
  background-position: center;
}





/* Hero 'Based in X' contrast badge — readability on any hero image */
.hero-subtitle-badge {
  display: inline-block;
  background: #ffffff;
  color: #16302B;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin: 0 6px 6px 0;
  line-height: 1.3;
}
