:root {
  --ink: #171717;
  --muted: #626262;
  --line: #e4e4e4;
  --paper: #ffffff;
  --white: #ffffff;
  --brand: #d60000;
  --brand-dark: #a80000;
  --brand-bright: #ff6b6b;
  --black: #0f0f0f;
  --charcoal: #1b1b1b;
  --shadow: 0 18px 42px rgba(23, 23, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header:focus-within {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header-inner,
.section-inner,
.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3a3a3a;
  font-size: 2.08rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.mobile-brand {
  font-size: 1.9rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  line-height: 0;
  color: var(--brand);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--brand-dark);
  background: transparent;
  outline: none;
}

.social-links svg {
  width: 18px;
  height: 18px;
  transform-origin: 50% 50%;
}

.social-links .brand-icon-facebook {
  width: 18px;
  height: 18px;
  transform: none;
}

.social-links .brand-icon-instagram {
  width: 18px;
  height: 18px;
}

.social-links-compact {
  flex-wrap: nowrap;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.desktop-nav > a,
.nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.95rem;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: rgba(255, 0, 0, 0.08);
  outline: none;
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a:focus-visible,
.site-header:focus-within .desktop-nav a:hover,
.site-header:focus-within .desktop-nav a:focus-visible {
  background: rgba(240, 90, 36, 0.1);
}

.nav-group {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  display: grid;
  width: 270px;
  padding: 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 650;
}

.header-phone,
.mobile-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
  font-weight: 750;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.header-phone:hover,
.mobile-call:hover {
  background: var(--brand-dark);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: inherit;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.site-header.is-scrolled .icon-button,
.site-header:focus-within .icon-button {
  background: var(--white);
  border-color: var(--line);
}

.menu-toggle {
  display: none;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 100vh;
  padding: 22px;
  color: var(--ink);
  background: var(--paper);
}

.mobile-panel[hidden] {
  display: none;
}

.mobile-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-panel nav {
  display: grid;
  gap: 6px;
}

.mobile-panel nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
  font-weight: 750;
}

.mobile-call {
  justify-content: center;
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86vh;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.page-hero,
.service-hero,
.contact-hero {
  min-height: 68vh;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slider {
  z-index: -2;
}

.hero-slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 800ms ease,
    transform 1600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 30px;
}

.hero-dots button {
  width: 38px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 999px;
}

.hero-dots button.is-active {
  background: var(--brand);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 14, 13, 0.83) 0%, rgba(12, 14, 13, 0.58) 42%, rgba(12, 14, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 14, 13, 0.52), rgba(12, 14, 13, 0.08) 44%);
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 84px;
}

.hero-content h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  font-size: 4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 680px;
  margin: 0;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--brand-bright);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  color: var(--white);
  background: var(--brand);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.button-secondary {
  color: var(--white);
  background: var(--black);
}

.button-secondary:hover {
  background: #000000;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.section {
  padding: 82px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.intro-grid h2,
.contact-band h2,
.service-aside h2,
.contact-details h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:last-child,
.intro-copy p,
.service-card p,
.trust-grid p,
.compact-service-grid span,
.footer-brand p,
.service-copy p,
.contact-details span {
  color: var(--muted);
}

.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: 70px;
}

.intro-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.intro-copy article {
  padding-top: 18px;
  border-top: 3px solid var(--brand);
}

.intro-copy h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.stats-band {
  padding: 30px 0;
  color: var(--white);
  background: var(--black);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stats-grid div {
  display: grid;
  gap: 4px;
}

.stats-grid strong {
  font-size: 2rem;
  line-height: 1;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.trust-grid article,
.compact-service-grid a,
.contact-details,
.contact-form,
.service-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  display: grid;
  align-content: start;
  min-height: 282px;
  padding: 24px;
}

.service-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
}

.service-card h3 {
  margin: 20px 0 8px;
  font-size: 1.35rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--brand-dark);
  font-weight: 850;
}

.work-preview,
.other-services {
  background: var(--white);
}

.gallery-section {
  display: grid;
  gap: 22px;
}

.gallery-tools {
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  min-width: max-content;
}

.filter-tab {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 750;
}

.filter-tab.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
  border: 0;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 2px;
  min-height: 64px;
  padding: 24px 12px 10px;
  text-align: left;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0));
}

.gallery-caption span {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-caption small {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-empty {
  margin: 0;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.trust-section {
  color: var(--white);
  background: var(--charcoal);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid article {
  padding: 24px;
  color: var(--ink);
}

.trust-grid svg {
  color: var(--brand);
}

.trust-grid h3 {
  margin: 18px 0 8px;
}

.contact-band {
  padding: 54px 0;
  color: var(--white);
  background: var(--brand);
}

.contact-band .eyebrow {
  color: var(--white);
}

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-band h2 {
  max-width: 760px;
}

.service-detail-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.43fr 1fr;
  gap: 28px;
  align-items: start;
}

.service-aside,
.contact-details {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  padding: 24px;
}

.service-copy {
  padding: 8px 0 0;
  font-size: 1.08rem;
}

.service-copy p {
  margin: 0 0 22px;
}

.project-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-strip-item {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: auto;
  color: inherit;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.project-strip-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-strip-item span {
  display: block;
  padding: 12px;
  color: var(--ink);
  font-weight: 800;
}

.project-strip-item:hover img,
.project-strip-item:focus-visible img {
  transform: scale(1.04);
}

.project-strip-item:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.compact-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compact-service-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  min-height: 150px;
  padding: 20px;
}

.compact-service-grid span {
  grid-column: 1 / -1;
}

.contact-details a,
.contact-details span,
.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  font-weight: 750;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.span-2,
.submit-button {
  grid-column: 1 / -1;
}

.submit-button {
  width: max-content;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.thank-you-section {
  min-height: 72vh;
  padding-top: 160px;
}

.narrow {
  max-width: 760px;
}

.narrow h1 {
  margin: 0 0 16px;
  font-size: 3rem;
  line-height: 1.08;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(1100px, 100%);
  margin: 0;
}

.lightbox-frame img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #111;
  border-radius: 8px;
}

.lightbox-frame figcaption {
  color: var(--white);
  font-weight: 800;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
}

.lightbox-close {
  top: 12px;
  right: 12px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.menu-open,
.lightbox-open {
  overflow: hidden;
}

.site-footer {
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.85fr;
  gap: 46px;
  padding: 54px 0 38px;
}

.footer-brand-mark {
  margin-bottom: 18px;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links strong,
.footer-contact strong {
  color: var(--ink);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

.company-line {
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-phone,
  .site-header > .header-inner > .social-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .section-heading,
  .intro-grid,
  .service-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-grid,
  .trust-grid,
  .compact-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid,
  .project-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-aside,
  .contact-details {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .footer-bottom,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .page-hero,
  .service-hero,
  .contact-hero {
    min-height: 78vh;
  }

  .hero-content {
    padding: 118px 0 54px;
  }

  .hero-content h1,
  .narrow h1 {
    font-size: 2.42rem;
  }

  .hero-content p {
    font-size: 1.04rem;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .intro-grid h2,
  .contact-band h2,
  .service-aside h2,
  .contact-details h2 {
    font-size: 2rem;
  }

  .intro-copy,
  .stats-grid,
  .service-grid,
  .trust-grid,
  .compact-service-grid,
  .gallery-grid,
  .project-strip,
  .contact-form,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    aspect-ratio: 5 / 4;
  }

  .contact-form {
    padding: 18px;
  }

  .submit-button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
