:root {
    --primary: #1a1a1a;
    --primary-light: #333333;
    --accent: #FF4F00;
    --accent-hover: #e04500;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    min-height: 100vh;
}

.booking-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.booking-header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.booking-header .booking-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-logo i {
    color: var(--accent);
    font-size: 28px;
}

.booking-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--gray-100);
    transition: all 0.3s ease;
}

.booking-phone:hover {
    background: var(--primary);
    color: var(--white);
}

.booking-progress-container {
    background: #111;
    padding: 24px 0;
    box-shadow: var(--shadow);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid var(--gray-600);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-line {
    flex: 1;
    height: 4px;
    background: var(--gray-600);
    margin: 0 -8px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    min-width: 40px;
    max-width: 80px;
}

.progress-step.active .step-circle {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 79, 0, 0.2);
}

.progress-step.active .step-label {
    color: var(--accent);
    font-weight: 700;
}

.progress-step.completed .step-circle {
    background: var(--success);
    color: var(--white);
    border-color: var(--success);
}

.progress-step.completed .step-label {
    color: var(--success);
}

.progress-line.completed {
    background: var(--success);
}

/* Quote Progress Bar (booking-progress-*) */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.booking-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.booking-progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 3px solid var(--gray-500);
}

.booking-progress-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.booking-progress-line {
    flex: 1;
    height: 4px;
    background: var(--gray-300);
    margin: 0 8px;
    position: relative;
    z-index: 1;
}

/* Quote Progress Bar States */
.booking-progress-step.active .booking-progress-circle {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 79, 0, 0.2);
}

.booking-progress-step.active .booking-progress-label {
    color: var(--accent);
    font-weight: 700;
}

.booking-progress-step.completed .booking-progress-circle {
    background: var(--success);
    border-color: var(--success);
}

.booking-progress-step.completed .booking-progress-label {
    color: var(--success);
}

.booking-progress-line.completed {
    background: var(--success);
}

.booking-progress-step:last-child .booking-progress-line {
    display: none;
}

.booking-main {
    flex: 1;
    padding: 40px 0;
}

.booking-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.booking-card-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-card-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.booking-card-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.booking-card-header .microcopy {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 8px;
    font-style: italic;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group label .required {
    color: var(--error);
    margin-left: 4px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--gray-800);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-control:disabled {
    background: var(--gray-100);
    cursor: not-allowed;
}

.form-control.error {
    border-color: var(--error);
}

.form-hint {
    font-size: 13px;
    color: var(--gray-500);
}

.form-error {
    font-size: 13px;
    color: var(--error);
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-group {
    display: flex;
    gap: 12px;
}

.toggle-option {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.toggle-option:hover {
    border-color: var(--primary-light);
    background: var(--gray-50);
}

.toggle-option.active {
    border-color: var(--primary);
    background: rgba(0, 51, 102, 0.05);
}

.toggle-option input {
    display: none;
}

.toggle-option-label {
    font-weight: 600;
    color: var(--gray-700);
    display: block;
}

.toggle-option-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

.booking-main .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.booking-main .btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 79, 0, 0.3);
}

.booking-main .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 79, 0, 0.4);
}

.booking-main .btn-primary:active {
    transform: translateY(0);
}

.booking-main .btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.booking-main .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.booking-main .btn-lg {
    padding: 20px 48px;
    font-size: 18px;
}

.booking-main .btn-block {
    width: 100%;
}

.booking-main .btn-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.booking-footer {
    display: none;
}

.welcome-hero {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.welcome-hero .tagline {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.trust-badge i {
    font-size: 24px;
    color: var(--accent);
}

.trust-badge-text {
    text-align: left;
}

.trust-badge-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-badge-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 24px;
}

.google-badge img {
    height: 16px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.service-card {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.service-card.selected {
    border-color: var(--primary);
    background: rgba(0, 51, 102, 0.05);
}

.service-card input[type="checkbox"] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 12px;
}

.service-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.service-description {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
}

.service-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-meta i {
    color: var(--accent);
}

.price-summary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.price-summary-row:last-child {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 20px;
    font-weight: 700;
}

.calendar-container {
    margin-top: 24px;
}

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

.calendar-nav {
    display: flex;
    gap: 12px;
}

.calendar-nav button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav button:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.calendar-month {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

.calendar-day-header {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    padding: 8px;
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    border-color: var(--primary-light);
    background: var(--gray-50);
}

.calendar-day.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.calendar-day.available {
    color: var(--gray-700);
}

.calendar-day.available::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
}

.calendar-day.disabled {
    color: var(--gray-300);
    cursor: not-allowed;
}

.calendar-day.today {
    border-color: var(--accent);
}

.time-slots {
    margin-top: 32px;
}

.time-slots-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.time-slot {
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--primary-light);
    background: var(--gray-50);
}

.time-slot.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.time-slot.disabled {
    color: var(--gray-300);
    cursor: not-allowed;
    background: var(--gray-100);
}

.time-slot-time {
    font-size: 16px;
    font-weight: 700;
}

.time-slot-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.time-slot.selected .time-slot-label {
    color: rgba(255, 255, 255, 0.8);
}

.file-upload {
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.file-upload i {
    font-size: 48px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.file-upload-text {
    font-size: 16px;
    color: var(--gray-600);
}

.file-upload-hint {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 8px;
}

.file-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.file-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gray-200);
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: var(--error);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-section {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.review-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    color: var(--gray-600);
    font-weight: 500;
}

.review-value {
    color: var(--gray-800);
    font-weight: 700;
}

.upsell-section {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.upsell-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upsell-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 8px;
}

.upsell-item:last-child {
    margin-bottom: 0;
}

.upsell-add {
    padding: 8px 16px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.upsell-add:hover {
    background: var(--accent-hover);
}

.success-container {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: var(--white);
    font-size: 60px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.success-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.success-message {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.booking-reference {
    background: var(--gray-100);
    padding: 16px 32px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 32px;
}

.booking-reference-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-reference-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.qr-code {
    margin: 32px auto;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: inline-block;
}

.map-container {
    margin-top: 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

@media (max-width: 768px) {
    .booking-card {
        padding: 32px 24px;
        margin: 0 16px;
        border-radius: 12px;
    }

    .booking-card-header h1 {
        font-size: 24px;
    }

    .progress-steps {
        gap: 0;
    }

    .step-label {
        display: none;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .progress-line {
        min-width: 20px;
        max-width: 40px;
    }

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

    .welcome-hero .tagline {
        font-size: 16px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

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

    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        font-size: 14px;
    }

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

    .booking-main .btn-group {
        flex-direction: column;
    }

    .booking-main .btn {
        width: 100%;
    }

    .booking-header .booking-container {
        flex-direction: column;
        gap: 12px;
    }

    .booking-phone {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .booking-card {
        padding: 24px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .toggle-group {
        flex-direction: column;
    }

    .success-title {
        font-size: 28px;
    }

    .success-actions {
        flex-direction: column;
    }
}
