/*
|--------------------------------------------------------------------------
| SIAGA AIR BOGOR
|--------------------------------------------------------------------------
| File: assets/css/style.css
| Style global halaman publik
|--------------------------------------------------------------------------
*/

:root {
    --primary: #0f6b4f;
    --primary-dark: #084937;
    --primary-soft: #e8f6ef;
    --accent: #f0b429;
    --danger: #dc2626;
    --warning: #f59e0b;
    --safe: #16a34a;
    --water: #0284c7;
    --text: #10231d;
    --muted: #60756c;
    --border: rgba(15, 107, 79, .14);
    --bg: #f7faf8;
    --card: #ffffff;
    --shadow: 0 24px 70px rgba(12, 62, 47, .14);
    --radius: 28px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -120px;
    z-index: 99999;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    transition: .2s ease;
}

.skip-link:focus {
    top: 12px;
}

/* ==============================
   Global Buttons
============================== */

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: .25s ease;
    border: 0;
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 16px 40px rgba(15, 107, 79, .25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(15, 107, 79, .34);
}

.btn-secondary {
    color: var(--primary-dark);
    background: rgba(255,255,255,.82);
    border: 1px solid var(--border);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--primary-dark);
    background: transparent;
    border: 1px solid var(--border);
}

/* ==============================
   Public Header
============================== */

.public-topbar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: rgba(255,255,255,.9);
    font-size: 13px;
}

.public-topbar-inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.public-topbar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.public-topbar-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-topbar-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.55);
    animation: publicPulse 1.8s infinite;
}

.public-topbar-links {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}

.public-topbar-links a {
    opacity: .92;
}

.public-topbar-links a:hover {
    opacity: 1;
}

.public-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.86);
    border-bottom: 1px solid rgba(15,107,79,.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.public-navbar-inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.public-brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    background:
        radial-gradient(circle at 30% 20%, rgba(240,180,41,.32), transparent 32%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 14px 35px rgba(15,107,79,.22);
}

.public-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.public-brand-logo span {
    color: #fff;
    font-size: 23px;
}

.public-brand-text {
    min-width: 0;
}

.public-brand-text strong,
.public-brand-text span {
    display: block;
    line-height: 1.25;
}

.public-brand-text strong {
    color: var(--text);
    font-size: 17px;
    letter-spacing: -.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.public-brand-text span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.public-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.public-nav-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 999px;
    color: #33443d;
    font-size: 14px;
    font-weight: 800;
    transition: .22s ease;
}

.public-nav-menu a:hover,
.public-nav-menu a.active {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.public-nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(15,107,79,.22);
}

.public-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    padding: 0;
}

.public-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: var(--primary-dark);
    transition: .22s ease;
}

.nav-open .public-mobile-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-open .public-mobile-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .public-mobile-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ==============================
   Home Page
============================== */

.public-home {
    overflow: hidden;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0 72px;
    background:
        radial-gradient(circle at 15% 20%, rgba(240, 180, 41, .18), transparent 32%),
        radial-gradient(circle at 85% 0%, rgba(15, 107, 79, .20), transparent 30%),
        linear-gradient(135deg, #f7faf8 0%, #ecf8f2 52%, #ffffff 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: .38;
    background-image:
        linear-gradient(rgba(15,107,79,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,107,79,.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--border);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(15, 107, 79, .08);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--safe);
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, .5);
    animation: pulseDot 1.8s infinite;
}

.hero-content h1 {
    margin: 24px 0 18px;
    font-size: clamp(38px, 5.2vw, 72px);
    line-height: 1.02;
    letter-spacing: -2.4px;
    color: var(--text);
}

.hero-content h1 span {
    display: block;
    color: var(--primary);
}

.hero-lead {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-mini-info {
    display: flex;
    gap: 26px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero-mini-info div {
    padding-left: 15px;
    border-left: 3px solid var(--accent);
}

.hero-mini-info strong,
.hero-mini-info span {
    display: block;
}

.hero-mini-info strong {
    color: var(--text);
    font-size: 15px;
}

.hero-mini-info span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.hero-card-wrap {
    position: relative;
    min-height: 480px;
}

.hero-map-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    min-height: 430px;
    border-radius: 34px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.map-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.map-card-top .label,
.map-card-top strong {
    display: block;
}

.map-card-top .label {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 5px;
}

.map-card-top strong {
    font-size: 24px;
    color: var(--text);
}

.status-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.mini-map-visual {
    position: relative;
    height: 260px;
    margin: 34px 0 20px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 20%, rgba(15,107,79,.20), transparent 12%),
        radial-gradient(circle at 75% 25%, rgba(2,132,199,.20), transparent 13%),
        radial-gradient(circle at 48% 72%, rgba(240,180,41,.24), transparent 15%),
        linear-gradient(135deg, #dff4e9, #f8fffb);
    overflow: hidden;
    border: 1px solid var(--border);
}

.mini-map-visual::before,
.mini-map-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 34px solid rgba(255,255,255,.45);
}

.mini-map-visual::before {
    width: 210px;
    height: 210px;
    left: -80px;
    top: 45px;
}

.mini-map-visual::after {
    width: 260px;
    height: 260px;
    right: -90px;
    top: -60px;
}

.pin {
    position: absolute;
    z-index: 3;
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    animation: pinFloat 3s ease-in-out infinite;
}

.pin::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 999px;
    left: 5.5px;
    top: 5.5px;
}

.pin-danger {
    background: var(--danger);
    left: 26%;
    top: 34%;
}

.pin-warning {
    background: var(--warning);
    right: 25%;
    top: 25%;
    animation-delay: .3s;
}

.pin-safe {
    background: var(--safe);
    left: 48%;
    bottom: 24%;
    animation-delay: .7s;
}

.pin-water {
    background: var(--water);
    right: 34%;
    bottom: 34%;
    animation-delay: 1s;
}

.map-line {
    position: absolute;
    height: 3px;
    border-radius: 999px;
    background: rgba(15, 107, 79, .25);
    transform-origin: left center;
    z-index: 1;
}

.line-1 {
    width: 170px;
    left: 25%;
    top: 43%;
    transform: rotate(-8deg);
}

.line-2 {
    width: 150px;
    right: 23%;
    bottom: 38%;
    transform: rotate(22deg);
}

.map-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.map-card-stats div {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border);
}

.map-card-stats strong,
.map-card-stats span {
    display: block;
}

.map-card-stats strong {
    font-size: 28px;
    color: var(--primary-dark);
}

.map-card-stats span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.floating-card {
    position: absolute;
    z-index: 5;
    padding: 16px 18px;
    min-width: 180px;
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.85);
    box-shadow: 0 16px 45px rgba(12, 62, 47, .16);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card span,
.floating-card strong {
    display: block;
}

.floating-card span {
    color: var(--muted);
    font-size: 12px;
}

.floating-card strong {
    margin-top: 4px;
    color: var(--primary-dark);
    font-size: 18px;
}

.floating-1 {
    left: -20px;
    bottom: 56px;
}

.floating-2 {
    right: -12px;
    top: 130px;
    animation-delay: .8s;
}

.stats-section {
    margin-top: -34px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 18px 48px rgba(12, 62, 47, .08);
}

.stat-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: var(--primary-soft);
    margin-bottom: 16px;
    font-size: 24px;
}

.stat-card strong,
.stat-card span {
    display: block;
}

.stat-card strong {
    color: var(--text);
    font-size: 28px;
    line-height: 1.1;
}

.stat-card span {
    color: var(--muted);
    margin-top: 7px;
    font-size: 14px;
}

.section-block {
    padding: 92px 0;
}

.two-column {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.section-eyebrow {
    display: inline-flex;
    color: var(--primary);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-copy h2,
.section-title h2,
.cta-box h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.section-copy p,
.section-title p,
.cta-box p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.feature-list {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}

.feature-list div {
    padding: 18px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--border);
}

.feature-list strong,
.feature-list span {
    display: block;
}

.feature-list strong {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.feature-list span {
    color: var(--muted);
    line-height: 1.6;
}

.inline-link {
    color: var(--primary);
    font-weight: 900;
}

.info-panel {
    padding: 28px;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(15,107,79,.95), rgba(8,73,55,.96)),
        var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.info-panel::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -110px;
    top: -120px;
    border-radius: 999px;
    background: rgba(240,180,41,.18);
}

.info-panel-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
}

.info-panel-header span,
.info-panel-header strong {
    display: block;
}

.info-panel-header span {
    color: rgba(255,255,255,.72);
}

.region-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.region-grid div {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
}

.region-grid strong,
.region-grid span {
    display: block;
}

.region-grid strong {
    font-size: 30px;
}

.region-grid span {
    margin-top: 4px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.region-note {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.workflow-section {
    padding: 88px 0;
    background: #ffffff;
}

.section-title {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 42px;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.workflow-card {
    padding: 24px;
    border-radius: 28px;
    background: #f8fbf9;
    border: 1px solid var(--border);
    transition: .25s ease;
}

.workflow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(12, 62, 47, .10);
    background: #fff;
}

.workflow-card span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    margin-bottom: 18px;
}

.workflow-card h3 {
    color: var(--text);
    margin: 0 0 10px;
    font-size: 20px;
}

.workflow-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

.cta-section {
    padding: 88px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(240,180,41,.18), transparent 35%),
        linear-gradient(135deg, #ecf8f2, #ffffff);
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 36px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.cta-box > div {
    max-width: 740px;
}

/* ==============================
   Detail Location Page
============================== */

.detail-page {
    overflow: hidden;
}

.detail-hero {
    position: relative;
    overflow: hidden;
    padding: 62px 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(240,180,41,.18), transparent 34%),
        radial-gradient(circle at 90% 0%, rgba(15,107,79,.18), transparent 32%),
        linear-gradient(135deg, #f7faf8, #ecf8f2 58%, #ffffff);
}

.detail-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.84);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 28px;
}

.detail-breadcrumb a {
    color: var(--primary);
}

.detail-breadcrumb strong {
    color: var(--primary-dark);
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 42px;
}

.status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.status-badge.safe {
    background: #dcfce7;
    color: #166534;
}

.status-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.orange {
    background: #ffedd5;
    color: #9a3412;
}

.status-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.neutral {
    background: #f1f5f9;
    color: #334155;
}

.status-badge.water {
    background: #e0f2fe;
    color: #075985;
}

.detail-hero-copy h1 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.detail-hero-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.detail-photo-card {
    overflow: hidden;
    min-height: 360px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: var(--shadow);
}

.detail-photo-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    min-height: 360px;
    text-align: center;
    padding: 26px;
    background:
        radial-gradient(circle at 20% 20%, rgba(15,107,79,.12), transparent 26%),
        linear-gradient(135deg, #ffffff, #e8f6ef);
}

.photo-placeholder span {
    font-size: 54px;
}

.photo-placeholder strong {
    color: var(--primary-dark);
    font-size: 18px;
}

.not-found-card {
    max-width: 620px;
    margin: 20px auto 0;
    padding: 38px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    text-align: center;
}

.not-found-icon {
    font-size: 54px;
    margin-bottom: 16px;
}

.not-found-card h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(30px, 5vw, 46px);
}

.not-found-card p {
    margin: 0 auto 24px;
    max-width: 460px;
    color: var(--muted);
    line-height: 1.8;
}

.detail-content-section {
    padding: 42px 0 82px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 22px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 22px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.summary-card,
.content-card,
.side-card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(12, 62, 47, .08);
}

.summary-card {
    padding: 22px;
    border-radius: 24px;
}

.summary-card span,
.summary-card strong {
    display: block;
}

.summary-card span {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 7px;
}

.summary-card strong {
    color: var(--primary-dark);
    font-size: 25px;
    line-height: 1.1;
}

.content-card,
.side-card {
    border-radius: 28px;
    padding: 24px;
}

.card-title {
    margin-bottom: 22px;
}

.card-title span {
    display: block;
    color: var(--primary);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.card-title h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -1px;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.info-list div,
.small-info-list div {
    padding: 16px;
    border-radius: 18px;
    background: #f8fbf9;
    border: 1px solid var(--border);
}

.info-list span,
.info-list strong,
.small-info-list span,
.small-info-list strong {
    display: block;
}

.info-list span,
.small-info-list span {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
}

.info-list strong,
.small-info-list strong {
    color: var(--text);
    line-height: 1.5;
}

.notes-box {
    margin-top: 18px;
    padding: 20px;
    border-radius: 22px;
    background: var(--primary-soft);
    border: 1px solid var(--border);
}

.notes-box span {
    display: block;
    color: var(--primary-dark);
    font-weight: 900;
    margin-bottom: 8px;
}

.notes-box p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.empty-state {
    padding: 24px;
    border-radius: 22px;
    background: #f8fbf9;
    border: 1px dashed rgba(15, 107, 79, .25);
    text-align: center;
}

.empty-state strong,
.empty-state span {
    display: block;
}

.empty-state strong {
    color: var(--text);
    margin-bottom: 6px;
}

.empty-state span {
    color: var(--muted);
    line-height: 1.6;
}

.timeline {
    position: relative;
    display: grid;
    gap: 16px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--water);
    box-shadow: 0 0 0 6px #e0f2fe;
}

.timeline-body {
    padding: 18px;
    border-radius: 22px;
    background: #f8fbf9;
    border: 1px solid var(--border);
}

.timeline-body span {
    display: block;
    color: var(--primary);
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 6px;
}

.timeline-body h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 19px;
}

.timeline-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.timeline-body small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.6;
}

.detail-sidebar {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 16px;
}

.side-card h3 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 20px;
}

.coordinate-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.coordinate-box div {
    padding: 14px;
    border-radius: 16px;
    background: #f8fbf9;
    border: 1px solid var(--border);
}

.coordinate-box span,
.coordinate-box strong {
    display: block;
}

.coordinate-box span {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 5px;
}

.coordinate-box strong {
    color: var(--primary-dark);
    word-break: break-all;
}

#detailMiniMap {
    width: 100%;
    height: 240px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #e8f6ef;
}

.small-info-list {
    display: grid;
    gap: 10px;
}

.help-card {
    background:
        radial-gradient(circle at 20% 20%, rgba(240,180,41,.16), transparent 30%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.help-card h3 {
    color: #fff;
}

.help-card p {
    margin: 0 0 16px;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
}

.help-card a {
    color: #fff;
    font-weight: 900;
}

/* ==============================
   PWA Install Banner
============================== */

.pwa-install-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1200;
    width: min(560px, calc(100% - 24px));
    transform: translate(-50%, 24px);
    opacity: 0;
    pointer-events: none;
    transition: .28s ease;
}

.pwa-install-banner.show {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.pwa-install-card {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 22px 70px rgba(12,62,47,.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.pwa-install-icon {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    overflow: hidden;
}

.pwa-install-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-install-text strong,
.pwa-install-text span {
    display: block;
}

.pwa-install-text strong {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 3px;
}

.pwa-install-text span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwa-install-btn,
.pwa-install-close {
    border: 0;
    cursor: pointer;
    font-weight: 900;
    border-radius: 999px;
}

.pwa-install-btn {
    min-height: 38px;
    padding: 0 14px;
    background: var(--primary);
    color: #fff;
}

.pwa-install-close {
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    color: #334155;
}

/* ==============================
   Public Footer
============================== */

.public-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(240,180,41,.18), transparent 30%),
        linear-gradient(135deg, #084937 0%, #0f6b4f 100%);
    color: #fff;
    margin-top: 0;
}

.public-footer-pattern {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.public-footer-inner {
    position: relative;
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 24px;
}

.public-footer-main {
    display: grid;
    grid-template-columns: 1.5fr .75fr .9fr .85fr;
    gap: 32px;
    align-items: start;
}

.public-footer-brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-brand-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.footer-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-brand-logo span {
    font-size: 28px;
}

.public-footer-brand h2 {
    margin: 0 0 10px;
    font-size: 25px;
    letter-spacing: -.8px;
    color: #fff;
}

.public-footer-brand p {
    max-width: 440px;
    margin: 0;
    color: rgba(255,255,255,.76);
    line-height: 1.75;
    font-size: 14px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.footer-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.13);
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 800;
}

.public-footer-column {
    display: grid;
    gap: 10px;
}

.public-footer-column h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 16px;
}

.public-footer-column a,
.public-footer-column span {
    color: rgba(255,255,255,.76);
    font-size: 14px;
    line-height: 1.55;
}

.public-footer-column a {
    transition: .2s ease;
}

.public-footer-column a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-status-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
}

.footer-status {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-status i {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    margin-top: 5px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.55);
    animation: footerPulse 1.8s infinite;
}

.footer-status strong,
.footer-status span {
    display: block;
}

.footer-status strong {
    color: #fff;
    margin-bottom: 4px;
    font-size: 14px;
}

.footer-status span {
    color: rgba(255,255,255,.74);
    line-height: 1.6;
    font-size: 13px;
}

.footer-install-btn {
    width: 100%;
    min-height: 42px;
    margin-top: 16px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #084937;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 34px rgba(0,0,0,.14);
}

.public-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.68);
    font-size: 13px;
}

.install-help-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 24, 18, .58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.install-help-modal.show {
    display: flex;
}

.install-help-card {
    width: min(520px, 100%);
    border-radius: 28px;
    background: #fff;
    color: var(--text);
    padding: 24px;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.install-help-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: -.6px;
}

.install-help-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.install-help-steps {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.install-help-steps div {
    padding: 14px;
    border-radius: 18px;
    background: #f8fbf9;
    border: 1px solid var(--border);
    color: var(--text);
    line-height: 1.6;
    font-size: 14px;
}

.install-help-close {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

/* ==============================
   Animations
============================== */

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(24px);
    animation: reveal .8s ease forwards;
}

.reveal-left {
    transform: translateX(-24px);
}

.reveal-right {
    transform: translateX(24px);
}

.delay-1 {
    animation-delay: .12s;
}

.delay-2 {
    animation-delay: .22s;
}

.delay-3 {
    animation-delay: .32s;
}

.delay-4 {
    animation-delay: .42s;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, .5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(22, 163, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

@keyframes publicPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34,197,94,.55);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34,197,94,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34,197,94,0);
    }
}

@keyframes footerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34,197,94,.55);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34,197,94,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34,197,94,0);
    }
}

@keyframes pinFloat {
    0%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    50% {
        transform: rotate(-45deg) translateY(-8px);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ==============================
   Responsive
============================== */

@media (max-width: 1080px) {
    .detail-hero-grid,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

    .hero-card-wrap {
        min-height: auto;
    }

    .stats-grid,
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-1 {
        left: 10px;
    }

    .floating-2 {
        right: 10px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .public-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .public-topbar-inner {
        justify-content: center;
    }

    .public-topbar-links {
        display: none;
    }

    .public-mobile-toggle {
        display: inline-block;
    }

    .public-nav-menu {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 122px;
        z-index: 1001;
        display: grid;
        gap: 8px;
        padding: 14px;
        border-radius: 24px;
        background: rgba(255,255,255,.96);
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: .22s ease;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .nav-open .public-nav-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .public-nav-menu a,
    .public-nav-action {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        border-radius: 16px;
    }
}

@media (max-width: 640px) {
    .container,
    .public-topbar-inner,
    .public-navbar-inner,
    .public-footer-inner {
        width: min(100% - 24px, var(--container));
    }

    .hero-section {
        padding: 62px 0 50px;
    }

    .hero-content h1,
    .detail-hero-copy h1 {
        letter-spacing: -1.4px;
    }

    .hero-lead,
    .detail-hero-copy p {
        font-size: 15px;
    }

    .hero-actions,
    .detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
    }

    .hero-mini-info {
        gap: 14px;
    }

    .hero-map-card {
        min-height: auto;
        border-radius: 26px;
        padding: 18px;
    }

    .mini-map-visual {
        height: 220px;
    }

    .floating-card {
        position: static;
        margin-top: 12px;
        animation: none;
    }

    .stats-grid,
    .workflow-grid,
    .region-grid,
    .map-card-stats,
    .summary-grid,
    .info-list {
        grid-template-columns: 1fr;
    }

    .stats-section {
        margin-top: 0;
        padding-top: 16px;
    }

    .section-block,
    .workflow-section,
    .cta-section {
        padding: 58px 0;
    }

    .stat-card,
    .workflow-card,
    .info-panel,
    .cta-box,
    .content-card,
    .side-card,
    .summary-card,
    .not-found-card {
        border-radius: 22px;
    }

    .cta-box {
        padding: 24px;
    }

    .detail-hero {
        padding: 44px 0;
    }

    .detail-breadcrumb {
        flex-wrap: wrap;
        border-radius: 18px;
    }

    .detail-photo-card,
    .detail-photo-card img,
    .photo-placeholder {
        min-height: 260px;
        border-radius: 24px;
    }

    .detail-content-section {
        padding: 28px 0 58px;
    }

    .public-brand-text strong {
        max-width: 190px;
        font-size: 15px;
    }

    .public-brand-text span {
        font-size: 11px;
    }

    .public-navbar-inner {
        min-height: 68px;
    }

    .public-brand-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 14px;
    }

    .public-nav-menu {
        top: 108px;
    }

    .pwa-install-card {
        grid-template-columns: 42px 1fr;
    }

    .pwa-install-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 44px;
    }

    .pwa-install-btn,
    .pwa-install-close {
        min-height: 42px;
    }

    .public-footer-inner {
        padding-top: 42px;
    }

    .public-footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .public-footer-brand {
        flex-direction: column;
    }

    .public-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .hero-content h1,
    .detail-hero-copy h1 {
        font-size: 34px;
    }

    .section-copy h2,
    .section-title h2,
    .cta-box h2 {
        font-size: 30px;
    }

    .public-brand-text strong {
        max-width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}