/* ============================================================
   DG PRECISION INSTALL SOLUTIONS — PREMIUM STYLESHEET
   Dark theme · Electric blue accent · Barlow Condensed
   ============================================================ */

:root {
  --black:   #0a0a0a;
  --dark:    #111214;
  --card:    #161820;
  --border:  #252830;
  --mid:     #2a2d38;
  --blue:    #2b7fff;
  --blue-d:  #1a5fd4;
  --blue-gl: rgba(43,127,255,0.12);
  --white:   #f4f4f6;
  --muted:   #8a8d9a;
  --radius:  10px;
  --gap:     clamp(1rem, 3vw, 2rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .5rem;
  display: block;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}

.accent { color: var(--blue); }

/* ── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-primary.full-width { width: 100%; justify-content: center; font-size: 16px; padding: 1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-gl); }

.btn-ghost-dark {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--blue);
  transition: background .2s, color .2s;
  margin-top: 1.5rem;
}
.btn-ghost-dark:hover { background: var(--blue); color: #fff; }

/* ── HEADER ─────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-link { flex-shrink: 0; }
.logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

nav { display: flex; gap: 2rem; margin-left: auto; }
nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
nav a:hover { color: var(--white); }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  padding: .55rem 1.2rem;
  border-radius: 6px;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-d); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover, .mobile-phone { color: var(--blue) !important; }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img { object-position: center 30%; filter: brightness(.45) saturate(.8); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,10,10,.85) 45%, rgba(43,127,255,.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem clamp(1rem, 4vw, 2.5rem);
}

.hero-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-gl);
  border: 1px solid rgba(43,127,255,.3);
  padding: .3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: .02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero-trust span {
  font-size: 13px;
  color: rgba(244,244,246,.6);
  font-weight: 400;
}

/* ── MARQUEE ─────────────────────────────────────────── */
.marquee-bar {
  background: var(--blue);
  overflow: hidden;
  padding: .75rem 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 1.5rem;
  white-space: nowrap;
}
.marquee-track .dot { padding: 0; opacity: .5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HOW IT WORKS ────────────────────────────────────── */
.how-it-works { background: var(--dark); }
.how-it-works .section-title { margin-bottom: 3rem; }

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--blue);
  opacity: .4;
  line-height: 1;
  margin-bottom: .75rem;
}
.step-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--white);
  margin-bottom: .5rem;
}
.step-item p { font-size: 14px; color: var(--muted); }
.step-item p strong { color: var(--blue); }

.step-arrow {
  font-size: 24px;
  color: var(--border);
  margin-top: 2rem;
  flex-shrink: 0;
}

/* ── SERVICES ────────────────────────────────────────── */
.services-section { background: var(--black); }
.services-section .section-title { margin-bottom: 2.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-3px); }

.service-img-wrap {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-img-wrap img { transition: transform .4s ease; }
.service-card:hover .service-img-wrap img { transform: scale(1.04); }

.service-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--white);
  margin-bottom: .5rem;
}
.service-info p { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }
.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue);
  transition: letter-spacing .2s;
}
.service-card:hover .card-link { letter-spacing: .12em; }

/* ── GALLERY ─────────────────────────────────────────── */
.gallery-section { background: var(--dark); }
.gallery-section .container { margin-bottom: 2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 8px;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  max-width: 1400px;
  margin: 0 auto;
}

.g-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--card);
}
.g-item.tall { grid-row: span 2; }
.g-item img { transition: transform .4s ease; filter: brightness(.9); }
.g-item:hover img { transform: scale(1.06); filter: brightness(1); }
.g-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 2rem .75rem .5rem;
  opacity: 0;
  transition: opacity .25s;
}
.g-item:hover .g-label { opacity: 1; }

/* ── WHY US ──────────────────────────────────────────── */
.why-section { background: var(--black); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.why-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 540px;
  border: 1px solid var(--border);
}

.why-text .section-title { margin-bottom: 1rem; }
.why-intro { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 1.75rem; }

.why-list { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.why-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: 15px; color: rgba(244,244,246,.8); }
.check {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── AREAS ───────────────────────────────────────────── */
.areas-section { background: var(--dark); }
.areas-section .section-title { margin-bottom: 2rem; }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.area-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color .2s, background .2s;
}
.area-card:hover { border-color: var(--blue); background: var(--blue-gl); }
.area-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
}
.area-arrow { color: var(--blue); font-size: 18px; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-section { background: var(--black); }

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq-left h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: .75rem;
}
.faq-left p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--blue);
  transition: transform .3s;
  margin-top: -2px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding-bottom: 0;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1.25rem; }

/* ── QUOTE FORM ──────────────────────────────────────── */
.quote-section { background: var(--dark); }

.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.quote-left h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: .75rem;
}
.quote-left > p { font-size: 14px; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }

.contact-options { display: flex; flex-direction: column; gap: 1rem; }
.contact-opt {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color .2s;
}
.contact-opt:hover { border-color: var(--blue); }
.co-icon { font-size: 20px; flex-shrink: 0; }
.contact-opt div { display: flex; flex-direction: column; }
.contact-opt strong { font-size: 13px; font-weight: 600; color: var(--white); }
.contact-opt span { font-size: 13px; color: var(--blue); }

.quote-logo-img {
  margin-top: 2rem;
  border-radius: var(--radius);
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* Form */
.quote-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

input, select, textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  padding: .75rem 1rem;
  width: 100%;
  transition: border-color .2s;
  outline: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--mid); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }

select { cursor: pointer; }
select option { background: var(--dark); }

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

.file-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.file-btn {
  flex: 1;
  min-width: 100px;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  padding: .85rem .5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.file-btn:hover { border-color: var(--blue); background: var(--blue-gl); }
.file-btn span { font-size: 13px; color: var(--muted); pointer-events: none; }
.file-btn input { display: none; }

.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-opt { display: flex; align-items: center; gap: .5rem; font-size: 14px; color: var(--muted); cursor: pointer; }
.radio-opt input[type=radio] { width: 16px; height: 16px; accent-color: var(--blue); flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────── */
footer { background: var(--dark); border-top: 1px solid var(--border); padding-top: 4rem; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.footer-socials { display: flex; flex-direction: column; gap: .5rem; }
.footer-socials a { font-size: 13px; color: var(--blue); transition: opacity .2s; }
.footer-socials a:hover { opacity: .7; }

.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.footer-links a { font-size: 14px; color: rgba(244,244,246,.65); transition: color .2s; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-bottom a { color: var(--blue); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  nav, .nav-cta { display: none; }
  .hamburger { display: block; }

  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item.tall { grid-row: span 1; }

  .why-inner,
  .faq-inner,
  .quote-inner { grid-template-columns: 1fr; }

  .why-img { height: 320px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .hero-trust { flex-direction: column; gap: .5rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
}
