:root {
  --ink: #17232d;
  --muted: #566572;
  --red: #c52f35;
  --red-dark: #9f2429;
  --navy: #123247;
  --navy-deep: #0b2435;
  --blue: #e9f2f5;
  --paper: #fff;
  --soft: #f5f7f7;
  --line: #d9e1e4;
  --radius: 6px;
  --shadow: 0 20px 55px rgba(15, 43, 59, .10);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 17px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--paper); }
img { max-width: 100%; height: auto; }
a { color: var(--red-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid rgba(197, 47, 53, .35); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; padding: .7rem 1rem; }
.skip-link:focus { left: 8px; }
.container { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(18,50,71,.12); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { display: block; width: 275px; max-height: 72px; object-fit: contain; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: .65rem .85rem; font: inherit; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { position: relative; color: var(--ink); font-size: .93rem; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 2px; background: var(--red); transition: right .25s ease; }
.site-nav a[aria-current=page], .site-nav a:hover { color: var(--red); }
.site-nav a[aria-current=page]::after, .site-nav a:hover::after { right: 0; }

.button, .site-nav .nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.25rem; border: 2px solid var(--red); border-radius: 3px; background: var(--red); color: #fff; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); color: #fff; box-shadow: 0 10px 24px rgba(159,36,41,.2); }
.button.secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.button.secondary:hover { background: var(--navy); color: #fff; }

.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6.5rem) 0 0; background: linear-gradient(120deg, #fff 0%, #fff 68%, var(--blue) 68%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -180px; border: 1px solid rgba(18,50,71,.1); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { padding-bottom: clamp(3.5rem, 7vw, 6.5rem); }
.hero-visual { position: relative; align-self: stretch; min-height: 610px; }
.hero-image { position: absolute; inset: 0 0 4.5rem; width: 100%; height: calc(100% - 4.5rem); object-fit: cover; object-position: center; box-shadow: var(--shadow); }
.hero-card { position: absolute; right: -1rem; bottom: 0; width: min(94%, 510px); background: var(--navy); color: #fff; padding: 1.55rem 1.8rem; border-left: 5px solid var(--red); box-shadow: 0 24px 60px rgba(8,32,47,.24); }
.hero-card h2 { color: #fff; font-size: 1.22rem; margin-bottom: 0; }
.hero-card-label, .panel-eyebrow, .band-kicker { margin: 0 0 .45rem; color: #efb0b2; font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { margin-bottom: 1.1rem; color: var(--red-dark); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 1.1rem; color: var(--navy); }
h1 { max-width: 820px; font-size: clamp(2.8rem, 5.5vw, 5.2rem); letter-spacing: -.052em; }
h2 { font-size: clamp(2.05rem, 3.8vw, 3.45rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.28rem); color: var(--muted); max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.cta-note { max-width: 500px; margin: .9rem 0 0; color: var(--muted); font-size: .84rem; }

.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-bar .container { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); align-items: stretch; }
.trust-item { min-height: 94px; display: flex; align-items: center; padding: 1.1rem 1.25rem; border-left: 1px solid var(--line); color: var(--navy); font-size: .88rem; font-weight: 750; line-height: 1.35; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { display: block; font-size: 1.35rem; }

.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section.soft { background: linear-gradient(135deg, #f6f8f8, #eef3f4); }
.section.dark { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; }
.section.dark::after { content: ""; position: absolute; right: -12rem; bottom: -19rem; width: 36rem; height: 36rem; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: #ef777a; }
.section-head { max-width: 780px; margin-bottom: 3.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.grid { display: grid; gap: 1.35rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.25rem); box-shadow: 0 8px 28px rgba(15,43,59,.055); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-5px); border-color: #b9c9cf; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.service-card { min-height: 330px; display: flex; flex-direction: column; border-top: 4px solid var(--navy); }
.service-card .text-link { margin-top: auto; }
.problem-card { border: 0; border-top: 1px solid var(--navy); box-shadow: none; background: rgba(255,255,255,.72); }
.problem-card:hover { box-shadow: var(--shadow); }
.card-kicker { display: block; margin-bottom: 1.1rem; color: var(--red-dark); font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry-card { position: relative; min-height: 205px; padding: 2.3rem 2.5rem; overflow: hidden; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease; }
.industry-card:hover { background: var(--soft); }
.industry-card > span { position: absolute; right: 1.4rem; top: .65rem; color: rgba(18,50,71,.08); font-size: 3.5rem; font-weight: 900; line-height: 1; }
.industry-card h3 { max-width: 80%; font-size: 1.45rem; }
.industry-card p { max-width: 390px; margin-bottom: 0; color: var(--muted); }
.section-link { margin-top: 1.8rem; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--red-dark); font-weight: 850; margin-bottom: 1.5rem; }
.text-link { font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: .5rem 0 .5rem 1.8rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.guide-panel { padding: clamp(2rem, 5vw, 3.5rem); background: var(--navy); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.guide-panel h3 { color: #fff; }
.guide-panel .panel-eyebrow { color: #efb0b2; }
.guide-panel .check-list li::before { color: #ef777a; }
.steps { counter-reset: steps; position: relative; z-index: 1; }
.step { position: relative; padding: .4rem 1.2rem 0 4.5rem; }
.step::before { counter-increment: steps; content: "0" counter(steps); position: absolute; left: 0; top: 0; color: #ef777a; font-size: 1.6rem; font-weight: 850; }

.band { padding: 4rem 0; background: var(--red); color: #fff; }
.band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.band h2 { color: #fff; margin-bottom: .4rem; }
.band p { margin: 0; }
.band .band-kicker { margin-bottom: .5rem; color: #fff; opacity: .8; }
.band .button { background: #fff; border-color: #fff; color: var(--red-dark); }
.page-hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 8vw, 7rem) 0; background: linear-gradient(115deg, var(--blue), #f8faf9); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: 7vw; top: -8rem; width: 24rem; height: 24rem; border: 1px solid rgba(18,50,71,.12); transform: rotate(45deg); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 5vw, 4.6rem); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.5rem; font-size: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1/-1; }
label { font-weight: 700; }
input, textarea, select { width: 100%; padding: .85rem; border: 1px solid #aab7c0; border-radius: 3px; font: inherit; }
input:focus, textarea:focus { outline: 3px solid rgba(197,47,53,.22); border-color: var(--red); }
.honeypot { position: absolute !important; left: -9999px !important; }
.map { width: 100%; min-height: 360px; border: 0; border-radius: var(--radius); }
.site-footer { padding: 4.5rem 0 2.5rem; background: #081b29; color: #cbd7dc; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 2rem; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: .78rem; color: #fff; letter-spacing: .12em; text-transform: uppercase; }
.legal { border-top: 1px solid #29404e; margin-top: 2.5rem; padding-top: 1.5rem; font-size: .88rem; }
.tagline { font-size: 1.15rem; font-weight: 800; color: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px); position: absolute; left: 0; right: 0; top: 96px; padding: 1.25rem 1.5rem 1.75rem; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; transition: opacity .22s ease, transform .22s ease, visibility .22s; }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a { padding: .55rem 0; }
  .site-nav a::after { display: none; }
  .hero { background: linear-gradient(145deg, #fff 0 72%, var(--blue) 72%); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { min-height: 510px; }
  .hero-image { inset: 0 0 4rem; height: calc(100% - 4rem); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:first-child { grid-column: 1/-1; border-bottom: 1px solid var(--line); justify-content: center; }
  .trust-item:nth-child(even) { border-left: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .nav-wrap { min-height: 82px; }
  .brand img { width: 205px; }
  .site-nav { top: 82px; }
  .hero { padding-top: 3rem; }
  .hero-visual { min-height: 450px; margin-inline: -1rem; }
  .hero-image { object-position: center; }
  .hero-card { right: 1rem; left: 1rem; width: auto; }
  .hero-card ul { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .trust-item { padding: 1rem .65rem; font-size: .78rem; }
  .grid-4, .grid-3, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .band .container { align-items: flex-start; flex-direction: column; }
  .band .button { width: 100%; }
  .service-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
