:root {
    --navy: #031e49;
    --blue: #0076f7;
    --cyan: #00a8e8;
    --orange: #ff9900;
    --green: #059669;
    --ink: #172033;
    --muted: #5f6f86;
    --line: #dce5ef;
    --soft: #f5f9fd;
    --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.topbar { padding: 7px 0; color: #dce9f8; background: var(--navy); font-size: 12px; }
.topbar .container, .header .container, .footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid #e8eef5; backdrop-filter: blur(10px); }
.header .container { min-height: 76px; }
.logo { width: 150px; height: 58px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--blue); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 0; border-radius: 7px; cursor: pointer; font: inherit; font-weight: 800; transition: .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--orange); box-shadow: 0 10px 24px rgba(255,153,0,.2); }
.button.secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.button.next { color: #fff; background: var(--blue); }
.button.next.finish { background: var(--green); }
.button:disabled { cursor: wait; opacity: .7; }
.hero { position: relative; overflow: hidden; padding: 68px 0 74px; background: linear-gradient(180deg,#f3f8fe 0%,#fff 72%); border-bottom: 1px solid #edf2f7; }
.hero:before { content: ''; position: absolute; inset: 0; opacity: .04; background-image: radial-gradient(var(--blue) 1px,transparent 1px); background-size: 17px 17px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.16fr .84fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #cae2ff; border-radius: 999px; color: var(--blue); background: #edf6ff; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.eyebrow:before { width: 8px; height: 8px; content: ''; border-radius: 50%; background: var(--blue); }
h1,h2,h3 { margin-top: 0; color: var(--navy); font-family: Montserrat, Arial, sans-serif; line-height: 1.12; }
h1 { max-width: 760px; margin: 20px 0; font-size: clamp(40px,5.1vw,66px); }
h1 span { color: var(--blue); }
.lead { max-width: 710px; margin: 0; color: var(--muted); font-size: 18px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; margin: 24px 0; padding: 0; list-style: none; font-weight: 650; font-size: 14px; }
.check-list i { margin-right: 8px; color: var(--green); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; box-shadow: 0 24px 54px rgba(3,30,73,.18); }
.hero-note { position: absolute; right: -12px; bottom: 24px; max-width: 260px; padding: 15px 17px; border-radius: 7px; color: #fff; background: rgba(3,30,73,.93); box-shadow: 0 15px 30px rgba(3,30,73,.24); }
.hero-note strong, .hero-note span { display: block; }
.hero-note span { margin-top: 3px; font-size: 12px; opacity: .82; }
.section { padding: 78px 0; }
.section.soft { background: var(--soft); }
.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(29px,3.2vw,42px); }
.section-heading p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { padding: 27px; border: 1px solid #e5edf5; border-radius: 7px; background: #fff; }
.card i { margin-bottom: 17px; color: var(--blue); font-size: 24px; }
.card h3 { margin-bottom: 9px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.diagnosis { max-width: 790px; margin: auto; padding: 34px; border: 1px solid #dfe8f1; border-top: 5px solid var(--blue); border-radius: 8px; background: #fff; box-shadow: 0 22px 50px rgba(3,30,73,.1); }
.diagnosis-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.diagnosis-head strong { color: var(--blue); font-size: 12px; text-transform: uppercase; }
.progress { width: 150px; height: 7px; overflow: hidden; border-radius: 99px; background: #e4ebf3; }
.progress span { display: block; width: 25%; height: 100%; background: var(--blue); transition: width .25s ease; }
.question { margin-bottom: 17px; font-size: 20px; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; background: #fff; transition: .2s ease; }
.choice:hover { border-color: var(--blue); background: #f5faff; }
.choice input { margin-top: 5px; accent-color: var(--blue); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 5px; color: #586a82; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.field input { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.consent { display: flex; gap: 10px; margin-top: 15px; color: var(--muted); font-size: 12px; }
.diagnosis-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--line); }
.diagnosis-nav .back { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-weight: 700; }
.diagnosis-nav .next { margin-left: auto; }
.status { min-height: 22px; margin: 10px 0 0; color: #b45309; text-align: right; font-size: 13px; }
.hidden { display: none !important; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.two-col h2 { font-size: clamp(30px,3.7vw,45px); }
.two-col p { color: var(--muted); }
.two-col img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 44px rgba(3,30,73,.13); }
.faq { max-width: 850px; margin: auto; }
.faq-item { margin-bottom: 11px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.faq-button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 15px; padding: 20px; border: 0; color: var(--navy); background: #fff; cursor: pointer; text-align: left; font: 700 15px Inter,Arial,sans-serif; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-body p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 14px; }
.related { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.related a { padding: 22px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-weight: 800; color: var(--navy); }
.related a:hover { border-color: var(--blue); color: var(--blue); }
.footer { padding: 42px 0; color: #bac6d6; background: var(--navy); font-size: 12px; }
.footer img { width: 125px; height: 64px; object-fit: contain; padding: 7px; border-radius: 6px; background: #fff; }
.floating { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(5,150,105,.34); font-size: 25px; }

@media (max-width: 900px) {
    .topbar { display: none; }
    .nav { display: none; }
    .hero { padding: 48px 0 58px; }
    .hero-grid, .two-col { grid-template-columns: 1fr; }
    .hero-grid { gap: 35px; }
    .hero-media { max-width: 540px; }
    .cards, .related { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 24px,1160px); }
    .header .container { min-height: 68px; }
    .logo { width: 126px; height: 52px; }
    .header .button { min-height: 42px; padding: 9px 12px; font-size: 12px; }
    h1 { font-size: 38px; }
    .lead { font-size: 16px; }
    .check-list, .fields { grid-template-columns: 1fr; }
    .hero-note { right: 10px; }
    .section { padding: 58px 0; }
    .diagnosis { padding: 23px 18px; }
    .diagnosis-head { align-items: flex-start; flex-direction: column; }
    .progress { width: 100%; }
    .question { font-size: 18px; }
    .diagnosis-nav { flex-wrap: wrap; }
    .diagnosis-nav .next { width: 100%; margin-left: 0; }
    .status { text-align: center; }
    .footer-grid { align-items: flex-start; flex-direction: column; }
}
