:root {
    --primary: #ff9933;
    --primary-600: #f2850f;
    --primary-700: #cc6f0c;
    --primary-dark: #7a3d06;
    --primary-darker: #522901;
    --white: #ffffff;
    --white-soft: #fffaf5;
    --white-warm: #fff3e4;
    --white-tint: #ffe3c2;
    --ink: #522901;
    --ink-soft: #8a5522;
    --border: #ffdcab;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(122, 61, 6, 0.08);
    --shadow-md: 0 8px 24px rgba(122, 61, 6, 0.12);
    --shadow-lg: 0 20px 48px rgba(122, 61, 6, 0.18);
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Top bar ---- */
.topbar {
    background: var(--primary-darker);
    color: var(--white-warm);
    font-size: 13px;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar a {
    color: var(--white-warm);
}

.topbar a:hover {
    color: var(--white);
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---- Nav ---- */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 600;
    font-size: 15px;
}

.nav-links a {
    color: var(--ink-soft);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-700);
    border-color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: var(--white);
    border-color: var(--border);
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-700);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ink);
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
        box-shadow: var(--shadow-md);
    }
}

/* ---- Hero ---- */
.hero {
    background: linear-gradient(180deg, var(--white-warm) 0%, var(--white) 100%);
    padding: 72px 0 64px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white-warm);
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 20px;
    border: 1px solid var(--white-tint);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 20px;
    max-width: 760px;
    color: var(--ink);
}

.hero .lead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 0 32px;
}

.hero .lead p {
    margin: 0 0 12px;
}

.hero .lead p:last-child {
    margin-bottom: 0;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
    max-width: 640px;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-700);
}

.stat-label {
    font-size: 13px;
    color: var(--ink-soft);
}

/* ---- Sections ---- */
section {
    padding: 72px 0;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head.left {
    margin: 0 0 40px;
    text-align: left;
}

.eyebrow {
    color: var(--primary-700);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-head h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--ink);
}

.section-head p {
    color: var(--ink-soft);
    font-size: 16px;
}

.section-alt {
    background: var(--white-warm);
}

/* ---- Grid / cards ---- */
.grid {
    display: grid;
    gap: 24px;
}

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

@media (max-width: 900px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--white-warm);
    border: 1px solid var(--white-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
}

.card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin: 0;
}

.region-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--white-warm);
    color: var(--primary-700);
    margin-bottom: 12px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-700);
}

/* ---- Trust / security strip ---- */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 860px) {
    .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.trust-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.trust-item h4 {
    font-size: 15px;
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--ink);
}

.trust-item p {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin: 0;
}

/* ---- FAQ ---- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
}

.faq-item p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin: 0;
}

/* ---- CTA band ---- */
.cta-band {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 56px;
    color: var(--white);
    text-align: center;
}

.cta-band h2 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 12px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 28px;
    font-size: 16px;
}

.cta-band .btn-primary {
    background: var(--white);
    color: var(--primary-dark);
}

.cta-band .btn-primary:hover {
    background: var(--white-warm);
}

/* ---- Breadcrumb / page header ---- */
.page-header {
    background: var(--white-warm);
    border-bottom: 1px solid var(--border);
    padding: 48px 0;
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--ink);
}

.page-header p {
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 640px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.breadcrumb a:hover {
    color: var(--primary-700);
}

/* ---- Forms ---- */
.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--ink);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    background: var(--white);
    color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.18);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
}

.alert-success {
    background: var(--white-warm);
    color: var(--primary-dark);
    border: 1px solid var(--primary);
}

.alert-error {
    background: #fdeeea;
    color: #b3290c;
    border: 1px solid #f3b79f;
}

/* ---- Blog ---- */
.post-card img,
.post-cover {
    border-radius: var(--radius-md);
    object-fit: cover;
    width: 100%;
    height: 180px;
    background: var(--white-warm);
}

.post-meta {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 10px 0 6px;
}

.post-body {
    font-size: 16px;
    color: var(--ink);
    max-width: 720px;
}

.post-body p { margin: 0 0 18px; }

/* ---- Footer ---- */
footer.site-footer {
    background: var(--primary-darker);
    color: var(--white-warm);
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-grid h4 {
    color: var(--white);
    font-size: 14px;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--white-tint);
}

/* ---- Admin ---- */
.admin-body {
    background: var(--white-warm);
    min-height: 100vh;
}

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

.admin-sidebar {
    width: 240px;
    background: var(--primary-darker);
    color: var(--white-warm);
    padding: 24px 16px;
    flex-shrink: 0;
}

.admin-sidebar .brand {
    color: var(--white);
    padding: 0 8px 20px;
    font-size: 16px;
}

.admin-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white-warm);
    margin-bottom: 2px;
}

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

.admin-main {
    flex: 1;
    padding: 32px 40px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.admin-topbar h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    color: var(--ink);
}

.table-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table.data-table th,
table.data-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}

table.data-table th {
    background: var(--white-warm);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-700);
}

table.data-table tr:last-child td {
    border-bottom: none;
}

.pill {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
}

.pill-green { background: var(--primary); color: var(--white); }
.pill-gray { background: var(--white-warm); color: var(--primary-700); border: 1px solid var(--white-tint); }

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
    padding: 24px;
}

.login-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}
