/* Котикова Груминг — design tokens & styles */

:root {
  --color-bg: #efeae2;
  --color-bg-alt: #e4ddd0;
  --color-surface: #fbf9f5;
  --color-ink: #2a2420;
  --color-ink-muted: #6b5f53;
  --color-accent: #c97b84;
  --color-accent-strong: #a85763;
  --color-accent-ink: #7a3540;
  --color-accent-soft: #f0dadd;
  --color-pine: #2f4538;
  --color-pine-strong: #24362b;
  --color-pine-ink: #efeae2;
  --color-border: rgba(42, 36, 32, 0.12);
  --color-shadow: rgba(42, 36, 32, 0.1);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", Georgia, serif;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

:root[data-theme="dark"] {
  --color-bg: #1b211d;
  --color-bg-alt: #212820;
  --color-surface: #232b24;
  --color-ink: #f3efe9;
  --color-ink-muted: #b6ab9d;
  --color-accent: #e29aa2;
  --color-accent-strong: #eab0b6;
  --color-accent-ink: #f6d9dc;
  --color-accent-soft: #3a2a2c;
  --color-pine: #8fb89b;
  --color-pine-strong: #a8cbb2;
  --color-pine-ink: #12160f;
  --color-border: rgba(243, 239, 233, 0.14);
  --color-shadow: rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #1b211d;
    --color-bg-alt: #212820;
    --color-surface: #232b24;
    --color-ink: #f3efe9;
    --color-ink-muted: #b6ab9d;
    --color-accent: #e29aa2;
    --color-accent-strong: #eab0b6;
    --color-accent-ink: #f6d9dc;
    --color-accent-soft: #3a2a2c;
    --color-pine: #8fb89b;
    --color-pine-strong: #a8cbb2;
    --color-pine-ink: #12160f;
    --color-border: rgba(243, 239, 233, 0.14);
    --color-shadow: rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

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

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-bg);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-muted);
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--color-accent-ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-ink);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 10px 24px -10px var(--color-shadow);
}

.btn-primary:hover {
  background: var(--color-accent-strong);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-ink);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}

.btn-small {
  padding: 9px 18px;
  font-size: 14px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 520px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(201, 123, 132, 0.3), transparent 70%),
    radial-gradient(50% 50% at 80% 10%, rgba(47, 69, 56, 0.22), transparent 70%);
  background: radial-gradient(60% 60% at 30% 20%, color-mix(in srgb, var(--color-accent) 30%, transparent), transparent 70%),
    radial-gradient(50% 50% at 80% 10%, color-mix(in srgb, var(--color-pine) 22%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 14px 0 20px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--color-ink-muted);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px var(--color-shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- section shell ---------- */

section {
  padding: 58px 0;
}

.section-head {
  max-width: 62ch;
  margin: 0 0 30px;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-top: 10px;
}

.section-head p {
  color: var(--color-ink-muted);
  font-size: 16px;
  margin: 12px 0 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.wave-divider {
  display: block;
  width: 100%;
  height: 46px;
  color: var(--color-bg-alt);
  margin-top: -1px;
}

.wave-divider.flip {
  transform: scaleY(-1);
  color: var(--color-bg);
}

/* ---------- advantages ---------- */

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.advantage-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-ink);
}

.advantage-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.advantage-card p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 15px;
}

/* ---------- master ---------- */

.master-block {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}

.master-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 20px 40px -20px var(--color-shadow);
  border: 4px solid var(--color-surface);
}

.master-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.master-text h2 {
  font-size: 30px;
  margin: 10px 0 12px;
}

.master-text p {
  color: var(--color-ink-muted);
  font-size: 16px;
  max-width: 52ch;
  margin: 0;
}

.master-about-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 28px 0 14px;
}

.master-about {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  max-width: 640px;
}

.master-about li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

.master-about li svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent-ink);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- reviews ---------- */

.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-placeholder {
  height: 100%;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--color-ink-muted);
}

.review-placeholder svg {
  width: 34px;
  height: 34px;
  color: var(--color-accent);
  opacity: 0.85;
}

.review-placeholder span {
  font-size: 13.5px;
  max-width: 22ch;
}

.review-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-form h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.review-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink-muted);
}

.review-form input,
.review-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-ink);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.review-form label {
  min-width: 0;
}

.review-form textarea {
  resize: vertical;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.star-rating label {
  font-size: 26px;
  line-height: 1;
  color: var(--color-border);
  cursor: pointer;
  transition: color 0.15s ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--color-accent);
}

.review-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.form-note {
  font-size: 12.5px;
  color: var(--color-ink-muted);
  margin: 0;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
}

.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.review-card-head strong {
  font-family: var(--font-display);
  font-size: 16px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--color-border);
}

.review-stars svg {
  width: 15px;
  height: 15px;
}

.review-stars svg.is-filled {
  color: var(--color-accent);
}

.review-pet {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--color-ink-muted);
  font-style: italic;
}

.review-text {
  margin: 0;
  font-size: 15px;
  color: var(--color-ink);
  line-height: 1.6;
}

.review-photo {
  width: 100%;
  max-width: 260px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  object-fit: cover;
}

.review-form input[type="file"] {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--color-ink-muted);
}

.review-thanks {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.review-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, #c0392b 12%, transparent);
  background: rgba(192, 57, 43, 0.12);
  color: #c0392b;
  font-size: 13.5px;
}

.review-thanks h3 {
  font-size: 20px;
}

.review-thanks p {
  margin: 0;
  color: var(--color-ink-muted);
}

/* ---------- services ---------- */

.service-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 30px 10px;
}

.service-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.service-card-title svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent-ink);
  flex-shrink: 0;
}

.service-card-title h3 {
  font-size: 21px;
}

.service-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.service-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  font-size: 15.5px;
}

.service-list li .price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--color-accent-ink);
  white-space: nowrap;
}

.price-note {
  margin: 26px 0 0;
  font-size: 13.5px;
  color: var(--color-ink-muted);
  font-style: italic;
}

.service-extra {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-extra-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
}

.service-extra-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.service-extra-head h3 {
  font-size: 17px;
}

.service-extra-head .tag {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-muted);
  margin-left: 8px;
}

.service-extra-head .price {
  font-weight: 700;
  color: var(--color-accent-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.service-extra-item p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-tile {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
  color: var(--color-ink-muted);
}

.gallery-tile svg {
  width: 34px;
  height: 34px;
  color: var(--color-accent);
  opacity: 0.85;
}

.gallery-tile span {
  font-size: 13.5px;
  max-width: 20ch;
}

.gallery-tile-photo {
  border: none;
  padding: 0;
  overflow: hidden;
}

.gallery-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- contacts ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-card {
  background: var(--color-pine);
  color: var(--color-pine-ink);
  border-radius: var(--radius-lg);
  padding: 42px;
}

.contact-card h2 {
  color: var(--color-pine-ink);
  font-size: 28px;
}

.contact-card p {
  color: var(--color-pine-ink);
  color: color-mix(in srgb, var(--color-pine-ink) 78%, transparent);
  margin: 12px 0 28px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list a,
.contact-list .contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-pine-ink);
  font-weight: 600;
  font-size: 16px;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-pine-ink);
  color: color-mix(in srgb, var(--color-pine-ink) 80%, transparent);
}

.contact-list a {
  border-bottom: 1px solid rgba(239, 234, 226, 0.22);
  border-bottom: 1px solid color-mix(in srgb, var(--color-pine-ink) 22%, transparent);
  padding-bottom: 14px;
  transition: opacity 0.15s ease;
}

.contact-list a:last-child {
  border-bottom: none;
}

.contact-list a:hover {
  opacity: 0.8;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-row {
  display: flex;
  gap: 16px;
}

.info-row svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-ink);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-row h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.info-row p {
  margin: 0;
  color: var(--color-ink-muted);
  font-size: 15px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 36px 0;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-meta {
  font-size: 13.5px;
  color: var(--color-ink-muted);
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-ink);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 340px;
    margin: 0 auto;
  }

  .service-groups,
  .contact-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .master-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .master-text p {
    max-width: none;
  }

  .master-about {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: none;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 64px 16px auto 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px;
    gap: 16px;
    box-shadow: 0 20px 40px -20px var(--color-shadow);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 12, 10, 0.5);
    z-index: 39;
  }

  .nav-backdrop.open {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta .phone-link {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .info-card {
    padding: 28px;
  }

  .review-form,
  .review-card,
  .review-thanks {
    padding: 22px 18px;
  }
}
/* БЛОК ЧАЕВЫХ */

#tips {
  padding: 58px 0;
}

.tips-card {
  display: flex;
  align-items: center;
  gap: 44px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 42px;
}

.tips-text {
  flex: 1;
}

.tips-text h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 10px 0 14px;
}

.tips-text p {
  color: var(--color-ink-muted);
  font-size: 16px;
  max-width: 46ch;
  margin: 0 0 24px;
}

.tips-qr {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  padding: 12px;
  box-shadow: 0 20px 40px -20px var(--color-shadow);
}

.tips-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 720px) {
  .tips-card {
    flex-direction: column-reverse;
    text-align: center;
    gap: 28px;
    padding: 30px;
  }

  .tips-text p {
    max-width: none;
  }
}
/* ---------- страница записи ---------- */

.booking-section {
  padding: 48px 0 80px;
}

.wrap-narrow {
  max-width: 720px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}

.form-group {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group h3 {
  font-size: 18px;
  margin: 0;
}

.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink-muted);
  min-width: 0;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-ink);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.req {
  color: var(--color-accent-strong);
}

.booking-form .btn {
  align-self: flex-start;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group {
    padding: 22px 18px;
  }

  .booking-form .btn {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }
}
/* ---------- календарь свободных дней ---------- */

#schedule {
  padding: 58px 0;
}

.calendar {
  max-width: 460px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-ink-muted);
  padding-bottom: 4px;
}

.cal-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.cal-empty {
  background: transparent;
}

.cal-busy {
  color: var(--color-ink-muted);
  background: var(--color-bg-alt);
}

.cal-past {
  opacity: 0.4;
}

.cal-free {
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease;
}

.cal-free:hover {
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 13.5px;
  color: var(--color-ink-muted);
  margin-top: 4px;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  display: inline-block;
}

.dot-free {
  background: var(--color-accent);
}

.dot-busy {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.calendar-note {
  font-size: 13.5px;
  color: var(--color-ink-muted);
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.5;
}

.calendar .btn {
  align-self: center;
  margin-top: 6px;
}

@media (max-width: 520px) {
  .calendar {
    padding: 20px 14px;
  }
  .cal-cell {
    font-size: 14px;
  }
}

/* ---------- админка ---------- */
.admin-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}
.admin-logout { margin: 0; }
.admin-block { margin-bottom: 40px; }
.admin-block h2 { font-size: 20px; margin: 0 0 16px; }
.admin-search, .admin-avail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 18px;
}
.admin-search input, .admin-avail input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-ink);
  min-width: 0;
}
.admin-search input { flex: 1; min-width: 200px; }
.admin-avail label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-ink-muted);
}
.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.admin-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.admin-date { font-size: 12px; color: var(--color-ink-muted); white-space: nowrap; }
.admin-card-body { font-size: 14px; line-height: 1.5; }
.admin-card-body p { margin: 0 0 6px; }
.admin-card-actions { display: flex; gap: 8px; }
.admin-card form { margin: 0; }
.admin-empty { color: var(--color-ink-muted); }
.admin-months { list-style: none; padding: 0; margin: 6px 0 0; font-size: 14px; }
.admin-months li { padding: 4px 0; }
