:root {
  --bg: #f5f0e6;
  --surface: #fff8ef;
  --surface-2: #efe3cf;
  --panel: #fffdf8;
  --ink: #161616;
  --muted: #5d554a;
  --line: rgba(22, 22, 22, 0.12);
  --red: #d62828;
  --red-dark: #a51d1d;
  --gold: #f2b134;
  --charcoal: #1c1c1c;
  --steel: #d4d0c8;
  --shadow: 0 22px 50px rgba(42, 31, 14, 0.12);
  --max-width: 1180px;
  --diag-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(242, 177, 52, 0.22), transparent 24%),
    radial-gradient(circle at top right, rgba(214, 40, 40, 0.14), transparent 26%),
    linear-gradient(180deg, #faf5ec 0%, #f2e8da 100%);
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  transition: padding 180ms ease;
}

.site-header.is-scrolled .nav {
  padding: 0.55rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: auto;
  min-height: 75px;
  height: 75px;
  object-fit: contain;
  transition: height 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled .brand img {
  min-height: 75px;
  height: 75px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #fff;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(214, 40, 40, 0.24);
}

.button-secondary,
.button-outline {
  background: var(--panel);
  color: var(--ink);
  border-color: rgba(22, 22, 22, 0.12);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 700px;
  padding: 8rem 0 6rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.78) 0%, rgba(18, 18, 18, 0.58) 38%, rgba(18, 18, 18, 0.22) 100%),
    linear-gradient(180deg, rgba(214, 40, 40, 0.22), rgba(242, 177, 52, 0.08));
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/diamond-plate-hero.jpeg") center/cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-copy {
  position: relative;
  color: #fff;
  max-width: 900px;
  padding-top: 60px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Roboto Slab", Georgia, serif;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
}

.hero-text {
  max-width: 70ch;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.hero-highlights,
.check-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li,
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.hero-highlights li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(242, 177, 52, 0.18);
}

.photo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.04), rgba(22, 22, 22, 0.18)),
    linear-gradient(135deg, rgba(242, 177, 52, 0.1), transparent 45%);
  pointer-events: none;
}

.photo-panel img {
  height: 100%;
  object-fit: cover;
}

.hero-card,
.service-card,
.info-panel,
.reason-card,
.contact-card,
.video-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(22, 22, 22, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 240, 229, 0.96)),
    linear-gradient(45deg, rgba(212, 208, 200, 0.35), rgba(255, 255, 255, 0.2));
  box-shadow: var(--shadow);
}

.hero-card {
  align-self: end;
  width: 100%;
  padding: 1.1rem;
  border-left: 8px solid var(--red);
}

.hero-card::before,
.service-card::before,
.contact-card::before,
.info-panel::before,
.reason-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.55), transparent 26%),
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.2) 44% 52%, transparent 52%);
  pointer-events: none;
}

.hero-card img {
  max-width: 220px;
  margin: 0 auto 0.75rem;
}

.hero-card-content {
  display: grid;
  gap: 0.2rem;
}

.card-label,
.contact-label {
  margin: 0.45rem 0 0;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-value,
.contact-value {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
}

.trust-bar {
  position: relative;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--charcoal), #2a2a2a);
  color: #fff;
  z-index: 2;
}

.trust-bar::before,
.trust-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--diag-height);
  background: inherit;
  z-index: 0;
}

.trust-bar::before {
  top: calc(var(--diag-height) * -0.5);
}

.trust-bar::after {
  bottom: calc(var(--diag-height) * -0.5);
  background: linear-gradient(135deg, var(--charcoal), #2a2a2a);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem 0;
  position: relative;
  z-index: 1;
}

.trust-items strong,
.footer-content p:first-child {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.trust-items span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.section-heading h2,
.media-grid h2,
.contact-panel h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.section-heading p,
.service-card p,
.reason-card p,
.media-grid p,
.contact-panel > div > p,
.section-gallery .section-heading p {
  color: var(--muted);
}

.section-diagonal::before,
.section-diagonal::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--diag-height);
  background: inherit;
  z-index: -1;
}

.section-diagonal-top::before {
  top: calc(var(--diag-height) * -0.5);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.section-diagonal-bottom::after {
  bottom: calc(var(--diag-height) * -0.5);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.section-services {
  margin-top: 0;
  padding-top: calc(9rem - 70px);
  background: #fff;
}

.section-gallery {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--red), #b31d1d);
  color: #fff;
}

.section-gallery .eyebrow,
.section-about .eyebrow,
.section-media .eyebrow {
  color: inherit;
}

.section-gallery .section-heading p {
  color: rgba(255, 255, 255, 0.84);
}

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

.photo-panel {
  min-height: 260px;
  border: 5px solid rgba(255, 255, 255, 0.15);
}

.photo-panel-tall {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 100%;
}

.section-about {
  margin-top: 0;
  padding-top: calc(9rem - 30px);
  background: var(--red);
  color: #fff;
  z-index: 2;
}

.section-about h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.section-about.section-diagonal-top::before {
  z-index: 0;
  background: var(--red);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 100% 0);
}

.section-about.section-diagonal-bottom::after {
  z-index: 0;
  background: var(--red);
  clip-path: polygon(0 0, 0 100%, 100% 0, 100% 0);
}

.section-about > .container {
  position: relative;
  z-index: 1;
}

.section-about p,
.section-about .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.section-about .info-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.18);
}

.section-about .info-panel h3 {
  color: #fff;
}

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

.card-grid-staggered article:nth-child(2) {
  transform: none;
}

.card-grid-staggered article:nth-child(3) {
  transform: none;
}

.card-grid-staggered article:nth-child(4) {
  transform: none;
}

.service-card,
.reason-card {
  padding: 1.7rem;
}

.service-card {
  border-left: 8px solid var(--red);
}

.service-card-image {
  width: calc(100% + 3.4rem);
  max-width: none;
  height: 220px;
  margin: -1.7rem -1.7rem 1.2rem;
  object-fit: cover;
}

.service-card-featured {
  background:
    linear-gradient(180deg, rgba(242, 177, 52, 0.3), rgba(255, 253, 248, 0.96)),
    linear-gradient(45deg, rgba(212, 208, 200, 0.35), rgba(255, 255, 255, 0.2));
}

.service-card h3,
.info-panel h3,
.reason-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.reason-card h3 {
  font-size: 1.65rem;
}

.two-column,
.media-grid,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.info-panel,
.contact-card {
  padding: 1.8rem;
}

.form-card {
  min-height: 420px;
}

.info-panel-offset {
  transform: translateY(2rem);
  border-top: 8px solid var(--gold);
}

.section-process {
  background: transparent;
}

.section#contact {
  background: linear-gradient(135deg, var(--charcoal), #2a2a2a);
  color: #fff;
  z-index: 2;
}

.section#contact .eyebrow {
  color: #fff;
}

.section#contact .contact-panel > div > p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-feature-image {
  width: 100%;
  max-width: 520px;
  height: 174px;
  margin: 1.25rem 0 1.35rem;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section#contact > .container {
  position: relative;
  z-index: 1;
}

.reason-card {
  border-top: 6px solid var(--red);
}

.section-process .reason-card::before {
  display: none;
}

.reason-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-media {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #2a2a2a, #111111);
  color: #fff;
}

.section-media .media-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.video-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(214, 40, 40, 0.3), rgba(242, 177, 52, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(22, 22, 22, 0.08);
  background: rgba(255, 248, 239, 0.9);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 0.25fr) minmax(0, 0.75fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  color: var(--muted);
}

.footer-company p:last-child {
  margin: 0;
}

.footer-company .contact-value {
  margin: 0.2rem 0;
}

.footer-company a {
  color: var(--red);
}

.footer-meta {
  align-self: start;
}

.footer-meta p:first-child {
  margin-top: 0;
}

.footer-seo {
  margin: 1rem 0 0;
  line-height: 1.7;
}

.footer-copyright {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.footer-logo {
  width: auto;
  height: 80px;
  margin-bottom: 0.75rem;
}

@media (max-width: 960px) {
  .hero-inner,
  .two-column,
  .media-grid,
  .contact-panel,
  .trust-items,
  .card-grid,
  .reasons-grid,
  .photo-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .photo-panel-tall {
    grid-row: auto;
    min-height: 320px;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    max-width: none;
  }

  .card-grid-staggered article:nth-child(2),
  .card-grid-staggered article:nth-child(3),
  .card-grid-staggered article:nth-child(4),
  .info-panel-offset {
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-header.menu-open {
    background: rgba(0, 0, 0, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .nav {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.85rem;
    padding-top: 0.75rem;
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .button,
  .button-secondary,
  .button-outline {
    width: 100%;
  }

  .section {
    padding: 4.5rem 0;
  }
}
