/* ==========================================================
   BASE.CSS
   JDavila Tax Services
   IRS 1040–inspired design system
   ========================================================== */

/* -------------------------
   Design Tokens
-------------------------- */
:root {
    /* IRS-style green ink system */
        --ink: #1f2d27;
        /* main text (green-black) */
        --ink-soft: #3a4a42;
        /* secondary text */
        --muted: rgba(31, 45, 39, .65);
        /* labels */
    
        --paper: #e9eee8;
        /* off-white paper */
        --field: #f8faf7;
        /* form fields/cards */
    
        --rule: #2f4f3e;
        /* borders & lines (green-gray) */
    
        /* Accent (very restrained) */
        --accent: #2f6f55;
        /* official green */
        --accent-contrast: #ffffff;

    /* Spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;

    /* Typography */
    --font-base: Arial, Helvetica, sans-serif;
}

/* -------------------------
   Reset / Base
-------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #dde3dc;/* desk/background */
    color: var(--ink);
    font-family: var(--font-base);
    line-height: 1.35;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

/* -------------------------
   Layout Utilities
-------------------------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

main {
    padding-top: var(--space-5);
    padding-bottom: var(--space-6);
    background: var(--paper);
}

/* Section separators like IRS forms */
section+section {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 2px solid var(--rule);
}

/* Screen-reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -------------------------
   Headings (Form-like)
-------------------------- */
h1,
h2,
h3 {
    margin: 0 0 var(--space-3);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

h1 {
    font-size: 22px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 15px;
}

/* Section label (like form line titles) */
.section-label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--space-2);
}

/* -------------------------
   Cards / Form Blocks
-------------------------- */
.card {
    background: var(--field);
    border: 1px solid var(--rule);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    box-shadow: inset 0 0 0 1px rgba(47, 79, 62, .08);
}

.card.tight {
    padding: var(--space-3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--rule);
}

.card-header,
.header-subline,
.footer-row {
    background: #f3f7f4;
}

.card-title {
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* -------------------------
   Rows / Fields (1040 style)
-------------------------- */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--rule);
}

.form-row:last-child {
    border-bottom: none;
}

.form-label {
    flex: 0 0 180px;
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--muted);
}

.form-value {
    font-weight: 800;
    font-size: 14px;
}

/* -------------------------
   Buttons
-------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 10px 14px;
    border: 1px solid var(--rule);
    background: var(--field);
    color: var(--ink);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: #fff;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-contrast);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #111827;
}

.btn-outline {
    background: #255a44;
}

.btn-block {
    width: 100%;
}

/* -------------------------
   Badges / Chips
-------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid var(--rule);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    background: var(--field);
}

/* -------------------------
   Lists (Services / Checklist)
-------------------------- */
.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--rule);
    font-weight: 800;
}

.checklist li:last-child {
    border-bottom: none;
}

.checkmark {
    flex: 0 0 14px;
    height: 14px;
    border: 1px solid var(--rule);
    margin-top: 2px;
}

/* -------------------------
   Notices / Callouts
-------------------------- */
.notice {
    border: 2px solid var(--rule);
    padding: var(--space-4);
    background: var(--field);
}

.notice strong {
    display: block;
    margin-bottom: var(--space-2);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* -------------------------
   Breadcrumbs (if used)
-------------------------- */
.breadcrumbs {
    background: var(--field);
    border-bottom: 1px solid var(--rule);
}

.breadcrumbs a {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* -------------------------
   Responsive
-------------------------- */
@media (max-width: 720px) {
    .form-label {
        flex: 1 1 100%;
    }
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-micro {
    margin-top: 10px;
    font-size: 12px;
    opacity: .85;
    line-height: 1.35;
}

.form-micro a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-micro .dot {
    display: inline-block;
    margin: 0 6px;
    opacity: .6;
}

.print-toolbar {
    display: flex;
    gap: 10px;
    margin: 14px 0;
}

@media print {

    .site-header,
    .site-footer,
    .print-toolbar {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .card {
        border: none !important;
        box-shadow: none !important;
    }
}

.admin-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .55);
}

.admin-badge {
    font-weight: 900;
    letter-spacing: .12em;
    font-size: .78rem;
    opacity: .75;
}

.btn-sm {
    padding: 8px 12px;
    font-size: .9rem;
}

.micro-note{
    margin-top: 10px;
    font-size: .92rem;
    opacity: .75;
    line-height: 1.45;
}

.home-reviews__actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.thankyou-review__micro {
    font-size: 0.85rem;
    opacity: 0.6;
}
