/* ==========================================================================
   Custom Order Wizard — custom-order-wizard.css
   Page: /custom-illustrations

   All classes prefixed co- or wizard- to avoid clashes with site.css / Bootstrap.
   site.css uses !important on h1/h2/h3/a — we counter where needed.
   ========================================================================== */

/* ----- Brand tokens (scoped) — lime-green brand palette ------------------- */
:root {
    --brand-50:  #fbfde8;
    --brand-100: #ecf5b3;
    --brand-200: #d4e85a;
    --brand-500: #ccea4a;
    --brand-600: #ccea4a;
    --brand-700: #4d5e0f;
    --brand-800: #3a4a0a;
    --co-radius: 0.75rem;
    --co-radius-lg: 1rem;
    --co-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --co-shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --co-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
    --co-transition: 0.2s ease;
}

/* ----- Override global site.css typography inside our sections ----------- */
.co-hero h1,
.co-form-section h3,
.co-how-it-works h2,
.co-how-it-works h3,
.co-use-cases h2,
.co-use-cases h3,
.co-formats h2,
.co-testimonials h2,
.co-portfolio h2,
.co-cta h2,
.wizard-success h3 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
    color: #000 !important;
}

.co-hero a:not(.btn):hover,
.co-form-section a:not(.btn):hover,
.co-cta a:not(.btn):hover {
    color: inherit !important;
}

/* =========================================================================
   HERO
   ========================================================================= */
.co-hero {
    padding: 1.5rem 0 0;
    background: transparent;
    border-bottom: none;
}
.co-hero > .container {
    background: #ccea4a;
    border-radius: 16px;
    padding: 40px;
}

/* Hero flex layout — left-aligned like About page */
.co-hero-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}
.co-hero-left {
    flex: 1;
}
@media (max-width: 900px) {
    .co-hero-flex { flex-direction: column; gap: 24px; }
    .co-hero-right { flex-wrap: wrap; }
}

/* Trust pills — hero right side */
.co-hero-right {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
    align-self: flex-start;
    flex-wrap: nowrap;
}
.co-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 18px;
    background: #000;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 600;
    color: #fff;
    transition: opacity 0.15s;
    white-space: nowrap;
}
.co-trust-pill:hover { opacity: 0.85; text-decoration: none; color: #fff; }
.co-trust-stars { color: #f59e0b; letter-spacing: 1px; font-size: 0.6rem; }

/* Eyebrow pill — matches design system */
.co-eyebrow {
    display: inline-block;
    background: #ebf7b7;
    color: #111827;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.co-hero h1 {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.75rem !important;
    color: #000 !important;
    letter-spacing: -0.02em !important;
}

.co-hero h1 span {
    color: #000;
    display: block;
}

.co-subtitle {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.65;
    color: #000;
    opacity: 0.8;
    margin-bottom: 1.75rem;
    max-width: 840px;
}

/* Trust signals row — left-aligned */
.co-trust-signals {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
}

.co-signal {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(0,0,0,0.7);
}

/* =========================================================================
   FORM SECTION
   ========================================================================= */
.co-form-section {
    padding: 3rem 0 4rem;
    background: #f9fafb;
}

.co-form-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .co-form-layout {
        grid-template-columns: 1fr 443px;
    }
}

/* =========================================================================
   WIZARD — Progress bar
   ========================================================================= */
.wizard-progress {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.wizard-step-indicator {
    display: flex;
    align-items: center;
    flex: 1;
}

.wizard-step-indicator:last-child {
    flex: 0;
}

.wizard-step-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    cursor: default;
}

.wizard-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    background: #fff;
    border: 2px solid #d1d5db;
    color: #9ca3af;
    transition: all var(--co-transition);
}

.wizard-step-indicator.active .wizard-step-circle,
.wizard-step-indicator.completed .wizard-step-circle {
    background: var(--brand-600);
    border-color: var(--brand-200);
    color: #111827;
}

.wizard-step-indicator.completed .wizard-step-circle {
    background: var(--brand-600);
    border-color: var(--brand-200);
}

.wizard-step-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.wizard-step-indicator.active .wizard-step-label {
    color: #111827;
    font-weight: 600;
}

.wizard-step-indicator.completed .wizard-step-label {
    color: #111827;
}

.wizard-step-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 0.75rem;
    margin-top: 18px; /* center vertically with the circle */
    transition: background var(--co-transition);
}

.wizard-step-indicator.completed .wizard-step-line {
    background: var(--brand-200);
}

@media (max-width: 575px) {
    .wizard-step-label {
        display: none;
    }
    .wizard-step-line {
        margin-top: 18px;
    }
}

/* =========================================================================
   WIZARD — Container / Panels
   ========================================================================= */
.wizard-container {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--co-radius-lg);
    padding: 2rem;
    box-shadow: var(--co-shadow-md);
}

.wizard-panel {
    display: none;
}

.wizard-panel.active {
    display: block;
    animation: wizardFadeIn 0.3s ease;
}

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

.wizard-panel h3 {
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.375rem !important;
}

.panel-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* =========================================================================
   WIZARD — Error banner
   ========================================================================= */
.wizard-error-banner {
    display: none;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--co-radius);
    color: #991b1b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.wizard-error-banner.visible {
    display: block;
}

/* =========================================================================
   WIZARD — Type cards (Step 0)
   ========================================================================= */
.type-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.type-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--co-radius);
    background: #fff;
    cursor: pointer;
    transition: all var(--co-transition);
}

.type-card:hover {
    border-color: var(--brand-200);
    background: var(--brand-50);
}

.type-card.selected {
    border-color: var(--brand-600);
    background: var(--brand-50);
    box-shadow: 0 0 0 1px var(--brand-600);
}

.type-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6b7280;
    transition: all var(--co-transition);
}

.type-card.selected .type-card-icon {
    background: var(--brand-100);
    color: var(--brand-700);
}

.type-card-content {
    flex: 1;
    min-width: 0;
}

.type-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.125rem;
}

.type-card-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

.type-card-check {
    flex-shrink: 0;
    color: #d1d5db;
    transition: color var(--co-transition);
}

.type-card.selected .type-card-check {
    color: var(--brand-600);
}

/* =========================================================================
   WIZARD — Form fields
   ========================================================================= */
.wizard-field {
    margin-bottom: 1.25rem;
}

.wizard-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.375rem;
}

.wizard-field label .required {
    color: #dc2626;
}

.wizard-field input[type="text"],
.wizard-field input[type="email"],
.wizard-field input[type="number"],
.wizard-field input[type="date"],
.wizard-field textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    font-family: 'Bricolage Grotesque', sans-serif;
    border: 1px solid #d1d5db;
    border-radius: var(--co-radius);
    background: #fff;
    color: #111827;
    outline: none;
    transition: border-color var(--co-transition), box-shadow var(--co-transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.wizard-field input:focus,
.wizard-field textarea:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(204, 234, 74, 0.2);
}

.wizard-field textarea {
    min-height: 120px;
    resize: vertical;
}

.wizard-field input::placeholder,
.wizard-field textarea::placeholder {
    color: #9ca3af;
}

.field-error {
    font-size: 0.8125rem;
    color: #dc2626;
    margin-top: 0.25rem;
    min-height: 1.2em;
}

.field-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.375rem;
}

/* Input error state */
.wizard-field.has-error input,
.wizard-field.has-error textarea {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* =========================================================================
   WIZARD — Dropzone
   ========================================================================= */
.wizard-dropzone {
    border: 2px dashed #d1d5db !important;
    border-radius: var(--co-radius) !important;
    background: #fafafa !important;
    min-height: 120px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--co-transition), background var(--co-transition);
    padding: 1rem !important;
}

.wizard-dropzone:hover,
.wizard-dropzone.dz-drag-hover {
    border-color: var(--brand-500) !important;
    background: var(--brand-50) !important;
}

.wizard-dropzone .dz-message {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.wizard-dropzone .dz-preview {
    margin: 0.5rem !important;
}

/* =========================================================================
   WIZARD — Budget options
   ========================================================================= */
.budget-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.budget-option {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #000;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: var(--co-radius);
    cursor: pointer;
    transition: all var(--co-transition);
    user-select: none;
}

.budget-option:hover {
    border-color: var(--brand-200);
    background: var(--brand-50);
}

.budget-option.selected {
    border-color: var(--brand-600);
    background: var(--brand-50);
    color: var(--brand-700);
    box-shadow: 0 0 0 1px var(--brand-600);
}

/* =========================================================================
   WIZARD — Navigation buttons
   ========================================================================= */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.wizard-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 20px;
    height: 40px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Bricolage Grotesque', sans-serif;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
    text-decoration: none !important;
    line-height: 1.4;
}

.wizard-btn-back {
    background: transparent;
    color: var(--brand-gray-500, #6b7280);
    border: 1px solid var(--brand-gray-300, #d1d5db);
    padding-left: 16px;
}

.wizard-btn-back:hover {
    color: var(--brand-dark) !important;
    background: var(--brand-gray-100, #f3f4f6);
    border-color: var(--brand-gray-400, #9ca3af);
    transform: translateY(-1px);
}

.wizard-btn-next {
    background: var(--brand-lime);
    color: var(--brand-dark) !important;
}

.wizard-btn-next:hover {
    background: var(--brand-lime-hover);
    color: var(--brand-dark) !important;
    box-shadow: 0 4px 14px rgba(204, 234, 74, 0.4);
    transform: translateY(-1px);
}

.wizard-btn-submit {
    background: var(--brand-lime);
    color: var(--brand-dark) !important;
}

.wizard-btn-submit:hover {
    background: var(--brand-lime-hover);
    color: var(--brand-dark) !important;
    box-shadow: 0 4px 14px rgba(204, 234, 74, 0.4);
    transform: translateY(-1px);
}

.wizard-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Confidential note */
.wizard-confidential {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

/* =========================================================================
   WIZARD — Order summary (Step 3)
   ========================================================================= */
.order-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--co-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
}

.order-summary-row:last-child {
    border-bottom: none;
}

.order-summary-label {
    color: #6b7280;
    font-weight: 500;
}

.order-summary-value {
    color: #111827;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* =========================================================================
   WIZARD — Success state
   ========================================================================= */
.wizard-success {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--brand-600);
}

.wizard-success h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: #111827 !important;
}

.wizard-success .order-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4d5e0f;
    margin-bottom: 1rem;
}

.wizard-success p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.success-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================================
   SIDEBAR (right column)
   ========================================================================= */
.co-sidebar {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--co-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--co-shadow);
}

.co-sidebar-feature {
    display: flex;
    gap: 0.875rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.co-sidebar-feature:first-child {
    padding-top: 0;
}

.co-sidebar-feature:last-of-type {
    border-bottom: none;
}

.co-sidebar-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* Distinct icon colors for each sidebar feature */
.co-sidebar-icon-lime   { background: #fbfde8; color: #4d5e0f; }
.co-sidebar-icon-blue   { background: #eff6ff; color: #2563eb; }
.co-sidebar-icon-amber  { background: #fffbeb; color: #d97706; }
.co-sidebar-icon-purple { background: #f5f3ff; color: #7c3aed; }

.co-sidebar-feature h4 {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
    margin: 0 0 0.125rem !important;
    letter-spacing: normal !important;
}

.co-sidebar-feature p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.co-sidebar-note {
    margin-top: 1rem;
    padding: 0.875rem;
    background: #fbfde8;
    border: 1px solid #d4e85a;
    border-left: 3px solid #ccea4a;
    border-radius: var(--co-radius);
}

.co-sidebar-note p {
    font-size: 0.75rem;
    color: #000;
    line-height: 1.5;
    margin: 0;
}

.co-sidebar-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    color: #9ca3af;
    line-height: 1.4;
}
.co-sidebar-payment-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #9ca3af;
}

/* =========================================================================
   HOW IT WORKS — Timeline
   ========================================================================= */
.co-how-it-works {
    padding: 2.5rem 0;
    background: #fff;
    border-top: 1px dotted #e5e7eb;
}

.co-section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.co-section-header h2 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.5rem !important;
    color: #000 !important;
}

.co-section-header p {
    font-size: 1rem;
    color: #4b5563;
    max-width: 100%;
    margin: 0;
    line-height: 1.65;
}

.co-timeline {
    max-width: 100%;
}

.co-timeline-step {
    display: flex;
    gap: 1.5rem;
}

.co-timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.co-timeline-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ccea4a;
    border: 2px solid #d4e85a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #111827;
}

.co-timeline-line {
    width: 2px;
    flex: 1;
    background: #e2f08a;
    margin: 0.5rem 0;
    min-height: 24px;
}

.co-timeline-content {
    padding-bottom: 2rem;
}

.co-timeline-content h3 {
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.375rem !important;
}

.co-timeline-content p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* =========================================================================
   WHAT WE CAN CREATE — Use case cards
   ========================================================================= */
.co-use-cases {
    padding: 2.5rem 0;
    background: transparent;
    border-top: 1px dotted #e5e7eb;
}

.co-uc-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(204,234,74,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.co-use-case-card {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #ccea4a;
    border-radius: var(--co-radius);
    transition: box-shadow var(--co-transition), transform var(--co-transition);
}

.co-use-case-card:hover {
    box-shadow: var(--co-shadow-md);
    transform: translateY(-2px);
    border-color: #ccea4a;
}

.co-use-case-card h3 {
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.co-use-case-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* =========================================================================
   DELIVERY FORMATS
   ========================================================================= */
.co-formats {
    padding: 2.5rem 0;
    background: #fff;
    border-top: 1px dotted #e5e7eb;
}

.co-format-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    max-width: 640px;
    margin: 0 auto;
}

.co-format-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--co-radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    transition: all var(--co-transition);
}

.co-format-badge:hover {
    background: var(--brand-50);
    border-color: var(--brand-200);
    color: var(--brand-700);
}

.co-format-badge svg {
    color: #9ca3af;
}

.co-format-badge:hover svg {
    color: var(--brand-600);
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.co-testimonials {
    padding: 2.5rem 0;
    border-top: 1px dotted #e5e7eb;
    background: #f9fafb;
}

.co-testimonial-card {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--co-radius);
    box-shadow: var(--co-shadow);
}

.co-stars {
    display: flex;
    gap: 0.125rem;
    color: #f59e0b;
    margin-bottom: 0.875rem;
}

.co-testimonial-card blockquote {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #000;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
}

.co-author {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.co-role {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0;
}

/* =========================================================================
   CTA
   ========================================================================= */
.co-cta {
    background: #000;
    border-radius: 16px;
    padding: 56px 48px;
    text-align: center;
    margin: 2.5rem 0 2rem;
}

.co-cta h2 {
    color: #ccea4a !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.75rem !important;
}

.co-cta p {
    font-size: 1.0625rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.co-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 24px;
    height: 48px;
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark) !important;
    background: var(--brand-lime);
    border-radius: 24px;
    text-decoration: none !important;
    transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
    box-shadow: 0 2px 8px rgba(204, 234, 74, 0.3);
}

.co-cta-btn:hover {
    background: var(--brand-lime-hover);
    color: var(--brand-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204, 234, 74, 0.45);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 767px) {
    .co-hero {
        padding: 1rem 0 0;
    }
    .co-hero > .container {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    .co-hero h1 {
        font-size: 2rem !important;
    }
    .co-subtitle {
        font-size: 1rem;
    }
    .co-trust-signals {
        gap: 0.75rem;
    }
    .co-form-section {
        padding: 2rem 0 3rem;
    }
    .wizard-container {
        padding: 1.25rem;
    }
    .wizard-nav {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    .wizard-nav .wizard-btn {
        width: 100%;
        justify-content: center;
    }
    .co-how-it-works,
    .co-use-cases,
    .co-testimonials {
        padding: 3rem 0;
    }
    .co-section-header h2 {
        font-size: 1.625rem !important;
    }
    .co-cta {
        padding: 2rem 1.25rem;
        margin: 1.5rem 0 1rem;
    }
    .co-cta h2 {
        font-size: 1.625rem !important;
    }
    .budget-options {
        gap: 0.375rem;
    }
    .budget-option {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
}

/* =========================================================================
   LOADING SPINNER (used during form submission)
   ========================================================================= */
.wizard-btn .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(17,24,39,0.2);
    border-top-color: #111827;
    border-radius: 50%;
    animation: wizardSpin 0.6s linear infinite;
}

.wizard-btn.loading .spinner {
    display: inline-block;
}

.wizard-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

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

/* =========================================================================
   PORTFOLIO MASONRY GALLERY
   ========================================================================= */
.co-portfolio {
    padding: 4rem 0;
    background: #f8f9fa;
}

.portfolio-masonry {
    columns: 4;
    column-gap: 1.5rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .portfolio-masonry {
        columns: 2;
        column-gap: 1rem;
    }
}

@media (max-width: 480px) {
    .portfolio-masonry {
        columns: 1;
    }
}

.portfolio-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.portfolio-item.featured {
    border: 2px solid var(--brand-600);
}

.portfolio-img-wrap {
    position: relative;
    overflow: hidden;
}

.portfolio-img-wrap img {
    width: 100%;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
    opacity: 0;
    transition: opacity .2s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 0 2px !important;
    color: #fff !important;
    letter-spacing: normal !important;
    line-height: 1.3 !important;
}

.portfolio-overlay .portfolio-client {
    font-size: 12px;
    opacity: .8;
    margin: 0;
    color: #fff;
}

.portfolio-overlay .portfolio-type {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    text-transform: capitalize;
    background: rgba(255,255,255,.2);
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
}

.portfolio-item {
    cursor: pointer;
}

.portfolio-img-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    pointer-events: none;
    z-index: 2;
}

/* =========================================================================
   Portfolio Modal
   ========================================================================= */

.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.portfolio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(4px);
}

.portfolio-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
    animation: portfolioModalIn .25s ease-out;
}

@keyframes portfolioModalIn {
    from { opacity: 0; transform: scale(.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.portfolio-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0,0,0,.5);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.portfolio-modal-close:hover {
    background: rgba(0,0,0,.7);
}

.portfolio-modal-gallery {
    position: relative;
    background: #f1f1f1;
}

.portfolio-modal-main-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 55vh;
    overflow: hidden;
}

.portfolio-modal-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 55vh;
}

.portfolio-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    transition: background .2s, transform .15s;
    color: #333;
}

.portfolio-modal-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.portfolio-modal-prev { left: 12px; }
.portfolio-modal-next { right: 12px; }

.portfolio-modal-thumbs {
    display: flex;
    gap: 6px;
    padding: 10px 16px;
    overflow-x: auto;
    background: #f8f8f8;
    border-top: 1px solid #eee;
}

.portfolio-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color .15s, opacity .15s;
    opacity: .6;
}

.portfolio-thumb:hover {
    opacity: .9;
}

.portfolio-thumb.active {
    border-color: var(--brand-600);
    opacity: 1;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-modal-info {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #eee;
}

.portfolio-modal-info h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: #1a1a1a !important;
    letter-spacing: normal !important;
    line-height: 1.3 !important;
}

.portfolio-modal-info p {
    font-size: 14px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.5;
}

.portfolio-modal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.portfolio-modal-meta span {
    font-size: 13px;
    color: #888;
}

#portfolio-modal-type {
    text-transform: capitalize;
    background: var(--brand-50);
    color: var(--brand-700);
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 12px;
}

@media (max-width: 640px) {
    .portfolio-modal { padding: .75rem; }
    .portfolio-modal-content { border-radius: 12px; }
    .portfolio-modal-main-img { min-height: 200px; max-height: 40vh; }
    .portfolio-modal-main-img img { max-height: 40vh; }
    .portfolio-thumb { width: 44px; height: 44px; }
}
