/* =========================================================
   S.D.P. Manufacturing — Wicked Fast Web redesign
   Palette: charcoal steel + safety red + off-white
   Type: Teko (condensed industrial headings) + Inter (body)
   ========================================================= */

:root {
  --sdp-black:      #14171b;
  --sdp-charcoal:   #1c2126;
  --sdp-panel:      #23282e;
  --sdp-steel:      #4b5560;
  --sdp-steel-lt:   #8a94a0;
  --sdp-red:        #c8102e;
  --sdp-red-dark:   #9c0c23;
  --sdp-off-white:  #f3f4f5;
  --sdp-white:      #ffffff;
  --sdp-border:     #e4e6e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--sdp-black);
  background: var(--sdp-white);
  overflow-x: hidden;
}

h1, h2, h3, h4,
.hero-title, .hero-subtitle, .hero-eyebrow, .section-title, .sdp-brand-text {
  font-family: 'Teko', sans-serif;
  letter-spacing: 0.02em;
  font-weight: 600;
}

a { color: var(--sdp-red); }
a:hover { color: var(--sdp-red-dark); }

/* ===== Buttons ===== */
.btn-sdp-red {
  background: var(--sdp-red);
  border-color: var(--sdp-red);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-sdp-red:hover {
  background: var(--sdp-red-dark);
  border-color: var(--sdp-red-dark);
  color: #fff;
}
.btn-outline-light:hover { color: var(--sdp-black); }

/* ===== Navbar ===== */
.sdp-navbar {
  background: var(--sdp-charcoal);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.25);
}
.sdp-logo-chip {
  background: var(--sdp-off-white);
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.sdp-logo-chip img { display: block; }
.sdp-logo-chip-lg { padding: 10px 16px; }
.sdp-logo-chip-lg img { height: 42px; width: auto; }
.sdp-brand-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.navbar-nav .nav-link {
  color: #dfe3e7;
  font-weight: 500;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}
.navbar-nav .nav-link:hover { color: #fff; }

/* ===== Hero (split panel) ===== */
.sdp-hero {
  display: flex;
  flex-direction: row;
  min-height: 88vh;
}
.sdp-hero-text {
  flex: 1 1 48%;
  background: linear-gradient(155deg, var(--sdp-charcoal) 0%, var(--sdp-black) 100%);
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
  border-right: 6px solid var(--sdp-red);
}
.sdp-hero-text-inner { max-width: 560px; }
.hero-eyebrow {
  color: var(--sdp-red);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.hero-title {
  color: #fff;
  font-size: 4.2rem;
  line-height: 0.98;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  color: var(--sdp-steel-lt);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.hero-tagline {
  color: #c7ccd1;
  font-size: 1.05rem;
  line-height: 1.6;
}
.sdp-hero-photo {
  flex: 1 1 52%;
  background: url('img/hero.webp') center/cover no-repeat, var(--sdp-black);
  min-height: 46vh;
}

@media (max-width: 991.98px) {
  .sdp-hero { flex-direction: column; min-height: auto; }
  .sdp-hero-text {
    border-right: none;
    border-bottom: 6px solid var(--sdp-red);
    padding: 3.25rem 1.75rem;
  }
  .sdp-hero-photo { min-height: 42vh; }
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.4rem; }
}

/* ===== Feature strip ===== */
.sdp-feature-strip {
  background: var(--sdp-off-white);
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--sdp-border);
}
.feature-cell { text-align: center; padding: 0 1rem; }
.feature-cell i {
  font-size: 2.4rem;
  color: var(--sdp-red);
  margin-bottom: 0.75rem;
  display: inline-block;
}
.feature-cell h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--sdp-black);
}
.feature-cell p {
  color: var(--sdp-steel);
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ===== Sections (generic) ===== */
.sdp-section { padding: 5.5rem 0; }
.sdp-section-alt { background: var(--sdp-off-white); }
.section-eyebrow {
  color: var(--sdp-red);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.4rem;
}
.section-eyebrow-light { color: #ff8c9c; }
.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--sdp-black);
}
.section-title-light { color: #fff; }
.section-lead {
  color: var(--sdp-steel);
  font-size: 1.1rem;
  max-width: 700px;
}
.section-lead-light { color: #c7ccd1; }
.sdp-subheading {
  font-family: 'Teko', sans-serif;
  font-size: 1.8rem;
  color: var(--sdp-black);
  border-left: 5px solid var(--sdp-red);
  padding-left: 0.75rem;
}

/* ===== Products ===== */
.product-card {
  background: #fff;
  border: 1px solid var(--sdp-border);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.1); }
.product-card-img {
  background: var(--sdp-black);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
}
.product-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card-body { padding: 1.4rem; flex: 1; }
.product-card-body h3 { font-size: 1.55rem; margin-bottom: 0.25rem; }
.product-spec {
  color: var(--sdp-red);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.product-card-body p:last-child { color: var(--sdp-steel); font-size: 0.95rem; margin-bottom: 0; }

.product-card-cta {
  background: var(--sdp-charcoal);
  border: 1px solid var(--sdp-charcoal);
}
.product-card-cta i { font-size: 2.2rem; color: var(--sdp-red); margin-bottom: 0.5rem; }
.product-card-cta h3 { color: #fff; font-size: 1.55rem; }
.product-card-cta p { color: #c7ccd1; }

/* ===== Video ===== */
.sdp-video-section {
  background: var(--sdp-charcoal);
  padding: 5.5rem 0;
}
.sdp-video-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border: 3px solid var(--sdp-red);
}

/* ===== About ===== */
.sdp-about-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}
.sdp-img-caption {
  font-size: 0.82rem;
  color: var(--sdp-steel);
  margin-top: 0.4rem;
  margin-bottom: 0.9rem;
}
.sdp-badge-img { width: 100%; max-width: 180px; height: auto; display: block; margin: 0 auto; }

.sdp-quote {
  border-left: 4px solid var(--sdp-red);
  padding: 0.6rem 0 0.6rem 1.1rem;
  margin: 1.4rem 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--sdp-black);
}
.sdp-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--sdp-steel);
  margin-top: 0.35rem;
  font-weight: 600;
}

.sdp-press-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--sdp-off-white);
  border: 1px solid var(--sdp-border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin-top: 1.5rem;
  text-decoration: none;
  color: var(--sdp-black);
  transition: border-color 0.15s ease;
}
.sdp-press-card:hover { border-color: var(--sdp-red); color: var(--sdp-black); }
.sdp-press-card i { font-size: 1.5rem; color: var(--sdp-red); margin-top: 0.1rem; }
.sdp-press-card span { font-size: 0.92rem; line-height: 1.5; }

/* ===== Team ===== */
.team-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sdp-off-white);
  box-shadow: 0 0 0 2px var(--sdp-border);
  flex-shrink: 0;
}
.team-card h3 { font-size: 1.6rem; margin-bottom: 0; }
.team-title {
  color: var(--sdp-red);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}
.team-card p { color: var(--sdp-steel); font-size: 0.95rem; }
.team-card a { font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.team-card a:hover { text-decoration: underline; }

/* ===== Dealers ===== */
.dealer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .dealer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .dealer-grid { grid-template-columns: repeat(7, 1fr); } }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.dealer-tile {
  background: #fff;
  border: 1px solid var(--sdp-border);
  border-radius: 8px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.dealer-tile:hover { border-color: var(--sdp-red); transform: translateY(-2px); }
.dealer-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dealer-tile-dark { background: var(--sdp-charcoal); border-color: var(--sdp-charcoal); }

.dealer-tile-cta {
  background: var(--sdp-red);
  color: #fff;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.25;
}
.dealer-tile-cta i { font-size: 1.4rem; }
.dealer-tile-cta:hover { background: var(--sdp-red-dark); border-color: var(--sdp-red-dark); color: #fff; }

/* ===== Contact ===== */
.sdp-contact {
  background: var(--sdp-charcoal);
  color: #fff;
}
.sdp-contact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.sdp-contact-list li {
  color: #dfe3e7;
  margin-bottom: 0.9rem;
  font-size: 1.02rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.sdp-contact-list i { color: var(--sdp-red); margin-top: 0.2rem; }
.sdp-contact-list a { color: #fff; text-decoration: underline; }
.sdp-map-frame {
  height: 100%;
  min-height: 360px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--sdp-red);
}

/* ===== Footer ===== */
.sdp-footer {
  background: var(--sdp-black);
  color: #b9bfc5;
  padding: 3.5rem 0 2rem;
}
.sdp-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.sdp-footer .text-muted { color: #8b939b !important; }
.sdp-footer-links li { margin-bottom: 0.5rem; }
.sdp-footer-links a { color: #b9bfc5; text-decoration: none; }
.sdp-footer-links a:hover { color: #fff; text-decoration: underline; }
.sdp-powered-link { color: #ff8c9c; font-weight: 600; text-decoration: none; }
.sdp-powered-link:hover { color: var(--sdp-red); text-decoration: underline; }
