:root {
    --bg: #0f172a;
    --bg-soft: #111827;
    --bg-card: #020617;
    --accent: #3b82f6;
    --accent-soft: rgba(59, 130, 246, 0.1);
    --accent-strong: #2563eb;
    --accent-alt: #22c55e;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-subtle: #1f2937;
    --error: #ef4444;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.65);
    --radius-lg: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    background: radial-gradient(circle at top, #1d283a 0, #020617 55%, #000 100%);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.booking-shell {
    width: 100%;
    max-width: 1200px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(8, 47, 73, 0.6));
    border-radius: 30px;
    padding: 2px 2px 10px;
    box-shadow: var(--shadow-soft);
}

.booking-app {
    background: radial-gradient(circle at top left, #0b1220 0, #020617 55%, #020617 100%);
    border-radius: 28px;
    padding: 26px 24px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    body {
        padding: 16px;
    }

    .booking-app {
        grid-template-columns: 1fr;
        padding: 20px 18px 18px;
    }
}

.app-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.title-block h1 {
    font-size: 28px;
    letter-spacing: 0.02em;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chip {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent-alt);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.title-block p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.badge-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.small-pill {
    font-size: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.small-pill span.icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.column {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(31, 41, 55, 0.9);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9) 0, rgba(15, 23, 42, 0.95) 45%, rgba(15, 23, 42, 0.98) 100%);
    padding: 14px;
    position: relative;
    overflow: hidden;
}

.column::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), transparent 60%);
    pointer-events: none;
}

.column-inner {
    position: relative;
    z-index: 1;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.column-header h2 {
    margin: 0;
    font-size: 17px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.column-header span.sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* Services list */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.service-card {
    border-radius: 14px;
    padding: 12px 12px 10px;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(31, 41, 55, 0.95);
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 8px;
    align-items: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, background 0.18s ease;
    font-size: 14px;
}

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.65);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.85);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.98) 55%);
    transform: translateY(-1px);
}

.service-card.active {
    border-color: var(--accent);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.65);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), rgba(17, 24, 39, 0.98) 60%);
}

.service-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-name {
    font-size: 15px;
    font-weight: 600;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.service-chip {
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(75, 85, 99, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.service-duration {
    font-size: 13px;
    font-weight: 500;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.service-price {
    font-size: 13px;
    color: #e5e7eb;
    margin-top: 2px;
}

.service-price span {
    color: var(--text-muted);
    font-size: 12px;
}

/* Video */
.video-wrapper {
    margin-bottom: 10px;
    border-radius: 14px;
    border: 1px solid rgba(31, 41, 55, 0.9);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
    overflow: hidden;
}

.video-inner {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    padding: 18px 14px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field label {
    font-size: 13px;
    color: var(--text-muted);
}

.field label span.required {
    color: var(--accent);
    margin-left: 3px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    border-radius: 11px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.95);
    padding: 9px 11px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    box-shadow: inset 0 0 0 1px transparent;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.08s ease;
}

input::placeholder,
textarea::placeholder {
    color: rgba(156, 163, 175, 0.7);
}

textarea {
    min-height: 72px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.55), 0 0 25px rgba(37, 99, 235, 0.4);
    background: rgba(15, 23, 42, 0.98);
    transform: translateY(-0.5px);
}

.service-summary {
    font-size: 13px;
    padding: 9px 10px;
    border-radius: 12px;
    border: 1px dashed rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.92);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-summary strong {
    color: #e5e7eb;
}

.service-summary span {
    color: var(--text-muted);
}

.hint-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.hint-row span.tag {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(8, 47, 73, 0.9);
    border: 1px solid rgba(37, 99, 235, 0.8);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: radial-gradient(circle at top left, #3b82f6, #1d4ed8);
    color: #f9fafb;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.7);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn-primary span.icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.85);
}

.btn-primary:active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.9);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    border: 1px solid rgba(55, 65, 81, 0.9);
}

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

.small-note {
    font-size: 12px;
    color: var(--text-muted);
}

.small-note strong {
    color: #e5e7eb;
}

.alert {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.4;
    display: none;
}

.alert.visible {
    display: block;
}

.alert-success {
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.7);
    color: #bbf7d0;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.8);
    color: #fecaca;
}

.error-msg {
    font-size: 12px;
    color: var(--error);
    margin-top: 2px;
}

.selected-slot-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-backdrop.open {
    display: flex;
}

.modal {
    width: 100%;
    max-width: 680px;
    background: radial-gradient(circle at top left, #020617, #020617 60%);
    border-radius: 20px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
    padding: 16px 16px 14px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-header h3 {
    margin: 0;
    font-size: 17px;
}

.modal-header button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.modal-body {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 12px;
}

@media (max-width: 700px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
}

.days-list {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
    margin-right: -4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.day-item {
    border-radius: 10px;
    padding: 7px 9px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.95);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-item span.date {
    color: #e5e7eb;
}

.day-item span.weekday {
    color: var(--text-muted);
}

.day-item.active {
    border-color: var(--accent);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.98));
}

.slots-list {
    max-height: 260px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.slot-btn {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: #111827;
    color: #f9fafb;
    font-size: 13px;
    cursor: pointer;
}

.slot-btn:hover {
    border-color: var(--accent);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), #111827);
}

.slot-btn.selected {
    border-color: var(--accent);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.45), #020617);
}

.slot-btn.busy {
    opacity: 0.5;
    cursor: default;
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.9);
    background: #111827;
}

.slot-btn.busy:hover {
    border-color: rgba(148, 163, 184, 0.9);
    background: #111827;
}

.modal-footer {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.modal-footer button {
    padding: 7px 13px;
    font-size: 13px;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-main);
    cursor: pointer;
}

.modal-footer button:hover {
    border-color: var(--accent);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 640px;
    width: calc(100% - 24px);
    background: rgba(15, 23, 42, 0.98);
    border-radius: 14px;
    border: 1px solid #1f2937;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    padding: 10px 12px;
    display: none;
    z-index: 80;
}

.cookie-banner.visible {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #e5e7eb;
}

.cookie-banner-text {
    flex: 1 1 220px;
    color: #d1d5db;
}

.cookie-banner-text a {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 6px;
}

.cookie-btn {
    border-radius: 999px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    font-size: 12px;
    padding: 5px 10px;
    cursor: pointer;
}

.cookie-btn.primary {
    background: #3b82f6;
    border-color: #2563eb;
    color: #f9fafb;
}

.cookie-btn:hover {
    border-color: #60a5fa;
}

/* Footer */
.site-footer {
    margin-top: 10px;
    padding: 10px 18px 4px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.site-footer a {
    color: #93c5fd;
    text-decoration: underline;
}

.header-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.contact-info {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.contact-info a {
    color: #e5e7eb;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .header-right {
        align-items: flex-start;
        margin-top: 8px;
    }

    .contact-info {
        justify-content: flex-start;
    }
}

.seo-text {
    margin-top: 10px;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.65;
}

.seo-text p {
    margin: 0 0 12px;
}

.seo-text ul.seo-list {
    margin: 6px 0 12px 18px;
    padding: 0;
}

.seo-text ul.seo-list li {
    margin: 4px 0;
}

/* ============================================================ [STICKY CTA] Плаващ бутон "Резервирай" ============================================================ */
.sticky-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    /* ще се коригира с JS при cookie banner */
    z-index: 95;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: radial-gradient(circle at top left, #3b82f6, #1d4ed8);
    color: #f9fafb;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.65);
    cursor: pointer;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    user-select: none;
    transition: transform .14s ease, filter .14s ease, box-shadow .14s ease, opacity .14s ease;
}

.sticky-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 22px 46px rgba(37, 99, 235, 0.78);
}

.sticky-cta:active {
    transform: translateY(0);
}

.sticky-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}

.sticky-cta .icon {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

@media (max-width: 640px) {
    .sticky-cta {
        left: 12px;
        right: 12px;
        justify-content: center;
        padding: 12px 14px;
    }
}

.social-proof {
    margin-top: 10px;
    font-size: 13px;
    color: #9ca3af;
}

.social-proof a {
    color: #93c5fd;
    text-decoration: underline;
}

.modal-subtitle {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}

/* SEO-only: скрито визуално, но четимо за търсачки/екранни четци */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
