/* ==========================================================================
   PBSE — PT. Permata Barito Shipyard & Engineering
   Public stylesheet. Layout adapted from the corporate reference, red palette.
   Colours are overridable at runtime through :root variables (admin > Tampilan).
   ========================================================================== */

:root {
  --brand: #b91c1c;
  --brand-dark: #7f1d1d;
  --brand-deep: #4c0f12;
  --brand-soft: #fdecec;
  --accent: #c8a24a;
  --ink: #1b1416;
  --muted: #6d6167;
  --line: #e9dfe0;
  --soft: #faf6f6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(76, 15, 18, .14);
  --radius: 18px;
  --container: min(1180px, calc(100% - 40px));
  --header-image: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif; line-height: 1.18; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: var(--white); background: var(--brand-deep); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 1000; background: var(--brand); color: #fff; padding: 10px 16px; font-weight: 700; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- header ---------- */
.utility-bar { background: var(--brand-deep); color: #e9cfd0; font-size: .78rem; letter-spacing: .01em; }
.utility-inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.utility-inner p { margin: 0; }
.utility-links { display: flex; gap: 22px; align-items: center; }
.utility-links a:hover { color: #fff; }
.signal { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(200,162,74,.16); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.main-nav { min-height: 86px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; }
.brand img { max-height: 46px; width: auto; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--brand); color: #fff; border-radius: 10px 3px 10px 3px; font: 800 1.3rem/1 "Plus Jakarta Sans", sans-serif; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1.02rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-copy small { color: var(--muted); margin-top: 4px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex: 1; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: #3c2f33; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.nav-link::after { position: absolute; content: ""; left: 12px; right: 12px; bottom: 4px; height: 2px; transform: scaleX(0); background: var(--brand); transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--brand); }
.nav-link:hover::after, .nav-link.active::after, .has-submenu:hover > .nav-link::after { transform: scaleX(1); }
.submenu-toggle { display: grid; place-items: center; width: 22px; height: 34px; margin-left: -10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.submenu { position: absolute; left: 0; top: calc(100% + 2px); display: grid; min-width: 230px; padding: 10px; border: 1px solid var(--line); border-radius: 12px 3px 12px 3px; background: #fff; box-shadow: 0 22px 55px rgba(76,15,18,.16); opacity: 0; visibility: hidden; transform: translateY(9px); transition: opacity .18s, transform .18s, visibility .18s; }
.submenu a { display: block; padding: 10px 12px; border-radius: 7px; color: #453539; font-size: .83rem; font-weight: 600; }
.submenu a:hover, .submenu a:focus-visible { background: var(--brand-soft); color: var(--brand); outline: none; }
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu, .has-submenu.submenu-open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.has-submenu:hover > .submenu-toggle span { transform: rotate(180deg); }
.submenu-toggle span { display: block; transition: transform .2s; }

.search-toggle { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px 3px 10px 3px; background: #fff; cursor: pointer; }
.search-toggle span { position: absolute; left: 12px; top: 11px; width: 13px; height: 13px; border: 2px solid var(--brand); border-radius: 50%; }
.search-toggle span::after { position: absolute; content: ""; width: 7px; height: 2px; right: -6px; bottom: -3px; background: var(--brand); transform: rotate(45deg); transform-origin: left; }
.header-search { position: absolute; z-index: 5; right: 20px; top: calc(100% - 6px); display: flex; width: min(430px, calc(100% - 40px)); padding: 12px; border-radius: 12px 3px 12px 3px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.header-search[hidden] { display: none; }
.header-search input { min-width: 0; flex: 1; border: 1px solid var(--line); border-radius: 7px 0 0 7px; padding: 10px 12px; outline: none; }
.header-search input:focus { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.header-search button { border: 0; border-radius: 0 7px 7px 0; background: var(--brand); color: #fff; padding: 0 18px; font-weight: 700; cursor: pointer; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--brand); transition: .2s; }

/* ---------- buttons ---------- */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 1px solid var(--brand); border-radius: 9px 2px 9px 2px; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); background: var(--brand-dark); border-color: var(--brand-dark); box-shadow: 0 14px 30px rgba(185,28,28,.22); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .85rem; }
.button-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.button-outline:hover { background: var(--brand); color: #fff; }
.button-ghost-light { background: transparent; border-color: rgba(255,255,255,.42); color: #fff; }
.button-ghost-light:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }
.text-button { display: inline-flex; gap: 10px; align-items: center; border: 0; background: none; color: var(--brand); padding: 12px 0; cursor: pointer; font-weight: 700; }
.text-button:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; padding: 96px 0; background: var(--brand-deep); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background-image: var(--header-image); background-position: center; background-size: cover; transform: scale(1.03); }
.hero-overlay { background: linear-gradient(100deg, rgba(60,8,12,.95) 0%, rgba(76,15,18,.88) 44%, rgba(76,15,18,.55) 72%, rgba(76,15,18,.72) 100%); }
.hero::after { position: absolute; z-index: 1; content: ""; width: 460px; height: 460px; right: -180px; top: 60px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 140px rgba(255,255,255,.02); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: center; }
.hero-content { max-width: 720px; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.35rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-body { max-width: 620px; margin: 22px 0 30px; color: #f0dcdd; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.mini-fleet { display: flex; }
.mini-fleet { gap: 8px; }
.mini-fleet span { display: grid; place-items: center; min-width: 48px; height: 30px; padding: 0 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.mini-fleet span:first-child { margin-left: 0; }
.hero-trust small { max-width: 26ch; }
.hero-trust p { display: grid; margin: 0; line-height: 1.3; color: #fff; }
.hero-trust strong { font-size: .84rem; }
.hero-trust small { margin-top: 4px; color: #dcb9bb; font-size: .75rem; }

.hero-card { padding: 26px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px 4px 18px 4px; background: rgba(60,8,12,.55); backdrop-filter: blur(8px); color: #fff; }
.hero-card h3 { color: #fff; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.hero-card p { color: #f7e9ea; font-size: .9rem; }
.hero-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #f4e2e3; }
.hero-card li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- section heads ---------- */
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 16px; color: var(--brand); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: .74rem; }
.eyebrow::before { content: ""; width: 27px; height: 2px; background: currentColor; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 46px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); font-weight: 800; max-width: 720px; }
.section-head p { max-width: 480px; color: var(--muted); margin: 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-figure { position: relative; border-radius: 18px 4px 18px 4px; overflow: hidden; box-shadow: var(--shadow); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-figure::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.22); border-radius: inherit; pointer-events: none; }
.about-badge { position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 12px 3px 12px 3px; background: var(--brand); color: #fff; font-weight: 800; line-height: 1.2; }
.about-badge small { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.about-body h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 18px; }
.about-body p { color: #4b3d42; }
.about-points { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 14px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; color: #3c2f33; }
.about-points li::before { content: "✓"; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 800; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: 16px 3px 16px 3px; overflow: hidden; }
.stat { padding: 34px 26px; background: var(--brand-deep); }
.stat strong { display: block; font-size: 2.1rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat span { display: block; margin-top: 8px; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: #f4dfe0; }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: 16px 3px 16px 3px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(185,28,28,.32); box-shadow: 0 22px 44px rgba(76,15,18,.1); }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px 3px 12px 3px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .02em; }
.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px 3px 12px 3px; background: var(--brand-deep); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 22px 16px 14px; background: linear-gradient(0deg, rgba(40,4,6,.86), transparent); color: #fff; font-size: .8rem; font-weight: 600; }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 2; aspect-ratio: 2/1.06; }

/* ---------- customers ---------- */
.customer-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.customer-table th, .customer-table td { padding: 13px 18px; text-align: left; font-size: .9rem; border-bottom: 1px solid var(--line); }
.customer-table th { background: var(--brand-soft); color: var(--brand-dark); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; }
.customer-table tr:last-child td { border-bottom: 0; }
.customer-table tbody tr:hover { background: var(--soft); }
.customer-table td:first-child { width: 64px; color: var(--muted); }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px 3px 16px 3px; overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(76,15,18,.1); }
.post-thumb { aspect-ratio: 16/10; background: var(--brand-soft); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb.placeholder { display: grid; place-items: center; color: var(--brand); font-weight: 800; letter-spacing: .1em; font-size: .8rem; }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.post-meta .tag { padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.post-card h3 { font-size: 1.02rem; line-height: 1.4; }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.post-card .text-button { margin-top: auto; font-size: .85rem; }

/* ---------- article ---------- */
.page-hero { padding: 78px 0 64px; background: var(--brand-deep); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.8rem); max-width: 860px; }
.page-hero p { color: #e8cdcf; max-width: 720px; margin-top: 14px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .78rem; color: #d9b3b5; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .6; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.prose { font-size: 1rem; color: #33272b; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.45rem; margin-top: 1.9em; }
.prose h3 { font-size: 1.18rem; margin-top: 1.6em; }
.prose h4 { font-size: 1.02rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .4rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px 3px 12px 3px; margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; color: #4a3237; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--soft); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; }

.sidebar { display: grid; gap: 22px; position: sticky; top: 110px; }
.sidebar-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px 3px 14px 3px; background: #fff; }
.sidebar-card h3 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.sidebar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sidebar-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: .88rem; border-bottom: 1px dashed var(--line); }
.sidebar-list li:last-child a { border-bottom: 0; }
.sidebar-list a:hover { color: var(--brand); }
.sidebar-cta { background: var(--brand-deep); color: #fff; }
.sidebar-cta h3 { color: var(--accent); }
.sidebar-cta p { color: #e8cdcf; font-size: .88rem; }

/* ---------- reports ---------- */
.report-section-card { border: 1px solid var(--line); border-radius: 16px 3px 16px 3px; background: #fff; overflow: hidden; }
.report-section-head { padding: 26px 28px; border-bottom: 1px solid var(--line); background: var(--soft); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.report-section-head h2 { font-size: 1.22rem; }
.report-section-head p { color: var(--muted); font-size: .88rem; margin: 6px 0 0; max-width: 620px; }
.report-list { list-style: none; margin: 0; padding: 0; }
.report-item { display: flex; align-items: center; gap: 18px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.report-item:last-child { border-bottom: 0; }
.report-item:hover { background: var(--soft); }
.report-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px 3px 10px 3px; background: var(--brand-soft); color: var(--brand); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.report-main { flex: 1; min-width: 0; }
.report-main strong { display: block; font-size: .95rem; }
.report-main span { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.report-action { flex: 0 0 auto; }
.report-action a { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; color: var(--brand); padding: 9px 15px; border: 1px solid rgba(185,28,28,.28); border-radius: 8px 2px 8px 2px; }
.report-action a:hover { background: var(--brand); color: #fff; }
.report-badge { display: inline-block; padding: 2px 8px; margin-left: 6px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.empty-state { padding: 60px 24px; text-align: center; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ci { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px 3px 11px 3px; background: var(--brand-soft); color: var(--brand); }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a, .contact-list p { color: #33272b; font-size: .95rem; margin: 0; }
.contact-list a:hover { color: var(--brand); }

.form-card { padding: 30px; border: 1px solid var(--line); border-radius: 16px 3px 16px 3px; background: #fff; box-shadow: 0 18px 44px rgba(76,15,18,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5c4a4f; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(185,28,28,.1); }
.field textarea { min-height: 130px; resize: vertical; }
.field .error { color: #b3261e; font-size: .78rem; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.alert { padding: 14px 18px; border-radius: 10px; font-size: .9rem; margin-bottom: 18px; }
.alert-success { background: #eefaf1; border: 1px solid #bfe6cb; color: #1c6b34; }
.alert-error { background: #fdecea; border: 1px solid #f3c2bd; color: #a01f16; }

.map-frame { border-radius: 16px 3px 16px 3px; overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- CTA + footer ---------- */
.cta-band { position: relative; overflow: hidden; padding: 68px 0; background: var(--brand); color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { color: #fbe2e3; margin: 12px 0 0; max-width: 640px; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .button { background: #fff; border-color: #fff; color: var(--brand); }
.cta-band .button:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.site-footer { background: #2a0a0d; color: #cfb5b7; font-size: .9rem; padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { max-height: 44px; width: auto; }
.footer-brand strong { color: #fff; font-size: 1rem; letter-spacing: .03em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact strong { display: block; color: #fff; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: #a98c8f; }
.footer-bottom a:hover { color: #fff; }

/* ---------- pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 42px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .85rem; background: #fff; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pagination .disabled { opacity: .45; }
.pagination svg { width: 16px; height: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 420px; }
  .about-grid, .contact-grid, .article-layout { grid-template-columns: 1fr; gap: 38px; }
  .sidebar { position: static; }
  .cards, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-menu { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 92px 22px 30px; background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.18); transform: translateX(100%); transition: transform .25s; overflow-y: auto; z-index: 70; }
  body.menu-open .nav-menu { transform: translateX(0); }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; min-height: 50px; font-size: .92rem; padding-left: 0; }
  .nav-link::after { display: none; }
  .submenu-toggle { height: 50px; }
  .submenu { position: static; display: none; width: 100%; border: 0; box-shadow: none; padding: 0 0 10px 12px; opacity: 1; visibility: visible; transform: none; }
  .has-submenu.submenu-open > .submenu { display: grid; }
  .has-submenu:hover > .submenu { display: none; }
  .has-submenu.submenu-open:hover > .submenu { display: grid; }
  .search-toggle { margin-left: auto; }
  .header-search { right: 0; left: 0; width: auto; }
  .hero { min-height: auto; padding: 68px 0; }
  .section { padding: 64px 0; }
  .brand { min-width: 0; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 32px); }
  .cards, .post-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .utility-inner { justify-content: center; text-align: center; }
  .utility-links { display: none; }
  .report-item { flex-wrap: wrap; padding: 16px 18px; }
  .report-section-head { padding: 20px; }
  .report-action { width: 100%; }
  .report-action a { width: 100%; justify-content: center; }
  .customer-table th, .customer-table td { padding: 11px 12px; font-size: .84rem; }
  .section-head { margin-bottom: 30px; }
  .article-layout { gap: 30px; }
  .prose { font-size: .96rem; }
}

@media print {
  .site-header, .utility-bar, .cta-band, .site-footer, .sidebar { display: none !important; }
  .page-hero { background: #fff; color: #000; }
  .page-hero h1 { color: #000; }
}

/* ==========================================================================
   Component addendum — aliases & helpers used by the Blade views
   ========================================================================== */

.muted { color: var(--muted); }
.lead { font-size: 1.12rem; line-height: 1.75; color: #40333a; margin-bottom: 1.6rem; }

/* article + sidebar */
.layout-with-aside,
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }

.rich-text,
.prose { color: #3b3036; font-size: 1.02rem; line-height: 1.85; }
.rich-text > * + * { margin-top: 1.05rem; }
.rich-text h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.rich-text h3 { font-size: 1.28rem; margin-top: 1.9rem; }
.rich-text h4 { font-size: 1.1rem; margin-top: 1.6rem; }
.rich-text a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich-text ul, .rich-text ol { padding-left: 1.5rem; }
.rich-text li + li { margin-top: .45rem; }
.rich-text ol { list-style: decimal; }
.rich-text ul { list-style: disc; }
.rich-text blockquote { margin: 1.6rem 0; padding: 18px 24px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 12px 12px 0; color: #4a3b41; font-style: italic; }
.rich-text figure { margin: 1.8rem 0; }
.rich-text img { border-radius: var(--radius); width: auto; max-width: 100%; height: auto; }
.rich-text table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.rich-text th { background: var(--soft); font-weight: 700; }
.rich-text hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.rich-text code { background: var(--soft); padding: 2px 6px; border-radius: 6px; font-size: .92em; }

.aside-card,
.sidebar-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 26px; box-shadow: 0 12px 34px rgba(76,15,18,.05); }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside-links a { display: block; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; font-weight: 600; color: #4a3b41; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--brand); }
.aside-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-posts a { font-weight: 700; font-size: .92rem; line-height: 1.45; color: #3b3036; }
.aside-posts a:hover { color: var(--brand); }
.aside-posts time { display: block; margin-top: 5px; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* cards & chips */
.card-link { display: block; transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-link:hover { transform: translateY(-4px); border-color: rgba(185,28,28,.35); box-shadow: var(--shadow); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 700; color: #4a3b41; transition: .18s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* post detail */
.post-cover { margin: 0 0 34px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-cover img { width: 100%; height: auto; }
.post-meta-lg { font-size: .82rem; gap: 16px; }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0 30px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); font-size: .85rem; }
.post-share strong { margin-right: 4px; }
.post-share a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.post-share a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.result-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.result-list li { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.result-list a { font-weight: 700; color: var(--brand); }
.result-list p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.hero-search { display: flex; gap: 10px; margin-top: 26px; max-width: 520px; }
.hero-search input { flex: 1; padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #fff; }
.hero-search input::placeholder { color: rgba(255,255,255,.7); }
.hero-search input:focus { outline: 2px solid rgba(255,255,255,.55); background: rgba(255,255,255,.22); }

/* gallery */
.gallery-grid-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* reports */
.report-group { margin-bottom: 56px; }
.report-group:last-child { margin-bottom: 0; }
.report-group-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.report-group-head h2 { font-size: 1.35rem; }
.report-group-head p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

/* contact */
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); padding: 28px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; min-height: 300px; border: 0; }

/* forms */
.form { display: grid; gap: 18px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: .86rem; font-weight: 700; color: #3b3036; }
.form label em { color: var(--brand); font-style: normal; }
.form input, .form textarea, .form select { width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: .94rem; font-weight: 400; transition: border-color .18s, box-shadow .18s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(185,28,28,.1); }
.form textarea { resize: vertical; min-height: 130px; }
.form .checkbox { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 400; font-size: .84rem; color: var(--muted); }
.form .checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.form .button { justify-self: start; }
.alert { padding: 15px 20px; border-radius: 12px; font-size: .9rem; margin-bottom: 20px; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }

@media (max-width: 980px) {
  .layout-with-aside, .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid-lg { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
  .post-meta-lg { gap: 8px 14px; }
}

/* --- social links row (contact page) ------------------------------------- */
.social-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line,#eee6e7)}
.social-row a{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border:1px solid var(--line,#eee6e7);border-radius:999px;font-size:.78rem;font-weight:600;letter-spacing:.02em;color:var(--brand,#b91c1c);text-decoration:none;transition:.18s}
.social-row a:hover{background:var(--brand,#b91c1c);border-color:var(--brand,#b91c1c);color:#fff}

/* --- gallery album chips: active state ---------------------------------- */
.filter-bar .chip.active{background:var(--brand,#b91c1c);border-color:var(--brand,#b91c1c);color:#fff}
.filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.filter-bar .chip{padding:8px 16px;border:1px solid var(--line,#eee6e7);border-radius:999px;font-size:.8rem;font-weight:600;color:#4a3f43;text-decoration:none;background:#fff}

/* ============ interactive addendum: nav, lightbox, reveal, alerts ============ */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}
.reveal.is-visible{opacity:1;transform:none}
body.scrolled .site-header{box-shadow:0 12px 30px rgba(31,20,24,.10)}

/* dropdown: hover on desktop, click on mobile */
@media (min-width: 981px){
  .nav-item.has-submenu:hover .submenu,
  .nav-item.has-submenu.hovering .submenu,
  .nav-item.has-submenu.open .submenu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
  .submenu-toggle{display:none}
}
.submenu{transition:opacity .18s ease,transform .18s ease}
@media (max-width: 980px){
  body.nav-open .nav-menu{display:flex}
  .nav-menu{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;
    padding:10px 18px 18px;gap:2px;border-top:1px solid var(--line,#eee6e7);box-shadow:0 24px 40px rgba(31,20,24,.12);z-index:60}
  .nav-item{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #f3ebec}
  .nav-item:last-child{border-bottom:0}
  .nav-link{padding:13px 0;flex:1 1 auto}
  .submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--line,#eee6e7);
    border-radius:10px;background:#fff;color:#7a2a30;font-size:.9rem;cursor:pointer}
  .nav-item.open .submenu-toggle span{transform:rotate(180deg)}
  .submenu-toggle span{display:inline-block;transition:transform .18s ease}
  .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 10px 12px;display:none;
    flex-direction:column;gap:2px;width:100%}
  .nav-item.open .submenu{display:flex}
  .submenu a{padding:9px 0;font-size:.88rem;color:#5a4a4e}
  .header-search[hidden]{display:none}
  .header-search{display:flex;flex-direction:column;gap:10px;padding:0 18px 16px}
  .header-search button{width:100%}
}
body.nav-open{overflow:hidden}
@media (min-width: 981px){ body.nav-open{overflow:auto} }

/* gallery lightbox */
.lightbox{position:fixed;inset:0;background:rgba(18,10,12,.92);display:none;align-items:center;justify-content:center;
  z-index:9999;padding:40px 20px}
.lightbox.open{display:flex}
.lb-stage{margin:0;max-width:min(1100px,92vw);max-height:86vh;display:flex;flex-direction:column;align-items:center;gap:14px}
.lb-stage img{max-width:100%;max-height:76vh;border-radius:10px;box-shadow:0 30px 80px rgba(0,0,0,.5);object-fit:contain;background:#111}
.lb-stage figcaption{color:#f6e9ea;font-size:.86rem;text-align:center;max-width:70ch;line-height:1.5}
.lb-close,.lb-prev,.lb-next{position:absolute;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);color:#fff;
  border-radius:999px;cursor:pointer;font-size:1.5rem;line-height:1;width:46px;height:46px;display:flex;align-items:center;justify-content:center;
  transition:background .15s ease}
.lb-close:hover,.lb-prev:hover,.lb-next:hover{background:rgba(255,255,255,.26)}
.lb-close{top:22px;right:22px}
.lb-prev{left:18px;top:50%;transform:translateY(-50%)}
.lb-next{right:18px;top:50%;transform:translateY(-50%)}
@media (max-width: 640px){
  .lb-prev,.lb-next{width:40px;height:40px;font-size:1.2rem}
  .lb-close{top:12px;right:12px}
}

/* flash alerts */
.alert{display:flex;gap:10px;align-items:flex-start;border-radius:12px;padding:14px 16px;margin-bottom:20px;font-size:.9rem;
  border:1px solid transparent}
.alert-success{background:#ecfdf3;border-color:#bbe9cd;color:#146c43}
.alert-error,.alert-danger{background:#fdecec;border-color:#f6c9c9;color:#9b1c1c}
.alert.is-dismissible.fade-out{opacity:0;transition:opacity .6s ease}

/* header CTA */
.header-cta{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;margin-left:6px;border-radius:999px;background:var(--brand);color:#fff;font-weight:700;font-size:.85rem;letter-spacing:.01em;box-shadow:0 6px 16px rgba(193,18,31,.22);transition:background .2s,transform .2s}
.header-cta:hover,.header-cta:focus-visible{background:var(--brand-dark);transform:translateY(-1px)}
@media(max-width:1080px){.header-cta{display:none}}

/* readability pass: trust badges, about badge, utility bar */
.hero-trust{gap:18px;margin-top:32px}
.hero-trust small{color:#f0d5d7;font-size:.78rem;max-width:30ch}
.mini-fleet{flex-wrap:wrap;gap:8px}
.mini-fleet span{min-width:0;padding:7px 14px;height:auto;border-radius:999px;background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.5);font-size:.75rem;letter-spacing:.05em}
.about-badge{max-width:230px}
.about-badge small{font-size:.72rem;line-height:1.35;text-transform:none;letter-spacing:0}
.topbar,.topbar a,.topbar span{font-size:.8rem}
@media(max-width:600px){.about-badge{max-width:200px}.mini-fleet span{font-size:.7rem;padding:6px 11px}}

/* gallery: uniform grid on the full gallery page (no masonry holes) */
.gallery-grid-lg{grid-auto-rows:1fr;align-items:stretch}
.gallery-grid-lg .gallery-item:nth-child(1),
.gallery-grid-lg .gallery-item:nth-child(6){grid-column:span 1;aspect-ratio:4/3}
.gallery-grid-lg .gallery-item{aspect-ratio:4/3}
.gallery-grid-lg .gallery-item figcaption{padding:26px 16px 14px}
.gallery-grid-lg .gallery-item figcaption span{display:block;font-weight:500;font-size:.76rem;color:#f2dcde;margin-top:3px}
.gallery-grid-lg .gallery-item figcaption .album{display:inline-block;margin-top:8px;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.16);font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:#fff}
@media(max-width:900px){.gallery-grid-lg{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.gallery-grid-lg{grid-template-columns:1fr}}

/* gallery 4-up on wide screens (8 items = 2 clean rows) + page-hero contrast */
@media(min-width:1100px){.gallery-grid-lg{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:900px) and (max-width:1099px){.gallery-grid-lg{grid-template-columns:repeat(3,minmax(0,1fr))}}
.page-hero .eyebrow{color:#ffc9cc;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.35)}
.page-hero p{max-width:62ch}
