:root {
  --red: #D6222D;
  --red-dark: #A8192E;
  --ink: #0f0f0f;
  --ink-soft: #2a2a2a;
  --muted: #6b6b6b;
  --line: #ece8e2;
  --bg: #ffffff;
  --bg-alt: #f7f4ef;
  --bg-dark: #111111;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--red); z-index: 200; transition: width 80ms linear; }

/* BBB Badge */
.bbb-badge { position: fixed; bottom: 26px; right: 26px; z-index: 90; display: inline-flex; align-items: stretch; height: 70px; border-radius: 3px; overflow: hidden; text-decoration: none; font-family: var(--font-sans); box-shadow: 0 10px 28px rgba(0,0,0,0.28), 0 3px 8px rgba(0,0,0,0.16); transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease; }
.bbb-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0,0,0,0.32), 0 5px 12px rgba(0,0,0,0.18); }
.bbb-mark { width: 70px; background: #0a5d80; display: flex; align-items: center; justify-content: center; padding: 8px; border-right: 1px solid rgba(255,255,255,0.08); }
.bbb-mark svg { width: 100%; height: 100%; display: block; }
.bbb-text { background: #0d6d94; padding: 0 18px; display: flex; flex-direction: column; justify-content: center; color: white; gap: 2px; }
.bbb-text .line-1, .bbb-text .line-2 { font-size: 13px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; line-height: 1.15; white-space: nowrap; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 56px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, padding 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}
nav.nav-scrolled {
  padding: 12px 56px;
  background: rgba(6,6,6,0.55);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: rgba(255,255,255,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 52px; width: auto; }
nav > ul { display: flex; gap: 40px; align-items: center; list-style: none; margin-left: auto; }
nav > ul > li > a:not(.nav-cta) { position: relative; color: rgba(255,255,255,0.88); font-size: 13.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 0; transition: color 200ms ease; }
nav > ul > li > a:not(.nav-cta):hover { color: white; }
nav > ul > li > a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: right center; transition: transform 300ms cubic-bezier(.2,.7,.2,1); }
nav > ul > li > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left center; }

.nav-item { position: relative; }
.nav-dropdown {
  display: block;
  position: absolute; top: 100%; left: -16px;
  transform: translateY(-8px);
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 28px 64px rgba(0,0,0,0.70), 0 8px 20px rgba(0,0,0,0.50);
  min-width: 240px; opacity: 0; pointer-events: none;
  padding: 18px 0 8px 0;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 200; list-style: none;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown li a { display: block; padding: 10px 20px !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: 1.3px !important; text-transform: uppercase !important; color: rgba(255,255,255,0.82) !important; text-shadow: none !important; transition: color 150ms ease, background 150ms ease; white-space: nowrap; background: none !important; }
.nav-dropdown li a:hover { color: white !important; background: rgba(255,255,255,0.06) !important; }
.nav-dropdown li a::after { display: none !important; }
.nav-parent-link { display: flex; align-items: center; gap: 5px; }
.nav-parent-link::after { display: none !important; }
.nav-chevron { display: inline-block; font-size: 9px; transition: transform 220ms ease; opacity: 0.75; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }
.nav-cta { background: var(--red); color: white !important; padding: 13px 26px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; border-radius: 999px; transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease; box-shadow: 0 4px 16px rgba(214,34,45,0.5); }
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(214,34,45,0.55); }
.nav-cta::after { display: none !important; }
.nav-cta .cta-short { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.7px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease; white-space: nowrap; user-select: none; }
.btn-lg { padding: 17px 38px; font-size: 15px; }
.btn-md { padding: 13px 28px; font-size: 14px; }
.btn-primary { background: var(--red); color: white; box-shadow: 0 8px 24px rgba(214,34,45,0.32); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(214,34,45,0.42); }
.btn-outline-light { background: transparent; color: white; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: white; color: var(--ink); border-color: white; transform: translateY(-2px); }
.btn-arrow::after { content: '→'; display: inline-block; font-size: 1.1em; transition: transform 250ms ease; }
.btn:hover.btn-arrow::after { transform: translateX(4px); }

/* Section primitives */
.container { max-width: 1280px; margin: 0 auto; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: 3.5px; text-transform: uppercase; color: var(--red); margin-bottom: 22px; }
.section-eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--red); }
.section-title { font-family: var(--font-serif); font-weight: 800; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -1.8px; margin-bottom: 26px; color: var(--ink); }
.section-title .accent { color: var(--red); font-style: italic; font-weight: 700; }

/* Page Hero */
.page-hero { background: var(--bg-dark); padding: 160px 56px 96px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 50%, rgba(214,34,45,0.18) 0%, transparent 60%); pointer-events: none; z-index: 2; }
.page-hero-inner { max-width: 780px; position: relative; z-index: 3; }
/* Photo hero variant */
.page-hero.page-hero-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero.page-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(4,4,4,0.9) 35%, rgba(4,4,4,0.6) 100%); pointer-events: none; z-index: 1; }
.page-hero .section-eyebrow { color: rgba(255,255,255,0.55); }
.page-hero .section-eyebrow::before { background: var(--red); }
.page-hero-title { font-family: var(--font-serif); font-weight: 800; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -2px; color: white; margin-bottom: 22px; }
.page-hero-title .accent { color: var(--red); font-style: italic; font-weight: 700; }
.page-hero-sub { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.78); font-weight: 500; margin-bottom: 40px; max-width: 580px; }
.page-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Content */
.page-content { padding: 100px 56px; background: var(--bg); }
.page-content-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.content-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.content-list li { position: relative; padding-left: 22px; font-size: 16px; font-weight: 600; color: var(--ink-soft); line-height: 1.4; }
.content-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.services-list { display: flex; flex-direction: column; }
.service-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); }
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item-num { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 22px; color: var(--red); padding-top: 2px; }
.service-item-title { font-family: var(--font-sans); font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.service-item-desc { font-size: 15px; font-weight: 500; color: var(--ink-soft); line-height: 1.6; }

/* Features */
.features { background: var(--bg-alt); padding: 80px 56px; }
.features-head { text-align: center; margin-bottom: 56px; }
.features-head .section-eyebrow { justify-content: center; }
.features-head .section-title { max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { padding: 36px 28px; background: white; border-top: 3px solid var(--red); }
.feature-num { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--red); margin-bottom: 14px; letter-spacing: 1px; }
.feature-title { font-family: var(--font-serif); font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.3px; }
.feature-desc { font-size: 15px; font-weight: 500; line-height: 1.65; color: var(--ink-soft); }

/* Cert list */
.cert-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cert-list li { position: relative; padding: 16px 20px; border-left: 3px solid var(--red); background: var(--bg-alt); font-size: 15px; font-weight: 600; color: var(--ink); }

/* CTA Block */
.cta-block { background: var(--bg-dark); color: white; padding: 100px 56px; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(214,34,45,0.18) 0%, transparent 60%); pointer-events: none; }
.cta-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; }
.cta-inner .section-eyebrow { color: var(--red); justify-content: center; }
.cta-title { font-family: var(--font-serif); font-size: clamp(40px, 5.2vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -1.8px; margin-bottom: 20px; color: white; }
.cta-title .accent { color: var(--red); font-style: italic; font-weight: 700; }
.cta-sub { font-size: 17.5px; color: rgba(255,255,255,0.88); font-weight: 500; margin-bottom: 42px; line-height: 1.65; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Projects grid */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { background: var(--bg-alt); padding: 36px 28px; border-top: 3px solid var(--red); }
.project-tag { font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.project-title { font-family: var(--font-serif); font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.3px; }
.project-desc { font-size: 15px; font-weight: 500; line-height: 1.65; color: var(--ink-soft); }

/* Contact form */
.quote-form-card { background: #ffffff; color: var(--ink); padding: 44px 40px; border-radius: 12px; box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 10px 24px rgba(0,0,0,0.28); display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field label { font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-soft); }
.form-field .req { color: var(--red); margin-left: 3px; }
.form-field input, .form-field select, .form-field textarea { font-family: var(--font-sans); font-size: 15px; font-weight: 500; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px; background: #fafafa; color: var(--ink); width: 100%; transition: border-color 200ms ease, box-shadow 200ms ease; appearance: none; -webkit-appearance: none; }
.form-field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--red); background: #ffffff; box-shadow: 0 0 0 4px rgba(214,34,45,0.12); }
.form-field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b6b6b' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.form-disclaimer { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.5; }

/* Footer */
footer { background: #0a0a0a; color: #999; padding: 80px 56px 32px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 24px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #888; max-width: 320px; margin-bottom: 26px; }
.footer-contact a, .footer-contact span { display: block; color: #ccc; font-size: 14px; margin-bottom: 10px; }
.footer-contact a { transition: color 200ms ease; }
.footer-contact a:hover { color: var(--red); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: inline-flex; align-items: center; padding: 8px 18px; border: 1px solid #333; border-radius: 999px; color: #bbb; font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; transition: border-color 200ms, color 200ms, background 200ms; }
.footer-social a:hover { border-color: var(--red); color: white; background: var(--red); }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: white; margin-bottom: 22px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { color: #888; font-size: 14px; transition: color 200ms; }
.footer-col ul a:hover { color: white; }
.footer-bottom { max-width: 1280px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid #1e1e1e; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #555; flex-wrap: wrap; gap: 12px; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px 10px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 280ms ease;
}
nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hamburger + full-screen nav overlay — tablet & mobile */
@media (max-width: 1099px) {
  .nav-hamburger { display: flex; position: relative; z-index: 99; touch-action: manipulation; }
  .nav-logo { position: relative; z-index: 99; }
  nav { padding: 14px 32px; }
  nav.nav-open { background: rgba(5,5,5,0.97) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  nav.nav-open .nav-logo { opacity: 0; pointer-events: none; }

  nav > ul { display: none !important; }

  nav.nav-open > ul {
    display: flex !important;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 36px 60px;
    overflow-y: auto;
    z-index: 98;
    list-style: none;
    margin: 0;
    animation: navOpen 240ms ease forwards;
  }

  nav.nav-open ul li { display: block !important; }

  nav.nav-open ul a:not(.nav-cta) {
    font-size: 26px !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    font-weight: 700 !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    display: block !important;
    color: white !important;
    text-shadow: none !important;
  }
  nav.nav-open ul a:not(.nav-cta)::after { display: none !important; }
  nav.nav-open ul a:not(.nav-cta):hover { color: var(--red) !important; }

  nav.nav-open .nav-item { position: static !important; }
  nav.nav-open .nav-dropdown {
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    padding: 0 0 0 16px !important;
    min-width: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  nav.nav-open .nav-dropdown li a {
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    padding: 11px 0 !important;
    color: rgba(255,255,255,0.62) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    background: transparent !important;
  }
  nav.nav-open .nav-dropdown li a:hover { color: white !important; }
  nav.nav-open .nav-dropdown li:last-child a { border-bottom: none !important; }
  .nav-chevron { display: none !important; }

  nav.nav-open .nav-cta {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 32px !important;
    font-size: 15px !important;
    padding: 16px 36px !important;
    align-self: flex-start !important;
    box-shadow: 0 4px 16px rgba(214,34,45,0.5) !important;
  }
  nav.nav-open .nav-cta .cta-long { display: inline !important; }
  nav.nav-open .nav-cta .cta-short { display: none !important; }
}

@keyframes navOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  nav { padding: 10px 18px !important; }
  .nav-logo img { height: 44px; }
}

/* Responsive */
@media (max-width: 1099px) {
  .page-hero { padding: 140px 36px 80px; }
  .page-content { padding: 80px 36px; }
  .features { padding: 64px 36px; }
  .cta-block { padding: 80px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  footer { padding: 60px 36px 28px; }
  /* Tighten inline-padded sections on tablet */
  [style*="padding:80px 56px"], [style*="padding:100px 56px"] {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
}
@media (max-width: 900px) {
  .page-content-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .page-hero { padding: 110px 20px 60px; }
  .page-hero-title { font-size: clamp(32px, 8vw, 48px); letter-spacing: -1px; }
  .page-hero-sub { font-size: 15px; }
  .page-hero-btns { flex-direction: column; }
  .page-hero-btns .btn { width: 100%; }
  .page-content { padding: 60px 20px; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 60px 20px; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { width: 100%; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 60px 20px 28px; }
  .bbb-badge { height: 52px; bottom: 12px; right: 12px; }
  .bbb-mark { width: 52px; padding: 6px; }
  .bbb-text { padding: 0 12px; }
  .bbb-text .line-1, .bbb-text .line-2 { font-size: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(28px, 7vw, 42px); letter-spacing: -1px; }
  /* Override inline padding on sections (padding:80px 56px etc) */
  [style*="padding:80px 56px"], [style*="padding:100px 56px"] {
    padding: 56px 20px !important;
  }
  /* Collapse inline 2-column grids to 1 column */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  /* Cert list and content improvements */
  .content-list { font-size: 15px; }
  .cert-list { font-size: 15px; }
  .service-item { gap: 16px; }
  .service-item-title { font-size: 17px; }
  .feature-card { padding: 28px 24px; }
}

/* Recent projects strip */
.recent-projects-strip { background: var(--bg-alt); padding: 80px 56px; }
.recent-projects-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.recent-projects-head .section-title { margin-bottom: 0; }
.recent-projects-link { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.recent-projects-link::after { content: '→'; }
.recent-projects-link:hover { opacity: 0.8; }
.rp-carousel { position: relative; }
.rp-grid {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.rp-grid::-webkit-scrollbar { display: none; }
.rp-thumb {
  position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 4/3; display: block; text-decoration: none;
  flex: 0 0 auto; width: calc((100% - 3 * 14px) / 4); scroll-snap-align: start;
}
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.25,.46,.45,.94); }
.rp-thumb:hover img { transform: scale(1.07); }
.rp-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,4,4,0.82) 0%, transparent 52%); display: flex; align-items: flex-end; padding: 14px 16px; }
.rp-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.92); letter-spacing: 0.3px; line-height: 1.3; }
.rp-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.95); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; color: #111; box-shadow: 0 4px 14px rgba(0,0,0,0.2); z-index: 5;
  transition: background 200ms ease, opacity 200ms ease;
}
.rp-nav-btn:hover { background: #fff; }
.rp-nav-prev { left: -20px; }
.rp-nav-next { right: -20px; }
@media (max-width: 1099px) { .recent-projects-strip { padding: 64px 36px; } .rp-nav-prev { left: -8px; } .rp-nav-next { right: -8px; } }
@media (max-width: 900px) { .rp-thumb { width: calc((100% - 14px) / 2); } }
@media (max-width: 767px) { .recent-projects-strip { padding: 56px 20px; } .rp-grid { gap: 10px; } .rp-thumb { width: 82%; } .rp-nav-btn { display: none; } }

/* Floating mobile call button */
.float-call {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--red);
  color: white;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(214,34,45,0.45), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 300ms ease;
  white-space: nowrap;
}
.float-call::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  margin-right: 9px;
  animation: pulse-dot 1.8s ease infinite;
  vertical-align: middle;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.float-call:hover { transform: translateX(-50%) scale(1.04); box-shadow: 0 12px 40px rgba(214,34,45,0.55), 0 4px 12px rgba(0,0,0,0.35); }
.float-call.hidden { opacity: 0; pointer-events: none; }
@media (max-width: 1099px) {
  .float-call { display: flex; }
  nav.nav-open ~ .float-call { opacity: 0 !important; pointer-events: none !important; }
}

/* Photo Gallery Section */
.photo-gallery { padding: 80px 0; background: var(--bg); }
.photo-gallery .container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.photo-gallery-head { text-align: center; margin-bottom: 48px; }
.photo-gallery-head .section-title { margin-bottom: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
/* Each cell clips the zoom effect */
.gallery-grid > * {
  border-radius: 10px;
  overflow: hidden;
  display: block;
}
.gallery-grid img {
  width: 100%; height: 260px; object-fit: cover;
  display: block;
  transition: transform 420ms cubic-bezier(.25,.46,.45,.94);
}
.gallery-grid > *:hover img { transform: scale(1.06); }
/* Feature: full-width top image */
.gallery-feature { grid-column: 1 / -1; }
.gallery-feature img { height: 500px; }
@media (max-width: 1099px) { .photo-gallery .container { padding: 0 36px; } }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-feature img { height: 340px; }
}
@media (max-width: 600px) {
  .photo-gallery { padding: 56px 0; }
  .photo-gallery .container { padding: 0 20px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
  .gallery-feature img { height: 240px; }
  .gallery-grid img { height: 220px; }
}

/* Before / After comparison panel */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-panel { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.ba-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-tag {
  position: absolute; top: 16px; left: 16px; padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
}
.ba-tag-before { background: rgba(20,20,20,0.85); }
.ba-tag-after { background: var(--red); }
.ba-row-label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.ba-grid + .ba-row-label { margin-top: 40px; }
@media (max-width: 767px) { .ba-grid { grid-template-columns: 1fr; gap: 12px; } }
