:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-soft: #f3f6fa;
    --text: #142033;
    --muted: #67768a;
    --border: #dbe3ee;
    --border-strong: #c5d1e0;
    --primary: #1664d9;
    --primary-hover: #0f52b8;
    --primary-soft: #eaf2ff;
    --success-soft: #edf9f0;
    --error-soft: #fff1f1;
    --shadow-sm: 0 12px 30px rgba(20, 32, 51, 0.06);
    --shadow-lg: 0 24px 48px rgba(20, 32, 51, 0.12);
    --radius: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1120px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f7f8fa;
    color: var(--text);
    position: relative;
}

[id] {
    scroll-margin-top: 88px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url("/static/img/light-bg.jpg"), url("/static/img/light-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: transparent;
    pointer-events: none;
}

a {
    color: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 32px 20px 56px;
}

.public-shell {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.lang-switch {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 20px 0;
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(197, 209, 224, 0.9);
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.lang-switch a:hover {
    color: var(--text);
    border-color: var(--primary);
}

.hero {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 360px;
    box-shadow: var(--shadow-lg);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("/static/img/garage-hero.jpg"), url("/static/img/garage-hero.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(115deg, rgba(10, 20, 37, 0.8) 0%, rgba(10, 20, 37, 0.48) 48%, rgba(10, 20, 37, 0.18) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: 360px;
    padding: 34px;
}

.hero-copy {
    max-width: 560px;
    color: #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(34px, 4.8vw, 54px);
    line-height: 1.02;
}

.hero-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.info-chip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(219, 227, 238, 0.95);
    box-shadow: var(--shadow-sm);
}

.info-chip-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.info-chip strong {
    font-size: 18px;
    line-height: 1.3;
}

.accent-section {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    min-height: 220px;
    box-shadow: var(--shadow-lg);
}

.accent-media,
.accent-overlay {
    position: absolute;
    inset: 0;
}

.accent-media {
    background-image: url("/static/img/parts-bg.jpg"), url("/static/img/parts-bg.png");
    background-size: cover;
    background-position: center;
}

.accent-overlay {
    background: linear-gradient(110deg, rgba(13, 24, 42, 0.82) 0%, rgba(13, 24, 42, 0.58) 55%, rgba(13, 24, 42, 0.26) 100%);
}

.accent-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    max-width: 580px;
    padding: 28px 32px;
    color: #ffffff;
}

.accent-content h2 {
    margin: 14px 0 10px;
    font-size: clamp(24px, 3.4vw, 36px);
    line-height: 1.08;
}

.accent-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.card {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(219, 227, 238, 0.58);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.media-card {
    position: relative;
    overflow: hidden;
}

.media-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: none;
}

.media-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.media-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(255, 255, 255, 0.82) 100%);
    z-index: 1;
}

.services-card .media-card-overlay {
    background: linear-gradient(120deg, rgba(8, 14, 26, 0.78) 0%, rgba(12, 21, 36, 0.64) 52%, rgba(255, 255, 255, 0.18) 100%);
}

.services-card .section-title,
.services-card .section-lead {
    color: #ffffff;
}

.services-card .service-preview-card {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.reviews-card .media-card-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.74) 100%);
}

.works-card .media-card-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.media-card-inner {
    position: relative;
    z-index: 2;
}

.section-copy {
    margin: 0 0 18px;
    line-height: 1.7;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.trust-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.24);
    border: 1px solid rgba(219, 227, 238, 0.54);
    backdrop-filter: blur(10px);
    font-weight: 700;
    line-height: 1.45;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.work-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(219, 227, 238, 0.58);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.work-card-image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.work-card-body {
    padding: 16px;
}

.work-card-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.work-card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.contact-card {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(219, 227, 238, 0.58);
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.contact-label {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-value {
    font-weight: 700;
    line-height: 1.55;
}

.contact-hours-card {
    grid-column: span 2;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid rgba(219, 227, 238, 0.48);
}

.hours-row:first-of-type {
    border-top: none;
}

.booking-entry {
    padding: 28px;
}

.booking-entry-accent {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    border: none;
    background: transparent;
    padding: 0;
}

.booking-entry-media,
.booking-entry-overlay {
    position: absolute;
    inset: 0;
}

.booking-entry-media {
    background-image: url("/static/img/parts-bg.jpg"), url("/static/img/parts-bg.png");
    background-size: cover;
    background-position: center;
}

.booking-entry-overlay {
    background:
        linear-gradient(112deg, rgba(8, 14, 26, 0.95) 0%, rgba(8, 14, 26, 0.92) 34%, rgba(9, 18, 31, 0.78) 48%, rgba(10, 20, 37, 0.56) 56%, rgba(10, 20, 37, 0.16) 64%, rgba(255, 255, 255, 0) 72%);
}

.booking-entry-inner {
    position: relative;
    z-index: 1;
    padding: 28px;
}

.booking-entry-layout {
    display: block;
}

.booking-entry-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    color: #ffffff;
}

.booking-entry-summary-top {
    margin-bottom: 18px;
    max-width: none;
}

.booking-entry-summary-title {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.04;
}

.booking-entry-summary-text {
    margin: 0;
    max-width: 420px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.booking-entry-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.booking-entry-stats-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 18px;
}

.info-chip-contrast {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.info-chip-contrast .info-chip-label {
    color: rgba(255, 255, 255, 0.64);
}

.info-chip-contrast strong {
    color: #ffffff;
}

.booking-entry-stats-top .info-chip-contrast {
    min-height: 96px;
}

.booking-entry-actions {
    margin-top: 2px;
}

.booking-entry-flow-panel {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(219, 227, 238, 0.58);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 22px 40px rgba(8, 14, 26, 0.12);
    backdrop-filter: blur(10px);
}

.booking-flow {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.booking-flow-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    width: 100%;
}

.booking-stage-panel,
.booking-stage-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
}

.booking-stage-empty {
    min-height: 100%;
}

.booking-services-panel {
    position: static;
    top: auto;
    padding: 16px;
}

.booking-services-head {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.booking-stage-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-flow-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.booking-flow-kicker {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.booking-flow-intro {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.booking-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-progress-step {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(219, 227, 238, 0.92);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.booking-progress-step.is-current {
    background: #ffffff;
    border-color: rgba(219, 227, 238, 0.96);
    color: var(--text);
}

.booking-panel {
    background: rgba(243, 246, 250, 0.25);
    border: 1px solid rgba(219, 227, 238, 0.72);
    border-radius: 20px;
    padding: 22px;
    backdrop-filter: blur(10px);
}

.booking-panel-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    min-width: 0;
}

.booking-subsection-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
}

.section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.section-lead {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.muted {
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.booking-services-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.services-grid .empty-state,
.review-list .empty-state {
    grid-column: 1 / -1;
}

.services-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.service-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height: 78px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.service-card:hover,
.booking-choice-card:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 100, 217, 0.34);
    box-shadow: 0 18px 28px rgba(20, 32, 51, 0.08);
}

.service-card.selected,
.date-card.selected,
.slot-input:checked + .slot-card {
    border-color: var(--primary);
    background: var(--primary-soft);
    box-shadow: 0 18px 28px rgba(22, 100, 217, 0.14);
}

.booking-choice-card {
    position: relative;
    overflow: hidden;
}

.booking-choice-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: transparent;
    transition: background 0.18s ease;
}

.booking-choice-card:hover::after,
.service-card.selected::after,
.date-card.selected::after,
.slot-input:checked + .slot-card::after {
    background: var(--primary);
}

.service-select-card {
    appearance: none;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-right: 44px;
}

.service-select-card .choice-kicker {
    flex: 0 0 auto;
    max-width: 88px;
}

.service-select-card .service-title {
    flex: 1 1 auto;
}

.booking-master-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    gap: 12px;
    width: 100%;
}

.booking-master-stage {
    padding: 16px;
}

.booking-master-choice-card {
    min-height: 108px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-right: 16px;
}

.booking-master-choice-note {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}

.booking-master-manual-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.82);
}

.booking-master-manual-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-master-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-master-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}

.booking-master-select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.booking-master-select:focus {
    border-color: rgba(22, 100, 217, 0.54);
    box-shadow: 0 0 0 4px rgba(22, 100, 217, 0.12);
    outline: none;
}

.service-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.choice-kicker {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.choice-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 18px;
    font-weight: 900;
}

.service-preview-card {
    cursor: default;
    background: rgba(255, 255, 255, 0.25);
}

.service-preview-card:hover {
    transform: none;
}

.calendar-grid,
.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
    gap: 12px;
}

.booking-calendar-layout {
    display: grid;
    grid-template-columns: minmax(144px, 0.34fr) minmax(300px, 0.66fr);
    gap: 10px;
    align-items: start;
    width: 100%;
}

.booking-calendar-panel,
.booking-slots-panel {
    min-height: 100%;
    min-width: 0;
}

.booking-calendar-panel,
.booking-slots-panel,
.booking-master-summary {
    padding: 12px;
}

.booking-calendar-panel {
    padding: 10px;
}

.booking-master-summary {
    width: fit-content;
    max-width: none;
    min-width: 0;
    padding: 8px 12px;
}

.booking-master-summary-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: nowrap;
}

.booking-master-summary-text {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
}

.booking-month-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-month-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.booking-month-weekday {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.booking-calendar-month {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.booking-slots-panel-empty .empty-state {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-slots-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-slot-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 6px;
}

.booking-slots-panel-inner {
    width: 100%;
}

.date-card,
.slot-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.date-card {
    flex-direction: column;
    gap: 0;
    min-height: 36px;
    padding: 4px;
}

.date-card:hover,
.slot-card:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 100, 217, 0.34);
    box-shadow: 0 16px 24px rgba(20, 32, 51, 0.08);
}

.slot-time {
    line-height: 1.3;
}

.date-card-day {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.slot-card {
    min-height: 42px;
    padding: 8px 6px;
}

.slot-time {
    font-size: 12px;
    font-weight: 800;
}

.date-card-disabled {
    cursor: default;
    background: rgba(255, 255, 255, 0.44);
    color: rgba(103, 118, 138, 0.62);
    border-style: dashed;
    box-shadow: none;
}

.date-card-outside {
    opacity: 0.48;
}

.date-card.is-today {
    border-color: rgba(22, 100, 217, 0.32);
}

.slot-option {
    position: relative;
}

.slot-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.slot-input:focus-visible + .slot-card {
    outline: 3px solid rgba(22, 100, 217, 0.18);
    outline-offset: 2px;
}

.slot-input:checked + .slot-card {
    color: var(--primary);
}

.booking-submit-form {
    display: block;
}

.booking-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    gap: 18px;
}

.slot-selection-panel,
.client-form-panel {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
}

.slot-selection-panel {
    padding: 12px;
}

.client-form-panel {
    padding: 12px;
}

.client-form-panel {
    min-width: 0;
}

.selection-note {
    min-height: 26px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.form-section-title {
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
}

input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: #ffffff;
    color: var(--text);
    font: inherit;
    display: block;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus {
    border-color: rgba(22, 100, 217, 0.54);
    box-shadow: 0 0 0 4px rgba(22, 100, 217, 0.12);
    outline: none;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: none;
    border-radius: 14px;
    background: var(--primary);
    color: #ffffff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(22, 100, 217, 0.22);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.22);
}

.btn-lg {
    min-height: 54px;
    padding: 0 24px;
}

.booking-submit-btn {
    width: 100%;
    margin-top: 16px;
}

.message-block {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    font-weight: 600;
}

.message-neutral {
    background: #ffffff;
    color: var(--muted);
}

.empty-state {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px dashed rgba(219, 227, 238, 0.9);
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    line-height: 1.6;
    text-align: center;
}

.review-list {
    display: grid;
    gap: 14px;
}

.external-proof {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 16px;
    border: 1px solid rgba(219, 227, 238, 0.72);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.external-proof-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--text);
}

.external-proof-copy strong {
    color: var(--text);
}

.external-proof-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.review {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(219, 227, 238, 0.72);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.review-rating {
    margin-bottom: 10px;
    font-weight: 800;
    color: #cc8a00;
}

.review p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.empty {
    padding: 26px;
    border: 1px dashed var(--border-strong);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.center {
    text-align: center;
}

.result-shell {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-card {
    max-width: 520px;
    width: 100%;
    padding: 34px;
}

.result-card.success {
    background: linear-gradient(180deg, #ffffff 0%, #f9fdf9 100%);
    border-color: #d9ebdc;
}

.result-card.error {
    background: linear-gradient(180deg, #ffffff 0%, #fff9f9 100%);
    border-color: #eed6d6;
}

.result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 24px;
    font-weight: 900;
}

.result-card.error .result-icon {
    background: var(--error-soft);
    color: #c43d3d;
}

.result-text {
    margin: 0 0 22px;
    line-height: 1.7;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 22px;
    align-items: stretch;
    min-height: calc(100vh - 108px);
}

.login-hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    min-height: 640px;
    box-shadow: var(--shadow-lg);
    background: #0d1a2b;
}

.login-hero-backdrop,
.login-hero-overlay {
    position: absolute;
    inset: 0;
}

.login-hero-backdrop {
    background-image: url("/static/img/garage-hero.jpg"), url("/static/img/garage-hero.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.login-hero-overlay {
    background:
        radial-gradient(circle at top right, rgba(72, 153, 255, 0.34) 0%, rgba(72, 153, 255, 0) 34%),
        linear-gradient(135deg, rgba(8, 14, 26, 0.92) 0%, rgba(10, 20, 37, 0.7) 52%, rgba(10, 20, 37, 0.44) 100%);
}

.login-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 640px;
    padding: 36px;
    color: #ffffff;
}

.login-hero-content h1 {
    margin: 0;
    max-width: 560px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 0.98;
}

.login-hero-note {
    margin: 0;
    max-width: 540px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.login-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: auto;
}

.login-feature-chip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 124px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.login-feature-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.login-feature-chip strong {
    font-size: 17px;
    line-height: 1.35;
    color: #ffffff;
}

.login-feature-copy {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.76);
}

.login-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-height: 640px;
    padding: 34px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(219, 227, 238, 0.88);
    backdrop-filter: blur(16px);
}

.login-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.login-card-note {
    margin: 8px 0 0;
    max-width: 460px;
}

.login-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.login-role-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 138px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.78);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-role-card:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 100, 217, 0.34);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.login-role-card.is-active {
    border-color: rgba(22, 100, 217, 0.5);
    box-shadow: 0 0 0 3px rgba(22, 100, 217, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.login-role-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.login-role-card strong {
    font-size: 16px;
    line-height: 1.25;
    color: var(--heading);
}

.login-role-card span:last-child {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.login-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}

.login-input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-input:focus {
    border-color: rgba(22, 100, 217, 0.54);
    box-shadow: 0 0 0 4px rgba(22, 100, 217, 0.12);
    outline: none;
    background: #ffffff;
}

.login-alert {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.6;
}

.login-alert-success {
    background: var(--success-soft);
    border-color: #d8eadf;
    color: #205f31;
}

.login-alert-error {
    background: var(--error-soft);
    border-color: #f0d0d0;
    color: #b13c3c;
}

.login-onboarding-link,
.login-submit {
    width: 100%;
}

.login-support-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.login-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 180px;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-support-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 100, 217, 0.34);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.fade-in {
    animation: fadeIn 0.22s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .login-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login-hero-panel,
    .login-card,
    .login-hero-content {
        min-height: auto;
    }

    .login-feature-list {
        grid-template-columns: 1fr;
    }

    .login-role-grid {
        grid-template-columns: 1fr;
    }

    .info-strip {
        grid-template-columns: 1fr;
    }

    .booking-flow-shell,
    .booking-master-layout,
    .booking-calendar-layout,
    .booking-entry-layout {
        grid-template-columns: 1fr;
    }

    .hero,
    .hero-content {
        min-height: 320px;
    }

    .booking-form-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .booking-services-panel {
        position: static;
        top: auto;
    }

    .booking-calendar-month {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .booking-month-weekdays {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .booking-services-list {
        grid-template-columns: 1fr;
    }

    .booking-master-summary {
        max-width: none;
        min-width: 0;
    }

    .booking-slots-content {
        gap: 12px;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 24px 16px 40px;
    }

    .login-hero-panel,
    .login-card {
        border-radius: 24px;
    }

    .login-hero-content,
    .login-card {
        padding: 24px;
    }

    .login-hero-content h1 {
        font-size: 32px;
    }

    .lang-switch {
        padding: 12px 16px 0;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        border-radius: 24px;
        min-height: 280px;
    }

    .hero-content {
        min-height: 280px;
        padding: 24px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .card,
    .booking-entry {
        padding: 20px;
    }

    .booking-entry-accent {
        padding: 0;
    }

    .booking-entry-inner {
        padding: 20px;
    }

    .booking-entry-overlay {
        background: linear-gradient(180deg, rgba(8, 14, 26, 0.95) 0%, rgba(8, 14, 26, 0.88) 34%, rgba(10, 20, 37, 0.68) 58%, rgba(255, 255, 255, 0.1) 76%, rgba(255, 255, 255, 0) 100%);
    }

    .booking-entry-flow-panel {
        padding: 18px;
        border-radius: 18px;
    }

    .booking-entry-stats-top {
        grid-template-columns: 1fr;
    }

    .booking-panel,
    .slot-selection-panel,
    .client-form-panel {
        padding: 16px;
        border-radius: 16px;
    }

    .calendar-grid,
    .slot-grid,
    .services-grid,
    .works-grid,
    .contact-grid,
    .trust-grid,
    .grid {
        grid-template-columns: 1fr;
    }

    .external-proof {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-hours-card {
        grid-column: auto;
    }

    .date-card {
        min-height: 92px;
    }

    .booking-calendar-month {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-month-weekdays {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .booking-slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .btn-primary,
    .btn-lg {
        width: 100%;
    }

    .choice-arrow {
        right: 16px;
    }

    .booking-services-head {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .service-select-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-select-card .choice-kicker {
        max-width: none;
    }

    .booking-master-summary-inline {
        flex-direction: column;
        align-items: flex-start;
    }
}
