:root {
  --navy: #061b3a;
  --blue: #0b3a75;
  --orange: #d98200;
  --orange2: #f59e0b;
  --green: #16803d;
  --text: #0f1f37;
  --muted: #5b6778;
  --line: #dce3ee;
  --bg: #f7f9fc;
  --white: #fff;
  --shadow: 0 18px 55px rgba(6,27,58,.13);
}

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

body {
  margin: 0;
  font-family: Verdana, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 7vw;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.logo-mark {
  width: 58px;
  height: 48px;
  border: 3px solid var(--orange);
  border-top: 6px solid var(--navy);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 1000;
  font-size: 23px;
  background: #fff;
  position: relative;
}

.logo strong {
  display: block;
  font-size: 30px;
  color: var(--navy);
  line-height: .9;
}

.logo span {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex: 1;
  font-size: 13px;
  font-weight: 900;
}

.main-nav a:hover { color: var(--orange); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.phone {
  color: var(--navy);
  font-weight: 1000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 1000;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange2), var(--orange));
  color: #fff;
  box-shadow: 0 10px 24px rgba(217,130,0,.25);
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-large { padding: 16px 24px; }
.full { width: 100%; border: 0; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 440px;
  gap: 42px;
  align-items: center;
  padding: 70px 7vw;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 44%, rgba(255,255,255,.30) 100%),
    radial-gradient(circle at 72% 40%, rgba(217,130,0,.20), transparent 22%),
    linear-gradient(135deg, #f7fbff, #e8f2ff);
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: "";
  position: absolute;
  right: 4vw;
  bottom: 0;
  width: 52vw;
  height: 78%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.16)),
    url('assets/modern_construction_company_website_mockup.png');
  background-size: cover;
  background-position: center top;
  opacity: .22;
  border-radius: 34px 34px 0 0;
  pointer-events: none;
}

.hero-content, .estimate-card { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 1000;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  color: var(--navy);
  max-width: 850px;
}

.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 24px 0;
  font-size: 13px;
  font-weight: 900;
}

.trust-row span { color: var(--text); }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}

.service-area-pill {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.estimate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.estimate-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
}

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

form {
  display: grid;
  gap: 11px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 82px;
  resize: vertical;
}

form small {
  text-align: center;
  color: var(--green);
  font-weight: 900;
}

.confidence-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 1px;
  padding: 0 7vw;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.confidence-strip div {
  padding: 22px 18px;
  display: grid;
  gap: 4px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.confidence-strip b { color: var(--navy); }
.confidence-strip span { color: var(--muted); font-size: 12px; }

.section {
  padding: 72px 7vw;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.section h2,
.cta h2 {
  color: var(--navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  margin: 0;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.service-grid article,
.review-grid article,
.steps div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(6,27,58,.07);
}

.service-grid span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #f1f5fb;
  font-size: 28px;
}

.service-grid h3,
.steps h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.service-grid p,
.steps p,
.review-grid p,
.site-footer p {
  color: var(--muted);
  line-height: 1.48;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.steps b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(380px, .9fr);
  gap: 32px;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  color: var(--muted);
  line-height: 1.5;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 1000;
}

.image-card {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 22px;
  min-height: 350px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  align-content: end;
}

.team-graphic {
  font-size: 72px;
  font-weight: 1000;
  line-height: .8;
}

.team-graphic span {
  font-size: 16px;
  letter-spacing: .16em;
  color: var(--orange2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 26px;
}

.stats span {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 14px;
}

.stats b { display: block; color: var(--orange2); }

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

.stars {
  color: var(--orange2);
  letter-spacing: .08em;
  font-size: 18px;
}

.review-grid b { display: block; color: var(--navy); }
.review-grid span { color: var(--muted); font-size: 12px; }

.cta {
  margin: 40px 7vw 30px;
  border-radius: 24px;
  padding: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #092f64);
  box-shadow: var(--shadow);
}

.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.76); }
.cta-phone { color: var(--orange2); font-size: 24px; font-weight: 1000; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .7fr .9fr .9fr;
  gap: 28px;
  padding: 44px 7vw;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer h4 {
  color: var(--navy);
  margin: 0 0 12px;
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin: 8px 0;
}

.login-link {
  border: 1px solid var(--navy);
  border-radius: 12px;
  padding: 12px 15px;
  display: inline-flex !important;
  color: var(--navy) !important;
  font-weight: 1000;
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: var(--navy);
  color: rgba(255,255,255,.84);
  padding: 16px 7vw;
  font-size: 13px;
}

.bottom-bar a {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .hero { grid-template-columns: 1fr; }
  .confidence-strip, .service-grid, .steps, .review-grid, .site-footer { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split-section { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header, .hero, .section, .site-footer, .bottom-bar { padding-left: 20px; padding-right: 20px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .phone { display: none; }
  .confidence-strip, .service-grid, .steps, .review-grid, .stats, .site-footer { grid-template-columns: 1fr; }
  .cta { margin-left: 20px; margin-right: 20px; flex-direction: column; align-items: flex-start; }
  .bottom-bar { flex-direction: column; }
}
