/* ===================================================================
   DLM Builders — Design System
=================================================================== */

:root {
  --navy: #0f2a3f;
  --navy-2: #16374f;
  --charcoal: #2b2b2d;
  --charcoal-2: #3a3a3c;
  --blue: #1f6fb2;
  --blue-dark: #154f80;
  --amber: #e0912c;
  --amber-dark: #c07518;
  --ink: #232a30;
  --ink-muted: #5b6470;
  --paper: #ffffff;
  --paper-alt: #f4f6f8;
  --border: #e3e7ec;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 63, 0.08);
  --shadow: 0 14px 34px rgba(15, 42, 63, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 42, 63, 0.22);
  --container: 1180px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0; }
@media (max-width: 700px) {
  section { padding: 52px 0; }
}
.section-alt { background: var(--paper-alt); }
.section-navy { background: var(--navy); color: #cfd9e2; }
.section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--amber-dark);
  margin-bottom: 14px;
}
.section-navy .eyebrow { color: var(--amber); }

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--ink-muted); font-size: 1.08rem; margin-bottom: 0; }
.section-navy .section-head p { color: #b7c4d1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #1c1200;
  box-shadow: 0 10px 24px rgba(224, 145, 44, 0.35);
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 0.9rem; }

/* ---------- Header / Nav ---------- */
.hero-wrap { position: relative; }
header.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 96px; width: auto; }
.brand-text { font-family: var(--font-head); line-height: 1.1; }
.brand-text strong { display: block; font-size: 1.05rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.brand-text span { display: block; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--amber); font-weight: 600; }

nav.main-nav ul { display: flex; gap: 30px; align-items: center; }
nav.main-nav a.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a.nav-link:hover,
nav.main-nav a.nav-link.active { color: var(--amber); border-color: var(--amber); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.header-phone svg { flex-shrink: 0; stroke: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span { width: 26px; height: 3px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.35); border-radius: 3px; transition: transform .2s ease, opacity .2s ease; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav-logo { height: 76px; width: auto; }
.mobile-nav-close { background: none; border: none; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a.nav-link {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-nav .btn { margin-top: 24px; }

@media (max-width: 980px) {
  nav.main-nav, .header-phone.desktop-only { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn.desktop-only { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 640px;
  background-size: cover;
  background-position: center 30%;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(35,35,37,0.92) 0%, rgba(35,35,37,0.72) 42%, rgba(35,35,37,0.35) 75%, rgba(35,35,37,0.15) 100%);
  z-index: -1;
}
.hero-inner { max-width: 640px; padding: 90px 0; }
.hero .eyebrow { color: var(--amber); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}
.hero p.lead { font-size: 1.15rem; color: #dbe4ec; max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.trust-strip div { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #e7edf2; font-weight: 500; }
.trust-strip svg { flex-shrink: 0; color: var(--amber); }

.page-hero {
  min-height: 340px;
}
.page-hero .hero-inner { padding: 118px 0 60px; max-width: 720px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.breadcrumb { font-size: 0.85rem; color: #b7c4d1; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--amber); }

/* ---------- Trust bar (below hero) ---------- */
.credentials-bar { background: var(--paper-alt); border-bottom: 1px solid var(--border); }
.credentials-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.credential { display: flex; align-items: center; gap: 12px; }
.credential svg { color: var(--blue); flex-shrink: 0; }
.credential strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 0.95rem; }
.credential span { font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-card { padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.service-card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.service-card p { color: var(--ink-muted); font-size: 0.96rem; margin-bottom: 0; }
.service-card .learn { margin-top: auto; font-weight: 600; color: var(--blue); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-detail-media { order: 2; }
.service-detail-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail-body .icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 18px;
}
.service-detail-body h2 { font-size: 1.6rem; }
.service-detail-body p { color: var(--ink-muted); }
.service-detail-body ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.service-detail-body ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--ink); }
.service-detail-body ul li svg { color: var(--amber-dark); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 820px) {
  .service-detail { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .service-detail:nth-child(even) .service-detail-media { order: 0; }
}

/* ---------- Gallery preview / grid ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid a { border-radius: var(--radius); overflow: hidden; display: block; position: relative; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,42,63,0.45), transparent 55%);
  opacity: 0; transition: opacity .25s ease;
}
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid.featured a:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } .gallery-grid.featured a:first-child { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid.featured a:first-child { grid-column: span 2; grid-row: span 1; } }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: all .15s ease;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,17,24,0.94);
  align-items: center; justify-content: center;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background .15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; } }

/* ---------- Instagram preview ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-grid a { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.insta-grid a:hover img { transform: scale(1.08); }
.insta-grid a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,42,63,0.6), transparent 55%);
  opacity: 0; transition: opacity .2s ease;
}
.insta-grid a:hover::after { opacity: 1; }
.insta-grid a .insta-icon { position: absolute; bottom: 10px; right: 10px; opacity: 0; transition: opacity .2s ease; }
.insta-grid a:hover .insta-icon { opacity: 1; }
.insta-handle {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
}
.insta-handle svg { color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-radius: 8px; padding: 6px; }
@media (max-width: 900px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.testimonial-card .stars { color: var(--amber); letter-spacing: 3px; font-size: 1rem; }
.testimonial-card p.quote { color: var(--ink); font-size: 1rem; margin-bottom: 0; flex-grow: 1; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-weight: 700;
}
.testimonial-card .who strong { display: block; font-size: 0.92rem; color: var(--navy); }
.testimonial-card .who span { font-size: 0.8rem; color: var(--ink-muted); }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step .num {
  counter-increment: step;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--amber);
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.step .num::before {
  content: counter(step, decimal-leading-zero);
  color: var(--navy);
}
.step h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: 1.7rem; }
.cta-band p { color: #b7c4d1; margin-bottom: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band-actions .btn { white-space: normal; max-width: 100%; }
@media (max-width: 700px) { .cta-band { padding: 36px 26px; flex-direction: column; text-align: center; } .cta-band-actions { justify-content: center; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--paper-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.contact-info-item strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 0.98rem; margin-bottom: 2px; }
.contact-info-item span, .contact-info-item a { color: var(--ink-muted); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--blue); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper-alt);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--ink-muted); margin-top: 14px; }
.form-success {
  display: none;
  background: #eaf6ee; border: 1px solid #bfe6cb; color: #1e6b39;
  padding: 16px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--charcoal); color: #a9b7c4; }
.footer-top { padding-top: 60px; padding-bottom: 40px; display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo { height: 88px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #93a3b2; font-size: 0.92rem; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.footer-social a:hover { background: var(--amber); }
.footer-social img { width: 17px; height: 17px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.03em; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: #a9b7c4; }
.footer-col a:hover { color: var(--amber); }
.footer-col address { font-style: normal; font-size: 0.92rem; color: #a9b7c4; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: #7c8b99;
}
.footer-bottom a:hover { color: var(--amber); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(15,42,63,0.12);
  padding: 10px 14px;
  gap: 10px;
}
.mobile-call-bar .btn { flex: 1; }
@media (max-width: 720px) {
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 70px; }
}

/* ---------- misc ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper-alt); border: 1px solid var(--border);
  padding: 9px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; color: var(--navy);
}
.badge svg { color: var(--blue); }
