:root {
    --primary: #0a3d62;
    --primary-light: #1b6ca8;
    --accent: #1b9cfc;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --text: #1a1a2e;
    --text-muted: #4b5563; /* oscurecido para mejor visibilidad */
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e5e7eb;
    --radius: 14px; /* ligeramente más redondeado */
    --radius-sm: 10px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-card-hover: 0 12px 28px rgba(0,0,0,0.15); /* nueva sombra para hover */
    --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

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

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    font-size: 15px; /* base ligeramente mayor */
}

button,
input,
select,
textarea {
    max-width: 100%;
}

.booking-app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Header */
.booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    background: var(--card);
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.logo h1 { font-size: 18px; color: var(--primary); }
.logo h1 span { font-weight: 400; color: var(--text-muted); }
.back-link {
    color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px;
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 4px; margin: -8px -4px;
}
.back-link:hover { color: var(--primary-light); }

/* Language Toggle */
.lang-toggle { display: flex; gap: 4px; }
.lang-btn {
    padding: 9px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
    text-decoration: none; color: var(--text-muted); background: var(--bg); transition: var(--transition);
    min-height: 40px; display: inline-flex; align-items: center;
}
.lang-btn.active { background: var(--primary); color: #fff; }

/* Progress */
.progress-bar { height: 3px; background: var(--border); }
.progress-fill { height: 100%; background: var(--accent); transition: width 0.4s ease; border-radius: 0 2px 2px 0; }
.step-indicator { text-align: center; font-size: 13px; color: var(--text-muted); padding: 10px; }

/* Content */
.booking-content { flex: 1; padding: 20px; }
.step-card {
    background: var(--card); border-radius: var(--radius); padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-card-hover); }
.step-card h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.step-subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

/* Animation */
.animate-in { animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input {
    width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm);
    font-size: 16px; transition: var(--transition); background: var(--bg); outline: none;
}
.form-input:focus {
    border-color: var(--accent); background: #fff;
    box-shadow: 0 0 0 4px rgba(27, 156, 252, 0.15); /* anillo de enfoque visible */
}
.form-input-lg { padding: 18px 20px; font-size: 18px; text-align: center; }
.form-textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Estilos de foco visibles para accesibilidad */
button:focus-visible, a:focus-visible, input:focus-visible, .selector-btn:focus-visible,
.service-card:focus-visible, .condition-card:focus-visible, .slot-btn:focus-visible,
.payment-option:focus-within, .extra-card:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px;
    text-decoration: none; border: none; cursor: pointer; transition: var(--transition);
    will-change: transform;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary:active { transform: translateY(0); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 44px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-icon { width: 18px; height: 18px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }

.empty-state {
    text-align: center;
    padding: 28px 16px;
    color: var(--text-muted);
}
.empty-state i {
    display: block;
    font-size: 34px;
    margin-bottom: 10px;
    opacity: 0.35;
}
.empty-state p { font-size: 14px; margin: 0; }
.form-hint {
    display: block;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
}

/* Service Cards - MEJORADAS */
.service-cards { display: flex; flex-direction: column; gap: 12px; }
.service-card {
    display: flex; align-items: center; gap: 16px;
    padding: 20px; border: 2px solid var(--border); border-radius: var(--radius);
    text-decoration: none; color: var(--text); transition: var(--transition); position: relative;
    background: var(--card);
}
.service-card:hover, .service-card.selected {
    border-color: var(--accent);
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}
.service-card:active { transform: translateY(-1px); }
.service-card .service-icon { font-size: 32px; min-width: 40px; text-align: center; }
.service-card h3 { font-size: 17px; margin: 0 0 4px; max-width: 190px; }
.service-card p { font-size: 14px; color: var(--text-muted); margin: 0; }
.badge {
    position: absolute; top: 18px; right: 18px; padding: 4px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    max-width: 150px; white-space: nowrap;
}
.badge-green { background: #dcfce7; color: var(--success); }
.badge-blue { background: #dbeafe; color: #2563eb; }

@media (min-width: 640px) {
    .service-card { padding-right: 190px; }
}

@media (max-width: 639px) {
    .badge {
        position: static;
        order: 3;
        align-self: flex-start;
        margin-left: auto;
    }
    .service-card {
        flex-wrap: wrap;
    }
    .service-card h3 { max-width: none; }
}

/* Selector Grid (bedrooms/bathrooms) */
.selector-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.selector-btn {
    padding: 12px 18px; border: 2px solid var(--border); border-radius: var(--radius-sm);
    background: var(--bg); font-weight: 600; font-size: 15px; cursor: pointer; transition: var(--transition);
    min-width: 52px; text-align: center;
}
.selector-btn:hover { border-color: var(--accent); background: #fff; }
.selector-btn.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(28, 90, 158, 0.2);
}

/* Price Preview - MEJORADO */
.price-preview {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; background: linear-gradient(135deg, #f0fdf4, #e6ffed);
    border-radius: var(--radius-sm); margin: 20px 0;
    border: 1px solid #bbf7d0;
}
.price-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.price-amount { font-size: 26px; font-weight: 700; color: var(--primary); }

/* Condition Cards - MEJORADAS */
.condition-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.condition-card {
    padding: 20px 12px; border: 2px solid var(--border); border-radius: var(--radius);
    text-align: center; cursor: pointer; transition: var(--transition); background: var(--card); position: relative;
}
.condition-card:hover, .condition-card.selected {
    border-color: var(--accent);
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.condition-card:active { transform: translateY(0); }
.condition-emoji { font-size: 36px; margin-bottom: 8px; }
.condition-card h4 { font-size: 15px; margin-bottom: 4px; }
.condition-card p { font-size: 12px; color: var(--text-muted); }
.condition-badge { position: absolute; top: 8px; right: 8px; font-size: 10px; font-weight: 700; color: var(--warning); background: #fff3cd; padding: 2px 6px; border-radius: 8px; }
.condition-badge-red { color: var(--danger); background: #ffe3e3; }

/* Extras Grid - MEJORADO */
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.extra-card { cursor: pointer; }
.extra-card input { display: none; }
.extra-card-inner {
    padding: 16px 10px; border: 2px solid var(--border); border-radius: var(--radius-sm);
    text-align: center; transition: var(--transition); background: var(--card);
}
.extra-card input:checked + .extra-card-inner {
    border-color: var(--accent);
    background: #f0f9ff;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(27, 156, 252, 0.15);
}
.extra-icon { font-size: 22px; margin-bottom: 6px; color: var(--primary); }
.extra-name { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.extra-price { font-size: 14px; font-weight: 700; color: var(--success); }
.extras-total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; background: #f0fdf4; border-radius: var(--radius-sm); margin-bottom: 16px;
    font-weight: 600; font-size: 15px;
}

/* Slots Grid - MEJORADO */
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-btn {
    padding: 12px 8px; border: 2px solid var(--border); border-radius: var(--radius-sm);
    background: var(--card); font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--transition);
    position: relative;
}
.slot-btn:hover { border-color: var(--accent); background: #f8faff; }
.slot-btn.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(28, 90, 158, 0.25);
}
.slot-btn.slot-surge { border-color: var(--warning); background: #fffdf5; }
.slot-btn.slot-surge.active { background: var(--warning); color: #fff; }
.surge-dot {
    position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--warning); box-shadow: 0 0 6px rgba(243, 156, 18, 0.6);
}
.no-slots { grid-column: 1/-1; text-align: center; color: var(--text-muted); padding: 20px; }
.slots-loading { grid-column: 1/-1; text-align: center; color: var(--text-muted); padding: 20px; }

/* Payment Options - MEJORADO */
.payment-options { display: flex; flex-direction: column; gap: 8px; }
.payment-option {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
    background: var(--card);
}
.payment-option:has(input:checked) {
    border-color: var(--accent); background: #f0f9ff;
    box-shadow: 0 2px 8px rgba(27, 156, 252, 0.1);
}
.payment-option input { accent-color: var(--primary); width: 18px; height: 18px; }
.payment-label { font-size: 15px; font-weight: 500; }

/* Frequency Options */
.frequency-section { margin: 20px 0; padding: 16px; background: var(--bg); border-radius: var(--radius); }
.frequency-section h4 { font-size: 14px; margin-bottom: 10px; }
.frequency-options { display: flex; flex-wrap: wrap; gap: 8px; }
.frequency-option {
    padding: 8px 14px; border: 2px solid var(--border); border-radius: 20px;
    font-size: 13px; font-weight: 500; cursor: pointer; transition: var(--transition);
    background: var(--card);
}
.frequency-option.active, .frequency-option:has(input:checked) {
    background: var(--primary); color: #fff; border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(10,61,98,0.2);
}
.frequency-option input { display: none; }

/* Coupon */
.coupon-section { margin: 16px 0; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .form-input { flex: 1; padding: 12px 14px; font-size: 16px; }
.coupon-error { color: var(--danger); font-size: 13px; margin-top: 6px; }
.coupon-success { color: var(--success); font-size: 13px; margin-top: 6px; }

/* Review Section */
.review-section { margin-bottom: 20px; padding: 18px; background: var(--bg); border-radius: var(--radius); }
.review-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.review-row:last-child { border-bottom: none; }
.review-label { color: var(--text-muted); }
.review-value { font-weight: 500; text-align: right; max-width: 60%; }

/* Price Breakdown - MEJORADO */
.price-breakdown { margin: 20px 0; padding: 20px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.price-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.price-row.discount { color: var(--success); }
.price-row.price-total {
    font-size: 20px; font-weight: 700; border-top: 2px solid var(--border); padding-top: 14px; margin-top: 10px;
    color: var(--primary);
}
.price-row.price-deposit { color: var(--accent); font-weight: 600; }

/* Thank You */
.thankyou-card { text-align: center; padding: 40px 24px; }
.thankyou-icon { font-size: 64px; margin-bottom: 16px; }
.thankyou-card h1 { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.confirmation-email { color: var(--text-muted); font-size: 15px; margin: 16px 0; }
.thankyou-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* Footer */
.booking-footer { padding: 16px; text-align: center; font-size: 12px; color: var(--text-muted); }
.booking-footer a { color: var(--primary); }

/* Responsive */
@media (min-width: 640px) {
    .booking-app { max-width: 540px; padding: 20px; }
    .slots-grid { grid-template-columns: repeat(4, 1fr); }
    .extras-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .booking-app { max-width: 600px; }
}

/* V8 Elite public booking experience */
body[data-booking-v8="1"] {
    background:
        radial-gradient(circle at 20% 8%, rgba(12, 108, 168, 0.12), transparent 30%),
        linear-gradient(135deg, #f7fbff 0%, #eef7f3 52%, #fffaf2 100%);
    overscroll-behavior-x: none;
}

body[data-booking-v8="1"] *,
body[data-booking-v8="1"] *::before,
body[data-booking-v8="1"] *::after {
    min-width: 0;
}

.booking-app-v8 {
    max-width: 1120px;
    padding: 0 20px 32px;
    position: relative;
    width: 100%;
    overflow-x: clip;
}

.booking-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(28, 90, 158, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 90, 158, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 72%);
}

.booking-app-v8 .booking-header {
    width: min(100%, 1040px);
    margin: 16px auto 0;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 18px 55px rgba(10,61,98,.12);
}

.booking-app-v8 .logo h1 { font-size: 19px; letter-spacing: 0; }
.booking-app-v8 .logo p { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

.booking-app-v8 .progress-wrap {
    width: min(100%, 960px);
    margin: 16px auto 0;
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 12px 34px rgba(10,61,98,.08);
}

.booking-app-v8 .step-indicator {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px 8px;
    font-size: 13px;
}

.booking-app-v8 .step-indicator strong { color: var(--primary); }
.booking-app-v8 .progress-bar { height: 8px; border-radius: 999px; overflow: hidden; background: rgba(10,61,98,.1); }
.booking-app-v8 .progress-fill { background: linear-gradient(90deg, #0a3d62, #1b9cfc, #27ae60); border-radius: 999px; }

.booking-app-v8 .booking-content {
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: 24px 0;
    min-width: 0;
}

.booking-hero {
    padding: 28px 4px 18px;
    max-width: 830px;
}

.hero-eyebrow,
.concierge-kicker,
.step-topline span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.booking-hero h2 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
    max-width: 820px;
    margin: 8px 0 12px;
    overflow-wrap: anywhere;
}

.booking-hero p {
    color: var(--text-muted);
    max-width: 680px;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-proof span,
.concierge-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(10,61,98,.12);
    color: #17324a;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
}

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
    min-width: 0;
}

.booking-app-v8 .step-card,
.concierge-panel {
    border: 1px solid rgba(255,255,255,.75);
    background: rgba(255,255,255,.84);
    box-shadow: 0 24px 60px rgba(10,61,98,.14);
    backdrop-filter: blur(18px);
}

.booking-app-v8 .step-card {
    border-radius: 24px;
    padding: 30px;
    min-width: 0;
    overflow: hidden;
}

.step-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    min-width: 0;
    flex-wrap: wrap;
}

.step-topline strong {
    color: #216b4f;
    background: rgba(39,174,96,.1);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
}

.service-card-v8,
.booking-app-v8 .condition-card,
.booking-app-v8 .extra-card-inner {
    position: relative;
    border: 1px solid rgba(10,61,98,.12);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,253,255,.88));
    box-shadow: 0 14px 32px rgba(10,61,98,.08);
    transform: translateZ(0);
}

.service-card-v8 {
    width: 100%;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) minmax(126px, auto);
    gap: 14px 18px;
    align-items: center;
    text-align: left;
    overflow: hidden;
    padding: 22px 24px;
    min-width: 0;
    white-space: normal;
}

.booking-app-v8 .service-card {
    padding-right: 24px;
}

.booking-app-v8 .service-card h3 {
    max-width: none;
}

.service-card-v8 .service-icon {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.service-card-v8 .service-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.service-card-v8 .service-copy h3,
.service-card-v8 .service-copy p,
.service-card-v8 .service-copy li {
    overflow-wrap: anywhere;
}

.service-card-meta {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    justify-items: end;
    align-content: center;
    gap: 8px;
    min-width: 0;
}

.service-card-meta .badge {
    position: static;
    top: auto;
    right: auto;
    margin: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.service-card-v8:hover,
.booking-app-v8 .condition-card:hover,
.booking-app-v8 .extra-card:hover .extra-card-inner {
    transform: translateY(-3px);
    border-color: rgba(27,156,252,.45);
    box-shadow: 0 22px 44px rgba(10,61,98,.15);
}

.service-card-v8 ul {
    margin-top: 10px;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 13px;
}

.start-price {
    position: static;
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    line-height: 1;
}

.recommended-card {
    border-color: rgba(39,174,96,.5);
    background: linear-gradient(180deg, #ffffff, #f2fff7);
}

.concierge-panel {
    border-radius: 22px;
    padding: 22px;
    position: sticky;
    top: 112px;
}

.concierge-panel h3 {
    font-size: 22px;
    line-height: 1.16;
    margin: 8px 0 14px;
    overflow-wrap: anywhere;
}

.concierge-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.concierge-recs {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.concierge-rec {
    padding: 12px;
    border-radius: 16px;
    background: rgba(10,61,98,.06);
    border: 1px solid rgba(10,61,98,.08);
}

.concierge-rec p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.trust-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 16px 0 0;
}

.trust-list li {
    color: var(--text-muted);
    font-size: 13px;
    padding-left: 20px;
    position: relative;
}

.trust-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    position: absolute;
    left: 0;
    top: 8px;
}

.trust-layer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 22px;
}

.trust-pill-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(10,61,98,.1);
    border-radius: 16px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 10px 24px rgba(10,61,98,.06);
}

.trust-pill-card i {
    color: #216b4f;
    margin-top: 3px;
}

.trust-pill-card strong,
.trust-pill-card small {
    display: block;
}

.trust-pill-card strong {
    font-size: 12px;
    color: #12304a;
    line-height: 1.25;
}

.trust-pill-card small {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.35;
    margin-top: 2px;
}

.guided-form {
    display: grid;
    gap: 14px;
}

.soft-form-section {
    padding: 16px;
    border: 1px solid rgba(10,61,98,.1);
    border-radius: 18px;
    background: rgba(255,255,255,.58);
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.premium-toggle .payment-label {
    display: grid;
    gap: 2px;
}

.premium-toggle .payment-label small {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.frequency-hero-card {
    border-color: rgba(39,174,96,.68);
    background:
        linear-gradient(180deg, rgba(255,255,255,.99), rgba(239,255,246,.96));
    box-shadow: 0 22px 50px rgba(39,174,96,.16);
}

.frequency-hero-card .service-icon {
    color: var(--success);
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.premium-toggle {
    border: 1px solid rgba(10,61,98,.12);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,.72);
}

.extra-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.extra-card input:checked + .extra-card-inner {
    border-color: rgba(39,174,96,.72);
    background: linear-gradient(180deg, #ffffff, #f1fff6);
    box-shadow: 0 20px 40px rgba(39,174,96,.13);
}

.extra-reason {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.35;
}

.extra-benefit {
    display: block;
    color: #26384c;
    font-size: 12px;
    line-height: 1.35;
    margin: 7px auto 0;
    max-width: 220px;
}

.extra-card-inner .badge {
    position: static;
    display: inline-flex;
    justify-content: center;
    margin: 0 auto 10px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.15;
}

.extra-original-name {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.25;
    margin-top: -1px;
}

.extra-recommended .extra-card-inner { border-color: rgba(27,156,252,.35); }

.price-hero {
    border-radius: 22px;
    padding: 22px;
    margin: 18px 0;
    color: #fff;
    background: linear-gradient(135deg, #092f4c, #106a8f 48%, #21855f);
    box-shadow: 0 22px 42px rgba(10,61,98,.22);
}

.price-hero span { display: block; opacity: .9; font-weight: 700; }
.price-hero strong { display: block; font-size: clamp(34px, 6vw, 54px); line-height: 1; margin: 8px 0; }
.price-hero p { opacity: .9; max-width: 520px; }

.value-callout {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    background: rgba(39,174,96,.1);
    border: 1px solid rgba(39,174,96,.2);
    margin: 16px 0;
}

.value-callout i { color: var(--success); font-size: 22px; margin-top: 3px; }
.value-callout p { color: var(--text-muted); margin-top: 3px; }

.sticky-booking-cta {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(calc(100% - 28px), 520px);
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(10,61,98,.14);
    border-radius: 18px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-shadow: 0 18px 45px rgba(10,61,98,.2);
    backdrop-filter: blur(16px);
    z-index: 120;
}

.sticky-booking-cta[hidden] { display: none; }
.sticky-booking-cta span { font-weight: 800; color: var(--primary); }

@media (max-width: 640px) {
    .form-row,
    .condition-cards,
    .extras-grid,
    .slots-grid {
        grid-template-columns: 1fr;
    }

    .booking-app-v8 .service-card-v8 {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 18px;
    }

    .service-card-v8 .service-icon {
        grid-column: 1;
        grid-row: 1;
        font-size: 26px;
    }

    .service-card-v8 .service-copy {
        grid-column: 2;
        grid-row: 1;
    }

    .service-card-v8 .service-copy h3 {
        font-size: 17px;
        line-height: 1.18;
    }

    .service-card-v8 .service-copy p,
    .service-card-v8 .service-copy li {
        font-size: 13px;
        line-height: 1.35;
    }

    .service-card-meta {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
    }

    .service-card-meta .badge {
        align-self: auto;
        margin-left: 0;
    }

    .start-price {
        white-space: normal;
    }

    .review-row,
    .price-row {
        gap: 10px;
        align-items: flex-start;
    }

    .review-value {
        max-width: 58%;
        overflow-wrap: anywhere;
    }

    .sticky-booking-cta {
        bottom: max(10px, env(safe-area-inset-bottom));
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    body[data-booking-v8="1"] {
        background:
            linear-gradient(180deg, rgba(237, 248, 252, 0.98), rgba(247, 251, 255, 0.98));
    }

    .booking-app-v8 {
        padding: 0 10px calc(96px + env(safe-area-inset-bottom));
    }

    .booking-app-v8 .booking-header,
    .booking-app-v8 .progress-wrap {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .booking-app-v8 .booking-header {
        padding: 14px 16px;
    }

    .booking-app-v8 .booking-content {
        padding: 18px 0;
    }

    .booking-hero {
        padding: 22px 4px 12px;
        max-width: 100%;
    }

    .booking-hero h2 {
        font-size: 31px;
        line-height: 1.08;
        max-width: 100%;
    }

    .booking-hero p {
        font-size: 15px;
        line-height: 1.55;
        max-width: 100%;
    }

    .hero-proof {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-proof span,
    .concierge-badges span {
        width: 100%;
        justify-content: center;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .concierge-panel {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        overflow: hidden;
    }

    .concierge-panel h3 {
        font-size: 21px;
    }

    .concierge-rec {
        min-width: 0;
    }

    .booking-app-v8 .step-card {
        padding: 20px 14px;
    }

    .booking-app-v8 .step-card h2 {
        font-size: 23px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .step-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 860px) {
    .booking-app-v8 { padding: 0 12px 86px; }
    .booking-grid { grid-template-columns: 1fr; }
    .concierge-panel { position: static; order: -1; }
    .booking-hero h2 { font-size: clamp(28px, 5.6vw, 38px); }
    .booking-hero p { font-size: 14px; max-width: 34ch; }
    .concierge-rec p { max-width: 32ch; }
    .trust-layer { grid-template-columns: 1fr; }
    .trust-pill-card { padding: 11px 12px; }
    .booking-app-v8 .step-card { padding: 22px 18px; border-radius: 20px; }
    .booking-app-v8 .booking-header { margin-top: 10px; border-radius: 18px; }
}

@media (max-width: 480px) {
    .booking-app-v8 {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .booking-hero,
    .booking-grid,
    .concierge-panel,
    .booking-app-v8 .step-card,
    .service-cards,
    .service-card-v8 {
        max-width: 100%;
        width: 100%;
    }

    .booking-hero h2 {
        font-size: 28px;
        line-height: 1.1;
    }

    .booking-hero p {
        font-size: 14px;
    }

    .concierge-rec,
    .concierge-rec p,
    .trust-list li,
    .extra-benefit,
    .trust-pill-card small {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .soft-form-section {
        padding: 14px;
        border-radius: 16px;
    }

    .trust-layer {
        margin: 14px 0 18px;
    }
}

/* Copy-diet follow-up: when a page has no concierge panel, the card uses the full width
   instead of leaving a 320px empty gutter (steps 2-6 no longer render the aside). */
.booking-grid:not(:has(.concierge-panel)) { grid-template-columns: minmax(0, 1fr); }

/* "Your plan" merged screen: radio pills reuse the selector-btn look; the radio itself is
   visually hidden but stays keyboard/screen-reader accessible. */
.pill-radio { position: relative; cursor: pointer; user-select: none; }
.pill-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pill-radio:has(input:checked) { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(28,90,158,.22); }
.pill-radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pill-radio .pill-save { font-weight: 800; opacity: .85; margin-left: 4px; }
.plan-row { margin-top: 6px; }

/* ============================================================================
   WARM & HOMEY DIRECTION (owner-approved 2026-07-02) — presentation-only.
   Appended last so the cascade wins; no markup/POST/JS contract touched.
   Palette: cream + warm charcoal, sage-green primary, terracotta accent.
   Type: Fraunces (serif) for headlines + the price number; Inter for the rest.
   ========================================================================== */
:root {
    --primary: #1c5a9e;
    --primary-light: #4f86c9;
    --accent: #e35a34;
    --success: #2a8fc0;
    --text: #1b2a3d;
    --text-muted: #5a6b7f;
    --bg: #f4f7fb;
    --card: #ffffff;
    --border: #e2e8f2;
    --brand: #1c5a9e;
    --shadow: 0 4px 20px rgba(20,45,80,0.06);
    --shadow-lg: 0 10px 34px rgba(20,45,80,0.10);
    --shadow-card-hover: 0 14px 30px rgba(20,45,80,0.12);
}
.booking-hero h2,
.step-card h2,
.step-card h1,
.price-hero strong,
.concierge-panel h3,
.thankyou-card h1 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-optical-sizing: auto;
    letter-spacing: -0.01em;
}
.price-hero strong { font-weight: 600; }
.booking-hero h2 { font-weight: 600; }
.booking-ambient {
    background-image:
        radial-gradient(60% 50% at 15% 0%, rgba(227,90,52,0.06), transparent 70%),
        radial-gradient(55% 45% at 100% 8%, rgba(28,90,158,0.07), transparent 72%);
    background-size: auto;
    mask-image: none;
}
.booking-app-v8 .booking-header {
    border-color: rgba(255,255,255,.7);
    background: rgba(255,253,249,.86);
    box-shadow: 0 16px 48px rgba(20,45,80,.10);
}
.booking-app-v8 .progress-wrap {
    background: rgba(255,253,249,.72);
    box-shadow: 0 12px 30px rgba(20,45,80,.07);
}
.booking-app-v8 .progress-bar { background: rgba(28,90,158,.12); }
.booking-app-v8 .progress-fill { background: linear-gradient(90deg, #1c5a9e 0%, #1c5a9e 82%, #e35a34 100%); border-radius: 999px; }
.hero-eyebrow, .concierge-kicker, .step-topline span { color: var(--accent); }
.price-hero { background: linear-gradient(135deg, #1c5a9e, #7c3f9e 55%, #e35a34) !important; }
#bookingGrandTotal { background: linear-gradient(135deg, #1c5a9e, #7c3f9e 55%, #e35a34) !important; }
.value-callout { background: rgba(42,143,192,.08); border-color: rgba(42,143,192,.18); }
.badge-green { background: rgba(42,143,192,.14); color: #1c5a9e; }
.badge-blue { background: rgba(227,90,52,.14); color: #b8451f; }
.start-price { color: var(--primary); }

/* Warm photography treatment (hero banner + service-card thumbnails). */
.hero-visual {
    position: relative;
    margin: 22px 0 6px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(20,45,80,.16);
    max-width: 900px;
}
.hero-visual img {
    display: block;
    width: 100%;
    height: clamp(200px, 32vw, 350px);
    object-fit: cover;
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44,40,35,.55), transparent 46%);
    pointer-events: none;
}
.hero-visual figcaption {
    position: absolute;
    left: 20px;
    bottom: 16px;
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(18px, 2.6vw, 27px);
    text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.service-thumb {
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(20,45,80,.14);
}
.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 640px) {
    .service-thumb { width: 58px; height: 58px; }
    .hero-visual { margin: 16px 0 4px; }
}


/* ================= PREMIUM + RESPONSIVE POLISH (audit-driven 2026-07-02) ================= */

/* Tap targets: every pill/chip to a true 44px (details, plan, slot chips). */
.selector-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; }

/* Restraint: the big content panel must not lift on hover (only clickable cards do). */
.booking-app-v8 .step-card:hover { box-shadow: 0 20px 50px rgba(20,45,80,.10); }

/* Editorial type rhythm. */
.section-kicker, .hero-eyebrow, .concierge-kicker, .step-topline span, .step-topline strong { letter-spacing: .14em; font-size: 11px; }
.booking-app-v8 .step-card h2 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 8px; }
.step-subtitle { max-width: 46ch; line-height: 1.5; }
.booking-app-v8 .form-group label { font-size: 13px; letter-spacing: .02em; color: #2b3a4d; }

/* Warm shadow/border/token sweep (kills cold navy on cream cohesion break). */
:root { --ink: 20,45,80; --hair: 226,232,242; --sagergb: 28,90,158; }
.booking-app-v8 .step-card, .concierge-panel { box-shadow: 0 20px 50px rgba(var(--ink),.10); border-color: rgba(var(--hair),.9); }
.service-card-v8, .booking-app-v8 .condition-card, .extra-card-inner { border-color: rgba(var(--sagergb),.16); box-shadow: 0 10px 26px rgba(var(--ink),.07); }
.service-card-v8:hover, .booking-app-v8 .condition-card:hover, .extra-card:hover .extra-card-inner { border-color: rgba(227,90,52,.45); box-shadow: 0 20px 40px rgba(var(--ink),.12); }
.hero-proof span, .concierge-badges span { border-color: rgba(var(--sagergb),.16); color: #2a4a6e; }
.trust-pill-card { border-color: rgba(var(--sagergb),.14); box-shadow: 0 10px 24px rgba(var(--ink),.06); }
.trust-pill-card i, .trust-pill-card strong { color: #1c5a9e; }
.concierge-rec { background: rgba(var(--sagergb),.06); border-color: rgba(var(--sagergb),.1); }
.sticky-booking-cta { border-color: rgba(var(--sagergb),.16); box-shadow: 0 18px 45px rgba(var(--ink),.16); }

/* Price breakdown -> tabular ledger with serif total. */
.price-row span:last-child { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.price-row.price-total span:last-child { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 22px; }
.price-breakdown { background: var(--card); border-color: rgba(42,143,192,.14); }
.price-row.price-total { border-top-color: rgba(42,143,192,.2); }
.price-row.discount span { font-weight: 600; }

/* Badges + from-price into the type/palette system. */
.badge { padding: 5px 11px; border: 1px solid transparent; }
.badge-green { border-color: rgba(42,143,192,.22); }
.badge-blue { border-color: rgba(227,90,52,.22); }
.start-price { font-family: 'Fraunces', Georgia, serif; font-size: 16px; font-weight: 600; color: var(--primary); }

/* Live total (step 4) = same serif hero energy as review (step 5). */
#bookingGrandTotal { border-radius: 18px !important; padding: 20px 22px !important; box-shadow: 0 22px 42px rgba(20,45,80,.18); }
#bookingGrandTotal #grandTotalAmount { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 30px; }

/* Named, compositor-friendly transitions (drop transition:all jank on hot elements). */
body[data-booking-v8='1'] .btn, body[data-booking-v8='1'] .selector-btn, body[data-booking-v8='1'] .slot-btn { transition: transform .18s cubic-bezier(.2,0,0,1), box-shadow .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
body[data-booking-v8='1'] .service-card-v8, body[data-booking-v8='1'] .booking-app-v8 .condition-card { will-change: transform; }

/* STAR MOMENT: cursor-follow spotlight (consumes booking.js --mx/--my; desktop only). */
@media (hover: hover) {
    .service-card-v8, .booking-app-v8 .condition-card { position: relative; }
    .service-card-v8::before, .booking-app-v8 .condition-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(28,90,158,.10), transparent 60%); z-index: 0; }
    .service-card-v8:hover::before, .booking-app-v8 .condition-card:hover::before { opacity: 1; }
    .service-card-v8 > *, .booking-app-v8 .condition-card > * { position: relative; z-index: 1; }
}

/* Pill/chip select spring pop + press-in. */
.selector-btn:active { transform: scale(.94); transition: transform .08s ease; }
@media (prefers-reduced-motion: no-preference) {
    .selector-btn.active, .pill-radio:has(input:checked), .slot-btn.active { animation: pillPop .22s cubic-bezier(.34,1.56,.64,1); }
    @keyframes pillPop { 0% { transform: scale(.96); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }
}

/* Staggered card entrance (boutique choreography). */
@media (prefers-reduced-motion: no-preference) {
    .service-cards .service-card-v8, .extras-grid .extra-card { opacity: 0; animation: cardRise .45s cubic-bezier(.2,0,0,1) forwards; }
    @keyframes cardRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
    .service-cards .service-card-v8:nth-child(1), .extras-grid .extra-card:nth-child(1) { animation-delay: .05s; }
    .service-cards .service-card-v8:nth-child(2), .extras-grid .extra-card:nth-child(2) { animation-delay: .12s; }
    .service-cards .service-card-v8:nth-child(3), .extras-grid .extra-card:nth-child(3) { animation-delay: .19s; }
    .extras-grid .extra-card:nth-child(4) { animation-delay: .26s; }
    .extras-grid .extra-card:nth-child(5) { animation-delay: .33s; }
    .extras-grid .extra-card:nth-child(6) { animation-delay: .40s; }
}

/* Warm two-layer focus ring that hugs rounded corners. */
button:focus-visible, a:focus-visible, .selector-btn:focus-visible, .service-card-v8:focus-visible, .booking-app-v8 .condition-card:focus-visible, .slot-btn:focus-visible, .form-input:focus-visible, .pill-radio:has(input:focus-visible) { outline: none; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px rgba(227,90,52,.55); border-radius: 12px; transition: box-shadow .15s ease; }
@media (forced-colors: active) { button:focus-visible, a:focus-visible, .selector-btn:focus-visible, .form-input:focus-visible { outline: 2px solid; } }

/* Sticky CTA slides in/out instead of a hard pop (must follow the [hidden]{display:none} rule). */
.sticky-booking-cta { transition: transform .28s cubic-bezier(.2,0,0,1), opacity .28s ease; }
.sticky-booking-cta[hidden] { display: flex !important; opacity: 0; transform: translate(-50%, 120%); pointer-events: none; }
.sticky-booking-cta .btn-primary:active { transform: translateY(1px) scale(.98); }

/* Mobile: tap-active scale + kill grey tap-flash + strip stuck hover-lifts. */
@media (hover: none) {
    .service-card:hover, .service-card-v8:hover, .booking-app-v8 .condition-card:hover, .selector-btn:hover, .slot-btn:hover, .btn-primary:hover, .btn-success:hover { transform: none; }
    .service-card:active, .service-card-v8:active, .booking-app-v8 .condition-card:active { transform: scale(.97); transition: transform .09s ease; }
    .extra-card:active .extra-card-inner { transform: scale(.97); }
}
body[data-booking-v8='1'] button, body[data-booking-v8='1'] label.selector-btn, body[data-booking-v8='1'] .extra-card { -webkit-tap-highlight-color: transparent; }

/* Mobile price-row wrap fallback (no horizontal squeeze at 375px). */
@media (max-width: 640px) {
    .price-row { flex-wrap: wrap; }
    .price-row span:first-child { flex: 1 1 60%; min-width: 0; }
}

/* Reduced-motion safety layer (was entirely missing). Keep LAST so it wins. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .animate-in, .service-cards .service-card-v8, .extras-grid .extra-card { animation: none !important; opacity: 1 !important; }
}

/* Brand logo in the header. */
.logo img { height: 56px; width: auto; display: block; }
@media (max-width:640px){ .logo img { height: 46px; } }
