/* ============================================================
   Jimmy Dee Sellers — Contractor CSS
   Professional contractor aesthetic: charcoal, dirt brown,
   steel gray, safety orange, clean white spacing.
   ============================================================ */

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

:root {
  --bg-dark:       #1C1C1E;
  --bg-charcoal:   #2A2A2C;
  --bg-mid:        #3A3A3E;
  --bg-warm:       #F4F1EC;
  --bg-white:      #FFFFFF;
  --accent:        #E85D04;   /* safety orange */
  --accent-dark:   #C94B00;
  --accent-light:  #F07530;
  --dirt-brown:    #7A5C3A;
  --steel-gray:    #8A8A8E;
  --text-dark:     #1C1C1E;
  --text-body:     #3A3A3E;
  --text-light:    #F4F1EC;
  --text-muted:    #A0A0A4;
  --border:        rgba(232, 93, 4, 0.2);
  --border-dark:   rgba(255,255,255,0.1);
  --font-head:     'Barlow', sans-serif;
  --font-body:     'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 28, 30, 0.97);
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header-brand { display: flex; flex-direction: column; gap: 0; flex-shrink: 0; }

.brand-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  transition: color 0.2s;
}

.header-phone:hover { color: var(--accent); }
.phone-icon { color: var(--accent); }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-call:hover { background: var(--accent-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: stretch;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 65% 50% at 20% 55%, rgba(232, 93, 4, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 45% 65% at 85% 15%, rgba(122, 92, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-top { display: flex; gap: 48px; align-items: flex-start; }

.hero-content { flex: 1; max-width: 700px; }

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-headline em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-problem {
  background: rgba(232, 93, 4, 0.07);
  border: 1px solid var(--border);
  padding: 22px 26px;
  margin-bottom: 32px;
  max-width: 640px;
}

.hero-problem p { font-size: 16px; line-height: 1.65; color: var(--text-light); }
.hero-problem strong { color: var(--accent); }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-aside { flex-shrink: 0; width: 300px; display: flex; flex-direction: column; gap: 16px; }

.trust-badge {
  background: var(--bg-charcoal);
  border: 1px solid var(--border-dark);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-badge-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.trust-badge-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section { padding: 80px 40px; }
.section-dark { background: var(--bg-dark); }
.section-warm { background: var(--bg-warm); color: var(--text-dark); }
.section-charcoal { background: var(--bg-charcoal); }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-tag {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title-light { color: var(--text-light); }
.section-title-dark  { color: var(--text-dark); }

.section-sub { font-size: 17px; line-height: 1.7; max-width: 600px; }
.section-sub-light { color: var(--text-muted); }
.section-sub-dark  { color: var(--text-body); }

/* ============================================================
   SERVICES
   ============================================================ */
.services-header { max-width: 640px; margin-bottom: 48px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.08);
}

.service-card {
  background: var(--bg-warm);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--dirt-brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon { color: var(--dirt-brown); margin-bottom: 14px; flex-shrink: 0; }

.service-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-problem {
  font-size: 13px;
  color: var(--dirt-brown);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.service-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.service-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  border: none;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
  margin-top: auto;
  text-decoration: none;
}

.service-cta:hover { background: var(--accent-dark); }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.area-card {
  background: var(--bg-charcoal);
  border: 1px solid var(--border-dark);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.area-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.area-cities { font-size: 14px; color: var(--text-light); line-height: 1.55; }

/* ============================================================
   PROOF / STATS
   ============================================================ */
.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-dark);
  margin-top: 40px;
}

.proof-stat {
  padding: 32px 28px;
  border-right: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proof-stat:last-child { border-right: none; }

.proof-number {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof-label { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.project-card {
  background: var(--bg-charcoal);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-gray);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.project-type {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.1);
}

.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.faq-q:hover { background: #faf8f5; }
.faq-q::after { content: '+'; font-size: 18px; color: var(--dirt-brown); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  background: var(--bg-white);
}

.faq-item.open .faq-a { display: block; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  background: var(--dirt-brown);
  padding: 96px 40px;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 500px; height: 500px;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
}

.manifesto-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.manifesto blockquote {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-light);
  font-style: normal;
  letter-spacing: -0.01em;
  max-width: 860px;
  margin-bottom: 24px;
}

.manifesto-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
}

/* ============================================================
   CLOSING
   ============================================================ */
.closing {
  background: var(--bg-charcoal);
  padding: 80px 40px;
  border-top: 1px solid var(--border-dark);
}

.closing-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.closing p { font-size: 16px; color: var(--text-muted); line-height: 1.65; max-width: 560px; }

.closing-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex-shrink: 0;
}

.closing-phone-block { display: flex; flex-direction: column; gap: 4px; }

.closing-phone-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.closing-phone {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.closing-phone:hover { color: var(--accent-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 36px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-tagline { font-size: 13px; color: var(--text-muted); }

.footer-meta { font-size: 13px; color: var(--text-muted); text-align: right; }

/* ============================================================
   CONTACT MODAL
   ============================================================ */
#contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background: rgba(28, 28, 30, 0.88);
  backdrop-filter: blur(4px);
  padding: 24px;
}

#contact-modal.open { display: flex; }

.modal-box {
  background: var(--bg-warm);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: 30px 34px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.modal-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.modal-title {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  line-height: 1.1;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--text-dark); }

.modal-body { padding: 22px 34px 34px; }

.modal-phone-banner {
  background: rgba(232,93,4,0.07);
  border: 1px solid var(--border);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.modal-phone-text { font-size: 13px; color: var(--text-body); }

.modal-phone-link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.modal-phone-link:hover { color: var(--accent-dark); }

.form-field { margin-bottom: 15px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 5px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  border: 1.5px solid rgba(122, 92, 58, 0.25);
  background: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--accent); }

.form-textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--text-light);
  border: none;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 24px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.form-submit:hover { background: var(--accent-dark); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-success { display: none; text-align: center; padding: 40px 34px; }
.form-success.show { display: block; }

.form-success h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.form-success p { font-size: 15px; color: var(--text-body); }

.form-error-msg {
  display: none;
  background: #fff0e8;
  border: 1px solid rgba(200, 84, 26, 0.3);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--accent-dark);
  margin-bottom: 16px;
  border-radius: 2px;
}

.form-error-msg.show { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .proof-stat { border-bottom: 1px solid var(--border-dark); }
  .proof-stat:nth-child(2n) { border-right: none; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .closing-inner { grid-template-columns: 1fr; }
  .closing-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero-top { flex-direction: column; }
  .hero-aside { width: 100%; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; gap: 12px; }
  .brand-tagline { display: none; }
  .header-phone span { display: none; }

  .section { padding: 60px 20px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 60px 20px; gap: 28px; }
  .hero-headline { font-size: 34px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .projects-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stat { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .proof-stat:last-child { border-bottom: none; }
  .area-grid { grid-template-columns: 1fr; }
  .manifesto { padding: 60px 20px; }
  .closing { padding: 60px 20px; }
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  .footer-meta { text-align: center; }

  .modal-header { padding: 22px 20px 0; }
  .modal-body { padding: 18px 20px 26px; }
  .form-success { padding: 32px 20px; }
}