:root {
  --navy: #0b2545;
  --navy-deep: #07192d;
  --blue: #174f78;
  --orange: #ed7a1a;
  --orange-dark: #c95b08;
  --gold: #f4b83f;
  --ink: #102238;
  --slate: #5d6b75;
  --muted: #eef2f5;
  --cream: #f5efe6;
  --white: #fff;
  --line: #d8dedf;
  --success: #1c6b57;
  --shadow: 0 18px 45px rgba(7, 25, 45, .12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: #145985; text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 {
  margin: 0 0 .65em;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 6vw, 5.15rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4.1vw, 3.45rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1.15rem; }
ul, ol { margin: 0 0 1.2rem; padding-left: 1.2rem; }
li + li { margin-top: .45rem; }
small { color: var(--slate); }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(790px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: 45px 0; }
.section-muted { background: var(--muted); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--navy-deep); color: #dbe7ef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.button) { color: #80c5e9; }
.center { text-align: center; }
.eyebrow {
  margin-bottom: .75rem;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-dark .eyebrow, .hero .eyebrow { color: #ffd16a; }
.lede { color: var(--slate); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; }
.section-dark .lede, .hero .lede { color: #e7eef3; }
.measure { max-width: 720px; }

.alert-bar {
  padding: 10px 20px;
  background: linear-gradient(90deg, #f0a32e, #ffd36d);
  color: #2b240f;
  text-align: center;
  font-size: .94rem;
}
.alert-bar strong { font-weight: 900; }
.alert-bar a { color: #20202a; font-weight: 850; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .82rem 1.28rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--orange);
  color: #fff !important;
  font: inherit;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--orange-dark); border-color: var(--orange-dark); box-shadow: 0 10px 25px rgba(201,91,8,.23); }
.button-secondary { background: #fff; border-color: #2f6c74; color: #245a61 !important; }
.button-secondary:hover { background: #f2f8f8; border-color: #245a61; color: #163f44 !important; }
.button-light { background: #fff; border-color: #fff; color: var(--navy) !important; }
.button-light:hover { background: #f6f7f8; border-color: #f6f7f8; }
.button-navy { background: var(--navy); border-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.65rem; }
.text-link { font-weight: 850; }

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,25,45,.96) 0%, rgba(7,25,45,.86) 46%, rgba(7,25,45,.28) 78%),
    url('/assets/hero-home.webp') center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.hero-content { position: relative; z-index: 1; max-width: 730px; padding: 88px 0 94px; }
.hero h1 { color: #fff; }
.hero-note { margin-top: 1.2rem; color: #c9d7e1; font-size: .95rem; }
.hero .button-secondary { background: rgba(255,255,255,.96); }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 23px 18px; border-right: 1px solid var(--line); text-align: center; font-weight: 800; font-size: .9rem; }
.trust-item:last-child { border-right: 0; }
.trust-check { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 7px; border-radius: 50%; background: #e9f4f7; color: #14607c; font-weight: 900; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(35px, 6vw, 74px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.cards { margin-top: 34px; }
.card {
  position: relative;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(7,25,45,.06);
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: " →"; color: var(--orange-dark); }
.card-kicker { margin-bottom: .6rem; color: var(--orange-dark); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.icon-box { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: #eaf2f6; color: var(--navy); font-size: 1.45rem; font-weight: 900; }
.decision-card { border-top: 6px solid var(--blue); }
.decision-card.replacement { border-top-color: var(--orange); }
.decision-card.inspection { border-top-color: var(--success); }

.reason-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 40px; margin-top: 32px; }
.reason { padding: 24px 0; border-top: 1px solid var(--line); }
.reason h3 { display: flex; gap: 12px; align-items: flex-start; margin-bottom: .35rem; font-size: 1.25rem; }
.number-dot { flex: 0 0 auto; display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--navy); color: #fff; font-family: Inter, sans-serif; font-size: .8rem; }

.system-figure { margin: 0; padding: 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.system-figure img { display: block; width: 100%; border-radius: 12px; }
.system-figure figcaption { padding: 13px 8px 2px; color: var(--slate); font-size: .86rem; }
.layer-list { display: grid; gap: 10px; margin-top: 25px; }
.layer { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.layer b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--orange); color: #fff; font-size: .8rem; }
.layer strong { display: block; color: #fff; }
.layer span { color: #c7d5df; font-size: .94rem; }

.process-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; margin-top: 34px; counter-reset: process; }
.process-step { position: relative; padding: 23px 19px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; counter-increment: process; }
.process-step::before { content: counter(process); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 15px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; }
.process-step h3 { font-size: 1.1rem; }
.process-step p { margin: 0; color: var(--slate); font-size: .9rem; }

.price-card { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.price-card.featured { border: 3px solid var(--orange); transform: translateY(-8px); box-shadow: var(--shadow); }
.price-tag { display: block; margin: 10px 0 2px; color: var(--navy); font-size: 1.9rem; font-weight: 900; line-height: 1.1; }
.price-unit { color: var(--slate); font-size: .84rem; }
.price-card ul { margin-top: 19px; }
.price-note { margin-top: 26px; padding: 18px 22px; border-left: 5px solid var(--gold); background: #fff8e8; }

.comparison { width: 100%; border-collapse: collapse; margin-top: 25px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.comparison th, .comparison td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { background: var(--navy); color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.comparison tr:last-child td { border-bottom: 0; }
.comparison tr:nth-child(even) td { background: #f7f9fa; }

.quote-panel { padding: clamp(30px, 5vw, 55px); border-radius: 24px; background: var(--navy); color: #e7eef3; box-shadow: var(--shadow); }
.quote-panel h2, .quote-panel h3 { color: #fff; }
.quote-panel .eyebrow { color: #ffd16a; }
.quote-panel blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.35; }
.quote-panel cite { display: block; margin-top: 18px; color: #b9cad6; font: normal .9rem Inter, sans-serif; }

.area-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px 18px; padding: 0; list-style: none; }
.area-list li { margin: 0; padding: 9px 12px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: .92rem; }

.start-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-top: 30px; }
.start-card { display: block; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; }
.start-card.primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.start-card h3 { color: inherit; font: 850 1.03rem/1.2 Inter, sans-serif; }
.start-card p { margin: 0; color: inherit; font-size: .9rem; opacity: .83; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 42px 20px 0; cursor: pointer; color: var(--navy); font-weight: 850; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; margin-right: -34px; color: var(--orange-dark); font-size: 1.35rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--slate); }

.page-hero { padding: 72px 0 60px; background: linear-gradient(135deg, var(--navy-deep), #174f78); color: #e7eef3; }
.page-hero h1 { max-width: 900px; color: #fff; font-size: clamp(2.55rem, 5.3vw, 4.65rem); }
.page-hero .lede { max-width: 800px; }
.breadcrumbs { margin-bottom: 22px; color: #bcd0dc; font-size: .82rem; }
.breadcrumbs a { color: #d8e8f1; }

.content { padding: 62px 0 90px; }
.content h2 { margin-top: 2.2rem; font-size: clamp(1.75rem, 3.2vw, 2.7rem); }
.content h3 { margin-top: 1.55rem; }
.content-callout { margin: 30px 0; padding: 26px 28px; border-left: 6px solid var(--orange); border-radius: 0 14px 14px 0; background: #f7f3ed; }
.content-callout p:last-child { margin-bottom: 0; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 900; }
.warning-list li::marker { color: var(--orange-dark); }

.prefooter-cta { padding: 65px 0; background: linear-gradient(135deg, #103454, #07192d); color: #dfeaf0; text-align: center; }
.prefooter-cta h2 { color: #fff; }
.prefooter-cta .lede { margin-inline: auto; }
.prefooter-cta .actions { justify-content: center; }

.site-prefooter { padding: 48px 0 34px; background: #091d33; color: #c8d6df; }
.site-prefooter h2, .site-prefooter h3 { color: #fff; font-family: Inter, sans-serif; }
.site-prefooter h2 { font-size: 1.2rem; }
.site-prefooter h3 { font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }
.prefooter-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 35px; }
.site-prefooter ul { padding: 0; list-style: none; }
.site-prefooter li { margin: 0 0 .5rem; }
.site-prefooter a { color: #dce9f0; font-size: .9rem; }
.site-prefooter p { font-size: .92rem; }

.legal-copy { font-size: .95rem; }
.legal-copy h2 { font-size: 1.6rem; }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .start-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .prefooter-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .section { padding: 58px 0; }
  .hero { min-height: 620px; background-position: 64% center; }
  .hero-content { padding: 68px 0 75px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.75rem); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .area-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .comparison { display: block; overflow-x: auto; }
}

@media (max-width: 520px) {
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button { width: 100%; }
  .grid-4, .process-grid, .start-grid, .prefooter-grid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .card, .price-card { padding: 23px; }
  .alert-bar { font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .alert-bar, .prefooter-cta, .site-prefooter { display: none !important; }
  body { color: #000; }
  a { color: #000; }
}
