:root {
    --green: #1e3f20;
    --green-deep: #143018;
    --gold: #c99a3f;
    --earth: #765f43;
    --cream: #f8f7f3;
    --paper: #ffffff;
    --ink: #18311b;
    --muted: #657061;
    --line: rgba(118, 95, 67, 0.16);
    --shadow: 0 24px 70px rgba(30, 63, 32, 0.14);
    --shadow-soft: 0 14px 42px rgba(30, 63, 32, 0.08);
    --radius-card: 22px;
    --radius-image: 24px;
    --ease: 200ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--cream);
    color: var(--ink);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(201, 154, 63, .42);
    outline-offset: 3px;
}
h1, h2, h3 { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; margin: 0; }
h1 {
    font-size: clamp(38px, 5vw, 64px);
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}
h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--green);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}
h3 {
    font-size: 36px;
    color: var(--green);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
p { margin: 0 0 1rem; color: #5d665a; font-size: 18px; line-height: 1.7; }

.container { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); text-align: center; }
.section { padding: 96px 0; }
.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.eyebrow {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow.dark { color: var(--gold); }
.lead { font-family: Inter, system-ui, sans-serif; font-size: 22px; color: var(--green); font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.lead span, h1 span, .donate h2 span { color: var(--gold); }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(28px, 5vw, 72px);
    padding: 26px clamp(18px, 4vw, 70px);
    background: transparent;
    color: #fff;
    border-bottom: 0;
    backdrop-filter: blur(18px);
    box-shadow: none;
    transition: background var(--ease), color var(--ease), padding var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.site-header.scrolled {
    padding-top: 18px;
    padding-bottom: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--green);
    border-bottom: 1px solid rgba(118,95,67,.12);
    box-shadow: 0 12px 32px rgba(20, 48, 24, .05);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: Inter, system-ui, sans-serif; color: currentColor; min-width: 330px; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-title { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.brand-subtitle { margin-top: 5px; font-family: Inter, Arial, sans-serif; font-size: .76rem; letter-spacing: .34em; text-transform: uppercase; opacity: .82; }
.site-nav { display: flex; align-items: center; gap: 38px; font-size: 16px; font-weight: 500; letter-spacing: 0; }
.site-nav a { position: relative; }
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--ease);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }
.header-donate { min-width: 172px; padding: 15px 28px; font-size: 16px; font-weight: 600; letter-spacing: .2px; }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; }

.hero { position: relative; min-height: 720px; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hero-image, .movement > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20,48,24,.76), rgba(0,0,0,.32) 45%, rgba(20,48,24,.68)); }
.hero-content { position: relative; z-index: 2; max-width: 1180px; padding-top: 76px; }
.hero-copy { color: rgba(255,255,255,.9); max-width: 760px; font-size: 20px; font-weight: 400; margin-top: 32px; line-height: 1.8; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
    border: 0;
    border-radius: 999px;
    padding: 18px 30px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .2px;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(30,63,32,.08);
    transition: transform var(--ease), background var(--ease), border var(--ease), box-shadow var(--ease), color var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.01); }
.btn-gold { background: linear-gradient(135deg, #d7ad2d, var(--gold)); color: #fff; box-shadow: 0 16px 36px rgba(201,154,63,.28); }
.btn-green { background: var(--green); color: #fff; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-white { background: #fff; color: var(--green); }
.btn-outline { border: 1px solid var(--line); color: var(--green); background: transparent; }
.btn-text { color: #fff; padding-inline: 8px; }

.stats { background: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.stat-card { padding: 44px 24px; text-align: center; border: 1px solid rgba(118,95,67,.08); border-radius: var(--radius-card); background: rgba(255,255,255,.82); box-shadow: var(--shadow-soft); transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.stat-icon { width: 76px; height: 76px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: var(--gold); background: #faf8f4; border: 1px solid rgba(118,95,67,.12); margin-bottom: 34px; }
.stat-icon .icon { width: 34px; height: 34px; }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,154,63,.24); }
.stat-card strong { display: block; color: var(--green); font-size: 48px; font-family: Inter, system-ui, sans-serif; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.stat-card > span:not(.stat-icon) { color: var(--earth); font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 500; line-height: 1.5; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.top { align-items: start; }
.founder-card { position: relative; max-width: 520px; }
.founder-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-image); box-shadow: var(--shadow); }
.founder-badge { position: absolute; left: 28px; right: 28px; bottom: -28px; background: rgba(255,255,255,.92); border: 1px solid rgba(118,95,67,.08); backdrop-filter: blur(14px); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); }
.founder-badge strong { display: block; font-family: Inter, system-ui, sans-serif; font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--green); }
.founder-badge span { color: var(--earth); font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; }

.values, .work-list { background: var(--cream); }
.card-grid { display: grid; gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-card, .program-card, .video-card, .form-card, .donate-box {
    background: #fff;
    border: 1px solid rgba(118,95,67,.08);
    border-radius: var(--radius-card);
    padding: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.info-card:hover,
.program-card:hover,
.video-card:hover,
.form-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201,154,63,.22); }
.card-mark { width: 48px; height: 48px; border-radius: 14px; background: var(--green); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 18px; }

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-card { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(30,63,32,.08); }
.service-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.service-card div, .program-card div { padding: 20px; }
.service-card span { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 800; }
.service-card h3, .program-card h3, .video-card h3 { font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: 0; margin: 10px 0; }

.program-card { padding: 0; overflow: hidden; }
.program-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 400ms ease; }
.program-card:hover img { transform: scale(1.04); }
.program-card h3 { font-size: 22px; font-weight: 600; }
.program-card p { font-size: 16px; line-height: 1.7; font-weight: 400; }

.gallery { background: #fff; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 auto 48px; }
.gallery-filter { border: 1px solid rgba(118,95,67,.16); border-radius: 999px; background: #fff; color: var(--green); padding: 14px 28px; font-weight: 600; font-size: 16px; box-shadow: 0 8px 22px rgba(30,63,32,.04); cursor: pointer; transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease); }
.gallery-filter:hover { transform: translateY(-2px); border-color: rgba(201,154,63,.42); }
.gallery-filter.active { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 14px 28px rgba(30,63,32,.2); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 960px; margin: 0 auto; }
.gallery-grid figure { margin: 0; position: relative; border-radius: var(--radius-image); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform var(--ease), box-shadow var(--ease); }
.gallery-grid figure:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 400ms ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(30,63,32,.82); color: #fff; padding: 7px 12px; border-radius: 999px; font-size: 13px; line-height: 1.5; }
.gallery-grid figure.is-hidden { display: none; }

.videos { background: var(--cream); }
.video-card { padding: 0; overflow: hidden; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e5dc; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .35s, opacity .35s; }
.video-card:hover .video-thumb img { transform: scale(1.05); opacity: .95; }
.play-dot { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--green); display: grid; place-items: center; padding-left: 3px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.video-card h3 { padding: 0 10px 10px; }
.section-action { display: flex; justify-content: center; margin-top: 34px; }

.movement { position: relative; padding: 120px 0; color: #fff; overflow: hidden; }
.movement-overlay { position: absolute; inset: 0; background: rgba(30,63,32,.82); }
.movement .container { position: relative; z-index: 2; text-align: center; }
.movement h2, .movement h3, .donate h2 { color: #fff; }
.movement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; text-align: left; }
.movement-grid article { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 34px; backdrop-filter: blur(10px); }
.movement-grid p, .donate p, .donate .small { color: rgba(255,255,255,.78); }

.donate { background: radial-gradient(circle at 20% 20%, rgba(201,154,63,.14), transparent 30%), linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; text-align: center; min-height: 520px; display: flex; align-items: center; }
.donate-box { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); margin-top: 34px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.amounts button { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; border-radius: 14px; padding: 16px; font-size: 16px; font-weight: 600; letter-spacing: .2px; }
.amounts button.active { background: var(--gold); border-color: var(--gold); box-shadow: 0 10px 26px rgba(201, 154, 63, .26); }
.custom-donation-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; margin: 24px 0 30px; color: rgba(255,255,255,.78); font-size: 16px; font-weight: 500; text-align: left; }
.custom-donation-field { display: flex; align-items: center; gap: 10px; margin: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 0 18px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 400; }
.custom-donation-field input { margin: 0; border: 0; background: transparent; color: #fff; padding: 17px 0; font-size: 16px; font-weight: 400; }
.custom-donation-field input::placeholder { color: rgba(255,255,255,.52); }
.small { font-size: 15px; line-height: 1.6; margin-top: 15px; }
.small a { color: var(--gold); text-decoration: underline; }

.form-section { background: var(--paper); }
.form-card { text-align: left; }
label { display: block; color: var(--earth); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; margin-bottom: 16px; }
label span { text-transform: none; font-weight: 400; opacity: .7; }
input, textarea, select {
    width: 100%;
    display: block;
    margin-top: 7px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}
input::placeholder,
textarea::placeholder { color: rgba(101,112,97,.64); font-size: 16px; font-weight: 400; }
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(201,154,63,.58);
    box-shadow: 0 0 0 4px rgba(201,154,63,.12);
    outline: 0;
}
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { display: none; margin-bottom: 16px; border-radius: 12px; padding: 12px 14px; font-weight: 700; }
.form-status.success { display: block; color: #155724; background: #dff4e5; }
.form-status.error { display: block; color: #7a1c1c; background: #fde2e2; }

.contact-list { display: grid; gap: 14px; margin: 26px 0; }
.contact-list a, .contact-list span { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 10px 24px rgba(30,63,32,.06); }
.contact-list strong { display: block; color: var(--green); }
.contact-list .whatsapp { background: #25d366; color: #fff; font-weight: 800; text-align: center; }
.map { width: 100%; height: 280px; border: 0; border-radius: 18px; box-shadow: var(--shadow); }

.footer { background: #1b4421; color: rgba(255,255,255,.72); padding: 106px 0 30px; }
.footer .container { width: min(1600px, calc(100% - 150px)); }
.footer h3 { color: var(--gold); font-family: Inter, Arial, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.35; text-transform: none; letter-spacing: 0; margin: 0 0 24px; }
.footer a { display: block; margin-bottom: 17px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .72fr 1.08fr; gap: 96px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 20px; color: #fff; font-family: Inter, system-ui, sans-serif; font-size: 24px; font-weight: 600; line-height: 1.35; margin-bottom: 30px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.footer-about p { font-size: 16px; font-weight: 400; line-height: 1.7; color: rgba(255,255,255,.76); max-width: 610px; }
.footer-links a { color: rgba(255,255,255,.78); font-size: 15px; font-weight: 400; line-height: 1.7; margin-bottom: 14px; }
.footer-reach p { display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.78); font-size: 15px; font-weight: 400; line-height: 1.7; margin-bottom: 20px; }
.footer-reach a { margin: 0; }
.footer-contact-stack { display: grid; gap: 5px; }
.footer-icon { color: var(--gold); min-width: 24px; display: inline-flex; align-items: center; justify-content: center; }
.footer-icon .icon { width: 22px; height: 22px; }
.socials { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.socials a { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 0; display: grid; place-items: center; font-weight: 800; margin: 0; }
.socials .icon { width: 21px; height: 21px; }
.copyright { width: min(1600px, calc(100% - 150px)); margin: 76px auto 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; font-size: 14px; font-weight: 400; line-height: 1.5; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.58); }
.copyright > span:first-child { white-space: nowrap; }
.credit-separator { display: inline-block; margin: 0 8px; opacity: .55; }
.copyright .credit-link { display: inline; margin: 0; color: rgba(255,255,255,.76); text-decoration: none; white-space: nowrap; }
.copyright .credit-link:hover { color: var(--gold); }

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 18px 42px rgba(20, 48, 24, .28);
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.04); background: #1fbd5b; box-shadow: 0 22px 52px rgba(20, 48, 24, .34); }
.floating-whatsapp .whatsapp-mark { width: 34px; height: 34px; display: block; fill: currentColor; }

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
    transition: opacity 500ms ease, transform 500ms ease, filter 500ms ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (max-width: 980px) {
    body { font-size: 17px; }
    h1 { font-size: 52px; }
    h2 { font-size: 40px; }
    h3 { font-size: 32px; }
    p { font-size: 17px; }
    .site-header { justify-content: space-between; }
    .nav-toggle { display: inline-flex; background: transparent; border: 1px solid currentColor; color: currentColor; border-radius: 999px; padding: 9px 14px; }
    .site-nav { position: absolute; top: 88px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; color: var(--green); border: 1px solid rgba(118,95,67,.16); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px; }
    .brand { min-width: 0; margin-right: auto; }
    .header-donate { display: none; }
    .stat-grid, .card-grid.four, .card-grid.three, .service-grid, .split, .movement-grid, .footer-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { gap: 45px; }
    .footer .container,
    .copyright { width: min(100% - 48px, 1180px); }
    .service-grid { gap: 20px; }
    .service-card h3, .program-card h3, .video-card h3 { font-size: 20px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    h1 { font-size: 38px; letter-spacing: -1px; }
    h2 { font-size: 32px; letter-spacing: -0.5px; }
    h3 { font-size: 28px; letter-spacing: 0; }
    p { font-size: 16px; }
    .section { padding: 70px 0; }
    .hero { min-height: 680px; height: 92vh; }
    .actions, .form-row, .stat-grid, .card-grid.four, .card-grid.three, .service-grid, .split, .movement-grid, .footer-grid, .amounts, .gallery-grid, .custom-donation-row { grid-template-columns: 1fr; }
    .actions { display: grid; }
    .stat-card { border-right: 0; border-bottom: 1px solid var(--line); }
    .stat-card:last-child { border-bottom: 0; }
    .founder-badge { position: static; margin: -20px 18px 0; }
    .container, .narrow { width: min(100% - 28px, 1180px); }
    .site-header { padding-inline: 14px; }
    .brand-title { font-size: 1.25rem; }
    .brand-subtitle { font-size: .58rem; }
    .brand img { width: 48px; height: 48px; }
    .hero-copy { font-size: 16px; line-height: 1.7; }
    .btn { font-size: 16px; min-height: 54px; padding: 15px 22px; }
    .stat-card strong { font-size: 40px; }
    .stat-card > span:not(.stat-icon) { font-size: 15px; }
    .service-card h3, .program-card h3, .video-card h3 { font-size: 20px; }
    .program-card p { font-size: 16px; }
    .footer { padding-top: 72px; }
    .footer .container,
    .copyright { width: min(100% - 28px, 1180px); }
    .copyright { flex-direction: column; text-align: center; }
    .copyright > span:first-child { white-space: normal; }
    .credit-separator { display: none; }
    .floating-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
    .gallery-filter { width: 100%; }
}

.admin-page {
    min-height: 100vh;
    background: #f3efe5;
}
.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.admin-login-card {
    width: min(460px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px;
    box-shadow: var(--shadow);
}
.admin-login-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
}
.admin-login-card h1,
.admin-topbar h1 {
    color: var(--green);
    font-size: clamp(2.3rem, 4vw, 3.8rem);
}
.admin-login-card .btn {
    width: 100%;
}
.admin-alert {
    border-radius: 12px;
    padding: 13px 15px;
    margin: 18px 0;
    font-weight: 700;
}
.admin-alert.error {
    color: #7a1c1c;
    background: #fde2e2;
}
.admin-alert.success {
    color: #155724;
    background: #dff4e5;
}
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px clamp(18px, 4vw, 54px);
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.admin-topbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 34px auto 70px;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}
.admin-stats article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(30, 63, 32, .06);
}
.admin-stats strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--green);
}
.admin-stats span {
    color: var(--earth);
    font-weight: 700;
}
.admin-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.admin-tabs a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: var(--green);
    font-weight: 800;
}
.admin-tabs a.active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.admin-table-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.admin-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}
.admin-table-head h2 {
    font-size: 2.2rem;
}
.admin-table-head span {
    color: var(--earth);
    font-weight: 800;
}
.admin-table-scroll {
    overflow-x: auto;
}
.admin-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}
.admin-table th,
.admin-table td {
    text-align: left;
    vertical-align: top;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: .92rem;
}
.admin-table th {
    background: #fbf8f0;
    color: var(--earth);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .72rem;
}
.admin-table td {
    color: #344137;
}
.admin-table td a {
    color: var(--green);
    font-weight: 700;
}
.admin-table .empty {
    text-align: center;
    color: var(--muted);
    padding: 34px;
}
.admin-gallery-tools {
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background: #fbf8f0;
}
.admin-gallery-form {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.4fr .7fr auto;
    gap: 14px;
    align-items: end;
}
.admin-gallery-form label {
    margin-bottom: 0;
}
.admin-gallery-form .btn {
    min-width: 130px;
}
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 24px;
}
.admin-gallery-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.admin-gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eee;
}
.admin-gallery-card div {
    padding: 16px;
}
.admin-gallery-card strong,
.admin-gallery-card span {
    display: block;
}
.admin-gallery-card strong {
    color: var(--green);
}
.admin-gallery-card span {
    color: var(--earth);
    font-size: .82rem;
    font-weight: 700;
}
.admin-gallery-card p {
    margin: 8px 0 14px;
}
.btn.danger {
    color: #7a1c1c;
    border-color: rgba(122, 28, 28, .25);
}

@media (max-width: 720px) {
    .admin-topbar,
    .admin-table-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .admin-stats {
        grid-template-columns: 1fr;
    }
    .admin-gallery-form,
    .admin-gallery-grid {
        grid-template-columns: 1fr;
    }
    .admin-topbar-actions .btn {
        width: 100%;
    }
    .admin-topbar-actions {
        width: 100%;
    }
}
