/* =========================================================
   Hammer Seal Coating — site styles
   Brand: industrial yellow + black, condensed bold display type
   ========================================================= */

:root {
  --yellow: #FFC629;          /* trailer-wrap accent yellow */
  --yellow-bright: #FFD24A;
  --yellow-deep: #E0A900;
  --black: #0E0E0E;
  --asphalt: #1A1A1A;
  --steel: #2A2A2A;
  --concrete: #6B6B6B;
  --bone: #F4F1EA;
  --white: #FFFFFF;

  --shadow-hard: 6px 6px 0 var(--black);
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.18);

  --radius-sm: 4px;
  --radius-md: 8px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --font-display: "Oswald", "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ----- Base reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overscroll-behavior: none; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--black); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p  { margin: 0 0 1em; }

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

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 3px solid var(--black);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
  text-decoration: none;
  min-height: 52px;
}
.btn-primary { background: var(--yellow); color: var(--black); box-shadow: var(--shadow-hard); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--black); text-decoration: none; }
.btn-primary:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--black); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); text-decoration: none; }
.btn-dark { background: var(--black); color: var(--yellow); border-color: var(--black); box-shadow: var(--shadow-hard); }
.btn-dark:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--yellow); text-decoration: none; }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header {
  background: var(--black);
  color: var(--white);
  border-bottom: 4px solid var(--yellow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 70px; height: 70px; object-fit: contain; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 3.4vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 0.35em;
}
.brand-text .brand-hammer { color: var(--yellow); }
.brand-text .brand-seal { color: var(--white); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.main-nav a:hover { background: var(--steel); text-decoration: none; }
.main-nav a.active { color: var(--yellow); }
/* nav-cta removed */

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.7) 100%),
    url("images/trailer-wrap.png") center/cover no-repeat;
  color: var(--white);
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
  position: relative;
  border-bottom: 6px solid var(--yellow);
}
.hero-inner { max-width: 820px; }
.hero .eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); }
.hero h1 .y { color: var(--yellow); }
.hero p.lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Page header (non-home) */
.page-head {
  background: var(--black);
  color: var(--white);
  padding: 48px 0 56px;
  border-bottom: 6px solid var(--yellow);
}
.page-head h1 { color: var(--white); margin-bottom: 8px; }
.page-head h1 .y { color: var(--yellow); }
.page-head p { color: rgba(255,255,255,0.85); max-width: 720px; margin: 0; font-size: 1.1rem; }

/* =====================================================
   SECTIONS
   ===================================================== */
section { padding: clamp(60px, 8vw, 96px) 0; }
section.alt { background: var(--white); }
section.dark { background: var(--black); color: var(--white); }
section.dark h2 { color: var(--white); }
section.dark h2 .y { color: var(--yellow); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  color: var(--yellow-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}
section.dark .section-head .kicker { color: var(--yellow); }
.section-head h2 .y { color: var(--yellow-deep); }

/* Hex services grid */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service {
  text-align: center;
}
.hex {
  width: 140px;
  height: 160px;
  margin: 0 auto 18px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--black);
  position: relative;
  transition: transform 0.15s ease;
}
.hex::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--black);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: 0;
}
.hex span {
  position: relative;
  z-index: 1;
  color: var(--yellow);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 8px;
  line-height: 1;
}
.hex-img {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: 1;
}
.service:hover .hex { transform: translateY(-4px) rotate(-2deg); }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--concrete); margin: 0; }
section.dark .service p { color: rgba(255,255,255,0.7); }

/* Why-choose / feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--white);
  border: 3px solid var(--black);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-hard);
}
.feature .num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--black);
  line-height: 1;
  margin-bottom: 12px;
}
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--concrete); margin: 0; }

/* CTA strip */
.cta-strip {
  background: var(--yellow);
  color: var(--black);
  padding: 56px 0;
  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 { margin: 0; max-width: 720px; }

/* About / two-col */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img {
  border: 4px solid var(--black);
  box-shadow: var(--shadow-hard);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat { text-align: center; padding: 24px 12px; border: 3px solid var(--white); }
.stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--yellow);
  display: block;
  line-height: 1;
}
.stat .label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* Service detail blocks (services page) */
.svc-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-top: 3px solid var(--black);
}
.svc-block:first-of-type { border-top: 0; }
.svc-block .hex { margin: 0; }
.svc-block ul { padding-left: 20px; margin: 0; }
.svc-block ul li { margin-bottom: 8px; }

/* =====================================================
   CONTACT / FORM
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info { padding: 32px; background: var(--black); color: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow-hard); }
.contact-info h3 { color: var(--yellow); margin-top: 0; }
.contact-info .info-row { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--steel); align-items: center; }
.contact-info .info-row:last-child { border-bottom: 0; }
.contact-info .info-row .icon {
  width: 52px; height: 52px;
  background: var(--yellow); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info .info-row a { color: var(--white); }
.contact-info .info-row a:hover { color: var(--yellow); }
.contact-socials { display: flex; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.contact-socials a {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  transition: color 0.15s;
}
.contact-socials a:hover { color: var(--yellow); text-decoration: none; }

form.contact-form {
  background: var(--white);
  padding: 32px;
  border: 3px solid var(--black);
  box-shadow: var(--shadow-hard);
}
form.contact-form .field { margin-bottom: 18px; }
form.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border: 2px solid var(--black);
  border-radius: var(--radius-sm);
  background: var(--bone);
  min-height: 52px;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
  background: var(--white);
}
form.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { padding: 14px; margin-top: 16px; border: 2px solid var(--black); display: none; }
.form-msg.success { display: block; background: var(--yellow); }
.form-msg.error { display: block; background: #ffd5d5; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 24px;
  border-top: 6px solid var(--yellow);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 175px; height: 175px; object-fit: contain; }
.footer-brand p { color: rgba(255,255,255,0.7); margin: 0; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--yellow);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--yellow); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--steel);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* =====================================================
   SERVICES CAROUSEL (home)
   ===================================================== */
.svc-carousel { position: relative; }
.svc-track-wrap {
  overflow: hidden;
  margin: 0 -8px;
}
.svc-track {
  display: flex;
  gap: 24px;
  padding: 8px;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.svc-track .service {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--white);
  border: 3px solid var(--black);
  box-shadow: 6px 6px 0 var(--black);
  padding: 32px 24px;
  margin: 0;
}
.svc-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.svc-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  border: 3px solid var(--yellow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, background 0.15s ease;
}
.svc-arrow:hover { background: var(--yellow); color: var(--black); }
.svc-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.svc-dots { display: flex; gap: 10px; }
.svc-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  border: 0;
  cursor: pointer;
  padding: 0;
}
.svc-dot.active { background: var(--yellow); outline: 2px solid var(--black); }
@media (max-width: 980px) {
  .svc-track .service { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 720px) {
  .svc-track .service { flex-basis: 100%; }
}

/* Sticky mobile call button — hidden by default until JS enables */
.mobile-call {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 18px;
  border: 3px solid var(--black);
  box-shadow: 0 6px 0 var(--black), 0 12px 24px rgba(0,0,0,0.3);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-call.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-call.at-footer {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
}
.mobile-call:hover { text-decoration: none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc-block { grid-template-columns: 1fr; }
  .svc-block .hex { margin: 0 auto; }
}
@media (max-width: 980px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter);
    border-bottom: 4px solid var(--yellow);
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px; min-height: 52px; display: flex; align-items: center; }
  .main-nav .nav-cta { margin-left: 0; margin-top: 8px; justify-content: center; }
  .header-inner { position: relative; }

  .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  form.contact-form .row { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }

  .mobile-call.show { display: block; }
  body { padding-bottom: 88px; } /* room for sticky call */
}
@media (max-width: 420px) {
  h1 { font-size: 2.2rem; }
  .btn { padding: 14px 22px; font-size: 1rem; }
  .brand img { width: 50px; height: 50px; }
  .brand-text { font-size: 1.15rem; gap: 0.3em; }
}

/* Smaller footer */
.site-footer { padding: 32px 0 16px; }
.footer-mark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 14px; margin-top: 14px; }
.footer-socials a { color: rgba(255,255,255,0.55); transition: color 0.15s; display: flex; }
.footer-socials a:hover { color: var(--yellow); }
.footer-socials svg { width: 22px; height: 22px; fill: currentColor; }
.footer-mark img { width: 135px; height: 135px; object-fit: contain; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 24px;
}
.footer-col h4 { margin: 0 0 10px; }
.footer-col ul li { margin-bottom: 6px; font-size: 0.95rem; }
.footer-bottom { padding-top: 16px; font-size: 0.8rem; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-mark { justify-content: flex-start; }
  .footer-mark img { width: 165px; height: 165px; }
}
@media (min-width: 721px) {
  .site-footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: start;
    column-gap: clamp(24px, 4vw, 48px);
    row-gap: 24px;
    align-items: start;
  }
  .footer-mark { grid-column: 1; grid-row: 1; justify-content: flex-start; align-self: center; margin-bottom: 0; }
  .footer-grid { display: contents; }
  .footer-bottom { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
}
