/* Henderson Interior Painting — shared stylesheet */

:root {
  --ink: #22282f;
  --sage: #5d7263;
  --sage-light: #74907d;
  --cream: #faf8f3;
  --blush: #c98d6b;
  --text: #2c2f2c;
  --muted: #6c7069;
  --border: #e4dfd4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--sage);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--sage);
}

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

nav.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone:hover {
  background: var(--sage-light);
  text-decoration: none;
  color: #fff;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #edefe6 0%, var(--cream) 100%);
  padding: 64px 20px 56px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 720px;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 24px;
}

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

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--sage);
  color: #fff;
}

.btn-primary:hover {
  background: var(--sage-light);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

/* Hero with photo + lead form (above the fold) */
.hero-with-photo .hero-inner {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-with-photo .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    order: -1;
  }
}

@media (max-width: 600px) {
  .hero-with-photo {
    padding-top: 20px;
    padding-bottom: 24px;
  }
  .hero-photo img {
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
  }
  .hero-with-photo .eyebrow {
    margin-top: 14px;
    margin-bottom: 4px;
  }
  .hero-with-photo h1 {
    font-size: 1.5rem;
    margin: 0 0 8px;
  }
  .hero-with-photo p.lead {
    font-size: 0.95rem;
    margin: 0 0 14px;
  }
  .hero-with-photo .hero-ctas {
    display: none;
  }
  .lead-card {
    padding: 16px;
    margin-top: 14px;
  }
  .lead-card h2 {
    font-size: 1.02rem;
  }
  .lead-card .lead-card-sub {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  .lead-form input {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

.hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(34, 40, 47, 0.18);
  display: block;
}

.lead-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  margin-top: 22px;
  box-shadow: 0 10px 28px rgba(34, 40, 47, 0.08);
}

.lead-card h2 {
  font-size: 1.15rem;
  margin: 0 0 4px;
  color: var(--ink);
}

.lead-card .lead-card-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 16px;
}

.lead-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .lead-form .form-row {
    grid-template-columns: 1fr;
  }
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--cream);
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--sage-light);
  outline-offset: 1px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  margin: 10px 0 0;
  color: var(--sage);
}

.talk-to-alex {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  text-align: center;
}

.talk-to-alex-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.alex-phone-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.alex-phone-row input {
  flex: 1;
}

.alex-phone-row button {
  white-space: nowrap;
  cursor: pointer;
}

.alex-status {
  min-height: 1.2em;
  font-size: 0.88rem;
  margin: 8px 0 0;
  color: var(--muted);
}

/* Page header (non-home pages) */
.page-header {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 20px;
  text-align: left;
}

.page-header .container {
  max-width: 900px;
}

.page-header h1 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.page-header p {
  color: #d4d7cd;
  margin: 0;
  max-width: 680px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #a8ada1;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: #d4d7cd;
}

/* Sections */
section {
  padding: 56px 20px;
}

section.alt {
  background: #edefe6;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  color: var(--ink);
  font-size: 1.7rem;
  margin: 0 0 20px;
}

h3 {
  color: var(--ink);
  font-size: 1.2rem;
  margin: 0 0 10px;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
}

.card h3 {
  color: var(--sage);
}

.card a.card-link {
  font-weight: 700;
  display: inline-block;
  margin-top: 10px;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 760px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
}

ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sage);
  font-weight: 700;
}

/* Location grid on service-areas hub */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.location-grid a {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 700;
}

.location-grid a:hover {
  border-color: var(--sage);
  text-decoration: none;
  color: var(--sage);
}

.location-grid a span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h3 {
  margin: 0 0 8px;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 48px 20px;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: #d4d7cd;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: #c6cabf;
  padding: 44px 20px 26px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

footer.site-footer h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 1rem;
}

footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site-footer li {
  margin-bottom: 8px;
}

footer.site-footer a {
  color: #c6cabf;
}

footer.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #3c434b;
  font-size: 0.85rem;
  color: #99a094;
}

.table-wrap {
  overflow-x: auto;
}

table.compare {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  min-width: 480px;
}

table.compare th,
table.compare td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  font-size: 0.95rem;
}

table.compare th {
  background: #edefe6;
  color: var(--ink);
}

/* Stat list */
ul.stat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.stat-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

ul.stat-list li:last-child {
  border-bottom: none;
}

ul.stat-list strong {
  color: var(--sage);
  display: block;
  font-size: 1.05rem;
}

/* Numbered steps */
ol.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}

ol.steps li {
  counter-increment: step;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 18px 18px 64px;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

ol.steps h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

ol.steps p {
  margin: 0;
  color: var(--muted);
}

/* Contact block */
.contact-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.contact-block a.phone-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sage);
  display: inline-block;
  margin: 6px 0 4px;
}

/* Neighborhood detail card variant used on the service-areas hub note box */
.note-box {
  background: #edefe6;
  border-left: 4px solid var(--sage);
  border-radius: 6px;
  padding: 18px 20px;
  margin-top: 20px;
}

.note-box p {
  margin: 0;
  color: var(--ink);
}

@media (max-width: 640px) {
  section {
    padding: 40px 20px;
  }
}

/* ===== CSS-variable fallbacks (older browsers) ===== */
body {
  color: #2c2f2c;
  color: var(--text, #2c2f2c);
  background: #faf8f3;
  background: var(--cream, #faf8f3);
}

.btn-primary {
  background: #5d7263;
  background: var(--sage, #5d7263);
}

.btn-secondary {
  background: transparent;
  color: #22282f;
  color: var(--ink, #22282f);
  border: 2px solid #22282f;
  border-color: var(--ink, #22282f);
}

.header-phone {
  background: #5d7263;
  background: var(--sage, #5d7263);
}

/* Hero full-bleed background photo */
.hero.hero-with-photo {
  background: linear-gradient(rgba(20, 24, 21, 0.58), rgba(20, 24, 21, 0.72)), url("/assets/hero-home.jpg") center / cover no-repeat;
  background-color: #141815;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero-with-photo .hero-inner { grid-template-columns: 1fr; max-width: 720px; align-items: start; }
.hero-with-photo .hero-photo { display: none !important; }
.hero-with-photo .hero-content .eyebrow { color: #e6cdaf; }
.hero-with-photo .hero-content h1 { color: #ffffff; }
.hero-with-photo .hero-content p.lead { color: rgba(255,255,255,0.92); }
@media (max-width: 600px) {
  .hero.hero-with-photo { padding-top: 22px; padding-bottom: 26px; }
  .hero-with-photo .hero-photo { display: none !important; }
}

/* bug fixes */
.alex-phone-row[hidden]{display:none;}
.form-row.full{grid-template-columns:1fr;}

/* ============ TALK-TO-ALEX STICKY STANDARD 20260901 ============ */
.talk-to-alex-sticky{
  position:fixed; right:18px; bottom:18px; z-index:9999;
  display:inline-block; padding:21px 39px; border-radius:999px;
  background:#c81e1e; color:#ffffff !important; font-weight:800;
  font-size:1.4rem; letter-spacing:.03em; line-height:1;
  text-decoration:none !important; text-transform:uppercase;
  box-shadow:0 10px 30px rgba(200,30,30,.45);
  animation:alexBounce 2.4s ease-in-out infinite;
}
.talk-to-alex-sticky:hover{ background:#a51717; }
@keyframes alexBounce{
  0%,20%,50%,80%,100%{ transform:translateY(0); }
  40%{ transform:translateY(-14px); }
  60%{ transform:translateY(-7px); }
}
@media (prefers-reduced-motion: reduce){ .talk-to-alex-sticky{ animation:none; } }
@media (max-width:640px){ .talk-to-alex-sticky{ right:12px; bottom:12px; padding:16px 28px; font-size:1.15rem; } }
/* demote the header phone from button to plain link — sticky is the one call button per fold */
a.header-phone{ background:transparent !important; border:none !important; box-shadow:none !important; padding:0 !important; }


/* ================= BESPOKE SKIN — OCHRE & BASALT 20260905 =================
   Bespoke per-site skin (feedback_unique_site_designs): basalt slate + ochre on a
   bone paper, geometric/rounded display type and soft radii — deliberately unlike
   the fleet's sage/olive/copper/gold/walnut skins and unlike sellmypropertypro's
   plum-and-serif. All pairs verified WCAG AA before writing.
   ------------------------------------------------------------------------------ */
:root {
  --ink: #23292E;
  --sage: #33424B;        /* primary (token name kept for base-sheet compatibility) */
  --sage-light: #4A5E6A;
  --cream: #F4F1EA;
  --blush: #8A5E14;
  --text: #2A3035;
  --muted: #5E666C;
  --border: #E0DACE;
  --ochre-deco: #C08A22;
}

/* --- display typography: geometric/rounded sans, generous tracking --- */
h1, h2, h3, h4,
.logo, .page-header h1, .lead-card h2, .hero h1 {
  font-family: "Avenir Next", Avenir, "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
}
.hero h1 { letter-spacing: -0.018em; line-height: 1.12; }
h2 { letter-spacing: -0.008em; line-height: 1.22; }
h3 { letter-spacing: 0; }
.logo { letter-spacing: -0.015em; }

/* --- shape language: soft, generous radii (the opposite of the plum site) --- */
.btn, .btn-primary, .btn-secondary { border-radius: 8px; }
.lead-form input, .lead-form textarea, .lead-form select,
.alex-phone-row input { border-radius: 8px; }
.card, .lead-card, .contact-block, .notice { border-radius: 12px; }
.card { border-top: 3px solid var(--ochre-deco); }

/* --- eyebrow: a horizon rule UNDER the label --- */
.eyebrow {
  display: inline-block;
  border-bottom: 2px solid var(--ochre-deco);
  padding-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blush);
  background: none;
}
.hero .eyebrow { color: #F3DCA8; border-bottom-color: #E0B45C; }

/* --- full-width form-row modifier (base .form-row is a 2-col grid) --- */
.lead-form .form-row.full { grid-template-columns: 1fr; }

/* --- hero scrim: this hero photo is bright and low-contrast, so it needs a
       heavier gradient than the fleet default to keep white text at AA --- */
.hero.hero-with-photo {
  background: linear-gradient(rgba(24, 30, 34, 0.66), rgba(24, 30, 34, 0.80)),
              url("/assets/hero-home.jpg") center / cover no-repeat;
  background-color: #23292E;
}

/* --- callout used on the guide pages --- */
.notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--ochre-deco);
  background: #FBF9F4;
  padding: 18px 20px;
  margin: 22px 0;
}
.notice p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.notice strong { color: var(--ink); }

/* --- FLEET BUG FIX 1: the sticky-button standard sets .header-phone background to
       transparent but leaves the base sheet's color:#fff, which is invisible on a
       light header. See project_microsite_playbook. --- */
a.header-phone {
  color: var(--ink) !important;
  font-weight: 700;
  text-decoration: none !important;
}
a.header-phone:hover {
  color: var(--sage) !important;
  text-decoration: underline !important;
}

/* --- FLEET BUG FIX 2: .talk-to-alex-btn{display:inline-flex} overrides the
       `hidden` attribute lead-widget.js sets on it, so the button stayed visible
       next to the callback row it should have been replaced by. --- */
.talk-to-alex-btn[hidden] { display: none !important; }

/* --- hero scrim, refined: a DIRECTIONAL gradient instead of a flat wash, so the
   parcel photo is actually visible on the right while the text column on the left
   keeps a dark enough backing for white text at AA. Worst case (bright sky behind
   the headline) composites to roughly #2D3338, which is >12:1 against white. --- */
.hero.hero-with-photo {
  background: linear-gradient(100deg,
                rgba(24, 30, 34, 0.90) 0%,
                rgba(24, 30, 34, 0.82) 42%,
                rgba(24, 30, 34, 0.55) 72%,
                rgba(24, 30, 34, 0.34) 100%),
              url("/assets/hero-home.jpg") center / cover no-repeat;
  background-color: #181E22;
}
@media (max-width: 900px) {
  /* narrow screens: text spans the full width, so go back to a flat wash */
  .hero.hero-with-photo {
    background: linear-gradient(rgba(24, 30, 34, 0.80), rgba(24, 30, 34, 0.88)),
                url("/assets/hero-home.jpg") center / cover no-repeat;
    background-color: #181E22;
  }
}
