:root {
  --bg: #f5f6fb;
  --surface: #ffffff;
  --ink: #020640;
  --muted: #6c6875;
  --line: #dde0ef;
  --accent: #0d1b8c;
  --accent-dark: #020640;
  --accent-soft: #e6e9ff;
  --sun: #ffc94d;
  --ok: #1f8a5b;
  --ok-soft: #dff4ea;
  --warn: #a8660a;
  --warn-soft: #fff0d1;
  --bad: #c0392b;
  --bad-soft: #fde4e1;
  --info: #2b6cb0;
  --info-soft: #e1edfb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(2, 6, 64, .10);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(245, 246, 251, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
/* Logo is cropped to its circular disc (the source image has a darker square backdrop). */
.logo-disc { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #020640; flex: none; }
.logo-disc img { display: block; width: 100%; height: 100%; transform: scale(1.19); }
.brand-logo { width: 42px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.nav a:hover { background: var(--accent-soft); }
.nav a.btn { color: #fff; }
.site-footer { margin-top: 72px; background: var(--ink); color: #d9d6df; padding: 40px 0 28px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h3 { color: #fff; font-size: 1rem; }

/* ---------- buttons / forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; transition: background .15s, transform .05s; }
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.secondary:hover { background: var(--bg); }
.btn.ghost { background: transparent; color: var(--accent-dark); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.danger { background: var(--bad); }
.btn.ok { background: var(--ok); }
.btn.sm { padding: 7px 14px; font-size: .875rem; }
.btn.block { width: 100%; }

label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
label .req { color: var(--accent); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; min-height: 90px; }
.field { margin-bottom: 16px; }
.grid-2 { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }
.hint { color: var(--muted); font-size: .82rem; margin-top: 4px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.alert.error { background: var(--bad-soft); color: var(--bad); }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.alert.info { background: var(--info-soft); color: var(--info); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.badge.PENDING, .badge.FOR_VERIFICATION { background: var(--warn-soft); color: var(--warn); }
.badge.APPROVED, .badge.PAID { background: var(--ok-soft); color: var(--ok); }
.badge.REJECTED, .badge.CANCELLED { background: var(--bad-soft); color: var(--bad); }
.badge.COMPLETED { background: var(--info-soft); color: var(--info); }
.badge.UNPAID { background: #eee; color: #555; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; position: relative; overflow: hidden; }
.hero .container { display: grid; gap: 40px; grid-template-columns: 1.1fr .9fr; align-items: center; }
.eyebrow { display: inline-block; background: var(--sun); color: #5a3e00; font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-logo { width: min(360px, 78%); margin-inline: auto; box-shadow: 0 24px 60px rgba(2, 6, 64, .35); }

section.block { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.pkg-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 340px)); }
@media (max-width: 640px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg { display: flex; flex-direction: column; }
.pkg .price { font-size: 2rem; font-weight: 800; margin: 6px 0 0; }
.pkg .meta { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.pkg li { padding: 5px 0 5px 26px; position: relative; font-size: .95rem; }
.pkg li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: s; }
.steps .card { counter-increment: s; }
.steps .card::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 10px; }

/* ---------- booking wizard ---------- */
.page-title { padding: 36px 0 8px; }
.progress { display: flex; gap: 8px; margin: 18px 0 26px; padding: 0; list-style: none; }
.progress li { flex: 1; text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); }
.progress li.active { color: var(--accent-dark); border-color: var(--accent); }
.progress li.done { color: var(--ok); border-color: var(--ok); }
.wizard { display: grid; gap: 24px; grid-template-columns: 1fr 320px; align-items: start; }
.summary { position: sticky; top: 84px; }
.summary dl { margin: 0; }
.summary dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 12px; font-weight: 700; }
.summary dd { margin: 2px 0 0; font-weight: 600; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tab { border: 1.5px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 300px)); }
.pick-card { text-align: left; border: 2px solid var(--line); background: #fff; border-radius: var(--radius); padding: 16px; cursor: pointer; font: inherit; color: inherit; }
.pick-card:hover { border-color: var(--accent); }
.pick-card.selected { border-color: var(--accent); background: var(--accent-soft); }
.pick-card .price { font-weight: 800; font-size: 1.4rem; }
.pick-card ul { padding-left: 18px; margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head strong { font-size: 1.1rem; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { text-align: center; font-size: .75rem; font-weight: 800; color: var(--muted); padding: 4px 0; }
.cal button { aspect-ratio: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.cal button.open { border-color: #bfe6d3; background: var(--ok-soft); color: var(--ok); }
.cal button.open:hover { border-color: var(--ok); }
.cal button.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.cal button:disabled { cursor: not-allowed; background: #eceef7; color: #aab0c8; border-color: transparent; }
.cal button.full:disabled { background: var(--bad-soft); color: var(--bad); }
.cal .empty { visibility: hidden; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; }
.slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin-top: 8px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 6px; font: inherit; font-weight: 700; cursor: pointer; }
.slot:hover:not(:disabled) { border-color: var(--accent); }
.slot.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.slot:disabled { background: #eceef7; color: #aab0c8; text-decoration: line-through; cursor: not-allowed; }
.pay-box { background: var(--warn-soft); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.pay-box strong { font-size: 1.1rem; }
.success { text-align: center; padding: 20px 0; }
.ref { display: inline-block; font-size: 1.8rem; font-weight: 800; letter-spacing: .08em; background: var(--sun); padding: 8px 20px; border-radius: 12px; margin: 8px 0 16px; user-select: all; }
.detail-list { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; }
.detail-list dt { color: var(--muted); font-weight: 600; font-size: .9rem; }
.detail-list dd { margin: 0; font-weight: 600; word-break: break-word; }

.toast-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 100; display: grid; gap: 8px; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 600; max-width: 320px; }
.toast.error { background: var(--bad); }
.toast.ok { background: var(--ok); }

@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-logo { width: 200px; order: -1; }
  .wizard { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}
@media (max-width: 520px) {
  .site-header .brand-text { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; gap: 0; }
  .detail-list dd { margin-bottom: 10px; }
  .progress li { font-size: .68rem; }
  .card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* ---------- package posters & add-ons ---------- */
.pkg-img { display: block; position: relative; width: calc(100% + 44px); margin: -22px -22px 16px; padding: 0; border: 0; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; cursor: zoom-in; background: var(--ink); aspect-ratio: 4 / 3; }
.pkg-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .25s; }
.pkg-img:hover img { transform: scale(1.03); }
.pkg-img-hint { position: absolute; right: 10px; bottom: 10px; background: rgba(2, 6, 64, .85); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.addons { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--bg); }
.addons summary { cursor: pointer; font-weight: 700; font-size: .9rem; }
.addons ul { margin: 8px 0 0; }
.addons li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .88rem; border-bottom: 1px dashed var(--line); }
.addons li:last-child { border-bottom: 0; }
.addons li::before { content: none; }
.addons li strong { white-space: nowrap; }
.poster-dlg { border: 0; padding: 0; background: transparent; max-width: min(520px, 94vw); max-height: 94vh; overflow: visible; }
.poster-dlg::backdrop { background: rgba(2, 6, 64, .8); }
.poster-dlg img { width: 100%; max-height: 92vh; object-fit: contain; border-radius: 12px; display: block; }
.poster-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }

/* add-on picker (booking page) */
.addon-panel { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.addon-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.addon-row.on { border-color: var(--accent); background: var(--accent-soft); }
.addon-row .nm { font-weight: 600; }
.addon-row .pr { color: var(--muted); font-size: .85rem; }
.addon-row label { margin: 0; display: flex; gap: 12px; align-items: center; flex: 1; cursor: pointer; font-weight: 600; }
.addon-row input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; font-weight: 700; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper output { min-width: 28px; text-align: center; font-weight: 800; }
.summary .lines { margin: 4px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.summary .lines li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 8px; font-size: 1.15rem; font-weight: 800; display: flex; justify-content: space-between; }
.pick-card .thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 8px; margin-bottom: 10px; background: var(--ink); }
.note { color: var(--muted); font-size: .82rem; }

/* ---------- homepage: packages in one row ---------- */
.container.wide { width: min(1320px, 100% - 32px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.chip-btn { border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: .9rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.chip-btn:hover { border-color: var(--accent); }
.chip-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pkg-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); align-items: stretch; }
.pkg-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.pkg-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 14px 34px rgba(2, 6, 64, .18); }
.pkg-thumb { position: relative; aspect-ratio: 4 / 4.4; background: var(--ink); overflow: hidden; }
.pkg-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .3s; }
.pkg-card:hover .pkg-thumb img { transform: scale(1.04); }
.pkg-tag { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.pkg-tag.static { position: static; display: inline-block; background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }
.pkg-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.pkg-body .price { font-size: 1.6rem; font-weight: 800; }
.pkg-body .meta { color: var(--muted); font-size: .82rem; margin-bottom: 8px; }
.pkg-body ul.mini { list-style: none; padding: 0; margin: 0 0 12px; flex: 1; font-size: .85rem; color: var(--muted); }
.pkg-body ul.mini li { padding: 2px 0 2px 18px; position: relative; }
.pkg-body ul.mini li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.pkg-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.more-link { color: var(--accent); font-weight: 700; font-size: .85rem; }
.pkg-card:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.pkg-dlg { border: 0; border-radius: 18px; padding: 0; width: min(920px, calc(100% - 24px)); max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(2, 6, 64, .5); }
.pkg-dlg::backdrop { background: rgba(2, 6, 64, .75); }
.pkg-dlg-close { position: sticky; top: 10px; float: right; margin: 10px 10px -40px 0; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.pkg-dlg-grid { display: grid; grid-template-columns: 340px 1fr; }
.pd-poster { border: 0; padding: 0; margin: 0; background: var(--ink); cursor: zoom-in; align-self: start; }
.pd-poster img { display: block; width: 100%; height: auto; }
.pd-info { padding: 28px 28px 24px; }
.pd-info h2 { font-size: 1.6rem; margin-bottom: 4px; }
.pd-info .price { font-size: 2.1rem; font-weight: 800; }
.pd-info .meta { color: var(--muted); margin-bottom: 14px; }
.pd-info h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 6px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 4px 0 4px 24px; position: relative; font-size: .95rem; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.addon-list-view { list-style: none; padding: 0; margin: 0; }
.addon-list-view li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.addon-list-view li:last-child { border-bottom: 0; }
.addon-list-view strong { white-space: nowrap; }
.pd-info .note { margin: 14px 0; }
@media (max-width: 760px) {
  .pkg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pkg-body ul.mini { display: none; }
  .pkg-body .price { font-size: 1.3rem; }
  .pkg-dlg-grid { grid-template-columns: 1fr; }
  .pd-poster { max-height: 260px; overflow: hidden; }
  .pd-poster img { object-fit: cover; object-position: top; height: 260px; }
  .pd-info { padding: 20px 18px; }
}
@media (max-width: 420px) { .pkg-row { grid-template-columns: 1fr; } .pkg-thumb { aspect-ratio: 16 / 9; } }

/* ---------- side image beside the packages ---------- */
.pkg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.pkg-side { position: sticky; top: 84px; }
.pkg-layout .pkg-row { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.side-img { display: block; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.side-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.side-img { transition: transform .15s, box-shadow .15s; }
a.side-img:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(2, 6, 64, .25); }
.side-img.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px 22px; text-align: center; color: #fff;
  background: radial-gradient(circle at 30% 18%, #1c2cb4 0%, #0a1066 42%, #020640 100%); }
.side-img.placeholder strong { font-size: 1.6rem; line-height: 1.15; }
.side-img.placeholder span:not(.logo-disc) { color: #c9ceff; font-size: .9rem; }
.side-logo { width: 96px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.side-img.placeholder .btn { background: #fff; color: var(--ink); }
.side-img.placeholder .btn:hover { background: var(--sun); }
@media (max-width: 1000px) {
  .pkg-layout { grid-template-columns: 1fr; }
  .pkg-side { position: static; }
  .side-img { aspect-ratio: 16 / 9; }
  .pkg-layout .pkg-row { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
@media (max-width: 760px) { .pkg-layout .pkg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pkg-layout .pkg-row { grid-template-columns: 1fr; } .side-img { aspect-ratio: 4 / 3; } }

/* ---------- filtered view: the picture fills the space the hidden cards leave ---------- */
.side-panel { height: 100%; }
.pkg-layout.filtered { --cw: 250px; grid-template-columns: calc(var(--n, 1) * (var(--cw) + 16px) - 16px) minmax(0, 1fr); align-items: stretch; }
.pkg-layout.filtered .pkg-row { grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); }
.pkg-layout.filtered .pkg-side { position: static; }
.pkg-layout.filtered .side-img { aspect-ratio: auto; height: 100%; min-height: 420px; }
.pkg-layout.filtered .side-img.placeholder { gap: 18px; padding: 40px; }
.pkg-layout.filtered .side-img.placeholder strong { font-size: 2.4rem; }
.pkg-layout.filtered .side-img.placeholder span:not(.logo-disc) { font-size: 1.05rem; max-width: 34em; }
.pkg-layout.filtered .side-logo { width: 130px; }
@media (max-width: 1000px) {
  .pkg-layout.filtered { grid-template-columns: 1fr; }
  .pkg-layout.filtered .pkg-row { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .pkg-layout.filtered .side-img { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .pkg-layout.filtered .side-img.placeholder { padding: 28px 20px; }
  .pkg-layout.filtered .side-img.placeholder strong { font-size: 1.6rem; }
}
@media (max-width: 760px) { .pkg-layout.filtered .pkg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pkg-layout.filtered .pkg-row { grid-template-columns: 1fr; } .pkg-layout.filtered .side-img { aspect-ratio: 4 / 3; } }

/* ---------- contact links ---------- */
.contact-block { margin-top: 40px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; box-shadow: var(--shadow); }
.contact-block h3 { font-size: 1.25rem; margin-bottom: 4px; }
.contact-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.contact-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.contact-pill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact-pill svg { flex: none; }

/* "All" view: no side image, so every package fits on one line */
.pkg-layout:not(.filtered) { grid-template-columns: minmax(0, 1fr); }
.pkg-layout:not(.filtered) .pkg-side { display: none; }

/* icons in the footer links */
.f-line { display: flex; align-items: center; gap: 10px; }
.f-line .ico { flex: none; color: #9fa6ff; }
.site-footer a:hover { color: var(--sun); }
.site-footer a:hover ~ .ico, .f-line:hover .ico { color: var(--sun); }

/* footer links: no underline */
.site-footer a { text-decoration: none; }

/* payment methods (GCash / bank) with QR pictures */
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 8px 0 4px; }
.pay-method { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.pay-method h4 { margin: 0 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pay-qr { display: block; width: min(200px, 100%); margin: 0 auto 10px; border-radius: 8px; overflow: hidden; background: #fff; }
.pay-qr img { display: block; width: 100%; height: auto; }
.pay-line { margin: 2px 0; word-break: break-word; }
.pay-note { margin: 10px 0 0; font-size: .92rem; }

/* ---------- careers page ---------- */
.section-title { font-size: 1.3rem; margin: 28px 0 12px; }
.job-list { display: grid; gap: 16px; }
.job-card { padding: 20px 22px; }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.job-head h3 { margin: 0; font-size: 1.2rem; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.job-tag { background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.job-desc { white-space: pre-line; margin: 0 0 10px; }
.job-card h4 { margin: 12px 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.job-card .checks { margin-bottom: 14px; }
.job-empty { text-align: center; padding: 26px 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#apply-done { text-align: center; padding: 20px 0; }
.badge.NEW { background: var(--info-soft); color: var(--info); }
.badge.SHORTLISTED { background: var(--ok-soft); color: var(--ok); }

/* ---------- gallery ---------- */
.g-grid { column-width: 250px; column-gap: 12px; }
.g-item { position: relative; display: block; break-inside: avoid; margin: 0 0 12px; border-radius: 12px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); cursor: zoom-in; }
.g-item img { display: block; width: 100%; height: auto; transition: transform .3s; }
.g-item:hover img { transform: scale(1.03); }
.g-item.hidden { display: none; }
.g-tag { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .03em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; overflow: hidden; }
.lb::backdrop { background: rgba(2, 6, 40, .92); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb figure { margin: 0; max-width: min(94vw, 1100px); text-align: center; }
.lb img { max-width: 100%; max-height: 80vh; border-radius: 10px; display: block; margin: 0 auto; background: #000; }
.lb figcaption { color: #e7e9ff; margin-top: 10px; font-size: .95rem; }
.lb-x, .lb-nav { position: fixed; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.lb-x { top: 14px; right: 14px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-x:hover, .lb-nav:hover { background: #fff; }
@media (max-width: 560px) { .g-grid { column-width: 150px; column-gap: 8px; } .g-item { margin-bottom: 8px; } .lb-nav { top: auto; bottom: 18px; transform: none; } }

/* ---------- header menu: links in a row on desktop, hamburger dropdown on phones/tablets ---------- */
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle .cross { display: none; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }
.nav-toggle[aria-expanded="true"] .cross { display: inline; }
.nav a[aria-current="page"]:not(.btn) { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 820px) {
  .nav { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
               padding: 8px 16px 14px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(2, 6, 64, .14); }
  .site-header.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; }
}

/* showcase video beside a service's packages */
.side-video { position: relative; }
.side-img video, .side-img .vid-link { display: block; width: 100%; height: 100%; }
.side-img video { object-fit: cover; background: #000; }
.vid-sound { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); padding: 0; }
.vid-sound:hover { background: #fff; }
.vid-sound .on { display: none; }
.vid-sound[aria-pressed="true"] .on { display: inline; }
.vid-sound[aria-pressed="true"] .off { display: none; }
