:root {
  --navy: #071b34;
  --navy-2: #0d2948;
  --slate: #475569;
  --copper: #c56a2b;
  --ink: #162033;
  --line: #d9e0e8;
  --soft: #f4f7fa;
  --warm: #f8f5f0;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { overflow-wrap: anywhere; margin-top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(217, 224, 232, 0.9);
  background: rgba(255, 255, 255, 0.94);
  padding: 14px clamp(18px, 5vw, 64px);
  backdrop-filter: blur(10px);
}

.brand-lockup { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.brand-lockup img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; }
.brand-lockup strong, .brand-lockup small { display: block; }
.brand-lockup small { color: var(--slate); font-size: 0.78rem; }
nav { display: flex; align-items: center; gap: 18px; color: var(--slate); font-weight: 800; }
.portal-link { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--navy); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  min-height: 82vh;
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 88px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #0a203b 58%, #102f51);
  color: var(--white);
}

.blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.hero-copy, .hero-panel { position: relative; }
.eyebrow { margin-bottom: 10px; color: var(--copper); font-size: 0.78rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
h1 { max-width: 940px; margin-bottom: 18px; font-size: clamp(3.2rem, 8vw, 7.4rem); line-height: 0.92; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5.6rem); }
h2 { margin-bottom: 14px; color: var(--navy); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.04; }
h3 { margin-bottom: 8px; color: var(--navy); }
.hero p, .page-hero p { max-width: 760px; color: #e5edf5; font-size: 1.16rem; }
.page-hero p { color: var(--slate); }
.direct-contact { margin-top: 18px; color: #d6e0ea; font-weight: 900; }
.direct-contact a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(197,106,43,.8); text-underline-offset: 4px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 12px 17px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.primary, button { background: var(--copper); color: var(--white); }
.secondary { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.page-main .secondary { border-color: var(--line); color: var(--navy); }

.hero-panel {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  padding: 24px;
}
.hero-panel h2 { color: var(--white); font-size: 1.4rem; }
.hero-panel li { margin-bottom: 10px; color: #e5edf5; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.trust-strip span { padding: 18px; border-right: 1px solid var(--line); background: var(--warm); color: var(--navy); font-weight: 900; text-align: center; }
.section, .page-hero { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 64px); }
.page-hero { padding-bottom: 20px; }
.two-column, .example-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.cards, .service-grid, .steps, .pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-grid, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
article, .quote-panel, form, aside, figure { border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 22px; box-shadow: 0 18px 40px rgba(7,27,52,.07); }
article p, .section p, li, figcaption, aside p { color: var(--slate); }
.pricing-section { background: var(--warm); max-width: none; }
.pricing-section > div { max-width: 1180px; margin-inline: auto; }
.pricing-grid article { min-height: 310px; }
.pricing-grid article.featured { border: 3px solid var(--navy); }
.pricing-grid strong { display: block; margin-bottom: 16px; color: var(--navy); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.band { max-width: none; background: var(--soft); }
.band > div { max-width: 1180px; margin-inline: auto; }
.steps strong { color: var(--copper); font-size: 1.7rem; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { margin-bottom: 10px; border-left: 4px solid var(--copper); background: var(--soft); padding: 12px 14px; }
figure { margin: 0; }
figure img { border-radius: 8px; border: 1px solid var(--line); }
figcaption { margin-top: 10px; font-size: 0.92rem; }
.quote-panel { background: var(--navy); color: var(--white); }
.quote-panel p { color: var(--white); font-size: 1.5rem; font-weight: 900; }
.quote-panel span { color: #d6e0ea; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--navy); font-weight: 900; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font: inherit; }
textarea { min-height: 120px; resize: vertical; }
.small-note { font-size: 0.9rem; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 28px clamp(18px, 5vw, 64px); background: var(--navy); color: var(--white); font-weight: 900; }
.site-footer a { color: var(--white); }
.portal-page { display: grid; gap: 18px; max-width: 520px; min-height: 100vh; align-content: center; margin: 0 auto; padding: 24px; }
.portal-page img { width: 80px; }
.portal-page h1 { font-size: 3rem; }

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  .hero, .two-column, .example-layout, .contact-layout, .trust-strip, .cards, .service-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.8rem); }
  .actions, .button, button { width: 100%; }
}
