/* =====================================================
   Date in Faith â€” Shared Stylesheet
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --gold: #d39a43;
  --gold-dark: #A8853F;
  --gold-light: #E8D5A8;
  --dark-gold: #8a5b1f;
  --cream: #F8F1E4;
  --cream-light: #FDF9F1;
  --dark: #151515;
  --dark-2: #2a2118;
  --text: #2a2118;
  --text-muted: #6b6258;
  --text-light: #ffffff;
  --border: #e7ddc8;
  --white: #fff;

  --font-serif: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans:  'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.18);

  --container: 1200px;

  /* Surface tokens â€” overridden in dark mode */
  --surface: #ffffff;
  --surface-2: var(--cream-light);
  --surface-3: var(--cream);
  --hero-overlay: rgba(20,15,10,.55);
}

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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}
[data-theme="dark"] .field label {
  color: rgb(255 255 255);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  color: #fff !important;
  background-color: #1f1f1f;
  border: 1px solid #333;
}

[data-theme="dark"] input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .auth-form h1 { color: rgba(255, 255, 255, 0.5); }
body {
    font-family: 'Outfit', sans-serif !important;
    color: #1d1d1d;
    background: #fff !important;
}

.container {
    width: 82%;
    max-width: 1340px;
    margin: auto;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* HEADER (Bootstrap navbar inside .df-header on marketing pages) */
.df-header {
    min-height: 100px;
    padding: 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1030;
    isolation: isolate;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.df-header .navbar {
    max-width: 1340px;
    margin: 0 auto;
    --bs-navbar-toggler-padding-x: 0.55rem;
    --bs-navbar-toggler-padding-y: 0.45rem;
}

/* Prominent mobile menu button â€” gold chip, hug right */
.df-header .navbar-toggler.df-navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    border-radius: 10px;
    border: 2px solid rgba(74, 45, 19, 0.45);
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, #b88230 100%);
    box-shadow: 0 4px 14px rgba(74, 45, 19, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    align-self: center;
}
.df-header .navbar-toggler.df-navbar-toggler:hover {
    filter: brightness(1.04);
    box-shadow: 0 6px 18px rgba(74, 45, 19, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.df-header .navbar-toggler.df-navbar-toggler:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(201, 166, 107, 0.45), 0 4px 14px rgba(74, 45, 19, 0.22);
}
.df-header .navbar-toggler.df-navbar-toggler .navbar-toggler-icon {
    width: 1.35rem;
    height: 1.35rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

@media (max-width: 991.98px) {
    .df-header .navbar {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 0;
        padding-right: 0.35rem !important;
    }
    /* Full-width row under logo + toggler */
    .df-header .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        width: 100%;
        margin-top: 0.4rem;
        padding: 0.85rem 1rem 1.1rem;
        background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 55%, #f0e6d4 100%);
        border-top: 1px solid rgba(201, 166, 107, 0.4);
        border-radius: 0 0 14px 14px;
        box-shadow: 0 10px 24px rgba(74, 45, 19, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    }
    .df-header .navbar-collapse .navbar-nav,
    .df-header .df-header-cta {
        width: 100%;
    }
    .df-header .navbar-nav {
        padding-top: 0.35rem;
        align-items: center !important;
        text-align: center;
    }
    .df-header .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }
    .df-header .navbar-nav .nav-link {
        display: inline-block;
        text-align: center;
        padding: 0.6rem 1rem !important;
        white-space: normal;
    }
    .df-header .navbar-nav .nav-link::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .df-header .navbar-nav .nav-link:hover::after,
    .df-header .navbar-nav .nav-link.active::after {
        width: min(11rem, 88%);
    }
    .df-header .navbar-collapse .df-header-cta.d-flex.flex-column {
        align-items: center !important;
    }
    .df-header .navbar-collapse .df-login {
        width: auto;
        max-width: 100%;
        min-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }
    /* Compact chip shown beside the hamburger (outside collapse) */
    .df-header .df-header-login-mobile {
        padding: 8px 12px;
        font-size: clamp(11px, 3.1vw, 14px);
        line-height: 1.25;
        white-space: nowrap;
    }
}

.df-header .navbar-brand img {
    width: 150px;
    max-width: min(200px, 52vw);
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.df-header .navbar-nav .nav-link {
    color: #111;
    font-size: 16px;
    transition: 0.3s;
    position: relative;
    padding: 0.5rem 0.9rem !important;
}

.df-header .navbar-nav .nav-link::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--gold);
    position: absolute;
    bottom: 0.35rem;
    transition: width 0.3s ease, transform 0.3s ease;
}

.df-header .navbar-nav .nav-link:hover {
    color: #683e1e;
}

.df-header .navbar-nav .nav-link.active {
    font-weight: 600;
}

@media (min-width: 992px) {
    .df-header .navbar-nav .nav-link {
        white-space: nowrap;
        padding: 0.5rem 0.7rem !important;
    }
    .df-header .navbar-collapse.df-header-collapse {
        flex-grow: 1;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 0.75rem;
    }
    .df-header .navbar-nav.df-header-main-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        flex: 1 1 auto;
        justify-content: center;
        align-items: center;
        column-gap: 1.25rem;
        row-gap: 0;
        max-width: none;
    }
    .df-header .navbar-nav.df-header-main-nav .nav-item {
        flex-shrink: 0;
    }
    .df-header .df-header-cta {
        width: auto !important;
        max-width: none;
        flex: 0 0 auto;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .df-header .df-header-cta .df-login {
        white-space: nowrap;
        width: auto;
        display: inline-block;
    }
    .df-header .navbar-nav .nav-link::after {
        left: 0.7rem;
        transform: none;
    }
    .df-header .navbar-nav .nav-link:hover::after,
    .df-header .navbar-nav .nav-link.active::after {
        width: calc(100% - 1.4rem);
    }
}

.df-logo img {
    width: 200px;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.df-nav {
    display: flex;
    gap: 34px;
}

.df-nav a {
    color: #111;
    font-size: 16px;
    transition: 0.3s;
    position: relative;
}

.df-nav a::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--gold);
    position: absolute;
    left: 0;
    bottom: -7px;
    transition: .3s;
}

.df-nav a:hover {
    color: #683e1e;
}

.df-nav a:hover::after {
    width: 100%;
}

.df-login {
    background: #4a2d13;
    color: #fff;
    padding: 10px 26px;
    border-radius: 30px;
    font-size: 16px;
    transition: .3s;
}

.df-login:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

/* HERO */
.df-hero {
    height: 600px;
    background: url('/assets/images/hero-couple.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Optional tint layer â€” must not capture clicks (hero sits below sticky header in DOM) */
.df-hero .df-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.df-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    animation: fadeUp 1s ease;
}

.df-hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    font-family: Outfit, sans-serif !important;
    line-height: 1.2;
}

.df-hero-content p {
    margin: 20px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
}

.df-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.df-btn {
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 16px;
    display: inline-block;
    transition: .35s;
}

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

.df-btn.white {
    background: #fff;
    color: #111;
}

.df-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
}


/* MOBILE NAV */
@media(max-width: 991px) {
  .df-love {
    padding: 40px 0 60px !important;
    margin-bottom: 30px !important;
  }
  section.df-about {
    padding: 40px 0 30px !important;
    gap: unset;
    margin-top: 0 !important;
  }
}


/* GOLD STRIP */
.df-gold-strip {
    background: var(--gold);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    color: #fff;
    position: relative;
}

.df-gold-strip h2 {
    font-size: 40px;
    line-height: 1.3;
    text-align: center !important;
}

.df-gold-strip a {
    background: #fff;
    color: #111;
    border-radius: 30px;
    font-size: 16px;
    transition: .3s;
    padding: 15px 40px;
    font-weight: 600;
}

.df-gold-strip a:hover {
    background: #111;
    color: #fff;
}

.df-faces {
    display: flex;
    width: 160px;
    position: relative;
}

.df-faces img {
    width: 300px !important;
    object-fit: cover;
    margin-left: -16px;
    transition: .3s;
    transform: scale(1.5);
}



/* TRUSTED */
.df-trusted {
    padding: 70px 0 55px;
    text-align: center;
}

.df-trusted h2 {
    font-size: 45px;
}

.df-trusted h2 span,
.df-love h2 span {
    border-bottom: 3px solid var(--gold);
}

.df-trust-grid {
    margin-top: 58px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: clamp(32px, 6vw, 88px);
    padding: 0 clamp(16px, 4vw, 40px);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.df-trust-grid > div {
    flex: 1 1 200px;
    max-width: 320px;
    min-width: 180px;
    transition: .3s;
}

.df-trust-grid > div:hover {
    transform: translateY(-8px);
}

.df-trust-grid img {
    width: 42px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.df-trust-grid p {
    margin-top: 12px;
    font-size: 22px;
    text-align: center;
    font-weight: 500;
    line-height: 1.35;
}

/* LOVE */
.df-love {
    padding: 40px 0 95px;
    margin-bottom: 100px !important;
}

.df-love h2 {
    text-align: center;
    font-size: 45px;
    margin-bottom: 55px;
}

.df-love-row {
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
    flex-wrap: wrap;
}

.df-text {
    flex: 1 1 0;
    min-width: 0;
}

.df-text p {
    color: #808080;
    line-height: 1.7;
    font-size: 25px;
    margin-bottom: 20px;
}

.df-text h4 {
    margin-bottom: 15px;
    color: #808080;
    font-size: 30px;
}

.df-circle-img {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.df-circle-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
    transition: 0.5s;
    /* transform: translateX(60px) scale(1.3); */
}



/* BANNERS */
.df-banner {
    min-height: 460px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    /* padding-left: 8%; */
    color: #fff;
    margin-bottom: 100px;
}

.df-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    
}

.df-banner div {
    position: relative;
    max-width: 600px;
}

.df-banner h2 {
    font-size: 38px;
    margin-bottom: 18px;
}

.df-banner p,
.df-banner li {
    font-size: 19px;
    line-height: 1.8;
    font-weight: 400;
}

.integrity {
     background: url('/assets/images/couple-smile.png') center/cover no-repeat;
     background-position: top;
     padding-left: 8%;
}
.managed strong {
    font-weight: 600;
}
.df-banner li {
    font-weight: 400 !important;
}
.managed {
    background-image: url('/assets/images/intro-bg.png');
}

/* Carefully Managed Introductions â€” left-aligned copy (home) */
.df-banner.managed .managed-intro-inner {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    max-width: 640px;
}
.df-banner.managed .managed-intro-inner h2,
.df-banner.managed .managed-intro-inner p,
.df-banner.managed .managed-intro-inner li {
    text-align: left;
}
.df-banner.managed ul.managed-intro-list {
    list-style: disc;
    list-style-position: outside;
    padding-left: 1.35rem;
    margin: 1rem 0 1.25rem;
}
.df-banner.managed ul.managed-intro-list li {
    display: list-item;
    padding-left: 0.35rem;
    margin-bottom: 0.5rem;
}
.df-banner.managed ul.managed-intro-list li:last-child {
    margin-bottom: 0;
}

/* HOW (layout: Bootstrap row inside .df-how) */
.df-how {
    background: #f6f6f6;
    overflow: hidden;
}

.df-how-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.df-how-content {
    padding: 120px 0%;
}

.df-how-content h2 {
    font-size: 45px;
    margin-bottom: 30px;
}

.df-step {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
    transition: .3s;
}

.df-step:hover {
    transform: translateX(8px);
}

.df-step span {
    min-width: 36px;
    height: 36px;
    background: var(--gold);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 16px;
    margin-top: 5px;
}

.df-step h4 {
    font-size: 23px;
    margin-bottom: 5px;
}

.df-step p {
    font-size: 13px;
    color: #555;
}

/* ABOUT */
.df-about {
    padding: 100px 0;
    margin-top: 100px !important;
}

.df-about small {
    color: var(--gold);
    font-weight: 600;
    font-size: 17px;
}

.df-about h2 {
    margin: 12px 0 20px;
    font-size: 45px;
}

.df-about p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 17px;
}

.df-about-images {
    position: relative;
    height: 560px;
    min-height: 560px;
}

.df-about-images img {
    position: absolute;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
    transition: transform .4s ease, box-shadow .4s ease;
}

.img-one {
    left: 0;
    top: 0;
    width: 320px;
    height: 430px;
    z-index: 1;
}

.img-two {
    right: -90px;
    bottom: 0;
    width: 340px;
    height: 450px;
    /* z-index: 2; */
}

.df-about-images img:hover {
    transform: scale(1.03);
    z-index: 3;
    box-shadow: 0 24px 50px rgba(0,0,0,.25);
}

/* REVIEWS */
.df-reviews {
    padding: 90px 8% 80px;
    /* background: linear-gradient(135deg, #6b3e10 0%, #b77d2d 60%, #8a5b1f 100%); */
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: url(/assets/images/testimonials-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Big decorative quote marks behind content */
.df-reviews::before,
.df-reviews::after {
    content: "\201C";              /* big curly quote */
    position: absolute;
    font-family: Georgia, serif;
    font-size: 360px;
    line-height: 1;
    color: rgba(255,255,255,.06);
    pointer-events: none;
    user-select: none;
}
.df-reviews::before { top:  -40px; left:  -10px; }
.df-reviews::after  { bottom:-160px; right: -10px; transform: rotate(180deg); }

.df-reviews-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    background: rgba(255,255,255,.08);
}

.df-reviews h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 55px;
    position: relative;
    z-index: 1;
}

/* Carousel viewport + track */
.df-review-viewport {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.df-review-track {
    display: flex;
    gap: 24px;
    transition: transform .45s cubic-bezier(.65,.05,.36,1);
    will-change: transform;
}

.df-review-card {
    flex: 0 0 calc((100% - 48px) / 3); /* 3 cards visible w/ 24px*2 gap */
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px;
    padding: 38px 28px 30px;
    text-align: center;
    transition: background .35s, border-color .35s, transform .35s;
    box-sizing: border-box;
}

.df-review-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.45);
}

.df-review-card img {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 22px;
    display: block;
    border: 3px solid rgba(255,255,255,.85);
}

.df-review-card p {
    font-style: normal;
    line-height: 1.7;
    font-size: 17px;
    color: #fff;
    margin-bottom: 18px;
    min-height: 130px;
}

.df-review-card h4 {
    margin-top: 22px;
    font-size: 21px;
    font-weight: 200;
    color: #fff;
}

.df-review-role {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    font-weight: 400;
}

/* Pagination row */
.df-review-pagination {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.df-pag-arrow {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px 12px;
    line-height: 0;
    transition: opacity .25s, transform .25s;
    opacity: .85;
}

.df-pag-arrow img {
    display: block;
    height: 100px;
    width: auto;
    max-width: 110px;
}

.df-pag-arrow:hover {
    opacity: 1;
}

.df-pag-arrow#reviewNext:hover { transform: translateX(3px); }
.df-pag-arrow#reviewPrev:hover { transform: translateX(-3px); }

.df-pag-link {
    color: #fff;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.df-pag-link:hover {
    color: rgba(255,255,255,.8);
}

.df-pag-arrow:disabled,
.df-pag-arrow[disabled] {
    opacity: .35;
    cursor: not-allowed;
}

/* Dot indicators */
.df-review-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    position: relative;
    z-index: 1;
}

.df-review-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    transition: all .25s;
    cursor: pointer;
}

.df-review-dots span.active {
    width: 26px;
    border-radius: 999px;
    background: #fff;
}

/* Mobile â€” show 1 card at a time */
@media (max-width: 768px) {
    .df-review-card {
        flex: 0 0 100%;
    }
}

/* VERSE */
.df-verse {
    padding: 40px 20px 40px;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(rgb(0 0 0 / 45%), rgb(210 151 75 / 45%)), url(/assets/images/footer-bg.png);
    margin-top: 70px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.df-verse h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 45px;
    margin-bottom: 6px;
}

.df-verse-quote {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    font-size: 32px;
    line-height: 1.5;
    margin: 0 auto 28px;
    max-width: 760px;
    padding-bottom: 28px;
    position: relative;
}

.df-verse-quote::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60%;
    max-width: 540px;
    height: 1px;
    background: rgba(255,255,255,.4);
}

.df-verse-text {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 24px;
    color: rgba(255,255,255,.85);
}

/* FOOTER */
.df-footer {
    padding: 22px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    flex-wrap: wrap;
    font-family: 'Libre Baskerville', Georgia, serif;
}

.df-footer-logo img {
    width: 170px;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.df-copy {
    font-family: var(--font-sans);
    font-size: 16px;
    color: #4a4a4a;
    text-align: center;
    flex: 1;
    margin: 0;
}

.df-footer-links {
    font-family: var(--font-sans);
}
ul.df-footer-links {
    text-align: center;
    margin: 0 auto;
    justify-content: center !important;
}
.df-footer-links li + li {
    position: relative;
    padding-left: 18px;
}
.df-footer-links li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}
.df-footer-links a {
    color: #5a534a;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.18s ease;
}
.df-footer-links a:hover {
    color: var(--gold-dark);
}

.df-social {
    display: flex;
    gap: 10px;
}

.df-social a {
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    border-radius: 4px;
    transition: .3s;
}

.df-social a:hover {
    background: #111;
    transform: translateY(-3px);
}

@media (max-width: 720px) {
    .df-footer { flex-direction: column; gap: 14px; padding: 24px 6%; }
    .df-copy { order: 2; }
    .df-social { order: 3; }
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeUp .8s ease both;
}

/* RESPONSIVE */
@media(max-width: 991px) {
    .df-hero-content h1 {
        font-size: 36px;
    }

    .df-gold-strip {
        height: auto;
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Reset faces image scale so it doesn't overflow on tablet */
    .df-faces { width: auto; overflow: hidden; }
    .df-faces img { transform: none; width: 180px !important; }

    .df-trust-grid,
    .df-love-row {
        flex-direction: column;
        gap: 24px;
    }

    .df-review-grid {
        grid-template-columns: 1fr;
    }

    /* How It Works â€” restore padding so content isn't flush */
    .df-how-content {
        padding: 36px 28px;
    }

    .df-how-content h2 {
        font-size: 32px;
    }

    /* About section â€” remove the huge desktop top margin */
    .df-about {
        margin-top: 0 !important;
        padding: 50px 0 30px !important;
    }

    /* About images: switch from absolute to normal flow */
    .df-about-images {
        height: auto !important;
        min-height: 0 !important;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        overflow: visible;
    }
    .df-about-images img {
        position: unset;
        width: 100% !important;
        height: auto !important;
        margin-top: 12px;
        border-radius: 10px;
    }
    .img-one,
    .img-two {
        position: unset;
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        right: auto;
        bottom: auto;
    }

    .df-circle-img {
        justify-content: center;
    }
    .df-circle-img img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        transform: unset;
        padding: 0;
        border-radius: 20px;
    }

    /* Reduce oversized love-section text */
    .df-text p  { font-size: 18px; }
    .df-text h4 { font-size: 22px; }

    /* Banner: no extra top margin */
    .df-banner {
        margin-top: 0 !important;
        margin-bottom: 40px;
    }

    /* Review arrows â€” too tall on tablet */
    .df-pag-arrow img {
        height: 60px;
        max-width: 65px;
    }
}

@media(max-width: 576px) {
    .container {
        width: 92%;
    }

    .df-hero {
        height: 480px;
    }

    .df-hero-content h1 {
        font-size: 30px;
    }

    .df-btns {
        flex-direction: column;
        align-items: center;
    }

    .df-love h2,
    .df-trusted h2,
    .df-about h2 {
        font-size: 26px;
    }

    /* Images already switched to normal flow at 991px â€” just ensure no leftover heights */
    .df-about-images {
        height: auto !important;
        min-height: 0 !important;
        margin-top: 0;
    }

    .df-footer {
        height: auto;
        padding: 20px;
        flex-direction: column;
        gap: 12px;
    }
}
/* ---------- Dark mode overrides ---------- */
[data-theme="dark"] {
  --gold: #D4B17C;
  --gold-dark: #E0BF8E;
  --gold-light: #2a2218;
  --cream: #2a2218;
  --cream-light: #1a1612;
  --dark: #0a0806;
  --dark-2: #14110d;
  --text: #f0e9d8;
  --text-muted: #bfb3a5;
  --border: #3a3024;

  --surface: #1f1a14;
  --surface-2: #14110d;
  --surface-3: #2a2218;
  --hero-overlay: rgba(0,0,0,.7);

  --shadow-sm: 0 2px 8px rgba(0,0,0,.30);
  --shadow-md: 0 8px 24px rgba(0,0,0,.40);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.55);
}

/* Apply dark surfaces to common containers */
[data-theme="dark"] body {
  background: var(--surface-2);
  color: var(--text);
}
[data-theme="dark"] .card,
[data-theme="dark"] .auth-form,
[data-theme="dark"] .modal,
[data-theme="dark"] .stat,
[data-theme="dark"] .pkg,
[data-theme="dark"] .candidate-card,
[data-theme="dark"] .match-card,
[data-theme="dark"] .profile-card-side,
[data-theme="dark"] .app-topbar,
[data-theme="dark"] .user-chip {
  background: var(--surface);
  color: var(--text);
}
[data-theme="dark"] .app { background: var(--surface-2); }
[data-theme="dark"] .topbar-title,
[data-theme="dark"] .page-header h1,
[data-theme="dark"] .card-title,
[data-theme="dark"] .empty h3,
[data-theme="dark"] .how-step h4,
[data-theme="dark"] .match-name,
[data-theme="dark"] .user-chip-name {
  color: var(--text);
}
[data-theme="dark"] .page-header p,
[data-theme="dark"] .empty p,
[data-theme="dark"] .how-step p,
[data-theme="dark"] .match-meta {
  color: var(--text-muted);
}
[data-theme="dark"] .user-chip {
  border-color: var(--border);
}
[data-theme="dark"] a.user-chip--link:hover {
  background: var(--surface-3);
  border-color: rgba(201, 166, 107, 0.5);
}
[data-theme="dark"] .field label {
  color: var(--text);
}
[data-theme="dark"] .field input:not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] .field textarea,
[data-theme="dark"] .field select,
[data-theme="dark"] .field input[type="search"] {
  background: var(--surface-3);
  color: var(--text);
  border-color: var(--border);
}
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder {
  color: rgba(240, 233, 216, 0.45);
}

/* Tables */
[data-theme="dark"] table.data th {
  background: var(--surface-2);
  color: var(--text-muted);
}
[data-theme="dark"] table.data td {
  border-bottom-color: var(--border);
  color: var(--text);
}
[data-theme="dark"] table.data tr:hover td { background: var(--surface-2); }

/* Buttons that depend on light bg */
[data-theme="dark"] .btn-light {
  background: var(--surface-3);
  color: var(--text);
  border: 1px solid var(--border);
}
[data-theme="dark"] .btn-light:hover { background: var(--surface); }
[data-theme="dark"] .btn-outline-dark {
  color: var(--text);
  border-color: rgba(240, 233, 216, 0.35);
}
[data-theme="dark"] .btn-outline-dark:hover {
  background: var(--gold);
  color: #1a1208;
  border-color: var(--gold);
}

/* Icon button */
[data-theme="dark"] .icon-btn { background: var(--surface-3); color: var(--gold); }

/* Section variants */
[data-theme="dark"] .section-cream { background: var(--surface-2); }

/* Feature icons (light cream background) */
[data-theme="dark"] .feature-icon { background: var(--surface-3); color: var(--gold); }
[data-theme="dark"] .stat-icon { background: var(--surface-3); color: var(--gold); }

/* Tabs */
[data-theme="dark"] .tabs { border-bottom-color: var(--border); }
[data-theme="dark"] .tabs button { color: var(--text-muted); }
[data-theme="dark"] .tabs button.active { color: var(--gold); border-bottom-color: var(--gold); }
[data-theme="dark"] .tabs button:hover { color: var(--text); }

/* Profile photo border */
[data-theme="dark"] .profile-photo { border-color: var(--surface-3); }

/* Auth side gradient overlay slightly stronger */
[data-theme="dark"] .auth-wrap { background: var(--surface-2); }

/* Status badges â€” preserve color identity but adapt for dark */
[data-theme="dark"] .badge-green   { background: rgba(95,201,126,.14); color: #5fc97e; }
[data-theme="dark"] .badge-red     { background: rgba(239,153,153,.14); color: #ef9999; }
[data-theme="dark"] .badge-blue    { background: rgba(132,186,240,.14); color: #84baf0; }
[data-theme="dark"] .badge-purple  { background: rgba(200,155,230,.14); color: #c89be6; }
[data-theme="dark"] .badge-grey    { background: rgba(255,255,255,.08); color: #b8ada0; }
[data-theme="dark"] .badge-gold    { background: rgba(232,200,144,.14); color: #e8c890; }

/* Flash messages */
[data-theme="dark"] .flash-success {
  background: rgba(95,201,126,.10); color: #5fc97e; border-color: rgba(95,201,126,.25);
}
[data-theme="dark"] .flash-error {
  background: rgba(239,153,153,.10); color: #ef9999; border-color: rgba(239,153,153,.25);
}

/* Inline-styled cream/colored backgrounds (for cards using inline style) */
[data-theme="dark"] [style*="background:var(--cream-light)"],
[data-theme="dark"] [style*="background: var(--cream-light)"] {
  background: var(--surface-3) !important;
  color: var(--text) !important;
}
[data-theme="dark"] [style*="background:#fff7e0"] {
  background: var(--surface-3) !important;
  color: var(--text) !important;
}
[data-theme="dark"] [style*="background:#fde7e7"] {
  background: rgba(239,153,153,.12) !important;
  color: #ef9999 !important;
  border-color: rgba(239,153,153,.25) !important;
}

[data-theme="dark"] .text-gold { color: var(--gold); }
[data-theme="dark"] .modal h2 { color: var(--text); }
/* Bootstrap .text-muted uses !important + --bs-secondary-color; force design token in dark mode */
[data-theme="dark"] .text-muted { color: var(--text-muted) !important; }

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--gold);
  border: 0;
  cursor: pointer;
  transition: all .25s ease;
  flex: none;
}
.theme-toggle:hover { background: rgba(255,255,255,.18); transform: rotate(15deg); }
.app-topbar .theme-toggle { background: var(--cream); color: var(--gold-dark); }
.app-topbar .theme-toggle:hover { background: var(--cream-light); }
[data-theme="dark"] .app-topbar .theme-toggle { background: var(--surface-3); color: var(--gold); }
.theme-toggle-floating {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 100;
  background: var(--surface, #fff);
  color: #242424;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
[data-theme="dark"] .theme-toggle-floating {
  background: var(--surface);
  color: var(--gold);
  border-color: var(--border);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
color: #242424;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-serif); font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Container ---------- */
.container {width: 100%;max-width: var(--container);margin: 0 auto;padding: 0 24px;}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .3px;
  transition: all .25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-outline-dark { background: transparent; color: #242424; border-color:#242424; }
.btn-outline-dark:hover { background: var(--text); color: #fff; }
.btn-light { background: #fff;   color: #242424; }
.btn-light:hover { background: var(--cream); }
.btn-block { width: 100%; }

/* ---------- Navbar (legacy hero overlay â€” not Bootstrap .navbar-expand-lg) ---------- */
.navbar:not(.navbar-expand-lg) {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
}
.navbar:not(.navbar-expand-lg).solid { position: sticky; background: var(--dark); box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.brand .heart { color: var(--gold); font-size: 20px; }
.brand img.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  max-width: 100%;
}
/* Lighten the logo when sitting on dark surfaces (sidebars, footer, navbar over hero) */
.navbar .brand img.brand-logo,
.footer .brand img.brand-logo,
.sidebar .brand img.brand-logo,
[data-theme="dark"] .auth-side .brand img.brand-logo {
  filter: brightness(1.5) saturate(0.85) drop-shadow(0 0 1px rgba(255,255,255,.15));
}
/* In dark mode, also brighten the logo on light surfaces (auth forms, etc.) */
[data-theme="dark"] .auth-form .brand img.brand-logo,
[data-theme="dark"] .profile-card-side .brand img.brand-logo {
  filter: brightness(1.5) saturate(0.85);
}
/* Admin sidebar: larger logo + stronger contrast on dark background */
.sidebar .brand img.brand-logo {
  height: clamp(62px, 10vw, 86px);
  max-width: min(320px, 100%);
  width: auto;
  object-fit: contain;
  image-rendering: auto;
  filter: brightness(2.15) contrast(1.14) saturate(1.1)
    drop-shadow(0 3px 18px rgba(255, 232, 180, 0.5));
}
.auth-form .brand img.brand-logo {
  height: 90px;
  width: auto;
  margin: 0 auto 12px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.auth-side .brand img.brand-logo {
  height: 70px;
  filter: brightness(1.6) saturate(0.85) drop-shadow(0 0 1px rgba(255,255,255,.2));
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(20,15,10,.55), rgba(20,15,10,.55)),
    url('/assets/images/hero-couple.jpg') center/cover no-repeat;
  padding: 120px 24px 80px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 18px;
  font-weight: 500;
  font-style: italic;
}
.hero p { max-width: 580px; margin: 0 auto 32px; font-size: 15px; opacity: .9; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- CTA Bar ---------- */
.cta-bar {
  background: var(--gold);
  color: #fff;
  padding: 22px 0;
}
.cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-avatars {
  display: flex;
}
.cta-avatars img {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -14px;
  object-fit: cover;
}
.cta-avatars img:first-child { margin-left: 0; }
.cta-bar-text { flex: 1; font-family: var(--font-serif); font-size: 22px; font-style: italic; text-align: center; min-width: 300px; }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-cream { background: var(--cream-light); }
.section-dark { background: var(--dark); color: #fff; }
.section-title {
  text-align: center;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle { text-align: center; max-width: 640px; margin: 0 auto 48px; color: var(--text-muted); }

/* ---------- Features (icons row) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.feature { text-align: center; }
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--gold-dark);
  font-size: 24px;
}
.feature h3 { font-size: 16px; font-family: var(--font-sans); font-weight: 500; }

/* ---------- Two-column content ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col-image img {
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.two-col h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 18px;
  font-weight: 500;
}
.two-col h4 {
  font-family: var(--font-sans);
  font-size: 16px;
  margin: 18px 0 10px;
  color: var(--gold-dark);
}
.two-col p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- Wide image banner ---------- */
.banner {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
}
.banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,15,10,.7) 0%, rgba(20,15,10,.3) 60%, rgba(20,15,10,.1) 100%);
}
.banner-content { position: relative; z-index: 1; max-width: 480px; padding: 40px; }
.banner h2 { font-size: 32px; margin-bottom: 12px; font-weight: 500; }
.banner p { font-size: 14px; opacity: .9; }

/* ---------- How It Works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.how-image img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.how-steps { display: flex; flex-direction: column; gap: 18px; }
.how-step { display: flex; gap: 16px; align-items: flex-start; }
.how-step-num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.how-step h4 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.how-step p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---------- About / Modern Platform ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-images img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-images img:nth-child(2) { margin-top: 32px; }
.about-tag { color: var(--gold-dark); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- Managed Introductions banner ---------- */
.managed {
  position: relative;
  min-height: 550px;
  color: #fff;
  background-size: cover;
  background-position: center;
  margin-top: 100px;
  padding-left: 8%;
}
.managed::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,15,10,.85) 0%, rgba(20,15,10,.4) 80%);
}
.managed-content { position: relative; z-index: 1; max-width: 540px; padding: 70px 40px; }
.managed h2 {font-size: 45px;margin-bottom: 14px;font-weight: 500;}
.managed ul { list-style: disc; padding-left: 22px; margin: 14px 0; }
.managed ul li { margin-bottom: 6px; }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.testimonials::before {
  content: '"';
  position: absolute;
  font-family: var(--font-serif);
  font-size: 280px;
  top: -50px;
  right: 5%;
  opacity: .12;
  line-height: 1;
}
.testimonials .section-title { color: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.testimonial {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  text-align: center;
}
.testimonial-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 3px solid #fff;
  object-fit: cover;
}
.testimonial p { font-size: 14px; opacity: .95; font-style: italic; }
.testimonial-name { font-weight: 600; margin-top: 12px; font-size: 14px; }
.testimonial-role { font-size: 11px; opacity: .7; letter-spacing: 1px; text-transform: uppercase; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.testimonial-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.testimonial-dots span.active { background: #fff; width: 22px; border-radius: 999px; }

/* ---------- Quote / Verse Section ---------- */
.verse {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 100px 24px;
  background:
    linear-gradient(rgba(20,15,10,.75), rgba(20,15,10,.75)),
    url('/assets/images/verse-bg.jpg') center/cover;
}
.verse small { color: var(--gold); letter-spacing: 2px; font-size: 12px; }
.verse h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-style: italic;
  font-weight: 400;
  margin: 14px 0 22px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.verse p { max-width: 540px; margin: 0 auto 24px; font-size: 14px; opacity: .85; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 30px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: all .2s;
}
.footer-social a:hover { background: var(--gold); color: #fff; }

/* ---------- Auth Pages ---------- */
.auth-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  background: var(--cream-light);
  overflow: hidden;
}
.auth-side {
  flex: 1;
  display: none;
  color: #fff;
  padding: 60px;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}
/* Login vs register: different couple imagery on the left panel */
.auth-wrap--login .auth-side {
  background:
    linear-gradient(135deg, rgba(20,15,10,.55), rgba(168,133,63,.38)),
    url('/images/login.png') center / cover;
}
.auth-wrap--register .auth-side {
  background:
    linear-gradient(135deg, rgba(20,15,10,.55), rgba(168,133,63,.38)),
    url('/images/register.png') center / cover;
}
.auth-side .brand { color: #fff; font-size: 26px; }
.auth-side h2 { font-size: 38px; font-style: italic; max-width: 380px; }
.auth-side p { opacity: .9; max-width: 400px; }
.auth-form-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(28px, env(safe-area-inset-top, 0px)) 24px max(28px, env(safe-area-inset-bottom, 0px));
  gap: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
@supports (justify-content: safe center) {
  .auth-form-wrap {
    justify-content: safe center;
  }
}
.auth-form-wrap > .flash {
  width: 100%;
  max-width: 440px;
}
.auth-form {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.auth-form .brand {
    color: #242424;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 8px;
  width: 100%;
  text-align: center;
}
.auth-form .brand img.brand-logo {
  display: block;
  margin: 0 auto;
}
.auth-form h1 { font-size: 28px; text-align: center; margin: 14px 0 6px; font-weight: 500; }
.auth-form .auth-sub { text-align: center; color: var(--text-muted); font-size: 13.5px; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--text-muted); }
.auth-footer a { color: var(--gold-dark); font-weight: 500; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #242424;
}
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 14px;
   color: #242424;
  transition: border-color .2s, box-shadow .2s;
}
.field input[type="checkbox"], .field input[type="radio"] {
  width: 16px;
  height: 16px;
  flex: none;
  accent-color: var(--gold);
  cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,166,107,.18);
}
.password-field { position: relative; }
.password-field input:not([type="checkbox"]):not([type="radio"]) { padding-right: 48px; }
.password-toggle {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, background .2s;
}
.auth-register .password-toggle {
  width: 36px;
  height: 32px;
  font-size: 15px;
}
.password-toggle:hover {
  color: var(--gold-dark);
  background: rgba(201, 166, 107, 0.14);
}
.password-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(201, 166, 107, 0.45);
}
[data-theme="dark"] .password-toggle {
  color: rgba(240, 233, 216, 0.5);
}
[data-theme="dark"] .password-toggle:hover {
  color: var(--gold);
  background: rgba(201, 166, 107, 0.12);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.location-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.location-checkboxes.has-error { border-color: #b32424; }
.field label.location-check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #242424;
  cursor: pointer;
  margin: 0;
}
.field label.location-check-label input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  align-self: center;
}
.field label.flex.items-center {
  display: flex;
  align-items: center;
}
.field label.flex.items-center input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  align-self: center;
}
.helper { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; margin: 22px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---------- OTP boxes ---------- */
.otp-row {
  display: flex; gap: 10px; justify-content: center; margin: 22px 0;
}
.otp-row input {
  width: 52px; height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.otp-row input:focus { outline: none; border-color: var(--gold); }
@media (max-width: 400px) {
  .otp-row { gap: 6px; }
  .otp-row input { width: 42px; height: 50px; font-size: 20px; }
}

/* ===================================================
   Dashboard / App Layout
   =================================================== */
.app {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: stretch;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  background: var(--cream-light);
}
.sidebar {
  background: var(--dark);
  color: #fff;
  padding: 24px 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 2;
  -webkit-overflow-scrolling: touch;
}
.sidebar .brand { display: block; padding: 8px 20px 22px; text-align: center; }
.sidebar .brand img.brand-logo { margin: 0 auto; }
.sidebar-section { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.06); }
.sidebar-label { padding: 0 24px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  border-left: 3px solid transparent;
  transition: all .2s;
}
.sidebar-link:hover { color: #fff; background: rgba(255,255,255,.04); }
.sidebar-link.active { color: var(--gold); background: rgba(201,166,107,.08); border-left-color: var(--gold); }
.sidebar-link .icon { width: 18px; }

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  flex-shrink: 0;
}
.topbar-title { font-family: var(--font-serif); font-size: 22px; font-weight: 500; }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  position: relative;
}
.sidebar-toggle-btn { display: none; }
.icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 8px; height: 8px;
  background: #c0392b;
  border-radius: 50%;
  border: 2px solid #fff;
}
.user-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
a.user-chip--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.user-chip--link:hover {
  background: rgba(201, 166, 107, 0.08);
  border-color: rgba(201, 166, 107, 0.45);
}
a.user-chip--link:focus-visible {
  outline: 2px solid var(--gold, #c9a66b);
  outline-offset: 2px;
}
.user-chip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.user-chip-name { font-size: 13px; font-weight: 500; }

/* ---------- Portal shell: admin vs member (clear visual identity) ---------- */
.topbar-titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.portal-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.app-topbar--member {
  background: #fffbf7;
  border-bottom: 2px solid rgba(201, 166, 107, 0.4);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}
.app-topbar--member .portal-eyebrow {
  color: var(--gold-dark);
  opacity: 0.9;
}
.app-topbar--member .topbar-title {
  color: var(--text);
}
.app-topbar--admin {
  background: linear-gradient(180deg, #1a2332 0%, #243044 100%);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.app-topbar--admin .portal-eyebrow {
  color: rgba(232, 196, 140, 0.95);
}
.app-topbar--admin .topbar-title {
  color: #f8fafc;
}
.app-topbar--admin .icon-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.app-topbar--admin .icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.app-topbar--admin .user-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}
.app-topbar--admin a.user-chip--link:hover {
  background: rgba(201, 166, 107, 0.2);
  border-color: rgba(201, 166, 107, 0.55);
}
.app-topbar--admin .user-chip-name {
  color: #f8fafc;
}
.app-topbar--admin .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}
[data-theme="dark"] .app-topbar--admin .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}
[data-theme="dark"] .app-topbar--admin {
  background: linear-gradient(180deg, #0f1419 0%, #161d28 100%);
  border-bottom-color: var(--gold);
}
[data-theme="dark"] .app-topbar--member {
  background: var(--surface);
  border-bottom-color: rgba(201, 166, 107, 0.35);
}
[data-theme="dark"] .app-topbar--member .topbar-title {
  color: var(--text);
}

.admin-portal .app-content {
  background: linear-gradient(180deg, #eef1f5 0%, var(--cream-light) 48%);
}
.member-portal .app-content {
  background: linear-gradient(180deg, #fdf9f3 0%, var(--cream-light) 40%);
}
[data-theme="dark"] .admin-portal .app-content,
[data-theme="dark"] .member-portal .app-content {
  background: var(--surface-2);
}

.admin-portal .sidebar {
  border-right: 3px solid rgba(201, 166, 107, 0.35);
}
.member-portal .sidebar {
  border-right: 3px solid rgba(201, 166, 107, 0.15);
}

/* Dashboard layout grids */
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}
.dashboard-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-eyebrow--admin {
  color: var(--gold-dark);
}
.dashboard-eyebrow--member {
  color: rgba(255, 255, 255, 0.92);
}
.member-welcome-hero .dashboard-eyebrow--member {
  margin-bottom: 10px;
}
.page-header--dashboard .dashboard-eyebrow {
  margin-bottom: 6px;
}

.app-content {
  padding: 32px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Page header ---------- */
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.page-header h1 { font-size: 28px; font-weight: 500; margin-bottom: 4px; }
.page-header p { color: var(--text-muted); margin: 0; font-size: 14px; }

/* ---------- Stat cards ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stats.stats--auto {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex: none;
}
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.stat-value { font-size: 24px; font-weight: 600; font-family: var(--font-serif); }

/* ---------- Card ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.card-title { font-family: var(--font-serif); font-size: 18px; font-weight: 500; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.data th, table.data td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
table.data th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--cream-light);
}
table.data tr:hover td { background: var(--cream-light); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-gold    { background: rgba(201,166,107,.15); color: var(--gold-dark); }
.badge-green   { background: #e1f5e8; color: #1f7a3a; }
.badge-red     { background: #fde7e7; color: #b32424; }
.badge-blue    { background: #e1eefb; color: #1f5d99; }
.badge-grey    { background: #ececec; color: #555; }
.badge-purple  { background: #efe4f7; color: #6b3699; }

/* ---------- Match card ---------- */
.match-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
}
.match-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.match-info { flex: 1; min-width: 0; }
.match-name { font-weight: 600; margin-bottom: 2px; }
.match-meta { font-size: 12px; color: var(--text-muted); }
a.match-card.match-card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.match-card.match-card--link:hover {
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(74, 45, 19, 0.08);
}

/* ---------- Package card ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pkg {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  position: relative;
  transition: all .25s ease;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.pkg.featured { border-color: var(--gold); background: linear-gradient(180deg, var(--cream-light), #fff); }
.pkg.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}
.pkg h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.pkg .price { font-family: var(--font-serif); font-size: 38px; font-weight: 600; color: var(--gold-dark); margin: 14px 0; }
.pkg .price small { font-size: 14px; color: var(--text-muted); font-family: var(--font-sans); font-weight: 400; }
.pkg ul { margin: 22px 0; text-align: left; }
.pkg ul li { padding: 8px 0; font-size: 13.5px; color: var(--text-muted); border-bottom: 1px dashed var(--border); display: flex; gap: 8px; align-items: center; }
.pkg ul li::before { content: '\2713'; color: var(--gold); font-weight: bold; }

/* ---------- Profile page ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}
.profile-card-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  height: fit-content;
}
.profile-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  margin: 0 auto 14px;
  object-fit: cover;
  border: 4px solid var(--cream);
}
.profile-card-side h3 { font-size: 20px; margin-bottom: 4px; }
.profile-card-side .role { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Candidate cards (Find a Match) ---------- */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.candidate-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #fff;
  transition: all .25s ease;
}
.candidate-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}
.candidate-card .candidate-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.candidate-card img.candidate-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  border: 2px solid var(--cream);
}
.candidate-card .candidate-name { font-weight: 600; font-size: 14px; }
.candidate-card .candidate-meta { font-size: 11.5px; color: var(--text-muted); }
.candidate-card .candidate-info {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.6;
}
.candidate-card .candidate-info i { width: 14px; color: var(--gold); margin-right: 4px; }
.candidate-card .compat {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.candidate-card .compat .badge { font-size: 10px; padding: 2px 7px; }
.candidate-card .candidate-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ---------- Empty state ---------- */
.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty .icon { font-size: 42px; color: var(--gold); margin-bottom: 14px; }
.empty h3 { font-family: var(--font-sans); font-size: 16px;   color: #242424; margin-bottom: 6px; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tabs button {
  padding: 10px 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  font-weight: 500;
  transition: all .2s;
}
.tabs button.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.tabs button:hover {   color: #242424; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 20px;
}
.modal-backdrop.show { display: flex !important; opacity: 1 !important; }
.modal {
  display: block !important;
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.modal h2 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.modal-close { position: absolute; top: 14px; right: 14px; font-size: 22px; color: var(--text-muted); }

/* Members-only dialog (Resource Library) */
.modal-backdrop--members {
  background: rgba(28, 24, 20, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center !important;
  justify-content: center !important;
}
.modal--members-only {
  /* Bootstrapâ€™s .modal uses height:100% â€” collapse to content for this dialog */
  position: relative !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  flex: 0 0 auto;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(90vh, calc(100dvh - 40px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  padding: 28px 24px 22px;
  max-width: 400px;
  width: calc(100% - 8px);
  border: 1px solid #ebe4d8;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  align-self: center;
}
.modal--members-only::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold) 40%, var(--gold-dark));
}
.modal-backdrop.show .modal--members-only {
  animation: dfMembersModalIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes dfMembersModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-close--members {
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  color: #8a8278;
  transition: background 0.2s, color 0.2s;
}
.modal-close--members:hover {
  background: rgba(211, 154, 67, 0.12);
  color: var(--gold-dark);
}
.df-members-modal__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, rgba(232, 213, 168, 0.45), rgba(211, 154, 67, 0.2));
  color: var(--gold-dark);
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(168, 133, 63, 0.15);
}
.df-members-modal__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 10px;
}
.modal--members-only h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: #2a2622;
  margin: 0 0 10px;
  line-height: 1.25;
}
.df-members-modal__text {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: #6b645c;
  margin: 0 0 20px;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}
.df-members-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.df-members-modal__btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s, border-color 0.2s, color 0.2s;
}
.df-members-modal__btn--primary.df-btn.gold {
  border: none;
  box-shadow: 0 4px 16px rgba(168, 133, 63, 0.35);
}
.df-members-modal__btn--primary.df-btn.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 133, 63, 0.4);
}
.df-members-modal__btn--secondary {
  background: #faf8f5;
  color: #3a3530;
  border: 1.5px solid #e5ddd0;
}
.df-members-modal__btn--secondary:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: #fffdf9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.df-members-modal__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.45);
}
.df-members-modal__btn--primary:focus-visible {
  box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.45), 0 4px 16px rgba(168, 133, 63, 0.35);
}
@media (min-width: 420px) {
  .df-members-modal__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .df-members-modal__btn {
    width: auto;
    min-width: 148px;
    flex: 1 1 calc(50% - 8px);
    max-width: 200px;
  }
}

/* ---------- Flash messages ---------- */
.flash {
  padding: 12px 18px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.flash-success { background: #e1f5e8; color: #1f7a3a; border: 1px solid #b8e0c5; }
.flash-error   { background: #fde7e7; color: #b32424; border: 1px solid #f3c9c9; }
.field-error { color: #b32424; font-size: 12px; margin-top: 4px; }
.field input.has-error, .field select.has-error, .field textarea.has-error { border-color: #b32424; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold-dark); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.flex-1 { flex: 1; }
.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (min-width: 980px) {
  .auth-side { display: flex; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .features { grid-template-columns: 1fr; }
  .two-col, .how-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid, .packages { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  /* Off-canvas sidebar: block layout so fixed aside does not break grid rows */
  .app {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(280px, 88vw);
    max-width: 300px;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    padding: 20px 0 28px;
    align-self: unset;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1040;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .app-main {
    display: block;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }
  .app-content {
    flex: none;
    min-height: unset;
    overflow: visible;
  }
  .profile-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .sidebar-toggle-btn { display: inline-flex; }
  /* Sidebar overlay backdrop */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1035;
  }
  .sidebar-overlay.show {
    display: block;
  }
}
@media (max-width: 980px) {
  /* Collapse all dashboard 2-column splits to single column on tablet/mobile */
  .app-content > div[style*="grid-template-columns:2fr 1fr"],
  .app-content > div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* Admin feedback 2-col grid -> single col */
  [data-tab-panel] > div[style*="grid-template-columns:1fr 1fr"],
  [data-tab-panel] > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .nav-cta { gap: 6px; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .page-header--dashboard .page-header-cta {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  .topbar-right {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
  }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tabs button, .tabs a { white-space: nowrap; }
}
@media (max-width: 600px) {
  .df-trust-grid > div {
    flex: unset;
    margin: 0 auto;
}
.df-about-images {
    margin-top: 20px;
}
section.df-how.g-0 {
    padding-bottom: 0;
}
  .hero { min-height: 540px; padding-top: 100px; }
  .stats { grid-template-columns: 1fr; }
  .app-content { padding: 16px; }
  .app-topbar { padding: 12px 14px; gap: 8px; flex-wrap: wrap; }
  .topbar-leading {
    flex: 1 1 auto;
    min-width: min(200px, 100%);
  }
  .topbar-right {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .topbar-title {
    font-size: 17px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .portal-eyebrow { font-size: 9px; letter-spacing: 0.1em; }
  .member-welcome-hero h2 { font-size: 20px !important; }
  .member-welcome-cta { width: 100%; text-align: center; }
  .icon-btn.sidebar-toggle-btn,
  .icon-btn.icon-btn-notify {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .user-chip { padding: 6px 10px 6px 6px; }
  .user-chip img { width: 36px; height: 36px; }
  .stat { padding: 16px; gap: 12px; }
  .stat-value { font-size: 20px; }
  .stat-icon { width: 44px; height: 44px; font-size: 18px; }
  .card { padding: 18px; margin-bottom: 18px; }
  .page-header > .btn,
  .page-header > a.btn {
    width: 100%;
    justify-content: center;
  }
  .cta-bar-text { font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .testimonials-grid { gap: 16px; }
  .match-card { flex-wrap: wrap; }
  .match-card .match-info { flex-basis: 100%; }
  .page-header h1 { font-size: 22px; }
  table.data { font-size: 12px; }
  table.data th, table.data td { padding: 8px 10px; }
}

/* =====================================================
   Inner page hero + page sections (df-page-*)
   ===================================================== */

.df-page-hero {
    background: linear-gradient(135deg, #4a2d13 0%, #8a5b1f 60%, #d39a43 100%);
    color: #fff;
    padding: 110px 8% 90px;
    text-align: center;
    position: relative;
}
.df-page-hero-content small {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    color: rgba(255,255,255,.85);
    margin-bottom: 14px;
}
.df-page-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}
.df-page-hero-content p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
}

.df-page-section { padding: 80px 0; }

/* Legal pages (Terms / Privacy) â€” readable body copy */
.df-legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px 100px;
}
.df-legal h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3a3530;
    margin: 2.25rem 0 0.65rem;
    font-family: var(--font-sans, 'Outfit', sans-serif);
}
.df-legal h2:first-child { margin-top: 0; }
.df-legal p, .df-legal li {
    color: #5a534a;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 14px;
    font-family: var(--font-sans, 'Outfit', sans-serif);
}
.df-legal ul { padding-left: 1.35rem; margin: 0 0 16px; }
.df-legal li { margin-bottom: 0.45rem; }
.df-legal .df-legal-meta {
    font-size: 14px;
    color: #8a8278;
    margin-bottom: 1.75rem;
}
.df-legal .df-legal-note {
    font-size: 14px;
    color: #6b645a;
    border-left: 3px solid var(--gold);
    padding: 14px 18px;
    background: rgba(201, 166, 107, 0.1);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
    line-height: 1.6;
}

/* CTA section on inner pages */
.df-page-cta {
    background: var(--gold);
    padding: 70px 8%;
    text-align: center;
    color: #fff;
}
.df-page-cta-inner h2 {
    font-size: 40px;
    margin-bottom: 12px;
    font-weight: 700;
}
.df-page-cta-inner p {
    font-size: 17px;
    margin-bottom: 26px;
    opacity: .92;
}
.df-page-cta-inner .df-btns { justify-content: center; }
.df-page-cta-inner .df-btn.gold {
    background: #4a2d13;
    color: #fff;
}
.df-page-cta-inner .df-btn.white {
    background: #fff;
    color: #4a2d13;
}

/* =====================================================
   Contact page
   ===================================================== */

.df-contact {
    padding: 80px 0;
}
.df-contact-grid {
    display: grid;
    grid-template-columns: minmax(340px, 460px) minmax(0, 1fr);
    gap: 40px;
    align-items: stretch;
}
.df-contact-visual {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ebe4d8;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    background: #f5f0e8;
    min-height: 100%;
}
.df-contact-visual img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}
.df-info-card {
    border: 1px solid #ebe4d8;
    border-radius: 14px;
    padding: 32px 30px;
    transition: .3s;
    background: #fff;
}
.df-info-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.df-info-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(211,154,67,.15);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 16px;
}
.df-info-card h4 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1d;
}
.df-info-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.65;
    margin: 0;
}
.df-info-card a { color: var(--gold); }
.df-info-card a:hover { color: var(--dark-gold); }
.df-info-meta {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
}

.df-contact-form {
    background: #fff;
    border: 1px solid #ebe4d8;
    border-radius: 12px;
    padding: 36px 36px;
}
.df-contact-form h3 {
    font-size: 24px;
    margin-bottom: 22px;
    color: #1d1d1d;
}
.df-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.df-form-field { margin-bottom: 16px; }
.df-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #1d1d1d;
}
.df-form-field input,
.df-form-field select,
.df-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d2c2;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    background: #fff;
    transition: .25s;
}
.df-form-field input:focus,
.df-form-field select:focus,
.df-form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(211,154,67,.18);
}
.df-form-field textarea { resize: vertical; min-height: 120px; }
.df-contact-form .df-btn { border: 0; cursor: pointer; }

.df-contact-direct {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
    margin-top: clamp(32px, 4vw, 48px);
    align-items: stretch;
}

/* =====================================================
   Resource Library page
   ===================================================== */

.df-resources {
    padding: 80px 0;
}

.df-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.df-resource-card {
    background: #fff;
    border: 1px solid #ebe4d8;
    border-radius: 14px;
    padding: 30px 28px 28px;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.df-resource-card--gated {
    cursor: pointer;
}

.df-resource-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--dark-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.df-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    border-color: var(--gold);
}

.df-resource-card:hover::before {
    transform: scaleX(1);
}

.df-resource-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(211,154,67,.15);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.df-resource-tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark-gold);
    background: rgba(211,154,67,.12);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-weight: 500;
}

.df-resource-card h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    color: #1d1d1d;
    margin-bottom: 12px;
}

.df-resource-card p {
    color: #6b6258;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 65px;
}

.df-resource-link {
    color: var(--gold);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .25s;
}

.df-resource-link:hover {
    gap: 14px;
    color: var(--dark-gold);
}

@media (max-width: 991px) {
    .df-resource-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .df-resources { padding: 60px 20px; }
}
@media (max-width: 600px) {
    .df-resource-grid { grid-template-columns: 1fr; }
    .df-resource-card p { min-height: 0; }
}

/* =====================================================
   Fade-in animation system
   ===================================================== */

.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right,
.fade-in-zoom {
    opacity: 0;
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
}
.fade-in-up    { transform: translateY(34px); }
.fade-in-left  { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }
.fade-in-zoom  { transform: scale(.94); }

.fade-in.in-view,
.fade-in-up.in-view,
.fade-in-left.in-view,
.fade-in-right.in-view,
.fade-in-zoom.in-view {
    opacity: 1;
    transform: none;
}

/* Stagger delay utilities */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* Respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-up, .fade-in-left, .fade-in-right, .fade-in-zoom {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =====================================================
   Mobile responsive for df-* sections
   ===================================================== */

@media (max-width: 1100px) {
    .df-trust-grid { gap: 80px; }
    .df-gold-strip { gap: 40px; }
    .df-faces img { transform: scale(1.2); }
}

@media (max-width: 991px) {
    /* Hero */
    .df-hero { height: 480px; padding: 0 20px; }
    .df-hero-content h1 { font-size: 40px; }
    .df-hero-content p { font-size: 16px; }

    /* Gold strip */
    .df-gold-strip {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 35px 20px;
    }
    .df-gold-strip h2 { font-size: 26px; }
    .df-faces { width: auto; justify-content: center; }
    .df-faces img { transform: scale(1); width: 240px !important; }

    /* Trusted */
    .df-trusted h2 { font-size: 32px; }
    .df-trust-grid {
        flex-wrap: wrap;
        gap: 50px;
        margin-top: 40px;
    }

    /* Love & Faith */
    .df-love h2 {font-size: 32px;text-align: center;margin-bottom: 20px;}
    .df-love-row {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .df-text p { font-size: 18px; }
    .df-text h4 { font-size: 22px; }

    /* Banners */
    .df-banner {
        min-height: 360px;
        padding: 40px 20px;
        margin-top: 0;
    }
    .df-banner h2 { font-size: 28px; }

    /* About */
    .df-about, .df-how {
        flex-direction: column;
        padding: 50px 20px;
        gap: 40px;
    }

    /* Reviews */
    .df-reviews { padding: 70px 20px 60px; }
    .df-reviews h2 { font-size: 28px; }

    /* Verse */
    .df-verse { padding: 70px 20px; }
    .df-verse h2 { font-size: 26px; }
    .df-verse-quote { font-size: 22px; }

    /* Inner page hero */
    .df-page-hero { padding: 80px 20px 70px; }
    .df-page-hero-content h1 { font-size: 38px; }
    .df-page-hero-content p { font-size: 15px; }

    /* Contact page */
    .df-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .df-contact-visual img {
        min-height: 280px;
    }
    .df-contact-form { padding: 26px 22px; }
    .df-form-row { grid-template-columns: 1fr; gap: 0; }
    .df-contact-direct {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    /* Page CTA */
    .df-page-cta { padding: 50px 20px; }
    .df-page-cta-inner h2 { font-size: 28px; }
}

@media (max-width: 600px) {
    .df-header { padding: 0 0 0 clamp(12px, 4vw, 20px); }
    .df-logo img {width: 120px !important;}

    /* Hero */
    .df-hero { height: 420px; }
    .df-hero-content h1 {font-size: 24px;line-height: 38px;}
    .df-hero-content p { font-size: 14px; margin: 12px 0; }
    .df-btns { flex-direction: column; gap: 10px; align-items: center; }
    .df-btn {width: 100%;max-width: 280px;text-align: center;padding: 14px 22px;margin-bottom: 30px;}

    /* Gold strip */
    .df-gold-strip { padding: 24px 16px; }
    .df-gold-strip h2 { font-size: 20px; }
    .df-gold-strip a { padding: 12px 28px; font-size: 14px; }
    .df-faces { width: auto; overflow: hidden; }
    .df-faces img { width: 140px !important; transform: none; }

    /* Trusted */
    .df-trusted { padding: 40px 0 24px; }
    .df-trusted h2, .df-love h2 { font-size: 22px; }
    .df-trust-grid { flex-direction: column; gap: 24px; margin-top: 28px; }
    .df-trust-grid p { font-size: 16px; }

    /* Love & Faith */
    .df-love { padding: 24px 0 30px !important; margin-bottom: 0 !important; }
    .df-love h2 { margin-bottom: 20px; }
    .df-love-row { gap: 20px; }
    .df-text p  { font-size: 16px; }
    .df-text h4 { font-size: 18px; }

    /* Banners */
    .df-banner { min-height: 280px; padding: 30px 16px; margin-bottom: 0; }
    .df-banner h2 { font-size: 22px; margin-bottom: 10px; }
    .df-banner p, .df-banner li { font-size: 14px; line-height: 1.6; }

    /* How It Works */
    .df-how-content { padding: 24px 16px 30px; }
    .df-how-content h2 { font-size: 26px; margin-bottom: 20px; }
    .df-step span { width: 30px; min-width: 30px; height: 30px; font-size: 13px; }
    .df-step h4 { font-size: 15px; }
    .df-step p  { font-size: 13px; }
    .df-step   { gap: 12px; margin-bottom: 14px; }

    /* About */
    .df-about { padding: 28px 0 !important; margin-top: 0 !important; }
    .df-about h2 { font-size: 22px; }
    .df-about p  { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }

    /* Reviews */
    .df-reviews { padding: 50px 16px 44px; }
    .df-reviews-icon { width: 44px; height: 44px; font-size: 17px; }
    .df-reviews h2 { font-size: 22px; margin-bottom: 24px; }
    .df-review-card { padding: 24px 16px 20px; }
    .df-review-card img { width: 64px; height: 64px; margin-bottom: 14px; }
    .df-review-card p { font-size: 13.5px; min-height: 0; line-height: 1.6; margin-bottom: 10px; }
    .df-review-card h4 { font-size: 16px; margin-top: 12px; }
    .df-pag-arrow img { height: 40px; max-width: 44px; }
    .df-review-pagination { gap: 20px; margin-top: 28px; }

    /* Verse */
    .df-verse { padding: 48px 16px; margin-top: 0; }
    .df-verse h2 { font-size: 20px; margin-bottom: 10px; }
    .df-verse-quote { font-size: 16px; padding-bottom: 20px; }
    .df-verse-quote::after { display: none; }

    /* Inner pages */
    .df-page-hero-content h1 { font-size: 28px; }
    .df-page-hero-content small { letter-spacing: 2px; font-size: 11px; }
    .df-info-card { padding: 16px; }
    .df-contact-visual img { min-height: 240px; }
    .df-contact-form h3 { font-size: 20px; }
    .df-page-cta-inner h2 { font-size: 24px; }

    /* Footer */
    .df-footer-logo img { width: 100px; }
    .df-copy { font-size: 12px; }
    .df-social a { width: 28px; height: 28px; font-size: 11px; }
}

/* ===== Register Page â€” Compact Layout ===== */
.auth-register {
  max-width: 560px;
  padding: 24px 28px;
}
.auth-register h1 {
  font-size: 22px;
  margin: 8px 0 4px;
}
.auth-register .auth-sub {
  margin-bottom: 14px;
  font-size: 13px;
}
.auth-register .field {
  margin-bottom: 10px;
}
.auth-register .field label {
  font-size: 12px;
  margin-bottom: 4px;
}
.auth-register .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.auth-register .field select {
  box-sizing: border-box;
  height: 46px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 46px;
}
.auth-register .password-field input:not([type="checkbox"]):not([type="radio"]) {
  height: 46px;
  line-height: 46px;
  padding-right: 42px;
}
.auth-register .field-row {
  gap: 10px;
  margin-bottom: 0;
}
.auth-register .btn-block {
  padding: 10px 28px;
  margin-top: 4px;
}
.auth-register .auth-footer {
  margin-top: 12px;
  font-size: 13px;
}
[data-theme="dark"] .auth-register .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
[data-theme="dark"] .auth-register .field select {
  background: #1a1410;
  color: #f0ead8;
  border-color: #3a3028;
}

/* ---------- Admin notifications (top bar) ---------- */
.notifications-wrap {
  position: relative;
}
.icon-btn-notify {
  position: relative;
}
.notifications-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  border: 2px solid var(--surface, #fff);
  box-sizing: content-box;
}
[data-theme="dark"] .notifications-badge {
  border-color: var(--surface);
}
.notifications-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  text-align: left;
}
.notifications-panel[hidden] {
  display: none !important;
}
[data-theme="dark"] .notifications-panel {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.notifications-panel-header {
  padding: 14px 16px 10px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  flex: none;
}
.notifications-panel-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.notifications-section {
  padding: 10px 0;
}
.notifications-section + .notifications-section {
  border-top: 1px solid var(--border);
}
.notifications-section-label {
  padding: 4px 16px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.notifications-item {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  border: 0;
  border-left: 3px solid transparent;
  transition: background 0.15s ease;
}
.notifications-item:hover {
  background: var(--cream-light);
}
[data-theme="dark"] .notifications-item:hover {
  background: var(--surface-3);
}
.notifications-item--pending {
  border-left-color: var(--gold);
}
.notifications-item-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}
.notifications-item-text {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.notifications-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.notifications-footer-link {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  border-top: 1px solid var(--border);
  text-decoration: none;
  flex: none;
}
.notifications-footer-link:hover {
  background: var(--cream-light);
  color: var(--dark-gold);
}
[data-theme="dark"] .notifications-footer-link {
  color: var(--gold);
}
[data-theme="dark"] .notifications-footer-link:hover {
  background: var(--surface-3);
}

/* SweetAlert2 â€” Date in Faith brand */
.df-swal-popup {
  font-family: var(--font-sans) !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(168, 133, 63, 0.35) !important;
  box-shadow: var(--shadow-lg) !important;
}
.df-swal-popup .swal2-title {
  font-family: var(--font-serif) !important;
  font-weight: 600 !important;
  font-size: 1.35rem !important;
}
.df-swal-popup .swal2-html-container,
.df-swal-popup .swal2-content {
  font-size: 15px !important;
  line-height: 1.55 !important;
}
.df-swal-confirm {
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-pill) !important;
  padding: 0.55em 1.6em !important;
  box-shadow: 0 4px 14px rgba(74, 45, 19, 0.2);
}
.df-swal-confirm:focus {
  box-shadow: 0 0 0 3px rgba(211, 154, 67, 0.35) !important;
}

/* =====================================================
   Legal Pages (Terms / Privacy) â€” clean document style
   ===================================================== */

/* Hero */
.df-legal-hero {
  padding: 90px 8% 70px;
  background: linear-gradient(135deg, #4a2d13 0%, #8a5b1f 60%, #d39a43 100%);
  color: #fff;
  text-align: center;
}
.df-legal-hero .df-legal-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.df-legal-hero .df-legal-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.df-legal-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 22px;
  color: #fff;
}
.df-legal-hero h1 .df-legal-hero-accent { color: var(--gold-light); }
.df-legal-hero .df-legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #fff;
}
.df-legal-hero .df-legal-updated i { color: var(--gold-light); font-size: 11px; }

/* Body wrapper */
.df-legal-shell {
  background: #fff;
  padding: 60px 0 100px;
}
.df-legal-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

/* TOC sidebar */
.df-legal-toc {
  position: sticky;
  top: 90px;
  align-self: start;
  border-left: 2px solid rgba(211, 154, 67, 0.25);
  padding: 4px 0 4px 18px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.df-legal-toc h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin: 0 0 12px;
  font-weight: 700;
}
.df-legal-toc ol { list-style: none; margin: 0; padding: 0; }
.df-legal-toc ol li { margin-bottom: 4px; }
.df-legal-toc ol li a {
  display: block;
  padding: 4px 0;
  color: #6b645a;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease;
}
.df-legal-toc ol li a:hover { color: var(--gold-dark); }

/* Sections â€” clean document style */
.df-legal-section {
  padding: 20px 0;
  scroll-margin-top: 90px;
}
.df-legal-section + .df-legal-section {
  border-top: 1px solid rgba(211, 154, 67, 0.18);
}
.df-legal-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2a1a0a;
  margin: 0 0 12px;
  line-height: 1.35;
}
.df-legal-section h2 .df-legal-num-inline {
  color: var(--gold-dark);
  font-weight: 700;
  margin-right: 4px;
}
.df-legal-section p {
  font-size: 15px;
  line-height: 1.75;
  color: #5a534a;
  margin: 0 0 10px;
}
.df-legal-section a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(211, 154, 67, 0.4);
}
.df-legal-section a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .df-legal-hero h1 { font-size: 36px; }
  .df-legal-hero { padding: 70px 6% 56px; }
  .df-legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .df-legal-toc {
    position: static;
    max-height: none;
    border-left: none;
    border-top: 2px solid rgba(211, 154, 67, 0.25);
    padding: 16px 0 0;
  }
}
@media (max-width: 520px) {
  .df-legal-hero h1 { font-size: 28px; }
  .df-legal-section h2 { font-size: 16px; }
  .df-legal-section p { font-size: 14px; }
}

