/* Viking Garage Door — DeWalt-style palette (approved v2)
   graphite #20262E / coal #16191D / industrial orange #E8820C / off-white #F7F5F1 */

:root {
  --graphite: #20262E;
  --coal: #16191D;
  --orange: #E8820C;
  --orange-deep: #C96F06;
  --off: #F7F5F1;
  --paper: #FFFFFF;
  --ink: #1B1F24;
  --ink-soft: #5A616B;
  --line: #E3DFD6;
  --star: #F5B301;
  --radius: 6px;
  --shadow: 0 10px 30px -18px rgba(22, 25, 29, 0.45);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--coal);
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }
.section-kicker {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--orange-deep);
  margin-bottom: 6px;
}
.section-lead { color: var(--ink-soft); max-width: 720px; margin-top: 10px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-orange { background: var(--orange); color: var(--coal); }
.btn-orange:hover { background: #F79320; }
.btn-dark { background: var(--coal); color: var(--off); }
.btn-dark:hover { background: var(--graphite); }
.btn-outline { border-color: var(--off); color: var(--off); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { border-color: var(--coal); color: var(--coal); background: transparent; }
.btn-outline-dark:hover { background: var(--coal); color: var(--off); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--coal);
  border-bottom: 3px solid var(--orange);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 8px; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--off);
  font-size: 1.45rem;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--orange);
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: var(--off);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.02rem;
  opacity: 0.9;
}
.site-nav a:hover, .site-nav a.active { color: var(--orange); opacity: 1; }
.header-phone { white-space: nowrap; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: var(--off);
  font-size: 1.9rem;
  cursor: pointer;
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  background: var(--graphite);
  color: var(--off);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(22,25,29,0.93) 0%, rgba(22,25,29,0.78) 45%, rgba(22,25,29,0.45) 100%);
}
.hero-inner { position: relative; padding: 92px 20px; max-width: 780px; }
.hero h1 { color: #fff; }
.hero p.sub { margin: 18px 0 28px; font-size: 1.18rem; color: rgba(247,245,241,0.92); max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 0.95rem; color: rgba(247,245,241,0.75); }
.page-hero .hero-inner { padding: 64px 20px; }

/* Trust bar */
.trustbar { background: var(--orange); color: var(--coal); }
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  justify-content: center;
  padding: 13px 20px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
}
.trustbar-inner span,
.trustbar-inner a { display: inline-flex; align-items: center; gap: 8px; }
.trustbar-inner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.trustbar-inner a:hover { text-decoration: none; }

/* Sections */
.section { padding: 72px 0; }
.section-dark { background: var(--graphite); color: var(--off); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: rgba(247,245,241,0.78); }
.section-tight { padding: 52px 0; }

/* Cards */
.grid { display: grid; gap: 26px; margin-top: 38px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  border-top: 4px solid var(--orange);
}
.card img { height: 190px; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.card-link {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  text-decoration: none;
}
.card:hover .card-link { text-decoration: underline; }

/* Checklist / features */
.checklist { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 4px;
  background: var(--orange);
  clip-path: polygon(14% 44%, 0 61%, 40% 100%, 100% 16%, 84% 2%, 39% 70%);
}
.section-dark .checklist li { color: rgba(247,245,241,0.9); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; margin-top: 30px; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Stats / reviews */
.review-band { text-align: center; }
.stars { color: var(--star); font-size: 1.9rem; letter-spacing: 4px; }
.review-band .score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
  line-height: 1;
  margin-top: 8px;
}
.review-band p { color: rgba(247,245,241,0.8); margin-top: 8px; }

/* Service areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.areas span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.95rem;
}
.section-dark .areas span { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); color: var(--off); }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; margin-top: 26px; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th {
  background: var(--coal);
  color: var(--off);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.price-table td { color: var(--ink); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td.price { font-weight: 700; white-space: nowrap; }

/* FAQ */
.faq { margin-top: 30px; display: grid; gap: 12px; }
.faq details {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.08rem;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--orange-deep);
  font-size: 1.5rem;
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--coal); color: var(--off); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(247,245,241,0.8); margin: 12px auto 26px; max-width: 640px; }
.cta-band .hero-ctas { justify-content: center; }

/* Forms */
.form-card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; border-top: 4px solid var(--orange); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.92rem; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--off);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }

/* Contact info */
.contact-info { display: grid; gap: 18px; }
.contact-info .item strong { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; display: block; font-size: 1.05rem; }
.contact-info a { color: var(--orange-deep); font-weight: 700; text-decoration: none; }

/* Footer */
.site-footer { background: var(--coal); color: rgba(247,245,241,0.85); padding: 56px 0 0; border-top: 4px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer h4 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 14px;
  font-size: 1.1rem;
}
.site-footer a { color: rgba(247,245,241,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  font-size: 0.88rem;
  color: rgba(247,245,241,0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.socials { display: flex; gap: 14px; margin-top: 14px; }
.socials a { font-weight: 700; }

/* Mobile sticky call bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 70;
  background: var(--coal);
  border-top: 2px solid var(--orange);
}
.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 13px 4px;
  color: var(--off);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mobile-bar a.call { background: var(--orange); color: var(--coal); }

/* Breadcrumbs */
.crumbs { font-size: 0.9rem; color: rgba(247,245,241,0.7); margin-bottom: 14px; }
.crumbs a { color: rgba(247,245,241,0.7); }

/* Responsive */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    z-index: 60;
    background: var(--coal);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px 24px;
    gap: 18px;
    border-bottom: 3px solid var(--orange);
  }
  .site-nav.open { display: flex; }
}
@media (max-width: 720px) {
  body { padding-bottom: 52px; }
  .mobile-bar { display: flex; }
  .header-phone { display: none; }
  .grid-4, .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
}
