:root {
  --blue: #0f5da8;
  --blue-deep: #073763;
  --yellow: #f4cf21;
  --green: #69b52e;
  --ink: #17202a;
  --muted: #64707c;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --line: #d9e1e7;
  --shadow: 0 18px 48px rgba(7, 55, 99, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(7,55,99,.09);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--blue); }
.menu-button { display: none; }

.hero {
  background:
    linear-gradient(118deg, rgba(7,55,99,.97) 0%, rgba(15,93,168,.93) 62%, rgba(15,93,168,.86) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -170px;
  bottom: -220px;
  background: var(--yellow);
  opacity: .95;
}
.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 64px;
  padding-block: 70px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  margin: 0 0 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--blue);
}
.hero .eyebrow { color: var(--yellow); }
h1, h2, h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  line-height: .98;
  margin-top: 0;
}
h1 { font-size: clamp(4.1rem, 9vw, 7.4rem); letter-spacing: -.02em; margin-bottom: 22px; }
h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); margin-bottom: 22px; }
h3 { font-size: 1.85rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.45rem); max-width: 650px; color: rgba(255,255,255,.92); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
}
.button.primary { background: var(--yellow); color: #111; }
.button.primary:hover { filter: brightness(.96); }
.button.secondary { border-color: rgba(255,255,255,.8); color: white; background: transparent; }
.button.small { min-height: 42px; padding-inline: 18px; }
.compact-header .button.secondary { color: var(--blue-deep); border-color: var(--blue-deep); }
.hero-logo-card { background: white; padding: 16px; border-radius: 30px; box-shadow: 0 30px 80px rgba(0,0,0,.22); transform: rotate(1deg); }
.hero-logo-card img { border-radius: 20px; }

.section { padding: 94px 0; }
.section-heading { max-width: 700px; margin-bottom: 36px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  min-height: 230px;
  border-radius: var(--radius);
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:nth-child(2) { background: var(--blue-deep); color: white; border-color: var(--blue-deep); }
.service-number { font-family: "Barlow Condensed", sans-serif; font-weight: 800; color: var(--blue); font-size: 1.2rem; }
.service-card:nth-child(2) .service-number { color: var(--yellow); }
.service-card h3 { font-size: clamp(2rem, 4vw, 3.3rem); margin: 0; max-width: 420px; }
.service-area { margin: 20px 0 0; font-weight: 800; color: var(--blue-deep); }

.quote-section { background: #edf4f8; }
.quote-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; align-items: start; }
.quote-grid > div:first-child { position: sticky; top: 112px; }
.quote-tip { margin-top: 28px; padding: 20px; border-left: 5px solid var(--yellow); background: white; border-radius: 0 14px 14px 0; }
.quote-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label, legend { font-weight: 700; font-size: .95rem; }
label { display: block; margin-bottom: 18px; }
input, select, textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #bdc9d2;
  border-radius: 12px;
  background: white;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(15,93,168,.16); border-color: var(--blue); }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 8px 0 20px; }
legend { margin-bottom: 4px; }
.field-help, .file-status, .form-note { font-size: .84rem; color: var(--muted); }
.file-input {
  margin: 12px 0 8px;
  border: 2px dashed #aebdca;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background: var(--soft);
}
.file-input input { border: 0; padding: 8px 0 0; margin-top: 6px; background: transparent; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 500; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; }
.consent a { color: var(--blue); }
.submit { width: 100%; border: 0; min-height: 56px; }
.hidden-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.contact-section { background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; }
.contact-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  justify-content: space-between;
  background: white;
}
.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-label { color: var(--muted); font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.contact-card strong { font-size: 1.18rem; overflow-wrap: anywhere; }
.contact-card > span:last-child { color: var(--blue); font-weight: 800; }
.details-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; margin-top: 20px; }
.detail-card { background: var(--soft); border-radius: 20px; padding: 26px; }
.detail-card h3 { margin-bottom: 16px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

.site-footer { background: #071f33; color: white; padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.site-footer p { margin: 4px 0 0; color: rgba(255,255,255,.72); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: white; }

.legal-page { padding: 70px 0 100px; }
.legal-wrap { max-width: 800px; }
.legal-wrap h1 { color: var(--blue-deep); font-size: clamp(3.6rem, 8vw, 6rem); }
.legal-wrap h2 { font-size: 2rem; margin-top: 42px; margin-bottom: 10px; }
.legal-wrap a { color: var(--blue); }

@media (max-width: 860px) {
  .menu-button {
    display: inline-flex;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 12px;
    font-weight: 700;
  }
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 36px; padding-block: 54px; }
  .hero-logo-card { max-width: 470px; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-grid > div:first-child { position: static; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 26px, 1120px); }
  .section { padding: 68px 0; }
  .brand img { width: 56px; height: 56px; }
  .header-inner { min-height: 70px; }
  .nav { top: 70px; left: 13px; right: 13px; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.4rem); }
  h2 { font-size: clamp(2.6rem, 13vw, 3.7rem); }
  .hero::after { width: 260px; height: 260px; right: -130px; bottom: -150px; }
  .hero-actions .button { width: 100%; }
  .services-grid, .form-grid, .contact-grid, .details-grid { grid-template-columns: 1fr; }
  .contact-card:last-child { grid-column: auto; }
  .quote-form { padding: 22px 18px; border-radius: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
