:root {
    --navy: #0a376d;
    --navy-2: #0d3f78;
    --gold: #c9972b;
    --gold-light: #e1b957;
    --cream: #f7f5ef;
    --white: #fff;
    --text: #263746;
    --muted: #41484f;
    --border: #e5e9ee;
    --shadow: 0 12px 35px rgba(8, 47, 95, .10);
    --radius: 14px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.7
}

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

.container {
    width: min(1160px, 92%);
    margin: auto
}

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 13px
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0
}

.top-contact {
    display: flex;
    gap: 22px;
    flex-wrap: wrap
}

.top-tag {
    color: #e8d8ad
}

.site-header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .06);
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Logo size */

.brand {
    display: flex;
    align-items: center;
    width: 270px;
    height: 82px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.footer-logo {
    width: 120px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 15px;
}

/* social media icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #c9a34e;
    border-color: #c9a34e;
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 520px) {
    .footer-logo {
        width: 190px;
        height: auto;
    }
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px
}

.brand img {
    width: 350px;
    max-width: 68vw;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 600
}

.main-nav a {
    padding: 29px 0;
    border-bottom: 0
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy)
}

.main-nav .nav-cta {
    background: var(--gold);
    color: #fff;
    padding: 11px 18px;
    border-radius: 7px;
    border: 0
}

.main-nav .nav-cta:hover {
    background: var(--navy);
    color: #fff
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    color: var(--navy)
}

.hero {
    min-height: 370px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(8, 47, 95, .98) 0%, rgba(8, 47, 95, .90) 42%, rgba(8, 47, 95, .48) 72%, rgba(8, 47, 95, .20) 100%), url("../assets/heroimg.jpeg") center/cover
        /* background: linear-gradient(90deg, rgba(8, 47, 95, .98) 0%, rgba(8, 47, 95, .90) 42%, rgba(8, 47, 95, .48) 72%, rgba(8, 47, 95, .20) 100%), url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=2000&q=90") center/cover */
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    color: #fff
}

.hero-copy {
    max-width: 760px
}

.eyebrow {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 12px
}

.hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    margin-bottom: 22px
}

.hero h1 span {
    color: var(--gold-light)
}

.hero-text {
    font-size: 18px;
    max-width: 690px;
    color: #f1f5f8;
    margin-bottom: 30px
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 7px;
    font-weight: 700;
    transition: .2s;
    border: 1px solid transparent
}

.btn-gold {
    background: var(--gold);
    color: #fff
}

.btn-gold:hover {
    background: #a97d1e;
    transform: translateY(-2px)
}

.btn-outline {
    border-color: #fff;
    color: #fff
}

.btn-outline:hover {
    background: #fff;
    color: var(--navy)
}


.experience-badge img {
    width: 150px;
    height: 170px;
    border-radius: 20px;
}

.trust-strip {
    background: var(--cream);
    border-bottom: 1px solid #e7e0cf
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 0;
    gap: 20px
}

.trust-grid>div {
    border-right: 1px solid #d8cdb5;
    padding-left: 25px
}

.trust-grid>div:last-child {
    border: 0
}

.trust-grid strong,
.trust-grid span {
    display: block
}

.trust-grid strong {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    color: var(--navy)
}

.trust-grid span {
    color: var(--muted);
    font-size: 13px
}

.section {
    padding: 85px 0
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 45px
}

.section-heading h2,
.section h2 {
    font: 700 38px/1.2 "Playfair Display", Georgia, serif;
    color: var(--navy);
    margin-bottom: 12px
}

.section-heading p:last-child {
    color: var(--muted)
}

.service-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold-light);
    font-size: 28px;
    margin-bottom: 20px
}

.service-card h3,
.large-service h3,
.loan-card h3,
.topic-card h3,
.why-card h3,
.info-box h3 {
    font-family: "Playfair Display", serif;
    color: var(--navy);
    font-size: 30px;
    line-height: 1.3
}

.service-card ul {
    list-style: none;
    margin: 16px 0 20px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    flex: 1
}

.service-card li {
    margin: 5px 0
}

.service-card li:before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
    margin-right: 8px
}

.service-card a {
    color: var(--gold);
    font-weight: 700;
    font-size: 14px
}

.dark-band {
    background: var(--navy);
    color: #fff;
    padding: 75px 0
}

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center
}

.dark-band h2 {
    font: 700 42px/1.2 "Playfair Display", serif;
    margin-bottom: 18px
}

.dark-band p {
    color: #d9e4ee
}

.gold-text {
    color: var(--gold-light)
}

.feature-list {
    display: grid;
    gap: 15px
}

.feature-list>div {
    display: flex;
    gap: 18px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.feature-list b {
    color: var(--gold-light);
    font-size: 22px
}

.feature-list span {
    display: grid
}

.feature-list strong {
    color: #fff
}

.cta-section {
    background: var(--cream);
    padding: 40px 0
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.cta-inner h2 {
    font: 700 29px "Playfair Display", serif;
    color: var(--navy)
}

.page-hero {
    position: relative;
    isolation: isolate;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-image: var(--hero-image), linear-gradient(100deg, var(--navy), #123f6e);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 78px 0
}

.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 27, 54, .92) 0%, rgba(8, 47, 95, .76) 48%, rgba(8, 47, 95, .42) 100%);
    z-index: -1
}

.page-hero h1 {
    font: 700 48px/1.15 "Playfair Display", serif;
    margin-bottom: 10px;
    max-width: 850px
}

.page-hero p:last-child {
    color: #dce7f0;
    max-width: 760px
}

.page-hero .eyebrow {
    color: var(--gold-light);
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 12px
}

.narrow {
    max-width: 900px
}

.narrow p {
    margin: 0 0 18px;
    color: #52616e
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 45px 0
}

.info-box {
    padding: 28px;
    background: var(--cream);
    border-left: 4px solid var(--gold);
    border-radius: 8px
}

.info-box p {
    margin: 10px 0 0
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px
}

.check-grid span {
    background: #fff;
    border: 1px solid var(--border);
    padding: 13px 16px;
    border-radius: 8px;
    color: var(--text)
}

.check-grid span:first-letter {
    color: var(--gold)
}

.large-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 30px 0 55px
}

.large-service {
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 25px rgba(8, 47, 95, .06)
}

.large-service p {
    color: var(--muted);
    margin-top: 10px;
    font-size: 14px
}

.section-title-gap {
    margin-top: 65px
}

.pill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px
}

.pill {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--cream);
    font-weight: 600;
    color: var(--navy)
}

.search-box {
    margin-bottom: 25px
}

.search-box input {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    outline: none
}

.search-box input:focus {
    border-color: var(--gold)
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 10px
}

.table-wrap table {
    border-collapse: collapse;
    width: 100%;
    min-width: 850px
}

.table-wrap th {
    background: var(--navy);
    color: #fff;
    text-align: left;
    padding: 15px
}

.table-wrap td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    vertical-align: top
}

.table-wrap tr:nth-child(even) {
    background: #fafafa
}

.table-wrap td strong {
    color: var(--navy)
}

.small-note {
    font-size: 13px;
    color: #74818d;
    margin-top: 18px
}

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

.loan-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow)
}

.loan-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold-light);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 18px
}

.loan-card p {
    color: var(--muted);
    margin: 10px 0
}

.loan-card small {
    color: #63717d
}

.notice {
    margin-top: 35px;
    padding: 18px 20px;
    background: #fff7df;
    border-left: 4px solid var(--gold);
    color: #624e20
}

.process-list {
    max-width: 900px
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border)
}

.process-step>b {
    font: 700 30px "Playfair Display", serif;
    color: var(--gold)
}

.process-step h3 {
    font: 700 24px "Playfair Display", serif;
    color: var(--navy)
}

.process-step p {
    color: var(--muted)
}

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

.why-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 12px
}

.why-card span {
    font: 700 18px "Playfair Display", serif;
    color: var(--gold)
}

.why-card p {
    color: var(--muted);
    margin-top: 10px
}

.faq-list {
    max-width: 900px
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden
}

.faq-question {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 19px 22px;
    text-align: left;
    font: 600 16px "DM Sans";
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    cursor: pointer
}

.faq-question span {
    color: var(--gold);
    font-size: 23px
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
    color: var(--muted)
}

.faq-item.open .faq-answer {
    display: block
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.topic-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    background: #fff;
    box-shadow: var(--shadow)
}

.topic-card p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 9px
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 65px
}

.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 25px
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 7px;
    font: inherit;
    color: var(--text);
    background: #fff
}

.contact-form textarea {
    resize: vertical
}

.hp {
    display: none !important
}

.contact-info {
    background: var(--cream);
    padding: 32px;
    border-radius: 12px
}

.contact-info>div {
    padding: 15px 0;
    border-bottom: 1px solid #ddd4c2
}

.contact-info strong {
    color: var(--navy)
}

.contact-info p {
    color: var(--muted)
}

/* whatapp  button coding */
.whatsapp-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-link i {
    color: #25D366;
    font-size: 30px;
}

.whatsapp-link:hover i {
    color: #20b957;
}

/* whatapp code fininsh */
.alert {
    padding: 13px 16px;
    border-radius: 7px;
    margin-top: 15px
}

.success {
    background: #e9f7ee;
    color: #17643b
}

.error {
    background: #fff0f0;
    color: #9a2828
}

.footer {
    background: #061f3e;
    color: #d8e2ec;
    padding-top: 55px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px
}

.footer-logo {
    width: 300px;
    max-width: 100%;
    margin-bottom: 15px
}

.footer h3 {
    color: #fff;
    margin-bottom: 14px;
    font-family: "Playfair Display", serif
}

.footer-grid a {
    display: block;
    margin: 5px 0;
    color: #c7d4df
}

.footer-grid p {
    color: #b9c7d3
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1)
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    font-size: 12px;
}

.footer-bottom a {
    color: var(--gold-light)
}

/* social-media */
/* Footer Social Media Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a i {
    line-height: 1;
}

.social-icons a:hover {
    color: #ffffff;
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-3px);
}

@media(max-width:1000px) {
    .main-nav {
        gap: 14px
    }

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

    .large-service-grid,
    .loan-grid,
    .why-grid,
    .topic-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:780px) {
    .top-tag {
        display: none
    }

    .top-contact {
        gap: 10px
    }

    .top-contact span:nth-child(3) {
        display: none
    }

    .nav-wrap {
        min-height: 72px
    }

    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        background: #fff;
        padding: 10px 5%;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 0 !important;
    }

    .main-nav a:after {
        display: none !important;
    }

    .main-nav .nav-cta {
        text-align: center;
        margin: 7px 0
    }

    .hero {
        min-height: 650px
    }

    .hero-content {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 70px
    }

    .experience-badge {
        display: none
    }

    .hero h1 {
        font-size: 45px
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .trust-grid>div {
        border: 0
    }

    .section {
        padding: 60px 0
    }

    .split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .dark-band h2 {
        font-size: 34px
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .info-grid,
    .check-grid,
    .pill-grid {
        grid-template-columns: 1fr
    }

    .page-hero {
        min-height: 260px;
        padding: 62px 0
    }

    .page-hero:before {
        background: linear-gradient(90deg, rgba(5, 27, 54, .94), rgba(8, 47, 95, .62))
    }

    .page-hero h1 {
        font-size: 38px
    }

    .large-service-grid,
    .loan-grid,
    .why-grid,
    .topic-grid {
        grid-template-columns: 1fr
    }

    .process-step {
        grid-template-columns: 55px 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom .container {
        flex-direction: column
    }
}

@media(max-width:520px) {
    .brand {
        width: 210px;
        height: 65px;
    }

    .brand img {
        width: 100%;
        height: 100%;
    }
}

.hero h1 {
    font-size: 38px
}

.hero-text {
    font-size: 16px
}

.service-grid {
    grid-template-columns: 1fr
}

.top-contact span {
    font-size: 11px
}

.client-story {
    padding: 88px 0;
    background: #fff
}

.client-story-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
    align-items: center
}

.client-story-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(8, 47, 95, .16);
    min-height: 510px
}

.client-story-image img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
    display: block
}

.client-story-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 47, 95, 0) 55%, rgba(8, 47, 95, .72) 100%)
}

.client-image-badge {
    position: absolute;
    left: 25px;
    bottom: 24px;
    z-index: 2;
    background: rgba(255, 255, 255, .96);
    padding: 15px 19px;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12)
}

.client-image-badge strong {
    display: block;
    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: 18px
}

.client-image-badge span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px
}

.client-story-copy h2 {
    font: 700 42px/1.2 "Playfair Display", Georgia, serif;
    color: var(--navy);
    margin-bottom: 18px
}

.client-story-copy>p:not(.eyebrow) {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 25px
}

.client-points {
    display: grid;
    gap: 12px;
    margin: 0 0 28px
}

.client-points>div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border)
}

.client-points span {
    font: 700 18px "Playfair Display", serif;
    color: var(--gold)
}

.client-points p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55
}

.client-points strong {
    color: var(--navy)
}

@media(max-width:780px) {
    .client-story {
        padding: 60px 0
    }

    .client-story-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .client-story-image,
    .client-story-image img {
        min-height: 390px
    }

    .client-story-copy h2 {
        font-size: 34px
    }
}

.section-heading {
    max-width: 820px;
    margin-bottom: 30px
}

.section-heading h2 {
    font: 700 38px/1.2 "Playfair Display", serif;
    color: var(--navy);
    margin: 8px 0 10px
}

.section-heading p:last-child {
    color: var(--muted)
}

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

.deed-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(8, 47, 95, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease
}

.deed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(8, 47, 95, .11);
    border-color: #d8c08a
}

.deed-card-number {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px
}

.deed-card h3 {
    font: 700 22px/1.25 "Playfair Display", serif;
    color: var(--navy);
    margin-bottom: 10px
}

.deed-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 16px
}

.deed-card-law {
    font-size: 12px;
    line-height: 1.5;
    color: #657583;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: auto
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 700;
    font-size: 13px;
    margin-top: 18px
}

.text-link span {
    color: var(--gold);
    font-size: 18px
}

.deed-detail-wrap {
    max-width: 900px
}

.back-link {
    display: inline-block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 25px
}

.deed-detail-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 42px;
    background: #fff;
    box-shadow: var(--shadow);
    margin-bottom: 28px
}

.deed-detail-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--navy);
    color: var(--gold-light);
    font-weight: 700;
    margin-bottom: 25px
}

.deed-detail-card h2 {
    font: 700 40px/1.2 "Playfair Display", serif;
    color: var(--navy);
    margin: 7px 0 16px
}

.definition-large {
    font-size: 19px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 28px
}

.definition-meta {
    display: grid;
    gap: 7px;
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 18px 20px;
    border-radius: 7px
}

.definition-meta strong {
    color: var(--navy)
}

.definition-meta span {
    color: var(--muted);
    font-size: 14px
}

@media(max-width:1000px) {
    .deed-card-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:780px) {
    .deed-card-grid {
        grid-template-columns: 1fr
    }

    .section-heading h2 {
        font-size: 32px
    }

    .deed-detail-card {
        padding: 28px
    }

    .deed-detail-card h2 {
        font-size: 32px
    }

    .definition-large {
        font-size: 17px
    }
}

/* Expanded Services Navigation & Knowledge Library */
.nav-dropdown {
    position: relative
}

.nav-drop-trigger {
    display: flex !important;
    align-items: center;
    gap: 5px
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 290px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(8, 47, 95, .15);
    padding: 9px;
    z-index: 100
}

.nav-dropdown-menu:before {
    content: "";
    position: absolute;
    top: -8px;
    left: 24px;
    width: 15px;
    height: 15px;
    background: #fff;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg)
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block
}

.nav-dropdown-menu a {
    display: block !important;
    padding: 11px 12px !important;
    border-radius: 7px;
    font-size: 13px !important;
    color: var(--navy) !important
}

/* Dropdown links should have no nav underline/border crossing the text. */
.nav-dropdown-menu a,
.nav-dropdown-menu a:hover {
    border-bottom: 0 !important;
}

.nav-dropdown-menu a:after {
    display: none !important;
    content: none !important;
}

.nav-dropdown-menu a:hover {
    background: var(--cream);
    color: var(--navy) !important
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0
}

.check-list li {
    padding: 8px 0;
    color: var(--muted);
    font-size: 14px;
    border-bottom: 1px solid var(--border)
}

.check-list li:last-child {
    border-bottom: 0
}

@media(max-width:780px) {
    .nav-dropdown-menu {
        position: static;
        width: auto;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 15px;
        display: block
    }

    .nav-dropdown-menu:before {
        display: none
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: block
    }

    .nav-dropdown-menu a {
        padding: 9px 0 !important
    }

    .nav-drop-trigger {
        padding-bottom: 5px !important
    }
}


/* Final refinements: clean Services chevron and deed numbering */
.nav-drop-trigger .nav-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 3px;
    margin-top: -3px;
    transition: transform .2s ease
}

.nav-dropdown:hover .nav-drop-trigger .nav-chevron,
.nav-drop-trigger:focus .nav-chevron {
    transform: rotate(225deg);
    margin-top: 3px
}

.deed-counter {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 4px 9px;
    border: 1px solid rgba(225, 185, 87, .55);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    vertical-align: middle
}

.deed-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px
}

.deed-detail-top .deed-detail-icon {
    margin-bottom: 0
}

.deed-number-label {
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    background: var(--cream);
    border: 1px solid #e7dfcf;
    border-radius: 999px;
    padding: 8px 13px;
    white-space: nowrap
}

.deed-number-label span {
    color: var(--muted);
    font-weight: 600
}

.deed-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    margin: 0 0 25px;
    padding-top: 4px
}

.deed-nav {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    transition: .2s
}

.deed-nav.previous {
    justify-self: start
}

.deed-nav.next {
    justify-self: end
}

.deed-nav.all-deeds {
    justify-self: center;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px
}

.deed-nav:hover {
    color: var(--gold)
}

.deed-nav.all-deeds:hover {
    border-color: var(--gold);
    background: var(--cream)
}

.deed-nav.disabled {
    opacity: .35;
    pointer-events: none
}

@media(max-width:780px) {
    .deed-detail-top {
        align-items: flex-start
    }

    .deed-number-label {
        font-size: 10px;
        padding: 7px 10px
    }

    .deed-pagination {
        grid-template-columns: 1fr 1fr
    }

    .deed-nav.all-deeds {
        grid-column: 1 / -1;
        grid-row: 1
    }

    .deed-nav.previous,
    .deed-nav.next {
        grid-row: 2
    }

    .deed-counter {
        margin-left: 5px;
        font-size: 10px;
        padding: 3px 7px
    }
}

/* =========================================================
   MODERN MOTION LAYER — Property Deeds
   Lightweight CSS/JS effects; no animation library required.
   ========================================================= */

:root {
    --ease-premium: cubic-bezier(.22, 1, .36, 1);
    --gold-rgb: 201, 151, 43;
}

body {
    overflow-x: hidden
}

::selection {
    background: var(--gold);
    color: #fff
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
    pointer-events: none
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    box-shadow: 0 0 12px rgba(var(--gold-rgb), .6)
}

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 9998;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 16px;
    transition: opacity .6s var(--ease-premium), visibility .6s
}

.page-loader.is-loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.loader-mark {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    font: 700 26px "Playfair Display", serif;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .025), 0 20px 55px rgba(0, 0, 0, .25);
    animation: loaderFloat 1.5s ease-in-out infinite
}

.loader-mark span {
    color: var(--gold-light)
}

.loader-line {
    width: 120px;
    height: 2px;
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
    border-radius: 20px
}

.loader-line:after {
    content: "";
    display: block;
    width: 45%;
    height: 100%;
    background: var(--gold-light);
    animation: loaderLine 1s ease-in-out infinite
}

@keyframes loaderFloat {
    50% {
        transform: translateY(-7px) rotate(2deg)
    }
}

@keyframes loaderLine {
    0% {
        transform: translateX(-110%)
    }

    100% {
        transform: translateX(280%)
    }
}

.site-header {
    transition: box-shadow .35s ease, background .35s ease, transform .35s ease
}

.site-header.scrolled {
    box-shadow: 0 10px 35px rgba(8, 47, 95, .12);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px)
}

.main-nav a {
    position: relative;
    transition: color .25s ease
}

.main-nav a:not(.nav-cta):after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 22px;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease-premium)
}

.main-nav a:not(.nav-cta):hover:after,
.main-nav a.active:not(.nav-cta):after {
    transform: scaleX(1);
    transform-origin: left
}

.main-nav .nav-cta {
    box-shadow: 0 8px 20px rgba(var(--gold-rgb), .2);
    transition: transform .25s var(--ease-premium), box-shadow .25s
}

.main-nav .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 47, 95, .2)
}

.hero {
    min-height: clamp(430px, 52vh, 500px);
    overflow: hidden;
    background-position: center;
    animation: heroZoom 14s ease-out both
}

@keyframes heroZoom {
    from {
        background-size: 108% auto
    }

    to {
        background-size: 100% auto
    }
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 76% 38%, rgba(225, 185, 87, .16), transparent 24%),
        linear-gradient(90deg, rgba(8, 47, 95, .18), transparent 60%);
    z-index: 0
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-content {
    min-height: 430px
}

.hero-copy>* {
    opacity: 0;
    animation: heroIn .85s var(--ease-premium) forwards
}

.hero-copy .eyebrow {
    animation-delay: .15s
}

.hero-copy h1 {
    animation-delay: .28s
}

.hero-copy .hero-text {
    animation-delay: .4s
}

.hero-copy .hero-actions {
    animation-delay: .52s
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(26px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(1px);
    mix-blend-mode: screen;
    opacity: .5
}

.orb-one {
    width: 270px;
    height: 270px;
    right: 7%;
    top: 10%;
    background: radial-gradient(circle, rgba(225, 185, 87, .2), transparent 68%);
    animation: orbMove 8s ease-in-out infinite
}

.orb-two {
    width: 180px;
    height: 180px;
    right: 25%;
    bottom: -35px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
    animation: orbMove 11s ease-in-out infinite reverse
}

@keyframes orbMove {

    0%,
    100% {
        transform: translate3d(0, 0, 0)
    }

    50% {
        transform: translate3d(-20px, 18px, 0)
    }
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .11;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
    animation: gridDrift 18s linear infinite
}

@keyframes gridDrift {
    to {
        background-position: 70px 70px
    }
}

.hero-particles i {
    position: absolute;
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-light);
    opacity: .55;
    z-index: 1;
    box-shadow: 0 0 12px rgba(var(--gold-rgb), .7);
    animation: particleFloat 7s ease-in-out infinite
}

.hero-particles i:nth-child(1) {
    left: 54%;
    top: 24%;
    animation-delay: -1s
}

.hero-particles i:nth-child(2) {
    left: 64%;
    top: 68%;
    animation-delay: -3s
}

.hero-particles i:nth-child(3) {
    left: 72%;
    top: 35%;
    animation-delay: -5s
}

.hero-particles i:nth-child(4) {
    left: 82%;
    top: 72%;
    animation-delay: -2s
}

.hero-particles i:nth-child(5) {
    left: 91%;
    top: 28%;
    animation-delay: -4s
}

.hero-particles i:nth-child(6) {
    left: 48%;
    top: 78%;
    animation-delay: -6s
}

.hero-particles i:nth-child(7) {
    left: 76%;
    top: 83%;
    animation-delay: -2.5s
}

.hero-particles i:nth-child(8) {
    left: 87%;
    top: 54%;
    animation-delay: -4.5s
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: .25
    }

    50% {
        transform: translateY(-28px) scale(1.7);
        opacity: .75
    }
}

.experience-badge {
    position: relative;
    z-index: 2;
    animation: badgeIn 1s .65s var(--ease-premium) both;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .25))
}

.experience-badge:after {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(225, 185, 87, .45);
    border-radius: 28px;
    animation: ringPulse 3s ease-in-out infinite
}

.experience-badge img {
    position: relative;
    z-index: 1;
    animation: badgeFloat 4.5s ease-in-out infinite
}

@keyframes badgeIn {
    from {
        opacity: 0;
        transform: scale(.7) rotate(-8deg)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes badgeFloat {
    50% {
        transform: translateY(-10px) rotate(1deg)
    }
}

@keyframes ringPulse {
    50% {
        transform: scale(1.07);
        opacity: .2
    }
}

.hero-actions .btn {
    position: relative;
    overflow: hidden
}

.hero-actions .btn:before,
.btn-gold:before {
    content: "";
    position: absolute;
    top: -80%;
    left: -130%;
    width: 60%;
    height: 260%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: rotate(18deg);
    transition: left .65s ease
}

.hero-actions .btn:hover:before,
.btn-gold:hover:before {
    left: 150%
}

.btn {
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease-premium), box-shadow .3s
}

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

.btn-gold {
    box-shadow: 0 12px 25px rgba(var(--gold-rgb), .22)
}

.trust-strip {
    position: relative;
    overflow: hidden
}

.trust-strip:before {
    content: "";
    position: absolute;
    top: 0;
    left: -20%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: scan 5s linear infinite
}

@keyframes scan {
    to {
        left: 100%
    }
}

.trust-grid>div {
    transition: transform .35s var(--ease-premium)
}

.trust-grid>div:hover {
    transform: translateY(-4px)
}

.services-section {
    background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
    position: relative
}

.services-section:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -220px;
    top: 20%;
    background: radial-gradient(circle, rgba(201, 151, 43, .09), transparent 70%);
    pointer-events: none
}

.service-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 26px !important;
    max-width: 1000px !important
}

.service-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 365px;
    border: 1px solid rgba(8, 47, 95, .10);
    transition: transform .55s var(--ease-premium), box-shadow .55s var(--ease-premium), border-color .35s
}

.service-card:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(247, 245, 239, .7));
    opacity: 0;
    transition: opacity .4s
}

.service-card:after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 185, 87, .18), transparent 70%);
    transition: transform .6s var(--ease-premium)
}

.service-card:hover {
    border-color: rgba(var(--gold-rgb), .45);
    box-shadow: 0 24px 55px rgba(8, 47, 95, .14)
}

.service-card:hover:before {
    opacity: 1
}

.service-card:hover:after {
    transform: scale(1.5)
}

.service-icon-wrap {
    position: relative;
    width: max-content
}

.service-icon-wrap .icon {
    position: relative;
    z-index: 1;
    transition: transform .5s var(--ease-premium), box-shadow .4s;
    box-shadow: 0 10px 22px rgba(8, 47, 95, .14)
}

.service-card:hover .icon {
    transform: translateY(-6px) rotate(-5deg);
    box-shadow: 0 16px 30px rgba(8, 47, 95, .2)
}

.card-glow {
    position: absolute;
    width: 80px;
    height: 80px;
    left: -6px;
    top: -6px;
    border-radius: 50%;
    border: 1px solid rgba(var(--gold-rgb), .25);
    opacity: 0;
    transform: scale(.65);
    transition: all .55s var(--ease-premium)
}

.service-card:hover .card-glow {
    opacity: 1;
    transform: scale(1.25)
}

.service-card h3 {
    font-size: 26px;
    transition: color .3s
}

.service-card:hover h3 {
    color: #123f78
}

.service-card li {
    transition: transform .25s ease, color .25s
}

.service-card:hover li {
    transform: translateX(4px)
}

.service-card a span {
    display: inline-block;
    transition: transform .3s var(--ease-premium)
}

.service-card a:hover span {
    transform: translateX(7px)
}

.client-story-image {
    transform: translateZ(0)
}

.client-story-image img {
    transition: transform 1.2s var(--ease-premium)
}

.client-story-image:hover img {
    transform: scale(1.055)
}

.client-image-badge {
    transition: transform .45s var(--ease-premium)
}

.client-story-image:hover .client-image-badge {
    transform: translateY(-7px)
}

.client-points>div {
    position: relative;
    transition: transform .35s var(--ease-premium), padding-left .35s
}

.client-points>div:hover {
    transform: translateX(6px);
    padding-left: 7px
}

.client-points span {
    transition: transform .35s
}

.client-points>div:hover span {
    transform: scale(1.12)
}

.dark-band {
    position: relative;
    overflow: hidden
}

.dark-band:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -260px;
    border-radius: 50%;
    border: 1px solid rgba(225, 185, 87, .15);
    box-shadow: 0 0 0 45px rgba(225, 185, 87, .025), 0 0 0 90px rgba(225, 185, 87, .015)
}

.feature-list>div {
    transition: transform .35s var(--ease-premium), background .35s, border-color .35s;
    border-radius: 8px
}

.feature-list>div:hover {
    transform: translateX(-8px);
    background: rgba(255, 255, 255, .045);
    border-color: rgba(225, 185, 87, .25)
}

.feature-list b {
    transition: transform .35s
}

.feature-list>div:hover b {
    transform: scale(1.12)
}

.cta-section {
    position: relative;
    overflow: hidden
}

.cta-section:before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 151, 43, .16), transparent 70%);
    animation: orbMove 9s ease-in-out infinite
}

.cta-inner {
    position: relative;
    z-index: 1
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease-premium), transform .8s var(--ease-premium)
}

.reveal.in-view {
    opacity: 1;
    transform: none
}

.service-card.reveal {
    transition-delay: calc(var(--i, 0) * 80ms)
}

.tilt-card {
    transform-style: preserve-3d;
    will-change: transform
}

.tilt-card>* {
    transform: translateZ(8px)
}

.page-hero {
    overflow: hidden
}

.page-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .09) 50%, transparent 65%);
    transform: translateX(-100%);
    animation: heroSweep 8s ease-in-out infinite
}

@keyframes heroSweep {

    0%,
    35% {
        transform: translateX(-100%)
    }

    65%,
    100% {
        transform: translateX(100%)
    }
}

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

.page-hero h1 {
    animation: heroIn .8s .15s both
}

.page-hero .eyebrow {
    animation: heroIn .7s both
}

.page-hero p:last-child {
    animation: heroIn .8s .3s both
}

.deed-card,
.loan-card,
.large-service,
.info-box,
.topic-card,
.why-card {
    transition: transform .45s var(--ease-premium), box-shadow .45s var(--ease-premium), border-color .3s
}

.deed-card:hover,
.loan-card:hover,
.large-service:hover,
.info-box:hover,
.topic-card:hover,
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(8, 47, 95, .13);
    border-color: rgba(var(--gold-rgb), .35)
}

.search-box input {
    transition: box-shadow .3s, border-color .3s
}

.search-box input:focus {
    box-shadow: 0 0 0 5px rgba(var(--gold-rgb), .10)
}

.footer {
    position: relative
}

.footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .7
}

@media(max-width:900px) {
    .hero {
        min-height: 520px
    }

    .hero-content {
        min-height: 520px
    }

    .service-grid {
        grid-template-columns: 1fr !important;
        max-width: 680px !important
    }
}

@media(max-width:780px) {
    .hero {
        min-height: 620px;
        background-size: cover !important
    }

    .hero-content {
        min-height: 620px
    }

    .experience-badge {
        position: absolute;
        right: 0;
        bottom: 35px;
        transform: scale(.78)
    }

    .hero-grid-lines {
        opacity: .06
    }

    .orb-one {
        right: -80px
    }

    .main-nav a:not(.nav-cta):after {
        display: none
    }

    .trust-grid>div {
        border-right: 0;
        border-bottom: 1px solid #d8cdb5;
        padding: 12px 0
    }

    .trust-grid>div:last-child {
        border-bottom: 0
    }

    .service-card {
        min-height: auto
    }
}

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

    *,
    *:before,
    *:after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important
    }
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(201, 151, 43, .5);
    border-radius: 50%;
    background: rgba(8, 47, 95, .94);
    color: #fff;
    font-size: 21px;
    display: grid;
    place-items: center;
    z-index: 200;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    box-shadow: 0 12px 30px rgba(8, 47, 95, .22);
    transition: all .35s var(--ease-premium)
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none
}

.back-to-top:hover {
    background: var(--gold);
    transform: translateY(-4px)
}

@media(max-width:520px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px
    }
}

/* =========================================================
   SIGNATURE 2026 VISUAL LAYER
   ========================================================= */
:root {
    --ink: #102c4d;
    --soft-blue: #edf4fa;
    --gold-rgb: 201, 151, 43;
}

/* Remove any accidental nav/dropdown lines crossing text. */
.main-nav>a:not(.nav-cta),
.main-nav .nav-drop-trigger,
.nav-dropdown-menu a {
    position: relative;
    border-bottom: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.main-nav>a:not(.nav-cta)::after,
.main-nav .nav-drop-trigger::after,
.nav-dropdown-menu a::after {
    display: none !important;
    content: none !important;
}

.main-nav>a:not(.nav-cta)::before,
.main-nav .nav-drop-trigger::before {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 99px;
    transition: left .35s var(--ease-premium), right .35s var(--ease-premium);
}

.main-nav>a:not(.nav-cta):hover::before,
.main-nav>a.active:not(.nav-cta)::before,
.main-nav .nav-drop-trigger:hover::before,
.main-nav .nav-drop-trigger.active::before {
    left: 0;
    right: 0
}

.nav-dropdown-menu a {
    line-height: 1.35 !important;
    white-space: normal !important;
}

.nav-dropdown-menu a:hover {
    transform: translateX(3px);
}

/* Header glass treatment */
.site-header {
    transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 35px rgba(8, 47, 95, .12);
}

/* Page hero becomes a premium editorial banner */
.page-hero {
    min-height: 340px;
    isolation: isolate;
}

.page-hero:before {
    background: linear-gradient(105deg, rgba(4, 25, 49, .95), rgba(8, 47, 95, .73) 54%, rgba(8, 47, 95, .30));
}

.page-hero .container {
    position: relative;
    z-index: 4;
}

.page-hero h1 {
    font-size: clamp(40px, 5vw, 62px);
    text-shadow: 0 10px 35px rgba(0, 0, 0, .2);
}

.page-hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    border: 1px solid rgba(225, 185, 87, .24);
}

.shape-a {
    width: 330px;
    height: 330px;
    right: 8%;
    top: -190px;
    box-shadow: 0 0 0 35px rgba(225, 185, 87, .035), 0 0 0 70px rgba(225, 185, 87, .025);
    animation: signatureFloat 9s ease-in-out infinite;
}

.shape-b {
    width: 110px;
    height: 110px;
    right: 25%;
    bottom: -55px;
    background: radial-gradient(circle, rgba(225, 185, 87, .14), transparent 70%);
    animation: signatureFloat 6s ease-in-out infinite reverse;
}

@keyframes signatureFloat {
    50% {
        transform: translate3d(-16px, 18px, 0) rotate(8deg)
    }
}

/* FAQ premium interface */
.faq-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.faq-toolbar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 auto 20px;
    max-width: 980px;
}

.faq-search-wrap {
    position: relative;
    flex: 1;
}

.faq-search-wrap>i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    z-index: 2;
}

.faq-search-wrap input {
    width: 100%;
    height: 60px;
    border: 1px solid #dce4ec;
    border-radius: 18px;
    padding: 0 50px 0 52px;
    font: 500 15px "DM Sans", sans-serif;
    color: var(--text);
    outline: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(8, 47, 95, .06);
    transition: .35s;
}

.faq-search-wrap input:focus {
    border-color: rgba(var(--gold-rgb), .7);
    box-shadow: 0 0 0 5px rgba(var(--gold-rgb), .10), 0 16px 40px rgba(8, 47, 95, .10);
}

#faqClear {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f2f5f8;
    color: #6b7884;
    font-size: 21px;
    cursor: pointer;
    display: none;
}

#faqClear.show {
    display: block;
}

.faq-results {
    white-space: nowrap;
    font-size: 13px;
    color: #667684;
    font-weight: 700;
}

.faq-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 980px;
    margin: 0 auto 42px;
}

.faq-filter-btn {
    border: 1px solid #dce4ec;
    background: #fff;
    color: var(--navy);
    padding: 11px 16px;
    border-radius: 999px;
    font: 700 12px "DM Sans";
    cursor: pointer;
    transition: .3s;
}

.faq-filter-btn:hover,
.faq-filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    box-shadow: 0 10px 25px rgba(8, 47, 95, .15);
    transform: translateY(-2px);
}

.faq-group {
    max-width: 980px;
    margin: 0 auto 62px;
}

.faq-group-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.faq-group-heading>div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.faq-group-number {
    font: 700 38px/1 "Playfair Display";
    color: rgba(var(--gold-rgb), .34);
}

.faq-group-heading .eyebrow {
    margin-bottom: 4px;
    font-size: 10px;
}

.faq-group-heading h2 {
    font-size: 28px;
    margin: 0;
}

.faq-count {
    font-size: 12px;
    font-weight: 700;
    color: #71808d;
    background: #fff;
    border: 1px solid #e0e7ed;
    padding: 8px 12px;
    border-radius: 999px;
}

.faq-list {
    max-width: none;
}

.faq-item {
    border: 1px solid #e0e7ed;
    border-radius: 16px;
    margin-bottom: 11px;
    background: rgba(255, 255, 255, .92);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(8, 47, 95, .035);
    transition: border-color .35s, box-shadow .35s, transform .35s;
}

.faq-item:hover {
    border-color: rgba(var(--gold-rgb), .4);
    box-shadow: 0 15px 35px rgba(8, 47, 95, .09);
    transform: translateY(-2px);
}

.faq-question {
    display: grid;
    grid-template-columns: 44px 1fr 42px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    border: 0;
    background: transparent;
    padding: 15px 18px;
    text-align: left;
    color: var(--navy);
    cursor: pointer;
    font: 700 15px/1.45 "DM Sans", sans-serif;
}

.faq-q-number {
    font-size: 11px;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 1px;
}

.faq-q-text {
    padding-right: 5px;
}

.faq-plus {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid #dbe4ec;
    color: var(--gold);
    font-size: 21px;
    font-weight: 400;
    justify-self: end;
    transition: transform .4s var(--ease-premium), background .3s, color .3s;
}

.faq-item.open {
    border-color: rgba(var(--gold-rgb), .45);
    box-shadow: 0 18px 42px rgba(8, 47, 95, .10);
}

.faq-item.open .faq-plus {
    transform: rotate(45deg);
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 20px;
    transition: grid-template-rows .45s var(--ease-premium), padding .45s var(--ease-premium);
}

.faq-answer>div {
    overflow: hidden;
    min-height: 0;
}

.faq-answer p {
    padding: 0 36px 21px 56px;
    color: #596a77;
    font-size: 14px;
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
    padding-bottom: 2px;
}

.faq-empty {
    text-align: center;
    max-width: 650px;
    margin: 70px auto;
}

.faq-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: var(--soft-blue);
    color: var(--gold);
    font-size: 28px;
}

.faq-empty h3 {
    font: 700 26px "Playfair Display";
    color: var(--navy);
    margin-bottom: 5px;
}

.faq-empty p {
    color: var(--muted);
}

.faq-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.faq-hero-stats span {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    color: #e9f0f6;
    font-size: 12px;
}

.faq-hero-stats strong {
    color: var(--gold-light);
    margin-right: 4px;
}

.faq-cta {
    padding: 65px 0;
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.faq-cta:before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -220px;
    top: -270px;
    border-radius: 50%;
    border: 1px solid rgba(225, 185, 87, .16);
    box-shadow: 0 0 0 55px rgba(225, 185, 87, .025), 0 0 0 110px rgba(225, 185, 87, .018);
}

.faq-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.faq-cta h2 {
    font: 700 36px/1.2 "Playfair Display";
    margin-bottom: 8px;
}

.faq-cta p:last-child {
    color: #d4e0ea;
    max-width: 720px;
}

.faq-cta .btn span {
    display: inline-block;
    transition: transform .3s;
}

.faq-cta .btn:hover span {
    transform: translateX(6px);
}

/* Site-wide micro-interactions */
.section-heading h2,
.dark-band h2,
.cta-inner h2 {
    position: relative;
}

.section-heading h2:after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 17px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.service-card,
.deed-card,
.loan-card,
.large-service,
.info-box,
.topic-card,
.why-card {
    will-change: transform;
}

.deed-card:before,
.loan-card:before,
.large-service:before,
.info-box:before,
.topic-card:before,
.why-card:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--gold-rgb), .13), transparent 32%);
    opacity: 0;
    transition: opacity .35s;
}

.deed-card:hover:before,
.loan-card:hover:before,
.large-service:hover:before,
.info-box:hover:before,
.topic-card:hover:before,
.why-card:hover:before {
    opacity: 1;
}

@media(max-width:900px) {
    .faq-toolbar {
        display: block;
    }

    .faq-results {
        margin-top: 10px;
    }

    .faq-group-heading {
        align-items: flex-start;
    }

    .faq-count {
        margin-top: 7px;
    }
}

@media(max-width:780px) {

    .main-nav>a:not(.nav-cta)::before,
    .main-nav .nav-drop-trigger::before {
        display: none;
    }

    .faq-section {
        padding-top: 55px;
    }

    .faq-group-heading {
        display: block;
    }

    .faq-count {
        display: inline-block;
        margin-top: 10px;
    }

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

    .faq-group-number {
        font-size: 30px;
    }

    .faq-question {
        grid-template-columns: 30px 1fr 36px;
        padding: 13px 12px;
        min-height: 64px;
        font-size: 14px;
    }

    .faq-answer p {
        padding: 0 10px 18px 42px;
        font-size: 13px;
    }

    .faq-hero-stats {
        gap: 8px;
    }

    .faq-hero-stats span {
        font-size: 11px;
        padding: 8px 10px;
    }

    .faq-cta-inner {
        display: block;
    }

    .faq-cta .btn {
        margin-top: 22px;
    }
}