@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #00a6b4;
    --primary-dark: #007887;
    --secondary: #ff7a59;
    --bg: #eefcff;
    --text: #12343b;
    --muted: #6b7c85;
    --white: #ffffff;
    --border: #d8eef2;
    --danger: #dc2626;
    --success: #15803d;
    --shadow: 0 20px 60px rgba(0, 80, 100, 0.15);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--text);
    font-family: "Geologica", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #e8fbff 0%, #ffffff 45%, #fff7ef 100%);
    display: flex;
    flex-direction: column;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

main {
    flex: 1 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 80, 100, 0.06);
}

.site-header-inner {
    min-height: 88px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(1rem, 4vw, 2.5rem);
    padding: 0.55rem 0;
}

.site-logo,
.site-footer-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    width: clamp(190px, 25vw, 320px);
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.65rem, 2.4vw, 1.5rem);
    color: var(--muted);
    font-weight: 800;
    flex-wrap: wrap;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    box-shadow: 0 10px 24px rgba(0, 80, 100, 0.08);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span + span {
    margin-top: 5px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav a,
.site-footer-nav a {
    color: inherit;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-footer-nav a:hover {
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.site-footer {
    flex-shrink: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(0, 166, 180, 0.32), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(255, 122, 89, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(6, 25, 46, 0.98), rgba(0, 81, 102, 0.96));
    color: white;
    margin-top: auto;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: clamp(2rem, 6vw, 4rem);
    padding: clamp(3rem, 7vw, 4.8rem) 0 2rem;
}

.site-footer-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.15rem;
    max-width: 780px;
}

.site-footer-logo img {
    width: clamp(210px, 22vw, 300px);
    height: auto;
    max-height: 92px;
    object-fit: contain;
}

.site-footer-copy p {
    max-width: 640px;
    margin: 0 0 0.55rem;
    color: white;
    font-size: clamp(1.1rem, 2.3vw, 1.45rem);
    font-weight: 800;
    line-height: 1.35;
}

.site-footer-copy small {
    display: block;
    max-width: 580px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.6;
}

.site-footer-actions {
    display: grid;
    justify-items: end;
    gap: 1.25rem;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    color: #063244;
    background: white;
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.site-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, auto));
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem 1rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.site-footer-nav a {
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-footer-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.12);
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 700;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.lang-switcher a.active {
    color: var(--primary-dark);
}

.auth-card .lang-switcher {
    justify-content: center;
    margin: 1rem 0;
}

.hero {
    padding: 72px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    padding: 8px 14px;
    color: var(--primary-dark);
    background: #dff8fb;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 20px;
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
    letter-spacing: 0;
}

.panel h1,
.admin-panel h1,
.auth-card h1,
.map-toolbar h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.08;
}

h2 {
    margin: 0 0 0.45rem;
}

p {
    line-height: 1.6;
}

.hero-content p {
    max-width: 620px;
    color: var(--muted);
    font-size: 20px;
}

.hero-actions,
.actions,
.filters,
.admin-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 32px;
}

.btn,
.button,
button {
    border: 0;
    cursor: pointer;
    border-radius: 16px;
    padding: 15px 22px;
    color: var(--text);
    background: #e0f2fe;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-primary,
.button.primary,
button.primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 30px rgba(0, 166, 180, 0.28);
}

.btn-secondary,
.button.secondary {
    color: var(--primary-dark);
    background: white;
    border: 1px solid var(--border);
}

.button.ghost {
    background: transparent;
    outline: 2px solid rgba(0, 120, 135, 0.18);
}

.full {
    width: 100%;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.landing-report-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    margin-bottom: 20px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 122, 89, 0.15);
}

.photo-upload {
    min-height: 180px;
    border: 2px dashed #b7e5eb;
    border-radius: 22px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted);
    margin-bottom: 20px;
    background: #f7fdff;
}

.photo-upload span {
    font-size: 38px;
}

.app-explainer {
    padding: 0 0 72px;
}

.explainer-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 18px;
}

.explainer-card,
.report-guide {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: clamp(1.2rem, 4vw, 2rem);
}

.explainer-card .badge {
    margin-bottom: 0.9rem;
}

.explainer-card p {
    color: var(--muted);
    font-size: 1.05rem;
}

.steps-list {
    display: grid;
    gap: 0.9rem;
    padding: 0;
    margin: 1rem 0 1.25rem;
    list-style: none;
    counter-reset: report-step;
}

.steps-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.85rem;
    align-items: start;
    padding: 1rem;
    background: #f7fdff;
    border: 1px solid var(--border);
    border-radius: 16px;
    counter-increment: report-step;
}

.steps-list li::before {
    content: counter(report-step);
    width: 2rem;
    height: 2rem;
    display: inline-grid;
    place-items: center;
    grid-row: span 2;
    color: white;
    background: var(--primary);
    border-radius: 999px;
    font-weight: 900;
}

.steps-list span {
    color: var(--muted);
    line-height: 1.5;
}

.report-guide {
    margin: 1.25rem 0;
    box-shadow: 0 10px 26px rgba(0, 80, 100, 0.07);
}

.report-guide h2 {
    font-size: 1.25rem;
}

.report-guide ul {
    display: grid;
    gap: 0.6rem;
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.report-guide li {
    line-height: 1.5;
}

.seo-content {
    padding: 0 0 72px;
}

.seo-intro {
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.seo-intro h2 {
    font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.seo-intro p {
    color: var(--muted);
    font-size: 1.08rem;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.seo-grid article {
    padding: clamp(1.1rem, 3vw, 1.6rem);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 80, 100, 0.08);
}

.seo-grid h3 {
    margin: 0 0 0.55rem;
    color: var(--primary-dark);
}

.seo-grid p {
    margin: 0;
    color: var(--muted);
}

.home-tips {
    padding: 0 0 72px;
}

.section-heading,
.blog-hero {
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.section-heading h2,
.blog-hero h1 {
    margin-bottom: 0.75rem;
    color: var(--text);
    font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.section-heading p,
.blog-hero p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.section-actions {
    margin-top: 1.25rem;
}

.blog-archive,
.blog-post {
    width: min(980px, calc(100% - 2rem));
    margin: 2rem auto 3rem;
}

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

.tip-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 80, 100, 0.08);
}

.tip-card > div {
    padding: clamp(1rem, 3vw, 1.25rem);
}

.tip-image-link {
    display: block;
    overflow: hidden;
    background: #ecfeff;
}

.tip-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.tip-card:hover .tip-image {
    transform: scale(1.03);
}

.tip-card time,
.blog-post-header time {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.tip-card h2,
.tip-card h3 {
    margin: 0 0 0.5rem;
    color: var(--primary-dark);
    font-size: 1.08rem;
    line-height: 1.25;
}

.tip-card p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.tip-card a,
.back-link {
    color: var(--primary-dark);
    font-weight: 900;
}

.blog-post article {
    padding: clamp(1.25rem, 4vw, 2.25rem);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.blog-featured-image {
    width: 100%;
    max-height: 460px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.back-link {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.blog-post-header {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.blog-post-header h1 {
    margin: 0 0 0.8rem;
    color: var(--text);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
}

.blog-post-header p {
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.6;
}

.blog-post-content {
    display: grid;
    gap: 1rem;
    max-width: 780px;
}

.blog-post-content p {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
}

.location-btn {
    width: 100%;
    border: 1px solid var(--border);
    background: white;
    border-radius: 16px;
    padding: 14px;
}

small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.stats {
    padding: 0 0 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: min(760px, calc(100% - 2rem));
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    box-shadow: 0 8px 22px rgba(0, 80, 100, 0.06);
}

.stat-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    background: #ecfeff;
    border: 1px solid rgba(0, 166, 180, 0.18);
    border-radius: 12px;
    font-size: 1.1rem;
}

.stat-box div {
    display: grid;
    gap: 0.1rem;
}

.stat-box strong {
    color: var(--primary-dark);
    font-size: 1rem;
    line-height: 1.1;
}

.stat-box div span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.25;
}

.feature-grid,
.panel,
.admin-panel {
    width: min(1100px, calc(100% - 2rem));
    margin: 2rem auto 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-grid article,
.auth-card,
.panel,
.admin-panel .report-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.feature-grid article,
.auth-card,
.panel {
    padding: clamp(1.2rem, 4vw, 2rem);
}

.page {
    padding-bottom: 2rem;
}

.auth-card {
    width: min(440px, calc(100% - 2rem));
    margin: 8vh auto;
}

.auth-card h1 {
    text-align: center;
}

.google-button {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #1f2937;
    background: white;
    border: 1px solid #dbe7eb;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 80, 100, 0.08);
    font-weight: 800;
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0, 80, 100, 0.12);
}

.google-mark {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    color: #4285f4;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 50%;
    font-weight: 900;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--muted);
    font-weight: 800;
    margin: 0 0 1rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--border);
}

.auth-switch-card {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.25rem;
    padding: 1rem;
    color: var(--text);
    background: linear-gradient(135deg, #f7fdff, #ffffff);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 80, 100, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-switch-card span {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.auth-switch-card strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 900;
}

.auth-switch-card:hover,
.auth-switch-card:focus-visible {
    border-color: rgba(0, 166, 180, 0.42);
    box-shadow: 0 16px 36px rgba(0, 120, 135, 0.14);
    transform: translateY(-1px);
}

.legal-page {
    line-height: 1.65;
}

.legal-page > p {
    max-width: 820px;
}

.legal-page section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.legal-page h2 {
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.legal-note {
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.legal-note a {
    color: var(--primary-dark);
    font-weight: 800;
}

.stack {
    display: grid;
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.45rem;
    color: var(--text);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    color: var(--text);
    background: white;
    font: inherit;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.muted {
    color: var(--muted);
}

.alert,
.gps-card {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    background: #eff6ff;
    color: var(--primary-dark);
    font-weight: 700;
}

.alert.error,
.gps-card.error {
    background: #fef2f2;
    color: var(--danger);
}

.alert.success,
.gps-card.success {
    background: #f0fdf4;
    color: var(--success);
}

.map-page {
    min-height: 100vh;
}

.map-layout {
    width: 75vw;
    height: 75vh;
    min-height: 520px;
    margin: 2rem auto;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(18, 52, 59, 0.14);
}

.map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem clamp(1rem, 4vw, 2rem);
    background: rgba(236, 254, 255, 0.82);
}

.map-toolbar h1 {
    margin: 0;
    font-size: clamp(1.1rem, 4.8vw, 1.55rem);
    line-height: 1.2;
}

.filters button {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
}

.filters button.active {
    color: white;
    background: var(--primary-dark);
}

.filters button:disabled {
    cursor: wait;
    opacity: 0.72;
}

#map {
    width: 100%;
    min-height: 420px;
    height: 100%;
}

.map-status {
    max-width: min(320px, calc(100vw - 3rem));
    margin-left: 3rem;
    padding: 0.75rem 0.9rem;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(18, 52, 59, 0.14);
    font: 0.9rem/1.4 inherit;
    font-weight: 800;
}

.map-status.empty {
    color: var(--muted);
}

.map-status.error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.map-status[hidden] {
    display: none;
}

.jelly-marker span {
    display: block;
    width: 24px;
    height: 24px;
    border: 3px solid white;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(18, 52, 59, 0.28);
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background: rgba(0, 166, 180, 0.22);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 2px solid white;
    box-shadow: 0 8px 22px rgba(18, 52, 59, 0.24);
    font-weight: 900;
}

.popup-card {
    width: 220px;
}

.popup-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.65rem;
}

.popup-card h3 {
    margin: 0 0 0.35rem;
    color: var(--primary-dark);
    font-size: 1rem;
}

.popup-age {
    display: grid;
    gap: 0.15rem;
    margin-top: 0.55rem;
}

.popup-age span {
    color: var(--primary-dark);
    font-weight: 800;
}

.popup-age time {
    color: var(--muted);
    font-size: 0.78rem;
}

.map-legend {
    display: grid;
    gap: 0.4rem;
    padding: 0.75rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(18, 52, 59, 0.14);
    font: 0.85rem/1.35 inherit;
}

.map-legend strong {
    margin-bottom: 0.15rem;
}

.map-legend span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.map-legend i {
    width: 0.85rem;
    height: 0.85rem;
    display: inline-block;
    border: 2px solid white;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(18, 52, 59, 0.2);
}

.popup-flag {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.popup-flag strong {
    font-size: 0.85rem;
}

.popup-flag select,
.popup-flag input {
    min-height: auto;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

.popup-flag button {
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

.report-list {
    display: grid;
    gap: 1rem;
}

.admin-create-card {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: clamp(1rem, 3vw, 1.5rem);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.admin-create-card h2 {
    margin: 0;
    color: var(--primary-dark);
}

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

.admin-create-form .span-full,
.admin-create-form button {
    grid-column: 1 / -1;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.admin-nav a {
    padding: 0.65rem 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 800;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: white;
    background: var(--primary);
}

.table-card {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1180px;
}

.members-table th,
.members-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.members-table th {
    color: var(--text);
    background: #f7fdff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.members-table tr:last-child td {
    border-bottom: 0;
}

.members-table .wrap-cell {
    max-width: 260px;
    white-space: normal;
    word-break: break-word;
}

.admin-panel .report-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 1rem;
}

.admin-panel .report-card > img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
}

.report-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.9rem;
}

.flag-count {
    color: #9a3412;
    background: #ffedd5;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    font-weight: 800;
}

.flag-list {
    display: grid;
    gap: 0.6rem;
    margin: 0.9rem 0;
    padding: 0.9rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 16px;
}

.flag-item {
    display: grid;
    gap: 0.25rem;
    padding-top: 0.55rem;
    border-top: 1px solid #fed7aa;
}

.flag-item:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.flag-item span {
    font-weight: 800;
}

.flag-item p,
.flag-item small {
    margin: 0;
    color: var(--muted);
}

.status {
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    color: white;
    background: #6b7280;
    font-weight: 800;
}

.status.approved {
    background: var(--success);
}

.status.rejected {
    background: var(--danger);
}

.status.pending {
    background: #f97316;
}

.admin-actions {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f7fdff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0, 80, 100, 0.07);
}

.admin-actions + h2 {
    margin-top: 0.25rem;
}

.report-place {
    color: var(--primary-dark);
    font-weight: 800;
}

.admin-actions strong {
    width: 100%;
    color: var(--text);
    font-size: 0.95rem;
}

.admin-actions button {
    min-width: 120px;
}

.admin-actions .approve {
    color: white;
    background: var(--success);
}

.admin-actions .reject {
    color: white;
    background: #f97316;
}

.admin-actions .danger {
    color: white;
    background: var(--danger);
}

@media (max-width: 820px) {
    .site-header-inner {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
        padding: 0.65rem 0;
    }

    .site-logo img {
        width: min(240px, 64vw);
        max-height: 62px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .site-nav {
        grid-column: 1 / -1;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        border: 0;
        border-radius: 18px;
        background: white;
        box-shadow: none;
        font-size: 1rem;
        transition: max-height 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .site-nav.is-open {
        max-height: 420px;
        padding: 0.5rem;
        border: 1px solid var(--border);
        box-shadow: 0 16px 40px rgba(0, 80, 100, 0.12);
    }

    .site-nav a,
    .site-nav .lang-switcher {
        padding: 0.85rem 1rem;
        border-radius: 12px;
    }

    .site-nav a:hover {
        background: #eefcff;
    }

    .site-nav .lang-switcher {
        justify-content: center;
        border-top: 1px solid var(--border);
    }

    .site-footer {
        margin-top: 36px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 2rem;
        padding-top: 3rem;
    }

    .site-footer-brand,
    .site-footer-copy small {
        max-width: none;
    }

    .site-footer-brand {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .site-footer-actions {
        justify-items: center;
        width: 100%;
    }

    .site-footer-nav {
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        width: 100%;
    }

    .footer-cta {
        width: min(100%, 320px);
    }

    .site-footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-bottom: 2rem;
    }

    .hero {
        padding: 44px 0;
    }

    .hero-grid,
    .stats-grid,
    .explainer-grid,
    .seo-grid,
    .blog-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .map-toolbar,
    .admin-panel .report-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-create-form {
        grid-template-columns: 1fr;
    }

    .map-layout {
        width: min(100%, calc(100vw - 2rem));
        height: auto;
        min-height: auto;
        margin: 1rem auto;
    }

    #map {
        height: 70vh;
    }
}
