:root {
    --bg: #0b1016;
    --surface: #131b25;
    --surface-soft: #182330;
    --line: #2b3948;
    --text: #f5f7fa;
    --muted: #aab7c4;
    --yellow: #f7c600;
    --yellow-light: #ffdb45;
    --green: #76d99b;
    --red: #ff8b8b;
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 16, 22, .93);
    border-bottom: 1px solid rgba(43, 57, 72, .75);
    backdrop-filter: blur(14px);
}

.nav {
    width: min(calc(100% - 40px), var(--max-width));
    min-height: 74px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -.03em;
}

.brand-mark {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: var(--yellow);
    color: #0b1016;
    font-size: 1rem;
}

.brand span { color: var(--yellow); }

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

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--yellow); }

.nav-phone {
    color: var(--text) !important;
    font-weight: 750;
}

.button, button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--yellow);
    color: #101216;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease;
}

.button:hover, button:hover { transform: translateY(-1px); background: var(--yellow-light); }
.button-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button-secondary:hover { background: var(--surface-soft); color: var(--yellow); }
.button-small { min-height: 37px; padding: 7px 12px; font-size: .88rem; }

.page-shell { width: min(calc(100% - 40px), var(--max-width)); margin: auto; }
.section { padding: 88px 0; }
.section-soft { background: #0e151e; border-block: 1px solid var(--line); }
.eyebrow { margin: 0 0 14px; color: var(--yellow); font-size: .78rem; font-weight: 850; letter-spacing: .13em; }
.section-heading { max-width: 660px; margin: 0 0 38px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.muted { color: var(--muted); }

.hero { padding: 62px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: 52px; }
.hero h1 { max-width: 630px; margin: 0; font-size: clamp(3.15rem, 6.6vw, 5.8rem); line-height: .97; letter-spacing: -.065em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-copy { max-width: 570px; margin: 24px 0 30px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 31px; color: #d3dce4; font-size: .92rem; }
.hero-points span::before { content: "✓"; margin-right: 7px; color: var(--yellow); font-weight: 900; }
.hero-image-wrap { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.hero-image-wrap::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(11,16,22,.18), transparent 40%); pointer-events: none; }
.hero-image { display: block; width: 100%; aspect-ratio: 1.2 / 1; object-fit: cover; object-position: center; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card, .booking-aside, .admin-card, .login-card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.service-card { padding: 24px; }
.service-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 18px; border-radius: 10px; background: rgba(247, 198, 0, .12); color: var(--yellow); font-size: 1.25rem; }
.service-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 24px; border-top: 2px solid var(--yellow); background: var(--surface); }
.step-number { color: var(--yellow); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.step h3 { margin: 11px 0 7px; }
.step p { margin: 0; color: var(--muted); }

.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px; border-radius: 17px; background: var(--yellow); color: #0b1016; }
.contact-panel h2 { max-width: 620px; margin: 0; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.08; letter-spacing: -.045em; }
.contact-panel .button { background: #101216; color: white; white-space: nowrap; }
.contact-panel .button:hover { background: #2b3137; }

.page-intro { padding: 54px 0 28px; }
.page-intro h1 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.15rem); line-height: 1.03; letter-spacing: -.055em; }
.page-intro p { max-width: 690px; margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 24px; padding: 18px 0 82px; }
.booking-card { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.form-heading { margin: 2px 0 20px; color: var(--yellow); font-size: .78rem; font-weight: 900; letter-spacing: .13em; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; color: #e4e9ee; font-size: .91rem; font-weight: 650; }
input, textarea, select { width: 100%; border: 1px solid #3a4b5c; border-radius: 9px; background: #0d141d; color: var(--text); font: inherit; }
input, select { min-height: 45px; padding: 10px 12px; }
textarea { min-height: 112px; padding: 12px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(247,198,0,.45); border-color: var(--yellow); }
.form-divider { height: 1px; margin: 29px 0; background: var(--line); }
.form-help { margin: 10px 0 0; color: var(--muted); font-size: .86rem; }
.success, .error { margin-bottom: 22px; padding: 14px 16px; border-radius: 10px; }
.success { border: 1px solid rgba(118,217,155,.4); background: rgba(118,217,155,.12); color: #c1f1d3; }
.error { border: 1px solid rgba(255,139,139,.35); background: rgba(255,139,139,.1); color: #ffc6c6; }
.booking-aside { align-self: start; padding: 26px; }
.booking-aside h2 { margin: 0 0 9px; font-size: 1.35rem; }
.booking-aside p { margin: 0; color: var(--muted); }
.check-list { display: grid; gap: 13px; margin: 23px 0; padding: 0; list-style: none; }
.check-list li::before { content: "✓"; display: inline-block; width: 24px; color: var(--yellow); font-weight: 900; }
.aside-call { padding-top: 20px; border-top: 1px solid var(--line); }
.aside-call strong { display: block; margin-bottom: 4px; color: var(--yellow); }

.admin-page { padding: 38px 0 76px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; }
.admin-top h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.045em; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.stat strong { display: block; margin-top: 5px; color: var(--yellow); font-size: 2rem; line-height: 1; }
.stat span { color: var(--muted); font-size: .85rem; }
.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.table-title { margin: 0; padding: 22px 24px 16px; font-size: 1.2rem; }
.table-wrapper { overflow-x: auto; }
table { width: 100%; min-width: 950px; border-collapse: collapse; }
th, td { padding: 14px 17px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .91rem; }
th { color: #bfcbd5; background: #111923; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
td { color: #e5ebf0; }
.status { display: inline-flex; padding: 3px 9px; border-radius: 999px; background: rgba(247,198,0,.13); color: #ffe37b; font-size: .8rem; font-weight: 800; }
.status-Accepted, .status-Completed { background: rgba(118,217,155,.13); color: #a5efbf; }
.status-Declined { background: rgba(255,139,139,.12); color: #ffc0c0; }
.status-form { display: flex; align-items: center; gap: 7px; }
.status-form select { min-width: 112px; min-height: 36px; padding: 5px 8px; font-size: .84rem; }
.status-form button { min-height: 36px; padding: 6px 11px; font-size: .84rem; }
.login-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.login-card { width: min(100%, 450px); padding: 34px; }
.login-card h1 { margin: 0 0 8px; color: var(--yellow); font-size: 2rem; }
.login-card p { margin: 0 0 26px; color: var(--muted); }
.login-card button { width: 100%; margin-top: 18px; }
.login-back { display: inline-block; margin-top: 22px; color: var(--muted); font-size: .9rem; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; width: min(calc(100% - 40px), var(--max-width)); margin: auto; padding: 24px 0; font-size: .9rem; }
.footer-inner a { color: var(--yellow); text-decoration: none; }

@media (max-width: 900px) {
    .nav-links a:not(.button) { display: none; }
    .hero-grid, .booking-layout { grid-template-columns: 1fr; }
    .hero { padding-top: 42px; }
    .hero-image-wrap { max-width: 720px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 590px) {
    .nav { width: min(calc(100% - 28px), var(--max-width)); min-height: 64px; gap: 12px; }
    .brand-mark { width: 29px; height: 29px; }
    .brand { font-size: 1.08rem; }
    .page-shell { width: min(calc(100% - 28px), var(--max-width)); }
    .nav-links { gap: 8px; }
    .nav-links .button { min-height: 38px; padding: 8px 11px; font-size: .84rem; }
    .hero h1 { font-size: clamp(2.85rem, 15vw, 4rem); }
    .section { padding: 62px 0; }
    .service-grid, .steps, .field-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .booking-card { padding: 23px 18px; }
    .contact-panel { align-items: flex-start; flex-direction: column; padding: 26px; }
    .admin-top { align-items: flex-start; flex-direction: column; }
    .admin-actions { width: 100%; }
    .admin-actions .button { flex: 1; }
    .footer-inner { align-items: flex-start; flex-direction: column; width: min(calc(100% - 28px), var(--max-width)); }
}
