/* ============================================
   Donohue Handyman: white, blue-grey hero, steel blue accent
   Headings: Sora (Google Fonts). Body: system font.
   ============================================ */
:root {
  --nav-height: 72px;

  /* Palette (Jim, 2026-11-18): white page, light blue-grey hero, steel blue accent */
  --paper: #ffffff;          /* page background */
  --paper-alt: #ffffff;      /* alternating sections stay white */
  --hero: #f2f4f5;           /* light blue-grey (now unused on pages; heroes use the cream below) */
  --menu-tint: #f9f8f5;      /* same cream as the heroes and panels (Jim, 2026-11-24) */
  --ink: #1a1917;            /* near-black charcoal text */
  --ink-soft: #666666;       /* muted body text */
  --accent: #3a57fc;         /* primary blue (was steel blue #0f5f86 until 2026-11-24) */
  --accent-soft: rgba(58, 87, 252, .10);
  --charcoal: #1a1917;       /* buttons, nav, footer */
  --charcoal-hover: #2c2b29;
  --line: rgba(26, 25, 23, .10);

  /* aliases kept so existing rules stay readable */
  --green: var(--charcoal);
  --green-dark: var(--charcoal);
  --copper: var(--accent);
  --copper-soft: var(--accent-soft);

  --bs-primary: #1a1917;
  --bs-primary-rgb: 26, 25, 23;

  --card-bg: #ffffff;
  --card-border: rgba(26, 25, 23, .10);

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif; /* site-wide heading font (Jim, 2026-11-21); was Fraunces */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* visitor's own system font, no download */
}

html, body { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  padding-top: var(--nav-height);
  scroll-padding-top: calc(var(--nav-height) + 20px);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
}
/* Page heading: every H1 outside a hero is a plain <h1>, one size site-wide (Jim, 2026-11-21).
   Category pages keep <h1 class="hero-title"> inside the hero, which overrides this. */
h1 {
  color: var(--ink); /* back to the site's black (Jim, 2026-11-21); was primary blue */
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  letter-spacing: -.01em;
  margin-bottom: 1rem;
}
/* Section heading: every H2 is a plain <h2>, one size (Jim, 2026-11-21) */
h2 {
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(1.625rem, 2.4vw, 2rem); /* 32px desktop: clearly below the 45.6px H1, above the 24px H3 */
  letter-spacing: -.01em;
  margin-bottom: .5rem;
}
p + h2, ul + h2 { margin-top: 1.5rem; } /* a section heading that follows body text gets room above */
/* Tile heading: every H3 is a plain <h3>, one size */
h3 {
  font-size: calc(1.25rem + 4px);
  font-weight: 600;
  letter-spacing: .1px;
  margin-bottom: .5rem;
}
h5 { font-weight: 600; letter-spacing: .1px; }

/* ---------- Navbar (hero bg darkened 20%) ---------- */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--line);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.navbar .nav-link {
  color: rgba(26,25,23,.75);
  font-weight: 500;
  letter-spacing: .02em;
  font-size: calc(.85rem + 4px);
  margin-left: 11px;
  margin-right: 11px;
  padding: calc(.45rem - 2px) 1.05rem calc(.45rem + 2px) !important; /* pill sits 2px lower around the text (Jim, 2026-11-21) */
  position: relative;
  top: 2px; /* keeps the text where it was */
  border-radius: 999px;
  transition: background-color .18s ease, color .18s ease;
}
.navbar .nav-link:hover {
  color: var(--accent); /* hover matches the current-page pill: blue text on hero grey (Jim, 2026-11-23) */
  background-color: var(--menu-tint); /* hover: warm cream tint (Jim, 2026-11-24); was the blue-grey hero */
}
.navbar .nav-link.active {
  color: var(--accent);
  background-color: var(--menu-tint); /* current-page pill: warm cream tint (Jim, 2026-11-24) */
}
.navbar-logo {
  width: 232px;
  height: auto;
}
@media (max-width: 575.98px) {
  .navbar-logo { width: 176px; }
}
.navbar-toggler { color: var(--ink) !important; }

/* Services dropdown */
.navbar .dropdown-toggle::after {
  content: "";
  border: none;
  width: .5em;
  height: .5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  vertical-align: middle;
  margin-top: -4px;
  margin-left: calc(.255em + 3px);
}
.navbar .dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: .75rem;
  box-shadow: 0 12px 32px rgba(26,25,23,.16);
  padding: .75rem;
  min-width: 240px;
  margin-top: .5rem;
}
.navbar .dropdown-item {
  color: var(--ink);
  font-weight: 500;
  font-size: 1.02rem;
  border-radius: .5rem;
  padding: .7rem 1rem;
  margin-bottom: .35rem;
}
.navbar .dropdown-menu li:last-child .dropdown-item { margin-bottom: 0; }
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--menu-tint); /* dropdown hover: warm cream tint */
  color: var(--accent);
}
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background: var(--menu-tint); /* dropdown current page: warm cream tint */
  color: var(--accent);
}
.navbar .dropdown-divider {
  border-color: var(--line);
  opacity: 1;
  margin: .35rem .5rem .7rem;
}

@media (max-width: 991.98px) {
  #navContent {
    margin-top: 24px;
    text-align: center;
  }
  #navContent .nav-link {
    display: block;
    margin: 10px 0;
    font-size: 1rem;
  }
  .hero .container { padding-left: 12px !important; padding-right: 12px !important; }
  .hero .row { --bs-gutter-x: 0 !important; }
  .hero .container.content .col-lg-6 { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  background: var(--hero);
}
.hero .content { position: relative; z-index: 2; }
/* Inner pages: hero as a rounded panel 30px in from the window edges, capped at 1440px, like the homepage (Jim, 2026-11-21).
   The homepage (.hero-e7ebed) keeps its own rules in index.html. */
.hero:not(.hero-e7ebed) { background: transparent; margin-top: 30px; overflow: visible; }
.hero:not(.hero-e7ebed)::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(30px, calc((100% - 1440px) / 2)); right: max(30px, calc((100% - 1440px) / 2)); background: var(--hero); border-radius: 40px; z-index: 0; }
/* Space above the hero photo matches the homepage on desktop: 86.7px from the panel top (Jim, 2026-11-21).
   Same 16px top padding as the homepage hero; the photo is pinned to the top of its row, not centered. */
@media (min-width: 992px) {
  .hero:not(.hero-e7ebed) { padding-top: 16px; padding-bottom: 38.7px; } /* bottom: 38.7 + 48 container = 86.7px under the photo, same as above it (Jim, 2026-11-21) */
  .hero:not(.hero-e7ebed) .container.content.py-5 { padding-bottom: 48px !important; }
  /* The photo column spans the full row, so the photo always starts 86.7px below the panel top and ends 86.7px above its bottom.
     Where the text beside it is taller than the photo, the photo grows to fit and crops slightly at the sides. */
  .hero:not(.hero-e7ebed) .row > [class*="col-"]:has(> .hero-visual) { align-self: stretch; padding-top: 22.7px; display: flex; flex-direction: column; padding-left: calc(var(--bs-gutter-x) * .5 + 75px); } /* +75px between the text and the photo (Jim, 2026-11-21) */
  .hero:not(.hero-e7ebed) .row > [class*="col-"] > .hero-visual { flex: 1 1 auto; display: flex; flex-direction: column; }
  .hero:not(.hero-e7ebed) .row > [class*="col-"] > .hero-visual img { flex: 1 1 auto; object-fit: cover; }
}
@media (max-width: 575.98px) {
  .hero:not(.hero-e7ebed)::before { left: 12px; right: 12px; border-radius: 28px; }
  .hero:not(.hero-e7ebed) .container { padding-left: 28px !important; padding-right: 28px !important; }
}

.eyebrow { /* plain line matching the homepage .hero-kicker, no pill (Jim, 2026-11-21) */
  display: block; /* plain text flow, so a long page title wraps like a sentence (Jim, 2026-11-21) */
  line-height: 1.65;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.eyebrow a { /* breadcrumb links in primary blue, no underline (Jim, 2026-11-24) */
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}
.eyebrow i { margin-right: .5rem; }
.eyebrow a:hover,
.eyebrow a:focus-visible {
  color: var(--ink); /* hover: blue to near-black (Jim, 2026-11-24) */
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero:not(.hero-e7ebed) .hero-title { color: #3a57fc; } /* inner-page hero titles in the primary blue (Jim, 2026-11-21); homepage unchanged */
/* Service-page hero titles are a plain <p class="hero-title">; the page's H1 sits below the hero. Smaller than the category-page H1 titles. */
.hero:not(.hero-e7ebed) p.hero-title {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: calc(1.265em + 4.4px); /* 10% more leading (Jim, 2026-11-24); was calc(1.15em + 4px) */
}
.hero-title em,
.hero-title span {
  font-style: normal;
  color: var(--accent);
}

.hero-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(58,87,252,.4);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.hero-link:hover { color: var(--ink); border-color: var(--ink); }

.hero-visual {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .5rem;
  padding: 10px;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .25rem;
  object-fit: cover;
}
/* ---------- Buttons ---------- */
.btn-cta {
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: .75rem 1.7rem;
  transition: background .2s ease, transform .15s ease;
}
.btn-cta:hover, .btn-cta:focus {
  background: var(--charcoal-hover);
  border-color: var(--charcoal-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-cta:active {
  transform: translateY(1px);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.hero-compact-follow {
  padding-bottom: 2.25rem;
}
.hero-compact-follow .content.py-5 {
  padding-bottom: 1.5rem !important;
}
.section-compact-top {
  padding-top: 54px; /* +10px between the hero and the H1 (Jim, 2026-11-21); was 44px */
}
#services {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-alt {
  background: var(--paper-alt); /* old top and bottom rules removed (Jim, 2026-11-24) */
}
.map-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border-radius: .75rem;
  border: 1px solid var(--card-border);
  background: #fff;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section-intro {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

/* ---------- Cards ---------- */
.card, .card-2 {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .75rem;
  color: var(--ink);
  transition: transform .25s ease, border-color .25s ease;
}
.card-2 { box-shadow: none; }
.card-2:hover {
  border-color: rgba(26,25,23,.22);
  transform: translateY(-2px);
}
.card-2.card-static:hover {
  border-color: var(--card-border);
  transform: none;
}
a.service-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.service-card-link:hover,
a.service-card-link:focus-visible {
  color: inherit;
  border-color: rgba(58,87,252,.45);
}

.card-body-text { color: var(--ink-soft); font-size: 1.02rem; }

.service-list {
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: .97rem;
}
.service-list li { margin-bottom: 7px; }
.service-list li::marker { color: var(--ink); }
.service-card-title-link,
.service-list-link {
  position: relative;
  z-index: 2;
  color: inherit;
  text-decoration: none;
}
.service-list-link {
  color: var(--ink);
  text-decoration: none;
}
.service-list-link:hover,
.service-list-link:focus-visible,
.service-card-title-link:hover,
.service-card-title-link:focus-visible {
  color: rgba(26, 25, 23, 0.5);
}

.check-list { color: var(--ink-soft); font-size: 1.02rem; }
.check-list i { color: var(--accent); }

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  display: inline-grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid rgba(58,87,252,.22);
}
.icon-badge i.bi { font-size: 1.48rem; line-height: 1; }
.icon-badge svg { width: 1.48rem !important; height: 1.48rem !important; }
.object-fit-cover { object-fit: cover; }

/* ---------- Gallery ---------- */
#gallery .card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 8px;
  cursor: pointer;
}
#gallery .card:hover {
  transform: translateY(-4px) rotate(-.4deg);
  border-color: rgba(26,25,23,.22);
}
#gallery .card img {
  transition: transform .25s ease;
  display: block;
  width: 100%;
  height: auto;
  border-radius: .25rem;
}

/* ---------- About ---------- */
.about-img-container {
  max-width: 100%;
  margin: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .5rem;
  padding: 10px;
  overflow: hidden;
}
.about-img-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: .25rem;
}
@media (max-width: 991px) {
  .about-img-container { max-width: none; width: 100%; margin: 0; transform: none; }
}

/* ---------- Service page photos ---------- */
.service-photo {
  margin: 0;
  overflow: hidden;
  border-radius: .75rem;
  border: 1px solid var(--card-border);
  background: #fff;
}
.service-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* ---------- Forms ---------- */
.form-label { font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.label-optional { color: var(--ink-soft); font-weight: 400; }
.form-control, .form-select {
  background: #fff;
  border-color: rgba(26,25,23,.18);
  color: var(--ink);
  border-radius: .5rem;
}
.form-control:focus {
  background: #fff;
  border-color: var(--charcoal);
  box-shadow: 0 0 0 .2rem rgba(26,25,23,.12);
  color: var(--ink);
}
.form-control::placeholder { color: var(--ink-soft); }
.cf-turnstile { display: inline-block; width: 300px; max-width: 300px; }

.contact-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none; /* no underline or bottom border (Jim, 2026-11-24) */
}
.contact-link:hover { color: var(--ink); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: var(--charcoal);
}

/* ---------- Modal / Lightbox (kept dark for viewing photos) ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: max(50px, 8vh);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #1c1913;
}
.modal-content {
  position: relative;
  background-color: #1c1913;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  border-radius: .5rem;
  overflow: hidden;
}
.close {
  color: #f2f4f5;
  position: absolute;
  top: 23px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  transition: .3s;
  cursor: pointer;
  z-index: 1000;
}
.close:hover, .close:focus {
  color: #7cc0e3;
  text-decoration: none;
}
.mySlides { display: none; }

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 80px;
  height: 80px;
  color: #f2f4f5;
  font-weight: 900;
  font-size: 29px;
  border: none;
  border-radius: 50%;
  background-color: rgba(0,0,0,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1001;
  transition: background-color .2s ease, transform .15s ease, color .2s ease;
  transform: translateY(-50%);
}
.prev i, .next i { pointer-events: none; }
.next { right: 0; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,.8); color: #7cc0e3; }
.prev:active, .next:active { transform: translateY(-50%) scale(.97); }
.prev:focus-visible, .next:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
@media (max-width: 767.98px) {
  .prev, .next { width: 56px; height: 56px; font-size: 20px; }
}
/* ---------- Phone (header and footer) ---------- */
.nav-phone {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: .5rem;
  margin-right: .5rem;
  padding: .45rem 1.05rem;
  border-radius: 999px;
  background-color: var(--charcoal);
  color: #fff;
  font-weight: 600;
  font-size: calc(.85rem + 4px);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease;
}
.nav-phone:hover,
.nav-phone:focus-visible {
  background-color: var(--charcoal-hover);
  color: #fff;
}
@media (max-width: 575.98px) {
  /* Phones: icon-only round button beside the menu */
  .nav-phone {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    font-size: 1.15rem;
  }
  .nav-phone-number { display: none; }
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}
.footer-phone:hover,
.footer-phone:focus-visible { color: #fff; text-decoration: underline; }

/* Images carry width/height attributes (to avoid layout shift); keep them responsive */
img[width][height] {
  max-width: 100%;
  height: auto;
}

/* Inside the blue-grey hero, keep the tag and photo frame white */
.hero-visual { background: #ffffff; }

/* ---------- Site header and footer (moved from the homepage, Jim 2026-11-19) ---------- */
:root { --nav-height: 107px; }
.navbar { padding-top: 1.94rem; padding-bottom: 1.94rem; }
/* Logo (Jim, 2026-11-18): his dh logo, 56px tall; bar stays 106px */
.navbar img.navbar-logo.navbar-logo-dh { width: 176.4px; height: 58.8px; max-width: none; }
.navbar:has(.navbar-logo-dh) { padding-top: 25px; padding-bottom: 25px; }
@media (max-width: 575.98px) { .navbar img.navbar-logo.navbar-logo-dh { width: 144.9px; height: 48.3px; } }
/* Phone button 35% smaller (Jim, 2026-11-18): 17.6px -> 11.44px text, padding scaled. Phones keep their 44px tap circle. */
@media (min-width: 576px) { .nav-phone { font-size: 14.87px; padding: 6.08px 14.2px; gap: 6.76px; } } /* then 30% bigger (Jim) */
/* Nav links: gaps tightened (Jim, 2026-11-19): 11px side margins -> 4px */
.navbar .navbar-nav .nav-link { margin-left: 4px; margin-right: 4px; font-size: 1.12rem; } /* same size as body copy (.section-intro), Jim 2026-11-19 */
/* Header C (Jim, 2026-11-19), 992px+: links sit left beside the logo (110px gap), blue pill call button right. Number 2px smaller (15.6px); icon stays 17.6px. */
@media (min-width: 992px) {
  #navContent .navbar-nav { margin-left: 110px !important; }
  .navbar .nav-phone { gap: 6.4px; margin-right: 0; padding: 9.4px 27.7px; border-radius: 999px; background: #3a57fc; color: #fff; font-weight: 500; font-size: 16.92px; letter-spacing: .07em; /* was .04em; matches the Text a photo number (Jim, 2026-11-24) */ }
  .navbar .nav-phone i { color: #fff; font-size: 15.49px; } /* whole button 20% smaller (Jim, 2026-11-19) */
  .navbar .nav-phone:hover, .navbar .nav-phone:focus-visible { background: #2f49e0; color: #fff; }
}
/* Footer links: everything in the header menu (Jim, 2026-11-19) */
.footer-nav { display: flex; gap: 64px; align-items: flex-start; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-nav div ul { margin-top: 10px; }
.footer-nav a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-nav a.footer-nav-head { color: #fff; font-weight: 500; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: #fff; text-decoration: underline; }
footer .container { align-items: flex-start !important; row-gap: 32px !important; }

/* Ask a home repair question card (moved from the homepage 2026-11-21 so every page can use it) */
.ask-card { /* same 2px gradient border as the Donohue Design "Ask my AI" card (Jim) */ border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #ffb36b, #ff6fb5 35%, #8a7bff 65%, #5cc8ff) border-box; border-radius: 22px; padding: 42px 44px 36px; }
.ask-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
 /* title and subtitle on one line (Jim) */
.ask-icon { width: 30px; height: 30px; border-radius: 8px; background: #3a57fc; color: #fff; display: grid; place-items: center; font-weight: 700; }
.ask-title { font-family: var(--font-display); font-weight: 500; line-height: 1.2; color: var(--ink); font-size: 1.3rem; margin: 0; }

.ask-input { display: flex; align-items: center; gap: 8px; border: 1px solid #cfd5d8; border-radius: 12px; padding: 6px 6px 6px 14px; }
.ask-input input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1rem; padding: 8px 0; background: transparent; min-width: 0; }
.ask-input:focus-within { border-color: #3a57fc; box-shadow: 0 0 0 3px rgba(58,87,252,.12); }
.ask-cam { width: 38px; height: 38px; border-radius: 9px; border: 1px solid #dfe3e5; display: grid; place-items: center; color: var(--ink-soft); }
.ask-go { width: 38px; height: 38px; border-radius: 9px; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; } /* +10px below the input (Jim) */
.ask-chips button { border: 0; background: #f1f3f4; color: #3a57fc; border-radius: 8px; padding: 8px 11px; font: inherit; font-size: .88rem; }
.ask-chips button:hover { background: #e6eaec; }
.ask-soon { margin: 12px 0 0; padding: 10px 12px; background: #eef4f7; border-radius: 10px; font-size: .92rem; }
.ask-foot { border-top: 1px solid #dfe3e5; margin: 14px 0 0; padding-top: 10px; font-size: .82rem; color: var(--ink-soft); }
.ask-foot a, .ask-soon a { color: #3a57fc; }
@media (max-width: 575.98px) {
  .ask-card .ask-head { flex-wrap: nowrap; }
  .ask-card .ask-title { font-size: 1.15rem; }
}
/* Service pages (Jim, 2026-11-21, "Idea E"): the Ask card sits under the hero title and hangs over the hero's bottom edge.
   992px+, same on every page: breadcrumb capitals level with the photo frame top, 59px from title to card,
   66px of card below the hero edge, H1 54px under the card. The photo fills the height beside the text (cropped to fit). */
.ask-float { margin-top: 28px; } /* title-to-card gap, 38px - 10px (Jim, 2026-11-24) */
.hero:has(.ask-float) + main .section-compact-top { padding-top: 64px; } /* +10px card-to-H1 (Jim, 2026-11-24); was 54px */
@media (min-width: 992px) {
  .hero:has(.ask-float) .content > .row { align-items: stretch !important; }
  .hero:has(.ask-float) .row > .col-lg-6:first-child { padding-top: 16.9px; }
  .ask-float { position: relative; z-index: 3; margin-top: 61px; margin-bottom: -152.7px; /* margins collapse with the title's 20px; 71px - 10px = 61px (Jim, 2026-11-24) */ }
  .hero:has(.ask-float) .hero-visual img { flex: 1 1 0 !important; height: 0; min-height: 0; object-fit: cover; }
  .hero:has(.ask-float) + main .section-compact-top { padding-top: 130px; } /* card-to-H1 54px + 10px (Jim, 2026-11-24) */
}
.svc-main .section-intro.mb-0 { margin-bottom: 0; }
/* Caption under AI-generated photos (Jim, 2026-11-21). Sits inside the photo's own frame. */
.photo-caption { margin: 0; font-size: .8rem; line-height: 1.4; color: var(--ink-soft); flex: 0 0 auto; }
.hero-visual .photo-caption { padding: 8px 2px 0; }
.service-photo .photo-caption { padding: 8px 12px; }
/* Service pages: double the white space between the intro text and the photo row, 24px -> 48px (Jim, 2026-11-21) */
.row:has(> [class*="col-"] > .service-photo) { margin-top: 0; }
 /* the title's own 20px margin merges into this, so the gap goes from 20px to 95px */
/* Hero photo frame: no outline, white frame only (Jim, 2026-11-21) */
.hero .hero-visual { border-color: transparent !important; }
/* Service pages: photos and Ask card start on the same line, 48px under the opening paragraph (Jim, 2026-11-21) */
.svc-main > .row:has(> [class*="col-"] > .service-photo) { margin-top: calc(-1 * var(--bs-gutter-y)); }
.row:has(+ .svc-layout) { margin-bottom: 48px !important; }

/* Menu pills 20% larger around the same-size text (Jim, 2026-11-23): Services pill 123x44 -> 148x53 at 1440px.
   +12.35px each side, +4.4px top and bottom; negative vertical margins keep the header height and text line where they were. */
@media (min-width: 992px) {
  .navbar .navbar-nav .nav-link {
    padding: calc(.45rem + 2.4px) calc(1.05rem + 12.35px) calc(.45rem + 6.4px) !important;
    margin-top: -4.4px;
    margin-bottom: -4.4px;
  }
  /* Phone pill same size as the menu pills (Jim, 2026-11-23): 52.8px tall, same 29.15px side padding, same top edge */
  .navbar .nav-phone { padding: 12.44px 29.15px; position: relative; top: 2px; }
}

/* FAQ: one column, click a question to open its answer (option B, Jim 2026-11-23) */
.faq-acc { border-bottom: 1px solid #e3e6e8; }
.faq-acc details { border-top: 1px solid #e3e6e8; }
.faq-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: Sora, sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--ink); transition: color .18s ease; }
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq-acc details[open] summary::after { transform: rotate(45deg); }
.faq-acc summary:hover, .faq-acc summary:focus-visible { color: var(--accent); }
.faq-acc details p { margin: -6px 0 0; padding: 0 0 24px; }

/* "More ways I can help": slim strip of service links above the footer (option B, Jim 2026-11-23) */
.more-slim { background: #f9f8f5; /* warm cream like the booking panel (Jim, 2026-11-24) */ padding: 50.9px 0; } /* 20% taller: 149px -> 179px at desktop (Jim, 2026-11-23) */
.more-slim h3 { font-size: clamp(1.625rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.01em; margin-bottom: 32px; } /* same size as the FAQ H2, and the same 32px gap the FAQ heading has to its list (Jim, 2026-11-24) */
.more-slim ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 10px; } /* rows 10px further apart (Jim, 2026-11-23) */
.more-slim a { display: inline-block; padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.more-slim a:hover, .more-slim a:focus-visible { color: var(--accent); background: #eeeae0; } /* warm hover on the cream strip (Jim, 2026-11-24) */

/* Text-a-photo line under the service pills (Jim, 2026-11-23) */

/* Service-page building blocks (Bathroom first, Jim 2026-11-23) */
.step-num { font-family: Sora, sans-serif; font-weight: 600; font-size: 1.2rem; color: var(--accent); }
/* Step numbers as small blue message bubbles, matching the Text a photo button (Jim, 2026-11-23) */
.icon-badge.step-num { margin-bottom: 21px !important; /* 16px + 10px, then -5px (Jim) */ position: relative; width: 52px; height: 44px; background: #3a57fc; border: 0; border-radius: 18px 18px 18px 5px; color: #fff; font-size: 1.25rem; }
.icon-badge.step-num::after { content: ""; position: absolute; left: -5px; bottom: 0; width: 12px; height: 11px; background: #3a57fc; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.trust-photo { width: 100%; height: auto; border-radius: 24px; display: block; } /* flat: not clickable */
.trust-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.trust-link:hover, .trust-link:focus-visible { color: var(--ink); }

/* Bathroom "How to book a bathroom repair" in a rounded panel like the homepage Services panel (Jim, 2026-11-23) */
.steps-panel { margin: 64px max(30px, calc((100% - 1440px) / 2)); border-radius: 40px; background: #f9f8f5; }
.section.steps-panel { padding-top: 63px; padding-bottom: 63px; } /* 50px shorter: 88px -> 63px top and bottom (Jim, 2026-11-23) */
@media (max-width: 767.98px) {
  .steps-panel { margin: 48px 12px; border-radius: 28px; }
  .steps-panel .container { padding-left: 28px; padding-right: 28px; }
}

 /* panel right under the H1 paragraph (Jim, 2026-11-23) */ /* the panel's own margin sets the gap to the card below */

/* ---------- "Text a photo" button: blue message bubble with a photo, black pill (Jim picked option Q, 2026-11-23) ---------- */
.text-cta { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.steps-panel .text-cta.mt-5 { margin-top: 63px !important; } /* step text to button: 48px + 15px (Jim, 2026-11-23) */
.text-cta-bubble { position: relative; flex: 0 0 auto; width: 104px; height: 76px; border-radius: 30px 0 0 8px; background: #3a57fc; display: grid; place-items: center; transition: transform .2s ease; }
.text-cta-bubble::after { content: ""; position: absolute; left: -8px; bottom: 0; width: 22px; height: 20px; background: #3a57fc; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.text-cta-thumb { width: 52px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 24px; color: #fff; }
.text-cta-pill { height: 76px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: var(--charcoal); color: #fff; border-radius: 0 30px 30px 0; padding: 0 32px; line-height: 1.2; font-weight: 600; letter-spacing: .02em; transition: background .2s ease; } /* two lines, as tall as the bubble (Jim picked option 6, 2026-11-23); corners facing the bubble squared (2026-11-24) */
.text-cta-pill small { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .72; margin-bottom: 10px; } /* 10px to the number (Jim) */
.text-cta-pill strong { font-size: 1.3rem; white-space: nowrap; letter-spacing: .07em; } /* number spaced .05em more (Jim, 2026-11-24) */
.text-cta:hover .text-cta-bubble, .text-cta:focus-visible .text-cta-bubble { transform: rotate(-6deg) scale(1.04); }
.text-cta:hover .text-cta-pill, .text-cta:focus-visible .text-cta-pill { background: var(--charcoal-hover); }
.text-cta:focus-visible { outline: 2px solid #3a57fc; outline-offset: 6px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .text-cta-bubble { transition: none; } .text-cta:hover .text-cta-bubble { transform: none; } }
@media (max-width: 575.98px) {
  .text-cta { gap: 8px; }
  .text-cta-bubble { width: 64px; height: 56px; border-radius: 22px 0 0 6px; }
  .text-cta-bubble::after { left: -6px; width: 16px; height: 15px; }
  .text-cta-thumb { width: 34px; height: 28px; border-radius: 8px; font-size: 17px; }
  .text-cta-pill { height: 56px; padding: 0 16px; border-radius: 0 22px 22px 0; }
  .text-cta-pill small { font-size: .7rem; }
  .text-cta-pill strong { font-size: 1rem; }
}

.steps-phone { color: inherit; text-decoration: none; }
.steps-phone:hover { color: inherit; }
@media (min-width: 768px) { .steps-phone { display: block; margin-top: 10px; } } /* number on its own line, 10px below “Text a photo to” (Jim, 2026-11-24) */
.faq-acc details p.meet-jim-intro { margin: 0 0 24px; padding: 0; }

/* FAQ heading with a category icon in the blue message bubble (Jim, 2026-11-24) */
.faq-heading { display: flex; align-items: center; margin-top: 10px; } /* +10px above the FAQ: the bubble makes the gap look smaller (Jim, 2026-11-24) */
.faq-bubble { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 52px; height: 44px; margin-right: 16px; background: #3a57fc; border-radius: 18px 18px 18px 5px; }
.faq-bubble::after { content: ""; position: absolute; left: -5px; bottom: 0; width: 12px; height: 11px; background: #3a57fc; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* Service links under the hub intro: primary blue, a third more space between lines (29.6px -> 39.6px pitch) (Jim, 2026-11-24) */
.intro-links a { color: #3a57fc; }
.intro-links li + li { margin-top: 13px; } /* 10px + 3px (Jim, 2026-11-24) */

/* Hero panels on every page use the warm cream of the booking panel (Jim, 2026-11-24). The header menu pills and dropdown keep the blue-grey --hero. */
.hero, .ask-band { --hero: #f9f8f5; }

/* Booking panel "Version 2" (Jim, 2026-11-24): two-tone heading with the Text a photo button 90px to its right
   (heading baseline on the button's bottom edge), a hairline 47px below, then steps 1-3 in three columns, then Meet Jim. */
.book-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 90px; }
.book-row .book-bubble { margin-bottom: 0; }
@media (min-width: 768px) { .book-row .book-bubble { margin-bottom: -9px; } }
.book-rule { margin: 47px 0 40px; border: 0; border-top: 1px solid #e3e6e8; opacity: 1; }
@media (min-width: 768px) { .book-rule + .row { --bs-gutter-x: calc(3rem + 20px); } } /* 20px more between steps 1, 2, 3: 48px to 68px (Jim, 2026-11-24) */
.book-bubble { align-self: flex-end; } /* two-tone H2 (option 10, Jim 2026-11-24): "How to book" black, the rest blue; was a black bubble */
.book-bubble .book-blue { color: #3a57fc; }

/* Contact form: name, email, phone and subject fields square and 10px taller (Jim, 2026-11-24) */
input.form-control { border-radius: 0; padding-top: calc(.375rem + 7.5px); padding-bottom: calc(.375rem + 7.5px); } /* 15px taller than default (Jim, 2026-11-24) */
textarea.form-control { border-radius: 0; }
.contact-link { text-decoration: none; } /* Reach me phone: no underline (Jim, 2026-11-24) */

/* Footer (Jim, 2026-11-24): copyright right under the service line; services back in one column where they were;
   Gallery/About/Contact at the far right */
@media (min-width: 992px) {
  footer .footer-contact { flex: 0 0 464px; }
  footer .footer-nav { flex: 1 1 auto; }
}

footer .footer-nav { gap: 50px; } /* Gallery/About/Contact 50px right of the services (Jim, 2026-11-24) */
.footer-phone { margin-bottom: 25px; } /* 25px more under the footer phone number (Jim, 2026-11-24) */
.contact-text-panel { background: #f9f8f5; border-radius: 40px; padding: 48px; } /* Contact: text-first panel beside the form (Jim, 2026-11-24) */
@media (max-width: 575.98px) { .contact-text-panel { border-radius: 28px; padding: 32px 24px; } }

/* Checklists: white tick in a small blue message bubble, replacing the old circled check icon (Jim, 2026-11-24) */
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-bubble { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 26px; height: 22px; background: #3a57fc; border-radius: 9px 9px 9px 3px; }
.check-bubble::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 7px; height: 6px; background: #3a57fc; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
footer .footer-nav > ul { flex-direction: row; gap: 32px; } /* Gallery, About, Contact on one line, level with Services (Jim, 2026-11-24) */
.gallery-grid { --bs-gutter-x: 46px; --bs-gutter-y: 46px; } /* Gallery: 30px more between photos both ways (was 16px) (Jim, 2026-11-24) */
@media (max-width: 575.98px) { .ask-card { padding: 28px 24px 22px; } } /* Ask card: 20px more inside on desktop (Jim, 2026-11-24); a little less on phones */
.svc-bubble { display: flex; margin-right: 0; width: 52px; } /* service cards: category icon in the blue message bubble, like the FAQ headings (Jim, 2026-11-24) */
.svc-bubble.mb-3 { margin-bottom: 26px !important; } /* 10px more between the card icon and its title (Jim, 2026-11-24) */
.more-slim { margin-bottom: 60px; } /* 60px of white between the strip and the footer (Jim, 2026-11-24) */
.section:has(+ .more-slim) { padding-bottom: 60px; } /* FAQ line to the strip matches strip to footer: 60px (Jim, 2026-11-24) */
.more-slim h3.more-heading { display: flex; align-items: center; } /* blue bubble icon like the FAQ headings (Jim, 2026-11-24) */
