:root {
  --navy: #153b73;
  --navy-dark: #0e2a53;
  --sky: #67b7f7;
  --sky-light: #e8f4fd;
  --white: #ffffff;
  --surface: #f5f7fa;
  --border: #e1e8ef;
  --text: #303641;
  --muted: #687383;
  --sage: #8faf8a;
  --shadow: 0 18px 50px rgba(21, 59, 115, .10);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--surface); }
.section-navy { background: var(--navy-dark); color: var(--white); }

.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; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--navy); color: white; padding: 10px 14px; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(225,232,239,.9);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { color: var(--navy); font-family: "Playfair Display", serif; font-size: 1.1rem; }
.brand small { color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 600; }
.site-nav a:not(.button) { color: #445061; }
.site-nav a:not(.button):hover { color: var(--navy); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(21,59,115,.18);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--navy-dark); box-shadow: 0 14px 28px rgba(21,59,115,.22); }
.button-small { min-height: 42px; padding: 0 20px; }
.button-full { width: 100%; }

.hero { padding: 24px 0 0; background: linear-gradient(180deg, #f8fbfe 0%, #fff 100%); }
.hero-frame { overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero-frame img { width: 100%; height: auto; }

.trust-bar { padding: 34px 0; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-grid > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
.trust-icon { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--sky-light); color: var(--navy); font-weight: 800; }
.trust-grid strong { color: var(--navy); font-size: .96rem; }
.trust-grid small { color: var(--muted); line-height: 1.35; }

.section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-heading.compact { max-width: 650px; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--sky); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #a9d7fb; }
h1, h2, h3 { margin: 0 0 18px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; line-height: 1.12; }
h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; }
.section-heading p, .lead { color: var(--muted); font-size: 1.08rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 35px rgba(21,59,115,.07); }
.service-card { padding: 34px; }
.service-card.featured { border: 2px solid var(--sky); transform: translateY(-8px); }
.card-label { position: absolute; top: 18px; right: 18px; padding: 6px 10px; border-radius: 999px; color: var(--navy); background: var(--sky-light); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card-icon { width: 54px; height: 54px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 16px; color: var(--navy); background: var(--sky-light); font-size: 1.5rem; }
.service-card p { color: var(--muted); }
.service-card ul { margin: 24px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding: 8px 0 8px 25px; border-top: 1px solid var(--border); }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800; }

.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 8px 28px rgba(21,59,115,.06); }
.steps li > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--navy); font-weight: 800; font-size: 1.1rem; }
.steps strong { color: var(--navy); font-size: 1.08rem; }
.steps p { margin: 4px 0 0; color: var(--muted); }

.review-card { padding: 32px; }
.stars { color: #e5a933; letter-spacing: .12em; margin-bottom: 18px; }
.review-card p { font-family: "Playfair Display", serif; font-size: 1.18rem; color: #394556; }
.review-card footer { color: var(--muted); font-weight: 600; }

.area-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.section-navy h2 { color: white; }
.section-navy p { color: #cfdae6; }
.area-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.area-pills span { padding: 11px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 600; }

.quote-section { background: linear-gradient(145deg, #fff 0%, #f3f8fc 100%); }
.quote-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.quote-form { padding: 34px; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; margin-bottom: 16px; color: #425065; font-size: .88rem; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #ccd7e3; border-radius: 12px; background: #fff; color: var(--text); padding: 13px 14px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(103,183,247,.18); }
textarea { resize: vertical; }
.form-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: .78rem; }

.site-footer { padding: 62px 0 24px; color: #dbe5f0; background: #0b2448; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid strong { color: white; }
.footer-grid a { color: #bdcadd; font-size: .92rem; }
.footer-grid a:hover { color: white; }
.footer-brand { display: flex !important; flex-direction: row !important; align-items: center; gap: 14px !important; }
.footer-brand img { width: 68px; height: 68px; object-fit: cover; border-radius: 50%; }
.footer-brand div { display: grid; }
.footer-brand small { color: #aab9cb; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #91a5bb; font-size: .84rem; }

@media (max-width: 960px) {
  .site-nav { position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; background: white; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .nav-toggle { display: block; }
  .trust-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout, .area-layout, .quote-layout { grid-template-columns: 1fr; gap: 42px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .brand span { display: none; }
  .brand img { width: 52px; height: 52px; }
  .header-inner { min-height: 70px; }
  .site-nav { top: 70px; left: 14px; right: 14px; }
  .hero { padding-top: 14px; }
  .hero-frame { border-radius: 16px; overflow-x: auto; }
  .hero-frame img { width: 1120px; max-width: none; height: 520px; object-fit: cover; object-position: center; }
  .trust-grid, .card-grid, .field-row { grid-template-columns: 1fr; }
  .service-card.featured { transform: none; }
  .trust-grid { gap: 20px; }
  .quote-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
