:root {
    --ink: #121417;
    --muted: #5c6570;
    --line: #e7e8ec;
    --paper: #ffffff;
    --bg: #f4f5f7;
    --accent: #111111;
    --soft: #eef6f2;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    color: var(--ink);
    background:
        radial-gradient(900px 420px at 100% -10%, #e7f6ee 0%, transparent 55%),
        var(--bg);
    font-family: Manrope, "Segoe UI", sans-serif;
    line-height: 1.45;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.96; letter-spacing: -0.045em; margin: 0 0 1rem; font-weight: 800; }
h2 { font-size: 1.4rem; letter-spacing: -0.03em; margin: 0 0 1rem; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.home { min-height: 100vh; }
.hero-only { min-height: 100vh; display: grid; align-items: center; padding: 1.2rem 0 2rem; }
.hero-top { position: absolute; top: 18px; right: 18px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; font-weight: 700; color: #3d6b56; margin: 0 0 0.9rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36rem; }
.hero-photo { margin: 0; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 80px rgba(18, 20, 23, 0.12); }
.hero-photo img { width: 100%; height: 560px; object-fit: cover; display: block; }
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(244, 245, 247, 0.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(18,20,23,.06); }
.nav { display: flex; align-items: center; gap: 1.2rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; font-weight: 800; margin-right: auto; }
.mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: white; font-size: 0.75rem; }
nav { display: flex; gap: 1rem; }
nav a { text-decoration: none; font-weight: 700; }
.langs { display: flex; padding: 4px; background: white; border-radius: 999px; border: 1px solid var(--line); }
.langs a { text-decoration: none; font-size: 0.75rem; font-weight: 800; padding: 0.35rem 0.6rem; border-radius: 999px; color: var(--muted); }
.langs a.is-on { background: var(--ink); color: white; }
.button {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); color: white; border: 0; border-radius: 999px;
    padding: 0.95rem 1.35rem; font: 800 1rem Manrope, sans-serif; text-decoration: none; cursor: pointer;
}
button.ghost, .row-actions button {
    background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
    padding: 0.55rem 0.9rem; font: 700 0.9rem Manrope, sans-serif; cursor: pointer;
}
.tunnel { padding: 2.2rem 0 4rem; animation: rise .4s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.progress { display: flex; gap: 0.45rem; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.progress li { flex: 1; text-align: center; font-size: 0.75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #9aa1aa; border-top: 3px solid #ddd; padding-top: 0.55rem; }
.progress li.is-on { color: var(--ink); border-color: var(--ink); }
.back { display: inline-block; margin-bottom: 0.8rem; font-weight: 800; text-decoration: none; }
.tile-list, .time-grid, .day-grid { display: grid; gap: 0.75rem; }
.day-grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.time-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tile, .day-btn, .time-btn {
    width: 100%; text-align: left; cursor: pointer; color: var(--ink); background: white;
    border: 1px solid transparent; border-radius: 22px; box-shadow: 0 12px 30px rgba(18,20,23,.05);
    font: 700 1rem Manrope, sans-serif;
}
.tile { display: flex; gap: 0; min-height: 112px; padding: 0; overflow: hidden; align-items: stretch; }
.tile img { width: 124px; object-fit: cover; flex: none; }
.tile span { display: grid; gap: 0.2rem; padding: 1rem 1.1rem; }
.tile em { font-style: normal; color: var(--muted); font-weight: 600; }
.tile small, .time-btn small { color: #3d6b56; font-weight: 800; }
.tile:hover, .day-btn:hover, .time-btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.day-btn, .time-btn { min-height: 84px; padding: 0.8rem; display: grid; align-content: center; }
.day-btn span, .time-btn small { font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; }
.day-btn strong { font-size: 1.25rem; }
.time-btn:disabled { opacity: 0.38; cursor: not-allowed; transform: none; }
.detail-card, .confirm-card {
    background: white; border-radius: 28px; padding: 1.3rem; box-shadow: 0 16px 40px rgba(18,20,23,.06);
}
label { display: grid; gap: 0.4rem; margin: 0.85rem 0; font-weight: 800; }
label.check { display: flex; align-items: center; gap: 0.6rem; }
input, textarea {
    width: 100%; border: 1px solid var(--line); background: #fafafa; border-radius: 14px;
    padding: 0.9rem 0.95rem; font: 600 1rem Manrope, sans-serif; color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--ink); background: white; }
.meta { color: var(--muted); font-weight: 700; }
.alert { background: #fff6ea; border-radius: 16px; padding: 0.8rem 1rem; }
.section { padding: 2rem 0 3rem; }
.site-footer { color: var(--muted); padding: 0 0 5rem; }
.admin-head, .admin-links, .row-actions { display: flex; gap: 0.8rem; align-items: center; }
.admin-head { justify-content: space-between; }
.admin-links a, .row-actions a { font-weight: 800; }
.table-wrap { overflow-x: auto; background: white; border-radius: 22px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.9rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.service-admin { display: grid; gap: 0.75rem; }
.service-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 1rem; align-items: center; background: white; border-radius: 22px; padding: 0.7rem; }
.service-row img, .admin-photo { width: 92px; height: 72px; object-fit: cover; border-radius: 14px; }
.password-box { max-width: 440px; margin-top: 1.4rem; }
.cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
    display: flex; gap: 1rem; align-items: center; justify-content: space-between;
    background: #121417; color: white; border-radius: 22px; padding: 1rem 1.1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; max-width: 70ch; }
.cookie button { background: white; color: #121417; border: 0; border-radius: 999px; padding: 0.75rem 1rem; font: 800 0.95rem Manrope, sans-serif; cursor: pointer; }
@media (max-width: 800px) {
    .hero-grid, .service-row { grid-template-columns: 1fr; }
    .hero-photo img { height: 280px; }
    .cookie { flex-direction: column; align-items: stretch; }
    .nav { flex-wrap: wrap; }
}
