
/* =========================================================
   STARSCLICK FINANCE
   COMPLETE MAIN STYLESHEET
========================================================= */


/* =========================================================
   01. GLOBAL SETTINGS
========================================================= */

* {
    box-sizing: border-box;
}

:root {
    --red: #ed1c2e;
    --red-dark: #c91424;
    --black: #101215;
    --ink: #17191d;
    --muted: #727781;
    --line: #e8e9ec;
    --soft: #f6f7f9;
    --sidebar: 238px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #f3f4f6;
}

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

button {
    font: inherit;
    cursor: pointer;
}


/* =========================================================
   02. MAIN LAYOUT
========================================================= */

.site-shell {
    min-height: 100vh;
}

.main-area {
    margin-left: var(--sidebar);
    min-width: 0;
}


/* =========================================================
   03. SIDEBAR
========================================================= */

.sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    width: var(--sidebar);

    background: #111418;
    color: #f8f8f8;

    display: flex;
    flex-direction: column;

    overflow-y: auto;
    box-shadow: 8px 0 30px #00000012;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 24px 18px 22px;

    border-bottom: 1px solid #2a2d32;
}

.brand-star {
    color: var(--red);
    font-size: 31px;
    line-height: 1;
    text-shadow: 0 0 18px #ed1c2e40;
}

.brand-copy,
.top-brand > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-copy b,
.top-brand b {
    font-size: 15px;
    letter-spacing: .5px;
    color: #fff;
}

.brand-copy small,
.top-brand small {
    font-size: 8px;
    color: #aeb2b9;
    letter-spacing: .3px;
}


/* Sidebar Label */

.side-label {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #858a93;

    padding: 22px 20px 9px;

    font-weight: 700;
}


/* Sidebar Links */

.side-link,
.portal-link {
    border: 0;
    background: transparent;
    color: #d6d8dd;

    display: flex;
    align-items: center;
    gap: 12px;

    text-align: left;
    padding: 12px 18px;

    font-size: 12px;
    width: 100%;

    transition: .2s;
}

.side-link > span:first-child {
    width: 20px;
    color: #a8adb5;
    font-size: 17px;
    text-align: center;
}

.side-link:hover,
.side-link.active,
.portal-link:hover {
    background: #24272d;
    color: #fff;
}

.side-link.active {
    border-left: 3px solid var(--red);
    padding-left: 15px;
}

.side-link.active > span:first-child {
    color: var(--red);
}


/* Sidebar Dropdown */

.side-dropdown-trigger .chevron {
    margin-left: auto;
    color: #9ea3ac;
}

.side-submenu {
    display: none;
    padding: 2px 0 7px 50px;
    background: #0c0e11;
}

.side-submenu.open {
    display: grid;
}

.side-submenu a {
    font-size: 11px;
    color: #bfc3ca;

    padding: 9px 8px;

    border-left: 1px solid #3a3d43;
}

.side-submenu a:hover {
    color: #fff;
    border-left: 2px solid var(--red);
}


/* Sidebar Bottom */

.sidebar-bottom {
    margin-top: auto;
    padding-bottom: 18px;
}

.sidebar-bottom .side-label {
    padding-top: 18px;
}


/* Portal Links */

.portal-link {
    padding: 9px 18px;
    font-size: 11px;
}

.portal-link > span:last-child {
    margin-left: auto;
    color: #8d929a;
}


/* Portal Icons */

.portal-dot {
    width: 22px;
    height: 22px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    font-size: 10px;
    font-weight: 700;
    color: white;
}

.portal-dot.red {
    background: #ed1c2e;
}

.portal-dot.blue {
    background: #2877c7;
}

.portal-dot.green {
    background: #15a68b;
}

.portal-dot.orange {
    background: #ed8b22;
}


/* Logout */

.logout-link {
    color: #ff6875;
}


/* Customer Sidebar Button */

.customer-side {
    margin: 15px 15px 0;
    width: calc(100% - 30px);

    border: 0;
    border-radius: 6px;

    background: var(--red);
    color: white;

    font-weight: 700;
    font-size: 12px;

    padding: 13px 12px;

    display: flex;
    justify-content: space-between;
}

.customer-side:hover {
    background: var(--red-dark);
}


/* Sidebar Close Button */

.mobile-menu,
.sidebar-close {
    display: none;
}


/* =========================================================
   04. TOP NAVIGATION BAR
========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 35;

    display: flex;
    align-items: center;
    gap: 22px;

    min-height: 66px;

    background: #111418;
    padding: 0 28px;

    box-shadow: 0 4px 20px #00000012;
}


/* Top Brand */

.top-brand {
    display: none;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}


/* Desktop Navigation */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: clamp(10px, 1.4vw, 23px);
    flex: 1;
}

.desktop-nav a {
    font-size: 10px;
    color: #d7d9de;
    white-space: nowrap;
    transition: .2s;
}

.desktop-nav a:hover {
    color: #fff;
}


/* Top Actions */

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

    margin-left: auto;
    white-space: nowrap;
}


/* Language Button */

.language-btn,
.search-btn,
.icon-btn {
    border: 0;
    background: transparent;
    color: #f4f4f5;
}

.language-btn {
    font-size: 10px;
}

.language-btn span {
    color: #686d75;
    padding: 0 4px;
}


/* Search Button */

.search-btn {
    font-size: 23px;
}


/* Customer Button */

.customer-btn {
    border: 0;
    background: var(--red);
    color: #fff;

    border-radius: 5px;

    padding: 12px 15px;

    font-size: 10px;
    font-weight: 700;

    box-shadow: 0 6px 18px #ed1c2e35;
}

.customer-btn span {
    margin-left: 7px;
}

.customer-btn:hover {
    background: var(--red-dark);
}


/* =========================================================
   05. SEARCH PANEL
========================================================= */

.search-panel {
    display: none;

    position: sticky;
    top: 66px;
    z-index: 34;

    background: #202329;

    padding: 12px 28px;
    gap: 8px;
}

.search-panel.open {
    display: flex;
}

.search-panel input {
    flex: 1;
    min-width: 0;

    padding: 12px;

    border-radius: 5px;
    border: 1px solid #444;

    background: #15171b;
    color: white;
}

.search-panel button {
    border: 0;
    border-radius: 5px;

    background: var(--red);
    color: white;

    padding: 0 18px;
}


/* =========================================================
   06. HERO SECTION
========================================================= */

.hero {
    min-height: 430px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
            #10151b
            url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=85')
            center 48% / cover no-repeat;

    color: #fff;
}


/* Hero Background Image Overlay */

.hero:after {
    content: "";

    position: absolute;
    inset: 0;

    background:
            url('https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=1200&q=80')
            right center / auto 100% no-repeat;

    opacity: .52;
    mix-blend-mode: screen;

    mask-image:
            linear-gradient(90deg, transparent 35%, #000 75%);
}


/* Hero Dark Overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
            linear-gradient(
                    90deg,
                    #0b1018 0%,
                    #0b1018f2 29%,
                    #0b10189c 57%,
                    #0b10182b 100%
            ),
            linear-gradient(
                    0deg,
                    #080b10a8,
                    transparent 50%
            );
}


/* Hero Content */

.hero-content {
    position: relative;
    z-index: 2;

    padding: 60px clamp(28px, 5vw, 76px);

    max-width: 690px;
}


/* Hero Eyebrow */

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #f2f2f3;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 20px;
}

.eyebrow > span:first-child {
    width: 23px;
    height: 2px;
    background: var(--red);
}


/* Hero Headings */

h1,
h2,
p {
    margin-top: 0;
}

.hero h1 {
    font-size: clamp(36px, 4.2vw, 61px);
    line-height: 1.08;
    letter-spacing: -2px;

    margin: 0 0 16px;

    font-weight: 800;
}

.hero h1 em {
    font-style: normal;
    color: #ff263a;
}


/* Hero Description */

.hero-content > p {
    font-size: 15px;
    color: #e0e2e6;
    margin-bottom: 26px;
}


/* Hero Buttons */

.hero-buttons {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    border-radius: 5px;
    padding: 14px 18px;

    font-size: 11px;
    font-weight: 700;

    transition: transform .2s, background .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-red {
    background: var(--red);
    color: white;

    box-shadow: 0 8px 22px #ed1c2e30;
}

.btn-red:hover {
    background: var(--red-dark);
}

.btn-outline {
    border: 1px solid #ffffff85;
    color: #fff;
    background: #ffffff0a;
}


/* Hero Note */

.hero-note {
    margin-top: 35px;

    font-size: 10px;
    color: #c8cbd0;

    display: flex;
    align-items: center;
    gap: 9px;
}

.live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #f62b3d;
    box-shadow: 0 0 0 4px #ed1c2e2b;
}


/* Hero Pagination */

.hero-pagination {
    position: absolute;
    bottom: 18px;
    left: 50%;

    display: flex;
    gap: 7px;

    z-index: 2;
}

.hero-pagination span {
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #ffffff7a;
}

.hero-pagination span.active {
    width: 21px;
    border-radius: 5px;
    background: var(--red);
}


/* =========================================================
   07. TRUST STRIP
========================================================= */

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: white;

    border-bottom: 1px solid var(--line);

    padding: 20px 30px;
    gap: 14px;
}

.trust-strip > div {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    font-size: 10px;
    color: #3d4148;
}

.trust-icon {
    font-size: 21px;
    color: var(--red);
}


/* =========================================================
   08. COMMON SECTION STYLES
========================================================= */

.section {
    padding: 54px clamp(22px, 3.2vw, 48px);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
    margin-bottom: 25px;
}

.section-kicker {
    font-size: 9px;
    letter-spacing: 1.8px;
    font-weight: 800;

    color: var(--red);

    display: block;
    margin-bottom: 10px;
}

.section-heading h2,
.info-panel h2 {
    font-size: clamp(22px, 2.2vw, 29px);
    letter-spacing: -.8px;

    margin: 0 0 8px;
}

.section-heading p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.text-link {
    font-size: 10px;
    font-weight: 700;
    color: var(--red);

    white-space: nowrap;
    padding-bottom: 4px;
}

.text-link span {
    font-size: 15px;
    margin-left: 7px;
}


/* =========================================================
   09. LOAN SECTION
========================================================= */

.loans-section {
    background: #f7f8fa;
}

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


/* Loan Card */

.loan-card {
    display: flex;
    align-items: center;

    gap: 12px;

    position: relative;

    min-height: 88px;

    background: #fff;

    border: 1px solid #e9eaed;
    border-radius: 7px;

    padding: 15px 12px;

    transition: .22s;

    box-shadow: 0 4px 12px #10121504;
}

.loan-card:hover {
    border-color: #ffb5bc;

    transform: translateY(-3px);

    box-shadow: 0 10px 24px #1012150c;
}


/* Loan Icon */

.loan-icon {
    flex: 0 0 37px;

    width: 37px;
    height: 37px;

    border-radius: 9px;

    background: #fff0f1;
    color: var(--red);

    display: grid;
    place-items: center;

    font-size: 21px;
}


/* Loan Text */

.loan-card > span:nth-child(2) {
    display: flex;
    flex-direction: column;

    gap: 6px;
    min-width: 0;
}

.loan-card b {
    font-size: 11px;
}

.loan-card small {
    font-size: 9px;
    color: #81858d;
    line-height: 1.4;
}


/* Loan Arrow */

.card-arrow {
    position: absolute;
    right: 10px;
    top: 9px;

    color: #c1c4ca;
    font-size: 12px;
}


/* =========================================================
   10. FEATURE BAND
========================================================= */

.feature-band {
    background: #111418;
    color: white;

    display: grid;
    grid-template-columns: 1.3fr 1fr;

    gap: 45px;

    padding: 52px clamp(24px, 4vw, 60px);

    position: relative;
    overflow: hidden;
}


/* Feature Background Decoration */

.feature-band:after {
    content: "★";

    position: absolute;
    right: 5%;
    top: -80px;

    font-size: 350px;
    color: #ffffff05;

    pointer-events: none;
}


/* Feature Content */

.feature-copy,
.feature-stats {
    position: relative;
    z-index: 1;
}

.section-kicker.light {
    color: #ff5361;
}

.feature-copy h2 {
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.15;

    max-width: 490px;

    letter-spacing: -1px;
    margin-bottom: 14px;
}

.feature-copy p {
    font-size: 12px;
    color: #b9bdc5;

    line-height: 1.8;

    max-width: 500px;
    margin-bottom: 22px;
}


/* Feature Statistics */

.feature-stats {
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
}

.feature-stats > div {
    display: flex;
    align-items: center;

    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid #ffffff19;
}

.feature-stats > div:last-child {
    border: 0;
}

.feature-stats b {
    font-size: 26px;
    color: var(--red);
    font-weight: 800;
}

.feature-stats span {
    font-size: 12px;
    color: #e0e2e6;
}


/* =========================================================
   11. GALLERY SECTION
========================================================= */

.gallery-section {
    background: white;
}


/* Slider Controls */

.slider-controls {
    display: flex;
    gap: 8px;
}

.slider-controls button {
    width: 37px;
    height: 37px;

    border: 1px solid #e4e5e8;
    background: white;

    border-radius: 50%;

    font-size: 17px;
    color: #292c31;
}

.slider-controls button:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
}


/* Gallery Track */

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


/* Gallery Card */

.gallery-card {
    border: 1px solid #e9eaed;
    border-radius: 8px;

    overflow: hidden;
    background: #fff;
}

.gallery-card img {
    width: 100%;
    height: 185px;

    object-fit: cover;
    display: block;

    transition: transform .5s;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-card > div {
    padding: 15px;
}

.gallery-card b,
.gallery-card small {
    display: block;
}

.gallery-card b {
    font-size: 12px;
    margin-bottom: 6px;
}

.gallery-card small {
    font-size: 10px;
    color: var(--muted);
}


/* =========================================================
   12. INFORMATION SECTION
========================================================= */

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;

    background: #f6f7f9;
}


/* Information Panel */

.info-panel {
    background: white;

    border: 1px solid #e7e8eb;
    border-radius: 9px;

    padding: 24px 23px;
}


/* Panel Heading */

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 15px;
}

.panel-heading .section-kicker {
    margin-bottom: 7px;
}


/* Panel Symbol */

.panel-symbol {
    width: 38px;
    height: 38px;

    border-radius: 9px;

    background: #fff0f1;
    color: var(--red);

    display: grid;
    place-items: center;

    font-size: 21px;
}

.info-panel h2 {
    font-size: 22px;
    margin-bottom: 0;
}


/* Information Links */

.info-link {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 0;

    border-top: 1px solid #f0f1f3;
}

.info-link > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.info-link > span:last-child {
    color: #8c9199;
    font-size: 19px;
}

.info-link b,
.info-link small {
    display: block;
}

.info-link b {
    font-size: 11px;
    margin-bottom: 5px;
}

.info-link small {
    font-size: 9px;
    color: #8a8e96;
}


/* Information Link Icons */

.info-link-icon,
.rule-icon {
    width: 30px;
    height: 30px;

    border-radius: 8px;

    background: #f0f2f5;
    color: #30343b;

    display: grid;
    place-items: center;

    font-size: 15px;
    flex-shrink: 0;
}

.rule-icon {
    color: var(--red);
    background: #fff0f1;
}


/* Editable Note */

.editable-note {
    font-size: 9px;
    color: #9a9ea5;

    margin: 12px 0 0;

    line-height: 1.5;
}


/* =========================================================
   13. CONTACT SECTION
========================================================= */

.contact-band {
    margin: 0 clamp(22px, 3.2vw, 48px) 35px;

    border-radius: 10px;

    background: linear-gradient(110deg, #111418, #1c2026);

    border-left: 4px solid var(--red);

    padding: 28px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: white;
}

.contact-band h2 {
    font-size: clamp(22px, 2.5vw, 30px);

    margin: 0 0 8px;

    letter-spacing: -.7px;
}

.contact-band p {
    color: #bfc3ca;
    font-size: 11px;
    margin: 0;
}


/* =========================================================
   14. FOOTER
========================================================= */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 20px clamp(22px, 3.2vw, 48px);

    background: #0d0f12;
    color: #9ca1aa;

    font-size: 9px;
}

.footer-brand {
    color: white;
    font-size: 12px;
    font-weight: 800;

    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-brand .brand-star {
    font-size: 22px;
}


/* =========================================================
   15. OVERLAY
========================================================= */

.overlay {
    display: none;
}


/* =========================================================
   16. TOAST MESSAGE
========================================================= */

.toast {
    position: fixed;
    z-index: 100;

    bottom: 22px;
    left: 50%;

    transform: translate(-50%, 20px);

    background: #191b20;
    color: #fff;

    padding: 12px 18px;

    border-radius: 7px;

    font-size: 12px;

    box-shadow: 0 10px 30px #0002;

    opacity: 0;
    pointer-events: none;

    transition: .25s;

    max-width: calc(100% - 30px);
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}


/* =========================================================
   17. APPLICATION FORM
========================================================= */

.application-section {
    padding: 25px 15px;
    background: #f4f7fb;
}


/* Application Card */

.application-card {
    max-width: 1000px;
    margin: auto;

    padding: 25px;

    background: #fff;

    border: 1px solid #dce5f0;
    border-radius: 12px;

    box-shadow: 0 5px 20px rgba(0, 40, 90, 0.08);
}


/* Application Header */

.application-header {
    margin-bottom: 25px;
    padding-bottom: 15px;

    border-bottom: 1px solid #e2e8f0;
}

.application-header h2 {
    margin: 0 0 8px;
    color: #174b83;
}

.application-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}


/* Application Grid */

.application-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* Application Fields */

.application-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.application-field.full-width {
    grid-column: 1 / -1;
}


/* Field Labels */

.application-field label {
    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;

    color: #24364b;
}


/* Input, Select and Textarea */

.application-field input,
.application-field select,
.application-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 12px;

    border: 1px solid #ccd6e3;
    border-radius: 7px;

    background: #fff;

    font-size: 14px;

    outline: none;
}


/* Form Focus */

.application-field input:focus,
.application-field select:focus,
.application-field textarea:focus {
    border-color: #1769d2;

    box-shadow: 0 0 0 3px rgba(23, 105, 210, .10);
}


/* Textarea */

.application-field textarea {
    resize: vertical;
}


/* Application Actions */

.application-actions {
    display: flex;
    justify-content: flex-end;

    flex-wrap: wrap;
    gap: 12px;

    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid #e2e8f0;
}

.application-actions button {
    padding: 12px 20px;

    border-radius: 7px;
    border: none;

    font-weight: 600;
    cursor: pointer;
}


/* Cancel Button */

.application-cancel {
    background: #e8edf4;
    color: #334155;
}


/* Submit Button */

.application-submit {
    background: #1769d2;
    color: #fff;
}

.application-submit:hover {
    background: #1055ad;
}


/* =========================================================
   18. LOGIN DROPDOWN
========================================================= */

.login-dropdown {
    position: relative;
    display: inline-block;
}


/* Login Dropdown Button */

.login-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 12px 16px;

    background: #fff;
    color: #1e293b;

    height: 30px;

    border: 1px solid #dbe2ea;
    border-radius: 7px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}


/* Dropdown Arrow */

.login-dropdown-btn i {
    font-size: 11px;
    transition: transform 0.3s;
}

.login-dropdown.active .login-dropdown-btn i {
    transform: rotate(180deg);
}


/* Dropdown Menu */

.login-dropdown-menu {
    display: none;

    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    width: 190px;

    padding: 6px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 8px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);

    z-index: 9999;
}

.login-dropdown.active .login-dropdown-menu {
    display: block;
}


/* Dropdown Links */

.login-dropdown-menu a {
    display: block;

    padding: 11px 12px;

    color: #334155;
    text-decoration: none;

    font-size: 13px;

    border-radius: 5px;
}

.login-dropdown-menu a:hover {
    background: #eff6ff;
    color: #2563eb;
}


/* =========================================================
   19. LARGE SCREEN RESPONSIVE
   SCREEN WIDTH: 1500px AND ABOVE
========================================================= */

@media (min-width: 1500px) {

    :root {
        --sidebar: 255px;
    }

    .hero {
        min-height: 490px;
    }

    .hero-content {
        padding-left: 85px;
    }

    .loan-card {
        min-height: 98px;
    }

    .gallery-card img {
        height: 220px;
    }

}


/* =========================================================
   20. LAPTOP RESPONSIVE
   SCREEN WIDTH: 1200px AND BELOW
========================================================= */

@media (max-width: 1200px) {

    :root {
        --sidebar: 210px;
    }

    .topbar {
        padding: 0 18px;
        gap: 14px;
    }

    .desktop-nav {
        gap: 11px;
    }

    .desktop-nav a {
        font-size: 9px;
    }

    .top-actions {
        gap: 9px;
    }

    .customer-btn {
        padding: 11px 10px;
    }

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

    .hero {
        min-height: 400px;
    }

}


/* =========================================================
   21. TABLET RESPONSIVE
   SCREEN WIDTH: 980px AND BELOW
========================================================= */

@media (max-width: 980px) {

    :root {
        --sidebar: 250px;
    }

    /* Sidebar Mobile Behavior */

    .sidebar {
        transform: translateX(-105%);

        transition: transform .28s ease;

        box-shadow: 10px 0 35px #0004;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-close {
        display: block;

        margin-left: auto;

        font-size: 25px;
    }

    /* Background Overlay */

    .overlay.show {
        display: block;

        position: fixed;
        inset: 0;

        z-index: 45;

        background: #080a0dcc;
    }

    /* Main Content */

    .main-area {
        margin-left: 0;
    }

    /* Topbar */

    .topbar {
        min-height: 64px;
        padding: 0 20px;
    }

    .mobile-menu {
        display: block;
        font-size: 21px;
        padding: 5px;
    }

    .top-brand {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .top-actions {
        margin-left: auto;
    }

    /* Hero */

    .hero {
        min-height: 390px;
    }

    .hero-content {
        padding: 55px 35px;
    }

    /* Information Section */

    .info-grid {
        padding-top: 38px;
        padding-bottom: 38px;
    }

}

@media (max-width: 640px) {

    /* Topbar */

    .topbar {
        gap: 10px;
        padding: 0 13px;
        min-height: 61px;
    }

    .top-brand .brand-star {
        font-size: 25px;
    }

    .top-brand b {
        font-size: 12px;
    }

    .top-brand small {
        font-size: 7px;
    }

    .top-actions {
        gap: 7px;
    }

    .language-btn {
        font-size: 9px;
        padding: 5px 0;
    }

    .search-btn {
        display: none;
    }

    .customer-btn {
        padding: 10px 9px;
        font-size: 9px;
    }

    .customer-btn span {
        display: none;
    }


    /* Hero Section */

    .hero {
        min-height: 440px;
        background-position: 56% center;
    }

    .hero:after {
        background-position: 67% center;
        opacity: .34;
    }

    .hero-overlay {
        background:
                linear-gradient(
                        90deg,
                        #0b1018f5,
                        #0b1018b8 68%,
                        #0b101865
                ),
                linear-gradient(
                        0deg,
                        #080b10a8,
                        transparent 60%
                );
    }

    .hero-content {
        padding: 48px 22px 60px;
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.5px;
        margin-bottom: 17px;
    }

    .hero h1 {
        font-size: clamp(35px, 10vw, 48px);
        letter-spacing: -1.5px;
    }

    .hero-content > p {
        font-size: 12px;
        line-height: 1.7;
        max-width: 290px;
    }

    .btn {
        font-size: 10px;
        padding: 13px 13px;
    }

    .hero-note {
        font-size: 9px;
        margin-top: 27px;
    }


    /* Trust Strip */

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);

        padding: 17px 12px;

        gap: 17px 8px;
    }

    .trust-strip > div {
        justify-content: flex-start;

        padding-left: 8px;

        font-size: 9px;
    }

    .trust-icon {
        font-size: 19px;
    }


    /* Common Sections */

    .section {
        padding: 37px 17px;
    }

    .section-heading {
        align-items: flex-start;

        margin-bottom: 19px;
        gap: 12px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .section-heading p {
        font-size: 10px;
        line-height: 1.6;
    }

    .section-kicker {
        font-size: 8px;
        margin-bottom: 8px;
    }

    .text-link {
        font-size: 9px;
        padding-top: 25px;
    }


    /* Loan Section */

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

    .loan-card {
        min-height: 83px;
        padding: 12px 9px;
        gap: 8px;
    }

    .loan-icon {
        width: 32px;
        height: 32px;

        flex-basis: 32px;

        font-size: 18px;
    }

    .loan-card b {
        font-size: 10px;
    }

    .loan-card small {
        font-size: 8px;
    }

    .card-arrow {
        right: 7px;
        top: 6px;
        font-size: 10px;
    }


    /* Feature Band */

    .feature-band {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 37px 22px;
    }

    .feature-copy h2 {
        font-size: 29px;
    }

    .feature-copy p {
        font-size: 11px;
    }

    .feature-stats {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feature-stats > div {
        padding: 12px 0;
    }

    .feature-stats b {
        font-size: 22px;
    }


    /* Gallery */

    .gallery-track {
        display: flex;

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        gap: 12px;

        padding-bottom: 6px;

        scrollbar-width: thin;
    }

    .gallery-card {
        flex: 0 0 83%;
        scroll-snap-align: start;
    }

    .gallery-card img {
        height: 175px;
    }

    .slider-controls button {
        width: 32px;
        height: 32px;
    }


    /* Information Section */

    .info-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .info-panel {
        padding: 20px 16px;
    }

    .info-panel h2 {
        font-size: 21px;
    }


    /* Contact Band */

    .contact-band {
        margin: 0 17px 25px;

        padding: 23px 18px;

        align-items: flex-start;
        flex-direction: column;
    }

    .contact-band h2 {
        font-size: 24px;
    }

    .contact-band p {
        line-height: 1.7;
    }


    /* Footer */

    .footer {
        flex-wrap: wrap;

        justify-content: center;
        text-align: center;

        padding: 19px 15px;
        gap: 12px;
    }

    .footer-brand {
        width: 100%;
        justify-content: center;
    }


    /* Search Panel */

    .search-panel {
        top: 61px;
        padding: 10px 13px;
    }

    .search-panel button {
        padding: 0 12px;
    }


    /* Application Form Mobile */

    .application-card {
        padding: 16px;
    }

    .application-grid {
        grid-template-columns: 1fr;
    }

    .application-field.full-width {
        grid-column: auto;
    }

    .application-actions {
        flex-direction: column;
    }

    .application-actions button {
        width: 100%;
    }

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}

