/* Mobile-first. Brand colors/fonts come from :root tokens injected per-client.
   System: warm paper ground, ink structure, single accent spent on CTAs +
   icons. Signature: roof-pitch angled cuts on hero + CTA band. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --stone: #e7e2da;        /* warm neutral borders / alt ground */
  --stone-tint: #f3f0ea;   /* alt section background */
  --ink-soft: #55636f;     /* muted text */
  --pitch: 3.5vw;          /* roofline cut depth */
}

body {
  font-family: var(--f-body);
  color: var(--c-dark);
  background: var(--c-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--f-heading); line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 1.5rem; color: var(--c-dark); }
/* short accent rule under section headings — quiet, consistent */
.section h2::after, .section-alt h2::after {
  content: ""; display: block; width: 3.5rem; height: 4px;
  background: var(--c-accent); margin-top: .6rem; border-radius: 2px;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary); }
/* anchor targets clear the sticky topbar */
section[id] { scroll-margin-top: 4.5rem; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; margin-top: 1.25rem; }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 8px;
  font-weight: 700; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  font-family: var(--f-body); letter-spacing: .01em;
}
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.1rem; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-accent { background: var(--c-accent); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.btn-outline { border-color: rgba(255,255,255,.85); color: #fff; }
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible { outline: 3px solid var(--c-dark); outline-offset: 2px; }

/* Top bar */
.topbar { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 50; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-top: .6rem; padding-bottom: .6rem; }
.logo { max-height: 48px; width: auto; }
.logo-text { font-family: var(--f-heading); font-size: 1.35rem; font-weight: 700; color: var(--c-primary); }
.topbar-call { padding: .55rem 1rem; font-size: .95rem; box-shadow: none; }

/* Hero — photo, ink grade, left-set type, roofline cut at the bottom */
.hero {
  background: var(--c-dark) center/cover no-repeat;
  color: #fff; padding: 5rem 0 calc(4rem + var(--pitch));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pitch)), 0 100%);
}
.hero-inner { max-width: 720px; margin-right: auto; text-align: left; }
.eyebrow {
  font-family: var(--f-body); font-weight: 700; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent);
  filter: brightness(1.35); margin-bottom: .9rem;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1rem; text-wrap: balance; }
.hero-sub { font-size: 1.15rem; opacity: .94; margin-bottom: 1.9rem; max-width: 46ch; }
.hero-ctas { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.hero-trust { margin-top: 1.6rem; font-size: .88rem; opacity: .85; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--stone-tint); }

/* Grids */
.grid { display: grid; gap: 1.25rem; }
.grid-services { grid-template-columns: 1fr; }
.grid-reviews { grid-template-columns: 1fr; }
.grid-gallery { grid-template-columns: 1fr 1fr; }

.card {
  background: #fff; border: 1px solid var(--stone); border-radius: 10px;
  padding: 1.6rem; transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: 0 8px 22px rgba(38,49,59,.10); transform: translateY(-2px); }
.card-icon { color: var(--c-accent); margin-bottom: .75rem; }
.card-icon svg { width: 32px; height: 32px; }
.card-emoji { font-size: 2rem; display: block; margin-bottom: .5rem; }
.card h3 { color: var(--c-primary); margin-bottom: .45rem; font-size: 1.15rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }

.review { background: #fff; border-radius: 10px; padding: 1.5rem; border: 1px solid var(--stone); }
.stars { color: var(--c-accent); letter-spacing: 2px; margin-bottom: .5rem; }
.review cite { display: block; margin-top: .75rem; font-style: normal; font-weight: 600; }

.gallery-img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* CTA band — reverse roofline cut at the top */
.cta-band {
  background: var(--c-primary); color: #fff;
  padding: calc(3rem + var(--pitch)) 0 3.5rem; text-align: center;
  clip-path: polygon(0 var(--pitch), 100% 0, 100% 100%, 0 100%);
}
.cta-band h2 { color: #fff; margin-bottom: 1.4rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem; margin-top: .35rem;
  border: 1px solid var(--stone); border-radius: 8px; font: inherit; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--c-accent); border-color: transparent;
}
.contact-info h3 { color: var(--c-primary); margin-bottom: .75rem; }
.contact-info p { margin-bottom: .9rem; }
.hours { font-size: .95rem; }
.map { width: 100%; height: 260px; border: 1px solid var(--stone); border-radius: 10px; margin-top: 1rem; }

/* Footer */
.footer { background: var(--c-dark); color: #cbd6de; padding: 2rem 0 2.2rem; font-size: .9rem; text-align: center; }
.footer p { margin-bottom: .4rem; }

/* Sticky mobile call button */
.sticky-call {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 100;
  background: var(--c-accent); color: #fff;
  text-align: center; padding: 1rem; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.sticky-call:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transition: none; transform: none; }
}

/* keep last content clear of the fixed call button on mobile */
@media (max-width: 639px) {
  body { padding-bottom: 5rem; }
}

@media (min-width: 640px) {
  .hero h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); }
  .hero-ctas { flex-direction: row; }
  .grid-services { grid-template-columns: 1fr 1fr; }
  .grid-reviews { grid-template-columns: 1fr 1fr 1fr; }
  .grid-gallery { grid-template-columns: 1fr 1fr 1fr; }
  .sticky-call { display: none; }  /* desktop has topbar call button */
}

@media (min-width: 900px) {
  .grid-services { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
  .hero { padding: 7rem 0 calc(5.5rem + var(--pitch)); }
}
