/* =====================================================
   DER Subpage Styles
   Shared by all equipment and service-area pages.
   Built 2026-05-29 to support multi-page architecture
   per SEO audit (AJ, 2026-05-29).
   ===================================================== */

:root {
  --charcoal: #1C1C1E;
  --charcoal-dark: #111;
  --charcoal-light: #2a2a2a;
  --gold: #F5A800;
  --gold-bright: #FFB820;
  --green: #00B140;
  --white: #ffffff;
  --gray-text: rgba(255, 255, 255, 0.75);
  --gray-text-dim: rgba(255, 255, 255, 0.5);
  --font-headline: 'Cinzel', serif;
  --font-display: 'Oswald', sans-serif;
  --font-subhead: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--charcoal-dark);
  color: var(--white);
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

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

/* ============================================
   NAV
   ============================================ */
.sub-nav {
  background: var(--charcoal);
  border-bottom: 1px solid var(--charcoal-light);
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.sub-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sub-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.sub-nav-brand img { height: 44px; width: auto; }
.sub-nav-brand-text {
  font-family: var(--font-headline);
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}
@media (max-width: 600px) {
  .sub-nav-brand-text { display: none; }
}
.sub-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.sub-nav-links a { color: var(--gray-text); }
.sub-nav-links a:hover { color: var(--gold); }
.sub-nav-phone {
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 14px;
  letter-spacing: 1px;
}
.sub-nav-phone:hover { background: var(--gold-bright); color: var(--charcoal); }
@media (max-width: 800px) {
  .sub-nav-links { display: none; }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--charcoal);
  padding: 12px 24px;
  border-bottom: 1px solid var(--charcoal-light);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-text-dim);
}
.breadcrumb-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb a { color: var(--gray-text); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { margin: 0 8px; color: var(--gray-text-dim); }
.breadcrumb-current { color: var(--white); }

/* ============================================
   HERO
   ============================================ */
.sub-hero {
  background: var(--charcoal);
  border-bottom: 1px solid var(--charcoal-light);
  padding: 48px 24px 32px;
}
.sub-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.sub-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 12px 0;
}
.sub-hero h1 .gold { color: var(--gold); }
.sub-hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--gray-text);
  max-width: 760px;
  margin: 0 0 24px 0;
  line-height: 1.5;
}
.sub-hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--gold-bright); color: var(--charcoal); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-secondary:hover { background: var(--gold); color: var(--charcoal); }
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: #00CC4A; }

/* ============================================
   MAIN CONTENT
   ============================================ */
.sub-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
.sub-main h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}
.sub-main h2:first-child { margin-top: 0; }
.sub-main h2 .gold { color: var(--gold); }
.sub-main h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 24px 0 10px 0;
}
.sub-main p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-text);
  margin: 0 0 16px 0;
}
.sub-main p strong { color: var(--white); }

/* GRID LAYOUTS */
.split-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
}
@media (max-width: 800px) {
  .split-2col { grid-template-columns: 1fr; gap: 24px; }
}

/* HERO IMAGE */
.sub-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--charcoal-light);
  border: 2px solid var(--gold);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
}
.sub-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PRICING TABLE */
.pricing-card {
  background: var(--charcoal);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 24px;
  margin: 16px 0;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dotted var(--charcoal-light);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-text);
}
.pricing-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--gold);
}
.pricing-min {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-text-dim);
  margin-top: 12px;
  text-align: center;
}

/* SPECS TABLE */
.specs-table {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-light);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 16px 0;
}
.specs-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 14px;
  border-bottom: 1px dotted var(--charcoal-light);
}
.specs-row:last-child { border-bottom: none; }
.specs-label { color: var(--gray-text); }
.specs-value { color: var(--white); font-weight: 600; text-align: right; }

/* INCLUDED LIST */
.included-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}
.included-list li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}
.included-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}

/* USE CASES LIST */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.use-case {
  background: var(--charcoal);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
}

/* FAQ */
.faq-item {
  background: var(--charcoal);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
.faq-item summary {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] { background: #161618; }
.faq-answer {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
}

/* INTERNAL LINKS / RELATED */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.related-card {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-light);
  border-radius: 4px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.15s, transform 0.15s;
}
.related-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--white);
}
.related-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.related-card-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* CTA BLOCK */
.cta-block {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a2a2a 100%);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 32px;
  text-align: center;
  margin: 32px 0;
}
.cta-block h2 {
  border-bottom: none;
  margin: 0 0 12px 0;
}
.cta-block p {
  margin: 0 0 20px 0;
  font-size: 16px;
}

/* TESTIMONIAL CARD (single) */
.testimonial-block {
  background: var(--charcoal);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 24px;
  margin: 24px 0;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.testimonial-quote {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  margin: 0 0 14px 0;
}
.testimonial-author {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* DELIVERY MAP placeholder */
.delivery-info {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-light);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 16px 0;
}
.delivery-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 14px;
  border-bottom: 1px dotted var(--charcoal-light);
}
.delivery-info-row:last-child { border-bottom: none; }

/* FOOTER */
.sub-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--charcoal-light);
  padding: 32px 24px;
}
.sub-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.sub-footer-col h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}
.sub-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sub-footer-col ul li {
  padding: 4px 0;
  font-family: var(--font-body);
  font-size: 14px;
}
.sub-footer-col a { color: var(--gray-text); }
.sub-footer-col a:hover { color: var(--gold); }
.sub-footer-bottom {
  max-width: 1100px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--charcoal-light);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-text-dim);
  text-align: center;
}
