/* MP Booking — Barber Edition
   Почетен визуелен прототип. Боите и содржината се лесно приспособливи. */
:root {
  --ink: #1d2422;
  --muted: #727b76;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #e5e9e4;
  --accent: #c4e36b;
  --accent-dark: #a5c64d;
  --radius: 22px;
  --shadow: 0 20px 55px rgba(28, 38, 32, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.site-header { width: min(1180px, calc(100% - 48px)); margin: auto; height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--accent); border-radius: 13px; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 22px; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-family: "Manrope", sans-serif; font-size: 12px; letter-spacing: .12em; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .2em; }
.header-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 600; }
.header-nav > a:not(.nav-cta) { color: #58615c; transition: color .2s; }
.header-nav > a:not(.nav-cta):hover, .text-link:hover { color: #000; }
.nav-cta { padding: 13px 17px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.nav-cta span { margin-left: 10px; }
.mobile-menu { display: none; background: none; border: 0; font-size: 23px; }
.hero { width: min(1180px, calc(100% - 48px)); margin: 28px auto 0; display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 58px; min-height: 510px; }
.hero-content { padding: 25px 0 40px; }
.eyebrow, .section-kicker { color: #6e7a70; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #a5c64d; box-shadow: 0 0 0 4px #eaf2d7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: 1.06; letter-spacing: -.065em; margin: 25px 0 20px; font-weight: 800; }
h1 span { color: #8eaa4b; }
.hero-content > p { max-width: 450px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; border: 0; border-radius: 12px; padding: 16px 20px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #303a35; }
.text-link { font-size: 12px; font-weight: 700; }
.text-link span { margin-left: 8px; }
.hero-proof { display: flex; align-items: center; gap: 13px; margin-top: 43px; }
.avatar-stack { display: flex; padding-left: 3px; }
.avatar-stack span { width: 31px; height: 31px; display: grid; place-items: center; margin-left: -4px; border: 2px solid var(--paper); border-radius: 50%; background: #e5d7c6; font-size: 10px; font-weight: 700; }
.avatar-stack span:nth-child(2) { background: #d3ded1; }
.avatar-stack span:nth-child(3) { background: #e4dfc3; }
.hero-proof > div:last-child { display: grid; gap: 4px; }
.hero-proof strong { font-size: 11px; }
.hero-proof small { color: var(--muted); font-size: 10px; }
.hero-visual { position: relative; min-width: 0; }
.hero-image { position: relative; height: 465px; overflow: hidden; border-radius: 180px 180px 26px 26px; background: #d4d9cf url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1200&q=85") center 45% / cover; isolation: isolate; }
.image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,27,23,.02) 35%, rgba(20,27,23,.72) 100%); z-index: -1; }
.image-caption { position: absolute; left: 30px; bottom: 32px; color: white; display: grid; gap: 10px; }
.caption-label { font-size: 9px; letter-spacing: .22em; font-weight: 700; }
.image-caption strong { font-family: "Manrope", sans-serif; font-size: 27px; line-height: 1.25; letter-spacing: -.04em; }
.floating-card { position: absolute; right: -24px; bottom: 55px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 15px; background: white; box-shadow: var(--shadow); }
.floating-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #eff6dc; color: #607c25; font-weight: 800; }
.floating-card > span:last-child { display: grid; gap: 5px; }
.floating-card strong { font-size: 11px; }
.floating-card small { color: var(--muted); font-size: 10px; }
.hero-orbit { position: absolute; border: 1px solid #e0e6d9; border-radius: 50%; z-index: -1; }
.orbit-one { width: 100px; height: 100px; top: -20px; right: -25px; }
.orbit-two { width: 54px; height: 54px; top: 18px; right: -2px; }
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 105px 0 25px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading h2, .booking-intro h2 { margin: 12px 0 0; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.055em; line-height: 1.15; }
.section-heading > p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 2px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { display: flex; gap: 16px; padding: 23px 20px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.68); transition: border-color .2s, transform .2s; }
.service-card:hover { transform: translateY(-3px); border-color: #cbd9ad; }
.service-icon { flex: 0 0 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: #edf3e2; font-size: 21px; }
.service-info { min-width: 0; flex: 1; }
.service-info h3 { font-size: 14px; margin: 2px 0 7px; letter-spacing: -.02em; }
.service-info p { color: var(--muted); font-size: 11px; margin-bottom: 19px; }
.service-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; }
.service-meta span { color: var(--muted); }
.service-meta strong { font-size: 11px; }
.demo-note { color: #89918c; font-size: 10px; margin-top: 14px; }
.barbers-section { padding-top: 105px; padding-bottom: 110px; }
.barber-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.barber-card { padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: white; transition: transform .2s, box-shadow .2s; }
.barber-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.barber-photo { position: relative; height: 255px; overflow: hidden; border-radius: 13px; background-color: #d6d9d1; background-position: center; background-size: cover; }
.barber-photo-one { background-image: url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=800&q=80"); }
.barber-photo-two { background-image: url("https://images.unsplash.com/photo-1599351431202-1e0f0137899a?auto=format&fit=crop&w=800&q=80"); }
.barber-photo-three { background-image: url("https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=800&q=80"); }
.availability { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(255,255,255,.92); font-size: 9px; font-weight: 700; }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: #8fb944; }
.barber-details { display: flex; align-items: center; justify-content: space-between; padding: 17px 9px 13px; }
.barber-details h3 { font-size: 18px; margin: 0 0 5px; letter-spacing: -.03em; }
.barber-details p { color: var(--muted); font-size: 11px; margin: 0; }
.barber-number { align-self: start; color: #a1aaa3; font-size: 10px; }
.barber-link { display: flex; justify-content: space-between; align-items: center; margin: 0 3px; padding: 14px 7px 7px; border-top: 1px solid #edf0eb; font-size: 11px; font-weight: 700; }
.barber-link span { font-size: 16px; }
.booking-section { display: grid; grid-template-columns: 1fr .82fr; gap: 75px; align-items: center; width: min(1180px, calc(100% - 48px)); margin: 0 auto 100px; padding: 65px; border-radius: 28px; background: #edf1e8; }
.booking-intro h2 { font-size: clamp(34px, 3.5vw, 47px); margin-top: 16px; }
.booking-intro > p { max-width: 420px; margin: 20px 0 27px; color: #68736a; font-size: 13px; line-height: 1.8; }
.booking-benefit { display: flex; align-items: center; gap: 10px; margin-top: 13px; font-size: 12px; font-weight: 600; }
.booking-benefit span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #dce9c5; color: #58752a; font-size: 11px; }
.booking-panel { padding: 29px; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: white; box-shadow: 0 18px 45px rgba(30,40,30,.05); }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 15px; margin-bottom: 25px; }
.panel-heading h3 { margin: 9px 0 0; font-size: 19px; letter-spacing: -.04em; }
.panel-step { font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 800; }
.panel-step i { color: #a0a8a1; font-size: 11px; font-style: normal; font-weight: 500; }
.booking-panel form { display: grid; }
.booking-panel label { margin: 15px 0 8px; font-size: 11px; font-weight: 700; }
.booking-panel select, .booking-panel input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #e4e8e2; border-radius: 10px; outline: none; color: var(--ink); background: white; font-size: 12px; }
.booking-panel select:focus, .booking-panel input:focus { border-color: #9cb965; box-shadow: 0 0 0 3px #eff5e3; }
.button-full { width: 100%; margin-top: 22px; }
.form-note { margin: 12px 0 0; color: #909991; font-size: 9px; line-height: 1.6; text-align: center; }
.form-message { display: none; margin: 10px 0 0; padding: 10px; border-radius: 8px; background: #f2f6e9; color: #526c29; font-size: 11px; line-height: 1.5; }
.form-message.visible { display: block; }
.site-footer { width: min(1180px, calc(100% - 48px)); min-height: 100px; margin: auto; padding: 24px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .brand-mark { width: 35px; height: 35px; border-radius: 10px; font-size: 18px; }
.site-footer > p, .footer-credit { margin: 0; color: var(--muted); font-size: 10px; }
.footer-credit strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero { gap: 35px; }
  .hero-image { height: 410px; }
  .floating-card { right: -10px; }
  .service-grid, .service-grid-two { grid-template-columns: 1fr; }
  .service-card { padding: 18px; }
  .barber-photo { height: 210px; }
  .booking-section { gap: 35px; padding: 38px; }
}
@media (max-width: 680px) {
  .site-header { width: min(100% - 32px, 1180px); height: 75px; }
  .header-nav { display: none; }
  .mobile-menu { display: block; }
  .hero, .section, .booking-section, .site-footer { width: min(100% - 32px, 1180px); }
  .hero { grid-template-columns: 1fr; gap: 15px; margin-top: 10px; }
  .hero-content { padding: 25px 0 10px; }
  h1 { font-size: clamp(49px, 13vw, 68px); }
  .hero-content > p { font-size: 14px; }
  .hero-actions { flex-wrap: wrap; gap: 17px; }
  .hero-proof { margin-top: 29px; }
  .hero-visual { width: calc(100% - 10px); margin: 10px auto 0; }
  .hero-image { height: 390px; border-radius: 150px 150px 20px 20px; }
  .floating-card { right: -8px; bottom: 35px; padding: 12px; }
  .section { padding-top: 75px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  .barbers-section { padding-bottom: 75px; }
  .barber-grid { grid-template-columns: 1fr; gap: 16px; }
  .barber-photo { height: 290px; }
  .booking-section { grid-template-columns: 1fr; gap: 30px; padding: 26px 19px; margin-bottom: 65px; border-radius: 22px; }
  .booking-panel { padding: 21px 17px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; }
  .site-footer > p { order: 3; flex-basis: 100%; }
}


/* Избор на часови во формата за закажување */
.time-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 2px 0 17px;
}
.time-slot {
  min-height: 42px;
  border: 1px solid #e4e5e7;
  border-radius: 10px;
  background: #fff;
  color: #202124;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.time-slot:hover:not(:disabled) {
  border-color: #202124;
  transform: translateY(-1px);
}
.time-slot.selected {
  background: #202124;
  border-color: #202124;
  color: #fff;
}
.time-slot:disabled,
.time-slot-busy {
  background: #f2f3f4;
  border-color: #eceef0;
  color: #a3a6aa;
  cursor: not-allowed;
  text-decoration: line-through;
}
.time-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: #777b80;
  font-size: 12px;
  line-height: 1.5;
}
.time-hint-bottom {
  margin-top: 2px;
}
@media (max-width: 420px) {
  .time-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
