@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --navy: #15233c;
  --navy-deep: #0b1b33;
  --blue: #015fc9;
  --blue-2: #0a74da;
  --aqua: #01b8f2;
  --sky: #edf4fb;
  --surface: #f6f7fc;
  --ink: #15233c;
  --body: #5f6775;
  --line: #dce3ec;
  --white: #fff;
  --shadow: 0 18px 50px rgba(11, 27, 51, 0.1);
  --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
  color: var(--body);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body, h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; letter-spacing: -0.025em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); }
a:hover { color: #004da5; }
img { max-width: 100%; }

.container { max-width: 1240px; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 1200; padding: .75rem 1rem; color: var(--navy-deep); background: #fff; border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { min-height: 88px; background: var(--navy-deep); border-bottom: 1px solid rgba(255,255,255,.12); }
.site-header .navbar { min-height: 88px; padding: .75rem 0; }
.navbar-brand { display: inline-flex; align-items: center; padding: 0; }
.navbar-brand img { width: 242px; height: auto; }
.navbar-nav { gap: .25rem; align-items: center; }
.navbar-dark .navbar-nav .nav-link { color: rgba(255,255,255,.82); padding: .75rem .95rem; font-weight: 600; font-size: .92rem; }
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active { color: #fff; }
.navbar-toggler { border-color: rgba(255,255,255,.38); padding: .55rem .7rem; }
.nav-cta { margin-left: .5rem; }

.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.45rem; border-radius: 5px; font-size: .9rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-primary:hover, .btn-primary:focus { background: #004fa9; border-color: #004fa9; }
.btn-outline-light:hover, .btn-outline-light:focus { color: var(--navy-deep); }
.btn-outline-navy { color: var(--navy); border: 1px solid var(--navy); background: transparent; }
.btn-outline-navy:hover, .btn-outline-navy:focus { color: #fff; background: var(--navy); }

.hero { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,42,.9) 0%, rgba(10,29,54,.72) 48%, rgba(10,29,54,.2) 100%), linear-gradient(0deg, rgba(7,22,42,.16), rgba(7,22,42,0)), url("../img/client-success-hero.jpg") center 46%/cover no-repeat; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -230px; bottom: -290px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 730px; padding: 7rem 0; }
.eyebrow { margin-bottom: 1rem; color: var(--blue-2); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow, .inner-hero .eyebrow { color: #80bfff; }
.hero h1 { max-width: 720px; margin-bottom: 1.5rem; color: #fff; font-size: clamp(3rem, 6vw, 5.35rem); line-height: .98; }
.hero .lead { max-width: 650px; margin-bottom: 2rem; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.trust-strip { position: relative; z-index: 2; margin-top: -38px; }
.trust-panel { background: var(--blue); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-item { min-height: 128px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.2); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: .3rem; color: #fff; font-size: 1.05rem; }
.trust-item span { color: rgba(255,255,255,.76); font-size: .9rem; }

.section { padding: 100px 0; }
.section-md { padding: 82px 0; }
.section-soft { background: var(--surface); }
.section-blue { background: var(--sky); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section h2, .section-md h2 { font-size: clamp(2.15rem, 4vw, 3.3rem); line-height: 1.08; }
.section-lead { font-size: 1.08rem; }
.content-stack > * + * { margin-top: 1rem; }
.content-stack .btn { margin-top: 1.35rem; }
.media-frame { position: relative; min-height: 500px; overflow: hidden; background: var(--sky); border-radius: var(--radius); }
.media-frame img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.media-frame.contain img { object-fit: cover; }

.service-card { height: 100%; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, transform .2s ease; }
.service-card:hover { transform: translateY(-3px); border-color: #a7c8ea; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.4rem; color: var(--blue); background: var(--sky); border-radius: 50%; }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: .75rem; font-size: 1.2rem; }
.service-card p { font-size: .95rem; }

.advantage-panel { padding: clamp(2rem, 5vw, 4rem); background: var(--navy); border-radius: var(--radius); }
.advantage-panel h2, .advantage-panel h3 { color: #fff; }
.advantage-panel p { color: rgba(255,255,255,.7); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; min-height: 34px; padding: .25rem 0 .9rem 2rem; color: rgba(255,255,255,.88); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: .72rem; font-weight: 800; }

.cta-wrap { padding: 0; background: var(--aqua); }
.cta-box { padding: clamp(2.5rem, 6vw, 4.75rem) 0; color: var(--navy-deep); background: var(--aqua); border-radius: 0; }
.cta-box h2 { color: var(--navy-deep); font-size: clamp(2rem, 4vw, 3rem); }
.cta-box p { max-width: 680px; color: rgba(11,27,51,.78); }
.cta-box .btn-primary { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); }
.cta-box .btn-primary:hover, .cta-box .btn-primary:focus { color: #fff; background: #07162a; border-color: #07162a; }
.cta-box .btn-outline-light { color: var(--navy-deep); background: transparent; border-color: var(--navy-deep); }
.cta-box .btn-outline-light:hover, .cta-box .btn-outline-light:focus { color: #fff; background: var(--navy-deep); border-color: var(--navy-deep); }

.inner-hero { position: relative; min-height: 410px; display: flex; align-items: center; background: var(--navy-deep); overflow: hidden; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,42,.96), rgba(10,29,54,.76)), url("../img/legal-records-workflow.webp") center 42%/cover no-repeat; }
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1 { max-width: 850px; margin-bottom: 1rem; color: #fff; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1.02; }
.inner-hero p { max-width: 700px; color: rgba(255,255,255,.78); font-size: 1.12rem; }
.breadcrumb { margin: 1.5rem 0 0; }
.breadcrumb-item, .breadcrumb-item a { color: rgba(255,255,255,.72); font-size: .86rem; }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

.contact-card, .form-shell { padding: clamp(1.6rem, 4vw, 3rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; color: var(--ink); }

.form-label, legend { color: var(--ink); font-weight: 700; }
.form-label .optional { color: var(--body); font-size: .82rem; font-weight: 400; }
.form-control, .form-select { min-height: 52px; border-color: #cbd5e1; border-radius: 5px; color: var(--ink); }
textarea.form-control { min-height: 150px; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 .22rem rgba(1,95,201,.13); }
.form-check-input { width: 1.15rem; height: 1.15rem; margin-top: .28rem; }
.form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.required-mark { color: #b42318; }
.field-help { margin-top: .35rem; color: #718096; font-size: .82rem; }
.form-section { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.form-section:first-child { padding-top: 0; }
.form-section:last-child { border-bottom: 0; }
.form-section-heading { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.form-number { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: .8rem; font-weight: 800; }
.form-section-heading h2 { margin: 0; font-size: 1.45rem; }
.record-location { padding: 1.35rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.record-location + .record-location { margin-top: 1rem; }
.record-location h3 { font-size: 1.05rem; }
.js .record-location.is-collapsed { display: none; }
.form-status { display: none; margin-bottom: 1.5rem; padding: 1rem 1.1rem; border-radius: 5px; }
.form-status.is-visible { display: block; }
.form-status.success { color: #135c2e; background: #e9f8ef; border: 1px solid #a8dfbb; }
.form-status.error { color: #842029; background: #fbeaec; border: 1px solid #edb8bd; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Dedicated services page */
.services-hero { min-height: 520px; }
.services-hero::before { background: linear-gradient(90deg, rgba(7,22,42,.98) 0%, rgba(10,29,54,.88) 55%, rgba(10,29,54,.58) 100%), url("../img/legal-records-workflow.webp") center 38%/cover no-repeat; }
.hero-service-note { padding: 1.6rem; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); backdrop-filter: blur(8px); }
.hero-service-note strong { display: block; margin-bottom: .45rem; font-size: 1.08rem; }
.hero-service-note span { display: block; color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.6; }
.service-jump { position: relative; z-index: 3; margin-top: -35px; }
.service-jump-grid { display: grid; grid-template-columns: repeat(7, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-jump-grid a { min-height: 102px; display: flex; flex-direction: column; justify-content: center; gap: .25rem; padding: 1rem; color: var(--ink); border-right: 1px solid var(--line); text-align: center; text-decoration: none; font-size: .82rem; font-weight: 700; }
.service-jump-grid a:last-child { border-right: 0; }
.service-jump-grid a:hover, .service-jump-grid a:focus { color: var(--blue); background: var(--sky); }
.service-jump-grid span { color: var(--blue); font-size: .7rem; letter-spacing: .1em; }
.services-intro { padding-top: 120px; }
.service-image-panel { position: relative; min-height: 480px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-image-panel img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.service-image-stat { position: absolute; right: 1.5rem; bottom: 1.5rem; max-width: 250px; padding: 1.25rem 1.4rem; color: #fff; background: var(--blue); border-radius: 7px; box-shadow: 0 14px 35px rgba(11,27,51,.24); }
.service-image-stat strong, .service-image-stat span { display: block; }
.service-image-stat strong { margin-bottom: .25rem; font-size: 1.45rem; }
.service-image-stat span { color: rgba(255,255,255,.82); font-size: .82rem; line-height: 1.5; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.service-detail-card { position: relative; min-height: 430px; display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.4rem); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11,27,51,.06); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-detail-card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 150px; height: 150px; background: var(--sky); border-radius: 50%; }
.service-detail-card:hover { transform: translateY(-4px); border-color: #9fc4e9; box-shadow: 0 18px 42px rgba(11,27,51,.1); }
.service-detail-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.3rem; }
.service-detail-number { color: #8a98aa; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.service-detail-card .service-icon { margin: 0; }
.service-detail-card h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.service-detail-card p { max-width: 550px; }
.service-detail-card ul { margin: .4rem 0 1.6rem; padding-left: 1.15rem; }
.service-detail-card li + li { margin-top: .35rem; }
.service-detail-card > a { position: relative; z-index: 1; margin-top: auto; font-size: .9rem; font-weight: 800; text-decoration: none; }
.service-detail-featured { color: rgba(255,255,255,.77); background: var(--navy-deep); border-color: var(--navy-deep); }
.service-detail-featured::after { background: rgba(255,255,255,.06); }
.service-detail-featured h3 { color: #fff; }
.service-detail-featured .service-detail-number { color: #80bfff; }
.service-detail-featured .service-icon { color: #fff; background: var(--blue); }
.service-detail-featured > a { color: #80bfff; }
.service-process { background: #fff; }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 1.25rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.process-list strong { display: block; margin-bottom: .25rem; color: var(--ink); font-size: 1.05rem; }
.process-list p { margin: 0; font-size: .92rem; }

/* Styled service-request experience */
.request-page .inner-hero { min-height: 470px; }
.request-page .inner-hero::after { content: ""; position: absolute; right: 8%; bottom: -110px; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.request-section { background: linear-gradient(180deg, #f4f7fc 0%, #fff 100%); }
.request-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 2rem; align-items: start; }
.request-guide { position: sticky; top: 110px; padding: 1.75rem; color: rgba(255,255,255,.72); background: var(--navy-deep); border-radius: var(--radius); box-shadow: var(--shadow); }
.request-guide .eyebrow { margin-bottom: .6rem; color: #80bfff; }
.request-guide h2 { margin-bottom: .65rem; color: #fff; font-size: 1.55rem; }
.request-guide > p { font-size: .9rem; }
.request-guide ol { list-style: none; padding: 0; margin: 1.5rem 0; counter-reset: request-guide; }
.request-guide li { counter-increment: request-guide; }
.request-guide li + li { border-top: 1px solid rgba(255,255,255,.11); }
.request-guide ol a { display: grid; grid-template-columns: 26px 1fr; gap: .55rem; padding: .65rem 0; color: rgba(255,255,255,.78); text-decoration: none; font-size: .84rem; font-weight: 600; }
.request-guide ol a::before { content: counter(request-guide, decimal-leading-zero); color: #80bfff; font-size: .66rem; letter-spacing: .05em; }
.request-guide ol a:hover, .request-guide ol a:focus { color: #fff; }
.request-guide-contact { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); }
.request-guide-contact strong, .request-guide-contact a { display: block; color: #fff; }
.request-guide-contact a { padding: .15rem 0 0; font-size: .9rem; }
.request-form-column { min-width: 0; }
.request-page .form-shell { padding: clamp(1.2rem, 3vw, 2rem); border-top: 4px solid var(--blue); box-shadow: 0 24px 60px rgba(11,27,51,.12); }
.request-page .form-section { margin-bottom: 1.2rem; padding: clamp(1.35rem, 3vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 22px rgba(11,27,51,.045); }
.request-page .form-section:first-child { padding-top: clamp(1.35rem, 3vw, 2rem); }
.request-page .form-section:last-child { border-bottom: 1px solid var(--line); }
.request-page .form-section-heading { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.request-page .form-section-heading p { margin: .25rem 0 0; font-size: .9rem; }
.request-page .form-number { width: 44px; height: 44px; flex-basis: 44px; border-radius: 7px; box-shadow: 0 8px 18px rgba(1,95,201,.2); }
.request-page .form-control, .request-page .form-select { background-color: #fbfcfe; }
.request-page .form-control:hover, .request-page .form-select:hover { border-color: #9eb5cc; }
.request-page fieldset { padding: 1rem 1rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.request-page fieldset legend { float: none; width: auto; margin: 0 0 .45rem; font-size: .92rem; }
.request-page .record-location { padding: 1.5rem; background: #f8fbff; border-left: 4px solid var(--blue); box-shadow: 0 5px 16px rgba(11,27,51,.04); }
.request-page .record-location h3 { margin-bottom: 1rem; color: var(--blue); }
.request-submit-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding: 1.4rem; background: var(--navy-deep); border-radius: 8px; }
.request-submit-panel .field-help { max-width: 600px; margin: 0; color: rgba(255,255,255,.7); }
.request-submit-panel .btn { flex: 0 0 auto; }

.site-footer { color: rgba(255,255,255,.72); background: var(--navy-deep); }
.footer-main { padding: 70px 0 45px; }
.footer-logo { width: 230px; margin-bottom: 1.3rem; }
.footer-heading { margin-bottom: 1.1rem; color: #fff; font-size: 1rem; letter-spacing: .02em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .55rem; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { color: #fff; }
.footer-bottom { padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-bottom a { color: rgba(255,255,255,.76); }

.not-found { min-height: 70vh; display: grid; place-items: center; padding: 5rem 0; text-align: center; background: var(--surface); }
.not-found h1 { font-size: clamp(3rem, 10vw, 7rem); }

:focus-visible { outline: 3px solid #79b8ff; outline-offset: 3px; }

@media (max-width: 991.98px) {
  .site-header, .site-header .navbar { min-height: 76px; }
  .navbar-brand img { width: 205px; }
  .navbar-collapse { padding: 1rem 0 1.25rem; }
  .navbar-nav { align-items: stretch; }
  .nav-cta { margin: .5rem 0 0; }
  .hero { min-height: 620px; }
  .hero::before { background: linear-gradient(90deg, rgba(7,22,42,.91), rgba(10,29,54,.58)), linear-gradient(0deg, rgba(7,22,42,.16), rgba(7,22,42,0)), url("../img/client-success-hero.jpg") 54% 46%/cover no-repeat; }
  .trust-strip { margin-top: 0; background: var(--blue); }
  .trust-panel { border-radius: 0; box-shadow: none; }
  .trust-item { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .section-md { padding: 66px 0; }
  .media-frame, .media-frame img { min-height: 420px; }
  .service-jump { margin-top: 0; background: var(--surface); }
  .service-jump-grid { grid-template-columns: repeat(4, 1fr); border-radius: 0; box-shadow: none; }
  .service-jump-grid a { min-height: 86px; border-bottom: 1px solid var(--line); }
  .services-intro { padding-top: 78px; }
  .request-layout { grid-template-columns: 1fr; }
  .request-guide { position: static; }
  .request-guide ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1rem; }
}

@media (max-width: 1199.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}

@media (max-width: 767.98px) {
  .hero { min-height: 590px; }
  .hero-content { padding: 5rem 0; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.1rem); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .section { padding: 58px 0; }
  .section-md { padding: 52px 0; }
  .section-heading { margin-bottom: 2rem; }
  .media-frame, .media-frame img { min-height: 340px; }
  .inner-hero { min-height: 350px; }
  .contact-card, .form-shell { padding: 1.35rem; box-shadow: none; }
  .form-section { padding: 1.6rem 0; }
  .form-section-heading { gap: .75rem; }
  .form-section-heading h2 { font-size: 1.25rem; }
  .record-location { padding: 1rem; }
  .service-jump-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-card { min-height: auto; }
  .service-image-panel, .service-image-panel img { min-height: 360px; }
  .service-image-stat { right: .85rem; bottom: .85rem; left: .85rem; max-width: none; }
  .request-guide ol { grid-template-columns: 1fr; }
  .request-page .form-shell { padding: .85rem; }
  .request-page .form-section { padding: 1.1rem; }
  .request-page fieldset { margin-right: calc(var(--bs-gutter-x) * .5); margin-left: calc(var(--bs-gutter-x) * .5); width: calc(100% - var(--bs-gutter-x)); }
  .request-submit-panel .btn { width: 100%; }
  .footer-main { padding: 52px 0 32px; }
  .footer-bottom .footer-social { margin-top: .9rem; }
}

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

/* Discovery Pro brand refresh: restrained cyan, navy and silver accents. */
:root {
  --navy: #08243d;
  --navy-deep: #041426;
  --blue: #008fca;
  --blue-2: #01b8f2;
  --aqua: #01b8f2;
  --brand-teal: #007fa8;
  --silver: #b9c2c9;
  --sky: #eafaff;
  --surface: #f7fbfd;
  --ink: #08243d;
  --body: #596b78;
  --line: #d4e8ee;
  --shadow: 0 18px 48px rgba(4, 20, 38, .12);
}

.site-header {
  position: relative;
  background: linear-gradient(110deg, #041426 0%, #072846 62%, #06395d 100%);
  border-bottom: 0;
}
.site-header::after,
.site-footer::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(1, 184, 242, .92), rgba(185, 194, 201, .76), transparent);
}
.site-header::after { bottom: 0; }
.site-header .navbar { min-height: 96px; }
.navbar-brand img { width: 208px; }

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #008bc5, #01b8f2);
  box-shadow: 0 9px 22px rgba(1, 143, 202, .2);
}
.btn-primary:hover, .btn-primary:focus {
  border-color: transparent;
  background: linear-gradient(135deg, #0079ad, #00b9ec);
  box-shadow: 0 14px 28px rgba(1, 143, 202, .3);
  transform: translateY(-1px);
}
.btn-outline-navy { border-color: rgba(0, 127, 168, .65); color: var(--brand-teal); }
.btn-outline-navy:hover, .btn-outline-navy:focus { border-color: var(--brand-teal); background: var(--brand-teal); }

.hero::after,
.request-page .inner-hero::after,
.service-detail-card::after { display: none; }
.hero::before {
  background: linear-gradient(90deg, rgba(4, 20, 38, .92) 0%, rgba(7, 39, 67, .76) 48%, rgba(4, 20, 38, .22) 100%), linear-gradient(0deg, rgba(1, 184, 242, .1), rgba(4, 20, 38, 0)), url("../img/client-success-hero.jpg") center 46%/cover no-repeat;
}

.section-heading::after {
  display: block;
  width: min(148px, 36vw);
  height: 2px;
  margin-top: 1.35rem;
  content: "";
  background: linear-gradient(90deg, var(--aqua), rgba(1, 184, 242, .24), transparent);
}
.section-heading.text-center::after { margin-right: auto; margin-left: auto; }

.service-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(0, 127, 168, .18);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(4, 20, 38, .055);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-card::before {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--aqua), var(--silver), transparent);
}
.service-card:hover, .service-card:focus-within {
  border-color: rgba(1, 184, 242, .72);
  box-shadow: 0 16px 36px rgba(4, 57, 82, .14);
  transform: translateY(-4px);
}
.service-icon {
  border: 1px solid rgba(1, 184, 242, .25);
  border-radius: 14px;
  background: linear-gradient(135deg, #e6faff, #f7fbfd);
  color: var(--brand-teal);
}
.service-card .service-link { color: var(--brand-teal); }
.check-list li::before { border-radius: 4px; background: linear-gradient(135deg, #008bc5, #01b8f2); }

.trust-strip { margin-top: 0; background: #01b8f2; }
.trust-panel { border-radius: 0; background: linear-gradient(100deg, #008fc8, #01b8f2); box-shadow: none; }

.advantage-panel, .request-guide {
  border-top: 1px solid rgba(1, 184, 242, .65);
  border-radius: 12px;
  background: linear-gradient(120deg, #041426, #0a3657);
}
.service-detail-card, .contact-card, .form-shell, .request-page .form-section {
  border-color: rgba(0, 127, 168, .18);
}
.service-detail-card:hover, .contact-card:hover {
  border-color: rgba(1, 184, 242, .56);
  box-shadow: 0 16px 32px rgba(4, 57, 82, .11);
}
.service-detail-card h3, .request-page .record-location h3 { color: var(--brand-teal); }
.request-page .record-location { border-left-color: var(--aqua); }
.request-page .form-shell { border-top-color: var(--aqua); }

.cta-wrap, .cta-box { background: #01b8f2; }
.cta-box { border-radius: 0; }
.cta-box .btn-primary { background: #06223c; box-shadow: none; }
.cta-box .btn-primary:hover, .cta-box .btn-primary:focus { background: #041426; }
.cta-box .btn-outline-navy { border-color: #06223c; color: #06223c; }
.cta-box .btn-outline-navy:hover, .cta-box .btn-outline-navy:focus { background: #06223c; }

.site-footer { position: relative; background: linear-gradient(125deg, #041426, #072b49); }
.site-footer::before { top: 0; }
.footer-logo { width: 215px; }
.navbar-brand img, .footer-logo { display: block; height: auto; object-fit: contain; object-position: left center; }
.footer-logo { width: 240px; max-width: 100%; }
.footer-heading { color: #d9f8ff; }
.footer-links a:hover, .footer-links a:focus, .footer-bottom a:hover, .footer-bottom a:focus { color: var(--aqua); }
.footer-company { display: block; margin-bottom: .35rem; color: #fff; font-weight: 800; letter-spacing: .01em; }
.footer-bottom { position: relative; border-top: 0; }
.footer-bottom::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; content: ""; background: linear-gradient(90deg, transparent, #01b8f2 25%, rgba(185, 194, 201, .78) 50%, #01b8f2 75%, transparent); }
.footer-bottom .container { align-items: center; }
.footer-social { display: flex; align-items: center; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-social a { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; color: #fff; text-decoration: none; border: 1px solid rgba(1, 184, 242, .55); border-radius: 4px; background: rgba(1, 184, 242, .05); font-weight: 800; line-height: 1; }
.footer-social a:hover, .footer-social a:focus { color: #fff; border-color: #01b8f2; background: rgba(1, 184, 242, .2); box-shadow: 0 0 0 3px rgba(1, 184, 242, .12); }

@media (max-width: 991.98px) {
  .site-header, .site-header .navbar { min-height: 82px; }
  .navbar-brand img { width: 177px; }
  .hero::before { background: linear-gradient(90deg, rgba(4, 20, 38, .93), rgba(7, 39, 67, .64)), linear-gradient(0deg, rgba(1, 184, 242, .1), rgba(4, 20, 38, 0)), url("../img/client-success-hero.jpg") 54% 46%/cover no-repeat; }
}

@media (max-width: 767.98px) {
  .navbar-brand img { width: 162px; }
  .footer-logo { width: 210px; }
  .service-card::before { right: 1rem; left: 1rem; }
}

/* White type and a more welcoming logo-colour frame for CTA and footer areas. */
.cta-wrap {
  position: relative;
  background: linear-gradient(115deg, #008fc8 0%, #01b8f2 52%, #069ed2 100%);
  border-top: 1px solid rgba(255, 255, 255, .62);
  border-bottom: 1px solid rgba(4, 20, 38, .2);
}
.cta-wrap::before,
.cta-wrap::after {
  display: none;
}
.cta-box {
  position: relative;
  z-index: 2;
  margin: clamp(1rem, 3vw, 2rem) auto;
  padding: clamp(2.5rem, 6vw, 4.75rem) clamp(1.5rem, 4vw, 3.25rem);
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .52);
  box-shadow: inset 0 0 0 1px rgba(4, 20, 38, .1);
}
.cta-box h2, .cta-box p { color: #fff; }
.cta-box p { color: rgba(255, 255, 255, .9); }
.cta-box .btn-primary { border-color: #06223c; background: #06223c; box-shadow: 0 11px 26px rgba(4, 20, 38, .2); }
.cta-box .btn-primary:hover, .cta-box .btn-primary:focus { background: #031224; box-shadow: 0 15px 30px rgba(4, 20, 38, .3); }
.cta-box .btn-outline-light, .cta-box .btn-outline-navy { border-color: rgba(255, 255, 255, .92); color: #fff; }
.cta-box .btn-outline-light:hover, .cta-box .btn-outline-light:focus, .cta-box .btn-outline-navy:hover, .cta-box .btn-outline-navy:focus { border-color: #fff; color: #06223c; background: #fff; }
.site-footer { border-top: 1px solid rgba(1, 184, 242, .72); }
.footer-main { position: relative; }
.footer-main::after { display: none; }

.admin-page { min-height: 100vh; background: linear-gradient(135deg, #041426, #082c49); }
.admin-main { display: grid; min-height: 100vh; padding: 2rem 1rem; place-items: center; }
.admin-shell { width: min(100%, 620px); padding: clamp(2rem, 6vw, 4rem); color: rgba(255, 255, 255, .86); border: 1px solid rgba(1, 184, 242, .6); border-radius: 14px; background: linear-gradient(145deg, rgba(8, 47, 78, .98), rgba(4, 20, 38, .98)); box-shadow: 0 24px 70px rgba(0, 0, 0, .25); }
.admin-shell::before { display: block; width: 100%; height: 2px; margin-bottom: 2rem; content: ""; background: linear-gradient(90deg, #01b8f2, rgba(185, 194, 201, .75), transparent); }
.admin-logo { display: block; width: min(230px, 70%); height: auto; margin-bottom: 2rem; }
.admin-shell h1 { color: #fff; }
.admin-shell .eyebrow { color: #6de1ff; }
.admin-form { margin-top: 2rem; }
.admin-subheading { margin-top: 2rem; color: #fff; font-size: 1.1rem; }
.admin-form .form-control { border-color: rgba(109, 225, 255, .45); background: rgba(255, 255, 255, .96); }
.admin-form .form-control:focus { border-color: #01b8f2; box-shadow: 0 0 0 .2rem rgba(1, 184, 242, .2); }
.admin-message { margin-top: 1.5rem; padding: .9rem 1rem; border-left: 3px solid #01b8f2; background: rgba(255, 255, 255, .1); }
.admin-message.is-success { border-left-color: #74e2ff; }
.admin-message.is-error { border-left-color: #ffb6a2; }
.admin-logout { margin-top: 1rem; }
.admin-back { display: inline-block; margin-top: 2rem; color: #bcefff; }
.admin-back:hover, .admin-back:focus { color: #fff; }

/* Compact mobile trust cards and a cleaner footer logo lockup. */
@media (max-width: 767.98px) {
  .trust-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    padding: .6rem;
  }
  .trust-panel > [class*="col-"] { width: auto; padding: 0; }
  .trust-item {
    display: flex;
    min-height: 132px;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 1rem .85rem;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(4, 20, 38, .12), rgba(255, 255, 255, .04));
  }
  .trust-item strong { margin-bottom: .45rem; font-size: .92rem; }
  .trust-item span { font-size: .78rem; line-height: 1.45; }
  .footer-logo {
    width: 205px;
    padding: .55rem .7rem;
    border: 1px solid rgba(1, 184, 242, .42);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(1, 184, 242, .11), rgba(255, 255, 255, .025));
    box-shadow: inset 0 0 0 1px rgba(185, 194, 201, .1), 0 8px 20px rgba(0, 0, 0, .12);
  }
}

/* Final compact rhythm: keep the pages airy while reducing unused vertical space. */
.hero { min-height: 640px; }
.hero-content { padding: 5.9rem 0; }
.section { padding: 86px 0; }
.section-md { padding: 70px 0; }
.section-heading { margin-bottom: 2.5rem; }
.inner-hero { min-height: 375px; }
.services-hero { min-height: 475px; }
.services-intro { padding-top: 92px; }
.request-page .inner-hero { min-height: 430px; }
.cta-box { padding-top: clamp(2.2rem, 5vw, 4rem); padding-bottom: clamp(2.2rem, 5vw, 4rem); }
.footer-main { padding-top: 58px; padding-bottom: 36px; }

@media (max-width: 991.98px) {
  .hero { min-height: 585px; }
  .section { padding: 70px 0; }
  .section-md { padding: 58px 0; }
  .inner-hero { min-height: 340px; }
  .services-hero { min-height: 440px; }
  .services-intro { padding-top: 70px; }
  .request-page .inner-hero { min-height: 400px; }
}

@media (max-width: 767.98px) {
  .hero { min-height: 545px; }
  .hero-content { padding: 4.2rem 0; }
  .section { padding: 50px 0; }
  .section-md { padding: 44px 0; }
  .section-heading { margin-bottom: 1.8rem; }
  .inner-hero { min-height: 315px; }
  .services-hero { min-height: 410px; }
  .services-intro { padding-top: 54px; }
  .request-page .inner-hero { min-height: 365px; }
  .footer-main { padding-top: 44px; padding-bottom: 28px; }
}

/* Active navigation state uses the brighter Discovery Pro cyan. */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link[aria-current="page"] {
  color: #01ADE6;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #01ADE6;
}
@media (min-width: 992px) {
  .navbar-dark .navbar-nav .nav-link.active::after,
  .navbar-dark .navbar-nav .nav-link[aria-current="page"]::after {
    position: absolute;
    right: .95rem;
    bottom: .4rem;
    left: .95rem;
    height: 2px;
    content: "";
    background: #01ADE6;
  }
  .navbar-dark .navbar-nav .nav-link { position: relative; }
}
.navbar-dark .navbar-nav .nav-cta .btn[aria-current="page"] {
  color: #041426;
  border-color: #01ADE6;
  background: #01ADE6;
  box-shadow: 0 9px 22px rgba(1, 173, 230, .25);
}

/* Keep the primary CTA headline compact and single-line on desktop. */
.cta-box h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.08;
  white-space: nowrap;
}
@media (max-width: 991.98px) {
  .cta-box h2 { white-space: normal; }
}
