/* PRIVATE PREVIEW — Essex Cleaners. Original design, static HTML + CSS only.
   No external fonts, scripts, images or tracking. Mobile-first. */

:root {
  --ink: #12263a;
  --ink-soft: #34475a;
  --muted: #4b5b6b;
  --teal: #086f6b;
  --teal-dark: #065452;
  --teal-wash: #e7f2f0;
  --rust: #b4472b;
  --rust-dark: #8f351e;
  --paper: #f7f6f2;
  --surface: #ffffff;
  --line: #d6dde2;
  --shadow: 0 12px 32px rgba(18, 38, 58, 0.08);
  --radius: 14px;
  --measure: 68ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; max-width: var(--measure); }
ul, ol { max-width: var(--measure); padding-left: 1.25rem; }
li { margin-bottom: 0.45rem; }

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 4px;
}

img, svg { max-width: 100%; }

.wrap { width: min(100% - 2.5rem, 1120px); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.7rem 1rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; color: #fff; }

.preview-banner {
  background: #3c2a12;
  color: #fff5e6;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0;
  text-align: center;
}
.preview-banner strong { color: #ffd79a; }

.site-header { background: var(--ink); color: #fff; }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: #fff; text-decoration: none; font-family: Georgia, serif;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em;
}
.brand:hover { color: #fff; }
.brand-mark { flex: none; width: 34px; height: 34px; }
.brand small {
  display: block; font-family: inherit; font-size: 0.68rem;
  font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  color: #bcd5d2;
}
.header-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.call-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: #fff; font-weight: 700; text-decoration: none;
  padding: 0.5rem 0.85rem; border: 1px solid #6c8a99; border-radius: 999px;
  font-size: 0.9rem;
}
.call-link:hover { background: #1d3a55; color: #fff; }
.site-nav { border-top: 1px solid #2b4359; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0; max-width: none;
  display: flex; flex-wrap: wrap; gap: 0 1.4rem;
}
.site-nav a {
  display: block; padding: 0.7rem 0; color: #dce9ee;
  text-decoration: none; font-size: 0.94rem; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: #fff; border-bottom-color: #6c8a99; }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: #e2886f; }

.eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--teal-dark); margin: 0 0 0.85rem;
}
.lead { font-size: clamp(1.05rem, 2.4vw, 1.32rem); color: var(--ink-soft); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.placeholder {
  border-bottom: 1px dashed var(--rust);
  color: var(--rust-dark);
  font-weight: 700;
}

.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 2.5rem; }
.hero-inner { display: grid; gap: 2rem; }
.hero h1 { max-width: 20ch; }
.hero-panel { background: var(--teal-wash); border-radius: var(--radius); padding: 1.4rem; }
.hero-panel h2 { font-size: 1.25rem; }
.hero-panel p:last-child { margin-bottom: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.75rem 1.25rem;
  border-radius: 8px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem;
}
.btn-primary { background: var(--rust); color: #fff; border-color: var(--rust); }
.btn-primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--teal-wash); color: var(--ink); }

.section { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 1.8rem; }
.section-head p { color: var(--muted); }

.card-grid { display: grid; gap: 1rem; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow);
}
.section-alt .card { box-shadow: none; }
.card h3 { margin-bottom: 0.35rem; }
.card p { margin-bottom: 0.75rem; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  display: inline-block; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.1em; color: var(--teal-dark); margin-bottom: 0.5rem;
}
.card a { font-weight: 700; }

.two-col { display: grid; gap: 1.5rem; align-items: start; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 10px; height: 10px; background: var(--teal);
  border-radius: 2px; transform: rotate(45deg);
}
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li {
  margin: 0; background: var(--teal-wash); color: var(--teal-dark);
  border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.9rem; font-weight: 600;
}

.nap {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 1.5rem; margin-block: 1.5rem;
}
.nap h2, .nap h3 { color: #fff; }
.nap a { color: #bfe5df; }
.nap a:hover { color: #fff; }
.nap address { font-style: normal; }
.nap .placeholder { color: #ffd79a; border-bottom-color: #ffd79a; }
.nap-row { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.nap-row:last-child { margin-bottom: 0; }
.nap-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 800; color: #bcd5d2;
}

.form-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.form-grid { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.3rem; font-size: 0.94rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 0.65rem 0.75rem;
  border: 2px solid #9aa9b5; border-radius: 8px;
  background: #fff; color: var(--ink); font: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.82rem; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 0.2rem; flex: none; accent-color: var(--teal); }
.consent label { font-size: 0.92rem; }
.form-status {
  margin-top: 1rem; padding: 0.8rem 1rem; border-left: 4px solid var(--rust);
  background: #fff4ed; color: #6d2b16; font-weight: 700; display: none;
}
.form-status.is-visible { display: block; }
.demo-note {
  background: #fff4ed; border: 1px solid #e3b9a7; color: #6d2b16;
  border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 1.2rem;
  font-size: 0.92rem;
}

.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dce9ee; }
.cta-band .eyebrow { color: #bfe5df; }

/* Placeholder text on dark surfaces must stay legible. */
.site-header .placeholder,
.cta-band .placeholder,
.site-footer .placeholder { color: #ffd79a; border-bottom-color: #ffd79a; }
.cta-band .btn-secondary { color: #fff; border-color: #fff; }
.cta-band .btn-secondary:hover { background: #fff; color: var(--ink); }
.cta-band .btn-secondary:hover .placeholder { color: var(--rust-dark); border-bottom-color: var(--rust); }

.site-footer { background: #0b1b2b; color: #dce9ee; padding: 2rem 0 2.5rem; font-size: 0.92rem; }
.site-footer h2 { color: #fff; font-size: 1.1rem; font-family: inherit; }
.site-footer a { color: #bfe5df; }
.site-footer .footer-grid { display: grid; gap: 1.5rem; }
.site-footer .footer-note { border-top: 1px solid #294156; margin-top: 1.8rem; padding-top: 1rem; color: #a9bfcc; }

@media (min-width: 680px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-full { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.35fr 0.65fr; align-items: center; gap: 3rem; }
  .hero-panel { padding: 2rem; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 3rem; }
  .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
  .cta-inner p { margin-bottom: 0; }
  .site-footer .footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
}

@media (max-width: 400px) {
  .brand { font-size: 1rem; }
  .header-inner { gap: 0.5rem; }
  .site-nav ul { gap: 0 0.9rem; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
