/* ============================================================
   QUOTE.CSS — Venigem Advanced Technologies
   Premium Corporate Quote Request Page
   ============================================================ */

/* ==================== QUOTE PAGE BASE ==================== */
.quote-page {
    background: #f8fafc;
}

/* ==================== DARK HERO BANNER ==================== */
.quote-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(160deg, #0a0f1e 0%, #0d1528 50%, #0a1828 100%);
    overflow: hidden;
    text-align: center;
}

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

.qh-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.qh-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--brand-blue);
    top: -150px;
    right: -100px;
}

.qh-glow-2 {
    width: 400px;
    height: 400px;
    background: #0ea5e9;
    bottom: -120px;
    left: -80px;
}

.quote-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Breadcrumb */
.qh-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 36px;
    font-weight: 500;
}

.qh-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.qh-breadcrumb a:hover {
    color: var(--brand-blue);
}

.qh-breadcrumb i {
    font-size: 10px;
    opacity: 0.4;
}

.qh-breadcrumb span {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Title */
.quote-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.quote-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* Hero Stats */
.qh-stats {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px 48px;
    backdrop-filter: blur(10px);
}

.qh-stat {
    text-align: center;
}

.qh-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.qh-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.qh-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}


/* ==================== FORM + SIDEBAR LAYOUT ==================== */
.quote-body {
    padding: 80px 0 120px;
}

.quote-body-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: start;
}


/* ==================== CORPORATE FORM ==================== */
.quote-form-wrapper {
    position: relative;
}

.corp-form {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

/* Form Section */
.cf-section {
    padding: 48px 52px 40px;
    border-bottom: 1px solid #f1f5f9;
}

.cf-section:last-of-type {
    border-bottom: none;
}

.cf-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.cf-step-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--brand-blue), #0ea5e9);
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}

.cf-section-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.cf-section-header p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cf-field-full {
    margin-top: 24px;
}

.cf-field label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.2px;
}

.cf-field label .req {
    color: #ef4444;
}

.cf-field label .optional {
    color: var(--text-secondary);
    font-weight: 500;
    font-style: italic;
    font-size: 12px;
}

/* Input Box */
.cf-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.cf-input-box i {
    position: absolute;
    left: 18px;
    color: var(--brand-blue);
    font-size: 15px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.cf-input-box input,
.cf-input-box select {
    width: 100%;
    padding: 16px 18px 16px 50px;
    background: #f8fafc;
    border: 2px solid #e8ecf1;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.cf-input-box select {
    cursor: pointer;
}

.cf-input-box input:focus,
.cf-input-box select:focus {
    background: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 5px rgba(5, 152, 153, 0.06);
}

.cf-input-box:focus-within i {
    opacity: 1;
}

.cf-field textarea {
    width: 100%;
    padding: 18px 20px;
    background: #f8fafc;
    border: 2px solid #e8ecf1;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.cf-field textarea:focus {
    background: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 5px rgba(5, 152, 153, 0.06);
}

/* ===== Solution Selection Cards ===== */
.cf-solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sol-card {
    cursor: pointer;
    position: relative;
}

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

.sol-card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: #f8fafc;
    border: 2px solid #e8ecf1;
    border-radius: 16px;
    transition: all 0.35s ease;
    position: relative;
}

.sol-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(5, 152, 153, 0.08);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.sol-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.sol-info span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.sol-check {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e8ecf1;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.35s ease;
}

/* Hover State */
.sol-card:hover .sol-card-inner {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

/* Selected State */
.sol-card input:checked + .sol-card-inner {
    border-color: var(--brand-blue);
    background: rgba(5, 152, 153, 0.03);
    box-shadow: 0 8px 24px rgba(5, 152, 153, 0.08);
}

.sol-card input:checked + .sol-card-inner .sol-icon {
    background: var(--brand-blue);
    color: #ffffff;
}

.sol-card input:checked + .sol-card-inner .sol-check {
    background: var(--brand-blue);
    color: #ffffff;
}


/* ===== Submit Area ===== */
.cf-submit-area {
    padding: 40px 52px 48px;
    text-align: center;
}

.cf-submit-btn {
    width: 100%;
    max-width: 420px;
    padding: 20px 40px;
    background: linear-gradient(135deg, #0a1122 0%, #111a2e 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cf-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 152, 153, 0.15), transparent);
    transition: left 0.6s ease;
}

.cf-submit-btn:hover::before {
    left: 100%;
}

.cf-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(10, 17, 34, 0.25);
}

.cf-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.cf-privacy {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cf-privacy i {
    color: var(--brand-blue);
    font-size: 12px;
}


/* ===== Success Overlay ===== */
.cf-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.cf-success-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cf-success-inner {
    text-align: center;
    padding: 60px 40px;
}

.cf-success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 28px;
    animation: successPop 0.5s ease forwards;
}

@keyframes successPop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.cf-success-inner h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cf-success-inner p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cf-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--brand-blue);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.cf-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 152, 153, 0.3);
}


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

.qs-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

/* Process Card */
.qs-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.qs-card-header i {
    font-size: 22px;
    color: var(--brand-blue);
}

.qs-card-header h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Timeline */
.qs-timeline {
    list-style: none;
    padding: 0;
    position: relative;
}

.qs-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-blue), rgba(5, 152, 153, 0.1));
}

.qs-timeline li {
    display: flex;
    gap: 20px;
    padding-bottom: 24px;
    position: relative;
}

.qs-timeline li:last-child {
    padding-bottom: 0;
}

.qs-tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--brand-blue);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.qs-tl-content strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.qs-tl-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Trust Card */
.qs-trust {
    background: linear-gradient(135deg, #0a1122 0%, #111a2e 100%);
    border-color: transparent;
}

.qs-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.qs-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.qs-trust-item i {
    font-size: 24px;
    color: var(--brand-blue);
}

.qs-trust-item span {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Card */
.qs-contact {
    text-align: center;
    background: rgba(5, 152, 153, 0.03);
    border: 1px dashed rgba(5, 152, 153, 0.2);
}

.qs-contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qs-contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.qs-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.qs-contact p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.qs-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: var(--brand-blue);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.qs-phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 152, 153, 0.25);
}

.qs-email-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.qs-email-link:hover {
    color: var(--brand-blue);
}


/* ==================== RESPONSIVE ==================== */
@media screen and (max-width: 1100px) {
    .quote-body-container {
        grid-template-columns: 1fr;
    }

    .quote-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .qs-contact {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    .quote-hero {
        padding: 160px 0 80px;
    }

    .quote-hero h1 {
        font-size: 2.5rem;
    }

    .qh-stats {
        flex-direction: column;
        gap: 20px;
        padding: 30px 40px;
    }

    .qh-stat-divider {
        width: 60px;
        height: 1px;
    }

    .cf-section {
        padding: 36px 28px 32px;
    }

    .cf-grid {
        grid-template-columns: 1fr;
    }

    .cf-solutions-grid {
        grid-template-columns: 1fr;
    }

    .cf-submit-area {
        padding: 32px 28px 40px;
    }

    .quote-sidebar {
        grid-template-columns: 1fr;
    }

    .qs-contact {
        grid-column: span 1;
    }
}

@media screen and (max-width: 480px) {
    .quote-hero h1 {
        font-size: 2rem;
    }

    .qh-breadcrumb {
        font-size: 12px;
    }

    .cf-section {
        padding: 28px 20px 24px;
    }

    .cf-submit-area {
        padding: 24px 20px 32px;
    }

    .qs-card {
        padding: 28px 20px;
    }
}