:root {
    --navy: #022640;
    --navy-deep: #031a2e;
    --navy-soft: #0c3954;
    --teal: #05b5a4;
    --teal-dark: #008b80;
    --aqua: #62e0d4;
    --ink: #10283c;
    --muted: #637789;
    --line: #dce8e8;
    --surface: #f2f9f8;
    --white: #ffffff;
    --warning: #f4a340;
    --danger: #b42318;
    --success: #087a61;
    --shadow: 0 24px 70px rgba(2, 38, 64, 0.13);
    --shadow-soft: 0 14px 40px rgba(2, 38, 64, 0.08);
    --radius: 24px;
    --radius-sm: 14px;
    --shell: 1240px;
    --font: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Urban FinCorp v2 premium, CMS and responsive components */
.main-nav > a,
.nav-group > button { font-size: .96rem; font-weight: 850; }
.dropdown-menu--left { left: 18%; right: auto; }
.spam-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
:focus-visible { outline: 3px solid rgba(5,181,164,.55); outline-offset: 3px; }
.cms-content-section + .section { padding-top: 24px; }
.logo-marquee { padding: 12px 0 28px; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.logo-marquee__track { width: max-content; display: flex; gap: 18px; animation: lender-scroll 38s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.lender-logo { width: 230px; min-height: 132px; padding: 20px; display: grid; place-items: center; align-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-soft); text-align: center; }
.lender-logo img { width: 180px; height: 58px; object-fit: contain; }
.lender-logo > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--white); background: linear-gradient(135deg,var(--navy),var(--teal)); font-weight: 900; }
.lender-logo strong { color: var(--navy); }
.lender-logo small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
@keyframes lender-scroll { to { transform: translateX(calc(-50% - 9px)); } }
.rate-grid,.offer-grid,.team-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.rate-card,.offer-card,.profile-card,.calculator-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-soft); }
.rate-card span,.rate-card small,.profile-card small { display: block; color: var(--muted); }
.rate-card > strong { margin: 12px 0; display: block; color: var(--teal-dark); font-size: clamp(2.2rem,5vw,3.8rem); line-height: 1; }
.offer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.offer-card { position: relative; overflow: hidden; }
.offer-card > span,.verified-pill { width: fit-content; margin-bottom: 18px; padding: 6px 10px; display: block; border-radius: 999px; color: var(--teal-dark); background: #e2f8f4; font-size: .7rem; font-weight: 850; }
.offer-card details { margin: 18px 0; color: var(--muted); font-size: .78rem; }
.offer-card summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.offer-card > small { margin-top: 15px; display: block; color: var(--muted); }
.team-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.profile-card img,.profile-card__initial { width: 100%; aspect-ratio: 1; margin-bottom: 22px; border-radius: 18px; object-fit: cover; background: var(--surface); }
.profile-card__initial { display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg,var(--navy),var(--teal)); font-size: 4rem; font-weight: 900; }
.profile-card h2 { margin-bottom: 5px; font-size: 1.65rem; }
.profile-card > strong { color: var(--teal-dark); }
.partner-hero,.page-hero { color: var(--white); background: radial-gradient(circle at 82% 20%,rgba(98,224,212,.25),transparent 32%),linear-gradient(125deg,var(--navy-deep),var(--navy) 65%,#07516b); }
.partner-hero__grid { min-height: 590px; padding-block: 84px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); align-items: center; gap: 70px; }
.partner-hero h1,.page-hero h1 { color: var(--white); }
.partner-hero h1 { font-size: clamp(3rem,6vw,5.6rem); }
.partner-hero p { color: rgba(255,255,255,.75); font-size: 1.08rem; }
.partner-hero__card { padding: 34px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.partner-hero__card strong { font-size: 1.35rem; }
.partner-hero__card li { margin-top: 12px; }
.partner-hero + .section .process-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow-soft); }
.partner-hero + .section .process-grid span { color: var(--teal-dark); font-size: 1.8rem; font-weight: 900; }
.page-hero .shell { min-height: 390px; padding-block: 72px; display: flex; flex-direction: column; justify-content: center; }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.75); }
.calculator-card { display: grid; gap: 16px; }
.checklist-result { margin-top: 20px; }
.checklist-print { margin: 24px 0; display: grid; gap: 10px; }
.checklist-print label { padding: 12px; display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.auth-card--wide { max-width: 860px; }

@media (max-width: 1160px) {
    .main-nav > a,.nav-group > button { font-size: .82rem; }
}
@media (max-width: 980px) {
    .main-nav > a,.nav-group > button { color: var(--navy); background: var(--white); font-size: 1rem; font-weight: 850; }
    .nav-group { width: 100%; }
    .mega-menu__links a,.dropdown-menu a { min-height: 42px; padding: 9px 12px; display: flex; color: var(--navy); background: var(--surface); font-size: .9rem; font-weight: 750; }
    .dropdown-menu--left { left: auto; right: auto; }
    .rate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .offer-grid,.team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .partner-hero__grid { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 680px) {
    .rate-grid,.offer-grid,.team-grid { grid-template-columns: 1fr; }
    .lender-logo { width: 190px; }
    .partner-hero__grid { min-height: 0; padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .logo-marquee { overflow-x: auto; mask-image: none; }
    .logo-marquee__track { animation: none; }
}
@media print {
    .site-header,.topbar,.site-footer,.prefooter-cta,.floating-whatsapp,.chat-launcher,.chat-panel,.consent-banner,.button { display: none !important; }
    .checklist-print label { break-inside: avoid; }
}

/* Managed loan landing pages v2.1 */
.loan-hero{background:linear-gradient(135deg,#062f43 0%,#07516a 58%,#0a8f91 100%);color:#fff;padding:72px 0}
.loan-hero__grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(380px,.88fr);gap:54px;align-items:center}
.loan-hero h1{color:#fff;font-size:clamp(2.7rem,5vw,5.2rem);line-height:.98;letter-spacing:-.055em;max-width:900px;margin:12px 0 22px}
.loan-hero__summary{font-size:1.18rem;line-height:1.75;max-width:760px;color:rgba(255,255,255,.88)}
.loan-hero__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:30px 0}
.loan-hero__facts div{padding:17px;border:1px solid rgba(255,255,255,.2);border-radius:15px;background:rgba(255,255,255,.08)}
.loan-hero__facts strong,.loan-hero__facts span{display:block}.loan-hero__facts strong{font-size:1.05rem}.loan-hero__facts span{margin-top:4px;color:rgba(255,255,255,.7);font-size:.82rem}
.loan-hero__note{font-size:.86rem;color:rgba(255,255,255,.72);max-width:700px}
.loan-lead-card{background:#fff;color:var(--navy);padding:30px;border-radius:24px;box-shadow:0 26px 70px rgba(0,0,0,.24)}
.loan-lead-card h2{font-size:1.7rem;margin:4px 0 20px}.loan-lead-card .form-grid{gap:13px}.loan-lead-card .form-field span{font-size:.8rem}.loan-lead-card input,.loan-lead-card select{min-height:48px}
.page-jump-nav{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--border);box-shadow:0 10px 28px rgba(7,44,61,.07)}
.page-jump-nav .shell{display:flex;gap:8px;overflow-x:auto;padding-block:12px}.page-jump-nav a{white-space:nowrap;padding:9px 13px;border-radius:10px;color:var(--navy);font-weight:800;font-size:.84rem}.page-jump-nav a:hover{background:var(--surface);color:var(--teal)}
.section-heading--row{display:flex;align-items:end;justify-content:space-between;gap:24px}.verified-date{padding:9px 13px;border-radius:999px;background:#e4f8f5;color:#08766f;font-weight:800;font-size:.8rem;white-space:nowrap}
.rate-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}
.rate-comparison-table{width:100%;border-collapse:collapse;min-width:850px}.rate-comparison-table th,.rate-comparison-table td{padding:16px 18px;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}.rate-comparison-table th{background:#07374a;color:#fff;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.rate-comparison-table tr:last-child td{border-bottom:0}.rate-comparison-table tr.is-featured td{background:#f1fbf9}.rate-comparison-table tr:hover td{background:#f7fbfc}
.rate-lender{display:flex;align-items:center;gap:12px}.rate-lender img,.rate-lender span{width:46px;height:38px;object-fit:contain;border:1px solid var(--border);border-radius:9px;background:#fff;padding:5px}.rate-lender span{display:grid;place-items:center;background:#e6f7f5;color:#087b78;font-weight:900;padding:0;text-transform:uppercase}.table-note{font-size:.82rem;color:var(--muted);margin-top:14px}
.managed-calculator{align-items:stretch}.managed-calculator>div{height:100%}.calculator-card,.calculator-results{padding:34px;border-radius:24px;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow-soft)}.range-field{display:grid;gap:7px;margin-top:17px}.range-field span{font-weight:800;font-size:.86rem}.range-field input{min-height:50px;border:1px solid var(--border);border-radius:11px;padding:10px 13px;font:inherit}.calculator-results{background:linear-gradient(145deg,#062f43,#075d70);color:#fff;display:flex;flex-direction:column;justify-content:center}.calculator-results>span{color:rgba(255,255,255,.7)}.calculator-results>strong{font-size:clamp(2.6rem,6vw,5rem);line-height:1;margin:12px 0 28px}.calculator-results>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:26px}.calculator-results>div span{padding:13px;border-radius:12px;background:rgba(255,255,255,.09);font-size:.8rem}.calculator-results b{display:block;margin-top:5px;font-size:1rem;color:#fff}
.managed-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.managed-card-grid article{background:#fff;border:1px solid var(--border);border-radius:18px;padding:25px;box-shadow:var(--shadow-soft)}.managed-card-grid article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e4f8f5;color:#08766f;font-weight:900}.managed-card-grid h3{margin:18px 0 9px;font-size:1.13rem}.managed-card-grid p{color:var(--muted);line-height:1.65}
.managed-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.managed-process article{display:flex;gap:15px;padding:22px;border-radius:18px;background:var(--surface);border:1px solid var(--border)}.managed-process article>b{flex:0 0 38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--navy);color:#fff}.managed-process h3{font-size:1.05rem;margin:3px 0 8px}.managed-process p{font-size:.9rem;color:var(--muted);line-height:1.6}
.check-list{list-style:none;padding:0;margin:22px 0}.check-list li{position:relative;padding:12px 12px 12px 40px;border-bottom:1px solid var(--border)}.check-list li:before{content:'✓';position:absolute;left:8px;color:var(--teal);font-weight:900}.managed-prose{background:#fff;border:1px solid var(--border);border-radius:20px;padding:28px}.faq-shell{max-width:900px}.managed-faq{border:1px solid var(--border);border-radius:14px;margin-top:12px;background:#fff}.managed-faq summary{cursor:pointer;padding:19px 52px 19px 20px;font-weight:850;position:relative}.managed-faq summary:after{content:'+';position:absolute;right:20px;font-size:1.4rem;color:var(--teal)}.managed-faq[open] summary:after{content:'−'}.managed-faq p{padding:0 20px 20px;margin:0;color:var(--muted);line-height:1.7}.compliance-box{border:1px solid #b9ddd9;border-left:5px solid var(--teal);border-radius:16px;padding:24px;background:#f1fbf9}.compliance-box strong{color:var(--navy)}.compliance-box p{margin:8px 0 0;color:var(--muted);line-height:1.7}
@media(max-width:980px){.loan-hero__grid{grid-template-columns:1fr}.loan-lead-card{max-width:720px}.managed-card-grid,.managed-process{grid-template-columns:repeat(2,minmax(0,1fr))}.page-jump-nav{top:0}.section-heading--row{align-items:flex-start;flex-direction:column}}
@media(max-width:680px){.loan-hero{padding:48px 0}.loan-hero h1{font-size:2.7rem}.loan-hero__facts,.managed-card-grid,.managed-process,.calculator-results>div{grid-template-columns:1fr}.loan-lead-card{padding:22px}.managed-calculator{grid-template-columns:1fr}.calculator-card,.calculator-results{padding:24px}.section-heading--row{gap:12px}}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--navy);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.8rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -0.015em;
}

p {
    margin: 0 0 1rem;
}

.shell {
    width: min(var(--shell), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

.section--soft {
    background: var(--surface);
}

.section--navy {
    color: var(--white);
    background: var(--navy);
}

.section--navy h2,
.section--navy h3 {
    color: var(--white);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--aqua);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--navy);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.topbar {
    color: #d9e7ee;
    background: var(--navy-deep);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.topbar__inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar__inner div {
    display: flex;
    gap: 16px;
}

.topbar a:hover {
    color: var(--aqua);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(2, 38, 64, 0.09);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.brand {
    width: 210px;
    height: 70px;
    display: flex;
    align-items: center;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nav-mobile-action {
    display: none !important;
}

.main-nav > a,
.nav-group > button {
    min-height: 46px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--ink);
    background: transparent;
    font-size: 0.91rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease,
        border-color 0.2s ease, box-shadow 0.2s ease,
        transform 0.2s ease;
}

.main-nav > a:hover,
.nav-group > button:hover,
.main-nav .is-active {
    color: var(--teal-dark);
    background: linear-gradient(135deg, #effcf9, #e3f8f4);
    border-color: rgba(5, 181, 164, 0.18);
    box-shadow: 0 8px 20px rgba(5, 181, 164, 0.1);
    transform: translateY(-1px);
}

.nav-group {
    position: static;
}

.mega-menu,
.dropdown-menu {
    position: absolute;
    z-index: 110;
    top: calc(100% - 7px);
    left: 50%;
    width: min(960px, calc(100vw - 48px));
    padding: 22px;
    display: grid;
    grid-template-columns: 0.8fr 1.7fr;
    gap: 24px;
    border: 1px solid rgba(2, 38, 64, 0.08);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: 0.2s ease;
}

.nav-group:hover .mega-menu,
.nav-group:focus-within .mega-menu,
.nav-group:hover .dropdown-menu,
.nav-group:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.mega-menu__intro {
    padding: 24px;
    color: var(--white);
    border-radius: 14px;
    background:
        radial-gradient(circle at 90% 10%, rgba(98, 224, 212, 0.32), transparent 42%),
        var(--navy);
}

.mega-menu__intro strong {
    margin-bottom: 24px;
    display: block;
    font-size: 1.45rem;
    line-height: 1.25;
}

.mega-menu__intro a {
    color: var(--aqua);
    font-size: 0.83rem;
    font-weight: 800;
}

.mega-menu__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.mega-menu__links a {
    min-height: 46px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.mega-menu__links a:hover {
    color: var(--teal-dark);
    background: var(--surface);
}

.dropdown-menu {
    left: auto;
    right: 20%;
    width: 250px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    transform: translateY(12px);
}

.nav-group:hover .dropdown-menu,
.nav-group:focus-within .dropdown-menu {
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
}

.dropdown-menu a:hover {
    color: var(--teal-dark);
    background: var(--surface);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-link {
    padding-block: 10px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: var(--teal-dark);
}

.button,
button.button {
    min-height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--teal);
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), #00a394);
    box-shadow: 0 12px 28px rgba(5, 181, 164, 0.2);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(5, 181, 164, 0.3);
}

.button--small {
    min-height: 44px;
    padding-inline: 18px;
    border-radius: 10px;
    font-size: 0.78rem;
}

.button--outline {
    color: var(--teal-dark);
    background: var(--white);
    box-shadow: none;
}

.button--white {
    color: var(--navy);
    background: var(--white);
    border-color: var(--white);
}

.button--ghost-light {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.button--danger {
    color: var(--danger);
    background: #fff;
    border-color: #f2b8b5;
    box-shadow: none;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mobile-toggle {
    width: 46px;
    height: 46px;
    padding: 11px;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.mobile-toggle > span:not(.sr-only) {
    width: 100%;
    height: 2px;
    background: var(--navy);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, #f2fbfa 0 53%, transparent 53%),
        radial-gradient(circle at 86% 18%, #d8eee9, transparent 30%),
        #e9e5dc;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 42% 0 auto;
    width: 120px;
    background: var(--navy);
    clip-path: polygon(60% 0, 100% 0, 42% 100%, 0 100%);
}

.hero-grid {
    min-height: 690px;
    padding: 88px 0 76px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    max-width: 760px;
    margin-bottom: 26px;
}

.hero-copy h1 span {
    color: var(--teal-dark);
}

.hero-copy > p:not(.eyebrow) {
    max-width: 690px;
    color: #496577;
    font-size: 1.2rem;
}

.hero-trust {
    margin: 34px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-trust span {
    padding: 8px 12px;
    border: 1px solid #cfe5e2;
    border-radius: 999px;
    color: #35566a;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    font-weight: 750;
}

.hero-panel {
    position: relative;
    z-index: 3;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.hero-panel > p {
    color: var(--muted);
    font-size: 0.9rem;
}

.trust-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-strip__grid {
    min-height: 100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.trust-stat {
    padding: 0 28px;
    border-right: 1px solid var(--line);
}

.trust-stat:last-child {
    border-right: 0;
}

.trust-stat strong,
.trust-stat span {
    display: block;
}

.trust-stat strong {
    color: var(--navy);
    font-size: 1rem;
}

.trust-stat span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.75rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card,
.feature-card,
.blog-card,
.social-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    border-color: #9edbd5;
}

.service-card__icon {
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--teal-dark);
    background: #e5f8f5;
    font-size: 1.35rem;
    font-weight: 900;
}

.service-card p,
.feature-card p,
.blog-card p {
    color: var(--muted);
}

.card-link {
    margin-top: 18px;
    display: inline-flex;
    color: var(--teal-dark);
    font-size: 0.84rem;
    font-weight: 850;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-card {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-card span {
    width: 42px;
    height: 42px;
    margin-bottom: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--navy);
    background: var(--aqua);
    font-weight: 900;
}

.process-card h3 {
    color: var(--white);
}

.process-card p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.9rem;
}

.inner-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 18%, rgba(40, 209, 193, 0.32), transparent 30%),
        linear-gradient(125deg, var(--navy-deep), var(--navy) 58%, #07516b);
}

.inner-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.inner-hero__content {
    position: relative;
    z-index: 1;
    max-width: var(--shell);
    min-height: 420px;
    padding: 78px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.inner-hero h1 {
    max-width: 920px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(2.5rem, 5vw, 4.9rem);
}

.inner-hero__content > p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
}

.breadcrumbs {
    margin-bottom: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.breadcrumbs a:hover {
    color: var(--aqua);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
    gap: 50px;
}

.prose {
    color: #355267;
    font-size: 1.02rem;
    line-height: 1.8;
}

.prose h2,
.prose h3,
.prose h4 {
    margin-top: 2.1em;
    margin-bottom: 0.75em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose ul,
.prose ol {
    padding-left: 22px;
}

.prose li {
    margin: 8px 0;
}

.prose blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 4px solid var(--teal);
    border-radius: 0 14px 14px 0;
    color: var(--navy);
    background: var(--surface);
}

.prose img {
    border-radius: 18px;
}

.sidebar-card {
    position: sticky;
    top: 122px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.sidebar-card ul {
    padding: 0;
    list-style: none;
}

.sidebar-card li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
}

.sidebar-card .button {
    width: 100%;
    margin-top: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field--full,
.form-divider {
    grid-column: 1 / -1;
}

.form-field > span {
    color: #314f63;
    font-size: 0.78rem;
    font-weight: 800;
}

.form-field small,
.form-note {
    color: var(--muted);
    font-size: 0.72rem;
}

.form-field input,
.form-field select,
.form-field textarea,
.chat-form input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cfdfe1;
    border-radius: 11px;
    color: var(--ink);
    background: var(--white);
    outline: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.chat-form input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(5, 181, 164, 0.12);
}

.form-check {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--muted);
    font-size: 0.74rem;
}

.form-check input {
    margin-top: 4px;
}

.form-divider {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
}

.alert,
.flash {
    padding: 14px 16px;
    border-radius: 11px;
    font-size: 0.86rem;
}

.alert--error,
.flash--error {
    color: #7f1d1d;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.alert--success,
.flash--success {
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.flash {
    margin-top: 18px;
}

.auth-section {
    min-height: calc(100vh - 136px);
    padding: 70px 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(98, 224, 212, 0.26), transparent 28%),
        var(--surface);
}

.auth-card {
    width: min(620px, calc(100% - 32px));
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.auth-card__logo {
    width: 250px;
    height: 90px;
    margin: 0 auto 24px;
}

.auth-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-card h1 {
    font-size: 2.4rem;
}

.auth-links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    color: var(--teal-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.calculator-shell {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 36px;
}

.range-group {
    margin-bottom: 24px;
}

.range-group label,
.range-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.range-group input[type="range"] {
    width: 100%;
    accent-color: var(--teal);
}

.range-value-input {
    width: 160px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.calculator-result {
    padding: 30px;
    border-radius: 20px;
    color: var(--white);
    background: var(--navy);
}

.calculator-result h2,
.calculator-result h3 {
    color: var(--white);
}

.result-main {
    margin: 22px 0;
    color: var(--aqua);
    font-size: 2.8rem;
    font-weight: 900;
}

.result-row {
    padding: 13px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 42px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    padding: 0;
}

.blog-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: var(--white);
    background:
        radial-gradient(circle at 70% 20%, rgba(98, 224, 212, 0.5), transparent 26%),
        linear-gradient(135deg, var(--navy), #07516b);
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__body {
    padding: 26px;
}

.blog-meta {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--teal-dark);
    font-size: 0.72rem;
    font-weight: 750;
}

.post-header {
    max-width: 900px;
    margin: 0 auto 48px;
}

.post-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.post-cover {
    width: min(1120px, calc(100% - 48px));
    max-height: 620px;
    margin: -50px auto 80px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.social-card {
    min-height: 360px;
}

.social-card__head {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.social-platform {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-platform span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: var(--navy);
    font-weight: 900;
}

.embed-placeholder {
    min-height: 240px;
    padding: 28px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
}

.social-embed iframe {
    width: 100%;
    max-width: 100%;
    min-height: 300px;
    border: 0;
    border-radius: 14px;
}

.prefooter-cta {
    padding: 70px 0;
    color: var(--white);
    background: var(--navy);
}

.prefooter-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.prefooter-cta h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.site-footer {
    padding: 72px 0 30px;
    color: var(--white);
    background: var(--navy-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 0.75fr);
    gap: 48px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 250px;
    height: 90px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--white);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand p {
    max-width: 310px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
}

.footer-brand strong {
    color: var(--aqua);
    font-size: 0.82rem;
}

.footer-grid h3 {
    margin: 12px 0 20px;
    color: var(--white);
    font-size: 0.9rem;
}

.footer-grid a,
.footer-grid address {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-style: normal;
}

.footer-grid a:hover {
    color: var(--aqua);
}

.footer-bottom {
    margin-top: 52px;
    padding: 22px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.7rem;
}

.footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-self: end;
}

.footer-bottom .developer-credit {
    justify-self: center;
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
}

.footer-bottom .developer-credit a {
    color: var(--aqua);
    font-weight: 800;
}

.regulatory-note {
    color: rgba(255, 255, 255, 0.32);
    font-size: 0.64rem;
}

.floating-whatsapp,
.chat-launcher {
    position: fixed;
    z-index: 200;
    right: 20px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    font-weight: 850;
    box-shadow: 0 12px 35px rgba(2, 38, 64, 0.24);
}

.floating-whatsapp {
    bottom: 20px;
    padding: 5px 6px 5px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0caf7a;
}

.floating-whatsapp b {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.chat-launcher {
    right: 178px;
    bottom: 20px;
    padding: 0 18px;
    background: var(--navy);
}

.chat-panel {
    position: fixed;
    z-index: 210;
    right: 20px;
    bottom: 80px;
    width: min(430px, calc(100vw - 32px));
    max-height: calc(100vh - 104px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.chat-panel header {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: var(--navy);
}

.chat-panel header strong,
.chat-panel header span {
    display: block;
}

.chat-panel header span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.7rem;
}

.chat-panel header button {
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: 1.5rem;
}

.chat-messages {
    height: 350px;
    min-height: 200px;
    padding: 16px;
    flex: 1 1 350px;
    overflow-y: auto;
    background: #f6faf9;
}

.chat-message {
    max-width: 86%;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 0.78rem;
    line-height: 1.6;
    white-space: pre-line;
}

.chat-message--bot {
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
}

.chat-message--user {
    margin-left: auto;
    color: var(--white);
    background: var(--teal-dark);
}

.chat-message--typing {
    color: var(--muted);
    font-style: italic;
}

.chat-quick-replies {
    max-height: 118px;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.chat-quick-replies[hidden] {
    display: none;
}

.chat-quick-replies button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(5, 181, 164, 0.28);
    border-radius: 999px;
    color: var(--teal-dark);
    background: #effbf8;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
}

.chat-quick-replies button:hover {
    color: var(--white);
    background: var(--teal-dark);
}

.chat-quick-replies button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.chat-form {
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 8px;
    border-top: 1px solid var(--line);
}

.chat-form input {
    min-height: 44px;
}

.chat-form button {
    border: 0;
    border-radius: 10px;
    color: var(--white);
    background: var(--teal);
    font-weight: 900;
}

.chat-form button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.chat-panel > small {
    padding: 0 12px 10px;
    display: block;
    color: var(--muted);
    font-size: 0.63rem;
}

.consent-banner {
    position: fixed;
    z-index: 300;
    left: 50%;
    bottom: 18px;
    width: min(880px, calc(100% - 32px));
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(-50%);
}

.consent-banner p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.install-page {
    min-height: 100vh;
    padding: 50px 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 15% 15%, rgba(98, 224, 212, 0.26), transparent 28%),
        var(--surface);
}

.install-card {
    width: min(760px, calc(100% - 32px));
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.install-card > img {
    width: 260px;
    height: 100px;
    object-fit: contain;
    object-position: left;
}

.tracking-frame {
    position: absolute;
    width: 0;
    height: 0;
    border: 0;
    visibility: hidden;
}

.empty-state {
    padding: 42px;
    border: 1px dashed #bdd5d4;
    border-radius: 20px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
}

.pagination {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 0.8rem;
}

.pagination .is-current {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

.pagination a.is-active {
    color: var(--white);
    border-color: var(--navy);
    background: var(--navy);
}

.compact-search {
    margin-bottom: 28px;
    padding: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.content-prose {
    color: #334f60;
    font-size: 1rem;
    line-height: 1.82;
}

.content-prose > *:first-child {
    margin-top: 0;
}

.content-prose h2,
.content-prose h3,
.content-prose h4 {
    margin: 1.7em 0 0.55em;
    color: var(--ink);
    letter-spacing: -0.035em;
}

.content-prose h2 {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.content-prose h3 {
    font-size: 1.45rem;
}

.content-prose a {
    color: var(--teal-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-prose blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--teal);
    border-radius: 0 14px 14px 0;
    color: var(--ink);
    background: var(--surface);
}

.content-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.content-prose table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
}

.content-prose th,
.content-prose td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.content-prose th {
    color: var(--ink);
    background: var(--surface);
}

.legal-content {
    max-width: 900px;
}

@media (max-width: 1160px) {
    .header-inner {
        grid-template-columns: 185px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .brand {
        width: 180px;
    }

    .main-nav > a,
    .nav-group > button {
        min-height: 43px;
        padding-inline: 8px;
        font-size: 0.78rem;
    }

    .header-actions .login-link {
        display: none;
    }
}

@media (max-width: 980px) {
    .topbar__inner > span {
        display: none;
    }

    .topbar__inner {
        justify-content: center;
    }

    .header-inner {
        min-height: 80px;
        grid-template-columns: 1fr auto;
    }

    .brand {
        width: 205px;
        height: 64px;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .main-nav.is-open {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 120px);
        padding: 16px 24px 28px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav > a,
    .nav-group > button {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding-inline: 12px;
        font-size: 0.95rem;
    }

    .main-nav > a.nav-mobile-action {
        display: inline-flex !important;
        color: var(--teal-dark);
        background: var(--surface);
    }

    .nav-group {
        position: relative;
    }

    .mega-menu,
    .dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        display: block;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-group.is-open .mega-menu,
    .nav-group.is-open .dropdown-menu {
        max-height: 1000px;
        padding: 8px 0 14px 14px;
    }

    .mega-menu__intro {
        display: none;
    }

    .mega-menu__links {
        display: block;
    }

    .mega-menu__links a,
    .dropdown-menu a {
        min-height: 42px;
        padding: 9px 12px;
        display: flex;
    }

    .hero {
        background: var(--surface);
    }

    .hero::before {
        display: none;
    }

    .hero-grid {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid,
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(100% - 32px, var(--shell));
    }

    .section {
        padding: 70px 0;
    }

    .topbar__inner div {
        gap: 9px;
        font-size: 0.65rem;
    }

    .hero-grid {
        padding: 60px 0;
    }

    .hero-copy h1 {
        font-size: 3.25rem;
    }

    .hero-panel,
    .auth-card,
    .install-card,
    .calculator-shell {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .trust-strip__grid {
        padding: 22px 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 0;
    }

    .trust-stat:nth-child(2) {
        border-right: 0;
    }

    .card-grid,
    .blog-grid,
    .social-grid,
    .process-grid,
    .calculator-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field--full,
    .form-divider {
        grid-column: 1;
    }

    .inner-hero__content {
        min-height: 390px;
        padding: 56px 0;
    }

    .inner-hero h1 {
        font-size: 3rem;
    }

    .prefooter-cta__inner,
    .footer-bottom,
    .consent-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-bottom nav {
        justify-content: center;
        justify-self: center;
    }

    .floating-whatsapp span,
    .chat-launcher {
        display: none;
    }

    .floating-whatsapp {
        padding: 5px;
    }

    .chat-panel {
        bottom: 78px;
    }

    .auth-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* Final responsive overrides intentionally follow the base stylesheet. */
.main-nav > a,
.nav-group > button { font-size: .96rem; font-weight: 850; }
.dropdown-menu--left { left: 18%; right: auto; }
/* Keep compact desktop dropdowns anchored to their own navigation button. */
@media (min-width: 981px) {
    .main-nav .nav-group--small { position: relative; }
    .main-nav .nav-group--small > .dropdown-menu,
    .main-nav .nav-group--small > .dropdown-menu--left {
        top: calc(100% - 2px);
        left: 0;
        right: auto;
        width: 270px;
        transform: translateY(10px);
    }
    .main-nav .nav-group--small:hover > .dropdown-menu,
    .main-nav .nav-group--small:focus-within > .dropdown-menu {
        transform: translateY(0);
    }
    .main-nav .nav-group--small:last-of-type > .dropdown-menu {
        left: auto;
        right: 0;
    }
}
@media (max-width: 1160px) {
    .main-nav > a,.nav-group > button { font-size: .82rem; }
}
@media (max-width: 980px) {
    .main-nav > a,.nav-group > button { color: var(--navy); background: var(--white); font-size: 1rem; font-weight: 850; }
    .nav-group { width: 100%; }
    .mega-menu__links a,.dropdown-menu a { color: var(--navy); background: var(--surface); font-size: .9rem; font-weight: 750; opacity: 1; }
    .dropdown-menu--left { left: auto; right: auto; }
    .rate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .offer-grid,.team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .partner-hero__grid { grid-template-columns: 1fr; gap: 38px; }
}
@media (max-width: 680px) {
    .rate-grid,.offer-grid,.team-grid { grid-template-columns: 1fr; }
    .lender-logo { width: 190px; }
    .partner-hero__grid { min-height: 0; padding-block: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .logo-marquee { overflow-x: auto; mask-image: none; }
    .logo-marquee__track { animation: none; }
}
@media print {
    .site-header,.topbar,.site-footer,.prefooter-cta,.floating-whatsapp,.chat-launcher,.chat-panel,.consent-banner,.button { display: none !important; }
    .checklist-print label { break-inside: avoid; }
}

/* v2.2.2 professional public header and transform-safe mobile navigation.
   Kept last so historic component rules cannot reintroduce desktop spacing
   or touch-hover transforms into the mobile accordion. */
.header-login-group {
    display: flex;
    align-items: center;
}

@media (min-width: 1201px) {
    .site-header .header-inner {
        width: min(1400px, calc(100% - 40px));
        min-height: 88px;
        grid-template-columns: 172px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .site-header .brand {
        width: 168px;
        height: 60px;
    }

    .site-header .main-nav {
        min-width: 0;
        justify-content: flex-start;
        gap: 2px;
    }

    .site-header .main-nav > a,
    .site-header .nav-group > button {
        min-height: 42px;
        padding-inline: 8px;
        font-size: 0.81rem;
    }

    .site-header .header-actions {
        gap: 10px;
    }

    .site-header .header-login-group {
        padding: 3px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface);
    }

    .site-header .header-actions .login-link {
        min-height: 36px;
        padding: 7px 10px;
        display: inline-flex;
        align-items: center;
        border-radius: 9px;
        font-size: 0.73rem;
    }

    .site-header .header-actions .login-link:hover {
        background: var(--white);
        box-shadow: 0 5px 16px rgba(2, 38, 64, 0.08);
    }

    .site-header .header-actions .login-link + .login-link {
        border-left: 1px solid var(--line);
        border-radius: 0 9px 9px 0;
    }

    .site-header .header-actions .button--small {
        min-height: 44px;
        padding-inline: 15px;
        font-size: 0.72rem;
    }
}

@media (min-width: 1201px) and (max-width: 1360px) {
    .site-header .header-inner {
        width: calc(100% - 28px);
        grid-template-columns: 150px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .site-header .brand {
        width: 146px;
        height: 56px;
    }

    .site-header .main-nav {
        gap: 0;
    }

    .site-header .main-nav > a,
    .site-header .nav-group > button {
        padding-inline: 6px;
        font-size: 0.71rem;
    }

    .site-header .header-actions {
        gap: 7px;
    }

    .site-header .header-actions .login-link {
        padding-inline: 7px;
        font-size: 0.66rem;
    }

    .site-header .header-actions .button--small {
        padding-inline: 11px;
        font-size: 0.66rem;
    }
}

@media (max-width: 1200px) {
    body.nav-open {
        overflow: hidden;
    }

    .site-header .header-inner {
        width: min(100% - 32px, var(--shell));
        min-height: 76px;
        grid-template-columns: 1fr auto;
        gap: 16px;
    }

    .site-header .brand {
        width: 152px;
        height: 54px;
    }

    .site-header .mobile-toggle {
        display: flex;
    }

    .site-header .main-nav,
    .site-header .header-actions {
        display: none;
    }

    .site-header .main-nav.is-open {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        max-width: none;
        max-height: calc(100vh - 118px);
        max-height: calc(100dvh - 118px);
        margin: 0;
        padding: 12px 16px 22px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-top: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 22px 46px rgba(2, 38, 64, 0.16);
        transform: none;
    }

    .site-header .main-nav > a,
    .site-header .nav-group > button {
        width: 100%;
        min-height: 46px;
        padding: 10px 12px;
        justify-content: space-between;
        border: 1px solid transparent;
        border-radius: 10px;
        color: var(--navy);
        background: var(--white);
        font-size: 0.93rem;
        text-align: left;
        transform: none;
    }

    .site-header .main-nav > a:hover,
    .site-header .nav-group > button:hover,
    .site-header .main-nav .is-active,
    .site-header .nav-group.is-open > button {
        color: var(--teal-dark);
        border-color: rgba(5, 181, 164, 0.2);
        background: var(--surface);
        box-shadow: none;
        transform: none;
    }

    .site-header .nav-group {
        position: relative;
        width: 100%;
        min-width: 0;
    }

    .site-header .nav-group > .mega-menu,
    .site-header .nav-group > .dropdown-menu,
    .site-header .nav-group:hover > .mega-menu,
    .site-header .nav-group:focus-within > .mega-menu,
    .site-header .nav-group:hover > .dropdown-menu,
    .site-header .nav-group:focus-within > .dropdown-menu {
        position: static;
        inset: auto;
        width: 100%;
        max-width: none;
        max-height: 0;
        margin: 0;
        padding: 0;
        display: block;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        transition: max-height 0.25s ease, padding 0.25s ease;
    }

    .site-header .nav-group.is-open > .mega-menu,
    .site-header .nav-group.is-open > .dropdown-menu {
        max-height: 1800px;
        padding: 5px 0 10px 12px;
        transform: none !important;
    }

    .site-header .mega-menu__intro {
        display: none;
    }

    .site-header .mega-menu__links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .site-header .mega-menu__links a,
    .site-header .dropdown-menu a {
        width: 100%;
        min-height: 42px;
        padding: 9px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-radius: 9px;
        color: var(--navy);
        background: #f2f8f7;
        font-size: 0.86rem;
        font-weight: 750;
        line-height: 1.35;
        white-space: normal;
        opacity: 1;
        transform: none;
    }

    .site-header .main-nav > a.nav-mobile-action {
        display: inline-flex !important;
        color: var(--teal-dark);
        border-color: rgba(5, 181, 164, 0.18);
        background: #eaf9f6;
    }
}

@media (max-width: 680px) {
    .topbar__inner {
        min-height: 42px;
    }

    .topbar__inner div {
        justify-content: center;
        gap: 7px;
        font-size: 0.62rem;
    }

    .site-header .header-inner {
        width: calc(100% - 24px);
        min-height: 70px;
    }

    .site-header .brand {
        width: 142px;
        height: 50px;
    }

    .site-header .mobile-toggle {
        width: 44px;
        height: 44px;
    }

    .site-header .main-nav.is-open {
        max-height: calc(100vh - 112px);
        max-height: calc(100dvh - 112px);
        padding: 10px 12px 18px;
    }
}
