/* ==========================================================================
   GOAT Renovations LLC - stylesheet
   Brand tokens first. Change a color or font here and it changes site-wide.
   ========================================================================== */
:root {
  /* Color */
  --ink: #1f2326;          /* deep charcoal: primary */
  --ink-2: #2b3136;        /* raised charcoal surfaces */
  --ink-deep: #15181a;     /* footer */
  --paper: #f6f3ec;        /* warm off-white */
  --white: #ffffff;
  --line: #ddd7ca;         /* hairlines on light */
  --line-dark: #3b4249;    /* hairlines on charcoal */
  --text: #23282c;
  --muted: #565d63;
  --muted-on-dark: #bcc2c7;
  --gold: #c9a02f;         /* construction gold */
  --gold-hi: #dcb444;
  --gold-deep: #7a5c0b;    /* gold dark enough for text on light backgrounds */
  --error: #a3261d;
  --ok: #1e6b3a;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", sans-serif-condensed, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --cut: clamp(18px, 3.4vw, 38px);   /* the brand's angled corner */
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Single-column grids must be allowed to shrink below their widest child (prevents sideways overflow on small phones). */
.hero__grid, .split, .story__grid, .area__grid, .cta-band__inner, .service__grid, .contact__grid,
.project, .places, .form__grid, .footer__grid, .owners, .values, .steps, .reviews, .project__shots { grid-template-columns: minmax(0, 1fr); }
.hero__grid > *, .split > *, .story__grid > *, .area__grid > *, .cta-band__inner > *, .service__grid > *, .contact__grid > *,
.project > *, .places > *, .form__grid > *, .footer__grid > * { min-width: 0; }

/* Focus: charcoal on light surfaces, gold on dark ones (both clear 3:1) */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.page-hero--dark :focus-visible, .section--ink :focus-visible, .call-bar :focus-visible,
.lightbox :focus-visible { outline-color: var(--gold-hi); }
.cta-band :focus-visible { outline-color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink);
  padding: .75rem 1.1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: .75rem; outline-color: var(--ink); }

/* ---------- Type ---------- */
.h2 { font: 700 clamp(2.1rem, 4.8vw, 3.3rem)/1.02 var(--font-display); letter-spacing: -.003em; }
.h3 { font: 700 clamp(1.6rem, 3vw, 2rem)/1.1 var(--font-display); }
.h4 { font: 700 1.4rem/1.15 var(--font-display); }
.prose p + p { margin-top: 1.1rem; }
.prose { max-width: 62ch; }
.prose--narrow h2 { margin-top: 2.25rem; margin-bottom: .5rem; }
.prose--narrow h2:first-child { margin-top: 0; }
.fineprint { font-size: .9rem; color: var(--muted); margin-top: 1.75rem; max-width: 62ch; }
.text-link {
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 3px; text-underline-offset: .22em;
}
.text-link:hover { text-decoration-color: var(--ink); }
.text-link--light { color: #fff; }
.text-link--light:hover { text-decoration-color: #fff; }
.tel-link { font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; white-space: nowrap; }
.mail-link { font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.placeholder { display: inline-block; padding: .1rem .55rem; border: 1px dashed currentColor; font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .1rem .55rem;
  min-height: 48px; padding: .7rem 1.4rem; font: 600 1rem/1.15 var(--font-body);
  border: 2px solid transparent; border-radius: 3px; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn__icon { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: .85rem 1.75rem; font-size: 1.0625rem; }
.btn__num { font-weight: 500; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ink); color: #fff; border-bottom: 1px solid var(--line-dark); }
.header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; min-height: var(--header-h); }
.header__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255,255,255,.3); }
.brand__text { display: flex; flex-direction: column; gap: .3rem; }
.brand__goat { font: 800 1.85rem/.85 var(--font-display); letter-spacing: .07em; }
.brand__sub { white-space: nowrap; font: 600 .64rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); }

/* Without JavaScript the menu is simply listed under the logo. With JavaScript it becomes a dropdown. */
.primary-nav { order: 3; flex: 1 0 100%; padding: .25rem 0 1rem; }
.js .primary-nav { position: absolute; left: 0; right: 0; top: 100%; flex: none; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: .5rem var(--gutter) 1.5rem; display: none; }
.js .nav-open .primary-nav { display: block; }
.primary-nav__list { list-style: none; margin: 0; padding: 0; }
.primary-nav__link { display: block; white-space: nowrap; padding: .95rem 0; font-weight: 600; font-size: 1.1rem; color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.primary-nav__link:hover { color: var(--gold-hi); }
.primary-nav__link[aria-current="page"] { color: var(--gold-hi); }
.primary-nav__link[aria-current="true"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: .9rem; }
.primary-nav__cta { margin-top: 1.1rem; }
.primary-nav__cta .btn { width: 100%; }
.header__estimate { display: none; }

.nav-toggle { width: 46px; height: 46px; display: inline-grid; place-items: center; background: transparent; border: 2px solid rgba(255,255,255,.6); border-radius: 3px; color: #fff; cursor: pointer; }
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle { display: none; }
.js .nav-toggle { display: inline-grid; }

.call-menu { position: relative; }
.call-menu__btn { list-style: none; }
.call-menu__btn::-webkit-details-marker { display: none; }
.call-menu__panel { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 15rem; background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: 0 18px 40px rgba(0,0,0,.35); z-index: 70; }
.call-menu__item { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 56px; padding: .6rem 1.1rem; color: #fff; text-decoration: none; }
.call-menu__item + .call-menu__item { border-top: 1px solid var(--line-dark); }
.call-menu__item:hover { background: var(--ink); }
.call-menu__name { font-weight: 600; }
.call-menu__num { color: var(--gold-hi); font-weight: 600; letter-spacing: .01em; }

@media (min-width: 720px) { .header__estimate { display: inline-flex; } }
@media (min-width: 1240px) {
  .js .primary-nav, .primary-nav { display: flex !important; position: static; order: 0; flex: 0 1 auto; background: none; border: 0; padding: 0; align-items: center; gap: 1.5rem; margin-left: auto; }
  .primary-nav__list { display: flex; gap: .2rem; }
  .primary-nav__link { padding: .5rem .8rem; border: 0; font-size: 1rem; position: relative; }
  .primary-nav__link[aria-current="true"], .primary-nav__link[aria-current="page"] { box-shadow: none; padding-left: .8rem; color: var(--gold-hi); }
  .primary-nav__link[aria-current="page"]::after, .primary-nav__link[aria-current="true"]::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 3px; background: var(--gold);
  }
  .primary-nav__cta { display: none; }
  .header__actions { margin-left: 0; }
  .js .nav-toggle, .nav-toggle { display: none; }
}

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }
@media (max-width: 719px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--ink); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom); }
  .call-bar__btn { flex: 1; min-height: 64px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; color: #fff; font-weight: 600; text-decoration: none; border-right: 1px solid var(--line-dark); }
  .call-bar__btn--est { background: var(--gold); color: var(--ink); border-right: 0; }
  .call-bar__icon { width: 1.15rem; height: 1.15rem; color: var(--gold-hi); }
}

/* ---------- Brand frame: one angled corner, echoing the mark ---------- */
.frame { position: relative; clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); background: var(--ink-2); }
.chip { position: absolute; top: .75rem; left: .75rem; background: var(--ink); color: #fff; font: 600 .82rem/1 var(--font-body); letter-spacing: .04em; padding: .5rem .7rem; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__title { font: 800 clamp(2rem, 9vw, 4.25rem)/.94 var(--font-display); text-transform: uppercase; letter-spacing: .005em; margin-bottom: 1.4rem; overflow-wrap: break-word; }
.hero__copy { min-width: 0; }
.hero__line { display: block; }
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; color: #dde1e4; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero__call { margin-top: 1.5rem; color: var(--muted-on-dark); }
.hero__call .tel-link { color: #fff; }
.hero__media .frame { aspect-ratio: 4 / 5; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { margin-top: .75rem; font-size: .9rem; color: var(--muted-on-dark); }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 4rem; }
}

/* The one orchestrated moment: headline rises, photo wipes in */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes wipe {
  from { clip-path: polygon(0 0, 100% 0, 100% 0, var(--cut) 0, 0 0); }
  to   { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
}
.hero__line { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__line + .hero__line { animation-delay: .12s; }
.hero__lead, .hero__actions, .hero__call { animation: rise .8s cubic-bezier(.2,.7,.2,1) .3s both; }
.hero__media .frame { animation: wipe 1.1s cubic-bezier(.65,0,.2,1) .15s both; }

/* ---------- Facts strip ---------- */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.facts__list li { padding: 1.4rem 1.25rem 1.4rem 1.1rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.facts__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
.facts__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts__list strong { font: 700 1.55rem/1.05 var(--font-display); }
.facts__list span { color: var(--muted); font-size: .98rem; line-height: 1.35; }
@media (min-width: 900px) {
  .facts__list { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .facts__list li, .facts__list li:nth-child(odd) { border-left: 1px solid var(--line); padding: 1.6rem 1.5rem; border-top: 0; }
  .facts__list li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 46rem; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section__lead { margin-top: .75rem; color: var(--muted); max-width: 40em; }
.section--ink .section__lead { color: var(--muted-on-dark); }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- Service tiles: a ruled grid, not floating cards ---------- */
.tiles { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { position: relative; background: var(--white); padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.tile:hover { background: var(--paper); }
.tile__icon { display: grid; place-items: center; width: 58px; height: 58px; background: var(--ink); color: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.tile__icon .icon { width: 36px; height: 36px; }
.tile__title { font: 700 1.5rem/1.1 var(--font-display); }
.tile__link { text-decoration: none; color: var(--ink); }
.tile__link::after { content: ""; position: absolute; inset: 0; }
.tile__link:focus-visible { outline: none; }
.tile__link:focus-visible::after { outline: 3px solid var(--ink); outline-offset: -4px; }
.tile__text { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.tile__more { margin-top: auto; padding-top: .35rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .22em; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(4, 1fr); } .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 1099px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .tiles--3 { grid-template-columns: 1fr; } }

/* ---------- GOAT story ---------- */
.story__grid { display: grid; gap: 2.5rem 5rem; align-items: center; }
.goat-stack { font: 800 clamp(3.2rem, 12vw, 8.5rem)/.86 var(--font-display); text-transform: uppercase; letter-spacing: .005em; }
.goat-stack__line { display: block; }
.goat-stack b { color: var(--gold); font-weight: 800; }
.story__big { font: 700 clamp(1.7rem, 3.4vw, 2.4rem)/1.1 var(--font-display); margin-bottom: 1rem; }
.story__copy { max-width: 36rem; color: #dde1e4; }
.story__copy p + p { margin-top: 1rem; }
@media (min-width: 900px) { .story__grid { grid-template-columns: auto minmax(0, 1fr); } }

/* ---------- Why list ---------- */
.why { list-style: none; margin: 0; border-bottom: 1px solid var(--line); }
.why li { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.why h3 { font: 700 1.5rem/1.1 var(--font-display); margin-bottom: .35rem; }
.why p { color: var(--muted); max-width: 40em; }

/* ---------- Photo mosaic ---------- */
.mosaic { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.mosaic__link { display: block; position: relative; text-decoration: none; clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); background: var(--ink-2); }
.mosaic__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.mosaic__link:hover .mosaic__img { transform: scale(1.03); }
.mosaic__cap { margin-top: .6rem; font-size: .95rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.75rem; }
.step { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.step::before { content: counter(step); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; background: var(--gold); color: var(--ink); font: 700 1.3rem/1 var(--font-display); margin-bottom: .9rem; }
.step h3 { font: 700 1.4rem/1.1 var(--font-display); margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }

/* ---------- Service area band ---------- */
.area__grid { display: grid; gap: 2rem 5rem; align-items: center; }
.area__title { font: 800 clamp(3.2rem, 11vw, 7.5rem)/.9 var(--font-display); text-transform: uppercase; }
.area__title span { display: block; }
.area__and { font: 500 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--font-body) !important; text-transform: none; color: var(--gold-hi); margin-top: 1rem; max-width: 20em; }
.area__copy { max-width: 34rem; color: #dde1e4; }
.area__copy p + p { margin-top: 1rem; }
@media (min-width: 900px) { .area__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* ---------- Reviews ---------- */
.reviews { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } .reviews--page { grid-template-columns: repeat(2, 1fr); } }
.review figure { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); padding: 1.6rem; }
.review__text p { font-size: 1.12rem; line-height: 1.5; color: var(--text); }
.review__by { display: flex; flex-direction: column; gap: .15rem; font-size: .95rem; color: var(--muted); }
.review__by strong { color: var(--text); font-size: 1.02rem; }
.review__src { font-size: .88rem; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); margin-bottom: .35rem; }
.stars__star { width: 1.05rem; height: 1.05rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--ink); padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.cta-band__inner { display: grid; gap: 1.75rem 3rem; align-items: center; }
.cta-band h2 { font: 800 clamp(2.1rem, 5vw, 3.4rem)/1 var(--font-display); margin-bottom: .6rem; }
.cta-band p { max-width: 34rem; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; }
.cta-band__calls { display: flex; flex-direction: column; gap: .75rem; }
.cta-band .btn--outline { border-color: var(--ink); }
@media (min-width: 560px) { .cta-band__calls { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; } .cta-band__actions { align-items: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #cbd0d4; padding-top: clamp(2.75rem, 6vw, 4.5rem); }
.footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.1fr 1.3fr .9fr minmax(17rem, 1.2fr); } }
.footer__about p { margin-top: 1rem; max-width: 24rem; }
.footer__h { font: 700 1.2rem/1 var(--font-display); letter-spacing: .04em; color: #fff; margin-bottom: 1rem; }
.footer__list, .footer__phones { list-style: none; display: grid; gap: .55rem; }
.footer__line { overflow-wrap: anywhere; }
.footer__list a, .footer__mail { color: #cbd0d4; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: .2em; }
.footer__list a:hover, .footer__mail:hover { color: #fff; text-decoration-color: var(--gold); }
.footer__phones li { display: flex; flex-direction: column; }
.footer__who { font-size: .9rem; color: var(--muted-on-dark); }
.footer__tel { color: #fff; font: 600 1.45rem/1.3 var(--font-display); letter-spacing: .02em; text-decoration: none; padding-block: .1rem; }
.footer__tel:hover { color: var(--gold-hi); }
.footer__line { margin-top: 1rem; }
.footer__legal { margin-top: 2.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; font-size: .92rem; color: var(--muted-on-dark); }
.site-footer .placeholder { color: var(--muted-on-dark); }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.75rem, 6vw, 4.5rem); }
.page-hero--dark { background: var(--ink); color: #fff; }
.page-hero__title { font: 800 clamp(2.4rem, 6.2vw, 4.4rem)/.98 var(--font-display); max-width: 18em; }
.page-hero__lead { margin-top: 1.1rem; font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.5; color: #dde1e4; max-width: 42em; }
.page-hero .hero__actions { margin-top: 1.75rem; }
.crumbs { margin-bottom: 1.5rem; font-size: .92rem; color: var(--muted-on-dark); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-dark); }
.crumbs a { color: var(--muted-on-dark); text-underline-offset: .2em; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current="page"] { color: #fff; }

/* ---------- Service page ---------- */
.service__grid { display: grid; gap: 3rem 4.5rem; align-items: start; }
@media (min-width: 960px) { .service__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .service__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.checks { list-style: none; display: grid; gap: .8rem; margin-top: 1.25rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; }
.tick { width: 24px; height: 24px; flex: none; color: var(--gold-deep); margin-top: .12rem; stroke-width: 2.6; }
.service__h2 { margin-top: 3rem; }
.considerations { list-style: none; margin-top: 1.1rem; border-bottom: 1px solid var(--line); }
.considerations li { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.considerations h3 { font: 700 1.3rem/1.15 var(--font-display); margin-bottom: .3rem; }
.considerations p { color: var(--muted); max-width: 40em; }
.service__local { margin-top: 2.25rem; padding: 1.25rem 1.4rem; background: var(--paper); border-left: 5px solid var(--gold); max-width: 40em; }
.media { display: grid; gap: 1.25rem; }
.media__note { margin-top: .75rem; font-size: .9rem; color: var(--muted); }
.shot { margin: 0; }
.shot figcaption { margin-top: .55rem; font-size: .95rem; color: var(--muted); }
.shot__img { width: 100%; }
.photo-empty { aspect-ratio: 4 / 3; background: var(--ink); color: #cfd4d8; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 1.5rem; clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.photo-empty__mark { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255,255,255,.3); }
.photo-empty p { max-width: 16rem; }
.aside-cta { margin-top: 1.75rem; padding: 1.5rem; border: 2px solid var(--ink); }
.aside-cta p { margin: .5rem 0 1.1rem; color: var(--muted); }
.aside-cta .btn { width: 100%; }

/* ---------- Services index ---------- */
.situations { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.situation { background: var(--white); padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; justify-content: space-between; }
.situation__q { font-weight: 500; }
@media (min-width: 720px) { .situations { grid-template-columns: repeat(2, 1fr); } }

/* ---------- About ---------- */
.owners { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .owners { grid-template-columns: repeat(2, 1fr); } }
.owner { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--ink); padding: 1.6rem; }
.owner__name { font: 700 1.9rem/1.05 var(--font-display); }
.owner__role { color: var(--muted); margin: .25rem 0 1.25rem; }
.owner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.values { list-style: none; display: grid; gap: 1.5rem; }
.value { border-top: 3px solid var(--ink); padding-top: 1rem; }
.value h3 { font: 700 1.45rem/1.1 var(--font-display); margin-bottom: .4rem; }
.value p { color: var(--muted); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Projects ---------- */
.project-group + .project-group { padding-top: 0; }
.project { display: grid; gap: 1.5rem 3rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.project__text p { color: var(--muted); margin-top: .5rem; max-width: 30em; }
.project__shots { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
.project__shots .shot__img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) {
  .project { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .project__shots--2 { grid-template-columns: 1fr 1fr; }
  .project__shots--1 { grid-template-columns: minmax(0, 1fr); max-width: 26rem; }
}
@media (min-width: 480px) and (max-width: 899px) { .project__shots--2 { grid-template-columns: 1fr 1fr; } }
.shot__btn { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; font: inherit; color: inherit; }
.plain-list { list-style: none; display: grid; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.lightbox { border: 0; padding: 0; background: var(--ink); color: #fff; max-width: min(94vw, 920px); max-height: 94vh; width: 100%; }
.lightbox::backdrop { background: rgba(10,12,13,.85); }
.lightbox__img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lightbox__cap { padding: .9rem 1.25rem 1.1rem; color: #dde1e4; }
.lightbox__close { position: absolute; top: .6rem; right: .6rem; z-index: 2; min-height: 44px; padding: .5rem 1rem; background: var(--gold); color: var(--ink); border: 0; font: 600 1rem var(--font-body); cursor: pointer; }

/* ---------- Service areas ---------- */
.places { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .places { grid-template-columns: 1fr 1fr; } .place--wide { grid-column: 1 / -1; } }
.place { padding: 1.75rem; border: 1px solid var(--line); border-top: 5px solid var(--gold); background: var(--white); }
.place__name { font: 800 clamp(2rem, 7.5vw, 3.6rem)/.95 var(--font-display); text-transform: uppercase; margin-bottom: .75rem; overflow-wrap: anywhere; }
.place p { max-width: 44em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.chips li { padding: .35rem .8rem; background: var(--paper); border: 1px solid var(--line); }

/* ---------- Contact + form ---------- */
.contact__grid { display: grid; gap: 3rem 4rem; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } .contact__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact__form > .h3 { margin-bottom: 1.5rem; }
.contact__sub { margin-bottom: 1rem; }
.contact-email { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; margin-bottom: 1.75rem; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--ink); font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.contact-email__icon { width: 26px; height: 26px; flex: none; color: var(--gold-deep); }
.contact-cards { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 1.25rem 0 1.75rem; }
.contact-card { padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--ink); }
.contact-card__name { font-weight: 600; color: var(--muted); }
.contact-card__num { display: inline-block; font: 800 2.2rem/1.15 var(--font-display); letter-spacing: .02em; color: var(--ink); text-decoration: none; padding-block: .15rem; }
.contact-card__num:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.contact-card__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr)); gap: .6rem; margin-top: .6rem; }
.contact-card__actions .btn { padding-inline: .5rem; flex-wrap: nowrap; white-space: nowrap; gap: .4rem; font-size: .95rem; }
.details { display: grid; gap: .8rem; }
.detail { display: flex; gap: .7rem; align-items: flex-start; }
.detail__icon { width: 22px; height: 22px; flex: none; margin-top: .2rem; color: var(--gold-deep); }

.form__grid { display: grid; gap: 1.35rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; font-weight: 600; margin-bottom: .35rem; padding: 0; }
.field__opt { font-weight: 400; color: var(--muted); }
.field__hint { font-size: .93rem; color: var(--muted); margin: -.1rem 0 .45rem; }
.field__input { width: 100%; min-height: 50px; padding: .7rem .9rem; font: 400 1rem/1.4 var(--font-body); color: var(--text); background: #fff; border: 1.5px solid #80878d; border-radius: 3px; }
.field__text { min-height: 9rem; resize: vertical; }
.field__input:focus-visible, .field__file:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field__select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - .95rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field__file { width: 100%; padding: .65rem; border: 1.5px dashed #80878d; background: var(--paper); font: inherit; }
.field__error { margin-top: .4rem; color: var(--error); font-weight: 600; font-size: .95rem; }
[aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio { display: inline-flex; align-items: center; gap: .6rem; min-height: 50px; padding: .4rem 1rem .4rem .85rem; border: 1.5px solid #80878d; border-radius: 3px; background: #fff; cursor: pointer; }
.radio input { width: 1.2rem; height: 1.2rem; accent-color: var(--ink); }
.radio:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.radio:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
label.check { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
label.check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; flex: none; accent-color: var(--ink); }
.photo-note { padding: 1rem 1.1rem; background: var(--paper); border-left: 5px solid var(--gold); }
.filelist { list-style: none; margin-top: .5rem; display: grid; gap: .25rem; font-size: .95rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.form__note { color: var(--muted); }
.alert { padding: 1rem 1.25rem; border-left: 5px solid var(--ink); background: var(--paper); margin-bottom: 1.25rem; }
.alert--notice { border-color: var(--gold); background: #fbf4df; }
.alert--error { border-color: var(--error); background: #fdeceb; color: #6e1710; }
.alert--ok { border-color: var(--ok); background: #e8f4ec; color: #14452a; }
.alert ul { margin: .5rem 0 0 1.2rem; padding: 0; }
.alert a { color: inherit; font-weight: 600; }
#form-status { margin-top: 1.5rem; margin-bottom: 0; }
.alert__actions { margin-top: .85rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.alert__small { margin-top: .6rem; font-size: .93rem; }
.alert .btn--dark { color: #fff; }
.alert .btn--outline { background: #fff; }

.mini-steps { list-style: none; counter-reset: m; display: grid; gap: 1.1rem; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .9rem; }
.mini-steps li::before { content: counter(m); grid-row: 1 / 3; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: var(--gold); color: var(--ink); font: 700 1.25rem/1 var(--font-display); }
.mini-steps h3 { font: 700 1.3rem/1.15 var(--font-display); }
.mini-steps p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Very small phones (under 360px): keep the Call Us button and menu button on one line */
@media (max-width: 359px) {
  .header__inner { gap: .5rem; }
  .header__actions { gap: .4rem; }
  .brand { gap: .5rem; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__goat { font-size: 1.6rem; }
  .brand__sub { display: none; }
  .call-menu__btn { padding-inline: .75rem; }
  .btn { padding-inline: 1rem; }
}
