/* =========================================================================
   Vintex Shipping Phils. Corporation - website theme
   Deep navy + gold, Playfair Display headings, Plus Jakarta Sans text,
   Font Awesome Pro icons (wwwroot/lib/fontawesome). Built on Bootstrap 5.3.
   ========================================================================= */

:root {
    --ink: #071427;
    --navy: #0c2340;
    --navy-2: #12305a;
    --navy-3: #1b4177;
    --gold: #c9a45c;
    --gold-2: #b28a3d;
    --gold-soft: #f4ead6;
    --sand: #f7f4ee;
    --mist: #eef2f7;
    --text: #2b3445;
    --muted: #64748b;
    --line: #e6e8ee;
    --radius: 1rem;
    --radius-sm: .65rem;
    --shadow-sm: 0 2px 10px rgba(7, 20, 39, .06);
    --shadow: 0 18px 45px -18px rgba(7, 20, 39, .28);
    --shadow-lg: 0 30px 70px -25px rgba(7, 20, 39, .45);
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --bs-primary: #0c2340;
    --bs-primary-rgb: 12, 35, 64;
    --bs-link-color: #12305a;
    --bs-link-color-rgb: 18, 48, 90;
    --bs-link-hover-color: #b28a3d;
    --bs-body-font-family: var(--font-sans);
    --bs-body-color: var(--text);
    --bs-border-radius: .65rem;
}

html { font-size: 15px; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 16px; } }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display-title { font-family: var(--font-display); color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h4, h5, h6 { font-family: var(--font-sans); color: var(--ink); font-weight: 700; }
p { line-height: 1.75; }
a { text-decoration: none; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- small building blocks ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-sans); font-size: .74rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; display: inline-block; }
.eyebrow.center::after { content: ""; width: 2rem; height: 2px; background: currentColor; display: inline-block; }
.eyebrow.light { color: var(--gold); }

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
@media (max-width: 767.98px) { .section { padding: 4rem 0; } .section-sm { padding: 3rem 0; } }
.section-sand { background: var(--sand); }
.section-dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(201, 164, 92, .12), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3, .section-dark h5 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }
.lead-text { font-size: 1.08rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .7rem 1.5rem; letter-spacing: .01em; transition: all .25s ease; }
.btn-lg { padding: .95rem 2.1rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1.05rem; }
.btn i { transition: transform .25s ease; }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-gold { background: linear-gradient(135deg, #d8b46c, var(--gold-2)); border: 0; color: var(--ink); box-shadow: 0 10px 25px -12px rgba(178, 138, 61, .9); }
.btn-gold:hover, .btn-gold:focus { color: var(--ink); filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(178, 138, 61, .9); }
.btn-navy { background: var(--navy); border: 0; color: #fff; }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-3); color: #fff; transform: translateY(-2px); }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-glass { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-primary { background: var(--navy); border-color: var(--navy); }
.btn-primary:hover, .btn-primary:focus { background: var(--navy-3); border-color: var(--navy-3); }
.btn-outline-primary { color: var(--navy); border-color: var(--navy); }
.btn-outline-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- top bar + header ---------- */
.top-bar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .8rem; padding: .55rem 0; }
.top-bar a { color: rgba(255, 255, 255, .72); }
.top-bar a:hover { color: var(--gold); }
.top-bar i { color: var(--gold); margin-right: .4rem; }
.top-bar .sep { opacity: .25; margin: 0 .9rem; }

.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, padding .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 20, 39, .35); border-bottom-color: var(--line); }
.site-header .navbar { padding: .9rem 0; transition: padding .3s; }
.site-header.is-scrolled .navbar { padding: .55rem 0; }
.brand-wordmark { height: 50px; width: auto; display: block; transition: height .3s; }
.site-header.is-scrolled .brand-wordmark { height: 42px; }
@media (max-width: 575.98px) { .brand-wordmark, .site-header.is-scrolled .brand-wordmark { height: 38px; } }

.site-header .nav-link {
    font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink); padding: .6rem 1rem !important; position: relative;
}
.site-header .nav-link::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .25rem; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--navy-3); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 0; padding: .4rem .6rem; font-size: 1.4rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
    .site-header .navbar-collapse { padding: 1rem 0 .5rem; }
    .site-header .nav-link::after { display: none; }
    .header-cta { margin-top: .75rem; }
}

/* ---------- hero ---------- */
.hero {
    position: relative; min-height: 92vh; display: flex; align-items: center; color: #fff; overflow: hidden;
    background: var(--ink) url('/img/fleet/atlantic-brave-1600.webp') 70% center / cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 20, 39, .96) 0%, rgba(7, 20, 39, .82) 38%, rgba(7, 20, 39, .35) 70%, rgba(7, 20, 39, .15) 100%),
        linear-gradient(0deg, rgba(7, 20, 39, .85) 0%, transparent 35%);
}
@media (max-width: 991.98px) { .hero::before { background: linear-gradient(180deg, rgba(7, 20, 39, .7), rgba(7, 20, 39, .92)); } }
.hero .container { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 9rem; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.08; margin-bottom: 1.4rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: rgba(255, 255, 255, .82); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 560px; margin-bottom: 2.4rem; }
.hero-scroll { position: absolute; bottom: 7.2rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255, 255, 255, .55); font-size: 1.1rem; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (max-width: 991.98px) { .hero-scroll { display: none; } }

/* trust strip overlapping the hero */
.trust-strip { position: relative; z-index: 3; margin-top: -5.5rem; }
.trust-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.trust-item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.5rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item i { width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); font-size: 1.15rem; }
.trust-item strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.trust-item span { font-size: .78rem; color: var(--muted); }
@media (max-width: 991.98px) {
    .trust-card { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 479.98px) { .trust-item { padding: 1rem .9rem; gap: .6rem; } .trust-item i { width: 2.3rem; height: 2.3rem; font-size: .9rem; } .trust-item span { display: none; } .trust-item strong { font-size: .85rem; } }

/* ---------- about split ---------- */
.about-visual { position: relative; padding: 0 2.5rem 3rem 0; }
.about-visual .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.about-visual .main img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .badge-card {
    position: absolute; right: 0; bottom: 0; width: 210px; background: var(--navy); color: #fff;
    border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--gold);
}
.about-visual .badge-card img { width: 56px; height: 56px; border-radius: 50%; background: #fff; margin-bottom: .8rem; }
.about-visual .badge-card strong { font-family: var(--font-display); font-size: 1.15rem; display: block; line-height: 1.3; }
.about-visual .badge-card span { font-size: .78rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 575.98px) { .about-visual { padding: 0 0 2rem; } .about-visual .badge-card { position: relative; width: auto; margin: -2.5rem 1rem 0; } }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
.stat { padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--sand); border-left: 3px solid var(--gold); }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ---------- services ---------- */
.svc-card {
    position: relative; height: 100%; background: #fff; border-radius: var(--radius); padding: 2.2rem 2rem;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
    overflow: hidden;
}
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 3.6rem; height: 3.6rem; border-radius: 1rem; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.35rem; margin-bottom: 1.4rem; box-shadow: 0 12px 25px -12px rgba(12, 35, 64, .8); }
.svc-card h5 { font-size: 1.12rem; margin-bottom: .6rem; }
.svc-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.svc-card .num { position: absolute; right: 1.5rem; top: 1.2rem; font-family: var(--font-display); font-size: 2.6rem; color: var(--mist); font-weight: 700; line-height: 1; }

/* ---------- fleet ---------- */
.fleet-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); margin: 0; }
.fleet-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.fleet-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 20, 39, .92) 100%); }
.fleet-card figcaption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1rem; z-index: 1; color: #fff; }
.fleet-card figcaption small { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .2rem; }
.fleet-card figcaption strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.fleet-card:hover img { transform: scale(1.07); }

/* ---------- jobs ---------- */
.job-card { height: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1.8rem; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.job-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.job-card h5 { font-size: 1.15rem; margin: .9rem 0 .8rem; }
.job-meta { list-style: none; padding: 0; margin: 0 0 1.2rem; color: var(--muted); font-size: .88rem; }
.job-meta li { display: flex; gap: .6rem; align-items: center; margin-bottom: .35rem; }
.job-meta i { color: var(--gold-2); width: 1rem; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.chip-open { background: #e8f6ee; color: #15803d; }
.chip-gold { background: var(--gold-soft); color: var(--gold-2); }
.job-card .job-desc { font-size: .9rem; color: var(--muted); }
.job-card .btn { margin-top: auto; }

/* ---------- call to action band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: var(--ink) url('/img/fleet/atlantic-legend-1600.webp') center / cover no-repeat; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 39, .95), rgba(12, 35, 64, .78)); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-band p { color: rgba(255, 255, 255, .75); font-size: 1.08rem; }

/* ---------- inner page header ---------- */
.page-hero {
    position: relative; color: #fff; padding: 9rem 0 5.5rem; overflow: hidden;
    background: var(--ink) var(--header-img) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 20, 39, .95) 0%, rgba(7, 20, 39, .7) 55%, rgba(7, 20, 39, .45) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin: 0 0 1rem; }
.page-hero .crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.page-hero .crumbs a { color: rgba(255, 255, 255, .85); }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero .crumbs i { font-size: .6rem; color: var(--gold); }
@media (max-width: 767.98px) { .page-hero { padding: 6rem 0 3.5rem; } }

/* ---------- about page ---------- */
.content-area h2 { font-size: 1.9rem; margin: 2.4rem 0 1rem; }
.content-area h2:first-child { margin-top: 0; }
.content-area h3 { font-size: 1.4rem; margin: 2rem 0 .8rem; }
.content-area p, .content-area li { color: var(--text); line-height: 1.85; font-size: 1.02rem; }
.content-area ul { padding-left: 1.2rem; }
.content-area blockquote { border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1.2rem; font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.aside-card { position: sticky; top: 7rem; background: var(--navy); color: rgba(255, 255, 255, .8); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.aside-card img.seal { width: 96px; height: 96px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.aside-card h5 { color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 1.2rem 0 .3rem; }
.aside-card ul { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.aside-card li { display: flex; gap: .7rem; align-items: center; padding: .55rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.aside-card li i { color: var(--gold); }

.cert-card { height: 100%; background: #fff; border-radius: var(--radius); padding: 2.2rem 1.8rem; text-align: center; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert-card i { width: 4.2rem; height: 4.2rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); font-size: 1.6rem; margin-bottom: 1.3rem; }
.cert-card p { color: var(--muted); font-size: .92rem; margin: 0; }

.photo-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); margin: 0; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.2rem 1rem; color: #fff; font-family: var(--font-display); font-size: 1.15rem; background: linear-gradient(transparent, rgba(7, 20, 39, .9)); }

/* ---------- careers ---------- */
.careers-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.careers-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.careers-banner-text { position: relative; width: 100%; padding: 3rem; color: #fff; background: linear-gradient(transparent, rgba(7, 20, 39, .95)); }
.careers-banner-text h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
@media (max-width: 575.98px) { .careers-banner-text { padding: 1.6rem; } }

/* ---------- forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 2.4rem; }
@media (max-width: 575.98px) { .form-card { padding: 1.5rem; } }
.form-label { font-size: .82rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.form-control, .form-select { border-radius: .7rem; padding: .8rem 1rem; border: 1.5px solid var(--line); background: #fbfcfd; transition: border-color .2s, box-shadow .2s, background .2s; }
.form-control:focus, .form-select:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 .25rem rgba(201, 164, 92, .18); }

/* ---------- contact ---------- */
.contact-item { display: flex; gap: 1.1rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 1rem; transition: box-shadow .3s; }
.contact-item:hover { box-shadow: var(--shadow-sm); }
.contact-item i { width: 3rem; height: 3rem; flex-shrink: 0; border-radius: .85rem; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.1rem; }
.contact-item h6 { margin: 0 0 .25rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.contact-item p { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.55; }

/* ---------- gallery ---------- */
.gallery-albums { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.gallery-albums a { border-radius: 999px; padding: .5rem 1.15rem; font-size: .84rem; font-weight: 600; border: 1.5px solid var(--line); color: var(--ink); background: #fff; transition: all .2s; }
.gallery-albums a:hover { border-color: var(--gold); color: var(--gold-2); }
.gallery-albums a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-albums a span { opacity: .6; margin-left: .2rem; font-weight: 500; }

.album-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--mist); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7, 20, 39, .92) 100%); }
.album-card .album-text { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; z-index: 1; color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.album-card .album-text strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.album-card .album-text span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.album-card:hover img { transform: scale(1.07); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: .4rem; } }
.gallery-item { display: block; aspect-ratio: 1 / 1; border-radius: .7rem; overflow: hidden; background: var(--mist); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.gallery-item::after { content: "\2b"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: rgba(7, 20, 39, .45); opacity: 0; transition: opacity .3s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }

.pagination .page-link { border: 0; margin: 0 .2rem; border-radius: 999px !important; color: var(--ink); font-weight: 600; min-width: 2.4rem; text-align: center; }
.pagination .page-item.active .page-link { background: var(--navy); color: #fff; }
.pagination .page-link:hover { background: var(--gold-soft); color: var(--gold-2); }

body.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 10, 22, .96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; position: relative; }
.lightbox-img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: .4rem; opacity: 0; transition: opacity .25s; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-img.is-loaded { opacity: 1; }
.lightbox-spinner { position: absolute; top: 50%; left: 50%; margin: -1rem 0 0 -1rem; }
.lightbox-caption { color: rgba(255, 255, 255, .7); font-size: .88rem; margin-top: 1rem; text-align: center; letter-spacing: .05em; }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff; width: 3.2rem; height: 3.2rem; border-radius: 50%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; z-index: 1; transition: background .2s, color .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 575.98px) { .lightbox-prev { left: .3rem; } .lightbox-next { right: .3rem; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 5.5rem 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.site-footer h6 { color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.4rem; }
.site-footer a { color: rgba(255, 255, 255, .62); transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-brand strong { font-family: var(--font-display); font-size: 1.35rem; color: #fff; font-weight: 600; display: block; line-height: 1.2; }
.site-footer .footer-brand span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer-seal { width: 70px; height: 70px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .06); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .7rem; font-size: .92rem; }
.footer-links i { color: var(--gold); width: 1.2rem; margin-right: .5rem; }
.footer-contact li { display: flex; gap: .8rem; align-items: flex-start; }
.footer-contact i { margin-top: .3rem; }
.footer-bottom { margin-top: 4rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: rgba(255, 255, 255, .45); }
.footer-cta { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 1.6rem; }
.footer-cta p { font-size: .9rem; }

/* ---------- reveal on scroll ---------- */
/* only when scripts run (html.js), so content never stays hidden */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .hero-scroll { animation: none; }
}

/* ---------- misc ---------- */
.alert { border-radius: var(--radius-sm); }
.text-gold { color: var(--gold-2) !important; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f3f7; }
::-webkit-scrollbar-thumb { background: #c4cad6; border-radius: 6px; border: 2px solid #f1f3f7; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* test copy (Site:IsStaging) */
.staging-bar { background: #b45309; color: #fff; text-align: center; font-size: .8rem; font-weight: 600; padding: .45rem 1rem; }
.staging-bar a { color: #fff; text-decoration: underline; }
