/* =====================================================
   Jason's Chimney Sweep — site styles
   Palette: cream, deep brown, brick red
   ===================================================== */

:root {
  --cream: #F5E9D7;
  --cream-soft: #FAF3E7;
  --cream-dark: #EAD5B8;
  --ink: #2B1F18;
  --ink-soft: #4A3A30;
  --brick: #A03A2D;
  --brick-dark: #7E2B22;
  --brick-light: #C8503F;
  --tan: #D4A574;
  --gold: #E8B873;
  --line: rgba(43, 31, 24, 0.12);
  --shadow-sm: 0 2px 8px rgba(43, 31, 24, 0.08);
  --shadow-md: 0 8px 24px rgba(43, 31, 24, 0.12);
  --shadow-lg: 0 20px 60px rgba(43, 31, 24, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --max-w: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--brick); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brick-dark); }

h1, h2, h3, h4 {
  font-family: 'Bree Serif', Georgia, serif;
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }

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

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

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 .6em;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ================= TOP BAR ================= */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: .88rem;
}
.topbar-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 24px;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream-dark);
}
.topbar-item svg { color: var(--gold); }
.topbar-phone {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  font-weight: 700;
  letter-spacing: .02em;
}
.topbar-phone:hover { color: var(--gold); }
.topbar-phone svg { color: var(--gold); }

/* ================= HEADER ================= */
.site-header {
  background: var(--cream-soft);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}
.brand-logo {
  height: 64px;
  width: auto;
}
.primary-nav { display: flex; align-items: center; }
.nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
}
.nav-list a:hover {
  background: var(--cream);
  color: var(--brick);
}
.nav-cta {
  background: var(--brick);
  color: var(--cream-soft) !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--brick-dark) !important;
  color: var(--cream-soft) !important;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brick);
  color: var(--cream-soft);
  border-color: var(--brick);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brick-dark);
  border-color: var(--brick-dark);
  color: var(--cream-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream-soft);
}
.btn-block { width: 100%; }

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 184, 115, 0.25), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(160, 58, 45, 0.10), transparent 55%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-top: 0; }
.hero .lede {
  font-size: 1.18rem;
  max-width: 560px;
  color: var(--ink-soft);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}
.trust-row {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-row li { display: inline-flex; align-items: center; gap: 6px; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brick);
  color: var(--cream-soft);
  font-weight: 800;
  font-size: .8rem;
  flex-shrink: 0;
}

.hero-art { display: flex; justify-content: center; }
.hero-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(-1.5deg);
}
.hero-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.hero-card-badge {
  position: absolute;
  bottom: -22px;
  left: -18px;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: rotate(3deg);
  text-align: center;
}
.hero-card-badge strong {
  display: block;
  font-family: 'Alfa Slab One', serif;
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--gold);
}
.hero-card-badge span {
  display: block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-dark);
}

/* ================= SECTIONS ================= */
.section { padding: 90px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }

.grid { display: grid; gap: 24px; }

/* ================= SERVICES ================= */
.services { background: var(--cream-soft); }
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brick);
}
.service-icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brick);
  color: var(--cream-soft);
  margin-bottom: 18px;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { color: var(--ink); }
.service-card p { margin-bottom: 0; }

/* ================= ABOUT ================= */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--cream-soft);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 8px solid var(--cream-soft);
  pointer-events: none;
}
.about-photo-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.check-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* ================= WHY ================= */
.why { background: var(--ink); color: var(--cream); }
.why h2, .why .eyebrow { color: var(--cream-soft); }
.why .eyebrow { color: var(--gold); }
.why .section-sub { color: var(--cream-dark); }
.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.why-card {
  background: rgba(245, 233, 215, 0.04);
  border: 1px solid rgba(245, 233, 215, 0.10);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.why-card:hover {
  background: rgba(245, 233, 215, 0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.why-num {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: .03em;
}
.why-card h3 { color: var(--cream-soft); margin-bottom: 8px; }
.why-card p { color: var(--cream-dark); margin: 0; }

/* ================= AREA ================= */
.area { background: var(--cream-soft); }
.area-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.area-list {
  list-style: none;
  margin: 0; padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.area-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.area-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brick);
}

/* ================= CONTACT ================= */
.contact {
  background:
    linear-gradient(135deg, rgba(160, 58, 45, 0.95), rgba(126, 43, 34, 0.95)),
    radial-gradient(circle at 20% 80%, var(--gold), transparent 60%);
  color: var(--cream-soft);
}
.contact h2, .contact .eyebrow { color: var(--cream-soft); }
.contact .eyebrow { color: var(--gold); }
.contact p { color: var(--cream-dark); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-card {
  background: var(--cream-soft);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-of-type { border-bottom: 0; padding-bottom: 22px; }
.contact-row svg { color: var(--brick); flex-shrink: 0; margin-top: 4px; }
.contact-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.contact-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
a.contact-value:hover { color: var(--brick); }

/* ================= FOOTER ================= */
.site-footer { background: var(--ink); color: var(--cream-dark); }
.footer-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px 40px;
}
.footer-logo {
  height: 90px;
  width: auto;
  margin-bottom: 14px;
}
.footer-brand p { color: var(--cream-dark); max-width: 360px; margin: 0; }
.footer-col h4 { color: var(--cream-soft); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; color: var(--cream-dark); }
.footer-col a { color: var(--cream-dark); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(245, 233, 215, 0.10);
  padding: 18px 0;
  font-size: .88rem;
  color: var(--cream-dark);
}
.footer-bottom p { margin: 0; color: inherit; }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero { padding: 50px 0 70px; }
  .hero-inner,
  .about-grid,
  .area-grid,
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .hero-card { transform: rotate(0); max-width: 380px; }
  .hero-card-badge { left: auto; right: -10px; bottom: -16px; }
  .footer-row { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .topbar-row { font-size: .82rem; gap: 14px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: var(--shadow-md);
    transform: translateY(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
  }
  .nav-list.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-list a { padding: 12px 14px; }
  .nav-cta { text-align: center; }
  .topbar-phone { margin-left: 0; }
  .area-list { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .brand-logo { height: 52px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2.2rem; }
  .btn { padding: 12px 22px; font-size: .95rem; }
  .topbar-row { justify-content: center; }
  .topbar-phone { margin-left: 0; }
}
