:root {
    --bg: #f5f3ec;
    --paper: #fffdf8;
    --ink: #263a31;
    --ink-soft: #46594e;
    --muted: #6b786f;
    --faint: #8f9a91;
    --brand: #FE0002;
    --brand-deep: #B80002;
    --brand-bright: #FF3A3B;
    --brand-soft: #FFE5E5;
    --accent: #FF6B6C;
    --accent-soft: #FFE5E5;
    --coral: #E00002;
    --line: #e2ded3;
    --ring: rgb(254 0 2 / 16%);
    --grad-brand: linear-gradient(125deg, #B80002, #FE0002);
    --grad-accent: linear-gradient(125deg, #E00002, #FF6B6C);
    --shadow-sm: 0 2px 8px rgb(38 58 49 / 5%);
    --shadow-md: 0 12px 28px rgb(38 58 49 / 8%);
    --shadow-lg: 0 22px 48px rgb(38 58 49 / 12%);
    --radius-sm: 8px;
    --radius: 13px;
    --radius-lg: 20px;
}

html {
    scroll-padding-top: 98px;
}

body:not(.admin-body):not(.auth-body) {
    background:
        radial-gradient(ellipse at 12% 8%, rgb(232 225 207 / 22%), transparent 30rem),
        var(--bg);
    color: var(--ink);
}

body:not(.admin-body):not(.auth-body) ::selection {
    background: #d8e3d7;
    color: var(--brand-deep);
}

body:not(.admin-body):not(.auth-body) :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.content-section {
    margin-block: clamp(48px, 6vw, 76px);
}

.seo-intro {
    max-width: 900px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2,
.drawer-head h2,
.modal-card h2 {
    color: var(--brand-deep);
}

.eyebrow,
.eyebrow.teal {
    color: var(--accent);
    letter-spacing: 1.6px;
}

.eyebrow::after {
    width: 18px;
    height: 1px;
}

@media (max-width: 560px) {
    .section-heading,
    .amc-section-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .section-heading > div,
    .amc-section-heading > div {
        min-width: 0;
        max-width: 100%;
    }

    .section-heading h2,
    .amc-section-heading h2 {
        font-size: clamp(1.05rem, 5vw, 1.45rem);
        line-height: 1.2;
        letter-spacing: -0.35px;
        overflow-wrap: anywhere;
    }

    .section-heading .eyebrow,
    .amc-section-heading .eyebrow {
        font-size: clamp(8px, 2.5vw, 10px);
        letter-spacing: clamp(0.8px, 0.4vw, 1.4px);
    }
}

.category-card {
    border-color: transparent;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.category-card::before {
    background: linear-gradient(145deg, #edf1e8, transparent 72%);
}

.category-card::after {
    height: 2px;
    background: var(--accent);
}

.category-card:hover,
.category-card.active {
    transform: translateY(-2px);
    border-color: #a9b9a8;
    box-shadow: var(--shadow-md);
}

.category-icon,
.category-card:hover .category-icon {
    border-radius: 14px;
    transform: none;
}

.wash,
.coral,
.blue,
.yellow,
.mint,
.violet {
    background: #e8eee6;
    color: var(--brand);
}

.offer-section {
    min-height: 0;
    border: 1px solid #e4d8c4;
    border-radius: 16px;
    background: #eee8da;
    box-shadow: none;
    color: var(--ink);
}

.offer-section::before,
.offer-section::after {
    display: none;
    animation: none;
}

.offer-chip {
    color: var(--brand);
}

.offer-chip::before {
    color: var(--accent);
}

.offer-content p {
    color: var(--ink-soft);
}

.offer-content button {
    border-radius: 9px;
    background: var(--brand);
    color: #fffdf8;
    box-shadow: none;
}

.offer-content button::after,
.offer-code i {
    display: none;
}

.offer-code {
    width: 228px;
    height: 104px;
    border: 1px dashed rgb(38 58 49 / 32%);
    border-radius: 12px;
    background: #f8f3e8;
    box-shadow: 5px 5px 0 rgb(38 58 49 / 8%);
    transform: rotate(-2deg);
}

.offer-code span,
.offer-code small {
    color: var(--brand-deep);
}

.service-card,
.amc-card,
.blog-card {
    border-color: var(--line);
    border-radius: 13px;
    background: var(--paper);
    box-shadow: 0 4px 14px rgb(38 58 49 / 5%);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card::after {
    display: none;
}

.service-card:hover,
.amc-card:hover,
.blog-card:hover {
    transform: translateY(-3px);
    border-color: #bdc8b9;
    box-shadow: var(--shadow-md);
}

.service-card:hover .card-media img,
.detail-media:hover img {
    transform: scale(1.035);
}

.hero-slide {
    background: var(--slide-img, var(--brand-soft));
}

.card-chip,
.amc-card-chip {
    border: 1px solid rgb(38 58 49 / 8%);
    border-radius: 7px;
    color: var(--brand-deep);
    box-shadow: none;
}

.price-line strong,
.amc-price-line strong {
    color: var(--brand);
}

.page-hero {
    border-radius: 16px;
    background: var(--brand-deep);
    box-shadow: none;
}

.page-hero::before,
.page-hero::after {
    display: none;
    animation: none;
}

.page-hero .big-link {
    border-radius: 9px;
    background: var(--accent);
    color: #fffdf8;
    box-shadow: none;
}

.stats-bar {
    border-color: var(--line);
}

.stat-item strong {
    background: none;
    color: var(--brand);
    -webkit-text-fill-color: currentColor;
}

.stat-suffix {
    color: var(--accent);
}

.text-button,
.account-panel-link {
    color: var(--brand);
}

.text-button:hover,
.detect-btn {
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.cart-drawer,
.modal-card,
.nav-drawer {
    background: var(--paper);
}

.drawer-head button:hover,
.modal-close:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

.checkout-button {
    background: var(--brand);
    box-shadow: none;
}

.modal-icon,
.empty-cart>span {
    background: var(--brand-soft);
    color: var(--brand);
    box-shadow: none;
    animation: none;
}

.site-header .location-button:hover,
.site-header .header-link:hover {
    color: var(--brand);
}

.qs-footer {
    background: #263f35 !important;
    color: #eee9dd;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
}

.qs-footer::before {
    height: 2px;
    background: var(--accent);
}

.qs-footer .qs-tagline,
.qs-footer .qs-footer-column h3 {
    color: #f4eee2;
}

.qs-footer .qs-footer-column a:hover,
.qs-footer .qs-bottom-links a:hover {
    color: #e5b48c;
}

.my-amc-page {
    color: var(--ink);
}

body .my-amc-page .account-hero {
    border: 1px solid rgb(255 255 255 / 12%);
    background: var(--brand-deep);
    box-shadow: none;
}

body .my-amc-page .account-hero .eyebrow,
body .my-amc-page .account-hero p {
    color: #e8e5d8;
}

.my-amc-page .account-panel,
.my-amc-page .amc-subscription-card {
    border-color: var(--line);
    background: var(--paper);
    box-shadow: 0 4px 16px rgb(38 58 49 / 5%);
}

body .my-amc-page .cta-button,
body .my-amc-page .amc-log-call,
body .my-amc-page .account-empty .cta-button {
    border-radius: 9px;
    background: var(--accent);
    color: #fffdf8;
}

.my-amc-page .ghost-button {
    border-radius: 9px;
}

.my-amc-page .account-badge.green {
    background: #e5eee4;
     color: #FE0002;
}

.my-amc-page .account-badge.amber {
    background: #f3ead8;
    color: #846637;
}

.my-amc-page .account-badge.blue {
    background: #e7edf0;
    color: #4e6976;
}

.my-amc-page .account-badge.red {
    background: #f2e3dc;
    color: #995642;
}

.account-hero {
    background: var(--brand-deep);
}

.account-panel,
.account-grid .account-panel {
    border-color: var(--line);
    border-radius: 13px;
    background: var(--paper);
    box-shadow: 0 4px 16px rgb(38 58 49 / 5%);
}

.account-avatar,
.account-submit {
    background: var(--brand);
}

.account-submit:hover {
    box-shadow: 0 8px 18px rgb(38 58 49 / 14%);
}

body.auth-body {
    background: #f5f3ec;
    color: var(--ink);
    --auth-bg: #f5f3ec;
    --auth-ink: #263a31;
    --auth-ink-soft: #53645a;
    --auth-faint: #86948a;
     --auth-brand: #FE0002;
     --auth-brand-deep: #B80002;
     --auth-brand-bright: #FF3A3B;
     --auth-soft: #FFE5E5;
     --auth-accent: #FF6B6C;
    --auth-line: #e2ded3;
     --auth-ring: rgb(254 0 2 / 16%);
}

.auth-panel {
    background-color: var(--brand-deep);
}

.auth-panel::after {
    background: linear-gradient(90deg, rgb(35 63 52 / 36%), transparent 75%);
}

.auth-mark,
.auth-submit {
    background: var(--brand);
    box-shadow: 0 8px 18px rgb(35 63 52 / 16%);
}

.auth-submit:hover {
    box-shadow: 0 10px 20px rgb(35 63 52 / 22%);
}

@media (max-width: 850px) {
    .content-section,
    .stats-bar {
        width: auto;
        margin-inline: 20px;
    }

    .offer-section {
        padding: 32px;
    }
}

@media (max-width: 560px) {
    .content-section {
        margin-inline: 14px;
    }

    .offer-section {
        padding: 26px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .announce-track,
    .hero-disc::after,
    .hero-slide .hero-pill,
    .offer-code,
    .category-icon,
    .service-card,
    .amc-card,
    .blog-card {
        animation: none !important;
        transition: none !important;
    }
}

body.admin-body {
    --admin-bg: #f2f2ec;
    --admin-paper: #fffefa;
    --admin-ink: #263a31;
    --admin-muted: #6b786f;
     --admin-brand: #FE0002;
     --admin-brand-deep: #B80002;
     --admin-brand-bright: #FF3A3B;
     --admin-brand-soft: #FFE5E5;
     --admin-accent: #FF6B6C;
     --admin-coral: #E00002;
    --admin-line: #e2ded3;
     --admin-ring: rgb(254 0 2 / 16%);
    --admin-radius: 12px;
    --admin-shadow: 0 4px 16px rgb(38 58 49 / 5%);
    background:
        radial-gradient(ellipse at 100% 0, rgb(226 222 211 / 24%), transparent 34rem),
        var(--admin-bg);
    color: var(--admin-ink);
}

.admin-sidebar {
    background: #263f35;
    color: #eee9dd;
}

.admin-brand .mark {
    border-radius: 8px;
    background: var(--admin-accent);
    color: #fffdf8;
}

.admin-nav-title {
    color: #d3b595;
}

.admin-nav a {
    border-radius: 7px;
    color: #e0e5dc;
}

.admin-nav a.active {
    background: #405d4d;
    box-shadow: inset 3px 0 #d18a61;
}

.admin-nav a:hover {
    background: rgb(255 255 255 / 8%);
}

.admin-topbar {
    background: rgb(255 254 250 / 94%);
    border-bottom-color: var(--admin-line);
    box-shadow: 0 2px 8px rgb(38 58 49 / 3%);
    backdrop-filter: blur(10px);
}

.admin-content {
    max-width: 1720px;
    margin-inline: auto;
}

.admin-card,
.admin-stat,
.admin-profile-card {
    border-color: var(--admin-line);
    border-radius: var(--admin-radius);
    background: var(--admin-paper);
    box-shadow: var(--admin-shadow);
}

.admin-card .card-head {
    border-bottom-color: var(--admin-line);
}

.admin-card .card-head h2 {
    color: var(--admin-brand-deep);
}

.admin-stat.accent {
     background: #FE0002;
}

.admin-stat.warn {
    background: #f3ead8;
}

.table thead th {
    border-bottom-color: var(--admin-line);
    color: var(--admin-muted);
}

.table tbody tr:nth-child(even) {
    background: #fbfaf5;
}

.table tbody tr:hover {
    background: #f0f3ed;
}

.table tbody td {
    border-bottom-color: #eeece4;
}

.btn {
    border-radius: 8px;
    box-shadow: none;
}

.btn.brand,
.admin-submit,
.pagination .current {
    background: var(--admin-brand);
}

.btn.brand:hover {
    background: var(--admin-brand-deep);
}

.btn.soft,
.btn.ghost:hover,
.row-actions a:hover,
.row-actions button:hover {
    background: var(--admin-brand-soft);
    color: var(--admin-brand-deep);
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    border-color: #d9d9cf;
    border-radius: 8px;
    background: #fffefa;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    border-color: var(--admin-brand);
    box-shadow: 0 0 0 3px var(--admin-ring);
}

.admin-alert.notice {
    background: #e5eee4;
     color: #FE0002;
}

.admin-alert.error {
    background: #f2e3dc;
    color: #995642;
}

.admin-auth-panel,
.login-wrap {
    background:
        radial-gradient(ellipse at 12% 8%, rgb(212 161 111 / 14%), transparent 24rem),
        #263f35;
}

.admin-auth-shell {
    background: var(--admin-bg);
}

.admin-auth-brand .mark,
.admin-auth-mark {
    background: var(--admin-accent);
    color: #fffdf8;
    box-shadow: none;
}

@media (max-width: 720px) {
    .admin-content {
        padding: 20px 16px 44px;
    }

    .admin-topbar {
        padding-inline: 16px;
    }

    .admin-auth-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-auth-panel {
        min-height: 0;
        padding: 24px;
    }

    .admin-auth-copy {
        margin: 28px 0 22px;
    }

    .admin-auth-copy h1 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .admin-auth-points {
        margin-bottom: 0;
    }

    .admin-auth-stats {
        display: none;
    }

    .admin-auth-main {
        min-height: 420px;
        padding: 32px 22px 56px;
    }
}
.geo-capture-status {
    margin: 7px 0 0;
    color: var(--muted, #74645d);
    font-size: .82rem;
    line-height: 1.45;
}

.geo-capture-button {
    border: 1px solid var(--line, #e6d8cc);
    border-radius: 9px;
    padding: 9px 13px;
    background: var(--paper, #fffaf5);
     color: var(--brand, #FE0002);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
}

.geo-capture-button:disabled {
    cursor: wait;
    opacity: .65;
}

.amc-visit-media {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.amc-visit-media h2,
.amc-evidence-video h3 {
    margin: 0;
    color: var(--ink);
}

.amc-visit-media p,
.amc-visit-media small {
    margin: 0;
    color: var(--muted);
}

.amc-visit-media-grid,
.amc-evidence-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.amc-visit-media-grid > div {
    display: grid;
    align-content: start;
    gap: 8px;
}

.amc-upload-error {
    color: #a12f2f !important;
}

.amc-evidence-video video {
    display: block;
    width: 100%;
    max-height: 520px;
    margin-top: 10px;
    border-radius: var(--radius);
    background: #111;
}

.amc-evidence-images {
    margin-top: 18px;
}

.amc-evidence-images a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.amc-evidence-images img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    margin-bottom: 7px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

@media (max-width: 640px) {
    .amc-visit-media-grid,
    .amc-evidence-images {
        grid-template-columns: minmax(0, 1fr);
    }
}

.accounting-page {
    display: grid;
    gap: 18px;
}

.accounting-heading,
.accounting-entries-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.accounting-period .card-body {
    display: grid;
    gap: 12px;
}

.accounting-period-shortcuts,
.accounting-date-filter,
.accounting-ledger-filter {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.accounting-date-filter .admin-field {
    min-width: 165px;
}

.accounting-period-caption {
    margin: 0;
}

.accounting-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.accounting-metric {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.accounting-metric > span,
.accounting-metric small {
    color: var(--muted);
}

.accounting-metric strong {
    color: var(--brand-deep);
    font-size: 1.45rem;
}

.accounting-metric.negative strong {
    color: #a12f2f;
}

.accounting-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.accounting-report-grid h3 {
    margin: 0 0 10px;
}

.accounting-total-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.accounting-total-row:last-child {
    border-bottom: 0;
}

.accounting-grand-total {
    margin-top: 5px;
    border-top: 2px solid var(--line);
    color: var(--brand-deep);
    font-weight: 800;
}

.accounting-table-wrap {
    overflow-x: auto;
}

.accounting-table-wrap .table {
    min-width: 730px;
}

.accounting-table-wrap tfoot th {
    padding: 12px 10px;
    border-top: 2px solid var(--line);
    text-align: right;
}

.accounting-table-wrap tfoot th:first-child {
    text-align: left;
}

.accounting-warning {
    margin: 12px 0 0;
    font-weight: 700;
}

.accounting-ledger-filter select {
    min-width: 230px;
}

.accounting-chart-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 16px;
}

.accounting-chart-list span {
    color: var(--ink);
    font-size: .9rem;
}

.accounting-chart-list small {
    display: block;
    color: var(--muted);
}

.accounting-account-form {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.accounting-account-form h3 {
    flex-basis: 100%;
    margin: 0;
}

.accounting-account-form .admin-field {
    min-width: 160px;
}

.accounting-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.accounting-form-wide {
    grid-column: 1 / -1;
}

.accounting-entry-panel {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.accounting-entry-panel[hidden] {
    display: none;
}

.accounting-entry-form .form-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

@media (max-width: 900px) {
    .accounting-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .accounting-chart-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .accounting-metric-grid,
    .accounting-report-grid,
    .accounting-form-grid,
    .accounting-chart-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .accounting-form-wide {
        grid-column: auto;
    }

    .accounting-entry-form .form-actions {
        flex-direction: column;
    }
}
