/* Quest Medical Billing · Original responsive site design */
:root {
  --navy: #171950;
  --navy-deep: #111443;
  --ink: #1c2547;
  --muted: #59677b;
  --cyan: #079de7;
  --cyan-dark: #0879bd;
  --sky: #e9f7ff;
  --pale: #f5f9fc;
  --border: #dce7ef;
  --white: #fff;
  --shadow: 0 20px 55px rgba(20, 43, 87, .10);
  --round: 20px;
  --container: 1260px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 16px/1.68 "Segoe UI", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: -.038em; line-height: 1.16; }
h1 { font-size: clamp(2.65rem, 5vw, 5.25rem); font-weight: 760; }
h2 { font-size: clamp(2rem, 3.35vw, 3.15rem); font-weight: 730; }
h3 { font-size: 1.24rem; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.wrap { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; background: #fff; color: var(--navy); padding: 10px 16px; }
.skip-link:focus { top: 14px; }
.utility-bar { background: var(--navy-deep); color: #dbe9fa; font-size: .84rem; min-height: 34px; }
.utility-inner, .utility-inner > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.utility-inner { min-height: 34px; }
.utility-inner a { color: white; }
.utility-inner a:hover { color: #9fe0ff; }
.utility-dot { color: #54c9ff; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid #e8eff5; box-shadow: 0 3px 16px rgba(19,30,69,.045); backdrop-filter: blur(12px); }
.header-inner { height: 86px; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { width: 170px; height: auto; max-height: 77px; object-fit: contain; }
.desktop-nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { margin-left: auto; gap: 25px; height: 100%; }
.nav-item { display: flex; align-items: center; height: 100%; gap: 2px; }
.nav-main { display: inline-flex; align-items: center; height: 100%; color: var(--ink); font-size: .91rem; font-weight: 650; white-space: nowrap; transition: color .2s ease; }
.nav-main:hover, .nav-item:hover .nav-main, .nav-item.open .nav-main { color: var(--cyan-dark); }
.nav-toggle { border: 0; color: #50647e; background: transparent; font-size: 1.15rem; width: 20px; height: 32px; line-height: 1; padding: 0; transition: transform .2s; }
.nav-item:hover .nav-toggle, .nav-item.open .nav-toggle { transform: rotate(180deg); }
.nav-contact { margin-left: 3px; }
.header-actions { gap: 14px; }
.header-phone { display: none; color: var(--navy); font-weight: 700; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 12px; border: 1px solid transparent; border-radius: 8px; min-height: 52px; padding: 13px 23px; font-size: .94rem; line-height: 1.25; font-weight: 720; transition: transform .22s, box-shadow .22s, background .22s, border-color .22s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,96,160,.18); }
.button-small { min-height: 44px; padding: 10px 16px; }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: #28348d; }
.button-cyan { background: var(--cyan); color: white; box-shadow: 0 12px 25px rgba(4,156,232,.21); }
.button-cyan:hover { background: #008bd0; }
.button-white { color: var(--navy); background: white; }
.button-secondary { color: var(--navy); border-color: #b9d4e6; background: white; }
.button-secondary:hover { border-color: var(--cyan); }
.button-outline { color: white; border-color: rgba(255,255,255,.54); }
.button-outline:hover { background: rgba(255,255,255,.09); }
.mega { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 28px; width: 100%; max-height: min(74vh, 650px); overflow: auto; padding: 31px max(40px, calc((100vw - var(--container)) / 2)) 35px; background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px rgba(20,35,80,.13); visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .18s, transform .18s, visibility .18s; }
.nav-item:hover .mega, .nav-item.open .mega, .nav-item:focus-within .mega { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
.mega-intro { padding: 5px 18px 0 0; border-right: 1px solid var(--border); }
.mega-intro span { display: block; font-size: 1.35rem; font-weight: 730; color: var(--navy); line-height: 1.2; }
.mega-intro p { color: var(--muted); margin: 12px 0 22px; font-size: .91rem; }
.mega-intro a { font-size: .9rem; color: var(--cyan-dark); font-weight: 700; }
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); gap: 24px; min-width: 0; }
.mega-col { min-width: 0; }
.mega-label { font-size: .77rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan-dark); font-weight: 800; margin-bottom: 13px; }
.mega-col a { display: block; font-size: .86rem; line-height: 1.28; color: #334462; font-weight: 570; margin-bottom: 11px; }
.mega-col a:hover { color: var(--cyan-dark); text-decoration: underline; text-underline-offset: 3px; }
.mobile-toggle, .mobile-nav { display: none; }
.eyebrow { color: var(--cyan-dark); font-weight: 800; font-size: .79rem; letter-spacing: .16em; line-height: 1.4; margin-bottom: 17px; }
.eyebrow-light { color: #83d8ff; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 8px; }
.section { padding: 100px 0; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading > p:last-child { max-width: 660px; color: var(--muted); font-size: 1.07rem; margin-bottom: 0; }
.text-link { color: var(--cyan-dark); font-weight: 740; display: inline-block; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--navy); }
.section-end { display: flex; justify-content: center; margin-top: 39px; }

/* First screen */
.home-hero { min-height: 690px; background: radial-gradient(circle at 80% 40%, #273b91 0, transparent 37%), linear-gradient(128deg, var(--navy-deep), #18236c 70%, #1a407a); color: white; position: relative; isolation: isolate; overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(circle, rgba(114,200,249,.18) 1px, transparent 1px); background-size: 33px 33px; mask-image: linear-gradient(to right, transparent 23%, black); }
.home-hero::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(128,209,255,.12); border-radius: 50%; left: -260px; bottom: -170px; }
.home-hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(38px, 6vw, 95px); align-items: center; padding-top: 74px; padding-bottom: 86px; position: relative; }
.home-hero-copy { position: relative; z-index: 1; }
.home-hero h1 { color: white; max-width: 690px; line-height: 1.045; }
.home-hero h1 em { font-style: normal; color: #46c2fc; }
.home-hero-copy > p:not(.eyebrow) { color: #e1e9fb; max-width: 590px; margin: 27px 0 33px; font-size: 1.13rem; line-height: 1.7; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-detail { display: flex; gap: 19px; align-items: center; margin-top: 52px; color: #d5e0f5; font-size: .92rem; line-height: 1.5; }
.hero-rule { display: inline-block; height: 38px; width: 3px; background: #50c4fa; }
.hero-media { position: relative; min-width: 0; padding: 10px 8px 24px 12px; }
.hero-media::before { content: ""; position: absolute; inset: -18px -12px 36px 23px; border: 1px solid rgba(157,224,255,.35); border-radius: 52% 42% 38% 30%; transform: rotate(-8deg); }
.hero-image-frame { height: min(35vw, 493px); min-height: 410px; border-radius: 40% 12% 28% 8%; overflow: hidden; position: relative; background: linear-gradient(130deg,#aee0fc,#4869aa); box-shadow: 0 26px 75px rgba(2,12,42,.32); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.hero-image-wash { position: absolute; inset: 0; background: linear-gradient(130deg, rgba(5,33,82,.04), rgba(10,93,174,.14)); pointer-events: none; }
.floating-note { position: absolute; bottom: 8px; left: -35px; display: flex; align-items: center; gap: 13px; max-width: 340px; padding: 15px 20px; border-radius: 12px; color: var(--ink); background: white; box-shadow: var(--shadow); }
.note-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: var(--sky); color: var(--cyan-dark); font-size: 1.28rem; }
.floating-note strong, .floating-note div span { display: block; }
.floating-note strong { font-size: .86rem; line-height: 1.3; }
.floating-note div span { color: var(--muted); font-size: .76rem; margin-top: 2px; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: .79rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #d9e7fc; }
.scroll-cue span { font-size: 1.3rem; margin-left: 8px; }

/* Home sections */
.intro-strip { padding: 92px 0 88px; background: white; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .75fr; gap: 12%; align-items: center; }
.intro-grid h2 { max-width: 680px; }
.intro-grid > div:nth-child(2) p { font-size: 1.09rem; color: var(--muted); line-height: 1.8; }
.section-services { background: var(--pale); }
.card-grid { display: grid; gap: 16px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-card { min-width: 0; min-height: 184px; position: relative; display: flex; align-items: flex-start; gap: 17px; padding: 27px 22px; border-radius: 14px; background: white; border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(19,47,81,.025); transition: transform .25s, box-shadow .25s, border-color .25s; }
.topic-card:hover { transform: translateY(-5px); border-color: #a4daf6; box-shadow: var(--shadow); }
.card-mark { display: grid; place-items: center; flex: none; width: 45px; height: 45px; border-radius: 10px; font-weight: 800; font-size: .83rem; color: #087dbc; background: #e7f6fe; }
.card-content { display: block; padding-right: 14px; }
.card-content strong, .card-content > span { display: block; }
.card-content strong { color: var(--navy); font-size: 1.1rem; line-height: 1.35; margin-bottom: 10px; }
.card-content > span { color: var(--muted); line-height: 1.55; font-size: .89rem; }
.card-arrow { position: absolute; right: 18px; bottom: 16px; color: var(--cyan-dark); font-weight: 800; }
.process-section { padding: 115px 0; overflow: hidden; }
.process-grid { display: grid; grid-template-columns: .87fr 1fr; gap: clamp(55px, 8vw, 120px); align-items: center; }
.process-image { position: relative; min-height: 560px; background: var(--sky); border-radius: 14px 130px 14px 14px; }
.process-image img { width: 100%; height: 560px; object-fit: cover; border-radius: inherit; }
.process-image::before { content: ""; position: absolute; top: -26px; left: -26px; width: 130px; height: 130px; border-top: 8px solid var(--cyan); border-left: 8px solid var(--cyan); border-radius: 10px 0 0 0; pointer-events: none; }
.image-caption { position: absolute; bottom: -16px; left: 24px; background: var(--navy); color: white; padding: 11px 18px; font-weight: 660; font-size: .81rem; border-radius: 5px; }
.process-list { margin: 0 0 25px; padding: 0; list-style: none; }
.process-list li { display: flex; gap: 18px; padding: 23px 0; border-top: 1px solid var(--border); }
.process-list li > span { font-size: .86rem; font-weight: 800; color: var(--cyan-dark); padding-top: 4px; }
.process-list h3 { font-size: 1.18rem; margin-bottom: 7px; }
.process-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.specialty-section { background: var(--navy); position: relative; overflow: hidden; }
.specialty-section::before { content: ""; position: absolute; width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; top: -250px; right: -140px; }
.specialty-section .eyebrow { color: #81d8ff; }
.specialty-section h2 { color: white; }
.specialty-section .section-heading > p:last-child { color: #d2dff4; }
.specialty-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.specialty-pill { display: flex; align-items: center; gap: 13px; min-height: 78px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; color: white; font-weight: 650; transition: background .2s, transform .2s; }
.specialty-pill:hover { background: rgba(255,255,255,.11); transform: translateY(-2px); }
.specialty-pill span { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 7px; background: rgba(125,211,255,.14); color: #8fe1ff; font-size: .76rem; }
.specialty-pill b { color: #74d7ff; margin-left: auto; font-weight: 500; }
.specialty-section .button-secondary { background: transparent; border-color: rgba(255,255,255,.55); color: white; }
.knowledge-section { background: white; }
.knowledge-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 12%; align-items: start; }
.knowledge-list { border-top: 1px solid var(--border); }
.knowledge-list a { display: grid; grid-template-columns: 105px 1fr 26px; gap: 15px; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--border); }
.knowledge-list a span { color: var(--cyan-dark); font-size: .77rem; font-weight: 750; letter-spacing: .09em; }
.knowledge-list a strong { font-size: 1.12rem; line-height: 1.3; color: var(--navy); }
.knowledge-list a b { color: var(--cyan-dark); }
.knowledge-list a:hover strong { color: var(--cyan-dark); }

/* Shared interior */
.inner-hero { position: relative; isolation: isolate; background: linear-gradient(118deg, var(--navy-deep), #1b2e79 75%, #165f9d); color: white; padding: 37px 0 72px; overflow: hidden; }
.inner-hero::after { content: ""; position: absolute; width: 510px; height: 510px; border-radius: 50%; right: -140px; top: -220px; background: radial-gradient(circle, rgba(76,175,235,.27), transparent 68%); z-index: -1; }
.hero-orbit { position: absolute; border: 1px solid rgba(152,214,255,.15); width: 560px; height: 560px; border-radius: 50%; right: -130px; top: -250px; pointer-events: none; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: #b7cbed; font-size: .84rem; margin-bottom: 58px; }
.breadcrumbs a:hover { color: white; text-decoration: underline; }
.inner-hero-copy { max-width: 850px; }
.inner-hero h1 { color: white; font-size: clamp(2.55rem, 4.4vw, 4.35rem); margin-bottom: 21px; }
.inner-hero-copy > p:last-child { max-width: 760px; color: #dce8f9; font-size: 1.13rem; line-height: 1.72; margin: 0; }
.inner-hero-light { color: var(--ink); background: #ebf7fd; }
.inner-hero-light h1 { color: var(--navy); }
.inner-hero-light .breadcrumbs, .inner-hero-light .inner-hero-copy > p:last-child { color: #4b6080; }
.inner-hero-light .breadcrumbs a:hover { color: var(--cyan-dark); }
.inner-hero-light .hero-orbit { border-color: rgba(29,145,209,.17); }
.hub-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; align-items: start; }
.hub-intro .section-heading { margin-bottom: 0; }
.hub-intro > div:nth-child(2) { font-size: 1.08rem; color: var(--muted); padding-top: 29px; }
.hub-directory { background: var(--pale); }
.hub-split-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 10%; align-items: center; }
.hub-split-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); font-size: 1.03rem; }
.hub-photo { border-radius: 20px 120px 20px 20px; overflow: hidden; min-height: 430px; background: var(--sky); }
.hub-photo img { width: 100%; height: 440px; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 23px 0 32px; }
.check-list li { position: relative; padding: 9px 0 9px 28px; color: var(--ink); font-weight: 610; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan-dark); }
.detail-intro-grid, .two-column { display: grid; grid-template-columns: minmax(0,1fr) minmax(310px,.65fr); gap: clamp(40px,8vw,140px); align-items: start; }
.detail-intro-grid h2 { max-width: 650px; margin-bottom: 27px; }
.detail-intro-grid p:not(.eyebrow), .two-column p { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.lead-paragraph { color: #33435b !important; font-size: 1.16rem !important; line-height: 1.75 !important; }
.detail-inline-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.sidebar-panel { border: 1px solid #d7eaf4; border-radius: 18px; padding: 35px; background: linear-gradient(135deg,#f1faff,#e7f5fd); position: sticky; top: 112px; }
.sidebar-panel h3 { font-size: 1.55rem; margin: 9px 0 17px; }
.sidebar-panel p { font-size: .99rem; color: var(--muted); }
.sidebar-panel a:not(.button) { color: var(--cyan-dark); font-weight: 730; font-size: .91rem; }
.panel-label { color: var(--cyan-dark); font-size: .75rem; letter-spacing: .13em; font-weight: 800; }
.mini-flow { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-flow span { background: #fff; border: 1px solid #dcebf4; border-radius: 7px; padding: 11px; color: var(--navy); font-weight: 650; font-size: .85rem; }
.soft-section { background: var(--pale); }
.focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.focus-card { border-radius: 13px; padding: 33px; background: white; border: 1px solid var(--border); min-height: 220px; }
.focus-num { display: block; margin-bottom: 30px; font-weight: 800; color: var(--cyan-dark); font-size: .87rem; }
.focus-card h3 { margin-bottom: 10px; }
.focus-card p { color: var(--muted); font-size: .96rem; margin: 0; line-height: 1.65; }
.steps-box { background: var(--navy); color: #e2ebfb; padding: 38px; border-radius: 17px; }
.steps-box h3 { color: white; font-size: 1.55rem; margin: 0 0 17px; }
.steps-box ol { padding-left: 21px; margin: 0; }
.steps-box li { padding: 8px 0; }
.steps-box p { color: #dbe4f7; font-size: .98rem; }
.steps-box .button { margin-top: 10px; color: var(--navy); background: white; }
.steps-box > a:not(.button) { display: block; padding: 5px 0; color: white; }
.steps-box .panel-label { color: #90dcff; display: block; margin-bottom: 16px; }
.faq-section { border-top: 1px solid var(--border); }
.faq-grid { display: grid; grid-template-columns: .65fr 1fr; gap: 10%; align-items: start; }
.faq-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); }
.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary { list-style: none; position: relative; padding: 20px 43px 20px 0; cursor: pointer; color: var(--navy); font-size: 1.03rem; line-height: 1.45; font-weight: 720; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 6px; top: 17px; font-size: 1.5rem; color: var(--cyan-dark); font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { color: var(--muted); margin: 0 0 22px; }
.related-section { background: var(--pale); }
.technology-panel { border-radius: 18px; background: var(--sky); padding: 38px; border: 1px solid #cdeafa; }
.technology-panel h3 { font-size: 1.55rem; margin: 14px 0; }
.technology-panel p { color: var(--muted); }
.technology-panel a { color: var(--cyan-dark); font-weight: 700; }
.tech-intro { grid-template-columns: 1fr .68fr; }
.technology-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.technology-list li { background: white; border: 1px solid var(--border); padding: 30px; border-radius: 11px; line-height: 1.65; font-weight: 610; }
.technology-list span { display: block; font-size: .85rem; color: var(--cyan-dark); font-weight: 800; margin-bottom: 20px; }
.wide-insight { max-width: 900px; }
.wide-insight h2 { margin-bottom: 20px; }
.wide-insight p:not(.eyebrow) { color: var(--muted); font-size: 1.07rem; line-height: 1.82; }
.simple-links { padding: 0; list-style: none; margin: 15px 0 25px; }
.simple-links li { border-bottom: 1px solid rgba(255,255,255,.24); padding: 9px 0; }
.simple-links a { color: white; }
.simple-links a:hover { color: #8ddcff; }
.article-layout { display: grid; grid-template-columns: minmax(0,730px) 310px; justify-content: space-between; gap: 60px; }
.article-body { font-size: 1.05rem; color: #43536a; }
.article-body .article-intro { font-size: 1.25rem; color: var(--ink); font-weight: 600; margin-bottom: 44px; }
.article-body section { margin-bottom: 42px; }
.article-body h2 { font-size: 1.8rem; margin-bottom: 17px; }
.article-body p { line-height: 1.9; }
.article-list { margin: 12px 0 25px; padding-left: 22px; }
.article-list li { padding: 5px 0; }
.article-callout { background: var(--sky); border-left: 4px solid var(--cyan); border-radius: 5px; padding: 25px; margin: 42px 0; }
.article-callout strong { color: var(--navy); }
.article-callout p { margin: 8px 0 0; }
.article-sidebar .steps-box { position: sticky; top: 110px; padding: 27px; }
.article-sidebar .button { margin-top: 20px; }
.company-layout { display: grid; grid-template-columns: minmax(0,760px) 340px; gap: 7%; justify-content: space-between; align-items: start; }
.company-section { border-bottom: 1px solid var(--border); padding: 0 0 40px; margin-bottom: 43px; }
.company-section:last-child { border: 0; margin-bottom: 0; }
.company-section h2 { font-size: 2.05rem; margin-bottom: 18px; }
.company-section p:last-child { color: var(--muted); font-size: 1.07rem; line-height: 1.85; }
.company-layout aside .steps-box { position: sticky; top: 110px; }
.company-layout aside .button { margin-top: 20px; }
.legal-content { max-width: 820px; }
.legal-content section { border-bottom: 1px solid var(--border); margin-bottom: 42px; padding-bottom: 30px; }
.legal-content section:last-child { border: 0; }
.legal-content h2 { font-size: 1.75rem; margin-bottom: 13px; }
.legal-content p { color: var(--muted); font-size: 1.06rem; line-height: 1.85; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.sitemap-group { border: 1px solid var(--border); background: var(--pale); border-radius: 14px; padding: 27px; }
.sitemap-group h2 { font-size: 1.4rem; margin-bottom: 14px; }
.sitemap-group ul { list-style: none; margin: 0; padding: 0; }
.sitemap-group li { margin: 6px 0; color: #495c78; font-size: .94rem; }
.sitemap-group a:hover { color: var(--cyan-dark); text-decoration: underline; }

/* Contact and global CTA */
.contact-grid { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(50px,9vw,130px); align-items: start; }
.contact-copy > p { color: var(--muted); font-size: 1.04rem; line-height: 1.78; margin-bottom: 37px; }
.contact-method { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--border); padding: 19px 0; }
.contact-symbol { display: grid; place-items: center; width: 41px; height: 41px; flex: none; border-radius: 9px; color: var(--cyan-dark); background: var(--sky); font-size: 1.2rem; }
.contact-method small { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .12em; font-weight: 780; }
.contact-method a, .contact-method address { display: block; font-style: normal; color: var(--navy); font-size: 1.05rem; font-weight: 690; line-height: 1.5; }
.contact-method a:hover { color: var(--cyan-dark); }
.contact-notice { margin-top: 20px; padding: 20px 22px; border-left: 3px solid var(--cyan); background: var(--pale); border-radius: 0 7px 7px 0; }
.contact-notice strong { color: var(--navy); }
.contact-notice p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.contact-form-shell { background: white; border-radius: 18px; padding: 43px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-shell h2 { font-size: 2rem; margin: 12px 0 28px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: .87rem; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; border-radius: 6px; border: 1px solid #cddce7; background: #fbfdff; color: var(--ink); padding: 12px 14px; margin-top: 8px; min-height: 48px; outline: 0; }
.contact-form textarea { min-height: 145px; resize: vertical; }
.contact-form :is(input,select,textarea):focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,157,231,.14); }
.form-explainer { color: var(--muted); margin: 0; font-size: .83rem; }
.contact-form button { justify-self: start; }
.form-feedback { color: var(--cyan-dark); margin: 0; font-size: .87rem; }
.cta-band { background: radial-gradient(circle at 92% 0, #2b5f9d, transparent 30%), linear-gradient(110deg,#171950,#153174); color: white; padding: 73px 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 55px; align-items: center; }
.cta-inner > div:first-child { max-width: 760px; }
.cta-inner h2 { color: white; margin-bottom: 15px; }
.cta-inner p:last-child { color: #d5e3f8; font-size: 1.04rem; margin: 0; }
.cta-actions { display: grid; gap: 14px; justify-items: center; flex: none; }
.cta-call { color: #d8e9fa; font-size: .85rem; font-weight: 670; }
.cta-call:hover { color: white; text-decoration: underline; }
.footer { background: #0e153d; color: #bac9e4; padding: 76px 0 0; }
.footer-top { display: grid; grid-template-columns: .8fr 1.4fr; gap: 9%; padding-bottom: 65px; }
.footer-logo { display: inline-flex; background: white; padding: 7px 12px; border-radius: 9px; }
.footer-logo img { width: 160px; height: auto; }
.footer-brand > p { max-width: 320px; font-size: .93rem; margin: 19px 0 24px; }
.footer-contact { display: grid; gap: 7px; font-size: .87rem; max-width: 300px; }
.footer-contact a { color: white; }
.footer-contact a:hover { color: #88ddff; }
.footer-links { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer-links h3 { color: white; font-size: .94rem; letter-spacing: .02em; margin-bottom: 18px; }
.footer-links a { display: block; font-size: .87rem; padding: 5px 0; line-height: 1.4; }
.footer-links a:hover, .footer-bottom a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 22px 0 29px; border-top: 1px solid rgba(255,255,255,.14); font-size: .81rem; }
.footer-bottom div { display: flex; gap: 18px; }

@media (max-width: 1190px) {
  .desktop-nav { gap: 13px; }
  .header-inner { gap: 17px; }
  .brand img { width: 145px; }
  .nav-main { font-size: .85rem; }
  .mega { grid-template-columns: 155px minmax(0,1fr); gap: 20px; }
  .mega-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-hero-inner { gap: 35px; }
}
@media (max-width: 1000px) {
  .wrap { width: min(var(--container),calc(100% - 48px)); }
  .desktop-nav { display: none; }
  .brand img { width: 156px; }
  .header-actions { margin-left: auto; }
  .header-phone { display: inline-flex; }
  .mobile-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 43px; height: 43px; background: white; border: 1px solid var(--border); border-radius: 7px; align-items: center; }
  .mobile-toggle span { display: block; width: 19px; height: 2px; background: var(--navy); }
  .mobile-nav { display: none; position: absolute; left: 0; top: 100%; right: 0; max-height: 76vh; overflow: auto; background: white; padding: 12px 24px 23px; box-shadow: 0 18px 28px rgba(17,30,66,.15); }
  .mobile-nav.show { display: block; }
  .mobile-nav > a, .mobile-nav summary { display: block; padding: 14px 2px; border-bottom: 1px solid var(--border); color: var(--navy); font-weight: 740; cursor: pointer; }
  .mobile-nav summary { list-style: none; position: relative; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: "+"; position: absolute; right: 4px; font-size: 1.25rem; }
  .mobile-nav details[open] summary::after { content: "−"; }
  .mobile-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 10px 12px 22px; background: var(--pale); }
  .mobile-sub a { display: block; color: #40536d; font-size: .9rem; padding: 7px 0; }
  .mobile-sub .mobile-overview { grid-column: 1/-1; color: var(--cyan-dark); font-weight: 760; }
  .mobile-group-name { grid-column: 1/-1; font-size: .75rem; letter-spacing: .1em; color: var(--cyan-dark); font-weight: 800; text-transform: uppercase; margin: 17px 0 3px; }
  .mobile-cta { background: var(--navy); color: white !important; text-align: center; border-radius: 6px; margin-top: 14px; }
  .card-grid.three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-hero-inner { grid-template-columns: 1fr .9fr; }
  .hero-image-frame { min-height: 390px; }
  .home-hero h1 { font-size: clamp(2.7rem,5vw,4.4rem); }
  .floating-note { left: -20px; }
  .specialty-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-grid { gap: 55px; }
  .process-image, .process-image img { min-height: 490px; height: 490px; }
  .sitemap-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .utility-inner > span { display: none; }
  .utility-inner > div { width: 100%; justify-content: center; }
  .header-inner { height: 75px; }
  .brand img { width: 145px; }
  .header-phone { display: none; }
  .header-actions > .button { display: none; }
  .section { padding: 72px 0; }
  .home-hero { min-height: 0; }
  .home-hero-inner { grid-template-columns: 1fr; padding: 73px 0 92px; }
  .home-hero-copy > p:not(.eyebrow) { font-size: 1.02rem; margin: 23px 0 28px; }
  .hero-detail { margin-top: 32px; }
  .hero-media { max-width: 580px; padding: 0 10px 30px; margin: 12px auto 0; width: 100%; }
  .hero-image-frame { height: 390px; min-height: 0; }
  .floating-note { left: 0; bottom: 8px; }
  .scroll-cue { display: none; }
  .intro-strip { padding: 72px 0; }
  .intro-grid,.hub-intro,.process-grid,.knowledge-grid,.hub-split-grid,.detail-intro-grid,.two-column,.faq-grid,.article-layout,.company-layout,.contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-grid > div:nth-child(2) { padding: 0; }
  .process-section { padding: 75px 0; }
  .process-image, .process-image img { min-height: 340px; height: 340px; }
  .process-image::before { left: -11px; top: -11px; width: 70px; height: 70px; }
  .knowledge-grid { gap: 20px; }
  .inner-hero { padding-bottom: 62px; }
  .breadcrumbs { margin-bottom: 36px; }
  .inner-hero h1 { font-size: clamp(2.25rem,8vw,3.6rem); }
  .hub-intro > div:nth-child(2) { padding: 0; }
  .hub-photo, .hub-photo img { min-height: 340px; height: 340px; }
  .sidebar-panel,.article-sidebar .steps-box,.company-layout aside .steps-box { position: static; }
  .focus-grid,.technology-list { grid-template-columns: 1fr; }
  .focus-card { min-height: 0; }
  .focus-num { margin-bottom: 14px; }
  .cta-inner { display: grid; gap: 30px; }
  .cta-actions { justify-items: start; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3,1fr); }
  .contact-form-shell { padding: 29px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 34px); }
  .utility-inner { font-size: .75rem; }
  .utility-inner > div { gap: 9px; }
  .header-inner { height: 70px; }
  .brand img { width: 125px; }
  .home-hero-inner { padding-top: 60px; }
  .home-hero h1 { font-size: 2.67rem; }
  .hero-buttons { display: grid; }
  .hero-buttons .button { width: 100%; }
  .hero-image-frame { height: 320px; }
  .floating-note { max-width: 275px; padding: 10px 12px; }
  .floating-note strong { font-size: .77rem; }
  .floating-note div span { font-size: .7rem; }
  .card-grid.three,.specialty-grid,.sitemap-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 150px; padding: 22px 18px; }
  .mobile-sub { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 2rem; }
  .inner-hero h1 { font-size: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-shell { padding: 23px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-links > div:first-child { grid-column: 1/-1; }
  .footer-bottom div { flex-wrap: wrap; }
  .knowledge-list a { grid-template-columns: 1fr 24px; gap: 4px 8px; }
  .knowledge-list a span { grid-column: 1/-1; }
  .knowledge-list a b { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease, box-shadow .25s, border-color .25s; }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
