/* =========================================================
   NARODIYA PROJECTS — Design tokens
   Palette is drawn from the job site itself:
   - Safety Yellow: the color of JCB machines & hazard signage
   - Asphalt Black: dark ground / dusk-site color
   - Steel Grey: machine bodywork
   - Concrete Cream: light background, poured concrete
   - Rust Orange: secondary accent, worn machinery / warning tone
   ========================================================= */

:root {
  --yellow: #F4C10F;
  --yellow-dark: #D8A800;
  --black: #1C1B18;
  --steel: #4A4E52;
  --steel-light: #7A7E82;
  --cream: #EFEBE1;
  --cream-light: #FAF8F3;
  --rust: #FF6600;      /* brand orange, sampled from logo */
  --rust-dark: #DB5800;
  --charcoal: #343434;  /* brand charcoal, sampled from logo */
  --white: #FFFFFF;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 2px; /* sharp, industrial — not rounded */
  --container-width: 1180px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--yellow); }

.section-sub {
  max-width: 560px;
  color: var(--steel);
  font-size: 1.05rem;
  margin-top: 14px;
}

/* ---------- Signature element: hazard bar ----------
   Diagonal yellow/black stripes, like site barrier tape.
   Used as a section divider throughout — grounded in
   real construction-site signage, not decoration. */
.hazard-bar {
  height: 14px;
  background: repeating-linear-gradient(
    135deg,
    var(--black) 0 18px,
    var(--yellow) 18px 36px
  );
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--rust);
  color: var(--white);
}
.btn-primary:hover { background: var(--rust-dark); }

.btn-outline {
  background: transparent;
  color: var(--cream-light);
  border: 2px solid var(--cream-light);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- Header ---------- */
.site-header {
  background: var(--black);
  color: var(--cream-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-light);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--yellow); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border: 1px solid var(--steel);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.phone-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream-light);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: var(--cream-light);
  position: relative;
  padding: 90px 0 60px;
  overflow: hidden;
}

.hero-inner { max-width: 700px; }

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--white);
  margin: 8px 0 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--cream);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-plate {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-light);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--steel);
  margin: 60px 24px 0;
  padding: 16px 0 0;
}

/* ---------- Equipment ---------- */
.equipment {
  padding: 90px 0;
}

.equipment h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 4px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* Card styled like a machine's data/spec plate */
.plate-card {
  background: var(--white);
  border: 1px solid rgba(28,27,24,0.1);
  border-top: 6px solid var(--yellow);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.plate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.plate-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.plate-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  background: rgba(244,193,15,0.2);
  color: var(--yellow-dark);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.plate-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.plate-desc {
  color: var(--steel);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.plate-specs {
  border-top: 1px dashed rgba(28,27,24,0.15);
  padding-top: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}
.plate-specs li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 5px 0;
}
.plate-specs li span { color: var(--steel); }
.plate-specs li strong { color: var(--black); font-weight: 600; }

.plate-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rust);
  letter-spacing: 0.02em;
}
.plate-link:hover { text-decoration: underline; }

.plate-card--add {
  background: var(--cream);
  border-top: 6px dashed var(--steel-light);
  justify-content: center;
  text-align: center;
  align-items: center;
}
.plate-card--add h3 { color: var(--steel); }

/* ---------- Why Us ---------- */
.why-us {
  background: var(--black);
  color: var(--cream-light);
}

.why-inner { padding: 80px 0; }

.why-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  max-width: 620px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.why-num {
  font-family: var(--font-mono);
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 600;
}

.why-item h3 {
  font-size: 1.1rem;
  margin: 10px 0 8px;
  color: var(--white);
}

.why-item p {
  color: var(--steel-light);
  font-size: 0.95rem;
}

/* ---------- Quote form ---------- */
.quote { padding: 90px 0; }

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.quote-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.quote-contact a:hover { color: var(--rust); }

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--white);
  padding: 32px;
  border: 1px solid rgba(28,27,24,0.1);
  border-radius: var(--radius);
}

.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid rgba(28,27,24,0.2);
  border-radius: var(--radius);
  background: var(--cream-light);
  color: var(--black);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--rust);
}

.full-width { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--cream-light);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 48px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-logo-img {
  height: 40px;
  width: auto;
}
.footer-brand p {
  color: var(--steel-light);
  font-size: 0.85rem;
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cream);
}
.footer-details a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid var(--steel);
  padding: 18px 0;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel-light);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .quote-inner { grid-template-columns: 1fr; }
  .why-inner { padding: 60px 0; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
    border-top: 1px solid var(--steel);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .phone-pill span:not(.dot) { display: none; }
  .phone-pill { padding: 10px; }

  .hero-plate { flex-direction: column; gap: 6px; }

  .quote-form { grid-template-columns: 1fr; }

  .equipment, .why-inner, .quote { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
