﻿:root {
    --bg-1: #031a45;
    --bg-2: #083c8d;
    --bg-3: #0b5ecc;
    --panel: #ffffff;
    --panel-dark: #0a2d68;
    --panel-border: rgba(7, 73, 161, 0.15);
    --text-main: #183a67;
    --text-soft: #607ea7;
    --white: #ffffff;
    --blue: #0c66d4;
    --blue-deep: #0849a2;
    --yellow: #ffdf3d;
    --yellow-deep: #f4be14;
    --red: #e64646;
    --green: #13af68;
    --warning: #f5aa2b;
    --danger: #e95f62;
    --radius-xl: 20px;
    --radius-lg: 14px;
    --radius-md: 12px;
    --shadow-lg: 0 18px 34px rgba(8, 54, 121, 0.2);
    --shadow-sm: 0 8px 20px rgba(8, 54, 121, 0.12);
    --sidebar-width: 285px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Franklin Gothic Medium", "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 228, 82, 0.28), transparent 32%),
        radial-gradient(circle at 88% 14%, rgba(79, 170, 255, 0.34), transparent 35%),
        linear-gradient(145deg, #eff6ff 0%, #dcebff 48%, #f4f9ff 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    padding: 24px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: var(--white);
    background:
        linear-gradient(170deg, rgba(1, 27, 73, 0.97), rgba(7, 61, 135, 0.96)),
        radial-gradient(circle at 12% 10%, rgba(255, 222, 62, 0.25), transparent 36%);
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-sm);
}

.brand-wrap {
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.1);
}

.brand-title {
    margin: 0;
    font-size: 1.36rem;
    letter-spacing: 0.5px;
    font-weight: 800;
}

.brand-subtitle {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.86);
}

.sidebar-nav {
    display: grid;
    gap: 8px;
}

.logout-form {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.94);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-link.nav-button {
    width: 100%;
    text-align: left;
    background: transparent;
    appearance: none;
    cursor: pointer;
    font: inherit;
}

.nav-icon {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-icon svg {
    width: 14px;
    height: 14px;
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-link:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 9px 15px rgba(2, 24, 66, 0.24);
    transform: translateY(-1px);
}

.nav-link.active {
    border-color: rgba(255, 222, 62, 0.72);
    background: rgba(255, 222, 62, 0.2);
    color: #fff9dc;
    box-shadow: 0 10px 18px rgba(1, 22, 58, 0.24);
}

.nav-link.active .nav-icon {
    color: #7c5600;
    background: linear-gradient(125deg, #ffec81, #ffd23d);
    border-color: rgba(255, 222, 62, 0.76);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.83rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.86);
}

.sidebar-footer p {
    margin: 0;
}

.main-panel {
    flex: 1;
    min-width: 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(17, 118, 236, 0.24), transparent 36%),
        linear-gradient(180deg, #f6fbff 0%, #eaf3ff 44%, #f5f9ff 100%);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 25;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    backdrop-filter: blur(6px);
    background: linear-gradient(128deg, rgba(7, 70, 150, 0.96), rgba(11, 108, 214, 0.94));
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 24px rgba(5, 51, 110, 0.25);
}

.page-title {
    margin: 0;
    color: #f4f9ff;
    font-size: 1.24rem;
    font-weight: 800;
}

.page-subtitle {
    margin: 4px 0 0;
    color: rgba(234, 244, 255, 0.9);
    font-size: 0.9rem;
}

.hamburger {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.14);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(238, 188, 18, 0.68);
    background: linear-gradient(125deg, #ffea76, #ffd339);
    color: #7f5900;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 700;
}

.chip.chip-button {
    appearance: none;
    cursor: pointer;
    font: inherit;
}

.chip-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chip-icon svg {
    width: 14px;
    height: 14px;
}

.content-area {
    padding: 24px 28px 36px;
    max-width: 1240px;
    margin: 0 auto;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
}

.hero-main-card {
    background:
        linear-gradient(155deg, rgba(6, 57, 126, 0.97), rgba(9, 85, 177, 0.94)),
        radial-gradient(circle at 8% 7%, rgba(255, 221, 56, 0.28), transparent 40%);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: riseIn 0.42s ease;
}

.eyebrow {
    margin: 0;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 223, 61, 0.2);
    border: 1px solid rgba(255, 223, 61, 0.55);
    color: #fff4c6;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 800;
}

.hero-main-card h2 {
    margin: 12px 0 10px;
    font-size: 2rem;
    line-height: 1.2;
}

.hero-main-card p {
    margin: 0;
    line-height: 1.58;
    color: rgba(241, 247, 255, 0.94);
}

.hero-highlight {
    margin-top: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 223, 61, 0.52);
    background: rgba(255, 223, 61, 0.16);
    padding: 10px 12px;
}

.hero-highlight p {
    color: #fff9de;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: justify;
}

.hero-cta-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-visual-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(8, 73, 162, 0.18);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(145deg, #0a2f67, #0f4f9b);
    animation: riseIn 0.5s ease;
}

.hero-visual-card img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.hero-visual-card .hero-photo {
    height: clamp(260px, 36vw, 420px);
    object-fit: contain;
    object-position: center;
    padding: 10px;
    background: linear-gradient(145deg, #0a2f67, #0f4f9b);
}

.hero-visual-caption {
    padding: 12px 14px;
    background: linear-gradient(180deg, #ffffff, #f2f7ff);
    border-top: 1px solid var(--panel-border);
}

.hero-visual-caption p {
    margin: 0;
    color: #285684;
    font-size: 0.9rem;
}

.spanduk-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    grid-auto-flow: row dense;
}

.spanduk-panel {
    background:
        linear-gradient(160deg, #ffffff, #f1f7ff),
        radial-gradient(circle at 85% 14%, rgba(255, 223, 61, 0.2), transparent 45%);
}

.spanduk-panel .panel-header {
    margin-bottom: 14px;
}

.spanduk-card {
    grid-column: span 3;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(165deg, #fafdff, #ecf4ff);
    border-radius: var(--radius-lg);
    border: 1px solid #bfd5ef;
    box-shadow: 0 7px 16px rgba(8, 54, 121, 0.1);
    padding: 15px 15px 14px;
    animation: riseIn 0.56s ease;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spanduk-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0c66d4, #25a2f5, #ffdc4d);
    opacity: 0.9;
}

.spanduk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(8, 54, 121, 0.16);
}

.spanduk-card:nth-child(1) { animation-delay: 0.03s; }
.spanduk-card:nth-child(2) { animation-delay: 0.08s; }
.spanduk-card:nth-child(3) { animation-delay: 0.13s; }
.spanduk-card:nth-child(4) { animation-delay: 0.18s; }
.spanduk-card:nth-child(5) { animation-delay: 0.23s; }

.spanduk-card-wide {
    grid-column: 1 / -1;
}

.spanduk-title {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border-radius: 10px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #072d66;
    background: linear-gradient(120deg, var(--yellow), var(--yellow-deep));
    box-shadow: inset 0 0 0 1px rgba(170, 116, 0, 0.25);
}

.title-icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0e4f99;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(14, 79, 153, 0.2);
}

.title-icon svg {
    width: 12px;
    height: 12px;
}

.spanduk-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 7px;
    color: #1f4f86;
    font-weight: 700;
    font-size: 0.9rem;
}

.spanduk-list li {
    position: relative;
    padding-left: 16px;
    line-height: 1.35;
}

.spanduk-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0d63ce;
}

.spanduk-card-wide .spanduk-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
}

.panel {
    margin-top: 18px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.panel-header h3 {
    margin: 0;
    color: #18477f;
    font-size: 1.13rem;
}

.panel-header p {
    margin: 5px 0 0;
    color: var(--text-soft);
    font-size: 0.89rem;
}

.partner-panel {
    background:
        linear-gradient(160deg, #ffffff, #f2f7ff),
        radial-gradient(circle at 10% 10%, rgba(255, 223, 61, 0.23), transparent 36%);
}

.partner-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-pill {
    border-radius: 999px;
    padding: 7px 12px;
    border: 1px solid #b8d1ef;
    background: #f8fbff;
    color: #285a8f;
    font-size: 0.84rem;
    font-weight: 700;
}

.stats-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.metric-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--panel-border);
    background: linear-gradient(155deg, #ffffff, #f6faff);
    box-shadow: var(--shadow-sm);
    padding: 16px;
}

.metric-title {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 800;
}

.metric-value {
    margin: 8px 0;
    font-size: 2rem;
    font-weight: 900;
    color: #12549c;
}

.metric-note {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.45;
}

.testimonial-panel {
    margin-top: 18px;
    background:
        linear-gradient(160deg, #ffffff, #f5f9ff),
        radial-gradient(circle at 85% 12%, rgba(255, 223, 61, 0.2), transparent 40%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.testimonial-card {
    position: relative;
    border-radius: 14px;
    border: 1px solid #bfd5f0;
    background: linear-gradient(150deg, #ffffff, #f3f8ff);
    padding: 16px 14px 14px;
    box-shadow: 0 9px 16px rgba(8, 54, 121, 0.08);
}

.testimonial-card:nth-child(1) { animation: riseIn 0.4s ease; }
.testimonial-card:nth-child(2) { animation: riseIn 0.5s ease; }
.testimonial-card:nth-child(3) { animation: riseIn 0.6s ease; }

.testimonial-text {
    margin: 0;
    color: #2a5078;
    font-size: 0.92rem;
    line-height: 1.56;
}

.testimonial-text::before {
    content: "\201C";
    color: #87afe0;
    font-size: 1.15rem;
    font-weight: 900;
    margin-right: 4px;
}

.testimonial-name {
    margin: 10px 0 0;
    color: #134e93;
    font-size: 0.85rem;
    font-weight: 800;
}

.testimonial-empty {
    margin: 0;
    color: #5477a0;
    font-size: 0.9rem;
}

.location-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.location-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.location-panel .eyebrow {
    color: #103f7d;
    background: #eaf2ff;
    border-color: #b8d1ef;
}

.location-panel h3 {
    margin: 8px 0 7px;
    color: #174a85;
}

.location-panel p {
    margin: 0;
    color: #486d95;
    line-height: 1.55;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.track-form {
    display: grid;
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
    font-size: 0.87rem;
    color: #1f4f86;
    font-weight: 700;
}

.captcha-box {
    margin: 2px 0;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed #9dbde6;
    background: #f6fbff;
    display: grid;
    gap: 6px;
}

.captcha-label {
    margin: 0;
    color: #1f4f86;
    font-size: 0.84rem;
    font-weight: 700;
}

.captcha-code {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #dcecff;
    border: 1px solid #b7d3f5;
    color: #113b6a;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
}

.captcha-hint {
    margin: 0;
    color: #4a6d93;
    font-size: 0.8rem;
    line-height: 1.4;
}

.input {
    width: 100%;
    border: 1px solid #bed4ef;
    border-radius: 11px;
    background: #ffffff;
    color: #1f446f;
    padding: 10px 12px;
    font-size: 0.95rem;
    outline: none;
}

.input:focus {
    border-color: #0c66d4;
    box-shadow: 0 0 0 3px rgba(12, 102, 212, 0.14);
}

textarea.input {
    min-height: 108px;
    resize: vertical;
}

.full-width {
    grid-column: 1 / -1;
}

.button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 800;
    border: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
    background: linear-gradient(130deg, #0f68d5, #0a4fae);
    color: #f2f8ff;
    box-shadow: 0 10px 18px rgba(8, 73, 162, 0.24);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(8, 73, 162, 0.3);
}

.btn-secondary {
    background: linear-gradient(130deg, #fffdf2, #fff7d5);
    color: #8a5f00;
    border: 1px solid #f1d688;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(160, 122, 17, 0.18);
}

.btn-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 14px;
    height: 14px;
}

.slim-panel {
    max-width: 760px;
}

.filter-row {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 12px;
    align-items: end;
}

.ticket-grid {
    margin-top: 16px;
    display: grid;
    gap: 16px;
}

.ticket-card {
    margin-top: 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.details-grid.compact {
    margin-bottom: 12px;
}

.detail-label {
    margin: 0;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b86a6;
    font-weight: 800;
}

.detail-value {
    margin: 5px 0 0;
    font-size: 0.92rem;
    color: #2c537f;
    line-height: 1.44;
}

.update-grid {
    margin-top: 12px;
}

.status-chip {
    display: inline-block;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 800;
    border: 1px solid transparent;
}

.status-pending {
    background: #fff7e5;
    border-color: #f4cf85;
    color: #8d6200;
}

.status-progress {
    background: #edf5ff;
    border-color: #b5d0f2;
    color: #1f5a96;
}

.status-completed {
    background: #e8f9ef;
    border-color: #97d7b0;
    color: #196842;
}

.status-cancelled {
    background: #fff0f2;
    border-color: #efb0ba;
    color: #8f2332;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 11px 9px;
    border-bottom: 1px solid #dfebf7;
    text-align: left;
    font-size: 0.9rem;
}

.data-table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #6b86a6;
    font-weight: 800;
}

.flash-stack {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.flash {
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 700;
}

.flash-success {
    background: #ebf9f1;
    border-color: #a2dfbf;
    color: #17643e;
}

.flash-danger {
    background: #fff1f3;
    border-color: #f1b3bd;
    color: #8d2433;
}

.flash-warning {
    background: #fff8ec;
    border-color: #f2d09d;
    color: #7f5500;
}

.flash-info {
    background: #eef6ff;
    border-color: #b9d2ee;
    color: #1e568f;
}

.error-text {
    color: #bc3042;
    font-size: 0.76rem;
    font-weight: 700;
}

.with-actions {
    align-items: flex-start;
}

.sidebar-overlay {
    display: none;
}

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(145deg, #18c462, #0e9f4b);
    box-shadow: 0 12px 24px rgba(8, 97, 45, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.78);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-float:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 26px rgba(8, 97, 45, 0.42);
}

.wa-float svg {
    width: 32px;
    height: 32px;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1180px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .spanduk-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .spanduk-card-wide {
        grid-column: 1 / -1;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        box-shadow: var(--shadow-lg);
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: block;
        opacity: 0;
        visibility: hidden;
        background: rgba(2, 30, 74, 0.45);
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    body.sidebar-open .sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: inline-flex;
    }

    .topbar,
    .content-area {
        padding-left: 18px;
        padding-right: 18px;
    }

    .spanduk-card {
        grid-column: span 3;
    }

    .form-grid,
    .filter-row,
    .details-grid {
        grid-template-columns: 1fr;
    }

    .location-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .location-actions {
        width: 100%;
        flex-direction: column;
    }

    .button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary,
    .chip {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .spanduk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .spanduk-card {
        grid-column: auto;
    }

    .spanduk-card-wide {
        grid-column: 1 / -1;
    }

    .spanduk-card-wide .spanduk-list {
        grid-template-columns: 1fr;
    }

    .spanduk-card {
        padding: 14px 13px;
    }

    .spanduk-title {
        font-size: 0.97rem;
    }

    .spanduk-list {
        font-size: 0.9rem;
    }

    .hero-main-card h2 {
        font-size: 1.45rem;
    }

    .hero-visual-card img {
        height: 220px;
    }

    .hero-visual-card .hero-photo {
        height: clamp(220px, 60vw, 320px);
        object-position: center;
        padding: 8px;
    }

    .metric-value {
        font-size: 1.7rem;
    }

    .topbar {
        flex-wrap: wrap;
    }

    .wa-float {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 14px;
    }
}
