:root {
  --black: #0d1014;
  --ink: #15191f;
  --slate: #1d242c;
  --red: #ae0000;
  --red-dark: #700000;
  --concrete: #e7e8e5;
  --paper: #f8f7f3;
  --white: #ffffff;
  --green: #4f7d48;
  --gold: #d2a33c;
  --line: rgba(13, 16, 20, 0.14);
  --shadow: 0 18px 44px rgba(13, 16, 20, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 30px 12px 8px;
  background: linear-gradient(180deg, rgba(248, 247, 243, 0.98), rgba(248, 247, 243, 0));
}

.header-wrap {
  position: relative;
  width: min(var(--max), calc(100% - 4px));
  min-height: 64px;
  margin: 0 auto;
  padding: 12px 12px 12px 128px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: rgba(13, 16, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.header-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    repeating-linear-gradient(112deg, transparent 0 24px, rgba(174, 0, 0, 0.24) 24px 27px, transparent 27px 54px);
  opacity: 0.55;
}

.brand-lift {
  position: absolute;
  left: 12px;
  top: -32px;
  z-index: 2;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  padding: 8px;
  background: var(--white);
  border: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  text-decoration: none;
}

.brand-lift img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: none;
  z-index: 1;
}

.main-nav a,
.header-action {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.92rem;
}

.main-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header-action {
  padding: 10px 14px;
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 24px rgba(174, 0, 0, 0.35);
}

.header-action:hover,
.header-action:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.section-dark,
.section-panel {
  color: var(--white);
  background: var(--black);
}

.section-light {
  background: var(--paper);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 18px 58px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 16, 20, 0.94), rgba(13, 16, 20, 0.70)),
    url("../images/hero-roof.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: repeating-linear-gradient(112deg, transparent 0 34px, rgba(174, 0, 0, 0.32) 34px 39px, transparent 39px 76px);
  animation: trackShift 16s linear infinite;
}

.hero-bg span {
  position: absolute;
  width: 42%;
  height: 2px;
  left: -8%;
  background: linear-gradient(90deg, transparent, rgba(210, 163, 60, 0.88), transparent);
  transform: rotate(-10deg);
  animation: sweep 8s ease-in-out infinite;
}

.hero-bg span:nth-child(1) {
  top: 20%;
}

.hero-bg span:nth-child(2) {
  top: 54%;
  animation-delay: 2s;
}

.hero-bg span:nth-child(3) {
  top: 78%;
  animation-delay: 4s;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.hero-copy {
  max-width: 690px;
  padding-top: 8px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.section-dark .eyebrow,
.hero .eyebrow {
  color: #ffdfdf;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: 3.1rem;
  font-weight: 900;
}

h2 {
  font-size: 2rem;
  font-weight: 900;
}

h3 {
  font-size: 1.15rem;
}

.hero-lead {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 38px rgba(174, 0, 0, 0.30);
}

.btn-light {
  color: var(--black);
  background: var(--white);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.hero-meta {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.94rem;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 420px;
}

.showcase-card {
  position: relative;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.showcase-card-large {
  grid-row: span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: imageFloat 8s ease-in-out infinite;
}

.showcase-card:nth-child(2) img {
  animation-delay: 1.2s;
}

.showcase-card:nth-child(3) img {
  animation-delay: 2.4s;
}

.scroll-cue {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: 34px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
}

.scroll-cue span {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  position: relative;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--white);
  border-radius: 999px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

section {
  padding: 64px 18px;
}

.section-grid,
.section-heading,
.service-grid,
.gallery-grid,
.trust-grid,
.contact-grid,
.offer-card,
.footer-grid,
.stat-strip {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  gap: 24px;
}

.section-copy h2,
.section-heading h2 {
  max-width: 760px;
}

.about-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(13, 16, 20, 0.08);
}

.about-panel p {
  margin: 0;
  color: rgba(21, 25, 31, 0.78);
}

.about-panel p + p {
  margin-top: 14px;
}

.stat-strip {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.stat-strip div,
.detail-card,
.trust-card,
.service-card {
  border-radius: 8px;
}

.stat-strip div {
  padding: 18px;
  background: var(--black);
  color: var(--white);
  border-left: 5px solid var(--red);
  box-shadow: 0 10px 24px rgba(13, 16, 20, 0.13);
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip strong {
  font-size: 1.25rem;
}

.stat-strip span {
  color: rgba(255, 255, 255, 0.76);
}

.section-panel {
  position: relative;
  overflow: hidden;
}

.section-panel::before,
.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    repeating-linear-gradient(112deg, transparent 0 42px, rgba(174, 0, 0, 0.16) 42px 45px, transparent 45px 90px);
  pointer-events: none;
}

.section-panel > *,
.trust > * {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.service-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 18px;
}

.service-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.gallery-item {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--black);
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 28px rgba(13, 16, 20, 0.13);
}

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

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

.trust {
  position: relative;
  overflow: hidden;
}

.trust-grid {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.trust-card {
  min-height: 180px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  background: var(--white);
  color: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.trust-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.contact-details {
  display: grid;
  gap: 10px;
}

.detail-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(13, 16, 20, 0.08);
}

.detail-card span,
.footer-grid span {
  display: block;
  color: rgba(21, 25, 31, 0.58);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.detail-card a {
  display: inline-block;
  margin-top: 6px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.detail-card p {
  margin: 6px 0 0;
}

.map-wrap {
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(13, 16, 20, 0.10);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  font-weight: 900;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.gallery-item:focus-visible,
.btn:focus-visible,
.header-action:focus-visible,
.mobile-cta a:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.offer {
  padding-bottom: 78px;
}

.offer-card {
  max-width: 880px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.offer-card p {
  color: rgba(255, 255, 255, 0.82);
}

.offer-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.offer-card li {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--red);
  border-radius: 8px;
}

.mobile-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: rgba(13, 16, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.mobile-cta a {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 54px;
  padding: 8px 4px;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.mobile-cta span {
  color: #ffdede;
  font-size: 0.72rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 7, 10, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(100%, 1040px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.site-footer {
  padding: 44px 18px 98px;
  color: rgba(255, 255, 255, 0.82);
  background: #07090c;
}

.footer-grid {
  display: grid;
  gap: 18px;
  padding-bottom: 28px;
}

.footer-grid strong {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
}

.footer-grid p {
  margin: 8px 0 0;
}

.footer-grid a {
  display: inline-block;
  margin-top: 6px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.footer-grid span {
  color: rgba(255, 255, 255, 0.58);
}

.minipage-credit {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.minipage-credit a {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

@keyframes trackShift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(90px, 0, 0) rotate(0deg);
  }
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-18%) rotate(-10deg);
    opacity: 0;
  }
  45% {
    opacity: 0.9;
  }
  70% {
    transform: translateX(180%) rotate(-10deg);
    opacity: 0;
  }
}

@keyframes imageFloat {
  0%,
  100% {
    transform: scale(1.04) translateY(0);
  }
  50% {
    transform: scale(1.08) translateY(-8px);
  }
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

@media (min-width: 520px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .hero-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 760px) {
  .site-header {
    padding-top: 44px;
  }

  .header-wrap {
    min-height: 78px;
    padding-left: 168px;
  }

  .brand-lift {
    top: -48px;
    width: 146px;
    height: 146px;
  }

  .hero {
    padding-top: 86px;
    padding-bottom: 70px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
    align-items: center;
  }

  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .hero-lead {
    font-size: 1.18rem;
  }

  section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .section-grid {
    grid-template-columns: 0.9fr 1fr;
    align-items: start;
  }

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

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

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

  .contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .mobile-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 44px;
  }
}

@media (min-width: 1040px) {
  h1 {
    font-size: 5.5rem;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .service-card img {
    aspect-ratio: 1.25 / 1;
  }
}

@media (max-width: 380px) {
  .header-wrap {
    padding-left: 112px;
  }

  .brand-lift {
    width: 96px;
    height: 96px;
  }

  .header-action {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 1.78rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
