/* St. Catharines Carpet Cleaning — Canal steel & apricot */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,500&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  --ink: #1A1F24;
  --cedar: #243039; /* canal steel — maps to old cedar roles */
  --river: #E0894C; /* apricot brand accent / logo em */
  --river-deep: #C56F35;
  --saffron-light: #F0A66A; /* lighter apricot for hero CTA contrast */
  --fog: #E7EEF1;
  --paper: #F4F7F8;
  --mist: #E7EEF1;
  --walnut: #E0894C; /* apricot CTAs */
  --walnut-deep: #C56F35;
  --text: #1A1F24;
  --muted: #5C6670;
  --line: #C5CED4;
  --white: #ffffff;
  --shadow: 0 16px 36px rgba(36, 48, 57, 0.12);
  --max: 1100px;
  --prose: 40rem;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Archivo', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--river-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cedar);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--river);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Headings */
h2 {
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245, 247, 249, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
  overflow: visible;
}


.brand-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
  min-width: 0;
  flex: 0 1 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
  flex: 0 1 auto;
  white-space: nowrap;
}

.logo em {
  font-style: italic;
  color: var(--river);
  font-weight: 400;
}

.header-phone {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.1;
  flex: 0 0 auto;
}

.header-phone:hover {
  color: var(--river-deep);
}

.nav-brand a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-brand a em {
  font-style: italic;
  color: var(--river);
  font-weight: 400;
}

.nav-brand a:hover {
  color: var(--cedar);
}


.nav-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.site-nav {
  overflow: visible;
}

.site-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  overflow: visible;
}

.site-nav > ul > li {
  position: relative;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--cedar);
}

.site-nav .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.35rem 0;
}

.site-nav .dropdown-toggle::after {
  content: '';
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

/* Keep Services menu on-screen: grow left from the trigger, wrap labels */
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: auto;
  right: 0;
  width: max-content;
  min-width: 13.5rem;
  max-width: min(18rem, calc(100vw - 1.5rem));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 300;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown {
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.dropdown li a {
  display: block;
  padding: 0.65rem 0.75rem;
  white-space: normal;
  line-height: 1.3;
  border-radius: 2px;
}

.dropdown li a:hover {
  background: var(--mist);
  color: var(--cedar);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: var(--cedar);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--ink);
}

/* Hero — full-bleed photograph */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: end;
  padding: 5.5rem 0 3.75rem;
  color: var(--white);
  background-color: var(--cedar);
  background-image:
    linear-gradient(105deg, rgba(36, 48, 57, 0.88) 8%, rgba(23, 30, 36, 0.62) 48%, rgba(36, 48, 57, 0.42) 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-home {
  --hero-image: url('../images/hero-home.jpg');
  min-height: min(86vh, 740px);
}

.hero-small {
  min-height: min(46vh, 420px);
  padding: 4.25rem 0 2.75rem;
}

.hero-carpet { --hero-image: url('../images/hero-carpet.jpg'); }
.hero-upholstery { --hero-image: url('../images/hero-upholstery.jpg'); }
.hero-rug { --hero-image: url('../images/hero-rug.jpg'); }
.hero-stain { --hero-image: url('../images/hero-stain.jpg'); }
.hero-about { --hero-image: url('../images/hero-about.jpg'); }
.hero-contact { --hero-image: url('../images/hero-contact.jpg'); }
.hero-services { --hero-image: url('../images/hero-services.jpg'); }

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  max-width: 11ch;
  animation: riseIn 0.85s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 400;
  line-height: 1.15;
  max-width: 16ch;
  margin-bottom: 0.55rem;
  animation: riseIn 0.85s ease 0.06s both;
}

.hero-home h1 {
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  max-width: 22ch;
  font-family: var(--font-body);
  font-weight: 500;
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 36ch;
  color: rgba(242, 246, 245, 0.9);
  margin-bottom: 1.35rem;
  line-height: 1.4;
  animation: riseIn 0.85s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 0.85s ease 0.18s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-actions {
    animation: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.9rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--walnut);
  color: var(--ink) !important;
  border-color: var(--walnut);
}

.btn-primary:hover {
  background: var(--walnut-deep);
  color: var(--ink) !important;
}

.btn-on-light {
  background: var(--walnut);
  color: var(--ink) !important;
}

.btn-on-light:hover {
  background: var(--walnut-deep);
  color: var(--ink) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--cedar) !important;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--cedar);
  background: var(--white);
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section-mist {
  background:
    linear-gradient(180deg, var(--mist), var(--fog));
}

.section-ink {
  background: linear-gradient(145deg, var(--ink), var(--cedar));
  color: var(--white);
}

.section-ink a {
  color: #E8C96A;
}

.section-title {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.section-title h2,
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.section-ink .section-title h2,
.section-ink .cta-band h2,
.cta-band h2 {
  color: var(--white);
}

.section-title p,
.lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-ink .section-title p {
  color: rgba(242, 246, 245, 0.8);
}

/* Service links */
.service-links {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.service-link h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.service-link p {
  color: var(--muted);
  max-width: 46ch;
}

.service-link span {
  font-weight: 600;
  color: var(--river-deep);
  white-space: nowrap;
}

.service-link:hover h3 {
  color: var(--river);
}

/* Process */
.process {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.process-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.process-item p {
  color: var(--muted);
}

.process-item .step {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--river);
  margin-bottom: 0.45rem;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  padding-left: 1.35rem;
  position: relative;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--river);
}

/* CTA */
.cta-band {
  padding: 3.25rem 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.55rem;
  max-width: 16ch;
}

.cta-band p {
  max-width: 38ch;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.cta-inline {
  margin: 2.35rem 0;
  padding: 1.4rem 1.25rem;
  background: var(--mist);
  border-left: 3px solid var(--river);
}

.cta-inline p {
  margin-bottom: 0.95rem;
  color: var(--text);
}

/* Prose + visual breaks */
.prose {
  max-width: var(--prose);
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  margin-top: 2.6rem;
}

.prose h3 {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--cedar);
  margin-top: 1.85rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose .note {
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 2rem;
}

.figure-break {
  margin: 2.5rem calc(50% - 50vw) 2.5rem;
  width: 100vw;
  max-width: 100vw;
}

.figure-break-inner {
  width: min(100% - 2rem, 920px);
  margin-inline: auto;
}

.figure-break img {
  width: 100%;
  height: clamp(180px, 32vw, 320px);
  object-fit: cover;
  filter: saturate(0.92);
}

.figure-break figcaption {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.breadcrumbs {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--cedar);
}

.related {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.related h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.related ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}


.faq {
  display: grid;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq-item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.45rem;
  line-height: 1.35;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq details p {
  margin-top: 0.55rem;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.75rem;
  }
}

.contact-meta h2,
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.95rem;
  color: var(--ink);
}

.contact-meta dl {
  display: grid;
  gap: 0.95rem;
}

.contact-meta dt {
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--cedar);
}

.contact-meta dd {
  color: var(--muted);
}

.hold {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--walnut);
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--text);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.photo-strip {
  margin-top: 2rem;
}

.photo-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.photo-strip figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(242, 246, 245, 0.82);
  padding: 3.25rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
  }
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: rgba(242, 246, 245, 0.82);
  text-decoration: none;
  display: block;
  margin-bottom: 0.35rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-external {
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(220, 230, 228, 0.14);
}

.footer-external h4 {
  margin-bottom: 0.4rem;
}

.footer-external-note {
  font-size: 0.8rem;
  color: rgba(242, 246, 245, 0.65);
  margin-bottom: 0.9rem;
  max-width: 52ch;
}

.footer-social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0 !important;
  border-radius: 0.4rem;
  background: rgba(242, 246, 245, 0.08);
  border: 1px solid rgba(220, 230, 228, 0.18);
  color: var(--white) !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
  background: rgba(242, 246, 245, 0.16);
  border-color: rgba(220, 230, 228, 0.35);
  color: var(--white) !important;
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--fog);
  outline-offset: 3px;
}

.footer-social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  display: block;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(220, 230, 228, 0.14);
  font-size: 0.84rem;
}

.image-credit {
  margin-top: 0.65rem;
  opacity: 0.75;
  font-size: 0.78rem;
}

.disclaimer {
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 58ch;
}

/* Mobile nav */
@media (max-width: 900px) {

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    column-gap: 0.85rem;
  }

  .brand-block {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .logo {
    display: block;
    font-size: clamp(0.9rem, 3.6vw, 1.05rem);
    white-space: normal;
    max-width: 100%;
    line-height: 1.18;
  }

  .logo em {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .header-phone {
    font-size: 0.95rem;
    white-space: nowrap;
    max-width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    z-index: 1;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.65rem 1rem 1.1rem;
    max-height: calc(100vh - 4rem);
    overflow: auto;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    display: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0.2rem 0 0.45rem 0.65rem;
    right: auto;
    left: auto;
  }

  .has-dropdown.open .dropdown {
    display: grid;
  }

  .dropdown li a {
    padding: 0.5rem 0;
  }

  .nav-cta {
    margin-top: 0.45rem;
    justify-content: center;
  }

  .figure-break {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
  }

  .figure-break-inner {
    width: 100%;
  }
}


/* Centered hero */
.hero-centered {
  align-items: center;
  text-align: center;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-centered h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  max-width: 12ch;
  line-height: 0.98;
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 24px rgba(15, 18, 24, 0.55);
  color: #fff;
}

.hero-centered .hero-lead {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 12px rgba(15, 18, 24, 0.45);
}

.hero-services-line {
  text-shadow: 0 1px 10px rgba(15, 18, 24, 0.4);
}

.hero-home h1 {
  font-family: var(--font-display);
  font-weight: 400;
}

/* Home two-column */
.home-split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .home-split {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.85fr);
    gap: 2.75rem;
  }

  .home-form {
    position: sticky;
    top: 4.75rem;
    max-height: calc(100vh - 5.25rem);
    overflow: auto;
  }

  .home-form-close,
  .mobile-form-tab,
  .mobile-form-backdrop {
    display: none !important;
  }
}



.home-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 400;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}

.home-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.9rem 0.95rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}

.home-form-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.home-form-card-head h2 {
  margin-bottom: 0;
}

.home-form-close {
  display: none;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.home-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.15;
}

.mobile-form-tab,
.mobile-form-backdrop {
  display: none;
}

.home-form-card .form-intro {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.home-form-card .form-group {
  margin-bottom: 0.5rem;
}

.home-form-card .form-group label {
  font-size: 0.78rem;
  margin-bottom: 0.18rem;
  font-weight: 600;
}

.home-form-card .form-group input,
.home-form-card .form-group select,
.home-form-card .form-group textarea {
  padding: 0.45rem 0.55rem;
  font-size: 0.88rem;
}

.home-form-card .form-group textarea {
  min-height: 64px;
}

.home-form-card .btn {
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  width: 100%;
}

.home-form-card .form-note {
  margin-top: 0.45rem;
  font-size: 0.78rem;
}

.form-intro {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}


.hero-services-line {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: rgba(242, 246, 245, 0.92);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
}

.hero-verify {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: rgba(242, 246, 245, 0.7);
}

.btn-call {
  background: var(--walnut);
  color: var(--ink) !important;
  border-color: var(--walnut);
  font-size: 1.05rem;
  padding: 0.95rem 1.6rem;
  text-decoration: none !important;
  font-weight: 700;
}

.btn-call:hover {
  background: var(--walnut-deep);
  color: var(--ink) !important;
}

/* Hero / on-dark CTAs: light saffron + dusk ink — high contrast */
.hero .btn-call,
.hero-actions .btn-call,
.call-cta-on-dark .btn-call {
  background: var(--saffron-light) !important;
  color: var(--ink) !important;
  border-color: var(--saffron-light) !important;
  font-weight: 700;
}

.hero .btn-call:hover,
.hero-actions .btn-call:hover,
.call-cta-on-dark .btn-call:hover {
  background: #F6B888 !important;
  color: var(--ink) !important;
  border-color: #F6B888 !important;
}

.contact-map {
  position: relative;
  margin: 1.25rem 0 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--mist);
  height: 280px;
  max-height: 280px;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.call-cta {
  text-align: center;
  margin: 2.5rem 0;
  padding: 1.5rem 1rem;
}

.call-cta .btn-call {
  display: inline-flex;
}

.call-cta-note {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.call-cta-on-dark {
  margin: 0;
  padding: 1rem 0;
}

.call-cta-on-dark .call-cta-note {
  color: rgba(242, 246, 245, 0.75);
}

.home-prose {
  max-width: none;
}

.home-prose > * + * {
  margin-top: 1.05rem;
}

.home-main .section-title {
  margin-bottom: 1.25rem;
}

@media (max-width: 959px) {
  .home-split {
    display: block;
  }

  .home-form {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 320;
    margin: 0;
    max-height: min(88vh, 720px);
    transform: translateY(110%);
    transition: transform 0.28s ease;
    pointer-events: none;
  }

  .home-form.is-open {
    transform: translateY(0);
    pointer-events: auto;
  }

  .home-form-card {
    border-radius: 12px 12px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    max-height: min(88vh, 720px);
    overflow: auto;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -12px 40px rgba(18, 32, 28, 0.18);
  }

  .home-form-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-form-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 50%;
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    z-index: 310;
    transform: translateX(-50%);
    padding: 0.85rem 1.35rem;
    border: 0;
    background: var(--cedar);
    color: var(--white);
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 28px rgba(18, 32, 28, 0.28);
    cursor: pointer;
    white-space: nowrap;
  }

  .mobile-form-tab:hover,
  .mobile-form-tab:focus-visible {
    background: var(--ink);
  }

  body.form-sheet-open .mobile-form-tab {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-form-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 315;
    background: rgba(18, 32, 28, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .mobile-form-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  body.form-sheet-open {
    overflow: hidden;
  }
}

.home-main .figure-break {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
}

.home-main .figure-break-inner {
  width: 100%;
}

.hero-small.hero-centered {
  min-height: min(52vh, 480px);
  align-items: center;
  text-align: center;
}

.hero-small.hero-centered h1 {
  max-width: 18ch;
  margin-inline: auto;
}

.hero-small.hero-centered .hero-lead {
  margin-inline: auto;
}

.hero-small.hero-centered .hero-actions {
  justify-content: center;
}

