:root {
    --brand: #842F49;
    --brand-dark: #6b2338;
    --gold: #CBA56C;
    --gold-dark: #b38d52;
    --ivory: #FFF6EE;
    --charcoal: #282329;
    --muted: #6f666c;
    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(40, 35, 41, .08);
    --shadow-md: 0 10px 30px rgba(40, 35, 41, .12);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Poppins', system-ui, sans-serif; color: var(--charcoal); background: #fff; font-size: .95rem; }
h1, h2, h3, h4, h5, .font-display { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; color: var(--charcoal); }
a { color: var(--brand); }
.text-brand { color: var(--brand) !important; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { border-radius: 8px; font-weight: 500; padding: .55rem 1.25rem; transition: all .2s ease; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--brand); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-light-brand { background: #fff; color: var(--brand); border: 1px solid #fff; }
.btn-light-brand:hover { background: var(--ivory); color: var(--brand-dark); }

/* Header */
.site-header { background: #fff; box-shadow: 0 1px 12px rgba(40, 35, 41, .08); z-index: 1030; }
.site-header .nav-link { color: var(--charcoal); font-size: .85rem; font-weight: 500; padding: .9rem .75rem; position: relative; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); }
.site-header .nav-link.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .35rem; height: 2px; background: var(--brand); }
@media (max-width: 991.98px) { .site-header .nav-link.active::after { display: none; } }

/* Hero */
.hero { position: relative; min-height: 560px; background: #4a1626; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(74, 22, 38, .92) 0%, rgba(132, 47, 73, .75) 42%, rgba(132, 47, 73, 0) 75%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 3rem 0 9rem; max-width: 560px; }
.hero-eyebrow { color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.hero h1, .hero .hero-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; margin: .6rem 0 1rem; }
.hero p { font-size: 1.05rem; color: rgba(255, 255, 255, .92); max-width: 440px; }
.hero-badge { position: absolute; right: 2rem; bottom: 8.5rem; z-index: 2; background: rgba(255, 255, 255, .95); border-radius: var(--radius); padding: 1rem 1.4rem; text-align: center; box-shadow: var(--shadow-md); color: var(--charcoal); }
.hero-badge i { color: var(--brand); font-size: 1.5rem; }
.hero-badge strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.1rem; }

/* Search panel */
.search-wrap { position: relative; z-index: 5; margin-top: -7.2rem; }
.search-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 1.4rem 1.6rem 1.6rem; max-width: 640px; }
.search-card.full { max-width: none; margin: 0; }
.seg { display: inline-flex; gap: .4rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.seg > span { font-size: .85rem; margin-right: .5rem; }
.seg input { position: absolute; opacity: 0; }
.seg label { padding: .35rem 1.1rem; border-radius: 6px; background: var(--ivory); color: var(--charcoal); font-size: .8rem; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: .2s; }
.seg input:checked + label { background: var(--brand); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--gold); }
.search-card .form-label { font-size: .72rem; color: var(--muted); margin-bottom: .2rem; }
.form-select, .form-control { border-radius: 8px; border-color: #e3dadf; font-size: .85rem; padding: .55rem .75rem; }
.form-select:focus, .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(132, 47, 73, .15); }
.btn-search { width: 100%; padding: .75rem; font-size: .95rem; }

/* Member area */
.badge-community { position: absolute; left: 8px; bottom: 8px; background: var(--gold); color: #fff; font-size: .62rem; padding: .22rem .5rem; border-radius: 20px; font-weight: 500; }
.stat-tile { display: block; background: #fff; border: 1px solid #f2e9ee; border-radius: var(--radius); padding: 1rem; text-decoration: none; color: var(--charcoal); box-shadow: var(--shadow-sm); transition: .2s; height: 100%; }
.stat-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-tile i { color: var(--brand); font-size: 1.3rem; }
.stat-tile strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.5rem; }
.stat-tile span { font-size: .78rem; color: var(--muted); }
.form-section { color: var(--brand); border-bottom: 1px solid #f0e3d6; padding-bottom: .4rem; margin: 1.6rem 0 1rem; }
.form-section:first-of-type { margin-top: 0; }
.profile-form .form-label { font-size: .8rem; font-weight: 500; }
.interest-card { background: #fff; border: 1px solid #f2e9ee; border-radius: var(--radius); padding: .9rem; box-shadow: var(--shadow-sm); height: 100%; }
.interest-card img { width: 84px; height: 105px; object-fit: cover; object-position: center top; border-radius: 10px; flex: none; background: var(--ivory); }
.interest-tabs .nav-link { color: var(--brand); }
.interest-tabs .nav-link.active { background: var(--brand); color: #fff; }

/* Searchable selects (Tom Select) - match the form look */
.search-form .ts-wrapper { font-size: .85rem; }
.search-form .ts-control { border-radius: 8px; border-color: #3f1e30; padding: .55rem .75rem; min-height: 40px; box-shadow: none; }
.search-form .ts-wrapper.focus .ts-control { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(132, 47, 73, .15); }
.search-form .ts-dropdown { border-radius: 8px; border-color: #e3dadf; box-shadow: var(--shadow-md); z-index: 1050; }
.search-form .ts-dropdown .active { background: var(--ivory); color: var(--brand); }
.search-form .ts-dropdown .optgroup-header { color: var(--brand); font-weight: 600; font-size: .75rem; }
.search-form .ts-dropdown .dropdown-input { border-radius: 6px; }

/* Sections */
.section { padding: 4rem 0; }
.section-ivory { background: var(--ivory); }
.section-head { text-align: center; margin-bottom: 2rem; position: relative; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .view-all { position: absolute; right: 0; top: .4rem; }
@media (max-width: 767.98px) { .section-head .view-all { position: static; display: inline-block; margin-top: .75rem; } }
.divider-gold { width: 60px; height: 3px; background: var(--gold); margin: .6rem auto 0; border-radius: 2px; }

/* How it works */
.how { background: var(--ivory); padding: 1.8rem 0; border-bottom: 1px solid #f0e3d6; }
.how-step { text-align: center; padding: .5rem 1rem; }
.how-step i { font-size: 2rem; color: var(--brand); margin-bottom: .5rem; }
.how-step h3 { font-family: 'Poppins', sans-serif; font-size: .92rem; font-weight: 600; margin: 0; }
.how-step p { margin: 0; font-size: .75rem; color: var(--muted); }
.how-arrow { color: var(--brand); display: flex; align-items: center; justify-content: center; }

/* Profile cards */
.profile-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; border: 1px solid #f2e9ee; }
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.profile-photo { position: relative; aspect-ratio: 4 / 5; background: var(--ivory); overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.badge-verified { position: absolute; left: 8px; top: 8px; background: #1e8e5a; color: #fff; font-size: .62rem; padding: .22rem .5rem; border-radius: 20px; font-weight: 500; }
.btn-heart { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: .2s; }
.btn-heart:hover { transform: scale(1.1); }
.btn-heart.active i { font-weight: 900; }
.profile-body { padding: .85rem .9rem 1rem; flex: 1; display: flex; flex-direction: column; }
.profile-name { font-family: 'Playfair Display', serif; font-size: 1.02rem; font-weight: 700; margin: 0; }
.profile-age { font-size: .76rem; color: var(--muted); margin-bottom: .5rem; }
.profile-meta { list-style: none; padding: 0; margin: 0 0 .8rem; font-size: .75rem; color: #4d444a; }
.profile-meta li { display: flex; gap: .45rem; align-items: baseline; margin-bottom: .18rem; }
.profile-meta i { color: #9b8f96; width: 12px; flex: none; text-align: center; }
.profile-actions { margin-top: auto; display: grid; gap: .4rem; }
.profile-actions .btn { font-size: .78rem; padding: .4rem .5rem; }

/* Stats band */
.stats { background: linear-gradient(90deg, #6b2338, var(--brand)); color: #fff; padding: 1.6rem 0; }
.stat { display: flex; align-items: center; gap: .9rem; justify-content: center; padding: .5rem; }
.stat i { font-size: 2rem; color: var(--gold); }
.stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.5rem; line-height: 1.1; color: var(--gold); }
.stat span { font-size: .78rem; opacity: .9; }

/* Why choose */
.why-card { text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius); background: #fff; height: 100%; border: 1px solid #f2e9ee; transition: .25s; }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--ivory); color: var(--brand); display: grid; place-items: center; margin: 0 auto .9rem; font-size: 1.4rem; border: 1px solid var(--gold); }
.why-card h3 { font-family: 'Poppins', sans-serif; font-size: .95rem; font-weight: 600; }
.why-card p { font-size: .8rem; color: var(--muted); margin: 0; }

/* Stories */
.story-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; border: 1px solid #f2e9ee; }
.story-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; background: var(--ivory); }
.story-body { padding: 1rem 1.1rem 1.2rem; }
.story-quote { font-size: .83rem; color: #4d444a; font-style: italic; }
.story-quote i { color: var(--gold); margin-right: .25rem; }
.story-names { font-family: 'Playfair Display', serif; font-weight: 700; margin: .6rem 0 0; font-size: 1rem; }
.story-meta { font-size: .75rem; color: var(--muted); }

/* Plans */
.plan-card { position: relative; background: #fff; border-radius: var(--radius); padding: 1.8rem 1.4rem 1.5rem; height: 100%; display: flex; flex-direction: column; border: 1px solid #ecdfe5; box-shadow: var(--shadow-sm); text-align: center; transition: .25s; }
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card.popular { border: 2px solid var(--gold); background: linear-gradient(180deg, #fffaf3, #fff); box-shadow: 0 12px 34px rgba(203, 165, 108, .35); }
.plan-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font-size: .7rem; font-weight: 600; padding: .25rem 1rem; border-radius: 20px; white-space: nowrap; letter-spacing: .04em; }
.plan-card h3 { font-size: 1.25rem; }
.plan-price { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--brand); margin: .3rem 0 0; }
.plan-price small { font-family: 'Poppins', sans-serif; font-size: .78rem; font-weight: 400; color: var(--muted); }
.plan-desc { font-size: .78rem; color: var(--muted); }
.plan-features { list-style: none; padding: 0; margin: 1rem 0 1.4rem; text-align: left; font-size: .82rem; }
.plan-features li { margin-bottom: .5rem; display: flex; gap: .55rem; }
.plan-features i { color: #1e8e5a; margin-top: .22rem; }
.plan-card .btn { margin-top: auto; }

/* CTA */
.cta { background: linear-gradient(90deg, #6b2338, var(--brand)); color: #fff; padding: 2rem 0; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .2rem; }
.cta p { margin: 0; opacity: .9; }

/* Footer */
.site-footer { background: #1f1a20; color: #d8d0d5; padding: 2.8rem 0 1rem; font-size: .83rem; }
.site-footer h6 { color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 1rem; }
.footer-text { max-width: 300px; color: #bfb5bb; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #d8d0d5; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.contact-list li { display: flex; gap: .65rem; }
.contact-list i { color: var(--gold); margin-top: .2rem; width: 14px; }
.social a { width: 34px; height: 34px; border-radius: 6px; background: #fff; color: var(--brand); display: grid; place-items: center; text-decoration: none; transition: .2s; }
.social a:hover { background: var(--gold); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2rem; padding-top: 1rem; text-align: center; color: #9d939a; font-size: .78rem; }

/* Auth pages */
.auth-page { background: linear-gradient(135deg, var(--ivory), #fff); padding: 3rem 0 4rem; min-height: 70vh; }
.auth-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-md); padding: 2rem; border-top: 4px solid var(--gold); }
.auth-card h1 { font-size: 1.8rem; margin-bottom: .25rem; }
.auth-card .form-label { font-size: .8rem; font-weight: 500; }
.field-validation-error, .text-danger { font-size: .75rem; }
.page-hero { background: linear-gradient(90deg, #6b2338, var(--brand)); color: #fff; padding: 2.2rem 0; }
.page-hero h1 { color: #fff; margin: 0; font-size: 2rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6rem; }
.prose p, .prose li { color: #4d444a; line-height: 1.7; }

/* Carousel scroller for stories on small screens */
.pagination .page-link { color: var(--brand); }
.pagination .active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }

@media (max-width: 991.98px) {
    .hero, .hero-slide { min-height: 520px; }
    .hero-slide::before { background: linear-gradient(180deg, rgba(74, 22, 38, .85), rgba(132, 47, 73, .6)); }
    .hero-content { padding-bottom: 8.5rem; }
    .hero-badge { display: none; }
    .how-arrow { display: none; }
}
@media (max-width: 575.98px) {
    .section { padding: 2.6rem 0; }
    .search-card { padding: 1.1rem; }
    .search-wrap { margin-top: -6.6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Admin */
.admin-table { background: #fff; border: 1px solid #f2e9ee; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.admin-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.admin-table td { font-size: .85rem; }

.dash-card { background: #fff; border: 1px solid #f2e9ee; border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.dash-card dt { font-weight: 500; color: var(--muted); }
.contact-panel { background: var(--ivory); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1rem 1.25rem; }
.photo-preview { width: 120px; height: 150px; object-fit: cover; object-position: center top; border-radius: 10px; background: var(--ivory); border: 1px solid #e3dadf; }

/* Hero slider: slides advance right-to-left every 3 seconds */
.hero-slide { position: relative; min-height: 560px; overflow: hidden; background: #4a1626; }
.hero .carousel-item { transition: transform .7s ease-in-out; }
.hero .carousel-indicators { top: 1rem; bottom: auto; justify-content: flex-end; margin: 0 2rem 0 0; z-index: 3; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border: 0; border-radius: 2px; background: #fff; opacity: .55; }
.hero .carousel-indicators .active { background: var(--gold); opacity: 1; }
.hero .carousel-control-prev, .hero .carousel-control-next { z-index: 3; width: 4rem; top: 25%; bottom: 40%; }
@media (max-width: 575.98px) { .hero .carousel-control-prev, .hero .carousel-control-next { display: none; } }
/* Full-frame photo slides: keep the couple's faces in view and don't dim them */
.hero-slide--photo .hero-img { object-position: right 18%; }
.hero-slide--photo::before { background: linear-gradient(90deg, rgba(74, 22, 38, .45) 0%, rgba(132, 47, 73, .2) 40%, rgba(132, 47, 73, 0) 55%); }
@media (max-width: 991.98px) { .hero-slide--photo::before { background: linear-gradient(180deg, rgba(74, 22, 38, .75), rgba(132, 47, 73, .5)); } }

.plan-card.current { border: 2px solid var(--brand); }
.checkout-card, .checkout-plan-card { background: #fff; border: 1px solid #efe2e8; border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-sm); height: 100%; }
.checkout-plan-card h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: .75rem 0 .15rem; }.checkout-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff0c9; color: #a5751e; font-size: 1.35rem; }.checkout-price { font-family: 'Playfair Display', serif; color: var(--brand); font-size: 2rem; font-weight: 700; margin: .6rem 0 1.25rem; }
.checkout-step { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }.checkout-step span { display: grid; place-items: center; width: 28px; height: 28px; color: #fff; background: var(--brand); border-radius: 50%; font-weight: 600; }.checkout-step h2 { font-size: 1.05rem; margin: 0; }.payment-choice { display: flex; gap: .8rem; align-items: center; text-align: left; padding: 1rem; border: 1px solid #eadde3; border-radius: 10px; color: var(--charcoal); background: #fff; text-decoration: none; transition: .2s; }.payment-choice:hover { color: var(--charcoal); border-color: var(--brand); background: #fff7f9; }.payment-choice > i { font-size: 1.6rem; color: var(--brand); }.payment-choice strong, .payment-choice small { display: block; }.payment-choice small { color: var(--muted); font-size: .76rem; margin-top: .15rem; }.online-choice { cursor: pointer; }.secure-note { display: flex; gap: .75rem; padding: 1rem; border-radius: 10px; background: #fbf1f4; color: #653044; font-size: .84rem; }.secure-note > i { color: var(--brand); font-size: 1.4rem; }
.bank-details { display: grid; grid-template-columns: 1fr 1.5fr; border: 1px solid #efe2e8; border-radius: 10px; overflow: hidden; margin: 0; }.bank-details dt, .bank-details dd { padding: .75rem 1rem; margin: 0; border-bottom: 1px solid #f3eaed; }.bank-details dt { background: #fcf7f8; color: var(--muted); font-weight: 500; }.bank-details dd { font-weight: 600; word-break: break-word; }.bank-details dt:nth-last-of-type(1), .bank-details dd:last-child { border-bottom: 0; }

/* Homepage polish: warm editorial hierarchy, clear actions, and responsive rhythm. */
:root { --surface: #fffdfb; --surface-soft: #fff8f1; --line: #eadde1; --success: #237a55; --motion-fast: 160ms; --motion-base: 260ms; }
.home-hero { min-height: 640px; background: #35101d; }
.home-hero .hero-content { padding: 5.75rem 0 13.25rem; max-width: 620px; }
.home-hero .hero-eyebrow { display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .72rem; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; background: rgba(255,255,255,.08); color: #ffe2aa; letter-spacing: .1em; }
.home-hero h1, .home-hero .hero-title { font-size: clamp(2.65rem, 5.5vw, 4.65rem); letter-spacing: -.035em; text-wrap: balance; }
.home-hero p { max-width: 510px; font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.7; }
.hero-trust-list { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; padding: 0; margin: 1.75rem 0 0; list-style: none; color: #fff7ee; font-size: .78rem; font-weight: 500; }.hero-trust-list i { color: #f4cb7d; margin-right: .3rem; }
.search-wrap { margin-top: -8.5rem; }.search-card { max-width: 1120px; margin: 0 auto; padding: 1.65rem; border: 1px solid rgba(255,255,255,.8); border-radius: 20px; box-shadow: 0 20px 60px rgba(48, 16, 29, .18); }
.search-card-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.1rem; }.search-card-intro h2 { margin: .2rem 0 0; font-size: clamp(1.35rem, 2vw, 1.7rem); }.search-card-intro p { max-width: 340px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.section-kicker { display: inline-block; color: var(--brand); font-size: .7rem; font-weight: 700; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }.hero .section-kicker { color: #ffe2aa; }
.how { padding: 3.25rem 0 2.6rem; background: var(--surface-soft); border-bottom: 0; }.how-heading { max-width: 610px; margin: 0 auto 1.85rem; text-align: center; }.how-heading h2 { margin: .35rem 0 0; font-size: clamp(1.55rem, 3vw, 2.25rem); text-wrap: balance; }.how-step { padding: 1.1rem .85rem; }.how-step i { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: .85rem; border-radius: 16px; color: var(--brand); background: #fff; box-shadow: 0 8px 20px rgba(83, 29, 48, .08); font-size: 1.35rem; }.how-step h3 { font-size: .86rem; }.how-step p { max-width: 160px; margin-inline: auto; line-height: 1.55; }
.section { padding: clamp(3.8rem, 7vw, 6.5rem) 0; }.section-featured { background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }.section-head { max-width: 690px; margin: 0 auto 2.6rem; }.section-head h2 { margin-top: .25rem; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; text-wrap: balance; }.section-head p { font-size: .95rem; line-height: 1.65; }.section-head:has(.view-all) { max-width: none; padding-inline: 11rem; }.section-head .view-all { top: 1.1rem; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }.divider-gold { width: 50px; height: 2px; margin-top: .9rem; }
.profile-card { border-color: var(--line); box-shadow: 0 5px 18px rgba(46, 25, 34, .06); }.profile-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(46, 25, 34, .14); }.profile-card:focus-within { outline: 3px solid rgba(203, 165, 108, .58); outline-offset: 3px; }.profile-photo img { transition: transform 500ms ease; }.profile-card:hover .profile-photo img { transform: scale(1.035); }
.profile-actions .btn { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; }.plan-card > .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.stats { padding: 2.2rem 0; background: var(--brand); color: #fff; }.stat { min-height: 100%; padding: 1.25rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.07); transition: background var(--motion-base) ease, transform var(--motion-base) ease; }.stat:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }.stat i { color: #f9d999; }.stat strong { color: #fff; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }.stat span { color: rgba(255,255,255,.82); }
.why-section { background: #fff8f3; }.why-card { padding: 1.6rem; border: 1px solid transparent; border-radius: 16px; background: rgba(255,255,255,.84); box-shadow: 0 6px 18px rgba(72, 33, 46, .05); transition: border-color var(--motion-base) ease, transform var(--motion-base) ease, box-shadow var(--motion-base) ease; }.why-card:hover { border-color: #e8cbd4; transform: translateY(-4px); box-shadow: 0 16px 28px rgba(72, 33, 46, .11); }.why-icon { border-radius: 14px; }.story-card { border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(46,25,34,.07); }.home-cta { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0; background: radial-gradient(circle at 85% 20%, rgba(234,196,129,.24), transparent 24rem), linear-gradient(115deg, #5f1f36, #872f4a); }.home-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; text-wrap: balance; }.home-cta p { color: rgba(255,255,255,.86); font-size: 1rem; }.home-cta .btn { box-shadow: 0 10px 25px rgba(0,0,0,.16); }
@media (max-width: 991.98px) { .home-hero { min-height: 590px; }.home-hero .hero-content { padding: 4.5rem 0 12rem; }.search-wrap { margin-top: -7rem; }.search-card { margin-inline: .25rem; }.how-arrow { display: none; } }
@media (max-width: 767.98px) { .home-hero { min-height: 620px; }.home-hero .hero-content { padding: 4rem 0 12.5rem; }.home-hero h1, .home-hero .hero-title { font-size: clamp(2.35rem, 11vw, 3.35rem); }.hero-trust-list { gap: .5rem .8rem; font-size: .7rem; }.search-wrap { margin-top: -8.8rem; }.search-card { padding: 1.2rem; }.search-card-intro { align-items: start; flex-direction: column; gap: .45rem; }.search-card-intro p { max-width: 100%; }.section-head:has(.view-all) { padding-inline: 0; }.section-head .view-all { margin-top: 1rem; }.home-hero .carousel-indicators { margin-right: 1rem; }.stats { padding: 1.25rem 0; }.stat { padding: 1rem .8rem; }.bank-details { grid-template-columns: 1fr; }.bank-details dt { border-bottom: 0; padding-bottom: .1rem; }.bank-details dd { padding-top: .1rem; } }
@media (prefers-reduced-motion: reduce) { .profile-card, .profile-photo img, .stat, .why-card { transition: none !important; }.hero .carousel-item { transition: none !important; } }
.compare-table th, .compare-table td { text-align: center; vertical-align: middle; font-size: .85rem; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table thead th { background: var(--ivory); color: var(--brand); font-family: 'Playfair Display', serif; }
.compare-table .yes { color: #1e8e5a; }

/* Account dropdown (outlined icons, red logout) */
.account-menu { min-width: 250px; padding: .5rem; border-radius: 14px; border-color: #eee6ea; }
.account-menu .dropdown-item { display: flex; align-items: center; gap: .85rem; padding: .55rem .75rem; border-radius: 10px; font-weight: 500; font-size: .92rem; color: #1f1a20; }
.account-menu .dropdown-item i { width: 20px; text-align: center; color: #5b525c; font-size: .95rem; }
.account-menu .dropdown-item:hover, .account-menu .dropdown-item:focus { background: #fbf2f5; color: var(--brand); }
.account-menu .dropdown-item:hover i { color: var(--brand); }
.account-menu .logout-item, .account-menu .logout-item i { color: #d6336c; }
.account-menu .logout-item:hover { background: #fdecef; color: #c2255c; }
.navbar .btn-outline-brand.show, .navbar .btn-outline-brand:focus-visible { background: var(--brand); color: #fff; }

/* Chat */
.chat-shell { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid #f0e6ec; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); min-height: 520px; height: calc(100vh - 290px); max-height: 720px; }
.chat-list { border-right: 1px solid #f0e6ec; overflow-y: auto; }
.chat-item { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid #f7f0f3; }
.chat-item:hover { background: #fbf6f8; color: var(--charcoal); }
.chat-item.active { background: var(--ivory); border-left: 3px solid var(--brand); }
.chat-item img, .chat-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center top; background: var(--ivory); flex: none; }
.chat-item small { font-size: .75rem; }
.chat-pane { display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid #f0e6ec; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; background: #fcf9fa; display: flex; flex-direction: column; gap: .5rem; }
.chat-bubble { max-width: 75%; padding: .5rem .8rem; border-radius: 14px; font-size: .9rem; line-height: 1.4; word-wrap: break-word; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.chat-bubble.mine { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.theirs { align-self: flex-start; background: #fff; border: 1px solid #efe5ea; border-bottom-left-radius: 4px; }
.chat-text { white-space: pre-wrap; }
.chat-time { display: block; font-size: .65rem; opacity: .7; text-align: right; margin-top: 2px; }
.chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid #f0e6ec; align-items: flex-end; }
.chat-form textarea { resize: none; max-height: 120px; }
@media (max-width: 767.98px) {
    .chat-shell { grid-template-columns: 1fr; height: auto; max-height: none; }
    .chat-list { max-height: 210px; border-right: 0; border-bottom: 1px solid #f0e6ec; }
    .chat-messages { min-height: 320px; max-height: 55vh; }
}
