@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* =========================================================
   LendoraPH Public Website CSS
   Cleaned: merged duplicated polish blocks, removed overrides,
   kept public pages, header, homepage, forms, footer, responsive.
========================================================= */

:root {
    --primary: #0b1f3a;
    --primary-2: #071a2d;
    --blue: #0284c7;
    --blue-soft: #eaf5ff;
    --teal: #16a085;
    --green: #059669;
    --gold: #f4b740;
    --gold-soft: #fff7ed;
    --gold-line: #fed7aa;
    --red: #ef4444;
    --soft: #f4f7fb;
    --soft-2: #f8fbff;
    --white: #ffffff;
    --text: #26364d;
    --muted: #64748b;
    --line: #dbe7f5;
    --line-2: #e7eef8;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.08);
    --radius: 9px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--soft);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: clamp(2.15rem, 4.5vw, 4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.07em;
}

h2 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: clamp(1.55rem, 2.6vw, 2.45rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

h3 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.035);
    backdrop-filter: blur(16px);
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
    color: var(--primary);
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: var(--soft-2);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.brand-text strong span,
.footer-brand span {
    color: var(--teal);
}

.brand-text small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.public-nav-links,
.public-nav-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.public-nav-actions {
    margin-left: auto;
}

.main-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: #334155;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    transition: 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--blue-soft);
}

.nav-login,
.nav-admin-login,
.public-nav-actions .nav-cta {
    min-height: 38px;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.nav-login {
    color: var(--primary);
    background: var(--white);
    border-color: #cfe0f5;
}

.nav-login:hover {
    color: var(--blue);
    background: var(--blue-soft);
    border-color: #93c5fd;
}

.nav-admin-login {
    color: var(--primary);
    background: var(--gold-soft);
    border-color: var(--gold-line);
}

.nav-admin-login:hover {
    color: #92400e;
    background: #fef3c7;
    border-color: var(--gold);
}

.public-nav-actions .nav-cta,
.main-nav .nav-cta {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 12px 26px rgba(2, 132, 199, 0.18);
}

.public-nav-actions .nav-cta:hover,
.main-nav .nav-cta:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.nav-toggle {
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px auto;
    background: var(--primary);
    border-radius: 99px;
}

/* General Sections */

.section {
    padding: 58px 0;
    background: var(--white);
}

.section.muted,
.lp-section-soft {
    background: var(--soft);
}

.lp-section-white {
    background: var(--white);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.section-heading p,
.page-hero p,
.feature-card p,
.mini-card p,
.notice-box p,
.warning-box p,
.contact-card p,
.contact-form p {
    max-width: 680px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.55;
}

.eyebrow,
.lp-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--teal);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow:before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 99px;
}

.lp-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.lp-center .eyebrow {
    justify-content: center;
}

.lp-center .eyebrow:before,
.page-hero .eyebrow:before {
    display: none;
}

.page-hero {
    padding: 68px 0;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(2, 132, 199, 0.12), transparent 32%),
        linear-gradient(180deg, var(--white) 0%, var(--soft) 100%);
}

.page-hero p {
    margin-left: auto;
    margin-right: auto;
}

.investor-hero {
    background:
        radial-gradient(circle at top, rgba(244, 183, 64, 0.16), transparent 32%),
        linear-gradient(180deg, var(--white) 0%, var(--soft) 100%);
}

/* Buttons */

.btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s ease;
}

.btn-primary {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-outline {
    color: var(--primary);
    background: var(--white);
    border-color: #cfe0f5;
}

.btn-outline:hover {
    color: var(--blue);
    background: var(--blue-soft);
    border-color: #93c5fd;
}

.btn-soft {
    color: #92400e;
    background: var(--gold-soft);
    border-color: var(--gold-line);
}

.btn-soft:hover {
    color: #92400e;
    background: #fef3c7;
    border-color: var(--gold);
}

.btn-light {
    color: var(--primary);
    background: var(--white);
    border-color: var(--white);
}

/* Legacy Public Components */

.hero {
    position: relative;
    overflow: hidden;
    padding: 66px 0 58px;
    background:
        radial-gradient(circle at top right, rgba(22, 160, 133, 0.15), transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, var(--white) 100%);
}

.hero-grid,
.split,
.contact-grid {
    display: grid;
    align-items: start;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}

.split {
    grid-template-columns: 0.9fr 1.1fr;
}

.contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.hero-lead {
    max-width: 610px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.cards {
    display: grid;
    gap: 18px;
}

.cards.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.mini-card,
.contact-card,
.contact-form,
.notice-box,
.warning-box,
.loan-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.feature-card {
    min-height: 280px;
}

.feature-card a {
    display: inline-flex;
    margin-top: 14px;
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 900;
}

.icon-circle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: var(--blue);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: var(--blue-soft);
    font-weight: 900;
}

.icon-circle.gold {
    color: #92400e;
    background: #fef3c7;
    border-color: #fde68a;
}

.loan-card-top,
.loan-list div,
.rate-card div,
.values-list div,
.steps div,
.contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.loan-card-top {
    margin-bottom: 22px;
}

.loan-card-top span,
.loan-list span,
.rate-card span,
.contact-row span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.loan-card-top strong {
    color: var(--primary);
    font-size: 1.95rem;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.loan-progress {
    height: 10px;
    padding: 3px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.loan-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--teal));
}

.loan-list,
.rate-card,
.values-list,
.steps {
    display: grid;
    gap: 10px;
}

.loan-list {
    margin: 24px 0;
}

.loan-list div,
.rate-card div,
.values-list div,
.steps div {
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    background: #f8fafc;
}

.loan-list strong,
.rate-card strong {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
    text-align: right;
}

.green {
    color: var(--teal);
}

.loan-note,
.notice-box {
    border-color: #bbf7d0;
    background: #ecfdf5;
    color: #166534;
}

.warning-box {
    border-color: var(--gold-line);
    background: var(--gold-soft);
}

.small-notice {
    margin-top: 22px;
    padding: 18px;
}

.steps div {
    justify-content: flex-start;
    background: var(--white);
}

.steps strong {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    color: var(--white);
    border-radius: 10px;
    background: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
}

.steps span {
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.rate-card strong {
    color: var(--teal);
    font-size: 1.25rem;
}

.values-list div {
    align-items: flex-start;
    flex-direction: column;
}

.values-list strong {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 900;
}

.values-list span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Forms */

.contact-row {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-2);
}

.contact-row strong {
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 900;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    background: var(--white);
    color: #1f2933;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(22, 160, 133, 0.12);
}

.form-alert {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
}

.form-alert.success {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #ecfdf5;
}

.form-alert.error {
    color: #991b1b;
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.check-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
}

.check-row input {
    width: auto;
    margin-top: 5px;
}

.check-row span {
    line-height: 1.5;
}

/* Lively Homepage */

.lp-hero {
    position: relative;
    overflow: hidden;
    padding: 66px 0 58px;
    background:
        radial-gradient(circle at top right, rgba(244, 183, 64, 0.16), transparent 26%),
        radial-gradient(circle at 10% 20%, rgba(22, 160, 133, 0.14), transparent 24%),
        linear-gradient(135deg, var(--white) 0%, var(--soft) 52%, var(--blue-soft) 100%);
}

.lp-hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
    pointer-events: none;
    animation: lpFloat 6s ease-in-out infinite;
}

.lp-hero-glow.one {
    width: 340px;
    height: 340px;
    right: -130px;
    top: 80px;
    background: rgba(2, 132, 199, 0.12);
}

.lp-hero-glow.two {
    width: 240px;
    height: 240px;
    left: -90px;
    bottom: 40px;
    background: rgba(22, 160, 133, 0.12);
    animation-delay: 1.2s;
}

@keyframes lpFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

.lp-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 52px;
}

.lp-pill {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 0 13px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-pill span,
.lp-card-icon,
.lp-path-icon,
.lp-timeline strong,
.lp-products span {
    display: grid;
    place-items: center;
}

.lp-pill span {
    width: 22px;
    height: 22px;
    color: var(--white);
    border-radius: 999px;
    background: var(--blue);
}

.lp-hero-copy h1 {
    max-width: 720px;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: clamp(2.15rem, 4.6vw, 4.15rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.lp-lead {
    max-width: 610px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 550;
    line-height: 1.6;
}

.lp-hero-actions,
.lp-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lp-hero-actions {
    margin-top: 30px;
}

.lp-mini-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 650px;
    margin-top: 30px;
}

.lp-mini-trust div,
.lp-strip-grid div,
.lp-timeline div,
.lp-products article,
.lp-path-card,
.lp-faq-list details,
.lp-final-box,
.lp-main-card,
.lp-floating-card {
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
}

.lp-mini-trust div {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
}

.lp-mini-trust strong,
.lp-strip-grid strong {
    display: block;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
}

.lp-mini-trust span,
.lp-strip-grid span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.lp-hero-visual {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.lp-main-card {
    width: min(410px, 100%);
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 90px rgba(11, 31, 58, 0.14);
    backdrop-filter: blur(16px);
}

.lp-card-head,
.lp-loan-lines div,
.lp-final-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.lp-card-head span,
.lp-progress-wrap small,
.lp-loan-lines span,
.lp-card-note {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.lp-card-head strong {
    display: block;
    margin-top: 8px;
    color: var(--primary);
    font-size: 1.95rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.065em;
}

.lp-card-icon {
    width: 46px;
    height: 46px;
    color: var(--white);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    font-size: 1.25rem;
    font-weight: 900;
}

.lp-progress-wrap {
    margin: 26px 0;
}

.lp-progress-wrap small {
    display: block;
    margin-top: 9px;
}

.lp-progress-bar {
    height: 12px;
    padding: 3px;
    border-radius: 999px;
    background: #e2e8f0;
}

.lp-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
    animation: lpPulse 2.8s ease-in-out infinite;
}

@keyframes lpPulse {
    0%,
    100% {
        opacity: 0.82;
    }

    50% {
        opacity: 1;
    }
}

.lp-loan-lines {
    display: grid;
    gap: 10px;
}

.lp-loan-lines div {
    align-items: center;
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.lp-loan-lines strong {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
    text-align: right;
}

.lp-green {
    color: var(--teal);
}

.lp-card-note {
    margin-top: 18px;
    padding: 15px;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #ecfdf5;
    font-weight: 650;
}

.lp-floating-card {
    position: absolute;
    min-width: 145px;
    padding: 13px;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(11, 31, 58, 0.12);
    animation: lpFloat 5.5s ease-in-out infinite;
}

.lp-floating-card.top {
    top: 64px;
    right: 0;
}

.lp-floating-card.bottom {
    left: 0;
    bottom: 72px;
    animation-delay: 1.1s;
}

.lp-floating-card span {
    display: block;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.lp-floating-card strong {
    display: block;
    margin-top: 7px;
    color: var(--primary);
    font-size: 0.98rem;
    font-weight: 900;
}

.lp-strip {
    padding: 20px 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lp-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.lp-strip-grid div {
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--soft-2);
}

.lp-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.lp-path-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: var(--radius-xl);
}

.lp-path-card:after {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    right: -80px;
    top: -80px;
    border-radius: 999px;
    opacity: 0.12;
}

.lp-path-card.borrower:after {
    background: var(--blue);
}

.lp-path-card.investor:after {
    background: var(--gold);
}

.lp-path-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    color: var(--white);
    border-radius: 16px;
    background: var(--blue);
    font-size: 1.25rem;
    font-weight: 900;
}

.lp-path-card.investor .lp-path-icon {
    color: var(--primary);
    background: var(--gold);
}

.lp-path-card h3 {
    max-width: 520px;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.05em;
}

.lp-path-card p,
.lp-section-dark p,
.lp-final-box p {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.55;
}

.lp-path-card ul {
    display: grid;
    gap: 9px;
    margin: 20px 0 22px;
    padding: 0;
    list-style: none;
}

.lp-path-card li {
    position: relative;
    padding-left: 24px;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 750;
}

.lp-path-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 900;
}

.lp-path-card a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    color: var(--white);
    background: var(--blue);
    border-radius: var(--radius);
    font-size: 0.86rem;
    font-weight: 900;
}

.lp-path-card.investor a {
    color: var(--primary);
    background: #fef3c7;
    border: 1px solid var(--gold-line);
}

.lp-timeline,
.lp-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lp-timeline div,
.lp-products article {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.lp-timeline strong {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    color: var(--white);
    border-radius: 12px;
    background: var(--blue);
    font-size: 0.85rem;
    font-weight: 900;
}

.lp-timeline h3,
.lp-products h3 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.98rem;
    font-weight: 900;
}

.lp-timeline p,
.lp-products p,
.lp-faq-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.lp-products article {
    transition: 0.2s ease;
}

.lp-products article:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.lp-products span {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: var(--blue-soft);
    font-size: 1.2rem;
}

.lp-section-dark {
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(244, 183, 64, 0.22), transparent 28%),
        linear-gradient(135deg, var(--primary), var(--primary-2));
}

.lp-dark-grid,
.lp-faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: center;
}

.lp-section-dark .eyebrow,
.lp-section-dark h2 {
    color: var(--white);
}

.lp-section-dark p,
.lp-dark-cards span {
    color: rgba(255, 255, 255, 0.78);
}

.lp-dark-cards {
    display: grid;
    gap: 14px;
}

.lp-dark-cards div {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.lp-dark-cards strong {
    display: block;
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 900;
}

.lp-dark-cards span {
    display: block;
    margin-top: 7px;
    font-size: 0.9rem;
    font-weight: 500;
}

.lp-faq-list {
    display: grid;
    gap: 12px;
}

.lp-faq-list details {
    border-radius: 16px;
    overflow: hidden;
}

.lp-faq-list summary {
    cursor: pointer;
    padding: 15px 18px;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 900;
}

.lp-faq-list p {
    padding: 0 18px 15px;
}

.lp-final-cta {
    padding: 56px 0;
    background: var(--white);
}

.lp-final-box {
    align-items: center;
    gap: 30px;
    padding: 30px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(2, 132, 199, 0.12), transparent 26%),
        var(--soft-2);
    box-shadow: var(--shadow-lg);
}

.lp-final-box span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--teal);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lp-final-box h2 {
    max-width: 720px;
    margin-bottom: 12px;
}

.lp-final-box p {
    max-width: 680px;
    margin-bottom: 0;
}

.lp-final-actions {
    justify-content: flex-end;
}

/* CTA and Footer */

.cta-section {
    background: var(--soft);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-box p {
    max-width: 680px;
    color: var(--muted);
}

.site-footer {
    padding: 48px 0 22px;
    color: #cbd5e1;
    background: var(--primary-2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 900;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--white);
}

.site-footer p,
.site-footer a,
.footer-bottom {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
}

.site-footer h4 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
    color: #cbd5e1;
    font-weight: 700;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-portal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.footer-portal-actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 900;
}

.footer-portal-actions a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin-bottom: 0;
}

/* Responsive */

@media (max-width: 1050px) {
    .main-nav {
        gap: 10px;
    }

    .public-nav-links,
    .public-nav-actions {
        gap: 5px;
    }

    .nav-login,
    .nav-admin-login,
    .public-nav-actions .nav-cta {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.78rem;
    }

    .lp-hero-grid,
    .lp-dark-grid,
    .lp-faq-grid {
        grid-template-columns: 1fr;
    }

    .lp-strip-grid,
    .lp-timeline,
    .lp-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-path-grid {
        grid-template-columns: 1fr;
    }

    .lp-final-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .lp-final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: grid;
    }

    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        background: var(--white);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        justify-content: flex-start;
    }

    .public-nav-links,
    .public-nav-actions {
        display: grid;
        gap: 8px;
    }

    .public-nav-actions {
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px solid var(--line-2);
    }

    .nav-login,
    .nav-admin-login,
    .public-nav-actions .nav-cta {
        width: 100%;
        min-height: 44px;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cards.two,
    .cards.three,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 58px;
    }

    .cta-box,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .lp-hero {
        padding: 58px 0 48px;
    }

    .lp-hero-copy h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .lp-lead {
        font-size: 0.88rem;
    }

    h2 {
        font-size: clamp(1.45rem, 8vw, 2rem);
    }

    .section {
        padding: 48px 0;
    }

    .lp-mini-trust,
    .lp-strip-grid,
    .lp-timeline,
    .lp-products {
        grid-template-columns: 1fr;
    }

    .lp-hero-actions,
    .lp-final-actions,
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .lp-hero-actions .btn,
    .lp-final-actions .btn,
    .hero-actions .btn {
        width: 100%;
    }

    .lp-floating-card {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 14px;
        animation: none;
    }

    .lp-hero-visual {
        display: block;
        min-height: auto;
    }

    .lp-main-card {
        width: 100%;
    }

    .lp-final-box {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .brand {
        min-width: auto;
    }

    .brand-text small {
        display: none;
    }

    .btn {
        width: 100%;
    }

    .loan-card {
        padding: 20px;
    }

    h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }
}

/* =========================================================
   LendoraPH Final Public Website Polish
   Graphite + Emerald + Indigo
   Smaller fonts / cleaner public UI
========================================================= */

:root {
    --primary: #111827;
    --primary-2: #1e1b4b;
    --blue: #4f46e5;
    --blue-soft: #eef2ff;
    --teal: #10b981;
    --green: #047857;
    --gold: #d97706;
    --gold-soft: #fff7ed;
    --gold-line: #fed7aa;
    --red: #dc2626;
    --soft: #f6f7fb;
    --soft-2: #f9fafb;
    --white: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --line-2: #edf0f4;
    --shadow: 0 8px 22px rgba(17, 24, 39, 0.045);
    --shadow-lg: 0 24px 70px rgba(17, 24, 39, 0.08);
    --radius: 10px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

body {
    color: var(--text);
    background: var(--soft);
    font-size: 13px;
    line-height: 1.45;
}

h1 {
    font-size: clamp(1.95rem, 4.2vw, 3.55rem);
    letter-spacing: -0.07em;
}

h2 {
    font-size: clamp(1.35rem, 2.3vw, 2.05rem);
    letter-spacing: -0.055em;
}

h3 {
    font-size: 0.92rem;
}

.container {
    width: min(1080px, calc(100% - 36px));
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.035);
}

.nav-wrap {
    min-height: 66px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 13px;
}

.brand-text strong {
    font-size: 0.96rem;
}

.brand-text small {
    font-size: 0.6rem;
}

.main-nav a {
    min-height: 36px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: 0.72rem;
}

.nav-login,
.nav-admin-login,
.public-nav-actions .nav-cta,
.main-nav .nav-cta,
.btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 0.72rem;
}

.public-nav-actions .nav-cta,
.main-nav .nav-cta,
.btn-primary {
    background: linear-gradient(135deg, #10b981, #4f46e5);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.16);
}

.public-nav-actions .nav-cta:hover,
.main-nav .nav-cta:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #059669, #4338ca);
}

.nav-login:hover,
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--blue-soft);
}

.section {
    padding: 50px 0;
}

.page-hero {
    padding: 58px 0;
    background:
        radial-gradient(circle at top, rgba(16, 185, 129, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.hero,
.lp-hero {
    padding: 58px 0 50px;
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.10), transparent 34%),
        linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.hero-lead,
.section-heading p,
.page-hero p,
.feature-card p,
.mini-card p,
.notice-box p,
.warning-box p,
.contact-card p,
.contact-form p {
    font-size: 0.8rem;
    line-height: 1.55;
}

.eyebrow,
.lp-card-label {
    color: var(--teal);
    font-size: 0.58rem;
}

.eyebrow:before {
    background: var(--gold);
}

.feature-card,
.mini-card,
.contact-card,
.contact-form,
.notice-box,
.warning-box,
.loan-card,
.lp-card,
.lp-panel,
.lp-stat-card {
    border-color: var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.045);
}

.feature-card,
.mini-card,
.contact-card,
.contact-form,
.notice-box,
.warning-box,
.loan-card {
    padding: 18px;
}

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #4f46e5;
    background: var(--blue-soft);
    border-color: var(--blue-soft);
}

.loan-card-top span,
.loan-list span,
.rate-card span,
.contact-row span {
    font-size: 0.72rem;
}

.loan-card-top strong {
    font-size: 1.55rem;
}

.loan-list div,
.rate-card div,
.values-list div,
.steps div {
    padding: 12px 13px;
    border-radius: 14px;
}

.loan-list strong,
.rate-card strong,
.contact-row strong {
    font-size: 0.76rem;
}

.steps strong {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981, #4f46e5);
    font-size: 0.72rem;
}

.steps span {
    font-size: 0.8rem;
}

.contact-form label {
    font-size: 0.78rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
}

.form-alert,
.check-row {
    font-size: 0.76rem;
}

.site-footer,
.footer {
    font-size: 0.76rem;
}

@media (max-width: 900px) {
    .nav-wrap {
        min-height: 62px;
    }

    .container {
        width: min(100% - 32px, 1080px);
    }
}


/* =========================================================
   LendoraPH Public Website System Feature Polish
   Added after rewards + no-grace penalty + Pay Now integration.
========================================================= */

.lp-hero-v2 {
    background:
        radial-gradient(circle at 82% 8%, rgba(79, 70, 229, 0.12), transparent 30%),
        radial-gradient(circle at 18% 20%, rgba(16, 185, 129, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.lp-hero-v2 .lp-hero-copy h1 {
    max-width: 780px;
}

.lp-mini-trust-v2 div {
    min-height: 108px;
}

.lp-system-card .lp-card-head small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 750;
}

.lp-strip-v2 .lp-strip-grid div {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(249,250,251,0.95));
}

.lp-feature-matrix {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.lp-feature-matrix article {
    min-height: 210px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lp-feature-matrix article:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.30);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.075);
}

.lp-feature-matrix article span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    color: #ffffff;
    border-radius: 11px;
    background: linear-gradient(135deg, #10b981, #4f46e5);
    font-size: 0.72rem;
    font-weight: 950;
}

.lp-feature-matrix h3 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.93rem;
    font-weight: 950;
    line-height: 1.2;
}

.lp-feature-matrix p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 550;
    line-height: 1.55;
}

.lp-timeline-v2 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lp-timeline-v2 div {
    min-height: 205px;
}

.lp-dashboard-preview {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: center;
}

.lp-preview-panel {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 34%),
        #ffffff;
    box-shadow: var(--shadow-lg);
}

.lp-preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.lp-preview-head span {
    display: block;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-preview-head strong {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    color: #047857;
    border-radius: 999px;
    background: #dcfce7;
    font-size: 0.66rem;
    font-weight: 950;
    text-transform: uppercase;
}

.lp-preview-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lp-preview-stats div,
.lp-preview-table div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #f9fafb;
}

.lp-preview-stats span,
.lp-preview-table span {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.61rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lp-preview-stats strong,
.lp-preview-table strong {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.lp-preview-table {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.lp-preview-table div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-preview-table div strong {
    width: auto;
    color: #047857;
    text-align: right;
    font-size: 0.75rem;
}

.lp-preview-table div:last-child strong {
    color: #4f46e5;
}

.lp-preview-copy p {
    max-width: 620px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.lp-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 0;
}

.lp-check-grid div {
    position: relative;
    padding: 12px 12px 12px 36px;
    color: #1f2937;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #ffffff;
    font-size: 0.76rem;
    font-weight: 850;
}

.lp-check-grid div:before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    color: #ffffff;
    border-radius: 999px;
    background: #10b981;
    font-size: 0.66rem;
    font-weight: 950;
}

.polished-footer .footer-note + .footer-note {
    margin-top: 12px;
}

@media (max-width: 1120px) {
    .lp-feature-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-timeline-v2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lp-dashboard-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .lp-feature-matrix,
    .lp-timeline-v2,
    .lp-preview-stats,
    .lp-check-grid {
        grid-template-columns: 1fr;
    }

    .lp-feature-matrix article,
    .lp-timeline-v2 div {
        min-height: auto;
    }

    .lp-preview-panel {
        padding: 18px;
        border-radius: 20px;
    }

    .lp-preview-table div {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
