/* ============================================================
   RAPID RISE GARAGE DOOR — Detroit Metro
   Bold/emergency style: red + black, condensed type, dense layout
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #CC0000;
  --red-dark:  #A30000;
  --black:     #0D0D0D;
  --charcoal:  #1C1C1C;
  --dark-gray: #2A2A2A;
  --mid-gray:  #666;
  --light-gray:#F4F4F4;
  --white:     #FFFFFF;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; color: var(--black); background: var(--white); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .06em;
  padding: 12px 24px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background .15s, color .15s, border-color .15s;
  font-size: 15px;
  text-transform: uppercase;
}
.btn-lg   { padding: 16px 32px; font-size: 17px; }
.btn-full { width: 100%; display: block; }

.btn-red          { background: var(--red);   color: var(--white); border-color: var(--red); }
.btn-red:hover    { background: var(--red-dark); border-color: var(--red-dark); }
.btn-white        { background: var(--white); color: var(--red);   border-color: var(--white); }
.btn-white:hover  { background: var(--light-gray); }
.btn-outline-white          { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover    { background: rgba(255,255,255,.1); }

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 36px;
  color: var(--black);
}

/* ── UTILITY BAR ── */
.util-bar {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 7px 20px;
  text-align: center;
}
.util-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.util-phone { font-weight: 800; font-size: 15px; }
.util-lic   { opacity: .85; }

/* ── HEADER ── */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.wm-rapid { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: var(--white); letter-spacing: .03em; }
.wm-rise  { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: var(--red);   letter-spacing: .03em; }
.wm-sub   { font-family: var(--font-head); font-size: 10px; font-weight: 600; color: #777; letter-spacing: .1em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .15s;
}
.main-nav a:hover { color: var(--white); }
.header-cta   { flex-shrink: 0; font-size: 14px; padding: 10px 20px; }
.nav-toggle   { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; margin-left: 8px; }

/* ── HERO ── */
.hero {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
}
.hero-diagonal {
  position: absolute;
  right: -60px;
  top: 0;
  width: 44%;
  height: 100%;
  background: var(--black);
  transform: skewX(-7deg);
  transform-origin: top right;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badge-pill {
  background: rgba(204,0,0,.18);
  border: 1px solid rgba(204,0,0,.55);
  color: #ff9999;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 12px;
  text-transform: uppercase;
}
h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.hero-sub { font-size: 18px; line-height: 1.55; color: #ddd; margin-bottom: 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border-top: 1px solid #3a3a3a;
  padding-top: 24px;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--red); }
.trust-item span   { font-size: 12px; color: #999; }

.hero-img-wrap { position: relative; }
.hero-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 3px solid var(--red);
  filter: grayscale(15%);
  background: #2a2a2a;
  min-height: 240px;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 2px solid rgba(204,0,0,.35);
  z-index: -1;
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--black);
  padding: 24px 0;
  border-bottom: 3px solid var(--red);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.ts-stat    { display: flex; flex-direction: column; align-items: center; padding: 8px 36px; text-align: center; }
.ts-num     { font-family: var(--font-head); font-size: 34px; font-weight: 900; color: var(--red); line-height: 1; }
.ts-label   { font-size: 12px; color: #999; margin-top: 4px; letter-spacing: .04em; }
.ts-divider { width: 1px; height: 40px; background: #2a2a2a; flex-shrink: 0; }

/* ── WIDGET SECTION ── */
.widget-section { background: var(--light-gray); padding: 72px 0; }
.widget-card {
  background: var(--white);
  border: 1px solid #ddd;
  border-top: 4px solid var(--red);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.widget-intro { margin-bottom: 28px; }
.widget-intro h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
}
.widget-intro p { color: var(--mid-gray); font-size: 15px; line-height: 1.6; }

/* ── SERVICES ── */
.services { padding: 80px 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e0e0e0;
  border: 1px solid #e0e0e0;
}
.service-card {
  background: var(--white);
  padding: 28px 28px 24px;
  border-left: 3px solid transparent;
  transition: border-color .15s, box-shadow .15s;
}
.service-card:hover { border-left-color: var(--red); }
.svc-icon   { font-size: 26px; margin-bottom: 12px; }
.service-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}
.service-card p  { font-size: 14px; color: #555; line-height: 1.55; margin-bottom: 14px; }
.svc-price       { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: .02em; }

/* ── EMERGENCY BAND ── */
.emergency-band { background: var(--red); padding: 28px 0; }
.eb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.eb-copy { color: var(--white); }
.eb-eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  opacity: .85;
  margin-bottom: 4px;
}
.eb-copy strong {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: .02em;
}

/* ── WHY US ── */
.why-us { background: var(--light-gray); padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--white);
  padding: 28px;
  border-top: 3px solid var(--red);
}
.why-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: #ebebeb;
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-card p  { font-size: 14px; color: #555; line-height: 1.55; }

/* ── REVIEWS ── */
.reviews { background: var(--charcoal); padding: 80px 0; }
.reviews .section-label { color: #ff6666; }
.reviews .section-h2    { color: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card {
  background: var(--dark-gray);
  padding: 28px;
  border-left: 3px solid var(--red);
}
.review-stars  { color: var(--red); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.review-card p { color: #ddd; font-size: 15px; line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.reviewer      { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .06em; }
.reviewer span { color: #bbb; font-weight: 400; }

/* ── PROCESS ── */
.process { background: var(--white); padding: 80px 0; }
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
}
.process-arrow { font-size: 32px; color: var(--red); padding: 32px 16px 0; }
.step-num {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}
.process-step h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.process-step p  { font-size: 14px; color: #555; line-height: 1.6; }

/* ── ABOUT ── */
.about { background: var(--black); padding: 80px 0; color: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: center; }
.about-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 3px solid var(--red);
  background: #2a2a2a;
}
.about .section-label { color: #ff6666; }
.about h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--white);
}
.about p { color: #ccc; font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.about-badge {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 14px;
  border: 1px solid #3a3a3a;
  color: #bbb;
  text-transform: uppercase;
}

/* ── SERVICE AREAS ── */
.areas { background: var(--light-gray); padding: 72px 0; }
.areas-sub { color: var(--mid-gray); margin-bottom: 32px; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.areas-grid span {
  background: var(--white);
  border: 1px solid #ddd;
  border-left: 3px solid var(--red);
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--black);
}

/* ── FAQ ── */
.faq { background: var(--white); padding: 80px 0; }
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid #e0e0e0; }
.faq-item:first-child { border-top: 1px solid #e0e0e0; }
.faq-item summary {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after  { content: '+'; font-size: 22px; color: var(--red); flex-shrink: 0; margin-left: 12px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding-bottom: 20px; color: #555; line-height: 1.65; font-size: 15px; }

/* ── CONTACT ── */
.contact { background: var(--light-gray); padding: 80px 0; }
.contact-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }

.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-top: 4px solid var(--red);
}
.contact-form-wrap h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 28px;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color .15s;
  border-radius: 0;
  appearance: auto;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { resize: vertical; }
.form-note { font-size: 13px; color: #999; margin-top: 12px; text-align: center; }
.form-note a { color: var(--red); font-weight: 600; }

.form-success { text-align: center; padding: 48px 24px; }
.success-icon { font-size: 52px; color: var(--red); font-family: var(--font-head); font-weight: 900; line-height: 1; }
.form-success h3 { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin: 12px 0 10px; }
.form-success p  { color: #555; font-size: 15px; }
.form-success a  { color: var(--red); font-weight: 600; }

.contact-info {
  background: var(--black);
  color: var(--white);
  padding: 40px;
  height: 100%;
}
.contact-info h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 16px;
}
.ci-item        { margin-bottom: 22px; }
.ci-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.ci-item a    { font-size: 22px; font-family: var(--font-head); font-weight: 700; color: var(--white); }
.ci-item span { font-size: 15px; color: #ccc; line-height: 1.5; }
.ci-brands    { margin-top: 24px; padding-top: 20px; border-top: 1px solid #2a2a2a; }
.ci-brands p  { font-size: 12px; color: #888; margin-bottom: 10px; }
.brand-tags   { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-tags span {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid #3a3a3a;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── FOOTER ── */
.site-footer { background: var(--charcoal); color: var(--white); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-wordmark {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--white);
}
.footer-wordmark span { color: var(--red); display: block; }
.footer-col p         { font-size: 14px; color: #999; line-height: 1.65; margin-bottom: 16px; }
.footer-phone         { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--red); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 16px;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 8px;
}
.footer-col ul li         { font-size: 14px; color: #999; margin-bottom: 8px; line-height: 1.4; }
.footer-col ul li a       { color: #999; }
.footer-col ul li a:hover { color: var(--white); }
.footer-lic { font-size: 12px; color: #555; margin-top: 16px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 16px 0; }
.footer-bottom .container { display: flex; justify-content: center; }
.footer-bottom span { font-size: 12px; color: #555; }

/* ── RESPONSIVE: 1024px ── */
@media (max-width: 1024px) {
  .why-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-trust  { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE: 768px ── */
@media (max-width: 768px) {
  .util-lic { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 16px 20px;
    gap: 0;
    border-bottom: 3px solid var(--red);
  }
  .main-nav.open { display: flex; }
  .main-nav a    { padding: 12px 0; border-bottom: 1px solid #1c1c1c; font-size: 16px; }
  .nav-toggle    { display: block; }

  .hero              { padding: 48px 0 40px; }
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-diagonal     { display: none; }
  .hero-img-wrap     { display: none; }
  .hero-trust        { grid-template-columns: repeat(2, 1fr); }

  .trust-strip-inner { justify-content: space-around; }
  .ts-divider        { display: none; }
  .ts-stat           { padding: 8px 12px; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }
  .process-arrow { display: none; }

  .about-inner   { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }

  .areas-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }

  .eb-inner { flex-direction: column; text-align: center; }
}

/* ── RESPONSIVE: 480px ── */
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .hero-trust     { grid-template-columns: repeat(2, 1fr); }
  .areas-grid     { grid-template-columns: 1fr 1fr; }
  .trust-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
}
