* {
  box-sizing: border-box;
}

:root {
  --navy: #071b2c;
  --blue: #0e4a73;
  --blue-2: #156082;
  --gold: #d99b3d;
  --cream: #fff7e8;
  --light: #f4f7fb;
  --text: #17212b;
  --muted: #5c6875;
  --white: #ffffff;
  --border: #dce3eb;
  --shadow: 0 18px 60px rgba(8, 40, 63, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.top-bar {
  background: var(--navy);
  color: #dceaf5;
  font-size: 14px;
}

.top-bar-content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar a {
  color: var(--gold);
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.image-logo img {
  display: block;
  height: 84px;
  width: auto;
  max-width: 310px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 6px 10px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 900;
}

.nav-button {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
}

.hero-photo {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image: url("assets/hero-new-construction.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,27,44,0.92) 0%, rgba(7,27,44,0.76) 42%, rgba(7,27,44,0.24) 100%),
    linear-gradient(0deg, rgba(7,27,44,0.40), rgba(7,27,44,0.10));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-left: max(4%, calc((100% - 1160px) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-size: 13px;
  font-weight: 900;
}

.dark-eyebrow {
  color: var(--blue);
}

h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.08;
}

h1 {
  font-size: clamp(44px, 6vw, 82px);
  letter-spacing: -2.6px;
}

h2 {
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -1px;
}

h3 {
  font-size: 22px;
}

.hero-content p {
  max-width: 720px;
  font-size: 20px;
  color: #e4eef6;
}

.hero-actions {
  margin: 30px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.primary {
  background: var(--gold);
  color: #121820;
}

.secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 12px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #eef6fc;
  font-weight: 900;
  font-size: 14px;
}

.quick-contact {
  background: var(--cream);
  border-bottom: 1px solid #f0dfbf;
}

.quick-grid {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.quick-grid p {
  margin: 4px 0 0;
  color: var(--muted);
}

.quick-grid a {
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
  text-decoration: none;
}

.section {
  padding: 84px 0;
}

.section-intro {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.cards {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(8,40,63,0.08);
}

.work-section {
  background: var(--light);
}

.gallery {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(8,40,63,0.12);
}

.gallery-featured {
  grid-column: span 2;
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #eef3f7;
}

.gallery-featured img {
  height: auto;
}

.gallery figure:hover img {
  transform: none;
}

.gallery figcaption {
  display: block;
  padding: 16px 18px 18px;
  background: var(--white);
  color: var(--text);
}

.gallery figcaption strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 5px;
}

.gallery figcaption span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.split-section {
  background: var(--white);
}

.split-grid, .legacy-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.split-grid p, .legacy-grid p, .contact-grid p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.feature-list div {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
}

.feature-list span {
  color: var(--muted);
}

.photo-card img, .legacy-photo img {
  width: 100%;
  display: block;
  border-radius: 30px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.photo-card img {
  max-height: 650px;
}

.legacy {
  background:
    linear-gradient(135deg, rgba(7,27,44,0.93), rgba(14,74,115,0.9));
  color: var(--white);
}

.legacy-grid p {
  color: #e5f0f8;
  font-size: 18px;
}

.legacy-photo img {
  background: var(--white);
}

.service-area {
  background: var(--white);
}

.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact-section .contact-grid p {
  color: #dceaf5;
}

.contact-box {
  margin-top: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  padding: 22px;
}

.contact-box a {
  color: var(--gold);
}

.contact-form {
  background: var(--white);
  color: var(--text);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

input, textarea, select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 15px 20px;
  background: var(--gold);
  color: #121820;
  font-weight: 900;
  cursor: pointer;
  font-size: 16px;
}

footer {
  background: #061928;
  color: #dceaf5;
  padding: 32px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 26px;
}

.footer-grid p {
  margin: 6px 0 0;
  color: #b8cad8;
}

.footer-logo {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .top-bar-content,
  .nav,
  .quick-grid,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 14px;
  }

  nav a {
    white-space: nowrap;
    font-size: 14px;
  }

  .image-logo img {
    height: 70px;
    max-width: 260px;
  }

  .hero-photo {
    min-height: 660px;
    background-position: center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7,27,44,0.94), rgba(7,27,44,0.60));
  }

  .hero-content {
    margin-left: auto;
  }

  .cards,
  .gallery,
  .split-grid,
  .legacy-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-featured {
    grid-column: auto;
  }

  .gallery-featured img {
    height: auto;
  }

  .quick-grid a {
    font-size: 22px;
  }

  .section {
    padding: 64px 0;
  }
}

/* Version 2 additions */
.trust-strip {
  background: var(--navy);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-strip-grid {
  padding: 24px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-strip-grid div {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 18px;
}

.trust-strip-grid strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.trust-strip-grid span {
  color: #cddfeb;
  font-size: 14px;
}

.reviews-section {
  background: var(--white);
}

.review-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 32px rgba(8,40,63,0.08);
}

.review-card p {
  color: var(--text);
  font-size: 17px;
  margin: 10px 0 18px;
}

.review-card strong {
  color: var(--blue);
}

.stars {
  color: #e47622;
  letter-spacing: 2px;
  font-size: 22px;
  font-weight: 900;
}

.legacy-grid strong {
  color: var(--white);
}

@media (max-width: 900px) {
  .trust-strip-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* Issue #2: mobile hamburger menu */
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 8px 22px rgba(8,40,63,0.08);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--navy);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }

  .nav {
    position: relative;
    min-height: 92px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
  }

  #primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 44px rgba(8,40,63,0.16);
    transition: max-height .22s ease, opacity .18s ease, padding .18s ease;
  }

  #primary-nav.is-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding: 10px 16px 16px;
  }

  #primary-nav a {
    display: block;
    padding: 12px 4px;
    white-space: normal;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  #primary-nav a:last-child {
    border-bottom: 0;
  }

  #primary-nav .nav-button {
    margin-top: 10px;
    padding: 14px 16px;
    text-align: center;
    border-bottom: 0;
  }
}


/* Floating Call Now button */
.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(8, 40, 63, 0.28);
  border: 1px solid rgba(255,255,255,0.24);
}

.floating-call:hover {
  background: var(--blue-2);
  transform: translateY(-2px);
}

.floating-call-icon {
  line-height: 1;
}

@media (max-width: 600px) {
  body {
    padding-bottom: 76px;
  }

  .floating-call {
    left: 16px;
    right: 16px;
    bottom: 14px;
    justify-content: center;
    padding: 15px 18px;
    font-size: 17px;
  }
}


/* Trust and conversion refinements */
@media (max-width: 900px) {
  .top-bar-content {
    gap: 2px;
    padding: 7px 0 9px;
  }

  .top-bar a {
    font-size: 19px;
  }
}
