:root {
  --navy: #20384f;
  --navy-dark: #172b3e;
  --yellow: #ffcf32;
  --cream: #f7f7f3;
  --text: #24313d;
  --muted: #66717b;
  --line: #e3e7ea;
  --shadow: 0 16px 45px rgba(23, 43, 62, .1);
  --radius: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(var(--max-width), calc(100% - 36px)); margin: 0 auto; }

.topbar { color: #fff; background: var(--navy); font-size: 14px; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 24px; padding: 9px 0; }
.topbar a, .footer a { text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; }
.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 4px solid var(--yellow);
  border-radius: 50%;
}
.brand-mark::before {
  width: 22px;
  height: 15px;
  border-top: 5px solid var(--navy);
  border-left: 5px solid var(--navy);
  content: "";
  transform: rotate(45deg) translate(2px, 2px);
}
.brand-text { line-height: 1.05; }
.brand-text strong { display: block; font-size: 20px; }
.brand-text span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 650; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"]:not(.cta) { color: #a88400; }
.nav .cta { padding: 11px 17px; color: var(--navy); background: var(--yellow); border-radius: 999px; }
.nav-toggle { display: none; }

.hero { overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, #2c4d69 58%, #3b5e79 100%); }
.hero-inner { display: grid; min-height: 590px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.eyebrow { color: #a88400; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { margin: 12px 0 20px; font-size: clamp(42px, 6vw, 70px); line-height: 1.02; letter-spacing: -.04em; }
.hero h1 span { color: var(--yellow); }
.hero p { max-width: 680px; color: #e7eef4; font-size: 19px; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 21px; border: 2px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; }
.btn-primary { color: var(--navy); background: var(--yellow); }
.btn-secondary { color: #fff; border-color: #fff; }
.hero-art {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.02)), repeating-linear-gradient(135deg, transparent 0 34px, rgba(255,255,255,.07) 35px 37px);
  box-shadow: var(--shadow);
}
.hero-art::before {
  position: absolute;
  right: 12%;
  bottom: 24%;
  left: 12%;
  height: 150px;
  border: 9px solid var(--yellow);
  border-bottom-width: 0;
  border-radius: 10px 10px 0 0;
  content: "";
  transform: skewY(-9deg);
}
.hero-art::after { position: absolute; right: 19%; bottom: 17%; width: 90px; height: 90px; border: 7px solid #fff; content: ""; opacity: .9; }

.section { padding: 82px 0; }
.section.alt { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-right: auto; margin-left: auto; text-align: center; }
.section h2 { margin: 8px 0 14px; color: var(--navy); font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; }
.section h3 { color: var(--navy); line-height: 1.2; }
.lead { color: var(--muted); font-size: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 46px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(23, 43, 62, .05); }
.card h3 { margin-top: 0; font-size: 22px; }
.card p { color: var(--muted); }
.card a { color: var(--navy); font-weight: 800; }
.service-icon { display: grid; width: 46px; height: 46px; margin-bottom: 18px; place-items: center; border-radius: 12px; background: #fff4b7; color: var(--navy); }
.service-icon::before { content: "✓"; font-size: 21px; font-weight: 900; }
.feature-list { display: grid; margin: 28px 0 0; padding: 0; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; }
.feature-list li::before { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); content: "✓"; font-weight: 900; }
.image-panel { position: relative; min-height: 390px; overflow: hidden; border-radius: 24px; background: linear-gradient(160deg, #dfe6eb, #aebdca); }
.image-panel::before { position: absolute; right: -5%; bottom: 10%; left: -5%; height: 230px; background: linear-gradient(160deg, #65727d, #2e3942); box-shadow: 0 -20px 30px rgba(0,0,0,.15); content: ""; transform: skewY(-8deg); }
.image-panel::after { position: absolute; bottom: 24px; left: 24px; padding: 10px 14px; border-radius: 9px; background: var(--yellow); color: var(--navy); content: "FLAT ROOFING • GRP • REPAIRS"; font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.band { padding: 38px 0; background: var(--yellow); color: var(--navy); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.band h2 { margin: 0; color: var(--navy); font-size: 30px; }
.band p { margin-bottom: 0; }
.band .btn { background: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(150deg, #dbe2e7 0 42%, #65727d 43% 68%, #303b45 69%); }
.gallery-item:nth-child(2n) { background: linear-gradient(150deg, #eef1f3 0 35%, #7a8790 36% 62%, #38444e 63%); }
.gallery-item span { position: absolute; bottom: 10px; left: 10px; padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.92); font-size: 11px; font-weight: 800; }
.area-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.area { padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { padding: 34px; border-radius: 22px; background: var(--navy); color: #fff; }
.contact-card h2 { color: #fff; }
.contact-card .eyebrow { color: var(--yellow); }
.contact-card a { color: var(--yellow); font-weight: 800; text-decoration: none; }
.form { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 14px; font-weight: 700; }
.form input, .form textarea { width: 100%; margin-top: 7px; padding: 13px; border: 1px solid #cfd7dd; border-radius: 10px; font: inherit; }
.form textarea { min-height: 150px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form-status { min-height: 1.5em; color: var(--navy); }

.footer { padding: 55px 0 24px; background: var(--navy-dark); color: #dbe4eb; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 35px; }
.footer h3 { margin-top: 0; color: #fff; }
.footer a { color: #dbe4eb; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 8px 0; }
.copyright { margin-top: 35px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #aebbc6; font-size: 13px; }
.page-hero { padding: 70px 0; background: var(--navy); color: #fff; }
.page-hero h1 { margin: 0 0 10px; font-size: 52px; line-height: 1.05; }
.page-hero p { margin: 0; color: #dbe5ed; font-size: 18px; }
.content-wrap { max-width: 900px; margin: auto; }
.content-wrap h2 { margin-top: 42px; color: var(--navy); font-size: 32px; }
.content-wrap h3 { margin-top: 30px; color: var(--navy); font-size: 23px; }
.content-wrap li { margin: 7px 0; }

@media (max-width: 900px) {
  .header-inner { position: relative; flex-wrap: wrap; padding: 12px 0; }
  .nav-toggle { display: block; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; }
  .nav { display: none; width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav .cta { padding: 11px 17px; text-align: center; }
  .hero-inner, .grid-2, .contact-box { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 0; }
  .hero-art { min-height: 300px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .topbar-inner { justify-content: center; gap: 12px; font-size: 12px; }
  .brand-text strong { font-size: 17px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero h1 { font-size: 43px; }
  .card-grid, .form-grid, .feature-list, .footer-grid { grid-template-columns: 1fr; }
  .band-inner { display: block; }
  .band .btn { margin-top: 16px; }
  .page-hero h1 { font-size: 42px; }
}
