/* ============================================================
   Felder Construction — style.css
   Palette: charcoal ink / warm paper / copper accent
   Type: Barlow Condensed (display) + Barlow (body)
   ============================================================ */

:root {
  --ink: #17191d;
  --charcoal: #21252c;
  --charcoal-2: #2a2f38;
  --paper: #f7f5f1;
  --warm: #efe9e0;
  --white: #ffffff;
  --accent: #c07a3e;
  --accent-dark: #a3662f;
  --muted: #5c6270;
  --muted-light: #aab0bc;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(23, 25, 29, 0.12);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

h1, h2, h3, .brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(2rem, 4vw, 2.75rem); text-transform: uppercase; }
h3 { font-size: 1.375rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(255,255,255,0.85); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--ink); }

.text-link {
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(23, 25, 29, 0.97);
  backdrop-filter: blur(6px);
  color: var(--white);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.35); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.brand-name strong { color: var(--accent); font-weight: 700; }
.brand-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.main-nav { display: flex; gap: 1.75rem; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-light);
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }

.header-cta { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/hero-master-bath.webp") center 35% / cover no-repeat;
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(23,25,29,0.92) 0%, rgba(23,25,29,0.72) 45%, rgba(23,25,29,0.35) 100%);
}
.hero-content { position: relative; padding-block: 5rem; max-width: 1160px; }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  text-transform: uppercase;
  max-width: 15ch;
  margin-bottom: 1.25rem;
}
.hero-sub { font-size: 1.2rem; max-width: 52ch; color: #e8e6e2; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.hero-badges li {
  padding: 1.1rem 2rem 0 0;
  margin-right: 2rem;
  font-size: 0.95rem;
  color: #d8d5d0;
}
.hero-badges strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--white); letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark .section-sub { color: var(--muted-light); }
.section-warm { background: var(--warm); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-sub { color: var(--muted); margin-top: 0.75rem; }

/* ---------- Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(23,25,29,0.18); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.service-body h3 { text-transform: uppercase; letter-spacing: 0.03em; }
.service-body p { color: var(--muted); flex: 1; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  list-style: none;
  counter-reset: step;
}
.process-grid li {
  position: relative;
  padding-top: 1.5rem;
  border-top: 2px solid var(--accent);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.process-grid h3 { text-transform: uppercase; margin-bottom: 0.4rem; }
.process-grid p { color: var(--muted-light); font-size: 1rem; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid #d5d0c8;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.gallery-item.hidden { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(23,25,29,0.88));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.gallery-item .cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-caption { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; text-align: center; font-style: italic; }
.about-copy p { margin-bottom: 1.1rem; color: #3d4149; }

.team-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 2rem;
  margin: 1.5rem 0;
}
.team-list li {
  padding-left: 0.9rem;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}
.team-list strong { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.02em; }
.team-list span { font-size: 0.92rem; color: var(--muted); }

.about-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.badge {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card p { color: #3d4149; flex: 1; }
.review-card footer { color: var(--muted); font-size: 0.95rem; }
.review-card footer strong { color: var(--ink); }
.stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 0.15em; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-info > p { color: var(--muted-light); margin-bottom: 1.75rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.15rem; margin-bottom: 2rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 0.9rem; color: #e3e0db; }
.contact-list svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--accent); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact-list small { color: var(--muted-light); }

.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
  line-height: 0;
  overflow: visible;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social-row a svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
  position: static;
  flex: 0 0 auto;
  pointer-events: none;
}
.social-row a svg,
.social-row a svg path {
  fill: #ffffff !important;
  stroke: none !important;
  color: #ffffff !important;
}
.social-row a:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.social-row a:hover svg,
.social-row a:hover svg path {
  fill: #ffffff !important;
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.contact-form h3 { text-transform: uppercase; margin-bottom: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { font-weight: 600; font-size: 0.92rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #d8d4cc;
  border-radius: 6px;
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192,122,62,0.18);
}
.contact-form textarea { resize: vertical; }
.form-note { margin-top: 0.85rem; font-size: 0.95rem; min-height: 1.4em; }
.form-note.ok { color: #2e7d32; }
.form-note.err { color: #b3261e; }
.form-note a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Contact form tabs + phone scheduler ---------- */
.form-tabs {
  display: flex;
  gap: 0.35rem;
  margin: -0.25rem 0 1.25rem;
  padding: 0.25rem;
  background: var(--warm);
  border-radius: 8px;
}
.form-tab {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 0.5rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.form-tab:hover { color: var(--ink); }
.form-tab.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(23, 25, 29, 0.08);
}

.schedule-widget h3 { text-transform: uppercase; margin-bottom: 0.5rem; }
.schedule-intro { color: var(--muted); margin-bottom: 0.35rem; font-size: 0.98rem; }
.schedule-hours {
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.schedule-step { margin-bottom: 1.35rem; }
.schedule-step-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.schedule-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.schedule-day-label { font-weight: 500; color: var(--muted); font-size: 0.95rem; }
.schedule-days {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
  gap: 0.45rem;
  max-height: 16rem;
  overflow-y: auto;
  padding: 0.15rem;
}
.schedule-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.55rem 0.25rem;
  border: 1.5px solid #d8d4cc;
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.schedule-day:hover:not(:disabled) {
  border-color: var(--accent);
  background: #fff;
}
.schedule-day.is-selected {
  border-color: var(--accent);
  background: rgba(192, 122, 62, 0.12);
  box-shadow: 0 0 0 2px rgba(192, 122, 62, 0.25);
}
.schedule-day.is-closed {
  opacity: 0.45;
  cursor: not-allowed;
}
.schedule-day .sd-wd {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.schedule-day .sd-dt { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.schedule-day .sd-meta { font-size: 0.72rem; color: var(--accent-dark); }
.schedule-day.is-closed .sd-meta { color: var(--muted); }

.schedule-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.45rem;
  max-height: 14rem;
  overflow-y: auto;
}
.schedule-slot {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 0.35rem;
  border: 1.5px solid #d8d4cc;
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.schedule-slot:hover {
  border-color: var(--accent);
  background: #fff;
}
.schedule-slot.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.schedule-selected {
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: rgba(192, 122, 62, 0.1);
  border-radius: 6px;
}
.schedule-loading, .schedule-empty {
  color: var(--muted);
  font-size: 0.95rem;
  grid-column: 1 / -1;
}
.schedule-empty a { color: var(--accent-dark); font-weight: 600; }
.schedule-success h3 { color: #2e7d32; margin-bottom: 0.5rem; }
.schedule-success p { margin-bottom: 0.75rem; color: var(--muted); }
.schedule-success a { color: var(--accent-dark); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding-block: 3rem; }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.footer-brand strong { color: var(--accent); }

/* ---------- Mobile call CTA ---------- */
.mobile-call-cta {
  display: none;
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 90;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(300px, 82vw);
    flex-direction: column;
    gap: 0;
    background: var(--charcoal);
    padding: 1rem 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.3);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 0.9rem 1.5rem; font-size: 1.15rem; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .mobile-call-cta { display: flex; }
  body { padding-bottom: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-badges li { padding-right: 1.25rem; margin-right: 1.25rem; }
}

/* ---------- Chat widget ---------- */
.chat-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 95;
}

.chat-launcher {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.chat-launcher:hover { background: var(--accent-dark); transform: scale(1.05); }

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 350px;
  max-width: calc(100vw - 2.5rem);
  height: 470px;
  max-height: 72vh;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chat-in 0.2s ease;
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--ink);
  color: var(--white);
}
.chat-header-text strong { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.03em; }
.chat-header-text span { font-size: 0.8rem; color: var(--muted-light); }
.chat-close {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.chat-close:hover { color: var(--accent); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--paper);
}

.chat-msg {
  max-width: 84%;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.chat-msg.bot {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid #e4e0d9;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-msg a { color: var(--accent-dark); font-weight: 600; }

.chat-msg.typing { display: inline-flex; gap: 4px; align-items: center; }
.chat-msg.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a9a49b;
  animation: chat-blink 1s infinite;
}
.chat-msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-blink {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: var(--paper);
}
.chat-chips:empty { padding: 0; }
.chat-chip {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--white);
  color: var(--accent-dark);
  cursor: pointer;
  transition: all 0.15s ease;
}
.chat-chip:hover { background: var(--accent); color: var(--white); }

.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  background: var(--white);
  border-top: 1px solid #e4e0d9;
}
.chat-input input {
  flex: 1;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid #d8d4cc;
  border-radius: 6px;
}
.chat-input input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 122, 62, 0.18);
}
.chat-input button {
  width: 42px;
  flex-shrink: 0;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.chat-input button:hover { background: var(--accent-dark); }

@media (max-width: 760px) {
  .chat-widget { bottom: 4.9rem; right: 1rem; }
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.why-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.why-card h3 { text-transform: uppercase; margin-bottom: 0.5rem; font-size: 1.25rem; }
.why-card p { color: var(--muted); font-size: 1rem; }

/* ---------- FAQ ---------- */
.container-narrow { width: min(820px, 100% - 3rem); }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--accent-dark); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent);
  transition: transform 0.2s ease;
}
.faq-icon::before { width: 100%; height: 2px; }
.faq-icon::after { width: 2px; height: 100%; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); }
.faq-a { padding: 0 1.4rem 1.2rem; color: var(--muted); }
.faq-a p { max-width: 60ch; }

/* ---------- Service area ---------- */
.service-area { text-align: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.service-area h2 { margin-bottom: 1.5rem; }
.town-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.town-list li {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #e3e0db;
}
.town-list .town-more { border-color: var(--accent); color: var(--accent); }

/* ---------- Footer (grid) ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.9rem;
}
.footer-col a {
  display: block;
  color: var(--muted-light);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.22rem 0;
}
.footer-col a:hover { color: var(--accent); }
.footer-brandcol p { font-size: 0.95rem; margin: 0.75rem 0 1.25rem; max-width: 34ch; }
.footer-col address { font-style: normal; font-size: 0.95rem; line-height: 1.7; }
.footer-hours { font-size: 0.88rem; margin-top: 0.75rem; }
.footer-bottom { padding-top: 1.75rem; text-align: center; font-size: 0.9rem; line-height: 1.7; }
.footer-bottom a { color: var(--accent); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Chat lead card ---------- */
.chat-lead { display: flex; flex-direction: column; gap: 0.35rem; }
.chat-lead strong { font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.95rem; }
.chat-lead span { font-size: 0.92rem; color: var(--muted); }
.chat-lead-btn {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease;
}
.chat-lead-btn:hover { background: var(--accent-dark); }

/* ---------- Service subpages ---------- */
.subhero {
  background: linear-gradient(120deg, var(--ink) 0%, var(--charcoal) 70%, var(--charcoal-2) 100%);
  color: var(--white);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.subhero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  max-width: 20ch;
  margin-bottom: 1rem;
}
.subhero-sub {
  font-size: 1.15rem;
  color: #e3e0db;
  max-width: 62ch;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.split-copy h2 { margin-bottom: 1.25rem; }
.included-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.5rem;
  margin-bottom: 1.5rem;
}
.included-list li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 500;
}
.included-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 2px;
}
.split-note { color: var(--muted); margin-bottom: 1rem; }

.subpage-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.subpage-photos figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.subpage-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.subpage-photos figure:only-child { aspect-ratio: 16 / 9; }
.subpage-photos img { width: 100%; height: 100%; object-fit: cover; }
.subpage-photos figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.75rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(23, 25, 29, 0.85));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.cta-band { background: var(--ink); color: var(--white); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.cta-band p { color: var(--muted-light); }
.cta-band .eyebrow { color: var(--accent); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- Chat nudge ---------- */
.chat-nudge {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: max-content;
  max-width: 240px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.7rem 0.95rem;
  border-radius: 12px 12px 4px 12px;
  border: 1px solid #e4e0d9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  animation: chat-in 0.25s ease;
}
.chat-nudge:hover { border-color: var(--accent); }
.chat-nudge strong { color: var(--accent-dark); }

.chat-launcher.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: chat-pulse 1.6s ease-out infinite;
}
.chat-launcher { position: relative; }
@keyframes chat-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.chat-lead-saved {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.35rem 0 0.5rem;
}
.form-note a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }