:root {
    --green: #176b46;
    --deep: #153e2b;
    --green2: #318159;
    --mint: #e9f4ec;
    --pale: #f5f9f5;
    --ink: #24372d;
    --muted: #64786b;
    --border: #dae8dd;
    --white: #fff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
    line-height: 1.6
}

a {
    color: var(--green);
    text-decoration: none
}

    a:hover {
        text-decoration: underline
    }

.container {
    max-width: 1120px;
    padding: 0 24px;
    margin: auto
}

.narrow {
    max-width: 760px
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.97);
    position: sticky;
    top: 0;
    z-index: 30
}

.nav-wrap, .foot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.nav-wrap {
    min-height: 78px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    letter-spacing: .07em;
    font-weight: 850;
    color: var(--deep);
    line-height: 1.1
}

    .brand small {
        display: block;
        letter-spacing: .24em;
        font-size: 10px;
        font-weight: 600;
        color: var(--green2);
        margin-top: 3px
    }

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--green);
    color: white;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 400
}

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    font-weight: 650
}

.lang-switch {
    display: flex;
    gap: 5px;
    padding: 4px;
    background: #eff6f0;
    border-radius: 11px
}

    .lang-switch a {
        padding: 5px 8px;
        font-size: 12px;
        border-radius: 8px;
        font-weight: 700;
        color: #65816e
    }

        .lang-switch a.active {
            color: var(--deep);
            background: white;
            box-shadow: 0 1px 5px #173f271c
        }

.hero {
    background: linear-gradient(110deg,#e8f3e9,#f5faf5 65%);
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 48px;
    min-height: 480px;
    padding-top: 60px;
    padding-bottom: 60px
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .12em;
    font-weight: 750;
    color: var(--green);
    text-transform: uppercase
}

h1, h2, h3 {
    line-height: 1.16;
    color: var(--deep)
}

h1 {
    font-size: clamp(32px,4vw,55px);
    letter-spacing: -.04em;
    margin: 15px 0 18px
}

h2 {
    font-size: clamp(25px,2.8vw,34px);
    letter-spacing: -.03em
}

h3 {
    font-size: 17px
}

.lead {
    color: #4d6958;
    font-size: 18px;
    max-width: 620px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    padding: 13px 22px;
    border-radius: 10px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: .15s;
    text-align: center
}

    .btn:hover {
        text-decoration: none;
        transform: translateY(-1px)
    }

.btn-primary {
    color: white;
    background: var(--green)
}

    .btn-primary:hover {
        background: #0e5234;
        color: white
    }

.btn-ghost {
    background: white;
    color: var(--green);
    border-color: #c0d7c7
}

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

.disclaimer {
    font-size: 13px;
    color: #64806f;
    margin-top: 25px
}

.hero-art {
    position: relative;
    min-height: 310px;
    display: flex;
    align-items: end;
    justify-content: center
}

.city-skyline {
    display: flex;
    align-items: end;
    gap: 12px;
    height: 260px;
    filter: drop-shadow(0 20px 18px #1b5e3930)
}

    .city-skyline > div {
        background: linear-gradient(90deg,#236c49,#3b8c62);
        border-radius: 6px 6px 0 0;
        position: relative
    }

        .city-skyline > div:before {
            content: "";
            position: absolute;
            inset: 18px 15px;
            background: repeating-linear-gradient(0deg,transparent 0 17px,#ffffff55 18px 23px,transparent 24px 41px),repeating-linear-gradient(90deg,transparent 0 18px,#ffffff44 19px 25px,transparent 26px 42px)
        }

        .city-skyline > div:nth-child(1) {
            width: 65px;
            height: 120px
        }

        .city-skyline > div:nth-child(2) {
            width: 75px;
            height: 190px
        }

        .city-skyline > div:nth-child(3) {
            width: 88px;
            height: 245px
        }

        .city-skyline > div:nth-child(4) {
            width: 73px;
            height: 160px
        }

        .city-skyline > div:nth-child(5) {
            width: 54px;
            height: 115px
        }

.city-ground {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 14px;
    background: #226b49;
    border-radius: 50%
}

.art-mark {
    position: absolute;
    right: 4%;
    top: 10px;
    color: #256b45;
    font-weight: 850;
    letter-spacing: .18em;
    line-height: 1.2;
    opacity: .18;
    font-size: 45px
}

.section {
    padding-top: 66px;
    padding-bottom: 70px
}

.features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 30px
}

.feature {
    background: var(--pale);
    border: 1px solid #e2eee4;
    border-radius: 16px;
    padding: 28px;
    min-height: 160px
}

    .feature span {
        color: var(--green);
        font-size: 32px
    }

    .feature h3 {
        margin-bottom: 0
    }

.pale {
    background: var(--pale)
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center
}

.candidates {
    margin: 26px 0;
    display: grid;
    gap: 12px
}

    .candidates > div {
        background: white;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 14px 18px;
        color: var(--green);
        font-weight: 700
    }

    .candidates b {
        color: var(--deep);
        padding-left: 15px
    }

.callout {
    background: white;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 36px #31553a0b
}

.footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px
}

.foot-row {
    align-items: start
}

.form-header {
    text-align: center;
    margin-bottom: 28px
}

    .form-header h1 {
        font-size: 36px
    }

    .form-header p {
        color: var(--muted)
    }

.form-card {
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 14px 45px #21442d0b;
    border: 1px solid var(--border);
    background: white;
    margin-bottom: 20px;
    display: grid;
    gap: 20px
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px
}

    .field-grid .full {
        grid-column: 1/-1
    }

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

    .field label {
        font-size: 13px;
        font-weight: 700;
        color: var(--deep)
    }

    .field input, .field select, .field textarea, .filters input, .filters select {
        font: inherit;
        border-radius: 9px;
        border: 1px solid #cbdacd;
        padding: 11px 13px;
        outline: none;
        background: #fff;
        color: var(--ink);
        min-width: 0;
        width: 100%
    }

        .field input:focus, .field select:focus, .field textarea:focus, .filters input:focus {
            border-color: var(--green);
            box-shadow: 0 0 0 3px #23834c15
        }

    .field small {
        color: var(--muted);
        font-size: 12px
    }

.field-error, .error-list {
    color: #aa3535;
    font-size: 13px
}

    .error-list:empty {
        display: none
    }

.check-row {
    display: flex;
    align-items: start;
    gap: 13px;
    font-size: 13px;
    color: #475e4e
}

    .check-row input {
        accent-color: var(--green);
        width: 19px;
        height: 19px;
        flex-shrink: 0
    }

.notice {
    background: #fff8e7;
    color: #6f5923;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 13px
}

    .notice.subtle {
        background: #eff7f0;
        color: #486b54
    }

.wide {
    width: 100%
}

.honeypot {
    position: absolute;
    left: -10000px;
    opacity: 0;
    pointer-events: none
}

.success-box {
    text-align: center;
    background: var(--pale);
    border-radius: 20px;
    padding: 55px 25px
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: 40px;
    margin: auto;
    display: grid;
    place-items: center
}

.admin-area {
    max-width: 1280px
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

    .admin-top h1 {
        font-size: 35px
    }

.filters {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 24px 0
}

    .filters input {
        max-width: 360px
    }

    .filters select {
        max-width: 180px
    }

.table-scroll {
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 12px
}

.data-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    white-space: nowrap
}

    .data-table th {
        text-align: left;
        background: var(--pale);
        color: #496a55
    }

    .data-table th, .data-table td {
        padding: 12px 15px;
        border-bottom: 1px solid var(--border)
    }

.pill {
    display: inline-flex;
    border-radius: 50px;
    padding: 3px 9px;
    background: #e8ece9;
    font-size: 12px
}

    .pill.verified {
        background: #e2f4e7;
        color: #136236
    }

    .pill.rejected {
        background: #f8e8e8;
        color: #883333
    }

.pager {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px
}

.detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

    .detail-grid > div {
        display: flex;
        flex-direction: column
    }

    .detail-grid small {
        color: var(--muted)
    }

    .detail-grid strong {
        overflow-wrap: anywhere
    }

@media(max-width:800px) {
    .hero-grid, .split {
        grid-template-columns: 1fr
    }

    .hero-art {
        min-height: 240px
    }

    .city-skyline {
        transform: scale(.78);
        transform-origin: bottom
    }

    .nav-links {
        display: none
    }

    .features {
        grid-template-columns: 1fr
    }

    .hero-grid {
        gap: 10px
    }

    .admin-top, .filters {
        flex-wrap: wrap
    }

    .foot-row {
        flex-wrap: wrap
    }
}

@media(max-width:550px) {
    .container {
        padding-left: 16px;
        padding-right: 16px
    }

    .nav-wrap {
        min-height: 67px
    }

    .brand {
        font-size: 11px
    }

    .brand-icon {
        width: 33px;
        height: 33px
    }

    .brand small {
        font-size: 8px
    }

    .hero-grid {
        padding-top: 40px;
        padding-bottom: 20px
    }

    .hero-art {
        min-height: 170px
    }

    .city-skyline {
        transform: scale(.55)
    }

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

    .section {
        padding-top: 43px;
        padding-bottom: 45px
    }

    .field-grid, .detail-grid {
        grid-template-columns: 1fr
    }

        .field-grid .full {
            grid-column: auto
        }

    .form-card {
        padding: 21px
    }

    .callout {
        padding: 22px
    }

    .form-header h1 {
        font-size: 30px
    }
}

/* Mobile hero layout fix */
@media (max-width: 800px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

        .hero-grid > div {
            min-width: 0;
            max-width: 100%;
        }

    .hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        gap: 12px;
    }

        .hero-actions .btn {
            display: flex;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            white-space: normal;
            overflow-wrap: anywhere;
            justify-content: center;
            text-align: center;
        }
}

/* WhatsApp community invitation — prominent on the home page */
.whatsapp-invite {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
    padding: 17px;
    border: 1px solid #b5dcc3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px #176b4612;
}

.whatsapp-invite-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #e6f7ed;
    color: #147d47;
    font-size: 28px;
    font-weight: 700;
}

.whatsapp-invite-copy {
    flex: 1;
    min-width: 0;
}

    .whatsapp-invite-copy strong {
        display: block;
        color: var(--deep);
        font-size: 15px;
        line-height: 1.35;
    }

    .whatsapp-invite-copy p {
        margin: 5px 0 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.45;
    }

.whatsapp-invite-button {
    flex-shrink: 0;
    background: #16834e;
    color: #fff;
    white-space: normal;
}

    .whatsapp-invite-button:hover {
        background: #106c3f;
        color: #fff;
    }

@media (max-width: 800px) {
    .whatsapp-invite {
        flex-wrap: wrap;
    }

    .whatsapp-invite-button {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .whatsapp-invite {
        padding: 15px;
        gap: 12px;
    }

    .whatsapp-invite-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }
}
