/* ==========================================================================
   ZERO-DEFECT CONTACT & ASSESSMENT SECTION STYLING
   Theme: Clean, Executive B2B Architecture / Premium Dark Mode
   ========================================================================== */

.contact-section {
    padding: clamp(60px, 8vw, 100px) 0;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(131, 79, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 90%, rgba(249, 187, 110, 0.04) 0%, transparent 50%),
                var(--bg-base);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(131, 79, 255, 0.35), rgba(249, 187, 110, 0.35), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 40px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 36px;
    }
}

/* ==========================================================================
   FORM CONTAINER & CONTROLS
   ========================================================================== */

.contact-card {
    background: linear-gradient(165deg, rgba(26, 25, 40, 0.95) 0%, rgba(17, 16, 28, 0.98) 100%);
    border: 1px solid rgba(131, 79, 255, 0.22);
    border-radius: 16px;
    padding: clamp(24px, 4vw, 38px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    position: relative;
    backdrop-filter: blur(16px);
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249, 187, 110, 0.5), transparent);
}

.form-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(240, 236, 249, 0.08);
    padding-bottom: 18px;
}

.form-header h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: normal;
    color: #E2DCF0;
    margin-bottom: 7px;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-label .req {
    color: var(--accent-gold);
    font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(11, 10, 16, 0.85);
    border: 1px solid rgba(240, 236, 249, 0.15);
    border-radius: 8px;
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 0.94rem;
    outline: none;
    transition: all var(--transition-base);
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(240, 236, 249, 0.35);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: rgba(131, 79, 255, 0.45);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-purple-light);
    box-shadow: 0 0 0 3px rgba(131, 79, 255, 0.2), 0 0 16px rgba(131, 79, 255, 0.15);
    background: rgba(14, 13, 22, 0.95);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23F9BB6E'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-select option {
    background: #141320;
    color: #FFFFFF;
}

.form-textarea {
    resize: vertical;
    min-height: 105px;
    line-height: 1.5;
}

/* ==========================================================================
   SECURITY VERIFICATION (CAPTCHA) BOX
   ========================================================================== */

.captcha-card {
    background: rgba(14, 13, 22, 0.92);
    border: 1px solid rgba(249, 187, 110, 0.25);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 18px 0 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

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

.captcha-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.captcha-title svg {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.captcha-refresh-btn {
    background: transparent;
    border: 1px solid rgba(240, 236, 249, 0.16);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.captcha-refresh-btn:hover {
    color: #FFFFFF;
    border-color: var(--accent-purple-light);
    background: rgba(131, 79, 255, 0.15);
}

.captcha-body {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.captcha-math-prompt {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(249, 187, 110, 0.1);
    border: 1px solid rgba(249, 187, 110, 0.3);
    padding: 9px 16px;
    border-radius: 6px;
    white-space: nowrap;
}

.captcha-input-wrap {
    flex: 1;
    min-width: 140px;
    position: relative;
}

.captcha-input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(8, 7, 16, 0.95);
    border: 1px solid rgba(240, 236, 249, 0.2);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
    outline: none;
    box-sizing: border-box;
    transition: all var(--transition-fast);
}

.captcha-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(249, 187, 110, 0.25);
}

.captcha-status {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.captcha-status.valid {
    color: var(--accent-green);
    font-weight: 500;
}

.captcha-status.invalid {
    color: var(--accent-red);
}

.captcha-status.pending {
    color: var(--text-muted);
}

/* ==========================================================================
   SUBMIT BUTTON & SECURITY NOTE
   ========================================================================== */

.submit-btn-wrap {
    margin-top: 8px;
}

.btn-command-submit {
    width: 100%;
    padding: 15px 32px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-command-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(0.4);
}

.submit-security-note {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    line-height: 1.4;
}

.submit-security-note svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* ==========================================================================
   EXECUTIVE SIDEBAR (WHAT HAPPENS NEXT + DIRECT CHANNELS)
   ========================================================================== */

.telemetry-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Process Timeline Card */
.process-card {
    background: linear-gradient(160deg, rgba(20, 19, 32, 0.95) 0%, rgba(14, 13, 24, 0.98) 100%);
    border: 1px solid rgba(131, 79, 255, 0.2);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.process-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(240, 236, 249, 0.08);
    padding-bottom: 12px;
}

.process-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-badge {
    font-size: 0.74rem;
    color: var(--accent-green);
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.process-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(131, 79, 255, 0.15);
    border: 1px solid rgba(131, 79, 255, 0.35);
    color: var(--accent-purple-light);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 3px;
}

.step-content p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

/* Direct Contact Info Card */
.direct-channels-card {
    background: linear-gradient(160deg, rgba(20, 19, 32, 0.95) 0%, rgba(14, 13, 24, 0.98) 100%);
    border: 1px solid rgba(240, 236, 249, 0.1);
    border-radius: 14px;
    padding: 24px;
}

.direct-channels-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.channel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.channel-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.channel-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(131, 79, 255, 0.12);
    border: 1px solid rgba(131, 79, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-purple-light);
}

.channel-content {
    flex: 1;
}

.channel-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.channel-value {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.channel-value a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.channel-value a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(240, 236, 249, 0.08);
}

.cert-pill {
    font-size: 0.74rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   OFFICE LOCATIONS FOOTER MODULE
   ========================================================================== */
.footer-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 0 36px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(240, 236, 249, 0.08);
}

.footer-location-card {
    background: rgba(26, 25, 40, 0.45);
    border: 1px solid rgba(240, 236, 249, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.footer-location-card:hover {
    border-color: rgba(249, 187, 110, 0.3);
    background: rgba(26, 25, 40, 0.7);
}

.footer-location-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-location-flag {
    font-size: 1.35rem;
    line-height: 1;
}

.footer-location-meta {
    display: flex;
    flex-direction: column;
}

.footer-location-badge {
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-gold, #F9BB6E);
    margin-bottom: 2px;
}

.footer-location-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary, #F0ECF9);
}

.footer-location-address {
    font-size: 0.85rem;
    color: var(--text-secondary, #9E9AA8);
    line-height: 1.55;
    margin: 0 0 12px;
}

.footer-location-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted, #6B6678);
    padding-top: 10px;
    border-top: 1px solid rgba(240, 236, 249, 0.05);
}

.footer-location-detail .phone-link {
    color: var(--accent-gold, #F9BB6E);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.footer-location-detail .phone-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-location-detail .tz-badge {
    color: var(--text-secondary, #9E9AA8);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
