/* ===========================
   Urban General Construction
   Main Stylesheet
   DFW Market — 2026
=========================== */

:root {
  --navy:   #1a2744;
  --gold:   #c9a84c;
  --gold2:  #e8c96b;
  --dark:   #0d1220;
  --text:   #2c2c2c;
  --muted:  #6b7280;
  --light:  #f8f7f4;
  --white:  #ffffff;
  --border: #e5e2da;
  --radius: 6px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w: 1160px;
  --transition: 0.22s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 400; }
h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 400; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 400; }
h4 { font-size: 18px; }
p { margin-bottom: 1em; color: var(--text); }
p:last-child { margin-bottom: 0; }
.lead { font-size: 18px; line-height: 1.75; color: var(--muted); }
.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white h1, .text-white h2, .text-white h3, .text-white p { color: var(--white); }
.text-muted { color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.35); }
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #243257; transform: translateY(-1px); }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex;
  align-items: center;
  perspective: 800px;
}
.logo-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 4px;
  animation: logoEntrance 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,0)    38%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0)    62%,
    rgba(255,255,255,0)    100%
  );
  background-size: 200% 100%;
  animation: shimmerSweep 3.4s ease-in-out infinite;
  pointer-events: none;
}
.nav-logo img.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.nav-logo:hover .logo-wrap {
  animation: logoHover 0.7s ease forwards;
}
@keyframes logoEntrance {
  0%   { transform: rotateY(75deg) scale(0.85); opacity: 0; }
  55%  { transform: rotateY(-5deg) scale(1.02); opacity: 1; }
  78%  { transform: rotateY(3deg) scale(0.99); }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}
@keyframes logoHover {
  0%   { transform: rotateY(0deg); }
  40%  { transform: rotateY(14deg); }
  100% { transform: rotateY(0deg); }
}
@keyframes shimmerSweep {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-logo .logo-text .l1 { font-family: var(--font-head); font-size: 18px; color: var(--navy); font-weight: 700; letter-spacing: 1px; }
.nav-logo .logo-text .l2 { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active { background: rgba(201,168,76,0.15); color: var(--gold); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text);
  border-radius: 0;
}
.nav-dropdown-menu a:hover { background: var(--light); color: var(--gold); }
.nav-dropdown-label {
  padding: 8px 18px 4px;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.nav-dropdown-label:first-child { border-top: none; margin-top: 0; }
.mob-section-label {
  padding: 10px 20px 4px;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  opacity: 0.8;
}
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.nav-cta { margin-left: 12px; }
.nav-phone { font-size: 15px; font-weight: 700; color: var(--gold); }
.nav-phone span { font-size: 11px; color: rgba(255,255,255,0.6); display: block; text-align: right; letter-spacing: 0.5px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); display: block; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243566 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 32px; color: var(--gold); font-family: var(--font-head); line-height: 1; }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.65); letter-spacing: 1px; text-transform: uppercase; }
.hero-image { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-image img { width: 100%; height: 460px; object-fit: cover; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #243566 100%);
  padding: 60px 0 50px;
  color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .lead { color: rgba(255,255,255,0.75); }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* ---- Trust bar ---- */
.trust-bar { background: var(--navy); padding: 18px 0; }
.trust-items { display: flex; gap: 32px; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; }
.trust-item .icon { font-size: 18px; }

/* ---- Section headers ---- */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header p { max-width: 600px; }
.section-header.center p { margin: 0 auto; }

/* ---- Service cards ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.service-card-img { height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card-icon { font-size: 28px; margin-bottom: 12px; }
.service-card-body h3 { margin-bottom: 10px; font-size: 20px; }
.service-card-body p { color: var(--muted); font-size: 14px; flex: 1; }
.service-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gold); margin-top: 16px; transition: gap var(--transition); }
.service-card-link:hover { gap: 10px; }

/* ---- Why Us / Feature blocks ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.feature-item { text-align: center; padding: 32px 20px; background: var(--light); border-radius: 8px; }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-item h4 { margin-bottom: 10px; }
.feature-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---- Process steps ---- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 28px 24px 24px; background: var(--white); border: 1px solid var(--border); border-radius: 8px; }
.process-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -14px; left: 24px; font-size: 13px; font-weight: 700; color: var(--white); background: var(--gold); padding: 3px 10px; border-radius: 20px; letter-spacing: 1px; }
.process-step h4 { margin-bottom: 8px; margin-top: 4px; }
.process-step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #243566 100%);
  padding: 72px 0;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 32px; font-size: 17px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Gallery grid ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gallery-item { overflow: hidden; border-radius: 6px; position: relative; background: var(--light); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: white; font-size: 13px; font-weight: 500; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-item-label { opacity: 1; }

/* ---- FAQ accordion ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-q .faq-icon { font-size: 20px; flex-shrink: 0; transition: transform 0.2s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.faq-a.open { display: block; }

/* ---- Contact form ---- */
.contact-form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ---- Areas grid ---- */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.area-item { background: var(--light); border-radius: 6px; padding: 14px 16px; font-size: 14px; font-weight: 500; color: var(--navy); border: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.area-item::before { content: '📍'; font-size: 14px; }

/* ---- Testimonials ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--light); border-radius: 8px; padding: 28px; border-left: 4px solid var(--gold); }
.testimonial-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author strong { font-size: 14px; color: var(--navy); display: block; }
.testimonial-author span { font-size: 12px; color: var(--muted); }

/* ---- Split section ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .split-img { order: 2; }
.split.flip .split-text { order: 1; }
.split-img { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 400px; object-fit: cover; }
.split-text h2 { margin-bottom: 16px; }
.split-text p { color: var(--muted); margin-bottom: 16px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15px; color: var(--text); }
.check-list li::before { content: '✓'; color: var(--gold); font-weight: 700; margin-top: 2px; flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .brand-name { font-family: var(--font-head); font-size: 20px; color: var(--white); margin-bottom: 4px; }
.footer-brand .brand-tagline { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; color: rgba(255,255,255,0.55); transition: all var(--transition); }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-col h4 { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--white); margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.footer-contact-icon { font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-legal a:hover { color: var(--gold); }

/* ---- Sticky CTA bar (mobile) ---- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  padding: 12px 16px;
  z-index: 800;
  gap: 10px;
}
.sticky-cta a { flex: 1; text-align: center; font-size: 14px; font-weight: 600; padding: 12px; border-radius: 6px; }
.sticky-cta .s-call { background: var(--gold); color: var(--navy); }
.sticky-cta .s-quote { background: transparent; border: 1.5px solid rgba(255,255,255,0.4); color: white; }

/* ---- Utilities ---- */
.bg-light { background: var(--light); }
.bg-navy { background: var(--navy); }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .split-img { order: unset; }
  .split.flip .split-text { order: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav-links, .nav-cta, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 60px 0 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-items { gap: 16px; justify-content: flex-start; }
  .hero-stats { gap: 20px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
}

/* ---- Mobile Nav ---- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 950;
  padding: 80px 24px 24px;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--navy); font-weight: 500; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mob-close { position: absolute; top: 20px; right: 20px; font-size: 28px; color: var(--navy); background: none; border: none; cursor: pointer; }
.mobile-nav .mob-phone { margin-top: 32px; font-size: 22px; font-weight: 700; color: var(--navy); }
.mobile-nav .mob-cta { margin-top: 16px; }

/* ---- Page hero with photo background ---- */
.page-hero.has-photo { position: relative; padding: 96px 0 84px; overflow: hidden; }
.page-hero.has-photo::before { content: ''; position: absolute; inset: 0; z-index: 0; background-image: var(--hero-img); background-size: cover; background-position: center; }
.page-hero.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(10,18,38,0.88) 0%, rgba(20,32,72,0.72) 100%); }
.page-hero.has-photo .container { position: relative; z-index: 2; }
