:root {
  --navy: #082b4c;
  --blue: #0b5f95;
  --sky: #e9f4fa;
  --teal: #1da6a8;
  --ink: #17212b;
  --muted: #5b6875;
  --line: #dce5eb;
  --white: #ffffff;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }

.topbar { background: var(--navy); color: #dfeef7; font-size: .88rem; }
.topbar-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar-inner { min-height: 38px; }
.topbar-links { display: flex; gap: 26px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }

.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font: 700 1.5rem Georgia, serif; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { font-size: 1.03rem; }
.brand small { color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--navy); }
.nav-links a:hover { color: var(--blue); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; font-weight: 800; color: var(--navy); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] > div { position: absolute; right: 0; top: 38px; z-index: 20; width: 190px; padding: 8px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 35px rgba(8,43,76,.16); }
.mobile-nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--navy); font-weight: 700; }

.hero { background: linear-gradient(135deg, #eff8fc 0%, #fff 58%, #e7f2f7 100%); border-top: 1px solid var(--line); overflow: hidden; }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; }
.hero-copy { padding: 86px 54px 74px 0; align-self: center; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); font-size: .78rem; font-weight: 800; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin-top: 0; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.65rem, 4.4vw, 4.15rem); letter-spacing: -.035em; margin-bottom: 24px; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 3.2vw, 3.1rem); letter-spacing: -.025em; margin-bottom: 22px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
.lead { max-width: 660px; color: #394957; font-size: 1.18rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 25px; }
.button { display: inline-block; padding: 13px 20px; border-radius: 4px; text-decoration: none; font-weight: 800; }
.button.primary { background: var(--navy); color: var(--white); }
.button.primary:hover { background: var(--blue); }
.button.secondary { border: 1px solid #aabdc9; color: var(--navy); background: rgba(255,255,255,.6); }
.trust-line { font-size: .95rem; color: var(--muted); }
.hero-photo {
  min-height: 500px;
  background-image: linear-gradient(to right, rgba(8,43,76,.02), rgba(8,43,76,.12)), url('john-dana.jpg');
  background-size: cover;
  background-position: center 44%;
  background-repeat: no-repeat;
  background-color: #d7e3e9;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.section { padding: 88px 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.card { border: 1px solid var(--line); border-top: 4px solid #b7c9d4; padding: 28px 24px; min-height: 300px; display: flex; flex-direction: column; background: white; }
.card.featured { border-top-color: var(--teal); box-shadow: 0 18px 40px rgba(11,57,87,.09); }
.card .number { color: var(--teal); font-weight: 800; font-size: .8rem; letter-spacing: .1em; }
.card h3 { margin-top: 24px; }
.card p { color: var(--muted); }
.card a { margin-top: auto; color: var(--blue); font-weight: 800; text-decoration: none; }

.about { background: var(--navy); color: #dfeaf1; }
.about-grid { display: grid; grid-template-columns: .85fr .55fr 1fr; gap: 48px; align-items: center; }
.about h2 { color: white; }
.about p { margin-top: 0; }
.eyebrow.light { color: #65d7d8; }
.about-photo { width: 100%; max-width: 250px; border-radius: 3px; box-shadow: 0 22px 45px rgba(0,0,0,.28); }

.contact { background: var(--sky); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; background: white; border: 1px solid var(--line); }
.contact-card a { padding: 22px; min-height: 110px; text-decoration: none; border: 1px solid var(--line); }
.contact-card strong, .contact-card span { display: block; }
.contact-card strong { color: var(--navy); }
.contact-card span { color: var(--muted); font-size: .9rem; margin-top: 5px; }
.contact-card a:hover { background: #f8fbfd; }

.disclaimer { padding: 34px 0; background: #f4f6f7; border-top: 1px solid var(--line); font-size: .84rem; color: #4f5b65; }
.disclaimer strong { color: var(--ink); }
.disclaimer p { margin-bottom: 0; }
footer { background: #061f36; color: #cbd9e3; padding: 24px 0; font-size: .88rem; }
footer a { color: white; }
.footer-links { display: flex; gap: 22px; }

.page-hero { padding: 72px 0 62px; background: linear-gradient(135deg, #eef8fc, #fff); border-top: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 16px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: start; }
.content h2 { margin-top: 46px; font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 28px; }
.content p, .content li { color: #3f4e5a; }
.content ul { padding-left: 22px; }
.side-card { position: sticky; top: 24px; border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: 26px; background: #f8fbfd; }
.side-card h3 { margin-top: 0; }
.side-card .button { display: block; margin-top: 12px; text-align: center; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.option { border: 1px solid var(--line); padding: 24px; background: white; }
.option h3 { margin-top: 0; }
.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.company { padding: 18px; border: 1px solid var(--line); background: white; color: var(--navy); font-weight: 800; text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 12px; border: 1px solid #aebec9; border-radius: 3px; background: white; color: var(--ink); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(29,166,168,.18); border-color: var(--teal); }
.notice { padding: 16px 18px; border-left: 4px solid var(--teal); background: var(--sky); color: #334652; }
.success { padding: 18px; background: #e9f7ef; border-left: 4px solid #218a4d; }
.error { padding: 18px; background: #fff0f0; border-left: 4px solid #b73434; }
.legal h2 { font-size: 1.55rem; margin-top: 34px; }
.legal h3 { font-size: 1.1rem; margin-top: 24px; }
.quote-wrap { padding: 26px; border: 1px solid var(--line); background: white; box-shadow: 0 18px 45px rgba(8,43,76,.08); }
.quote-frame { display: block; width: 100%; min-height: 1120px; border: 0; background: white; }
.quote-fallback { margin-top: 16px; color: var(--muted); font-size: .92rem; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .company-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-copy { padding: 64px 0 34px; }
  .hero-photo { clip-path: none; min-height: 420px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { gap: 34px; }
  .about-photo { max-width: 290px; }
}

@media (max-width: 650px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .topbar-inner { padding: 9px 0; }
  .topbar-inner > span { display: none; }
  .topbar-links { width: 100%; justify-content: space-between; gap: 10px; font-size: .78rem; }
  .nav { min-height: 78px; }
  .nav-links { display: none; }
  .mobile-nav { display: block; }
  .brand strong { font-size: .93rem; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding-top: 50px; }
  .hero-photo { min-height: 310px; }
  .section { padding: 62px 0; }
  .service-grid, .contact-card { grid-template-columns: 1fr; }
  .option-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .company-grid { grid-template-columns: 1fr 1fr; }
  .quote-wrap { padding: 8px; }
  .quote-frame { min-height: 1280px; }
  .card { min-height: 250px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }
}
