:root {
    --ink: #15181d;
    --muted: #5d6673;
    --line: #dce2e8;
    --paper: #f7f8f5;
    --surface: #ffffff;
    --brand: #0f766e;
    --brand-dark: #0b4f49;
    --accent: #e05b2f;
    --steel: #26313f;
    --gold: #d89b38;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 248, 245, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 20px;
}

.brand {
    display: grid;
    gap: 0;
    font-weight: 800;
    text-decoration: none;
}

.brand span {
    color: var(--brand);
    font-size: 13px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 15px;
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:not(.button):hover {
    color: var(--brand-dark);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(16, 24, 32, .16);
}

.button.secondary {
    background: var(--brand);
}

.button.ghost {
    background: transparent;
    color: var(--brand-dark);
    border: 1px solid var(--line);
}

.hero .button.ghost,
.subhero .button.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
}

.hero {
    min-height: 650px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(15, 24, 34, .94), rgba(15, 24, 34, .72) 48%, rgba(15, 24, 34, .24)),
        url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.subhero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(15, 24, 34, .95), rgba(15, 24, 34, .74)),
        url("https://images.unsplash.com/photo-1632823469613-6f22d6cfc947?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.subhero.compact .section-inner {
    padding-top: 58px;
    padding-bottom: 58px;
}

.subhero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: center;
}

.hero-inner,
.section-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 20px;
}

.hero-copy {
    max-width: 720px;
    padding-top: 36px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #98f0df;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(40px, 6vw, 76px);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
}

h3 {
    font-size: 22px;
}

.lead {
    max-width: 680px;
    color: #e8edf2;
    font-size: 20px;
}

.service-area {
    background: linear-gradient(180deg, #f7f8f5 0%, #eef3f0 100%);
}

.hero-actions,
.form-actions,
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
    margin-top: 42px;
}

.fact {
    min-height: 92px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    border-radius: 8px;
    backdrop-filter: blur(8px);
}

.fact strong {
    display: block;
    font-size: 28px;
}

.band {
    background: var(--surface);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 34px;
}

.section-head p {
    max-width: 520px;
    color: var(--muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.topic-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none;
}

.card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(31, 41, 55, .06);
}

.card p,
.muted {
    color: var(--muted);
}

.link-card a {
    color: inherit;
    text-decoration: none;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.workshop-image {
    width: 100%;
    min-height: 420px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 20px 46px rgba(31, 41, 55, .14);
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    padding-left: 30px;
    position: relative;
}

.check-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 900;
}

.price-card strong {
    display: block;
    margin: 14px 0 8px;
    color: var(--accent);
    font-size: 32px;
}

.price-note {
    max-width: 850px;
    margin: 24px 0 0;
    color: var(--muted);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.step {
    position: relative;
    min-height: 210px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #f8faf9 100%);
}

.step::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: var(--gold);
}

.step p,
.faq-list p {
    color: var(--muted);
}

.focus-box {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
}

.focus-box div {
    padding: 14px 16px;
    border-left: 4px solid var(--gold);
    background: rgba(255, 255, 255, .1);
    font-weight: 800;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.content-grid article,
.legal-content article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.content-grid p,
.legal-content p {
    color: var(--muted);
}

.faq-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 44px;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(31, 41, 55, .05);
}

summary {
    min-height: 58px;
    padding: 17px 20px;
    cursor: pointer;
    font-weight: 800;
}

details p {
    margin: 0;
    padding: 0 20px 20px;
}

.contact-band {
    background: var(--steel);
    color: #fff;
}

.contact-strip {
    background: var(--steel);
    color: #fff;
}

.strip-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.contact-wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 32px;
}

.contact-details {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.detail {
    padding: 18px;
    border-left: 4px solid var(--accent);
    background: rgba(255, 255, 255, .08);
}

.form-panel,
.admin-panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 800;
    font-size: 14px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd3dc;
    border-radius: 6px;
    font: inherit;
}

textarea {
    min-height: 132px;
    resize: vertical;
}

.error {
    color: #b42318;
    font-size: 14px;
}

.success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 6px;
    background: #dcfce7;
    color: #14532d;
    font-weight: 700;
}

.site-footer {
    background: #101820;
    color: #dce6ed;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.legal-content {
    display: grid;
    gap: 18px;
    max-width: 900px;
}

.mobile-cta {
    display: none;
}

.admin-body {
    background: #eef2f4;
}

.admin-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 20px;
}

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

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 24px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 6px;
    color: var(--muted);
    font-weight: 800;
    text-decoration: none;
}

.admin-nav a.active,
.admin-nav a:hover {
    background: var(--brand);
    color: #fff;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.button.danger {
    color: #b42318;
    border-color: #f4b8b1;
}

.error-box {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 6px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 700;
}

.user-form-panel {
    max-width: 820px;
}

.checkbox-field {
    align-content: end;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(31, 41, 55, .05);
}

.stat-card span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 36px;
    line-height: 1;
}

.stat-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.stats-columns {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    align-items: start;
}

.daily-list {
    display: grid;
    gap: 8px;
}

.daily-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.daily-row small {
    color: var(--muted);
}

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.table-wrap.flat {
    border: 0;
    border-radius: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: #f6f8fa;
    font-size: 13px;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 800;
}

.login-box {
    max-width: 430px;
    margin: 80px auto;
}

.activity-panel {
    margin-top: 24px;
}

.activity-item {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.activity-item:first-of-type {
    border-top: 0;
}

.activity-item p {
    margin: 8px 0 0;
}

@media (max-width: 820px) {
    .nav,
    .nav-links,
    .section-head,
    .contact-wrap,
    .split,
    .faq-layout,
    .subhero-grid,
    .content-grid,
    .strip-inner,
    .stats-grid,
    .stats-columns,
    .admin-topbar {
        display: grid;
    }

    .grid,
    .steps,
    .hero-facts,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner,
    .section-inner {
        padding: 48px 18px;
    }

    .nav {
        gap: 14px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a:not(.button) {
        font-size: 14px;
    }

    .nav-links .button {
        display: none;
    }

    .workshop-image {
        min-height: 300px;
    }

    .mobile-cta {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        z-index: 30;
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 14px 34px rgba(16, 24, 32, .28);
    }

    .mobile-cta a {
        min-height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--accent);
        color: #fff;
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-cta a:first-child {
        background: var(--brand);
    }

    .site-footer {
        padding-bottom: 74px;
    }
}
