:root {
  --navy: #082a4b;
  --navy-2: #0d3f70;
  --blue: #0659c8;
  --gold: #e5aa12;
  --gold-2: #f2bd20;
  --white: #fff;
  --ink: #10213a;
  --muted: #647184;
  --line: #dfe5eb;
  --light: #f6f8fb;
  --shadow: 0 24px 60px rgba(5, 31, 57, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: white;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 9999; background: white; padding: 10px; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8,42,75,.08);
}
.nav { min-height: 88px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 78px; height: 78px; object-fit: contain; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 34px; }
.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: #17233a;
  padding: 31px 0 27px;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 18px;
  background: var(--blue);
  border-radius: 5px;
}
.nav-actions { display: flex; gap: 12px; margin-left: 12px; }
.phone-button, .estimate-button {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.phone-button { background: var(--navy); color: white; }
.estimate-button { background: var(--gold); color: #18223a; }
.menu-button { display: none; background: none; border: 0; padding: 8px; }
.menu-button span { display: block; width: 27px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 10px; }

.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(120deg, #071c30 0%, #0a365d 56%, #3b7fc0 100%);
}
.hero-art, .hero-shade { position: absolute; inset: 0; }
.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3,19,33,.93) 0%, rgba(3,22,38,.76) 49%, rgba(4,30,51,.18) 74%, rgba(4,26,44,.08) 100%),
    linear-gradient(0deg, rgba(0,0,0,.35), transparent 55%);
}
.sky-glow {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -80px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.75), rgba(132,188,235,.12) 57%, transparent 72%);
}
.roof {
  position: absolute;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 2px, transparent 2px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 2px, transparent 2px 42px),
    #13202b;
  box-shadow: inset 0 18px 45px rgba(255,255,255,.06), 0 -12px 35px rgba(0,0,0,.3);
}
.roof-back {
  width: 850px;
  height: 480px;
  right: 180px;
  bottom: -160px;
  transform: skewY(-19deg) rotate(-2deg);
}
.roof-front {
  width: 840px;
  height: 520px;
  right: -90px;
  bottom: -180px;
  transform: skewY(20deg) rotate(1deg);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, transparent 2px 25px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 2px, transparent 2px 44px),
    #1c2d3a;
}
.roof-window {
  position: absolute;
  width: 240px;
  height: 270px;
  right: 250px;
  top: 170px;
  background: #b5aa96;
  clip-path: polygon(50% 0, 100% 43%, 100% 100%, 0 100%, 0 43%);
  opacity: .8;
}
.roof-window::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 106px;
  left: 83px;
  top: 94px;
  border: 8px solid #31495d;
  background:
    linear-gradient(90deg, transparent 45%, #31495d 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, #31495d 45% 55%, transparent 55%),
    #78a4c6;
}
.hero-grid {
  position: relative;
  z-index: 3;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.25fr .78fr;
  align-items: center;
  gap: 78px;
  padding-block: 72px;
}
.kicker, .section-kicker {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 14px;
}
.hero h1 {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.hero h1 span { color: var(--gold-2); }
.hero-lead { max-width: 700px; margin: 24px 0 28px; font-size: 19px; color: rgba(255,255,255,.88); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  border: 0;
  min-height: 52px;
  padding: 13px 23px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.button-blue { background: var(--blue); color: white; }
.button-outline { border: 1px solid rgba(255,255,255,.65); color: white; background: rgba(0,0,0,.14); }
.button-gold { background: linear-gradient(90deg, var(--gold), var(--gold-2)); color: #1e2b3c; }
.full { width: 100%; }
.trust-row { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 760px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-icon {
  width: 44px; height: 44px; border: 2px solid var(--gold-2); color: var(--gold-2);
  display: grid; place-items: center; border-radius: 11px; font-weight: 900; flex: 0 0 auto;
}
.trust-item div:last-child { display: flex; flex-direction: column; }
.trust-item strong { font-size: 14px; text-transform: uppercase; }
.trust-item span { color: rgba(255,255,255,.72); font-size: 13px; }

.lead-card {
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border-radius: 22px;
  padding: 26px 28px 24px;
  box-shadow: 0 28px 70px rgba(0,0,0,.27);
}
.lead-card > img { width: 105px; height: 105px; object-fit: contain; margin: 0 auto 10px; }
.lead-card h2 { margin: 5px 0 8px; text-align: center; font-family: Montserrat, sans-serif; font-size: 24px; line-height: 1.2; }
.lead-card > p { margin: 0 auto 18px; text-align: center; color: var(--muted); font-size: 14px; max-width: 340px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-card label { display: block; margin-bottom: 10px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d5dce4;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(229,170,18,.24); border-color: var(--gold); }
.card-phone { display: block; text-align: center; margin-top: 12px; font-weight: 800; color: var(--navy); }
.lead-card small { display: block; margin-top: 9px; color: #8993a0; text-align: center; font-size: 11px; }

.service-bar { background: var(--navy); color: white; }
.service-bar-grid { min-height: 110px; display: grid; grid-template-columns: repeat(4, 1fr); }
.service-bar-item {
  display: flex; align-items: center; gap: 16px; padding: 22px 30px;
  border-right: 1px solid rgba(255,255,255,.25);
}
.service-bar-item:last-child { border-right: 0; }
.mini-icon { font-size: 32px; color: white; }
.service-bar-item div:last-child { display: flex; flex-direction: column; }
.service-bar-item strong { font-size: 14px; text-transform: uppercase; }
.service-bar-item span { font-size: 13px; color: rgba(255,255,255,.72); }

.section { padding: 95px 0; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.section-top h2, .about-copy h2, .contact h2 {
  margin: 0; font-family: Montserrat, sans-serif; color: var(--navy);
  font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -.03em;
}
.section-top > p { max-width: 520px; margin: 0; color: var(--muted); }
.section-kicker { color: #c18400; }
.centered { text-align: center; display: block; }
.centered > p { margin: 14px auto 0; }

.service-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; box-shadow: 0 13px 30px rgba(8,42,75,.08); }
.card-image { height: 190px; position: relative; overflow: hidden; background: linear-gradient(#6eb0e0 0 42%, #e6e0d1 42%); }
.card-image::before, .card-image::after { content: ""; position: absolute; background: #263746; }
.roof-card::before { width: 310px; height: 160px; left: -20px; bottom: -50px; transform: skewY(-20deg); }
.roof-card::after { width: 230px; height: 160px; right: -50px; bottom: -65px; transform: skewY(25deg); }
.repair-card::before { width: 280px; height: 180px; left: 5px; bottom: -62px; transform: skewY(-16deg); }
.repair-card::after { width: 42px; height: 78px; right: 75px; top: 62px; border-radius: 20px 20px 4px 4px; background: #1c2630; transform: rotate(20deg); }
.inspection-card::before { width: 320px; height: 90px; left: -20px; bottom: 8px; transform: skewY(-10deg); background: #f2eee4; border-top: 10px solid #65727b; }
.inspection-card::after { width: 40px; height: 115px; right: 22px; bottom: 0; background: #ddd5c4; }
.construction-card { background: linear-gradient(#dbb577 0 15%, #e2bb80 15% 100%); }
.construction-card::before { width: 14px; height: 190px; left: 55px; bottom: 0; box-shadow: 75px 0 #263746, 150px 0 #263746; background: #263746; }
.construction-card::after { width: 300px; height: 14px; left: 0; top: 65px; box-shadow: 0 62px #263746; }
.card-body { padding: 24px; }
.card-body h3 { margin: 0 0 9px; font-family: Montserrat, sans-serif; color: var(--navy); font-size: 20px; }
.card-body p { color: var(--muted); font-size: 14px; min-height: 68px; }
.card-body a { text-decoration: none; color: var(--blue); font-weight: 800; font-size: 14px; }

.about { background: var(--navy); color: white; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.about-panel {
  min-height: 470px; border-radius: 22px; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 24px),
    radial-gradient(circle at 50% 34%, rgba(89,152,207,.36), transparent 45%),
    #0d3e69;
}
.navy-seal {
  width: 235px; height: 235px; border: 2px solid rgba(255,255,255,.35); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(5,28,49,.72); box-shadow: 0 24px 45px rgba(0,0,0,.23);
}
.navy-seal span { font-size: 56px; }
.navy-seal strong { font-family: Montserrat, sans-serif; font-size: 23px; }
.navy-seal small { color: var(--gold-2); }
.light-kicker { color: var(--gold-2); }
.about-copy h2 { color: white; }
.about-copy p { color: rgba(255,255,255,.78); font-size: 17px; }
.about-copy p strong { color: white; }
.about-points { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-points div { padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; display: flex; flex-direction: column; }
.about-points strong { color: var(--gold-2); font-family: Montserrat, sans-serif; }
.about-points span { font-size: 13px; color: rgba(255,255,255,.7); }

.projects { background: white; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-placeholder {
  aspect-ratio: 4/3; border-radius: 14px; padding: 25px; display: flex; flex-direction: column; justify-content: end;
  color: white; position: relative; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(3,21,37,.9), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 2px, transparent 2px 24px),
    linear-gradient(135deg, #153e60, #4b8fc2);
}
.project-placeholder::before { content: ""; position: absolute; width: 115%; height: 63%; left: -8%; bottom: -28%; background: #1f2f3c; transform: skewY(-15deg); }
.project-placeholder span, .project-placeholder small { position: relative; z-index: 2; }
.project-placeholder span { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 20px; }
.project-placeholder small { color: rgba(255,255,255,.72); }

.reviews { background: var(--light); }
.reviews-placeholder {
  max-width: 760px; margin: 0 auto; padding: 43px; text-align: center; background: white;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.stars { color: var(--gold); letter-spacing: 6px; font-size: 28px; }
.reviews-placeholder h3 { font-family: Montserrat, sans-serif; color: var(--navy); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-grid > div > p { color: var(--muted); }
.contact-list { display: grid; gap: 12px; margin-top: 30px; }
.contact-list a, .contact-list div {
  text-decoration: none; background: var(--light); border-left: 4px solid var(--gold);
  padding: 15px 18px; display: flex; flex-direction: column;
}
.contact-list span { color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.contact-list strong { color: var(--navy); }
.contact-form { border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 7px; margin-bottom: 15px; font-size: 14px; font-weight: 800; color: var(--navy); }
.contact-form small { display: block; margin-top: 10px; color: var(--muted); text-align: center; }

footer { background: #061c30; color: white; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr 1fr; gap: 35px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 76px; height: 76px; object-fit: contain; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand strong { font-family: Montserrat, sans-serif; }
.footer-brand span, .footer-links a, .footer-contact a { color: rgba(255,255,255,.64); }
.footer-links, .footer-contact { display: grid; align-content: start; gap: 9px; }
.footer-links a, .footer-contact a { text-decoration: none; }
.copyright { margin-top: 37px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; color: rgba(255,255,255,.43); font-size: 13px; }
.mobile-bar { display: none; }

@media (max-width: 1050px) {
  .nav-links, .nav-actions { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .nav-links.open {
    display: flex; position: absolute; top: 78px; left: 20px; right: 20px; flex-direction: column;
    background: white; padding: 18px; border-radius: 12px; box-shadow: var(--shadow); gap: 0;
  }
  .nav-links.open a { padding: 12px; width: 100%; }
  .nav-links a.active::after { display: none; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .lead-card { max-width: 590px; }
  .trust-row { max-width: 100%; }
  .service-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .service-bar-item:nth-child(2) { border-right: 0; }
  .service-bar-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { padding-bottom: 62px; }
  .container { width: min(100% - 28px, 1220px); }
  .header .nav { min-height: 76px; }
  .brand img { width: 66px; height: 66px; }
  .hero-grid { min-height: auto; padding-block: 58px; }
  .hero h1 { font-size: 47px; }
  .hero-lead { font-size: 17px; }
  .hero-buttons { display: grid; }
  .trust-row { grid-template-columns: 1fr; gap: 15px; }
  .lead-card { padding: 22px; }
  .two-col { grid-template-columns: 1fr; }
  .service-bar-grid { grid-template-columns: 1fr; }
  .service-bar-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .section { padding: 72px 0; }
  .section-top { display: block; }
  .section-top > p { margin-top: 15px; }
  .service-cards, .project-grid { grid-template-columns: 1fr; }
  .about-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { display: grid; gap: 5px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 1100;
    left: 0; right: 0; bottom: 0; background: white; border-top: 1px solid var(--line);
  }
  .mobile-bar a { padding: 14px; text-align: center; text-decoration: none; font-weight: 800; color: var(--navy); }
  .mobile-bar a:last-child { background: var(--gold); color: #192638; }
}
