/* ============================================================
   J&M Interior y Exterior LLC — Site Stylesheet
   Palette drawn from logo: black #0D0D0F, red #E02128, white
   ============================================================ */

:root {
  --black: #0b0b0d;
  --ink: #131316;
  --ink-2: #1a1a1f;
  --ink-3: #232329;
  --red: #e02128;
  --red-dark: #b3161c;
  --red-soft: rgba(224, 33, 40, 0.12);
  --white: #ffffff;
  --paper: #f7f7f8;
  --grey: #9a9aa3;
  --grey-2: #c9c9cf;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(13, 13, 15, 0.1);
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}

.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 16px; }
.section-sub { color: var(--grey); max-width: 640px; font-size: 1.02rem; }

.light-section { background: var(--paper); color: var(--ink); }
.light-section .section-sub { color: #5c5c66; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(224, 33, 40, 0.35);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--black); transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar a { font-weight: 600; }
.topbar span { opacity: 0.92; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nav-cta { margin-left: 10px; }
.nav .btn { padding: 11px 24px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 130px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(224, 33, 40, 0.18), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(224, 33, 40, 0.1), transparent 60%),
    var(--black);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 500px at 60% 40%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--red); }
.hero p.lead {
  color: var(--grey);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-panel {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 36px;
}
.hero-panel .logo-badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-panel h3 { font-size: 1.25rem; margin-bottom: 8px; }
.hero-panel p { color: var(--grey); font-size: 0.95rem; margin-bottom: 22px; }
.hero-panel .panel-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--grey-2);
}
.hero-panel .panel-list li strong { color: var(--white); font-weight: 600; }
.check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 44px 0;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--white);
}
.stat b .accent { color: var(--red); }
.stat span {
  font-size: 0.82rem;
  color: var(--grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Generic section spacing ---------- */
.section { padding: 100px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Service cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(13,13,15,0.12); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.28rem; margin-bottom: 12px; color: var(--ink); }
.service-card p { color: #5c5c66; font-size: 0.95rem; margin-bottom: 18px; }
.service-card .mini-list li {
  font-size: 0.9rem;
  color: #45454e;
  padding: 6px 0 6px 24px;
  position: relative;
}
.service-card .mini-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--red);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--red);
}
.card-link:hover { gap: 12px; }
.card-link { transition: gap 0.25s ease; }

/* ---------- Detailed service rows (services page) ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line-dark);
}
.service-row:last-child { border-bottom: none; }
.service-row.flip .service-media { order: 2; }
.service-row h3 { font-size: 1.7rem; color: var(--ink); margin-bottom: 14px; }
.service-row p { color: #5c5c66; margin-bottom: 20px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  background: #ececf0;
  border-radius: 100px;
  padding: 7px 16px;
}

/* ---------- Media placeholders ---------- */
.ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(150deg, var(--ink-2) 0%, var(--ink-3) 55%, #2c2c34 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--grey);
  min-height: 300px;
  border: 1px solid var(--line);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.ph::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,33,40,0.25), transparent 70%);
}
.ph svg { width: 44px; height: 44px; opacity: 0.85; position: relative; }
.ph span {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.ph small { position: relative; font-size: 0.72rem; color: #6f6f78; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(224,33,40,0.45); }
.step-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  margin-bottom: 16px;
  display: block;
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--grey); font-size: 0.9rem; }

/* ---------- Gallery ---------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.25s ease;
}
.dark-context .filter-btn { border-color: var(--line); color: var(--grey-2); }
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item .ph { min-height: 260px; transition: transform 0.35s ease; }
.gallery-item:hover .ph { transform: scale(1.02); }
.gallery-item.hidden { display: none; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stars { color: var(--red); letter-spacing: 3px; font-size: 0.95rem; }
.testi p { color: var(--grey-2); font-size: 0.96rem; font-style: italic; }
.testi-who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.95rem;
}
.testi-who b { display: block; font-size: 0.95rem; }
.testi-who span { font-size: 0.8rem; color: var(--grey); }

/* ---------- Why us / feature list ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.light-section .feature-list li { border-color: var(--line-dark); }
.feature-list li:last-child { border-bottom: none; }
.feature-list b { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.feature-list p { color: var(--grey); font-size: 0.92rem; }
.light-section .feature-list p { color: #5c5c66; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--red-dark), var(--red) 60%);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(600px 300px at 80% 50%, #000, transparent 80%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 74px 0;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 560px; }
.cta-inner p { opacity: 0.9; margin-top: 8px; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.25); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
}
.contact-card h3 { font-size: 1.3rem; margin-bottom: 20px; }
.c-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.c-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-ico svg { width: 20px; height: 20px; }
.c-row b { display: block; font-size: 0.92rem; }
.c-row a, .c-row span.val { color: var(--grey); font-size: 0.92rem; transition: color 0.2s; }
.c-row a:hover { color: var(--red); }

.quote-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}
.quote-form h3 { font-size: 1.45rem; margin-bottom: 6px; }
.quote-form > p { color: #5c5c66; font-size: 0.93rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.83rem; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1px solid #d9d9df;
  border-radius: 10px;
  background: #fbfbfc;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 33, 40, 0.14);
}
.form-note { font-size: 0.78rem; color: #8a8a93; margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status.ok { display: block; background: #e8f7ee; color: #14713d; }
.form-status.err { display: block; background: #fdecec; color: #b3161c; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 84px 0 70px;
  background:
    radial-gradient(700px 360px at 90% -20%, rgba(224, 33, 40, 0.16), transparent 60%),
    var(--black);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 14px; }
.page-hero p { color: var(--grey); max-width: 620px; font-size: 1.05rem; }
.crumbs { font-size: 0.82rem; color: var(--grey); margin-bottom: 22px; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }
.crumbs .here { color: var(--white); }

/* ---------- About page ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.value-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(13,13,15,0.1); }
.value-card h3 { color: var(--ink); font-size: 1.15rem; margin: 18px 0 10px; }
.value-card p { color: #5c5c66; font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 74px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 54px;
}
.footer-brand p { color: var(--grey); font-size: 0.92rem; margin-top: 16px; max-width: 300px; }
.site-footer h4 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--grey); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--red); }
.footer-contact li {
  color: var(--grey);
  font-size: 0.92rem;
  margin-bottom: 13px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact a:hover { color: var(--red); }
.footer-contact .dot { color: var(--red); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--grey);
}
.footer-bottom a { color: var(--grey-2); }
.footer-bottom a:hover { color: var(--red); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

body.menu-open { overflow: hidden; }

/* ---------- Real photos ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.light-section .media-frame { border-color: var(--line-dark); box-shadow: 0 18px 40px rgba(13,13,15,0.14); }
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item { position: relative; }
.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.g-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 18px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  pointer-events: none;
}
.g-label b {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.g-label span {
  color: var(--grey-2);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner, .split, .contact-grid, .service-row { grid-template-columns: 1fr; }
  .service-row.flip .service-media { order: 0; }
  .cards-3, .testi-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  /* Solid header on mobile: backdrop-filter would break the fixed menu overlay */
  .site-header {
    background: var(--black);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 0.95rem; }
  .brand-name small { letter-spacing: 0.16em; font-size: 0.58rem; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 110;
    margin: 0;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--grey-2);
    padding: 12px 0;
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--red); }
  .nav-links .nav-cta { margin: 18px 0 0; padding: 14px 34px; font-size: 1rem; color: var(--white); }
  .cards-3, .testi-grid, .value-grid, .process-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero { padding: 80px 0 90px; }
  .quote-form { padding: 34px 24px; }
  .topbar .container { justify-content: center; text-align: center; }
  /* Footer: single clean column on phones */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-brand p { max-width: none; }
  .footer-bottom { justify-content: center; text-align: center; }
}
