/* ==========================================================================
   TANBAC – Design system and site styles
   Bootstrap 5.3 base + custom tokens below.
   ========================================================================== */

:root {
    /* Colour */
    --navy-900: #061a30;
    --navy-800: #0b2a4a;
    --navy-700: #13395f;
    --navy-100: #e8eef5;
    --gold-500: #c8a04a;
    --gold-600: #a9842f;
    --gold-100: #f7efdc;
    --ink: #1c2533;
    --muted: #5b6676;
    --line: #e3e8ef;
    --surface: #ffffff;
    --surface-alt: #f6f8fb;

    /* Typography */
    --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    /* Spacing, shape and depth */
    --section-y: clamp(4rem, 8vw, 6.5rem);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(11, 42, 74, .06), 0 2px 8px rgba(11, 42, 74, .05);
    --shadow: 0 10px 30px rgba(11, 42, 74, .09);
    --shadow-lg: 0 24px 48px rgba(11, 42, 74, .16);
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Bootstrap overrides */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--surface);
    --bs-link-color: var(--navy-700);
    --bs-link-color-rgb: 19, 57, 95;
    --bs-link-hover-color: var(--gold-600);
    --bs-link-hover-color-rgb: 169, 132, 47;
    --bs-border-color: var(--line);
    --bs-primary: var(--navy-800);
    --bs-primary-rgb: 11, 42, 74;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-size: 1rem; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--navy-800); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.25rem; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: color .2s var(--ease); }
::selection { background: var(--gold-100); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: var(--navy-800); color: #fff; padding: .5rem 1rem; border-radius: var(--radius-sm); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--navy-800); color: #d5deea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .75rem; }
.section-heading .lead-sm { color: var(--muted); font-size: 1.075rem; margin: 0; }
.section-heading--light h2 { color: #fff; }
.section-heading--light .lead-sm { color: #c3cfdd; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold-600); margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.text-center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.section--navy .eyebrow, .section-heading--light .eyebrow { color: var(--gold-500); }

.lead-text { font-size: 1.1rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */
.btn { font-weight: 600; border-radius: var(--radius-sm); padding: .75rem 1.5rem; letter-spacing: .01em; transition: all .25s var(--ease); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { padding: .45rem .9rem; }
.btn-gold { background: var(--gold-500); color: var(--navy-900); border: 1px solid var(--gold-500); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-600); border-color: var(--gold-600); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(169, 132, 47, .3); }
.btn-navy { background: var(--navy-800); color: #fff; border: 1px solid var(--navy-800); }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline-light-gold { color: #fff; border: 1px solid rgba(255, 255, 255, .55); background: transparent; }
.btn-outline-light-gold:hover, .btn-outline-light-gold:focus-visible { border-color: var(--gold-500); color: var(--gold-500); background: rgba(255, 255, 255, .04); }
.btn-outline-navy { color: var(--navy-800); border: 1px solid var(--navy-800); background: transparent; }
.btn-outline-navy:hover, .btn-outline-navy:focus-visible { background: var(--navy-800); color: #fff; }

.link-arrow { font-weight: 600; font-size: .92rem; color: var(--navy-700); display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold-600); }
.link-arrow:hover i { transform: translateX(4px); }

/* Sample / placeholder markers */
.badge-sample {
    display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap;
    font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    padding: .2rem .5rem; border-radius: 50rem; background: #fff4d6; color: #7a5a10; border: 1px dashed #d8b45c;
}
.placeholder-note {
    display: flex; gap: .6rem; align-items: flex-start;
    padding: .85rem 1rem; border-radius: var(--radius-sm);
    background: #fffaf0; border: 1px dashed #d8b45c; color: #6b5313; font-size: .9rem;
}
.placeholder-note i { margin-top: .15rem; }

/* --------------------------------------------------------------------------
   Preview strip, top bar and header
   -------------------------------------------------------------------------- */
.preview-strip { background: var(--gold-100); color: #5d4710; font-size: .82rem; padding: .4rem 0; text-align: center; }
.preview-strip .badge-sample { font-size: .62rem; }

.topbar { background: var(--navy-900); color: #b7c4d4; font-size: .84rem; padding: .5rem 0; }
.topbar a { color: #dfe7f1; }
.topbar a:hover { color: var(--gold-500); }
.topbar__list { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; align-items: center; }
.topbar__list i { color: var(--gold-500); margin-right: .35rem; }
.topbar__tagline { font-family: var(--font-heading); font-style: italic; color: var(--gold-500); }

.site-header { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 42, 74, .08); border-color: var(--line); }
.site-header .navbar { padding: .85rem 0; }

.brand { display: flex; align-items: center; margin-right: 1rem; padding: 0; }
.brand__logo { height: 70px; width: auto; }
@media (max-width: 575.98px) { .brand__logo { height: 50px; } }
.offcanvas-logo { height: 48px; width: auto; }
.topbar__social { gap: .9rem; }
.topbar__social a { font-size: .95rem; }
.nav-actions { display: flex; gap: .5rem; }
.nav-actions .btn { padding: .6rem 1.1rem; }
@media (max-width: 1199.98px) { .nav-actions { flex-direction: column; } .nav-actions .btn { width: 100%; } }

.navbar-toggler { border: 1px solid var(--line); padding: .35rem .6rem; font-size: 1.6rem; color: var(--navy-800); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(200, 160, 74, .35); }

.navbar .nav-link { font-weight: 500; font-size: .95rem; color: var(--ink); padding: .5rem .8rem !important; position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.active, .navbar .nav-link.show { color: var(--navy-800); }
@media (min-width: 1200px) {
    .navbar .nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border: 0; margin: 0; }
    .navbar .nav-link.dropdown-toggle::after { right: 1.6rem; }
    .navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
    .navbar .dropdown-toggle { padding-right: 1.6rem !important; }
    .navbar .dropdown-toggle::before { content: "\F282"; font-family: "bootstrap-icons"; position: absolute; right: .55rem; top: 50%; transform: translateY(-50%); font-size: .65rem; }
    .navbar .dropdown:hover > .dropdown-menu { display: block; }
}
.dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; min-width: 230px; margin-top: 0; }
.dropdown-item { border-radius: var(--radius-sm); padding: .55rem .9rem; font-size: .93rem; color: var(--ink); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--navy-100); color: var(--navy-800); }
.dropdown-item.active, .dropdown-item:active { background: var(--navy-800); color: #fff; }

@media (max-width: 1199.98px) {
    .offcanvas { max-width: 340px; }
    .offcanvas .nav-link { padding: .8rem .25rem !important; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .offcanvas .dropdown-toggle::after { float: right; margin-top: .6rem; }
    .offcanvas .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; }
    .offcanvas .btn-gold { width: 100%; }
}

/* --------------------------------------------------------------------------
   Home banner slider (split layout: navy text panel + photograph)
   -------------------------------------------------------------------------- */
.hero-slider { position: relative; background: var(--navy-900); color: #fff; }
.hero-slide { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-slide::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background: radial-gradient(circle at 12% 20%, rgba(200, 160, 74, .14), transparent 40%);
}
.hero-slide__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__media::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--navy-900) 0%, rgba(6, 26, 48, .55) 18%, rgba(6, 26, 48, 0) 45%),
                linear-gradient(0deg, rgba(6, 26, 48, .45) 0%, rgba(6, 26, 48, 0) 35%);
}
.hero-slide__content { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 4rem calc(var(--bs-gutter-x, 1.5rem) * .5) 9rem; }
.hero-slide__inner { max-width: 560px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; margin-bottom: 1.25rem; }
.hero__eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold-500); }
.hero-slide__title { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 1.25rem; }
.hero-slide__title em { font-style: italic; color: var(--gold-500); }
.hero-slide p { font-size: clamp(1rem, 1.3vw, 1.15rem); color: #d3dce8; margin-bottom: 2rem; }

.carousel-item.active .hero-slide__inner > * { animation: slide-in .9s var(--ease) both; }
.carousel-item.active .hero-slide__inner > *:nth-child(2) { animation-delay: .1s; }
.carousel-item.active .hero-slide__inner > *:nth-child(3) { animation-delay: .2s; }
.carousel-item.active .hero-slide__inner > *:nth-child(4) { animation-delay: .3s; }
@keyframes slide-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-slider__controls { position: absolute; left: 0; right: 0; bottom: 6.5rem; z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 2rem; }
.hero-slider__dots.carousel-indicators { position: static; margin: 0; padding: 0; justify-content: flex-start; gap: .9rem; }
.hero-slider__dots.carousel-indicators [data-bs-target] {
    width: auto; height: auto; text-indent: 0; background: none; border: 0; margin: 0; opacity: 1;
    color: rgba(255, 255, 255, .5); font-size: .8rem; font-weight: 600; letter-spacing: .08em; padding: .35rem 0;
    display: flex; align-items: center; gap: .5rem;
}
.hero-slider__dots.carousel-indicators [data-bs-target]::after { content: ""; width: 26px; height: 2px; background: rgba(255, 255, 255, .3); transition: width .4s var(--ease), background .3s; }
.hero-slider__dots.carousel-indicators .active { color: var(--gold-500); }
.hero-slider__dots.carousel-indicators .active::after { width: 52px; background: var(--gold-500); }
.hero-slider__arrows { display: flex; gap: .5rem; }
.hero-slider__arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; transition: all .25s; }
.hero-slider__arrows button:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }

@media (max-width: 991.98px) {
    .hero-slide { flex-direction: column; align-items: stretch; min-height: 0; }
    .hero-slide__media { position: relative; width: 100%; height: 260px; }
    .hero-slide__media::before { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(6, 26, 48, 0) 55%); }
    .hero-slide__content { padding: 1.5rem calc(var(--bs-gutter-x, 1.5rem) * .5) 10rem; min-height: 400px; }
    .hero-slider__controls { bottom: 6.25rem; justify-content: flex-start; }
    .hero-slider__arrows { display: none; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .hero-slide__content { max-width: 540px; } }
@media (min-width: 768px) and (max-width: 991.98px) { .hero-slide__content { max-width: 720px; } .hero-slide__media { height: 340px; } }
@media (min-width: 992px) { .hero-slide__content { max-width: 960px; } }
@media (min-width: 1200px) { .hero-slide__content { max-width: 1140px; } }
@media (min-width: 1400px) { .hero-slide__content { max-width: 1320px; } }

/* Pillars strip overlapping the hero */
.pillars { position: relative; z-index: 2; margin-top: -5rem; }
.pillars__inner { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.pillar { padding: 2rem 1.75rem; display: flex; gap: 1.1rem; align-items: flex-start; height: 100%; transition: background .3s var(--ease); }
.pillar:hover { background: var(--surface-alt); }
.pillar__icon { flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); font-size: 1.35rem; }
.pillar h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.pillar p { margin: 0; font-size: .93rem; color: var(--muted); }
@media (min-width: 768px) { .pillars .col-md-4 + .col-md-4 .pillar { border-left: 1px solid var(--line); } }
@media (max-width: 767.98px) { .pillars .col-12 + .col-12 .pillar { border-top: 1px solid var(--line); } }

/* --------------------------------------------------------------------------
   Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative; isolation: isolate; color: #fff; padding: 5.5rem 0 4.5rem;
    background: var(--navy-900) var(--hero-image) center/cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 26, 48, .93), rgba(6, 26, 48, .7)); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold-500), transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .6rem; }
.page-hero p { color: #c9d4e2; max-width: 640px; margin: 0; font-size: 1.08rem; }
.page-hero .breadcrumb { margin-bottom: 1rem; font-size: .85rem; --bs-breadcrumb-divider-color: #8fa1b8; --bs-breadcrumb-item-active-color: var(--gold-500); }
.page-hero .breadcrumb a { color: #c9d4e2; }
.page-hero .breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   About blocks
   -------------------------------------------------------------------------- */
.about-media { position: relative; padding: 0 2rem 2rem 0; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-media::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border: 2px solid var(--gold-500); border-radius: var(--radius-lg); z-index: -1; }
.about-media__badge {
    position: absolute; left: -1rem; bottom: 0; background: var(--navy-800); color: #fff;
    border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); border-bottom: 3px solid var(--gold-500);
}
.about-media__badge strong { display: block; font-family: var(--font-heading); font-size: 2rem; color: var(--gold-500); line-height: 1; }
.about-media__badge span { font-size: .85rem; color: #c9d4e2; }
@media (max-width: 575.98px) { .about-media { padding: 0 1rem 1rem 0; } .about-media__badge { left: .75rem; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--gold-600); font-size: 1.1rem; }

.mission-card { height: 100%; padding: 1.75rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(200, 160, 74, .3); }
.mission-card > i { font-size: 2rem; color: var(--gold-500); }

.quote-block { border-left: 3px solid var(--gold-500); padding: .25rem 0 .25rem 1.25rem; font-family: var(--font-heading); font-size: 1.25rem; font-style: italic; color: var(--navy-800); margin: 1.5rem 0; }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 2rem 1.75rem; height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    display: flex; flex-direction: column;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold-500); border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 60px; height: 60px; border-radius: var(--radius); background: var(--navy-800); color: var(--gold-500); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1.4rem; transition: background .3s; }
.service-card:hover .service-card__icon { background: var(--gold-500); color: var(--navy-900); }
.service-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* Homepage service tiles (whole tile is a link) */
.service-tile {
    position: relative; display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.6rem;
    color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-tile::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold-500); border-radius: var(--radius) var(--radius) 0 0; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.service-tile:hover::before { transform: scaleX(1); }
.service-tile:hover .service-card__icon { background: var(--gold-500); color: var(--navy-900); }
.service-tile__num { position: absolute; right: 1.4rem; top: 1.2rem; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--navy-100); }
.service-tile h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.service-tile p { color: var(--muted); font-size: .93rem; flex: 1; }
.service-tile--cta { background: var(--navy-800); border-color: var(--navy-800); }
.service-tile--cta h3 { color: #fff; }
.service-tile--cta p { color: #c3cfdd; }
.service-tile--cta .service-card__icon { background: var(--gold-500); color: var(--navy-900); }
.service-tile--cta .link-arrow { color: var(--gold-500); }
.service-tile--cta:hover { color: #fff; }

/* Membership drive band */
.membership-drive { background: var(--navy-800); position: relative; overflow: hidden; color: #d5deea; }
.membership-drive::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border: 1px solid rgba(200, 160, 74, .22); border-radius: 50%; }
.membership-drive::after { content: ""; position: absolute; left: -100px; bottom: -160px; width: 340px; height: 340px; border: 1px solid rgba(200, 160, 74, .15); border-radius: 50%; }
.membership-drive .eyebrow { color: var(--gold-500); }
.membership-drive h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.text-light-muted { color: #c3cfdd !important; }
.check-list--light li { color: #e3e9f1; }
.check-list--light li::before { color: var(--gold-500); }
.join-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold-500); }
.join-card h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.join-card__footer { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.steps--compact li { padding-bottom: 1.4rem; }
.steps--compact h4 { font-size: 1.05rem; margin-bottom: .2rem; padding-top: .55rem; }

/* Detailed service rows */
.service-detail { padding: 3rem 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.service-detail__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-detail__num { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1; color: var(--gold-100); -webkit-text-stroke: 1px var(--gold-500); }

/* --------------------------------------------------------------------------
   Hotel listing cards
   -------------------------------------------------------------------------- */
.listing-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.listing-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.listing-card:hover .listing-card__media img { transform: scale(1.06); }
.listing-card__category { position: absolute; left: 1rem; top: 1rem; background: rgba(6, 26, 48, .88); color: var(--gold-500); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 50rem; }
.listing-card__body { padding: 1.25rem 1.35rem .5rem; flex: 1; }
.listing-card__title { font-size: 1.2rem; margin: 0; }
.listing-card__title a { color: var(--navy-800); }
.listing-card__title a:hover { color: var(--gold-600); }
.listing-card__location { color: var(--muted); font-size: .9rem; margin: .35rem 0 .9rem; }
.listing-card__location i { color: var(--gold-600); }
.listing-card__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.listing-card__tags li { font-size: .75rem; background: var(--surface-alt); color: var(--navy-700); padding: .25rem .6rem; border-radius: 50rem; border: 1px solid var(--line); }
.listing-card__footer { padding: 1rem 1.35rem 1.25rem; border-top: 1px solid var(--line); margin-top: 1rem; }

/* Club cards: horizontal, darker accent */
.club-card { display: flex; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.club-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.club-card__media { flex: 0 0 40%; position: relative; overflow: hidden; min-height: 220px; }
.club-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.club-card:hover .club-card__media img { transform: scale(1.06); }
.club-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; border-left: 3px solid var(--gold-500); }
.club-card__category { font-size: .78rem; font-weight: 600; color: var(--gold-600); text-transform: uppercase; letter-spacing: .06em; }
.club-card__title { font-size: 1.25rem; margin-bottom: .35rem; }
.club-card__title a { color: var(--navy-800); }
.club-card__title a:hover { color: var(--gold-600); }
.club-card__location { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.club-card__location i { color: var(--gold-600); }
.club-card__facilities { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
@media (max-width: 575.98px) {
    .club-card { flex-direction: column; }
    .club-card__media { flex-basis: auto; aspect-ratio: 16 / 9; min-height: 0; }
    .club-card__body { border-left: 0; border-top: 3px solid var(--gold-500); }
}

/* Directory section on home: club band */
.club-band { background: var(--navy-800); position: relative; overflow: hidden; }
.club-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border: 1px solid rgba(200, 160, 74, .25); border-radius: 50%; }
.club-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border: 1px solid rgba(200, 160, 74, .18); border-radius: 50%; }

/* --------------------------------------------------------------------------
   Directory pages: filters, toolbar, pagination
   -------------------------------------------------------------------------- */
.directory-search { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.25rem; margin-top: -2.75rem; position: relative; z-index: 2; }
.directory-search .form-control, .directory-search .form-select { height: 52px; }
.directory-search .btn { min-height: 52px; }
.form-control, .form-select { border-color: var(--line); border-radius: var(--radius-sm); padding: .7rem 1rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 .2rem rgba(200, 160, 74, .2); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy-800); }
.form-check-input:checked { background-color: var(--navy-800); border-color: var(--navy-800); }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon .form-control { padding-left: 2.6rem; }

.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 110px; }
.filter-panel h2 { font-size: 1.15rem; margin-bottom: 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.filter-panel h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 1.5rem 0 .75rem; }
.filter-panel .form-check { margin-bottom: .45rem; font-size: .93rem; }
.filter-panel .count { color: var(--muted); font-size: .8rem; }

.directory-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.directory-toolbar p { margin: 0; color: var(--muted); }
.directory-toolbar .form-select { width: auto; min-width: 190px; }

.az-filter { display: flex; flex-wrap: wrap; gap: .3rem; }
.az-filter a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--navy-700); background: #fff; }
.az-filter a:hover, .az-filter a.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--navy-700); border-radius: 50rem; padding: .45rem 1rem; font-size: .88rem; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--gold-500); color: var(--navy-800); }
.chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.pagination { --bs-pagination-color: var(--navy-800); --bs-pagination-hover-color: var(--navy-800); --bs-pagination-hover-bg: var(--gold-100); --bs-pagination-active-bg: var(--navy-800); --bs-pagination-active-border-color: var(--navy-800); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(200, 160, 74, .3); gap: .35rem; }
.pagination .page-link { border-radius: var(--radius-sm) !important; min-width: 42px; text-align: center; }

/* --------------------------------------------------------------------------
   Detail pages
   -------------------------------------------------------------------------- */
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 200px); gap: .75rem; border-radius: var(--radius-lg); overflow: hidden; }
.detail-gallery a { position: relative; display: block; overflow: hidden; }
.detail-gallery a:first-child { grid-row: span 2; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.detail-gallery a:hover img { transform: scale(1.05); }
.detail-gallery a[hidden] { display: none; }
.detail-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 26, 48, .6); color: #fff; font-weight: 600; }
@media (max-width: 767.98px) {
    .detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 130px; }
    .detail-gallery a:first-child { grid-column: span 2; grid-row: auto; }
}

.detail-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .95rem; }
.detail-meta i { color: var(--gold-600); }
.detail-category { display: inline-block; background: var(--navy-800); color: var(--gold-500); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 50rem; }

.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.content-card + .content-card { margin-top: 1.5rem; }
.content-card h2 { font-size: 1.35rem; margin-bottom: 1rem; }

.facility-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; list-style: none; padding: 0; margin: 0; }
.facility-list li { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; background: var(--surface-alt); border-radius: var(--radius-sm); font-size: .93rem; }
.facility-list i { color: var(--gold-600); font-size: 1.1rem; }

.contact-sidebar { position: sticky; top: 110px; }
.contact-sidebar .content-card { border-top: 3px solid var(--gold-500); }
.contact-row { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-800); }
.contact-row small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-row span, .contact-row a { color: var(--ink); font-weight: 500; word-break: break-word; }

.map-placeholder { border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--surface-alt), var(--surface-alt) 12px, #eef2f7 12px, #eef2f7 24px); border: 1px dashed #c4ceda; min-height: 240px; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 1.5rem; }
.map-placeholder i { font-size: 2rem; color: var(--gold-600); display: block; margin-bottom: .5rem; }
.map-frame { border: 0; width: 100%; min-height: 380px; border-radius: var(--radius); filter: grayscale(.2); }

.article-body { font-size: 1.05rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2rem; }
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; }
.sidebar-title { font-size: 1.15rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--gold-500); display: inline-block; }

/* --------------------------------------------------------------------------
   Committee
   -------------------------------------------------------------------------- */
.leader-card { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.leader-card__photo { flex: 0 0 44%; background: linear-gradient(160deg, var(--navy-100), #dfe6ef); position: relative; }
.leader-card__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-500); }
.leader-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; min-height: 280px; }
.leader-card__body { padding: 2rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.leader-card__role { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .4rem; }
.leader-card__name { font-size: 1.55rem; margin-bottom: .75rem; }
.leader-card__body p { color: var(--muted); margin-bottom: 1.25rem; }
@media (max-width: 575.98px) {
    .leader-card { flex-direction: column; }
    .leader-card__photo { flex-basis: auto; }
    .leader-card__photo img { aspect-ratio: 10 / 9; min-height: 0; }
}

.blog-search { min-width: 260px; }
.login-section { background: var(--surface-alt); min-height: 60vh; }

.committee-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.25rem 1.5rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.committee-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.committee-card__photo {
    width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: var(--gold-500);
    font-family: var(--font-heading); font-size: 2.4rem; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--gold-500);
}
.committee-card--placeholder .committee-card__photo { background: var(--surface-alt); color: #a3afbf; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--line); font-size: 3rem; }
.committee-card__name { font-size: 1.2rem; margin-bottom: .2rem; }
.committee-card--placeholder .committee-card__name { color: var(--muted); font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.committee-card__role { color: var(--gold-600); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.committee-card__note { display: inline-block; font-size: .75rem; color: var(--muted); border: 1px dashed var(--line); border-radius: 50rem; padding: .2rem .7rem; }
.committee-card__note--verified { border-style: solid; color: var(--navy-700); background: var(--navy-100); border-color: transparent; }

/* --------------------------------------------------------------------------
   Events and news
   -------------------------------------------------------------------------- */
.event-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.event-card:hover .event-card__media img { transform: scale(1.06); }
.event-card__date { position: absolute; right: 1rem; bottom: 1rem; background: #fff; color: var(--navy-800); text-align: center; border-radius: var(--radius-sm); padding: .45rem .7rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; line-height: 1.2; border-bottom: 3px solid var(--gold-500); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.event-card__date strong { font-family: var(--font-heading); font-size: 1.5rem; }
.event-card__date i { font-size: 1rem; color: var(--gold-600); }
.event-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.event-card__type { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .4rem; }
.event-card__title { font-size: 1.2rem; margin-bottom: .6rem; }
.event-card__title a { color: var(--navy-800); }
.event-card__title a:hover { color: var(--gold-600); }
.event-card__body p { color: var(--muted); font-size: .93rem; flex: 1; }

.news-card { display: flex; gap: 1.25rem; background: #fff; border-radius: var(--radius); padding: 1rem; border: 1px solid var(--line); transition: box-shadow .3s var(--ease), border-color .3s; height: 100%; }
.news-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.news-card__media { flex: 0 0 38%; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; align-self: flex-start; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.news-card__category { color: var(--gold-600); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.news-card__title { font-size: 1.12rem; margin-bottom: .4rem; }
.news-card__title a { color: var(--navy-800); }
.news-card__title a:hover { color: var(--gold-600); }
.news-card__body p { font-size: .92rem; color: var(--muted); margin: 0; }
.news-card--compact { padding: .75rem; gap: 1rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.news-card--compact:hover { box-shadow: none; }
.news-card--compact .news-card__media { flex-basis: 96px; }
.news-card--compact .news-card__title { font-size: 1rem; }
@media (max-width: 575.98px) { .news-card:not(.news-card--compact) { flex-direction: column; } .news-card:not(.news-card--compact) .news-card__media { flex-basis: auto; } }

.featured-news { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; height: 100%; }
.featured-news img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.featured-news:hover img { transform: scale(1.04); }
.featured-news::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 26, 48, .95) 10%, rgba(6, 26, 48, .1) 70%); }
.featured-news__body { padding: 2rem; }
.featured-news h3 { color: #fff; font-size: 1.6rem; }
.featured-news h3 a { color: #fff; }
.featured-news p { color: #d0dae6; }
.featured-news .news-card__category { color: var(--gold-500); }

/* --------------------------------------------------------------------------
   Gallery and video
   -------------------------------------------------------------------------- */
.gallery-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-alt); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-tile__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6, 26, 48, .55); color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity .3s; }
.gallery-tile:hover img, .gallery-tile:focus-visible img { transform: scale(1.08); }
.gallery-tile:hover .gallery-tile__zoom, .gallery-tile:focus-visible .gallery-tile__zoom { opacity: 1; }

.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: .9rem; }
.gallery-mosaic .gallery-tile { aspect-ratio: auto; height: 100%; }
.gallery-mosaic .gallery-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-mosaic .gallery-tile:nth-child(4) { grid-row: span 2; }
@media (max-width: 767.98px) {
    .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
    .gallery-mosaic .gallery-tile:nth-child(4) { grid-row: auto; }
}

.album-tabs .nav-link { border-radius: 50rem; color: var(--navy-700); font-weight: 500; border: 1px solid var(--line); margin: 0 .25rem .5rem; padding: .5rem 1.2rem; }
.album-tabs .nav-link.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; transition: box-shadow .3s; }
.video-card:hover { box-shadow: var(--shadow); }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--navy-900); overflow: hidden; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s var(--ease), opacity .3s; }
.video-thumb:hover img { transform: scale(1.05); opacity: 1; }
.video-thumb__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center; font-size: 2rem; box-shadow: 0 0 0 10px rgba(200, 160, 74, .3); transition: transform .3s var(--ease); }
.video-thumb:hover .video-thumb__play { transform: translate(-50%, -50%) scale(1.08); }
.video-card__body { padding: 1.25rem; }
.video-card__body h3 { font-size: 1.1rem; margin: .3rem 0 0; }
.video-placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; border-radius: var(--radius); }

.lightbox .modal-content { background: transparent; border: 0; position: relative; }
.lightbox__img { max-height: 80vh; width: auto; margin: 0 auto; display: block; border-radius: var(--radius-sm); }
.lightbox__caption { text-align: center; color: #e2e8f0; padding-top: .75rem; font-size: .9rem; }
.lightbox__close { position: absolute; right: 0; top: -2.5rem; z-index: 2; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.3rem; }
.lightbox__nav:hover { background: var(--gold-500); color: var(--navy-900); }
.lightbox__nav--prev { left: .5rem; }
.lightbox__nav--next { right: .5rem; }
.modal-backdrop.show { opacity: .88; }

/* --------------------------------------------------------------------------
   CTA, contact, forms
   -------------------------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(2.5rem, 5vw, 4rem); color: #fff; background: var(--navy-900) url("../images/stock/handshake.jpg") center/cover no-repeat; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 26, 48, .96) 30%, rgba(11, 42, 74, .75)); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.cta-band p { color: #c9d4e2; font-size: 1.08rem; }

.info-tile { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; transition: box-shadow .3s, transform .3s var(--ease); }
.info-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-tile__icon { flex: 0 0 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; background: var(--navy-800); color: var(--gold-500); font-size: 1.35rem; }
.info-tile h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.info-tile p, .info-tile a { margin: 0; color: var(--ink); font-weight: 500; word-break: break-word; }
.info-tile a:hover { color: var(--gold-600); }

.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.75rem); border-top: 4px solid var(--gold-500); }
.form-card h2 { font-size: 1.75rem; }
.form-section-title { font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.form-section-title:first-of-type { margin-top: 1rem; }
.required::after { content: " *"; color: #b42318; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 0 0 2rem 4.25rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-500); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.steps li::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: .3rem; padding-top: .6rem; }
.steps p { color: var(--muted); margin: 0; }

.licence-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.licence-pills span { font-weight: 700; font-size: .9rem; color: var(--navy-800); background: var(--gold-100); border: 1px solid #ead7a8; border-radius: var(--radius-sm); padding: .4rem .9rem; }

.policy-content h2 { font-size: 1.4rem; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #a9b7c9; padding-top: 4.5rem; font-size: .93rem; border-top: 4px solid var(--gold-500); }
.footer-brand { display: inline-block; background: #fff; padding: .6rem .85rem; border-radius: var(--radius-sm); }
.footer-brand img { height: 40px; width: auto; display: block; }
.footer-tagline { font-family: var(--font-heading); font-style: italic; color: var(--gold-500); font-size: 1.1rem; }
.footer-title { font-family: var(--font-body); color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a, .footer-contact a { color: #a9b7c9; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-500); }
.footer-links a::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .65rem; margin-right: .5rem; color: var(--gold-600); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .85rem; margin-bottom: 1rem; }
.footer-contact i { color: var(--gold-500); margin-top: .15rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); color: #fff; transition: all .25s; }
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3.5rem; padding: 1.4rem 0; font-size: .85rem; }
.footer-bottom a { color: #a9b7c9; }
.footer-bottom a:hover { color: var(--gold-500); }

.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1030; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-500); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold-500); color: var(--navy-900); }

.toast { border: 0; box-shadow: var(--shadow-lg); background: var(--navy-800); color: #fff; }
.toast .btn-close { filter: invert(1); }

/* --------------------------------------------------------------------------
   Reveal animation (disabled for reduced motion)
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Backend phase: directory badges, listing placeholders, member area
   ========================================================================== */

/* Premium Member / Member badges */
.member-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .03em; padding: .3rem .7rem; border-radius: 50rem; background: var(--navy-100); color: var(--navy-800); }
.member-badge--premium { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: #fff; box-shadow: 0 2px 8px rgba(169, 132, 47, .35); }
.listing-card--premium { border-color: var(--gold-500); box-shadow: 0 0 0 1px var(--gold-500), var(--shadow-sm); }

/* Branded placeholder when a listing has no photo */
.listing-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; text-align: center; background: linear-gradient(145deg, var(--navy-800), var(--navy-900)); color: rgba(255, 255, 255, .85); }
.listing-placeholder i { font-size: 2.4rem; color: var(--gold-500); }
.listing-placeholder span { font-family: var(--font-heading); font-size: 1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Listing detail */
.detail-logo { width: 88px; height: 88px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem; }
.detail-photo { border-radius: var(--radius-lg); overflow: hidden; }
.detail-photo img { width: 100%; max-height: 480px; object-fit: cover; display: block; }

/* Fee box on the membership page */
.fee-box { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold-500); border-radius: var(--radius); padding: 1rem 1.25rem; }
.fee-box strong { font-size: 1.4rem; color: var(--navy-800); }

/* Member area */
.account-section { background: var(--surface-alt); }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 110px; }
.account-nav__head { display: flex; gap: .8rem; align-items: center; padding: 1.1rem 1.2rem; background: var(--navy-800); color: #fff; }
.account-nav__head img, .account-nav__avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 10px; object-fit: contain; background: #fff; }
.account-nav__avatar { display: grid; place-items: center; background: var(--gold-500); color: var(--navy-900); font-size: 1.3rem; }
.account-nav__head strong { display: block; font-size: .95rem; line-height: 1.25; }
.account-nav__head span { display: block; font-size: .78rem; color: rgba(255, 255, 255, .7); word-break: break-all; }
.account-nav nav a, .account-nav nav button { display: flex; align-items: center; gap: .65rem; width: 100%; padding: .8rem 1.2rem; color: var(--ink); border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font-size: .95rem; }
.account-nav nav a:hover, .account-nav nav button:hover { background: var(--surface-alt); color: var(--navy-800); }
.account-nav nav a.active { background: var(--gold-100); color: var(--navy-800); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold-500); }
.account-nav nav i { color: var(--gold-600); }
.account-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.account-card__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.profile-thumb { display: block; max-width: 160px; max-height: 110px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.otp-input { letter-spacing: .5em; font-weight: 600; }
@media (max-width: 991.98px) { .account-nav { position: static; } }

/* Member Login / My Account link in the top bar, separated from the social icons */
.topbar__account { padding-right: .9rem; margin-right: .1rem; border-right: 1px solid rgba(255, 255, 255, .18); }
.topbar__account a { font-weight: 600; font-size: .84rem; }

/* Floating WhatsApp button (bottom right, above the back-to-top button) */
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 5rem; z-index: 1031; display: flex; align-items: center; height: 56px; min-width: 56px; padding: 0 1rem; border-radius: 50rem; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .4); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.whatsapp-float i { font-size: 1.7rem; line-height: 1; }
.whatsapp-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .92rem; transition: max-width .3s var(--ease), margin .3s var(--ease); }
.whatsapp-float:hover, .whatsapp-float:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, .5); }
.whatsapp-float:hover .whatsapp-float__label, .whatsapp-float:focus-visible .whatsapp-float__label { max-width: 140px; margin-left: .55rem; }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: whatsapp-pulse 2.4s infinite; }
@keyframes whatsapp-pulse { 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float::before { animation: none; } }
@media (max-width: 575.98px) { .whatsapp-float { right: 1rem; bottom: 4.5rem; height: 52px; min-width: 52px; padding: 0 .9rem; } }
