﻿:root {
  --sun: #ffe14d;
  --orange: #ff7417;
  --burnt: #d63b10;
  --red: #e73818;
  --deep-red: #bd2015;
  --charcoal: #191714;
  --asphalt: #36342f;
  --soil: #6f4b31;
  --leaf: #566b3d;
  --cream: #fff1a6;
  --paper: #fffefa;
  --line: rgba(25, 23, 20, 0.14);
  --shadow: 0 18px 45px rgba(185, 48, 15, 0.2);
  --lift-shadow: 0 24px 52px rgba(210, 58, 18, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffe45f 0%, #fff09a 30%, #fff8d8 58%, #fffdf7 78%, #ffd48f 100%);
  color: var(--charcoal);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.viewer-open {
  overflow: hidden;
}

#services,
#materials,
#order {
  scroll-margin-top: 96px;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 241, 159, 0.97);
  border-bottom: 1px solid rgba(242, 58, 29, 0.2);
  backdrop-filter: blur(12px);
}

.nav-shell {
  max-width: 1180px;
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 72px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(25, 23, 20, 0.16));
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-main {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.brand-sub {
  color: #c92b16;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--asphalt);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a,
.text-link {
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover {
  color: #c92b16;
}

.phone-link,
.button {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.phone-link::after,
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 650ms ease;
}

.phone-link {
  padding: 0 16px;
  background: linear-gradient(135deg, #ffc533 0%, #ff7a17 48%, #d93115 100%);
  color: white;
  white-space: nowrap;
}

.phone-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.phone-link:hover::after,
.button:hover::after {
  transform: translateX(130%);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 78svh;
  color: white;
  background-image:
    linear-gradient(90deg, rgba(58, 19, 8, 0.86), rgba(176, 48, 13, 0.44) 48%, rgba(255, 206, 56, 0.22)),
    url("assets/02-loader-dump-truck.jpg");
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 225, 77, 0.34), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(242, 58, 29, 0.16), transparent 28%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 42%, transparent 62%);
  mix-blend-mode: screen;
  transform: translateX(-20%);
  animation: sunSweep 9s ease-in-out infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
  animation: heroCopyIn 800ms ease both;
}

.hero-logo-mark {
  width: clamp(112px, 13vw, 168px);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}

.section-logo {
  width: 118px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 10px 18px rgba(201, 43, 22, 0.18));
}

.callout-logo {
  width: 132px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 20px rgba(125, 23, 12, 0.2));
}

.footer-logo {
  width: 86px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero 

.eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 0 20px;
  border: 2px solid transparent;
}

.button-primary {
  background: linear-gradient(135deg, #fff06a 0%, #ffc933 58%, #ff7a1a 100%);
  color: #241006;
  box-shadow: 0 14px 30px rgba(189, 32, 21, 0.24);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-dark {
  background: linear-gradient(135deg, #ffc533 0%, #ff7a17 48%, #d93115 100%);
  color: white;
}

.quick-strip {
  width: min(1180px, calc(100% - 48px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(231, 56, 24, 0.24);
  border-radius: 8px;
  background: rgba(255, 202, 51, 0.42);
  box-shadow: var(--shadow);
}

.quick-item {
  min-height: 112px;
  padding: 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.quick-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px rgba(25, 23, 20, 0.08);
}

.quick-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffcf32 0%, #ff7a17 58%, #e73818 100%);
  color: white;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(231, 56, 24, 0.34);
}

.quick-item p {
  margin: 0;
  color: var(--asphalt);
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--asphalt);
  font-size: 17px;
}

.section-heading a {
  color: #c92b16;
  font-weight: 900;
}

.services-section {
  padding-top: 96px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 8px;
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 56, 24, 0.42);
  box-shadow: var(--lift-shadow);
}

.service-card:nth-child(2) {
  border-top: 5px solid #ff7417;
}

.service-card:nth-child(3) {
  border-top: 5px solid #e73818;
}

.service-card:nth-child(4) {
  border-top: 5px solid #bd2015;
}

.service-card:first-child {
  border-top: 5px solid var(--sun);
}

.service-card p,
.callout-section p {
  color: var(--asphalt);
}

.catalog-section {
  padding-bottom: 72px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.material-card {
  overflow: hidden;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 26px rgba(25, 23, 20, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.material-card:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 56, 24, 0.46);
  box-shadow: var(--lift-shadow);
}

.material-button {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  background: #dad2c0;
  color: inherit;
  cursor: zoom-in;
}

.material-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 550ms ease, filter 550ms ease;
}

.material-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.material-button:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: -4px;
}

.material-id {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 62px;
  min-height: 44px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff06a 0%, #ffc933 58%, #ff7a1a 100%);
  color: var(--charcoal);
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, background 220ms ease;
}

.material-card:hover .material-id {
  transform: scale(1.04);
  background: #fff36d;
}

.material-name {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(25, 23, 20, 0.82), rgba(214, 59, 16, 0.86));
  color: white;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.34);
}

.material-card:hover .material-name {
  background: linear-gradient(135deg, rgba(95, 24, 12, 0.92), rgba(255, 92, 28, 0.94));
}
.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.photo-viewer.is-open {
  display: grid;
}

.photo-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 23, 20, 0.78);
  backdrop-filter: blur(10px);
}

.photo-viewer-panel {
  position: relative;
  width: min(1120px, 100%);
  height: min(82vh, 820px);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #1e1b17;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.photo-viewer-toolbar {
  min-height: 64px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(25, 23, 20, 0.94);
  color: white;
}

.photo-viewer-toolbar p {
  margin: 0;
  color: var(--sun);
  font-weight: 900;
}

.zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zoom-button {
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.zoom-button:hover,
.zoom-button:focus-visible {
  background: linear-gradient(135deg, #ffcf32 0%, #ff7a17 58%, #e73818 100%);
  transform: translateY(-1px);
}

.zoom-reset {
  min-width: 68px;
}

.photo-viewer-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0f0e0c;
  cursor: grab;
  touch-action: none;
}

.photo-viewer-stage.is-dragging {
  cursor: grabbing;
}

#viewer-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  user-select: none;
  transform-origin: center;
  transition: transform 120ms ease;
  will-change: transform;
}

.callout-section {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 82px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff06a 0%, #ffc233 46%, #ff7417 74%, #d93115 100%);
  color: var(--charcoal);
}

.callout-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 46%, transparent 68%);
  transform: translateX(-120%);
  animation: calloutShine 7s ease-in-out infinite;
  pointer-events: none;
}

.callout-section > * {
  position: relative;
  z-index: 1;
}

.callout-section h2 {
  max-width: 700px;
  margin-bottom: 10px;
}

.callout-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(25, 23, 20, 0.78);
  font-weight: 700;
}

.callout-section 

.eyebrow {
  color: #7d170c;
}

.site-footer {
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(135deg, #ffc533 0%, #ff7a17 48%, #d93115 100%);
  color: white;
}

.site-footer p {
  margin: 0;
  font-weight: 900;
}

.site-footer a {
  color: var(--sun);
  font-weight: 900;
  text-decoration: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .quick-item.reveal.is-visible:hover {
  transform: translateY(-3px);
}

.js .service-card.reveal.is-visible:hover {
  transform: translateY(-4px);
}

.js .material-card.reveal.is-visible:hover {
  transform: translateY(-5px);
}

.js .service-card.reveal:nth-child(2),
.js .material-card.reveal:nth-child(2),
.js .quick-item.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.js .service-card.reveal:nth-child(3),
.js .material-card.reveal:nth-child(3),
.js .quick-item.reveal:nth-child(3) {
  transition-delay: 160ms;
}

.js .service-card.reveal:nth-child(4),
.js .material-card.reveal:nth-child(4) {
  transition-delay: 240ms;
}

.js .material-card.reveal:nth-child(5) {
  transition-delay: 320ms;
}

.js .material-card.reveal:nth-child(6) {
  transition-delay: 400ms;
}

.js .material-card.reveal:nth-child(7) {
  transition-delay: 480ms;
}

@keyframes heroDrift {
  from {
    background-position: 48% center;
  }

  to {
    background-position: 56% center;
  }
}

@keyframes sunSweep {
  0%,
  45% {
    opacity: 0;
    transform: translateX(-24%);
  }

  65% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(18%);
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes calloutShine {
  0%,
  42% {
    transform: translateX(-120%);
  }

  72%,
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-shell {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .quick-strip,
  .service-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-item:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hero-logo-mark {
    width: 118px;
  }

  .section-logo,
  .callout-logo {
    width: 104px;
  }

  .nav-shell {
    min-height: 0;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand-main {
    font-size: 20px;
  }

  .nav-links {
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .phone-link {
    min-height: 42px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero {
    min-height: 70svh;
    background-image:
      linear-gradient(90deg, rgba(25, 23, 20, 0.9), rgba(25, 23, 20, 0.56)),
      url("assets/02-loader-dump-truck.jpg");
  }

  .hero-inner,
  .section,
  .quick-strip,
  .callout-section {
    width: calc(100% - 32px);
  }

  .hero-inner {
    padding: 46px 0;
  }

  h1 {
    font-size: 38px;
    line-height: 1.03;
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .photo-viewer {
    padding: 12px;
  }

  .photo-viewer-panel {
    height: min(84vh, 760px);
  }

  .photo-viewer-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .zoom-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .quick-strip,
  .service-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    margin-top: 16px;
  }

  .quick-item:first-child {
    grid-column: auto;
  }

  .section {
    padding: 62px 0;
  }

  .services-section {
    padding-top: 70px;
  }

  .service-card {
    min-height: 0;
  }

  .callout-section {
    margin-bottom: 56px;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .footer-logo {
    width: 72px;
  }

  .brand-logo {
    width: 60px;
    height: 46px;
  }

  .nav-links {
    font-size: 13px;
  }

  .phone-link {
    width: 100%;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .quick-item {
    grid-template-columns: 38px 1fr;
    padding: 18px;
  }

  .quick-number {
    width: 38px;
    height: 38px;
  }

  .material-id {
    min-width: 56px;
    min-height: 40px;
    font-size: 18px;
  }
}


