:root {
    --bg: #f6f7f3;
    --surface: #fff;
    --ink: #10130f;
    --muted: #686d65;
    --line: #dfe3dc;
    --accent: #b9e96a;
    --dark: #111510;
    --max: 1080px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    width: min(calc(100% - 36px), var(--max));
    margin: auto;
}

header {
    border-bottom: 1px solid var(--line);
    background: rgba(246, 247, 243, 0.94);
    backdrop-filter: blur(15px);
}

nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    gap: 10px;
    align-items: center;
}

.brand-logo{width:126px;height:auto;display:block}

.mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--dark);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.back {
    font-weight: 700;
    color: #555b52;
}

main {
    padding: 65px 0 100px;
}

.intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 42px;
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.8rem;
    font-weight: 750;
    margin-bottom: 20px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9fd94d;
}

.intro h1 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.intro p {
    color: var(--muted);
    max-width: 580px;
    margin: 20px auto;
    line-height: 1.65;
}

.grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 18px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(16, 19, 15, 0.035);
}

.panel h2 {
    margin: 0 0 7px;
    font-size: 1.3rem;
}

.panel-intro {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.92rem;
}

.field {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 0.86rem;
    font-weight: 750;
    margin-bottom: 7px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fbfcfa;
    color: var(--ink);
    border-radius: 13px;
    padding: 12px;
    outline: none;
    font: inherit;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #78a93d;
    box-shadow: 0 0 0 3px rgba(120, 169, 61, 0.14);
}

.calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.month {
    font-weight: 800;
}

.month-nav {
    display: flex;
    gap: 7px;
}

.month-nav button,
.day,
.time {
    border: 1px solid var(--line);
    background: #f4f6f1;
    border-radius: 10px;
    cursor: pointer;
}

.month-nav button {
    width: 36px;
    height: 36px;
}

.weekdays,
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.weekday {
    text-align: center;
    color: #8a9086;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px;
}

.day {
    min-height: 42px;
    font-weight: 700;
}

.day:disabled {
    cursor: not-allowed;
    color: #b7bbb4;
    background: #f1f2ef;
}

.time:disabled {
    cursor: not-allowed;
    color: #b7bbb4;
    background: #f1f2ef;
    opacity: 0.6;
}

.day.selected,
.time.selected {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.times {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.times h3 {
    font-size: 0.95rem;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time {
    padding: 11px;
    font-weight: 700;
}

.summary {
    margin-top: 18px;
    padding: 13px;
    border-radius: 13px;
    background: #f1f4eb;
    color: #485141;
    font-size: 0.88rem;
}

.submit {
    width: 100%;
    border: 0;
    background: var(--dark);
    color: white;
    border-radius: 999px;
    min-height: 48px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 7px;
}

.submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.fine {
    text-align: center;
    color: #81877e;
    font-size: 0.78rem;
}

.error {
    display: none;
    color: #a43b32;
    font-size: 0.82rem;
    margin: 8px 0;
}

.success {
    display: none;
    text-align: center;
    padding: 25px;
}

.success-mark {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-weight: 900;
    font-size: 1.5rem;
}

.success p {
    color: var(--muted);
}

.details {
    background: #f3f5ef;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    text-align: left;
}

footer {
    border-top: 1px solid var(--line);
    padding: 24px 0 32px;
    color: #73786f;
    font-size: 0.88rem;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    .grid {
    grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .wrap {
    width: min(calc(100% - 26px), var(--max));
    }

    .grid {
    gap: 14px;
    }

    .panel {
    padding: 24px;
    }

    .time-grid {
    grid-template-columns: repeat(2, 1fr);
    }
}
