/* ============================================================
   Праксис — стили сайта
   Палитра: тёплый камень + шалфей + приглушённая глина
   Шрифты: Fraunces (заголовки) / Work Sans (текст) / IBM Plex Mono (метки, время)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Work+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --ink: #24312A;
    --ink-soft: #44503F;
    --muted: #74705F;
    --paper: #F1EEE2;
    --paper-warm: #EAE6D6;
    --card: #FBFAF4;
    --sage: #6F8E76;
    --sage-deep: #3F5744;
    --clay: #B4695A;
    --clay-soft: #E7D3CD;
    --line: #DAD5C2;
    --line-soft: #E6E2D2;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 28px;

    --shadow-soft: 0 1px 2px rgba(36, 49, 42, 0.04), 0 8px 24px rgba(36, 49, 42, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 28px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sage-deep);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--sage);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

/* ---------------- Header ---------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(241, 238, 226, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.brand-mark {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--sage);
    display: inline-block;
    transform: translateY(-8px);
}

.nav-links {
    display: flex;
    gap: 34px;
    font-size: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--sage-deep); }

.header-cta {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    background: var(--sage-deep);
    color: var(--paper);
    padding: 11px 22px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.header-cta:hover { background: var(--ink); transform: translateY(-1px); }

.nav-toggle { display: none; }

/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    padding: 96px 0 80px;
    overflow: hidden;
}

.hero-breath {
    position: absolute;
    top: -180px;
    right: -160px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(111, 142, 118, 0.30), rgba(111, 142, 118, 0) 70%);
    animation: breathe 9s ease-in-out infinite;
    pointer-events: none;
}
@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.12); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-breath { animation: none; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.08;
    margin: 22px 0 24px;
}
.hero h1 em {
    font-style: italic;
    color: var(--sage-deep);
}

.hero-lead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.btn-primary {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15.5px;
    background: var(--sage-deep);
    color: var(--paper);
    padding: 15px 30px;
    border-radius: 100px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }

.hero-phone {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--ink-soft);
    text-decoration: none;
}
.hero-phone span { color: var(--muted); display: block; font-size: 12px; margin-bottom: 3px; }

.hero-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-soft);
}
.hero-card-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14.5px;
}
.hero-card-row:last-child { border-bottom: none; }
.hero-card-row .label { color: var(--muted); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em; }
.hero-card-row .value { font-weight: 500; text-align: right; }

/* ---------------- Section shells ---------------- */

section { padding: 88px 0; }
.section-head {
    max-width: 640px;
    margin-bottom: 52px;
}
.section-head h2 {
    font-size: 36px;
    margin-top: 16px;
    line-height: 1.15;
}
.section-head p {
    color: var(--muted);
    font-size: 16.5px;
    margin-top: 16px;
}

/* ---------------- About ---------------- */

.about { background: var(--paper-warm); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 52px;
    align-items: start;
}
.about-photo {
    aspect-ratio: 3/4;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 13px;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-name {
    font-family: var(--font-display);
    font-size: 27px;
    margin-bottom: 6px;
}
.about-role {
    color: var(--sage-deep);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.about-bio {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 60ch;
}
.about-bio p { margin: 0 0 16px; }
.about-bio .placeholder-note {
    margin-top: 22px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--muted);
    font-family: var(--font-mono);
}

/* ---------------- Services ---------------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.service-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
    border-color: var(--sage);
    transform: translateY(-2px);
}
.service-index {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--sage);
    margin-bottom: 18px;
}
.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.service-price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--sage-deep);
    margin-bottom: 10px;
}
.service-card p {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0;
}

/* ---------------- Promotions ---------------- */

.promo {
    padding: 90px 0;
}
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.promo-card {
    background: var(--clay-soft);
    border: 1px solid var(--clay);
    border-radius: var(--radius-md);
    padding: 28px 26px;
}
.promo-card h3 {
    font-size: 19px;
    color: var(--ink);
    margin-bottom: 10px;
}
.promo-card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin: 0;
}
.promo-valid {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--clay);
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---------------- Schedule strip ---------------- */

.schedule {
    background: var(--sage-deep);
    color: var(--paper);
}
.schedule .section-head p { color: rgba(241, 238, 226, 0.72); }
.schedule .section-head .eyebrow { color: rgba(241, 238, 226, 0.85); }
.schedule .eyebrow::before { background: rgba(241, 238, 226, 0.5); }
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.schedule-day {
    background: rgba(241, 238, 226, 0.08);
    border: 1px solid rgba(241, 238, 226, 0.16);
    border-radius: var(--radius-sm);
    padding: 18px 14px;
    text-align: center;
}
.schedule-day.off { opacity: 0.4; }
.schedule-day .d {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(241, 238, 226, 0.7);
    margin-bottom: 10px;
}
.schedule-day .h {
    font-family: var(--font-display);
    font-size: 16px;
}

/* ---------------- Booking ---------------- */

.booking { background: var(--paper); }
.booking-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-soft);
}
.booking-steps {
    display: flex;
    gap: 24px;
    margin-bottom: 36px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--muted);
}
.booking-steps .step.active { color: var(--sage-deep); font-weight: 500; }

.booking-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
}

.field-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

input[type="date"],
input[type="text"],
input[type="tel"] {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15.5px;
    color: var(--ink);
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    margin-bottom: 22px;
    transition: border-color 0.15s ease;
}
input:focus {
    outline: none;
    border-color: var(--sage);
}
input:focus-visible {
    outline: 2px solid var(--sage-deep);
    outline-offset: 2px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 8px;
    min-height: 56px;
}
.slot-btn {
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 12px 8px;
    text-align: center;
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}
.slot-btn:hover { border-color: var(--sage); }
.slot-btn.selected {
    background: var(--sage-deep);
    color: var(--paper);
    border-color: var(--sage-deep);
}
.slots-empty, .slots-loading {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 14px;
    padding: 14px 0;
}

.radio-group {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}
.radio-pill {
    flex: 1;
    position: relative;
}
.radio-pill input {
    position: absolute;
    opacity: 0;
}
.radio-pill label {
    display: block;
    text-align: center;
    font-size: 14px;
    padding: 12px 10px;
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}
.radio-pill input:checked + label {
    background: var(--sage-deep);
    color: var(--paper);
    border-color: var(--sage-deep);
}

.booking-submit {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    font-size: 16px;
    padding: 16px;
}

.booking-message {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    display: none;
}
.booking-message.success {
    display: block;
    background: rgba(111, 142, 118, 0.14);
    color: var(--sage-deep);
    border: 1px solid var(--sage);
}
.booking-message.error {
    display: block;
    background: var(--clay-soft);
    color: #7A3A2E;
    border: 1px solid var(--clay);
}

/* ---------------- Contact ---------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
}
.contact-list .label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 6px;
}
.contact-list .value { font-size: 17px; }
.contact-list a { text-decoration: none; color: var(--sage-deep); }

.map-frame {
    width: 100%;
    height: 380px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------------- Footer ---------------- */

.site-footer {
    border-top: 1px solid var(--line-soft);
    padding: 36px 0;
}
.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: var(--muted);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
    .nav-links, .header-cta { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 38px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { max-width: 240px; }
    .services-grid { grid-template-columns: 1fr; }
    .schedule-grid { grid-template-columns: repeat(4, 1fr); }
    .booking-columns { grid-template-columns: 1fr; gap: 8px; }
    .booking-panel { padding: 26px; }
    .contact-grid { grid-template-columns: 1fr; }
    .site-footer .container { flex-direction: column; gap: 10px; text-align: center; }
}
