:root {
    --navy-950: #0a1929;
    --navy-900: #102a43;
    --navy-800: #1a2e44;
    --navy-700: #243b53;
    --navy-600: #334e68;
    --navy-500: #486581;
    --navy-400: #7b8fa8;
    --navy-300: #a8b8c9;
    --navy-200: #d1dae4;
    --navy-100: #e8ecf1;

    --gold-500: #F5A623;
    --gold-600: #E8941E;
    --gold-700: #d4a44a;
    --gold-glow: rgba(245, 166, 35, 0.25);

    --cream-50: #FFFEF9;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d8;

    --success: #10b981;
    --error: #ef4444;
}

/* DTR: hide dynamic text until swap completes (only when URL params present) */
.dtr-loading h1.desktop-headline,
.dtr-loading .desktop-subheadline,
.dtr-loading h1.headline,
.dtr-loading .subheadline,
.dtr-loading #submit-quote .btn-text,
.dtr-loading #desktop-submit-quote .btn-text,
.dtr-loading .inline-testimonial,
.dtr-loading .availability-note { visibility: hidden; }

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

html {
    font-family: 'Outfit', system-ui, sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: none;
}

body {
    background: var(--cream-50);
    color: var(--navy-900);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

/* Elegant Background Pattern */
.bg-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(245, 166, 35, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(16, 42, 67, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
}

/* Subtle Grid Overlay */
.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(var(--navy-900) 1px, transparent 1px),
        linear-gradient(90deg, var(--navy-900) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Header - Minimal */
.header {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-header-overlay {
    position: relative;
    z-index: 2;
    background: transparent;
}

.phone-link-light {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.phone-link-light:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.logo {
    height: 44px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
    transform: scale(1.05);
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy-700);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--navy-100);
    transition: all 0.3s ease;
}

.phone-link:hover {
    background: var(--navy-900);
    color: white;
    border-color: var(--navy-900);
}

.phone-link i {
    color: var(--gold-500);
}

.phone-link:hover i {
    color: var(--gold-500);
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile hero - clean background matching page */
.mobile-hero {
    position: relative;
    padding: 0;
    background: var(--cream-50);
}

.mobile-hero-bg {
    display: none;
}

.mobile-hero-content {
    position: relative;
    padding: 6px 24px 12px;
}

/* Light variants for text on dark background */
.headline-light {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.headline-light em {
    color: #FFB840;
    text-shadow: 0 2px 12px rgba(245, 166, 35, 0.4);
}

.subheadline-light {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.badge-navy-light {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.google-rating-light {
    background: white;
    border: 1px solid rgba(16, 42, 67, 0.1);
    box-shadow: 0 4px 20px rgba(16, 42, 67, 0.12);
}

.google-rating-light .rating-text {
    color: var(--navy-600);
}

.google-rating-light .rating-text strong {
    color: var(--navy-900);
}

/* Trust Badges Row */
.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-gold {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(232, 148, 30, 0.1) 100%);
    color: var(--gold-600);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.badge-navy {
    background: rgba(16, 42, 67, 0.05);
    color: var(--navy-600);
    border: 1px solid var(--navy-100);
}

.badge i {
    font-size: 11px;
}

/* Headline */
.headline {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(32px, 7vw, 44px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--navy-900);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.headline em {
    font-style: italic;
    color: var(--gold-600);
    position: relative;
}

.headline em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gold-glow);
    border-radius: 4px;
    z-index: -1;
}

.subheadline {
    font-size: 15px;
    color: var(--navy-500);
    line-height: 1.5;
    max-width: 380px;
    margin: 0 auto 12px;
}

/* Google Rating */
.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: white;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06);
    border: 1px solid var(--navy-100);
}

.google-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-icon i {
    font-size: 16px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-content {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.rating-stars i {
    color: var(--gold-500);
    font-size: 11px;
}

.rating-text {
    font-size: 13px;
    color: var(--navy-500);
    white-space: nowrap;
}

.rating-text strong {
    color: var(--navy-900);
    font-weight: 600;
}

/* Form Card */
.form-section {
    padding: 0 16px 120px;
    max-width: 520px;
    margin: 0 auto;
    margin-top: 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.form-card {
    background: white;
    border-radius: 28px;
    padding: 24px 24px;
    box-shadow:
        0 4px 6px rgba(16, 42, 67, 0.02),
        0 12px 24px rgba(16, 42, 67, 0.06),
        0 24px 48px rgba(16, 42, 67, 0.04);
    border: 1px solid rgba(16, 42, 67, 0.06);
}

/* Progress Steps */
.progress-container {
    margin-bottom: 20px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--navy-100);
    color: var(--navy-400);
}

.step-circle.active {
    background: var(--navy-900);
    color: white;
    transform: scale(1.1);
}

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

.step-line {
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: var(--navy-100);
    transition: background 0.4s ease;
}

.step-line.active {
    background: var(--navy-900);
}

.progress-label {
    text-align: center;
    font-size: 13px;
    color: var(--navy-400);
}

.progress-label strong {
    color: var(--navy-900);
    font-weight: 600;
}

/* Form Steps — smooth transitions instead of display toggle */
.form-step {
    display: none;
    opacity: 0;
}

.form-step.active {
    display: block;
    opacity: 1;
    animation: stepSlideIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

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

/* Input Groups */
.input-group {
    margin-bottom: 12px;
}

.input-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-500);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy-300);
    font-size: 16px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-size: 16px;
    font-family: inherit;
    color: var(--navy-900);
    background: var(--cream-50);
    border: 2px solid var(--navy-100);
    border-radius: 14px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-500);
    background: white;
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.form-input:focus + .input-icon,
.form-input:not(:placeholder-shown) + .input-icon {
    color: var(--gold-600);
}

.form-input::placeholder {
    color: var(--navy-300);
}

/* Date Input */
.date-input-wrapper {
    position: relative;
}

.date-display {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-size: 16px;
    font-family: inherit;
    color: var(--navy-900);
    background: var(--cream-50);
    border: 2px solid var(--navy-100);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.date-display:hover {
    border-color: var(--navy-200);
}

.date-display.has-value {
    color: var(--navy-900);
}

.date-display:not(.has-value) {
    color: var(--navy-300);
}

.date-display i.fa-chevron-down {
    color: var(--navy-300);
    font-size: 12px;
}

/* Calendar Dropdown */
.calendar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(16, 42, 67, 0.15);
    border: 1px solid var(--navy-100);
    padding: 20px;
    z-index: 100;
    display: none;
}

.calendar-dropdown.open {
    display: block;
    animation: dropdownIn 0.3s ease;
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.calendar-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--navy-100);
    background: white;
    color: var(--navy-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

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

.calendar-month {
    font-family: 'Instrument Serif', serif;
    font-size: 18px;
    color: var(--navy-900);
}

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

.calendar-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--navy-400);
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy-700);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--cream-100);
}

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

.calendar-day.selected {
    background: var(--navy-900);
    color: white;
}

.calendar-day.today {
    border: 2px solid var(--gold-500);
}

/* Row layout for two inputs */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* CTA Button */
.cta-button {
    width: 100%;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    color: var(--navy-950);
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 4px 12px rgba(245, 166, 35, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(245, 166, 35, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}

/* Mobile touch optimization */
@media (max-width: 1023px) {
    button, .size-option, .form-input, .date-display {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Back Button */
.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy-400);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-bottom: 16px;
}

.back-button:hover {
    color: var(--navy-700);
}

.back-button i {
    font-size: 12px;
}

/* Privacy Note */
.privacy-note {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: var(--navy-400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.privacy-note i {
    color: var(--success);
    font-size: 11px;
}

/* Stats Section */
.stats-section {
    padding: 40px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-item {
    text-align: center;
    padding: 20px 12px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--navy-100);
}

.stat-number {
    font-family: 'Instrument Serif', serif;
    font-size: 32px;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--navy-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Photo Gallery - Social Proof */
.gallery-section {
    padding: 32px 24px;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-title {
    font-family: 'Instrument Serif', serif;
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.gallery-subtitle {
    font-size: 14px;
    color: var(--navy-500);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--navy-100);
}

.gallery-item.featured {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 42, 67, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.gallery-caption i {
    margin-right: 6px;
    color: var(--gold-500);
}

/* Testimonials */
.testimonials-section {
    padding: 20px 24px 60px;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: 24px;
    color: var(--navy-900);
    text-align: center;
    margin-bottom: 24px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--navy-100);
    margin-bottom: 16px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-100) 0%, var(--navy-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--navy-600);
}

.testimonial-meta {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: var(--navy-900);
    font-size: 15px;
}

.testimonial-location {
    font-size: 13px;
    color: var(--navy-400);
}

.testimonial-stars {
    color: var(--gold-500);
    font-size: 12px;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--navy-600);
}

/* Fixed Bottom CTA (Mobile) */
.fixed-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    background: rgba(255, 254, 249, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--navy-100);
    z-index: 50;
    display: none;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state */
.cta-button.loading {
    pointer-events: none;
}

.cta-button.loading .btn-text {
    opacity: 0;
}

.cta-button.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(10, 25, 41, 0.2);
    border-top-color: var(--navy-950);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px); }
    30% { transform: translateX(5px); }
    45% { transform: translateX(-4px); }
    60% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
}
.cta-button.shake {
    animation: shake 0.5s ease;
}


/* Custom Address Autocomplete Dropdown */
.input-group:has(.address-dropdown.open),
.input-group:has(.calendar-dropdown.open) {
    position: relative;
    z-index: 300;
}

.address-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--navy-100);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(16, 42, 67, 0.15);
    z-index: 200;
    display: none;
    overflow: hidden;
    font-family: 'Outfit', system-ui, sans-serif;
}

.address-dropdown.open {
    display: block;
    animation: dropdownIn 0.2s ease;
}

.address-dropdown-item {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--navy-700);
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    border-bottom: 1px solid var(--navy-100);
}

.address-dropdown-item:last-of-type {
    border-bottom: none;
}

.address-dropdown-item:hover,
.address-dropdown-item.highlighted {
    background: var(--cream-50);
}

.address-dropdown-item .addr-icon {
    color: var(--navy-300);
    font-size: 14px;
    flex-shrink: 0;
}

.address-dropdown-item .addr-main {
    font-weight: 500;
    color: var(--navy-900);
}

.address-dropdown-item .addr-secondary {
    font-size: 13px;
    color: var(--navy-400);
    margin-top: 2px;
}

.address-dropdown-item .addr-matched {
    color: var(--gold-600);
    font-weight: 600;
}

.address-dropdown-attribution {
    padding: 8px 16px;
    font-size: 11px;
    color: var(--navy-300);
    text-align: right;
    border-top: 1px solid var(--navy-100);
    background: var(--cream-50);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.address-dropdown-attribution img {
    height: 14px;
    vertical-align: middle;
}

/* Mobile: dropdown is portaled to body via JS, needs full styling since it's outside .form-card */
@media (max-width: 1023px) {
    body > .address-dropdown.open {
        display: block;
        border-radius: 14px;
        box-shadow: 0 8px 32px rgba(16, 42, 67, 0.18);
        border: 1px solid var(--navy-100);
        background: white;
        font-family: 'Outfit', system-ui, sans-serif;
        overflow: hidden;
    }
}

/* Hide any legacy pac-container that might still appear */
.pac-container {
    display: none !important;
}

/* Inline Validation Styles */
.input-wrapper .validation-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.input-wrapper .validation-icon.valid {
    color: var(--success);
    opacity: 1;
}

.input-wrapper .validation-icon.invalid {
    color: var(--error);
    opacity: 1;
}

.input-group .validation-message {
    font-size: 12px;
    color: var(--error);
    margin-top: 6px;
    display: none;
}

.input-group .validation-message.visible {
    display: block;
    animation: fadeUp 0.2s ease;
}

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

.form-input.input-error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.form-input.input-valid {
    border-color: var(--success);
}

.form-input.input-valid:focus {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* "What happens next" messaging */
.next-steps-note {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--navy-400);
    line-height: 1.5;
}

.next-steps-note i {
    color: var(--gold-500);
    margin-right: 4px;
}

/* Move Size Selection */
.size-options {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.size-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--cream-50);
    border: 2px solid var(--navy-100);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: var(--navy-200);
    background: white;
}

.size-option:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
}

.size-option.selected {
    border-color: var(--gold-500);
    background: white;
    box-shadow: 0 0 0 4px var(--gold-glow);
}

.size-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--navy-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-500);
    font-size: 18px;
    transition: all 0.3s ease;
}

.size-option.selected .size-icon {
    background: var(--gold-500);
    color: white;
}

.size-content {
    flex: 1;
}

.size-title {
    font-weight: 600;
    color: var(--navy-900);
    font-size: 15px;
    margin-bottom: 2px;
}

.size-desc {
    font-size: 13px;
    color: var(--navy-400);
}

.size-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--navy-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.size-option.selected .size-check {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

.size-option.selected .size-check::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: white;
}

/* Inline Testimonial near submit button */
.inline-testimonial {
    text-align: center;
    margin-top: 14px;
    font-size: 13px;
    font-style: italic;
    color: var(--navy-500);
    line-height: 1.5;
    padding: 12px 16px;
    background: var(--cream-50);
    border-radius: 12px;
    border: 1px solid var(--navy-100);
}

.inline-testimonial i {
    color: var(--gold-500);
    font-size: 10px;
    margin-right: 4px;
    font-style: normal;
}

.inline-testimonial-author {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    color: var(--navy-700);
    margin-top: 4px;
}

/* Availability / Urgency Note */
.availability-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--navy-700);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.availability-note i {
    color: var(--success);
    font-size: 11px;
}

/* Micro-review below CTA button */
.micro-review {
    margin-top: 12px;
    font-size: 12px;
    color: var(--navy-400);
    text-align: center;
}

.micro-review i {
    color: var(--gold-500);
    font-size: 10px;
    margin-right: 2px;
}

.micro-review strong {
    color: var(--navy-600);
    font-weight: 600;
}

/* Security nudge under desktop form */
.desktop-security-nudge {
    margin-top: 10px;
    font-size: 11px;
    color: var(--navy-400);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.desktop-security-nudge i {
    font-size: 10px;
    color: var(--navy-300);
}

/* Desktop Styles */
@media (min-width: 768px) {
    .header {
        padding: 24px 48px;
    }

    .hero {
        padding: 40px 48px 60px;
    }

    .headline {
        font-size: 56px;
    }

    .form-section {
        padding: 0 48px 80px;
    }

    .form-card {
        padding: 40px;
    }

    .stats-section,
    .testimonials-section {
        padding-left: 48px;
        padding-right: 48px;
    }
}

/* Large Desktop - Two Column */
@media (min-width: 1024px) {
    html, body {
        overflow: hidden;
        height: 100vh;
    }

    .main-container {
        display: block;
        height: 100vh;
        overflow: hidden;
    }

    /* ── Left Panel ── */
    .left-panel {
        width: 42%;
        height: 100vh;
        position: fixed;
        left: 0;
        top: 0;
        background: var(--navy-950);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        overflow: hidden;
    }

    /* Full-bleed hero photo background */
    .left-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/quote/crew-main.jpeg') center/cover no-repeat;
        opacity: 0.35;
        pointer-events: none;
    }

    /* Dark gradient overlay for text readability */
    .left-panel::after {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(180deg,
                rgba(10, 25, 41, 0.6) 0%,
                rgba(10, 25, 41, 0.4) 30%,
                rgba(10, 25, 41, 0.5) 60%,
                rgba(10, 25, 41, 0.85) 100%);
        pointer-events: none;
    }

    .left-content {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 460px;
        padding: 48px 52px;
        text-align: center;
    }

    .desktop-logo {
        height: 48px;
        margin-bottom: 36px;
        filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
    }

    .desktop-headline {
        font-family: 'Instrument Serif', serif;
        font-size: clamp(36px, 3.5vw, 52px);
        color: white;
        line-height: 1.08;
        margin-bottom: 16px;
        letter-spacing: -0.02em;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }

    .desktop-headline em {
        font-style: italic;
        color: var(--gold-500);
        text-shadow: 0 0 40px rgba(245, 166, 35, 0.3);
    }

    /* Gold accent divider */
    .desktop-subheadline {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.6;
        margin-bottom: 32px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        padding-top: 20px;
    }

    .desktop-subheadline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 48px;
        height: 3px;
        background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
        border-radius: 2px;
    }

    /* Crew Photos — Mosaic Grid (tall left + 2 stacked right) */
    .desktop-photos {
        display: grid;
        grid-template-columns: 3fr 2fr;
        grid-template-rows: 1fr 1fr;
        gap: 5px;
        margin-bottom: 28px;
        border-radius: 18px;
        overflow: hidden;
        height: clamp(220px, 30vh, 300px);
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.2),
            0 12px 40px rgba(0, 0, 0, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.1);
    }

    .desktop-photo-main {
        grid-column: 1;
        grid-row: 1 / 3;
        border-radius: 0;
        overflow: hidden;
        height: 100%;
    }

    .desktop-photo-small {
        border-radius: 0;
        overflow: hidden;
        height: 100%;
    }

    .desktop-photo-small:last-child {
        border-radius: 0;
    }

    .desktop-photos img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .desktop-photo-main:hover img,
    .desktop-photo-small:hover img {
        transform: scale(1.06);
    }

    /* Rating + Stats Row */
    .desktop-proof-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 28px;
        flex-wrap: wrap;
    }

    .desktop-google-badge {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(8px);
    }

    .desktop-google-badge > i {
        font-size: 22px;
        background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .desktop-rating-stars {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .desktop-rating-stars i {
        font-size: 14px;
        color: #FBBC05;
        filter: drop-shadow(0 0 3px rgba(251, 188, 5, 0.5));
    }

    .desktop-rating-stars strong {
        color: white;
        font-size: 16px;
        margin-left: 6px;
        font-weight: 700;
    }

    .desktop-rating-count {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.7);
    }

    .desktop-stat-pill {
        padding: 10px 16px;
        background: rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        font-size: 13px;
        color: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(8px);
    }

    .desktop-stat-pill strong {
        color: #FBBC05;
        font-weight: 700;
    }

    /* Testimonial Slideshow */
    .desktop-testimonial-slideshow {
        position: relative;
    }

    .desktop-testimonial {
        padding: 22px 24px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        transition: opacity 0.6s ease;
        pointer-events: none;
        backdrop-filter: blur(8px);
    }

    .desktop-testimonial.active {
        opacity: 1;
        position: relative;
        pointer-events: auto;
    }

    .desktop-testimonial-text {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.55;
        font-style: italic;
        margin-bottom: 16px;
    }

    .desktop-testimonial-author {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .desktop-testimonial-avatar {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(245, 166, 35, 0.25), rgba(245, 166, 35, 0.1));
        border: 2px solid rgba(245, 166, 35, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 13px;
        color: var(--gold-500);
    }

    .desktop-testimonial-name {
        font-weight: 600;
        color: white;
        font-size: 14px;
    }

    .desktop-testimonial-location {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
    }

    .slideshow-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 14px;
    }

    .slideshow-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slideshow-dot.active {
        background: var(--gold-500);
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
    }

    /* ── Right Panel ── */
    .right-panel {
        width: 58%;
        height: 100vh;
        margin-left: 42%;
        overflow-y: auto;
        overflow-x: hidden;
        background: linear-gradient(180deg, #f8f6f1 0%, var(--cream-50) 40%, #f5f2ec 100%);
        position: relative;
    }

    .mobile-header,
    .mobile-hero,
    .form-section,
    .stats-section,
    .gallery-section,
    .testimonials-section {
        display: none !important;
    }

    .desktop-form-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        padding: 48px 64px;
        max-width: 580px;
        margin: 0 auto;
    }

    .desktop-form-header {
        margin-bottom: 32px;
    }

    .desktop-form-title {
        font-family: 'Instrument Serif', serif;
        font-size: 34px;
        color: var(--navy-900);
        margin-bottom: 10px;
        letter-spacing: -0.02em;
    }

    .desktop-form-subtitle {
        font-size: 16px;
        color: var(--navy-500);
        line-height: 1.6;
    }

    /* Form card elevation on desktop */
    .desktop-form-section .form-card {
        box-shadow:
            0 1px 3px rgba(16, 42, 67, 0.04),
            0 6px 16px rgba(16, 42, 67, 0.06),
            0 20px 50px rgba(16, 42, 67, 0.08);
        border: 1px solid rgba(16, 42, 67, 0.06);
        border-radius: 24px;
        padding: 40px 36px;
        background: white;
        overflow: visible;
    }

    /* Compact calendar on desktop so it doesn't overflow viewport */
    .desktop-form-section .calendar-dropdown {
        padding: 14px;
    }
    .desktop-form-section .calendar-day {
        font-size: 13px;
    }
    .desktop-form-section .calendar-weekday {
        padding: 4px 0;
        font-size: 10px;
    }
    .desktop-form-section .calendar-grid {
        gap: 2px;
    }

    .desktop-trust-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 28px;
        margin-top: 28px;
        padding-top: 0;
        border-top: none;
    }

    .desktop-trust-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: var(--navy-400);
        font-weight: 500;
    }

    .desktop-trust-item i {
        color: var(--success);
        font-size: 14px;
    }

    /* Desktop phone link in right panel */
    .desktop-phone-row {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 16px;
    }

    .desktop-phone-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: var(--navy-700);
        font-weight: 600;
        font-size: 14px;
        padding: 10px 20px;
        border-radius: 100px;
        background: white;
        border: 1px solid var(--navy-100);
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06);
    }

    .desktop-phone-link:hover {
        background: var(--navy-900);
        color: white;
        border-color: var(--navy-900);
        box-shadow: 0 4px 20px rgba(16, 42, 67, 0.18);
    }

    .desktop-phone-link i {
        color: var(--gold-500);
        font-size: 13px;
    }

    .desktop-phone-link:hover i {
        color: var(--gold-500);
    }
}

/* Hide desktop on mobile */
@media (max-width: 1023px) {
    .left-panel {
        display: none;
    }

    .right-panel {
        width: 100%;
    }

    .desktop-form-section {
        display: none;
    }
}

/* Mobile Keyboard Open State */
@media (max-width: 1023px) {
    body.keyboard-open .mobile-hero,
    body.keyboard-open .stats-section,
    body.keyboard-open .gallery-section,
    body.keyboard-open .testimonials-section {
        height: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        border: none;
    }

    body.keyboard-open .mobile-header {
        padding: 12px 16px;
        position: sticky;
        top: 0;
        background: var(--cream-50);
        z-index: 100;
        border-bottom: 1px solid var(--navy-100);
    }

    body.keyboard-open .form-section {
        padding-top: 8px;
    }

    /* Ensure focused input group is visible */
    body.keyboard-open .input-group.focused {
        position: relative;
        z-index: 50;
    }

    /* Calendar dropdown positioning when keyboard might be open */
    body.keyboard-open .calendar-dropdown.open {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 32px);
        max-width: 360px;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 9999;
        animation: none;
    }

    /* Overlay for calendar when keyboard open */
    body.keyboard-open .calendar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(16, 42, 67, 0.5);
        z-index: 9998;
    }
}
