/* ==========================================================================
   CONTACT INTAKE & PRICING STRUCTURE STYLES (CONTACT.CSS)
   ========================================================================== */

/* Layout Canvas Grid Base */
.contact-pricing-section {
    width: 100%;
    padding: 160px 0 120px 0;
    background-color: var(--bg-deep, #0B1F2A);
    background-image: radial-gradient(circle at 90% 10%, rgba(30, 212, 198, 0.04) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.contact-pricing-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start; /* Standardized fix for layout clipping */
}

/* --- LEFT PANEL: PRICING PRESENTATION BLOCK --- */
.pricing-info-block {
    display: flex;
    flex-direction: column;
}

.pricing-info-block h2 {
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-pure, #ffffff);
    letter-spacing: -0.02em;
    margin: 20px 0;
}

.pricing-lead-text {
    font-family: var(--font-sans, 'Inter'), sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted, #cbd5e1);
    margin-bottom: 40px;
    font-weight: 400;
}

/* Vertical Pricing Card Stack */
.pricing-models-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.model-box {
    background: var(--glass-surface, rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    border-left: 4px solid var(--text-muted, #64748b);
    padding: 32px;
    border-radius: 0 16px 16px 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.model-box:hover {
    border-color: rgba(30, 212, 198, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

/* Highlights the targeted packages cleanly */
.model-box:nth-child(2) {
    border-left-color: var(--brand-cyan, #1ED4C6);
    background: rgba(30, 212, 198, 0.01);
}

.model-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* Upgraded SVG Check Icons Vector Scaling */
.model-check-icon {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    flex-shrink: 0;
}

.model-box:nth-child(2) .model-check-icon {
    color: var(--brand-cyan, #1ED4C6);
    filter: drop-shadow(0 0 6px rgba(30, 212, 198, 0.3));
}

.model-box h4 {
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-pure, #ffffff);
}

.model-box p {
    font-family: var(--font-sans, 'Inter'), sans-serif;
    color: var(--text-muted, #94a3b8);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Regional HQ Branding Card */
.hq-location-card {
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hq-location-card h5 {
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-pure, #ffffff);
    margin-bottom: 4px;
}

.hq-location-card p {
    font-family: var(--font-sans, 'Inter'), sans-serif;
    color: var(--text-muted, #cbd5e1);
    font-size: 0.95rem;
}

.scope-tag {
    display: inline-block;
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-cyan, #1ED4C6);
    background: rgba(30, 212, 198, 0.06);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(30, 212, 198, 0.12);
    margin-top: 16px;
}


/* --- RIGHT PANEL: FORM LAYOUT ENGINE --- */
.dynamic-form-engine {
    background: var(--glass-surface, rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.05));
    padding: 48px;
    border-radius: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(4, 13, 18, 0.3);
}

.form-title-rig {
    margin-bottom: 36px;
}

.form-title-rig h3 {
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-pure, #ffffff);
    margin-bottom: 8px;
}

.form-title-rig p {
    font-family: var(--font-sans, 'Inter'), sans-serif;
    color: var(--text-muted, #94a3b8);
    font-size: 0.95rem;
    line-height: 1.45;
}

/* Structural Split Row fields */
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.section-input-label {
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    padding-top: 28px;
    margin-top: 8px;
    margin-bottom: 16px !important;
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: rgba(6, 19, 26, 0.4);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    padding: 14px 16px;
    border-radius: 8px;
    color: var(--text-pure, #ffffff);
    font-family: var(--font-sans, 'Inter'), sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-cyan, #1ED4C6);
    background: rgba(6, 19, 26, 0.6);
    box-shadow: 0 0 14px rgba(30, 212, 198, 0.12);
}

/* Custom Interactive Selector Cards */
.custom-radio-matrix {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.matrix-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(6, 19, 26, 0.2);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

/* Hide native input completely safely */
.matrix-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom Checkbox Dot Vector Core */
.custom-radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted, #64748b);
    border-radius: 50%;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    display: block;
    transition: all 0.2s ease;
}

/* Active Highlight States mapped safely via structural parent overrides */
.matrix-radio-card input[type="radio"]:checked + .custom-radio-circle {
    border-color: var(--brand-cyan, #1ED4C6);
    background: var(--brand-cyan, #1ED4C6);
    box-shadow: 0 0 8px rgba(30, 212, 198, 0.4);
}

.matrix-radio-card input[type="radio"]:checked + .custom-radio-circle::after {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--bg-deep, #0B1F2A);
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
}

.matrix-radio-card:hover {
    background: rgba(11, 31, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Parent selection state engine tracking */
.matrix-radio-card:has(input[type="radio"]:checked) {
    border-color: rgba(30, 212, 198, 0.35) !important;
    background: rgba(30, 212, 198, 0.02) !important;
}

.radio-text-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.radio-text-panel strong {
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-size: 0.95rem;
    color: var(--text-pure, #ffffff);
}

.radio-text-panel span {
    font-family: var(--font-sans, 'Inter'), sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.45;
}


/* --- FORM SUBMISSION BUTTON ACTION --- */
.btn-submit-form {
    width: 100%;
    background: var(--brand-cyan, #1ED4C6);
    border: none;
    padding: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-display, 'Plus Jakarta Sans'), sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--bg-deep, #0B1F2A);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 12px;
}

.btn-submit-form:hover {
    transform: translateY(-2px);
    background: #23fceb;
    box-shadow: 0 12px 24px rgba(30, 212, 198, 0.2);
}

.btn-submit-form:active {
    transform: translateY(-0.5px);
}


/* ==========================================================================
   STRUCTURAL BREAKPOINT RESPONSIVENESS OVERRIDES
   ========================================================================== */

@media (max-width: 1200px) {
    .contact-pricing-container {
        gap: 40px;
        padding: 0 24px;
    }
}

@media (max-width: 1100px) {
    .contact-pricing-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-pricing-section {
        padding: 120px 0 80px 0;
    }
}

@media (max-width: 640px) {
    .contact-pricing-container {
        padding: 0 16px;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .dynamic-form-engine {
        padding: 32px 20px;
        border-radius: 16px;
    }
    .pricing-info-block h2 {
        margin: 12px 0;
    }
    .model-box {
        padding: 24px;
    }
}