:root {
  --z-navy: #071f3d;
  --z-navy-2: #092b4d;
  --z-blue: #0879d1;
  --z-blue-dark: #0066bb;
  --z-text: #10253d;
  --z-muted: #425d78;
  --z-line: #d9e4ee;
  --z-soft: #f5f9fd;
  --z-white: #ffffff;
  --z-width: 1180px;
  --z-radius: 18px;
  --z-shadow: 0 14px 36px rgba(7, 31, 61, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.zenith-engineering-final {
  margin: 0;
  background: #fff;
  color: var(--z-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.zenith-engineering-final a { text-decoration: none; }
body.zenith-engineering-final img { max-width: 100%; }
.z-site { min-height: 100vh; overflow: hidden; }
.z-wrap { width: min(calc(100% - 72px), var(--z-width)); margin: 0 auto; }

/* Unified navigation */
.z-site-header {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--z-line);
}
.z-nav {
  height: 92px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 30px;
}
.z-brand { display: inline-flex; align-items: center; }
.z-brand img { width: 112px; height: auto; display: block; }
.z-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 36px;
}
.z-menu a {
  color: var(--z-navy);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  padding: 10px 0;
  position: relative;
}
.z-menu a::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 100%;
  bottom: 0;
  background: var(--z-blue);
  transition: right .2s ease;
}
.z-menu a:hover::after,
.z-menu a.is-active::after { right: 0; }
.z-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  border: 0;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.z-button:hover { transform: translateY(-1px); }
.z-button-primary { color: #fff; background: var(--z-blue); box-shadow: 0 8px 18px rgba(8,121,209,.22); }
.z-button-primary:hover { background: var(--z-blue-dark); color: #fff; }
.z-nav-quote { white-space: nowrap; }
.z-mobile-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 0; background: transparent; cursor: pointer; }
.z-mobile-toggle span { display: block; height: 2px; background: var(--z-navy); margin: 5px 0; transition: .2s ease; }

/* Homepage hero */
.z-hero { background: #fff; }
.z-hero-grid {
  min-height: 450px;
  display: grid;
  grid-template-columns: 49% 51%;
  align-items: stretch;
}
.z-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 40px 48px 0;
}
.z-hero-copy h1 {
  margin: 0;
  color: var(--z-navy);
  font-size: clamp(52px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 760;
}
.z-hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #243f5c;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.43;
}
.z-hero-button { align-self: flex-start; margin-top: 24px; }
.z-hero-media { position: relative; min-height: 450px; overflow: hidden; }
.z-hero-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #fff 0, rgba(255,255,255,.72) 12%, rgba(255,255,255,0) 34%);
}
.z-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Feature cards */
.z-features { position: relative; z-index: 4; margin-top: -24px; }
.z-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.z-feature-card {
  min-height: 220px;
  padding: 30px 26px 26px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--z-line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(7,31,61,.04);
}
.z-feature-card-primary { border: 2px solid var(--z-blue); transform: translateY(-10px); box-shadow: var(--z-shadow); }
.z-feature-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--z-blue), #0065c6);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}
.z-feature-card-primary .z-feature-icon { width: 78px; height: 78px; font-size: 38px; }
.z-feature-card h2 { margin: 0; color: var(--z-navy); font-size: 21px; line-height: 1.17; letter-spacing: -.02em; }
.z-feature-card-primary h2 { font-size: 27px; }
.z-feature-card p { margin: 12px auto 0; color: var(--z-muted); font-size: 14px; line-height: 1.55; max-width: 300px; }
.z-mini-rule { display: block; width: 24px; height: 2px; margin: 14px auto 0; background: var(--z-blue); }

/* Main sections */
.z-section { padding: 70px 0 30px; }
.z-about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: center; }
.z-section-rule { display: block; width: 42px; height: 3px; background: var(--z-blue); margin: 0 0 18px; }
.z-copy-block h2,
.z-process-section h2,
.z-service-copy h2 {
  margin: 0;
  color: var(--z-navy);
  font-size: clamp(31px, 3.5vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.z-copy-block p,
.z-service-copy p { margin: 15px 0 0; color: var(--z-muted); font-size: 15px; line-height: 1.65; }
.z-image-card { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 8.2; box-shadow: var(--z-shadow); }
.z-image-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.z-process-section { padding: 48px 0 34px; background: linear-gradient(180deg,#f8fbfe 0,#fff 100%); border-top: 1px solid #edf3f8; }
.z-process-section h2 { font-size: 31px; }
.z-process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-top: 22px; }
.z-process-card {
  position: relative;
  min-height: 126px;
  padding: 20px 20px 20px 76px;
  display: flex;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--z-line);
  border-radius: 11px;
}
.z-process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 30px;
  border-top: 1px dashed #93abc1;
}
.z-step-number {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--z-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.z-process-icon { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; background: #eaf4fd; color: var(--z-blue); display: grid; place-items: center; font-size: 26px; }
.z-process-card h3 { margin: 0 0 7px; font-size: 16px; color: var(--z-navy); }
.z-process-card p { margin: 0; color: var(--z-muted); font-size: 13px; line-height: 1.5; }

.z-service-area { padding: 26px 0 24px; }
.z-map-grid { display: grid; grid-template-columns: 280px 1fr; gap: 42px; align-items: stretch; }
.z-service-copy h2 { font-size: 30px; }
.z-city-list { font-size: 13px !important; line-height: 1.55 !important; }
.z-map-frame { min-height: 250px; border-radius: 14px; overflow: hidden; box-shadow: var(--z-shadow); border: 1px solid var(--z-line); }
.z-map-frame iframe, .z-small-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Quote page */
.z-quote-hero { padding: 40px 0 28px; }
.z-quote-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.z-quote-intro h1 { margin: 0; color: var(--z-navy); font-size: clamp(52px,5.3vw,70px); line-height: 1; letter-spacing: -.045em; }
.z-quote-intro > p { margin: 24px 0 0; max-width: 550px; color: #294762; font-size: 22px; line-height: 1.55; }
.z-quote-image { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--z-shadow); }
.z-quote-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.z-quote-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 35px; }
.z-benefit-icon { display: block; color: var(--z-blue); font-size: 35px; height: 45px; }
.z-quote-benefits h2 { margin: 0 0 8px; color: var(--z-navy); font-size: 15px; line-height: 1.25; }
.z-quote-benefits p { margin: 0; color: var(--z-muted); font-size: 13px; line-height: 1.55; }

.z-quote-main { padding: 22px 0 42px; }
.z-quote-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 26px; align-items: start; }
.z-panel, .z-help-panel {
  background: #fff;
  border: 1px solid var(--z-line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(7,31,61,.04);
}
.z-panel h2, .z-help-panel h2 { margin: 0 0 18px; color: var(--z-navy); font-size: 28px; letter-spacing: -.025em; }
.z-panel > p, .z-help-panel > p { margin: 0 0 20px; color: var(--z-muted); font-size: 14px; line-height: 1.55; }
.z-panel h3 { margin: 22px 0 15px; color: var(--z-navy); font-size: 17px; }
.z-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.z-field { display: flex; flex-direction: column; gap: 8px; }
.z-field-full { grid-column: 1 / -1; }
.z-field label { color: var(--z-navy); font-size: 13px; font-weight: 700; }
.z-field input, .z-field textarea {
  width: 100%;
  border: 1px solid #cbd9e6;
  border-radius: 8px;
  background: #fff;
  padding: 13px 15px;
  color: var(--z-text);
  font: inherit;
  outline: none;
}
.z-field input { min-height: 50px; }
.z-field textarea { min-height: 130px; resize: vertical; }
.z-field input:focus, .z-field textarea:focus { border-color: var(--z-blue); box-shadow: 0 0 0 3px rgba(8,121,209,.1); }
.z-upload { margin-top: 2px; padding: 18px; border: 1px dashed #a9bfd3; border-radius: 10px; background: #f8fbfe; }
.z-upload input { min-height: auto; padding: 0; border: 0; background: transparent; }
.z-upload p { margin: 11px 0 0; color: var(--z-muted); font-size: 13px; line-height: 1.5; }
.z-upload small { display: block; margin-top: 10px; color: var(--z-muted); }
.z-form-actions { display: flex; align-items: center; gap: 25px; margin-top: 24px; }
.z-security-note { max-width: 270px; color: var(--z-muted); font-size: 12px; line-height: 1.4; }
.z-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.z-alert { border-radius: 9px; padding: 14px 16px; margin: 0 0 20px; font-size: 14px; line-height: 1.5; }
.z-alert-success { background: #eaf7ef; color: #1e693a; border: 1px solid #bce0c8; }
.z-alert-error { background: #fff0f0; color: #912b2b; border: 1px solid #efc4c4; }
.z-quote-sidebar { display: grid; gap: 14px; }
.z-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.z-checklist li { position: relative; padding-left: 26px; color: var(--z-muted); font-size: 14px; line-height: 1.45; }
.z-checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border: 2px solid var(--z-blue); border-radius: 4px; color: var(--z-blue); font-size: 10px; line-height: 11px; text-align: center; font-weight: 800; }
.z-map-panel { padding: 22px; }
.z-map-panel h2 { font-size: 24px; margin-bottom: 5px; }
.z-map-panel > p { margin-bottom: 13px; }
.z-small-map { height: 180px; overflow: hidden; border-radius: 10px; }
.z-help-panel { padding: 22px; background: linear-gradient(180deg,#f6faff,#f1f7fc); }
.z-help-panel h2 { font-size: 24px; margin-bottom: 8px; }
.z-business-hours { display: flex; align-items: flex-start; gap: 16px; padding-top: 14px; border-top: 1px solid #ccdbe7; color: var(--z-muted); font-size: 13px; line-height: 1.4; }
.z-business-hours strong { color: var(--z-navy); }
.z-clock { flex: 0 0 auto; width: 42px; height: 42px; border: 2px solid var(--z-blue); border-radius: 50%; color: var(--z-blue); display: grid; place-items: center; font-size: 22px; }

/* Generic pages */
.z-generic-page { padding: 70px 0; background: var(--z-soft); }
.z-generic-page .z-panel { max-width: 920px; margin: 0 auto; }
.z-generic-page h1 { margin: 0 0 24px; color: var(--z-navy); font-size: 48px; }
.z-entry-content { color: var(--z-muted); font-size: 17px; line-height: 1.7; }

/* Footer: no duplicate Service Area column */
.z-site-footer { background: linear-gradient(135deg,#082440,#071c33); color: #fff; }
.z-footer-main { min-height: 142px; display: grid; grid-template-columns: 135px 1fr 1.45fr; gap: 42px; align-items: center; padding-top: 25px; padding-bottom: 25px; }
.z-footer-brand img { width: 105px; display: block; }
.z-footer-summary p { margin: 0 0 8px; color: #e7f0f7; font-size: 14px; line-height: 1.5; }
.z-footer-summary strong { color: #12a5ff; font-size: 14px; font-weight: 600; }
.z-footer-contact { display: grid; grid-template-columns: 1fr; gap: 6px; }
.z-footer-contact h2 { margin: 0 0 4px; font-size: 16px; color: #fff; }
.z-footer-contact a, .z-footer-contact span { color: #fff; font-size: 14px; line-height: 1.45; }
.z-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); }
.z-footer-bottom .z-wrap { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #dbe8f2; font-size: 12px; }

@media (max-width: 980px) {
  .z-wrap { width: min(calc(100% - 34px), var(--z-width)); }
  .z-nav { height: 78px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .z-brand img { width: 100px; }
  .z-menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 17px;
    right: 17px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--z-line);
    border-radius: 12px;
    box-shadow: var(--z-shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .z-menu.is-open { display: flex; }
  .z-menu a { padding: 13px 12px; }
  .z-menu a::after { display: none; }
  .z-mobile-toggle { display: block; }
  .z-nav-quote { min-height: 44px; padding: 0 16px; }
  .z-hero-grid, .z-quote-hero-grid { grid-template-columns: 1fr; }
  .z-hero-copy { padding: 45px 0 32px; }
  .z-hero-media { min-height: 360px; }
  .z-features { margin-top: -15px; }
  .z-about-grid { grid-template-columns: 1fr; gap: 30px; }
  .z-image-card { aspect-ratio: 16 / 9; }
  .z-process-card:not(:last-child)::after { display: none; }
  .z-map-grid { grid-template-columns: 1fr; gap: 20px; }
  .z-service-copy { max-width: 600px; }
  .z-quote-benefits { max-width: 700px; }
  .z-quote-grid { grid-template-columns: 1fr; }
  .z-footer-main { grid-template-columns: 110px 1fr 1.25fr; gap: 28px; }
}

@media (max-width: 720px) {
  .z-wrap { width: min(calc(100% - 28px), var(--z-width)); }
  .z-nav-quote { display: none; }
  .z-nav { grid-template-columns: 1fr auto; }
  .z-hero-copy h1 { font-size: 45px; }
  .z-hero-lead { font-size: 20px; }
  .z-hero-media { min-height: 260px; }
  .z-feature-grid, .z-process-grid, .z-quote-benefits, .z-form-grid { grid-template-columns: 1fr; }
  .z-feature-card-primary { transform: none; }
  .z-feature-card { min-height: auto; }
  .z-section { padding-top: 50px; }
  .z-process-grid { gap: 14px; }
  .z-process-card { padding-left: 70px; }
  .z-service-area { padding-bottom: 20px; }
  .z-map-frame { min-height: 320px; }
  .z-quote-hero { padding-top: 35px; }
  .z-quote-intro h1 { font-size: 46px; }
  .z-quote-intro > p { font-size: 19px; }
  .z-quote-benefits { grid-template-columns: repeat(3,1fr); gap: 15px; }
  .z-benefit-icon { font-size: 28px; }
  .z-quote-benefits h2 { font-size: 13px; }
  .z-quote-benefits p { font-size: 12px; }
  .z-panel, .z-help-panel { padding: 22px; }
  .z-field-full { grid-column: auto; }
  .z-form-actions { flex-direction: column; align-items: flex-start; }
  .z-footer-main { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .z-footer-brand img { width: 96px; }
  .z-footer-bottom .z-wrap { flex-direction: column; justify-content: center; text-align: center; padding: 14px 0; }
}

@media (max-width: 480px) {
  .z-hero-copy h1 { font-size: 38px; }
  .z-hero-lead { font-size: 18px; }
  .z-quote-intro h1 { font-size: 40px; }
  .z-quote-benefits { grid-template-columns: 1fr; }
  .z-quote-benefits > div { display: grid; grid-template-columns: 45px 1fr; column-gap: 10px; }
  .z-quote-benefits p { grid-column: 2; }
}


/* Real navigation destination pages — homepage and quote layouts remain unchanged. */
.z-subpage-hero { padding: 70px 0 86px; min-height: 610px; }
.z-subpage-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 74px; align-items: center; }
.z-subpage-hero h1 { margin: 0 0 24px; color: var(--z-navy); font-size: clamp(48px, 6vw, 68px); line-height: 1; letter-spacing: -.045em; }
.z-subpage-hero h2 { margin: 0 0 20px; color: var(--z-navy); font-size: clamp(30px, 3.6vw, 43px); line-height: 1.08; letter-spacing: -.035em; }
.z-subpage-hero p { color: var(--z-muted); font-size: 17px; line-height: 1.7; }
.z-subpage-hero .z-button { margin-top: 12px; }
.z-subpage-image { aspect-ratio: 16 / 10; }
.z-subpage-heading { margin-bottom: 56px; }
.z-subpage-heading p { margin: 0; font-size: 24px; }
.z-subpage-features { margin-top: 16px; }
.z-subpage-process .z-process-grid { margin-top: 38px; }
.z-contact-page-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: stretch; }
.z-contact-page-card { padding: 42px; }
.z-contact-lines { display: grid; gap: 14px; margin: 28px 0; }
.z-contact-lines a, .z-contact-lines span { color: var(--z-muted); font-size: 18px; line-height: 1.5; }
.z-contact-hours { margin: 26px 0; }
.z-contact-map { min-height: 520px; }
.z-contact-map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }

@media (max-width: 900px) {
  .z-subpage-hero { padding: 44px 0 60px; min-height: 0; }
  .z-subpage-hero-grid, .z-contact-page-grid { grid-template-columns: 1fr; gap: 30px; }
  .z-subpage-heading { margin-bottom: 34px; }
  .z-subpage-features { grid-template-columns: 1fr; }
  .z-subpage-features .z-feature-card-primary { transform: none; }
  .z-contact-map, .z-contact-map iframe { min-height: 360px; }
}
