/* =========================================================
   Premier Developing Services, Inc. — site stylesheet
   Palette pulled from the current pdsdeveloping.com:
     --dark      near-black header/footer (#151517)
     --blue      accent orange used for links/buttons (#f37128 — pulled
                 from pdsdeveloping.com's own custom.css hover color)
     --blue-dark hover state
     --gray-bg   light section background
     --text      body copy gray (#333)
   Typography: Montserrat (headings) + system sans (body),
   matching the fonts already loaded on the current site.
   ========================================================= */

:root {
  --dark: #151517;
  --dark-2: #1f1f22;
  --blue: #f37128;
  --blue-dark: #cf5813;
  --gray-bg: #f5f6f8;
  --border: #e3e5e9;
  --text: #333333;
  --text-light: #6b7076;
  --white: #ffffff;
  --max: 1180px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(21, 21, 23, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 16px;
  line-height: 1.25;
}

p { margin: 0 0 16px; }
a { color: var(--blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section { padding: 80px 0; }
.section.alt { background: var(--gray-bg); }
.section.dark { background: var(--dark); color: #cfd2d6; }
.section.dark h2, .section.dark h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: all .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn.outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn.outline:hover { background: var(--white); color: var(--dark); }
.btn.outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn.outline-dark:hover { background: var(--dark); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(21,21,23,.05);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; display: block; }
.brand.footer-logo img { height: 64px; }

.main-nav ul { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #4a4e55;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 26px;
  cursor: pointer;
}

.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone { color: var(--dark); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700; }
.header-phone a { color: var(--dark); }
.header-phone a:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(21,21,23,.72), rgba(21,21,23,.55)), var(--dark) center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slides img.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,17,.78), rgba(15,15,17,.6) 55%, rgba(15,15,17,.85)); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-content .eyebrow { color: #f7c19c; }
.hero-content h1 { color: var(--white); font-size: 46px; margin-bottom: 20px; }
.hero-content p { font-size: 18px; color: #dfe2e6; max-width: 560px; }
.hero-ctas { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-page {
  min-height: 320px;
  background: linear-gradient(180deg, rgba(15,15,17,.82), rgba(15,15,17,.78)), var(--dark) center/cover no-repeat;
  display: flex; align-items: center;
}
.hero-page h1 { color: var(--white); font-size: 38px; margin-bottom: 10px; }
.breadcrumb { font-family: "Montserrat", sans-serif; font-size: 12.5px; letter-spacing: 1px; color: #a9adb3; text-transform: uppercase; }
.breadcrumb a { color: #a9adb3; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stats-grid .stat { padding: 46px 20px; border-left: 1px solid var(--border); }
.stats-grid .stat:first-child { border-left: none; }
.stat .num { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 40px; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.stat .label { font-family: "Montserrat", sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-light); }

/* ---------- Grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-bg); }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-light); margin-bottom: 16px; }
.card .read-more { margin-top: auto; font-family: "Montserrat", sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.icon-card { padding: 8px 4px; }
.icon-card .icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(243,113,40,.12); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 18px;
  margin-bottom: 18px;
}
.icon-card h3 { font-size: 17px; }
.icon-card p { color: var(--text-light); font-size: 14.5px; }

/* ---------- About / split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-inline-row { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.stat-inline .num { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 28px; color: var(--blue); }
.stat-inline .label { font-size: 13px; color: var(--text-light); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial .quote-mark { font-family: Georgia, serif; font-size: 46px; color: var(--blue); line-height: 1; margin-bottom: 6px; }
.testimonial p.quote { font-size: 15px; color: var(--text); font-style: italic; }
.testimonial .who { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13.5px; color: var(--dark); margin-top: 14px; }
.testimonial .who span { display: block; font-weight: 500; color: var(--text-light); font-size: 12.5px; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c7cad0; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Table (services / divisions list pages) ---------- */
.list-block { border-top: 1px solid var(--border); }
.list-item {
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
}
.list-item h3 { font-size: 19px; margin-bottom: 8px; }
.list-item .list-num { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 28px; color: var(--border); }

/* ---------- Projects filter/grid ---------- */
.project-card .card-media { position: relative; }
.project-card .tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue); color: var(--white);
  font-family: "Montserrat", sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
}
.project-card .loc { font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
}
.mini-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.mini-item h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 3px;
}
.mini-item span {
  font-size: 12.5px;
  color: var(--text-light);
}
@media (max-width: 980px) {
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .mini-grid { grid-template-columns: 1fr; }
}

/* ---------- Project detail gallery ---------- */
.project-detail-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.project-detail-head .loc { font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: block; }
.project-detail-head h2 { margin-bottom: 4px; font-size: 34px; }
.project-detail-head .subtitle { color: var(--text-light); font-size: 15px; }
.back-link { font-family: "Montserrat", sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.back-link:before { content: "\2190"; margin-right: 6px; }

.gallery { margin-bottom: 20px; }
.gallery-main {
  position: relative;
  aspect-ratio: 16/9.5;
  background: var(--gray-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-main img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s ease;
}
.gallery-main img.active { opacity: 1; }
.gallery-count {
  position: absolute; bottom: 14px; right: 16px; z-index: 3;
  background: rgba(21,21,23,.6); color: var(--white);
  font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
}
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(21,21,23,.55); color: var(--white); border: none;
  font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.gallery-arrow:hover { background: var(--blue); }
.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }
.gallery-thumbs {
  display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px;
}
.gallery-thumbs img {
  width: 84px; height: 60px; object-fit: cover; border-radius: 3px;
  cursor: pointer; opacity: .55; flex-shrink: 0; border: 2px solid transparent;
  transition: opacity .15s ease, border-color .15s ease;
}
.gallery-thumbs img.active { opacity: 1; border-color: var(--blue); }
.gallery-thumbs img:hover { opacity: 1; }

.project-detail-body { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-top: 50px; }
.project-detail-body h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; font-family: "Montserrat", sans-serif; color: var(--blue); margin-bottom: 14px; }
.project-facts { background: var(--gray-bg); border-radius: var(--radius); padding: 28px; height: fit-content; }
.project-facts dt { font-family: "Montserrat", sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-light); margin-top: 18px; }
.project-facts dt:first-child { margin-top: 0; }
.project-facts dd { margin: 4px 0 0; font-size: 14.5px; color: var(--dark); }

@media (max-width: 980px) {
  .project-detail-body { grid-template-columns: 1fr; gap: 30px; }
  .gallery-main { aspect-ratio: 4/3; }
}

/* ---------- Offices / map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .ic {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(243,113,40,.12); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: "Montserrat", sans-serif; font-weight: 800;
}
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { margin: 0; color: var(--text-light); font-size: 14.5px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: "Montserrat", sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; color: var(--text-light); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 14.5px; color: var(--text); background: var(--white);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-2); color: #b6b9bf; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid h4 { color: var(--white); font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid li { margin-bottom: 11px; font-size: 14px; }
.footer-grid a { color: #b6b9bf; }
.footer-grid a:hover { color: var(--white); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: #9a9ea5; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 13px; color: #82868d; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: #82868d; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav, .header-cta .header-phone { display: none; }
  .nav-toggle { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .testimonial-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat:nth-child(3) { border-left: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .list-item { grid-template-columns: 1fr; gap: 8px; }
  .hero-content h1 { font-size: 34px; }
}
@media (max-width: 620px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* Mobile nav drawer */
.main-nav.open {
  display: block;
  position: fixed;
  inset: 0 0 0 auto;
  width: 78%;
  max-width: 320px;
  background: var(--dark);
  padding: 90px 30px 30px;
  box-shadow: -20px 0 40px rgba(0,0,0,.3);
}
.main-nav.open ul { flex-direction: column; align-items: flex-start; gap: 4px; }
.main-nav.open a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); color: #d8dade; }
.main-nav.open a:hover, .main-nav.open a.active { color: var(--white); }
