/* ==========================================================================
   LINA ARCHITECTURE - QUOTE PAGE CSS
   Premium, High-Converting Landing Page
   ========================================================================== */

/* ============================================
   QUOTE HERO
   ============================================ */
.quote-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    overflow: hidden;
}

.quote-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.quote-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(196, 167, 125, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 167, 125, 0.08) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4a77d' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.quote-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.quote-hero-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(196, 167, 125, 0.15);
    top: -100px;
    right: -100px;
    animation: glowPulse 8s ease-in-out infinite;
}

.quote-hero-glow-2 {
    width: 300px;
    height: 300px;
    background: rgba(196, 167, 125, 0.1);
    bottom: -50px;
    left: -50px;
    animation: glowPulse 8s ease-in-out infinite 4s;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.quote-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.quote-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 167, 125, 0.15);
    border: 1px solid rgba(196, 167, 125, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.quote-hero-badge i {
    color: #c4a77d;
}

.quote-hero-badge span {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.quote-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.1;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.quote-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* ============================================
   QUOTE MAIN SECTION
   ============================================ */
.quote-main {
    padding: 80px 0;
    background: #f8f5f0;
}

.quote-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

/* ============================================
   QUOTE FORM WRAPPER
   ============================================ */
.quote-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Progress Steps */
.quote-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e8e8e8;
}

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

.quote-progress-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    background: #f0f0f0;
    color: #8a9099;
    transition: all 0.4s ease;
}

.quote-progress-step.active .quote-progress-number {
    background: linear-gradient(135deg, #c4a77d 0%, #b8956e 100%);
    color: #0a192f;
    box-shadow: 0 8px 24px rgba(196, 167, 125, 0.4);
    transform: scale(1.1);
}

.quote-progress-step.completed .quote-progress-number {
    background: #0a192f;
    color: #ffffff;
}

.quote-progress-step.completed .quote-progress-number::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
}

.quote-progress-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #8a9099;
    transition: color 0.3s ease;
}

.quote-progress-step.active .quote-progress-label,
.quote-progress-step.completed .quote-progress-label {
    color: #0a192f;
}

.quote-progress-line {
    width: 80px;
    height: 2px;
    background: #e8e8e8;
    margin: 0 16px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.quote-progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #c4a77d;
    transition: width 0.4s ease;
}

.quote-progress-step.completed + .quote-progress-line::after {
    width: 100%;
}

/* Form Steps */
.quote-form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.quote-form-step.active {
    display: block;
}

.quote-form-step-header {
    text-align: center;
    margin-bottom: 32px;
}

.quote-form-step-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 8px;
}

.quote-form-step-subtitle {
    color: #5a6a7a;
    font-size: 1rem;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group-full {
    grid-column: 1 / -1;
}

/* Form Group */
.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0a192f;
    margin-bottom: 8px;
}

.form-required {
    color: #c4a77d;
}

.form-input-wrapper {
    position: relative;
}

.form-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c1;
    font-size: 1rem;
    transition: color 0.3s ease;
    z-index: 1;
}

.form-textarea-wrapper .form-input-icon {
    top: 20px;
    transform: none;
}

.form-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-family: inherit;
    font-size: 1rem;
    color: #0a192f;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:hover {
    background: #f0f2f5;
}

.form-input:focus {
    background: #ffffff;
    border-color: #c4a77d;
    box-shadow: 0 0 0 4px rgba(196, 167, 125, 0.1);
}

.form-input:focus + .form-input-icon,
.form-input:focus ~ .form-input-icon {
    color: #c4a77d;
}

.form-input::placeholder {
    color: #a0a8b1;
}

.form-input.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.form-input.error:focus {
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-error {
    display: none;
    font-size: 0.8125rem;
    color: #e74c3c;
    margin-top: 6px;
    padding-left: 4px;
}

.form-group.has-error .form-error {
    display: block;
}

/* Select Styling */
.form-select-wrapper {
    position: relative;
}

.form-select {
    appearance: none;
    cursor: pointer;
    padding-right: 48px;
}

.form-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c1;
    font-size: 0.875rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-select:focus ~ .form-select-arrow {
    color: #c4a77d;
    transform: translateY(-50%) rotate(180deg);
}

/* Textarea */
.form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Checkbox */
.form-checkbox-group {
    margin-top: 8px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #d0d5dc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.form-checkbox:checked + .form-checkbox-custom {
    background: #c4a77d;
    border-color: #c4a77d;
}

.form-checkbox:checked + .form-checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: #0a192f;
}

.form-checkbox:focus + .form-checkbox-custom {
    box-shadow: 0 0 0 4px rgba(196, 167, 125, 0.2);
}

.form-checkbox-text {
    font-size: 0.875rem;
    color: #5a6a7a;
    line-height: 1.5;
}

.form-checkbox-text a {
    color: #c4a77d;
    text-decoration: underline;
}

/* File Upload */
.quote-file-upload {
    border: 2px dashed #d0d5dc;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #f8f9fa;
}

.quote-file-upload:hover,
.quote-file-upload.dragover {
    border-color: #c4a77d;
    background: rgba(196, 167, 125, 0.05);
}

.quote-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.quote-file-icon {
    font-size: 2.5rem;
    color: #c4a77d;
    margin-bottom: 12px;
}

.quote-file-text {
    display: block;
    color: #5a6a7a;
    margin-bottom: 4px;
}

.quote-file-browse {
    color: #c4a77d;
    font-weight: 500;
}

.quote-file-hint {
    font-size: 0.8125rem;
    color: #8a9099;
}

.quote-file-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.875rem;
}

.quote-file-item-name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0a192f;
}

.quote-file-item-name i {
    color: #c4a77d;
}

.quote-file-item-remove {
    background: none;
    border: none;
    color: #8a9099;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.quote-file-item-remove:hover {
    color: #e74c3c;
}

/* Form Navigation */
.quote-form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e8e8e8;
}

.quote-next-btn,
.quote-prev-btn {
    min-width: 140px;
}

.quote-submit-btn {
    min-width: 280px;
}

.quote-submit-loading {
    display: none;
}

.quote-submit-btn.loading .quote-submit-text,
.quote-submit-btn.loading .quote-submit-icon {
    display: none;
}

.quote-submit-btn.loading .quote-submit-loading {
    display: inline-block;
}

/* Success State */
.quote-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.quote-success.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.quote-success-animation {
    margin-bottom: 32px;
}

.quote-success-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #c4a77d 0%, #b8956e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: successPop 0.5s ease;
    box-shadow: 0 16px 48px rgba(196, 167, 125, 0.4);
}

.quote-success-circle i {
    font-size: 2.5rem;
    color: #0a192f;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.quote-success-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 12px;
}

.quote-success-text {
    font-size: 1.0625rem;
    color: #5a6a7a;
    max-width: 400px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.quote-success-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.quote-success-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #5a6a7a;
    font-size: 0.9375rem;
}

.quote-success-info-item i {
    color: #c4a77d;
}

/* ============================================
   QUOTE SIDEBAR
   ============================================ */
.quote-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Reassurance Card */
.quote-reassurance-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.quote-reassurance-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 24px;
}

.quote-reassurance-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-reassurance-item {
    display: flex;
    gap: 16px;
}

.quote-reassurance-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(196, 167, 125, 0.15) 0%, rgba(196, 167, 125, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4a77d;
    font-size: 1.25rem;
}

.quote-reassurance-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 4px;
}

.quote-reassurance-content p {
    font-size: 0.875rem;
    color: #5a6a7a;
    line-height: 1.5;
}

/* Testimonial */
.quote-testimonial {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    border-radius: 20px;
    padding: 32px;
    color: #ffffff;
}

.quote-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.quote-testimonial-stars i {
    color: #c4a77d;
    font-size: 1rem;
}

.quote-testimonial-text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

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

.quote-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(196, 167, 125, 0.3);
}

.quote-testimonial-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
}

.quote-testimonial-location {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Alternative */
.quote-contact-alt {
    background: #f8f5f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.quote-contact-alt-text {
    font-size: 0.9375rem;
    color: #5a6a7a;
    margin-bottom: 12px;
}

.quote-contact-alt-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a192f;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.quote-contact-alt-phone:hover {
    color: #c4a77d;
}

.quote-contact-alt-phone i {
    color: #c4a77d;
}

.quote-contact-alt-hours {
    font-size: 0.8125rem;
    color: #8a9099;
}

/* Trust Badges */
.quote-trust-badges {
    display: flex;
    gap: 16px;
}

.quote-trust-badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.quote-trust-badge-icon {
    width: 44px;
    height: 44px;
    background: #0a192f;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4a77d;
    font-size: 1.125rem;
    font-weight: 700;
}

.quote-trust-badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: #5a6a7a;
    text-align: center;
}

/* ============================================
   BOTTOM REASSURANCE STRIP
   ============================================ */
.quote-bottom-strip {
    padding: 64px 0;
    background: #ffffff;
}

.quote-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.quote-bottom-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.quote-bottom-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: linear-gradient(135deg, #c4a77d 0%, #b8956e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a192f;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(196, 167, 125, 0.3);
}

.quote-bottom-content h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: #0a192f;
    margin-bottom: 6px;
}

.quote-bottom-content p {
    font-size: 0.9375rem;
    color: #5a6a7a;
    line-height: 1.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .quote-layout {
        grid-template-columns: 1fr 340px;
        gap: 32px;
    }
}

@media (max-width: 992px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }
    
    .quote-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .quote-testimonial {
        grid-column: 1 / -1;
    }
    
    .quote-bottom-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .quote-bottom-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .quote-hero {
        padding: 100px 0 60px;
    }
    
    .quote-form-wrapper {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .quote-progress {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .quote-progress-line {
        width: 2px;
        height: 24px;
        margin: 0;
    }
    
    .quote-progress-step {
        flex-direction: row;
        gap: 12px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-form-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .quote-next-btn,
    .quote-prev-btn,
    .quote-submit-btn {
        width: 100%;
    }
    
    .quote-sidebar {
        grid-template-columns: 1fr;
    }
    
    .quote-trust-badges {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .quote-form-wrapper {
        padding: 24px 20px;
    }
    
    .quote-file-upload {
        padding: 24px 16px;
    }
    
    .quote-reassurance-card {
        padding: 24px;
    }
    
    .quote-testimonial {
        padding: 24px;
    }
}
