:root {
    --ink: #271325;
    --muted: #70606d;
    --brand: #9D198E;
    --brand-2: #741069;
    --accent: #F5821F;
    --accent-2: #FFB464;
    --surface: #ffffff;
    --surface-2: #fff7f1;
    --surface-3: #f7e6f5;
    --danger: #9d2a2a;
    --success: #16845f;
    --line: rgba(39, 19, 37, .12);
    --shadow: 0 24px 70px rgba(39, 19, 37, .12);
    --shadow-soft: 0 14px 34px rgba(39, 19, 37, .09);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 999;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

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

.topbar {
    background: var(--brand);
    color: rgba(255,255,255,.88);
    font-size: 13px;
}
.topbar__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar p { margin: 0; }
.topbar__links { display: flex; gap: 16px; align-items: center; white-space: nowrap; }
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: var(--accent-2); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 20px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -.03em;
}
.brand__logo {
    display: block;
    width: clamp(190px, 22vw, 276px);
    height: auto;
}
.brand--footer {
    align-self: flex-start;
    background: #fff;
    padding: 10px 14px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,.16);
}
.brand--footer .brand__logo {
    width: min(100%, 310px);
    max-width: 310px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.primary-nav > a:not(.btn) {
    padding: 10px 12px;
    border-radius: 999px;
    color: #4a3147;
    font-weight: 700;
    font-size: 14px;
}
.primary-nav > a:not(.btn):hover,
.primary-nav > a.is-active {
    background: var(--surface-3);
    color: var(--brand);
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--brand);
    border-radius: 999px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
    background: var(--accent);
    color: #281202;
    box-shadow: 0 12px 26px rgba(245,130,31,.26);
}
.btn--primary:hover { background: var(--accent-2); }
.btn--secondary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 12px 26px rgba(157,25,142,.22);
}
.btn--ghost {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--line);
}
.btn--small { padding: 10px 16px; font-size: 14px; }
.btn--wide { width: 100%; }

.hero {
    position: relative;
    isolation: isolate;
    min-height: 710px;
    overflow: hidden;
    background: var(--brand);
    color: #fff;
}
.hero::before,
.hero__image {
    position: absolute;
    inset: 0;
}
.hero__image {
    background-position: center;
    background-size: cover;
    z-index: -2;
    transform: scale(1.02);
}
.hero::before {
    content: "";
    z-index: -1;
    background:
        radial-gradient(circle at 78% 20%, rgba(245,130,31,.28), transparent 34%),
        linear-gradient(95deg, rgba(39,19,37,.96), rgba(39,19,37,.83) 42%, rgba(39,19,37,.32));
}
.hero__inner {
    min-height: 710px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
    align-items: center;
    gap: 42px;
    padding: 84px 0;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--accent-2);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.eyebrow--dark { color: var(--brand-2); background: var(--surface-3); border-color: transparent; }
.hero h1,
.page-hero h1,
.section-heading h2 {
    letter-spacing: -.055em;
    line-height: 1.02;
}
.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(46px, 7vw, 82px);
}
.hero__lead {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.86);
    font-size: clamp(18px, 2.4vw, 22px);
}
.hero__actions,
.cta__actions,
.page-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.hero__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.16);
    font-weight: 700;
    font-size: 13px;
}
.hero-card {
    background: rgba(255,255,255,.96);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.6);
}
.hero-card h2 { margin: 0 0 16px; font-size: 24px; letter-spacing: -.03em; }
.check-list, .plain-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--muted);
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--brand-2);
    font-size: 13px;
    font-weight: 900;
}
.hero-card__note {
    margin: 20px 0 0;
    padding: 14px;
    border-radius: 16px;
    background: #fff3e8;
    color: #6a3a08;
    font-weight: 700;
    font-size: 14px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--surface-2); }
.section--dark { background: var(--brand); color: #fff; }
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 34px;
}
.section-heading h2 {
    margin: 0;
    font-size: clamp(34px, 4.8vw, 54px);
}
.section-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}
.section--dark .section-heading p { color: rgba(255,255,255,.74); }
.centered { text-align: center; justify-content: center; }
.centered p { margin-inline: auto; }

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

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-soft);
}
.card--no-shadow { box-shadow: none; }
.card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); }
.card__link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-2);
    font-weight: 900;
}
.icon-box {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: var(--surface-3);
    color: var(--brand);
    margin-bottom: 18px;
    font-weight: 900;
}
.icon-box svg { width: 26px; height: 26px; }
.loan-card { position: relative; overflow: hidden; }
.loan-card::after {
    content: "";
    position: absolute;
    inset: auto -50px -68px auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(245,130,31,.14);
}
.loan-card__meta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
}
.loan-card__meta strong { color: var(--brand); }

.feature-split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.image-frame {
    position: relative;
    min-height: 480px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface-3);
}
.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.image-frame__badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    max-width: 300px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow-soft);
    font-weight: 800;
    color: var(--brand);
}
.feature-copy h2 { margin: 0 0 18px; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.05em; }
.feature-copy p { color: var(--muted); margin: 0 0 18px; font-size: 17px; }

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 26px;
}
.stat {
    padding: 18px;
    border-radius: 20px;
    background: var(--surface-2);
    border: 1px solid var(--line);
}
.stat strong { display: block; font-size: 28px; color: var(--brand); letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 700; }

.process {
    counter-reset: steps;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.process__item {
    position: relative;
    padding: 24px 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
}
.process__item::before {
    counter-increment: steps;
    content: counter(steps);
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #281202;
    font-weight: 900;
    margin-bottom: 20px;
}
.process__item h3 { margin: 0 0 10px; font-size: 20px; }
.process__item p { margin: 0; color: rgba(255,255,255,.74); font-size: 14px; }

.cta {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: 48px;
    background: linear-gradient(135deg, var(--brand), #240a24);
    color: #fff;
    box-shadow: var(--shadow);
}
.cta::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(245,130,31,.22);
}
.cta__content { position: relative; z-index: 1; max-width: 760px; }
.cta h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.05em; }
.cta p { color: rgba(255,255,255,.78); font-size: 18px; margin: 16px 0 0; }

.page-hero {
    padding: 72px 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(245,130,31,.20), transparent 28%),
        linear-gradient(135deg, var(--brand), #240a24);
    color: #fff;
}
.page-hero--image {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.page-hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(39,19,37,.92), rgba(39,19,37,.64));
    z-index: -1;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.page-hero h1 { margin: 0; max-width: 820px; font-size: clamp(42px, 6vw, 72px); }
.page-hero p { max-width: 720px; color: rgba(255,255,255,.82); font-size: 19px; margin: 18px 0 0; }

.notice {
    border-left: 5px solid var(--accent);
    background: #fff3e8;
    color: #6a3a08;
    padding: 18px;
    border-radius: 16px;
    font-weight: 700;
}
.notice--green {
    background: var(--surface-3);
    color: var(--brand);
    border-left-color: var(--brand-2);
}

.faq-list { display: grid; gap: 14px; }
.faq-item {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(39,19,37,.05);
}
.faq-item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    background: transparent;
    color: var(--ink);
    border: 0;
    cursor: pointer;
    text-align: left;
    font-weight: 900;
}
.faq-item button::after {
    content: "+";
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--brand);
    font-weight: 900;
}
.faq-item.is-open button::after { content: "−"; }
.faq-answer {
    display: none;
    padding: 0 24px 24px;
    color: var(--muted);
}
.faq-item.is-open .faq-answer { display: block; }
.faq-answer p { margin: 0; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.form-field { display: grid; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
label { font-weight: 800; color: var(--ink); }
input, textarea, select {
    width: 100%;
    border: 1px solid rgba(39,19,37,.18);
    border-radius: 14px;
    padding: 14px 15px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(157,25,142,.12);
}
textarea { min-height: 140px; resize: vertical; }
.help-text { color: var(--muted); font-size: 13px; }
.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--muted);
}
.consent input { width: auto; margin-top: 5px; }
.honeypot { display: none !important; }

.contact-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 28px;
    align-items: start;
}
.contact-card {
    display: grid;
    gap: 16px;
}
.contact-method {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #fff;
}
.contact-method strong { display: block; }
.contact-method a, .contact-method span { color: var(--muted); }

.flash {
    padding: 14px 0;
    font-weight: 800;
}
.flash--success { background: #e6f7f1; color: var(--success); }
.flash--error { background: #fff0f0; color: var(--danger); }

.site-footer {
    background: linear-gradient(135deg, #240a24, #3a1237);
    color: #fff;
    padding: 72px 0 30px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr 1fr;
    gap: 36px;
}
.footer__brand p { color: rgba(255,255,255,.72); max-width: 380px; }
.footer__license { font-size: 13px; }
.site-footer h2 { margin: 0 0 16px; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a { color: rgba(255,255,255,.76); }
.footer__links a:hover { color: #fff; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.62);
    font-size: 13px;
}
.footer__bottom p { margin: 0; }

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    border-radius: 999px;
    background: #1fa463;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 35px rgba(17,104,63,.28);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--surface-2); color: var(--brand); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
tr:last-child td { border-bottom: 0; }

@media (max-width: 980px) {
    .topbar__inner { align-items: flex-start; flex-direction: column; padding: 10px 0; gap: 6px; }
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 22px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .primary-nav.is-open { display: flex; }
    .primary-nav > a:not(.btn), .primary-nav .btn { justify-content: flex-start; border-radius: 14px; }
    .hero__inner,
    .feature-split,
    .contact-grid { grid-template-columns: 1fr; }
    .hero, .hero__inner { min-height: auto; }
    .hero__inner { padding: 82px 0; }
    .grid--4, .grid--3, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
    .container { width: min(100% - 24px, var(--container)); }
    .header__inner { min-height: 72px; }
    .brand__logo { width: 188px; }
    .hero__actions, .cta__actions, .page-actions { align-items: stretch; flex-direction: column; }
    .hero__actions .btn, .cta__actions .btn, .page-actions .btn { width: 100%; }
    .hero-card, .card, .cta { padding: 22px; border-radius: 22px; }
    .section { padding: 68px 0; }
    .grid--4, .grid--3, .grid--2, .process, .stats, .form-grid, .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; }
    .page-hero { padding: 56px 0; }
    .image-frame { min-height: 360px; }
    .floating-whatsapp { left: 16px; right: 16px; }
}


@media (max-width: 420px) {
    .brand__logo { width: 170px; }
}

.direction-link {
    display: inline-block;
    margin-right: 6px;
    color: var(--brand) !important;
    font-weight: 800;
}

.floating-whatsapp {
    gap: 8px;
}
.floating-whatsapp svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.not-found-card {
    display: grid;
    gap: 20px;
}
.quick-links--compact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.quick-links--compact a {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-weight: 800;
}
