/* ==========================================================================
   Trustovia-Capitals — premium editorial design system (blue / white)
   Blue / white palette with serif display (Playfair Display) and Inter body.

   ========================================================================== */

:root {
    /* Blue / white palette */
    --blue-700: #1E3A8A;   /* navy (hover) */
    --blue-600: #2563EB;   /* primary blue */
    --blue-500: #3B82F6;   /* lighter blue */
    --blue-400: #93C5FD;   /* light */
    --blue-100: #EEF4FF;   /* very light blue tint */
    --page:     #F7FAFF;   /* near-white blue */
    --white:    #FFFFFF;
    --heading:  #0F1E3D;   /* dark navy */
    --body:     #4A5670;   /* slate */
    --border:   #E2E8F5;   /* light blue-grey */
    --muted:    #93A0BD;

    --gold:      #2563EB;   /* accent = blue */
    --gold-soft: #93C5FD;

    --radius:      14px;
    --radius-lg:   22px;
    --shadow-sm:   0 1px 2px rgba(15,30,61,.05), 0 1px 3px rgba(15,30,61,.07);
    --shadow-md:   0 6px 20px rgba(15,30,61,.08), 0 2px 8px rgba(15,30,61,.05);
    --shadow-lg:   0 24px 60px rgba(30,58,138,.14), 0 8px 22px rgba(15,30,61,.08);
    --ring:        0 0 0 4px rgba(37,99,235,.18);

    --maxw: 1180px;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--sans); color: var(--body); background: var(--page);
    line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--heading); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.display-italic { font-style: italic; }
p  { margin: 0 0 1rem; }
a  { color: var(--blue-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tint { background: var(--blue-100); }
.section--soft { background: var(--white); }
.center { text-align: center; }
.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .22em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.lead { font-size: 1.14rem; color: var(--body); max-width: 660px; }
.section .center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--sans); font-weight: 600; font-size: .98rem; line-height: 1;
    padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; transition: background .2s, transform .12s, box-shadow .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.24); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--heading); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--gold); color: var(--blue-700); }
.btn--light { background: #fff; color: var(--blue-700); }
.btn--light:hover { background: var(--blue-100); color: var(--blue-700); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #1D4ED8; color: #fff; }
.btn--lg { padding: 18px 36px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--heading); letter-spacing: -0.01em; }
.brand .mark { width: 34px; height: 34px; flex: 0 0 34px; }
.brand .brand-accent { color: #2563EB; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--heading); font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
    border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .86rem; color: var(--heading); cursor: pointer;
}
.lang-btn .flag { width: 20px; height: 14px; display: block; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border);
    border-radius: 14px; box-shadow: var(--shadow-md); padding: 6px; min-width: 176px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--heading); font-size: .92rem; }
.lang-menu a:hover { background: var(--page); }
.lang-menu a.active { color: var(--gold); font-weight: 600; }
.lang-menu .flag { width: 22px; height: 15px; }
.flag svg { display: block; width: 100%; height: 100%; border-radius: 2px; }

/* ---------- Hero (editorial) ---------- */
.hero { position: relative; overflow: hidden; background:
    linear-gradient(120deg, rgba(15,30,61,.86), rgba(37,99,235,.55)),
    url("../img/hero/hero-bg.jpg");
    background-size: cover;
    background-position: center 30%;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(1100px 520px at 88% -10%, rgba(147,197,253,.28), transparent 60%);
}
.hero h1, .hero .eyebrow { color: #fff; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero .trust-row span { color: rgba(255,255,255,.92); }
.hero .trust-row svg { color: #93C5FD; }
.hero .container { position: relative; z-index: 2; padding-top: 84px; padding-bottom: 104px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { max-width: 14ch; margin-bottom: 26px; }
.hero h1 .line-2 { display: block; font-style: italic; color: var(--blue-600); }
.hero .lead { margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--body); font-weight: 500; }
.trust-row svg { color: var(--gold); flex: 0 0 auto; }

/* Estimation card (signature) */
.hero-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 32px; position: relative;
}
.hero-card .cap { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hero-card .amount { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--heading); letter-spacing: -0.01em; margin: 10px 0 6px; }
.hero-card .slider-track { height: 6px; border-radius: 99px; background: var(--blue-100); margin: 22px 0 10px; position: relative; }
.hero-card .slider-fill { position: absolute; left: 0; top: 0; height: 100%; width: 55%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.hero-card .slider-knob { position: absolute; left: 55%; top: 50%; width: 20px; height: 20px; background: #fff; border: 3px solid var(--gold); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: var(--shadow-sm); }
.hero-card .scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.hero-card .mini-rows { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 18px; }
.hero-card .mini-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; font-size: .94rem; }
.hero-card .mini-row b { color: var(--heading); font-size: 1.05rem; }
.hero-card .mini-row.big b { font-family: var(--serif); font-size: 1.5rem; color: var(--blue-600); }
.hero-card .card-note { font-size: .76rem; color: var(--muted); margin: 14px 0 0; text-align: right; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-sm); transition: box-shadow .22s, transform .22s, border-color .22s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold-soft); }
.card .icon {
    width: 50px; height: 50px; border-radius: 12px; background: var(--blue-100);
    display: grid; place-items: center; color: var(--gold); margin-bottom: 18px;
}
.card h3 { margin-bottom: 9px; }
.card p { margin: 0; font-size: .97rem; }

/* Steps */
.step .num {
    width: 46px; height: 46px; border-radius: 50%; background: var(--blue-600); color: #fff;
    font-family: var(--serif); font-weight: 600; display: grid; place-items: center; margin-bottom: 18px; font-size: 1.15rem;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat .big { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--blue-600); }
.stat .lbl { color: var(--body); font-size: .95rem; letter-spacing: .02em; }

/* Representative example */
.example-card { max-width: 740px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.example-head { background: var(--blue-600); color: #fff; padding: 24px 30px; }
.example-head h3 { color: #fff; margin: 0; font-family: var(--serif); font-weight: 600; }
.example-body { padding: 8px 30px 26px; }
.ex-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ex-row:last-of-type { border-bottom: 0; }
.ex-row .k { color: var(--body); font-size: .96rem; }
.ex-row .v { color: var(--heading); font-weight: 600; font-size: 1.06rem; }
.ex-row.hl .v { color: var(--gold); font-family: var(--serif); font-size: 1.3rem; }
.ex-note { font-size: .8rem; color: var(--muted); padding: 0 30px 26px; line-height: 1.6; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); border-radius: var(--radius-lg); padding: 60px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 540px; margin: 0 auto 28px; }

/* ---------- Simulator ---------- */
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sim-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 34px; }
.sim-field { margin-bottom: 26px; }
.sim-field .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.sim-field label { font-weight: 600; color: var(--heading); font-size: .95rem; }
.sim-field .val { font-family: var(--serif); font-size: 1.4rem; color: var(--blue-600); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: var(--blue-100); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: var(--shadow-sm); cursor: pointer; }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; }
.sim-result { background: var(--blue-600); color: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.sim-result .cap { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.sim-result .monthly { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; margin: 8px 0 4px; }
.sim-result .monthly span { font-size: 1.2rem; color: rgba(255,255,255,.7); }
.sim-result .rrow { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .96rem; color: rgba(255,255,255,.85); }
.sim-result .rrow b { color: #fff; }
.sim-result .btn { margin-top: 22px; }
.sim-note { font-size: .8rem; color: var(--muted); margin-top: 16px; line-height: 1.6; }

/* ---------- Solutions ---------- */
.sol-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow .22s, transform .22s, border-color .22s; display: flex; flex-direction: column; }
.sol-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold-soft); }
.sol-card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-100); display: grid; place-items: center; color: var(--gold); margin-bottom: 20px; }
.sol-card h3 { font-family: var(--serif); font-weight: 600; margin-bottom: 10px; }
.sol-card p { font-size: .96rem; margin-bottom: 20px; }
.sol-card .sol-link { margin-top: auto; font-weight: 600; color: var(--gold); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.article-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .22s, transform .22s; display: flex; flex-direction: column; }
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card .cover { height: 168px; background: linear-gradient(135deg, var(--blue-100), var(--gold-soft)); }
.article-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.article-card .meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.article-card h3 { font-family: var(--serif); font-weight: 600; margin-bottom: 10px; }
.article-card p { font-size: .94rem; margin-bottom: 18px; }
.article-card .sol-link { margin-top: auto; font-weight: 600; color: var(--gold); font-size: .92rem; }

/* Article page */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.article h1 { margin-bottom: 20px; }
.article .article-body p { font-size: 1.06rem; color: var(--body); margin-bottom: 1.3rem; line-height: 1.8; }
.article .article-cover { height: 300px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-100), var(--gold-soft)); margin: 0 0 34px; }

/* ---------- Maison ---------- */
.maison-story { display: grid; gap: 40px; }
.maison-block { display: grid; grid-template-columns: 40px 1fr; gap: 22px; align-items: start; }
.maison-block .idx { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.maison-block h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-bottom: 10px; }
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.value .vicon { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-100); color: var(--gold); display: grid; place-items: center; margin: 0 auto 14px; }
.value b { color: var(--heading); font-family: var(--serif); font-weight: 600; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; color: var(--heading); font-size: .92rem; margin-bottom: 8px; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input, .select, .textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--heading); background: var(--page);
    border: 1px solid var(--border); border-radius: 11px; padding: 14px 16px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: var(--ring); }
.textarea { min-height: 120px; resize: vertical; }
.input.err, .select.err, .textarea.err { border-color: #C0532B; background: #FBF0EA; }
.err-msg { color: #B8451F; font-size: .84rem; margin-top: 6px; }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 auto; }
.consent label { font-weight: 400; color: var(--body); font-size: .9rem; line-height: 1.5; margin: 0; }
.secure-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; margin-top: 16px; justify-content: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: 12px; padding: 14px 18px; font-size: .95rem; margin-bottom: 22px; }
.alert--ok { background: #EDF4EC; color: #3B6B41; border: 1px solid #CFE3CC; }
.alert--err { background: #FBF0EA; color: #A8451F; border: 1px solid #ECD3C6; }

.success-wrap { max-width: 580px; margin: 0 auto; text-align: center; }
.success-badge { width: 78px; height: 78px; border-radius: 50%; background: var(--blue-100); color: var(--gold); display: grid; place-items: center; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--heading); color: #d8cec2; padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .brand-accent { color: #60A5FA; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer a { color: #d8cec2; display: block; padding: 5px 0; font-size: .94rem; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-tagline { max-width: 320px; font-size: .96rem; line-height: 1.6; color: #d8cec2; margin-bottom: 18px; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { padding: 4px 0; font-size: .92rem; color: #d8cec2; }
.footer-contact a { display: inline; padding: 0; color: #d8cec2; }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .82rem; color: #a99a8b; }
.footer-bottom span:last-child { max-width: 560px; text-align: right; line-height: 1.6; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; width: min(920px, calc(100% - 32px)); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 24px; display: flex; align-items: center; gap: 20px; }
.cookie.hidden { display: none; }
.cookie p { margin: 0; font-size: .9rem; color: var(--body); flex: 1; }
.cookie .cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie .btn { padding: 12px 22px; font-size: .9rem; }

/* ---------- Mobile ---------- */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--heading); }
@media (max-width: 980px) {
    .hero-grid, .sim-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-card, .sim-result { max-width: 480px; }
    .grid-3, .grid-4, .journal-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .values-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .nav-links, .nav-right > .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-links.open { display: flex; position: absolute; top: 80px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 6px; }
    .nav-links.open a { padding: 10px 0; }
    .grid-3, .grid-4, .grid-2, .stats, .field-row, .journal-grid, .values-row { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 24px; }
    .form-card, .sim-panel, .sim-result { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cookie { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie .cookie-actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Simulator v2 (large value cards, estimated-payment panel)
   ========================================================================== */
.sim2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.sim2-controls { display: grid; gap: 34px; }
.sim2-field label { display: block; font-weight: 600; color: var(--heading); font-size: 1.02rem; margin-bottom: 14px; }
.sim2-valuecard {
    background: var(--blue-600); color: #fff; border-radius: var(--radius-lg);
    padding: 40px 34px; min-height: 150px; display: flex; flex-direction: column; justify-content: center;
    box-shadow: var(--shadow-md);
}
.sim2-valuecard span { font-family: var(--serif); font-size: 3rem; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.sim2-valuecard small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 1.1rem; color: rgba(255,255,255,.72); }
.sim2-scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.sim2-field .range { margin-top: 18px; }

.sim2-result { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; position: sticky; top: 100px; }
.sim2-result .cap { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.sim2-monthly { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 30px; }
.sim2-monthly span { font-family: var(--serif); font-size: 3.6rem; font-weight: 600; color: var(--heading); letter-spacing: -.02em; }
.sim2-monthly em { font-style: normal; font-size: 1.5rem; color: var(--muted); }
.sim2-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.sim2-stats .k { display: block; font-size: .9rem; color: var(--body); margin-bottom: 6px; }
.sim2-stats b { font-size: 1.3rem; color: var(--heading); font-weight: 600; }
.sim2-note { font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 18px 0 0; }

/* ==========================================================================
   Carousel (Solutions)
   ========================================================================== */
.carousel { --per: 3; position: relative; padding: 0 8px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.carousel .slide { flex: 0 0 calc(100% / var(--per)); box-sizing: border-box; padding: 8px 12px 14px; }
.sol-slide { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; transition: box-shadow .22s, transform .22s; }
.sol-slide:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sol-slide-img { height: 190px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.sol-slide-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.sol-slide-body h3 { font-family: var(--serif); font-weight: 600; margin-bottom: 10px; }
.sol-slide-body p { font-size: .96rem; margin-bottom: 20px; }
.sol-slide-body .sol-link { margin-top: auto; font-weight: 600; color: var(--gold); font-size: .92rem; }

.carousel-arrow { position: absolute; top: calc((190px + 16px) / 2); transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); color: var(--heading); cursor: pointer; display: grid; place-items: center; z-index: 3; transition: background .15s, color .15s, border-color .15s; }
.carousel-arrow:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-arrow:disabled:hover { background: #fff; color: var(--heading); border-color: var(--border); }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.carousel-dots button.active { background: var(--gold); width: 26px; border-radius: 6px; }

@media (max-width: 980px) {
    .sim2 { grid-template-columns: 1fr; gap: 30px; }
    .sim2-result { position: static; }
    .carousel { --per: 2; }
}
@media (max-width: 640px) {
    .sim2-valuecard { padding: 30px 24px; min-height: 120px; }
    .sim2-valuecard span { font-size: 2.4rem; }
    .sim2-monthly span { font-size: 2.9rem; }
    .sim2-stats { grid-template-columns: 1fr; gap: 14px; }
    .sim2-result { padding: 28px; }
    .carousel { --per: 1; padding: 0; }
    .carousel-arrow.prev { left: 2px; }
    .carousel-arrow.next { right: 2px; }
}

/* ==========================================================================
   Nav dropdown (Solutions)
   ========================================================================== */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.caret { opacity: .65; transition: transform .2s; }
.caret-btn { position: absolute; top: 0; left: 0; right: 0; height: 100%; background: none; border: 0; cursor: pointer; display: none; }
.dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
    padding: 10px; min-width: 252px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 60;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px; color: var(--heading); font-size: .94rem; font-weight: 500; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--blue-100); color: var(--blue-600); }
.dropdown .di { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex: 0 0 auto; }

@media (max-width: 640px) {
    .nav-item { display: block; width: 100%; }
    .caret-btn { display: block; height: 46px; }
    .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 2px 0 8px 14px; min-width: 0; display: none; }
    .dropdown::before { display: none; }
    .nav-item.open .dropdown { display: block; transform: none; }
    .nav-item:hover .dropdown { transform: none; }
}

/* ---------- Testimonials ---------- */
.testi-card { display: flex; flex-direction: column; }
.testi-stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.testi-text { font-size: .96rem; color: var(--body); line-height: 1.7; flex: 1; margin-bottom: 22px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: var(--blue-600); color: #fff;
    font-family: var(--serif); font-weight: 600; font-size: 1.05rem; display: grid; place-items: center; flex: 0 0 auto;
}
.testi-person b { display: block; color: var(--heading); font-size: .94rem; }
.testi-person span { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }

/* ---------- Success page steps ---------- */
.success-steps { text-align:left; max-width:520px; margin:0 auto 28px; display:grid; gap:14px; }
.success-step { display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:18px 20px; box-shadow:var(--shadow-sm); }
.success-step .ss-num { flex:0 0 auto; width:34px; height:34px; border-radius:50%; background:var(--blue-600); color:#fff; font-family:var(--serif); font-weight:600; display:grid; place-items:center; }
.success-step b { display:block; color:var(--heading); margin-bottom:3px; }
.success-step p { margin:0; font-size:.92rem; color:var(--body); line-height:1.6; }
.success-ref { max-width:520px; margin:0 auto 26px; font-size:.9rem; color:var(--muted); line-height:1.6; }

/* ---------- Success reference box ---------- */
.success-ref-box { display:inline-flex; flex-direction:column; align-items:center; gap:6px; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:20px 40px; margin:0 auto 18px; box-shadow:var(--shadow-sm); }
.success-ref-box .srb-label { font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.success-ref-box .srb-value { font-family:var(--serif); font-size:1.6rem; font-weight:600; color:var(--blue-700); letter-spacing:.04em; }
.success-ref-note { max-width:480px; margin:0 auto 28px; font-size:.9rem; color:var(--muted); line-height:1.6; }
