@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --wine-950: #680715;
    --wine-900: #850b1d;
    --wine-800: #a10d23;
    --wine-700: #b8122b;
    --amber: #ffad0a;
    --amber-soft: #fff0cd;
    --ink: #19191b;
    --muted: #65656d;
    --line: #e8e5e3;
    --paper: #ffffff;
    --canvas: #f7f6f4;
    --success: #17745a;
    --danger: #c3263e;
    --shadow: 0 24px 70px rgba(84, 13, 28, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: 'Manrope', system-ui, sans-serif;
    background:
        radial-gradient(circle at 8% 5%, rgba(255, 173, 10, .12), transparent 30rem),
        radial-gradient(circle at 94% 93%, rgba(161, 13, 35, .09), transparent 34rem),
        var(--canvas);
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.booking-shell {
    width: min(1240px, calc(100% - 48px));
    min-height: calc(100vh - 48px);
    margin: 24px auto;
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
    overflow: hidden;
    border: 1px solid rgba(133, 11, 29, .08);
    border-radius: 30px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.booking-intro {
    position: relative;
    min-height: 720px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(145deg, var(--wine-950), var(--wine-800));
}

.booking-intro::before,
.booking-intro::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.booking-intro::before {
    width: 360px;
    height: 360px;
    right: -170px;
    top: -145px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 0 0 54px rgba(255,255,255,.025), 0 0 0 108px rgba(255,255,255,.02);
}

.booking-intro::after {
    width: 240px;
    height: 240px;
    left: -120px;
    bottom: -120px;
    background: rgba(255, 173, 10, .12);
}

.brand-lockup, .intro-copy, .confidence-list, .intro-footer { position: relative; z-index: 1; }

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 60px;
    height: 60px;
    padding: 8px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(35, 0, 8, .25);
}

.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand-label { margin-top: 3px; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 600; }

.intro-copy { margin: auto 0 34px; max-width: 500px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--amber);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 25px; height: 3px; border-radius: 9px; background: var(--amber); }
.intro-copy h1 { margin: 20px 0 18px; font-size: clamp(38px, 4vw, 60px); line-height: .98; letter-spacing: -.055em; }
.intro-copy p { margin: 0; max-width: 430px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; }

.confidence-list { display: grid; gap: 12px; margin-bottom: 34px; }
.confidence-item { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.confidence-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--amber);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.intro-footer { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.6; }

.booking-workspace { min-width: 0; padding: 38px clamp(28px, 5vw, 62px); display: flex; flex-direction: column; }
.workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.workspace-kicker { margin: 0 0 4px; color: var(--wine-800); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.workspace-title { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: none; transition: .2s ease; }
.back-link:hover { color: var(--wine-800); }

.progress-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 34px; }
.progress-step { display: flex; align-items: center; gap: 9px; min-width: 0; color: #a09da0; font-size: 11px; font-weight: 800; }
.progress-step::before {
    content: attr(data-step);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #faf9f8;
}
.progress-step.active { color: var(--wine-800); }
.progress-step.active::before { color: #fff; border-color: var(--wine-800); background: var(--wine-800); box-shadow: 0 7px 15px rgba(161,13,35,.2); }

.step-section { animation: fade-up .36s ease both; }
.hidden { display: none !important; }
@keyframes fade-up { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin: 0 0 9px; font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.choice-card {
    min-height: 178px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--ink);
    background: #fff;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.choice-card:hover { transform: translateY(-3px); border-color: rgba(161,13,35,.3); box-shadow: 0 18px 38px rgba(65,22,30,.1); }
.choice-card.primary { color: #fff; border: 0; background: linear-gradient(145deg, var(--wine-800), var(--wine-950)); }
.choice-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 14px; color: var(--wine-800); background: var(--amber-soft); font-size: 19px; }
.choice-card.primary .choice-icon { color: var(--wine-900); background: var(--amber); }
.choice-title { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 800; }
.choice-copy { color: var(--muted); font-size: 12px; line-height: 1.55; }
.choice-card.primary .choice-copy { color: rgba(255,255,255,.72); }

.manual-box { margin-top: 15px; padding: 20px; border: 1px solid rgba(161,13,35,.14); border-radius: 18px; background: #fff8f8; }
.field-label { display: block; margin-bottom: 8px; color: #3f3d40; font-size: 12px; font-weight: 800; }
.input-row { display: flex; gap: 9px; }
.field-control {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #dcd8d7;
    border-radius: 13px;
    outline: none;
    color: var(--ink);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field-control:focus { border-color: var(--wine-800); box-shadow: 0 0 0 4px rgba(161,13,35,.08); }
.field-control:disabled { color: #999; background: #f0efed; cursor: not-allowed; }
textarea.field-control { min-height: 108px; resize: vertical; }
.icon-button { width: 52px; flex: 0 0 auto; border: 0; border-radius: 13px; color: #fff; background: var(--wine-800); cursor: pointer; }
.error-text { margin: 9px 0 0; color: var(--danger); font-size: 11px; font-weight: 700; }

.notice { margin-top: 20px; padding: 15px 17px; display: flex; gap: 11px; border: 1px solid #eee4dc; border-radius: 15px; color: #5f5a59; background: #fffcf7; font-size: 12px; line-height: 1.55; }
.notice i { margin-top: 2px; color: var(--amber); }
.loader { padding: 24px 0 0; text-align: center; color: var(--muted); font-size: 12px; font-weight: 700; }
.spinner { width: 35px; height: 35px; margin: 0 auto 10px; border: 3px solid #eee6e7; border-top-color: var(--wine-800); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.quote-card { margin-bottom: 26px; padding: 19px 21px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--wine-950), var(--wine-800)); }
.quote-label { display: block; margin-bottom: 4px; color: rgba(255,255,255,.65); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quote-distance { margin: 0; font-size: 14px; font-weight: 700; }
.quote-price { color: var(--amber); font-size: 27px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-group.full { grid-column: 1 / -1; }
.date-alert { margin-bottom: 15px; padding: 12px 15px; border-left: 4px solid var(--danger); border-radius: 9px; color: #8d1528; background: #fff0f2; font-size: 12px; font-weight: 800; }
.primary-button {
    width: 100%;
    min-height: 54px;
    margin-top: 20px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--wine-800), var(--wine-950));
    box-shadow: 0 12px 28px rgba(133,11,29,.22);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(133,11,29,.28); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }

.success-state { max-width: 460px; margin: auto; padding: 60px 0; text-align: center; }
.success-icon { width: 88px; height: 88px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--success); box-shadow: 0 0 0 12px rgba(23,116,90,.09); font-size: 38px; }
.success-state h2 { margin: 0 0 12px; font-size: 34px; letter-spacing: -.05em; }
.success-state p { margin: 0; color: var(--muted); line-height: 1.65; }
.text-button { margin-top: 25px; border: 0; color: var(--wine-800); background: none; font-weight: 800; cursor: pointer; }

@media (max-width: 900px) {
    body { background: #fff; }
    .booking-shell { width: 100%; min-height: 100vh; margin: 0; display: block; border: 0; border-radius: 0; box-shadow: none; }
    .booking-intro { min-height: auto; padding: 24px 22px 28px; }
    .brand-mark { width: 48px; height: 48px; border-radius: 14px; }
    .intro-copy { margin: 38px 0 24px; }
    .intro-copy h1 { max-width: 480px; margin: 13px 0 11px; font-size: 36px; }
    .intro-copy p { font-size: 13px; }
    .confidence-list { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
    .confidence-item { align-items: flex-start; font-size: 10px; line-height: 1.4; }
    .confidence-icon { width: 28px; height: 28px; }
    .intro-footer { display: none; }
    .booking-workspace { padding: 28px 22px 38px; }
    .workspace-head { margin-bottom: 27px; }
}

@media (max-width: 580px) {
    .booking-intro { padding: 20px 18px 24px; }
    .brand-name { font-size: 12px; }
    .brand-label { font-size: 10px; }
    .intro-copy { margin-top: 30px; }
    .intro-copy h1 { font-size: 31px; }
    .confidence-list { grid-template-columns: 1fr; }
    .confidence-item:nth-child(n+3) { display: none; }
    .booking-workspace { padding: 25px 18px 34px; }
    .workspace-head { align-items: flex-start; }
    .workspace-title { font-size: 18px; }
    .back-link span { display: none; }
    .progress-step span { display: none; }
    .progress-step { justify-content: center; }
    .progress-step::after { content: ''; height: 2px; flex: 1; background: var(--line); }
    .progress-step:last-child::after { display: none; }
    .section-heading h2 { font-size: 28px; }
    .choice-grid { grid-template-columns: 1fr; }
    .choice-card { min-height: auto; padding: 20px; display: grid; grid-template-columns: 45px 1fr; column-gap: 14px; }
    .choice-icon { grid-row: span 2; margin: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .field-group.full { grid-column: auto; }
    .quote-card { align-items: flex-start; }
    .quote-price { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
