/* =========================
   1. DESIGN TOKENS
========================= */
:root {
    --primary: #000000;
    --accent: #FFC800;
    --bg: #ffffff;
    --text: #222222;
    --muted: #666666;
    --border: #eaeaea;

    --radius-sm: 6px;
    --radius-md: 10px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;

    --container: 1100px;
}

/* =========================
   2. RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

/* =========================
   3. LAYOUT
========================= */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--space-4);
}

/* =========================
   4. TYPOGRAPHY
========================= */
h1 {
    font-size: 32px;
    margin-bottom: var(--space-3);
}

h2 {
    font-size: 24px;
    margin-bottom: var(--space-3);
}

h3 {
    font-size: 18px;
    margin-bottom: var(--space-2);
}

p {
    margin-bottom: var(--space-3);
}

/* =========================
   5. HEADER
========================= */
.header {
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
}

.logo {
    max-height: 60px;
}

/* NAV */
.nav a {
    margin-left: var(--space-3);
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

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

.nav .cta {
    background: var(--accent);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #000;
}

/* =========================
   6. HERO
========================= */
.hero {
    text-align: center;
    padding: var(--space-6) var(--space-3);
}

.hero h1 {
    font-size: 36px;
}

.hero-search {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    flex-wrap: wrap;
}

.hero-search input {
    padding: 12px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-width: 240px;
}

.hero-search button {
    padding: 12px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* =========================
   7. BUTTONS (UNIFIED)
========================= */
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-secondary {
    background: var(--accent);
    color: #000;
}

/* =========================
   8. CARDS
========================= */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
}

/* =========================
   9. GRID SYSTEM
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-4);
}

/* =========================
   10. SEARCH RESULT
========================= */
.result-card {
    text-align: center;
    padding: var(--space-4);
}

.result-card.success {
    background: #e9ffe9;
    border-radius: var(--radius-md);
}

/* =========================
   11. PLATE STYLING
========================= */
.plate {
    display: inline-block;
    background: var(--accent);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 28px;
    font-weight: bold;
}

/* =========================
   12. IMAGES
========================= */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   13. CONTACT FORM
========================= */
.contact {
    max-width: 600px;
    margin: var(--space-5) auto;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* =========================
   14. FOOTER
========================= */
.footer {
    text-align: center;
    padding: var(--space-5);
    color: var(--muted);
    font-size: 14px;
}

/* =========================
   15. UTILS
========================= */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }

/* =========================
   16. MOBILE
========================= */
@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        gap: var(--space-3);
    }

    .hero h1 {
        font-size: 28px;
    }

    .plate {
        font-size: 22px;
    }
}