/* ==========================================================================
   Blackstone Works — Wallpaper Installation in Blackstone, MA
   Modern craftsman / warm slate-and-copper
   Palette: Deep slate #232B33 | Warm copper #B86A3E | Soft stone #EDE7DE
            Warm ivory #FBF7F0 | Muted teal #4A6A66
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --slate: #232B33;
  --slate-deep: #1A2026;
  --slate-soft: #2E3841;
  --copper: #B86A3E;
  --copper-light: #C98054;
  --copper-dark: #96522D;
  --stone: #EDE7DE;
  --stone-dark: #DCD3C6;
  --ivory: #FBF7F0;
  --teal: #4A6A66;
  --teal-dark: #3A5450;
  --ink: #232B33;
  --ink-soft: #4C5762;

  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 2px 10px rgba(35, 43, 51, 0.06);
  --shadow-md: 0 14px 34px rgba(35, 43, 51, 0.10);
  --shadow-lg: 0 26px 60px rgba(26, 32, 38, 0.18);

  --radius: 4px;
  --radius-lg: 6px;
  --container: 1200px;
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--slate);
  margin: 0 0 0.7em;
}

h1 { font-size: clamp(2.25rem, 5.4vw, 3.85rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.32rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--copper-dark); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--copper); }

ul, ol { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 600; color: var(--slate); }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- 3. Type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  position: relative;
}

.eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  background: currentColor;
  opacity: 0.85;
}

.eyebrow-dark { color: var(--copper-dark); }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 62ch;
  margin-bottom: 0;
}

.text-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--copper-dark);
  border-bottom: 1px solid rgba(184, 106, 62, 0.4);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
  transform: translateX(3px);
}

.text-link-light { color: var(--copper-light); border-color: rgba(201, 128, 84, 0.45); }
.text-link-light:hover { color: var(--ivory); border-color: var(--ivory); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1;
  padding: 1.02rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease),
              border-color 0.28s var(--ease), transform 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}

.btn-primary {
  background: var(--copper);
  color: var(--ivory);
  box-shadow: 0 10px 24px rgba(184, 106, 62, 0.24);
}
.btn-primary:hover {
  background: var(--copper-dark);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(184, 106, 62, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(251, 247, 240, 0.55);
}
.btn-outline:hover {
  background: rgba(251, 247, 240, 0.12);
  border-color: var(--ivory);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--stone-dark);
}
.btn-ghost:hover {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn-copper {
  background: var(--teal);
  color: var(--ivory);
  border-color: var(--teal);
}
.btn-copper:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--ivory);
  transform: translateY(-2px);
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(251, 247, 240, 0.99);
  box-shadow: 0 8px 26px rgba(35, 43, 51, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--slate);
  margin-right: auto;
  transition: opacity 0.25s var(--ease);
}
.logo:hover { opacity: 0.85; color: var(--slate); }

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: var(--slate);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  box-shadow: inset 0 -2px 0 var(--copper);
}

.logo-text {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.78rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.78rem;
  right: 0.78rem;
  bottom: 0.25rem;
  height: 1.5px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover { color: var(--copper-dark); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  background: var(--ivory);
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease),
              transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.header-phone:hover {
  background: var(--slate);
  border-color: var(--slate);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.header-phone-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-dark);
  transition: color 0.28s var(--ease);
}

.header-phone-number {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate);
  white-space: nowrap;
  transition: color 0.28s var(--ease);
}

.header-phone:hover .header-phone-label { color: var(--copper-light); }
.header-phone:hover .header-phone-number { color: var(--ivory); }

.header-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--copper) 0%, var(--copper) 22%, var(--teal) 22%, var(--teal) 40%, rgba(35, 43, 51, 0.1) 40%, rgba(35, 43, 51, 0.1) 100%);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: var(--ivory);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--slate);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav-toggle.is-active span { background: var(--copper); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background-color: var(--slate);
  background-image: url("images/hero-cover.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--ivory);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(26, 32, 38, 0.93) 0%, rgba(35, 43, 51, 0.85) 42%, rgba(74, 58, 44, 0.62) 100%),
    radial-gradient(120% 90% at 82% 18%, rgba(184, 106, 62, 0.28) 0%, rgba(184, 106, 62, 0) 62%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(90deg, rgba(251, 247, 240, 0.05) 0 1px, transparent 1px 84px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(3.4rem, 7vw, 6.2rem);
  padding-bottom: clamp(3.4rem, 7vw, 6.2rem);
}

.hero-copy .eyebrow { color: var(--copper-light); }

.hero h1 {
  color: var(--ivory);
  margin-bottom: 0.55em;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: rgba(251, 247, 240, 0.86);
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.4rem;
}

.trust-markers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.4rem;
  max-width: 480px;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(251, 247, 240, 0.18);
}

.trust-markers li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(251, 247, 240, 0.92);
}

.tick {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(201, 128, 84, 0.85);
  border-radius: 50%;
}

.tick::before {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--copper-light);
  border-bottom: 1.5px solid var(--copper-light);
  transform: rotate(-45deg) translateY(-1px);
}

.hero-card {
  background: rgba(251, 247, 240, 0.97);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 247, 240, 0.6);
  border-top: 3px solid var(--copper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.hero-card:hover { transform: translateY(-5px); }

.hero-card-image { position: relative; overflow: hidden; background: var(--stone); }
.hero-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.hero-card:hover .hero-card-image img { transform: scale(1.04); }

.hero-card-body {
  padding: 1.5rem 1.6rem 1.7rem;
  color: var(--ink);
}

.hero-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.hero-card-title {
  font-size: 1.24rem;
  margin-bottom: 0.5rem;
}

.hero-card-text {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 1.05rem;
}

/* ---------- 7. Section shells ---------- */
.section {
  padding: clamp(3.8rem, 8vw, 6.6rem) 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem);
}

.section-head-light h2 { color: var(--ivory); }
.section-head-light .section-sub { color: rgba(251, 247, 240, 0.78); }
.section-head-light .eyebrow { color: var(--copper-light); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.6rem);
  align-items: center;
}

.split-wide { grid-template-columns: 0.92fr 1.08fr; }
.split-contact { grid-template-columns: 0.95fr 1.05fr; align-items: start; }
.split-map { grid-template-columns: 0.92fr 1.08fr; align-items: stretch; }

/* ---------- 8. About ---------- */
.about { background: var(--ivory); }

.split-media {
  position: relative;
  padding-bottom: 62px;
  padding-right: 46px;
}

.framed-img {
  position: relative;
  background: var(--stone);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.framed-img img {
  width: 100%;
  border-radius: 2px;
  object-fit: cover;
}

.split-media > .framed-img:first-child img { aspect-ratio: 4 / 3; }

.framed-img.overlap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 47%;
  background: var(--ivory);
  border-top: 3px solid var(--copper);
  box-shadow: var(--shadow-lg);
}

.framed-img.overlap img { aspect-ratio: 4 / 3; }

.mat-card {
  position: absolute;
  left: -18px;
  bottom: 34px;
  width: 96px;
  height: 96px;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  background-image: repeating-linear-gradient(45deg, rgba(184, 106, 62, 0.14) 0 2px, transparent 2px 8px);
  z-index: -1;
}

.split-copy h2 { margin-bottom: 0.7em; }

.split-copy p { color: var(--ink-soft); }

.owner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.9rem 0 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--ivory);
  border: 1px solid var(--stone-dark);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.owner-initials {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: var(--teal);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
}

.owner-name {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--slate);
  margin: 0;
  line-height: 1.35;
}

.owner-role {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 0;
}

.quote-card {
  margin: 0;
  padding: 1.5rem 1.7rem 1.5rem 1.9rem;
  background: var(--slate);
  color: var(--ivory);
  border-radius: var(--radius);
  border-left: 3px solid var(--copper);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -26px;
  right: 12px;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: rgba(184, 106, 62, 0.28);
}

.quote-card p {
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.9vw, 1.28rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ivory);
  margin: 0;
  position: relative;
}

/* ---------- 9. Services ---------- */
.services {
  background:
    linear-gradient(180deg, var(--stone) 0%, var(--ivory) 100%);
  border-top: 1px solid var(--stone-dark);
}

.card-grid {
  display: grid;
  gap: 1.35rem;
}

.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 1.85rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--copper);
  transition: width 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--stone-dark);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before { width: 100%; }

.card-number {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184, 106, 62, 0.35);
}

.service-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.16rem;
}

.service-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 1.3rem;
}

.service-card .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- 10. Process ---------- */
.process {
  background: var(--slate);
  color: rgba(251, 247, 240, 0.82);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 60% at 88% 0%, rgba(184, 106, 62, 0.18) 0%, rgba(184, 106, 62, 0) 60%),
    repeating-linear-gradient(90deg, rgba(251, 247, 240, 0.035) 0 1px, transparent 1px 96px);
}

.process .container { position: relative; }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 2.2rem 1.5rem 1.9rem;
  background: rgba(251, 247, 240, 0.045);
  border: 1px solid rgba(251, 247, 240, 0.12);
  border-radius: var(--radius);
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.process-step:hover {
  background: rgba(251, 247, 240, 0.08);
  border-color: rgba(201, 128, 84, 0.55);
  transform: translateY(-5px);
}

.process-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.15rem;
  background: var(--copper);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(184, 106, 62, 0.35);
}

.process-step h3 {
  color: var(--ivory);
  font-size: 1.16rem;
  margin-bottom: 0.55rem;
}

.process-step p {
  font-size: 0.94rem;
  margin: 0;
  color: rgba(251, 247, 240, 0.75);
}

.process-step::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 128, 84, 0.6), rgba(201, 128, 84, 0));
}

/* ---------- 11. Why choose us ---------- */
.why { background: var(--ivory); }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.benefit-card {
  background: var(--ivory);
  border: 1px solid var(--stone-dark);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.3rem;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-left-color 0.32s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--copper);
  box-shadow: var(--shadow-md);
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.42rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

/* ---------- 12. Gallery ---------- */
.gallery { background: linear-gradient(180deg, var(--stone) 0%, var(--ivory) 100%); border-top: 1px solid var(--stone-dark); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  padding: 2.6rem 1.2rem 1.15rem;
  background: linear-gradient(180deg, rgba(26, 32, 38, 0) 0%, rgba(26, 32, 38, 0.88) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-overlay span {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  border-left: 2px solid var(--copper);
  padding-left: 0.7rem;
  line-height: 1.35;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 13. Contact / form ---------- */
.contact {
  background: var(--ivory);
  border-top: 1px solid var(--stone-dark);
}

.contact-points {
  margin: 1.9rem 0;
  border-top: 1px solid var(--stone-dark);
}

.contact-points li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--stone-dark);
}

.contact-points strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
}

.contact-points span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-panel {
  background: var(--stone);
  border: 1px solid var(--stone-dark);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.4vw, 2.4rem);
  box-shadow: var(--shadow-md);
}

.quote-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-bottom: 1.05rem;
}

.quote-form label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius);
  padding: 0.88rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.quote-form textarea { resize: vertical; min-height: 132px; line-height: 1.6; }

.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #9AA2A8; }

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(184, 106, 62, 0.16);
}

.btn-submit { width: 100%; margin-top: 0.4rem; }

.form-success {
  padding: 1.6rem 1.5rem;
  background: var(--ivory);
  border: 1px solid var(--stone-dark);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--slate);
  animation: fadeIn 0.4s ease;
}

.error-message {
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

/* ---------- 14. Location / map ---------- */
.location {
  background: linear-gradient(180deg, var(--stone) 0%, var(--ivory) 100%);
  border-top: 1px solid var(--stone-dark);
}

.info-list {
  margin: 1.8rem 0 1.9rem;
  border-top: 1px solid var(--stone-dark);
}

.info-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--stone-dark);
}

.info-item dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-dark);
}

.info-item dd {
  margin: 0;
  font-size: 1rem;
  color: var(--slate);
  word-break: break-word;
}

.info-item dd a { font-weight: 500; }

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-frame {
  min-height: 420px;
  border: 1px solid var(--stone-dark);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--ivory);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  border-radius: 2px;
  filter: saturate(0.92) contrast(1.02);
}

/* ---------- 15. CTA band ---------- */
.cta-band {
  background: var(--slate);
  color: var(--ivory);
  padding: clamp(2.6rem, 5vw, 3.6rem) 0;
  border-top: 3px solid var(--copper);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.cta-band h2 {
  color: var(--ivory);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  margin-bottom: 0.35rem;
}

.cta-band p {
  color: rgba(251, 247, 240, 0.76);
  margin: 0;
  font-size: 0.98rem;
}

.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--slate-deep);
  color: rgba(251, 247, 240, 0.72);
  padding-top: clamp(3rem, 6vw, 4.4rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.85fr 1.15fr;
  gap: clamp(1.6rem, 3.4vw, 3rem);
  padding-bottom: 2.8rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ivory);
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--copper);
  display: inline-block;
}

.footer-tagline {
  font-size: 0.95rem;
  max-width: 40ch;
  margin-bottom: 0.8rem;
}

.footer-owner {
  font-size: 0.86rem;
  color: rgba(251, 247, 240, 0.55);
  margin: 0;
}

.footer-heading {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 1.05rem;
}

.footer-list li {
  font-size: 0.94rem;
  margin-bottom: 0.62rem;
  word-break: break-word;
}

.footer-list a { color: rgba(251, 247, 240, 0.78); }
.footer-list a:hover { color: var(--ivory); }

.footer-text { font-size: 0.93rem; margin-bottom: 1rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.35rem 22px 1.6rem;
  border-top: 1px solid rgba(251, 247, 240, 0.13);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(251, 247, 240, 0.55);
}

.footer-domain { letter-spacing: 0.03em; }

/* ---------- 17. Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--slate);
  color: var(--ivory);
  border-radius: var(--radius);
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              visibility 0.3s var(--ease), background-color 0.3s var(--ease);
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--copper); color: var(--ivory); }

/* ---------- 18. Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1120px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .split,
  .split-wide,
  .split-contact,
  .split-map { grid-template-columns: 1fr; }
  .split-map .map-frame { min-height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--ivory);
    border-bottom: 2px solid var(--copper);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s var(--ease), opacity 0.3s var(--ease);
    opacity: 0;
  }

  .main-nav.is-open { max-height: 420px; opacity: 1; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 22px 1.2rem;
  }

  .main-nav li { border-bottom: 1px solid var(--stone-dark); }
  .main-nav li:last-child { border-bottom: 0; }

  .main-nav a {
    display: block;
    padding: 0.95rem 0.2rem;
    font-size: 1rem;
  }

  .main-nav a::after { left: 0.2rem; right: auto; width: 34px; bottom: 0.55rem; }

  .header-phone { padding: 0.55rem 0.8rem; }
  .header-phone-label { display: none; }
  .header-phone-number { font-size: 0.94rem; }

  .logo-text { font-size: 1.15rem; }
}

@media (max-width: 760px) {
  body { font-size: 0.98rem; }
  .container { padding: 0 18px; }
  .trust-markers { grid-template-columns: 1fr; max-width: 320px; }
  .hero-cta .btn { width: 100%; }
  .split-media { padding-right: 0; padding-bottom: 48px; }
  .framed-img.overlap { position: relative; width: 100%; margin-top: 14px; }
  .mat-card { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: flex-start; }
  .info-item { grid-template-columns: 1fr; gap: 0.2rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-actions .btn { width: 100%; }
  .btn { padding: 0.98rem 1.4rem; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 520px) {
  .services-grid,
  .process-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text { display: none; }
  .hero-card-body { padding: 1.25rem 1.2rem 1.4rem; }
}

/* ---------- 20. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .back-to-top,
  .cta-band,
  .map-frame { display: none; }
  body { background: #fff; }
}
