/*
  contact-upgrade.css — Ultra-Premium Liquid Glass Design System
  Zero-Conflict: Augments contact/index.html with refined B2B aesthetics.
  Accent: #2f6f9f  |  Dark glass: rgba(1, 22, 30, 0.4)  |  Blur: 24px
*/

/* ================================================================
   1. CONTACT SECTION LAYOUT
   ================================================================ */
.contact-section {
    padding: 60px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
}

/* ================================================================
   2. LEFT COLUMN — TRUST & POSITIONING
   ================================================================ */
.contact-trust-col {
    position: sticky;
    top: 120px;
}

.trust-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2f6f9f;
    margin-bottom: 22px;
}

.trust-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #2f6f9f;
}

.trust-headline {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 18px;
}

.trust-body {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 420px;
}

/* Why Us bullets */
.trust-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 36px;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-list li:last-child {
    border-bottom: none;
}

.trust-bullet-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(47, 111, 159, 0.1);
    border: 1px solid rgba(47, 111, 159, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.trust-bullet-icon .material-symbols-rounded {
    font-size: 16px;
    color: #2f6f9f;
}

.trust-bullet-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3px;
}

.trust-bullet-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

/* Contact meta info cards */
.trust-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s;
}

.trust-meta-item:hover {
    background: rgba(47, 111, 159, 0.06);
    border-color: rgba(47, 111, 159, 0.15);
}

.trust-meta-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(47, 111, 159, 0.08);
    border: 1px solid rgba(47, 111, 159, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-meta-icon .material-symbols-rounded {
    font-size: 17px;
    color: #2f6f9f;
}

.trust-meta-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.3);
    display: block;
    margin-bottom: 2px;
}

.trust-meta-value {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* Online status badge */
.trust-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(47, 111, 159, 0.04);
    border: 1px solid rgba(47, 111, 159, 0.12);
    border-radius: 12px;
    margin-top: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #4caf7e;
    animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 126, 0.5); }
    50%       { box-shadow: 0 0 0 6px rgba(76, 175, 126, 0); }
}

.status-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

.status-text strong {
    color: #4caf7e;
    font-weight: 700;
}

/* ================================================================
   3. RIGHT COLUMN — FORM CARD  (Liquid Glass)
   ================================================================ */
.form-card-wrap {
    position: relative;
}

/* Ambient glow behind the card */
.form-card-wrap::before {
    content: '';
    position: absolute;
    inset: -60px;
    border-radius: 40px;
    background: radial-gradient(ellipse at 60% 30%, rgba(47, 111, 159, 0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.form-card {
    position: relative;
    z-index: 1;
    background: rgba(1, 22, 30, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 48px;
    overflow: hidden;
}

/* Razor-thin top accent line */
.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(47, 111, 159, 0.6) 35%,
        rgba(47, 111, 159, 0.3) 65%,
        transparent);
    opacity: 0.7;
}

.form-card-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.form-card-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 36px;
}

.form-card-sub .material-symbols-rounded {
    font-size: 14px;
    color: rgba(47, 111, 159, 0.7);
}

/* ================================================================
   4. INPUT FIELDS — Expensive Pill Style
   ================================================================ */
.field-group {
    margin-bottom: 18px;
}

.field-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.field-wrap {
    position: relative;
}

.field-wrap .material-symbols-rounded {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: rgba(255, 255, 255, 0.18);
    pointer-events: none;
    transition: color 0.25s ease;
}

.field-wrap.textarea-wrap .material-symbols-rounded {
    top: 16px;
    transform: none;
}

.field-wrap input,
.field-wrap select,
.field-wrap textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 13px 16px 13px 46px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    outline: none;
    transition:
        border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}

.field-wrap select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.field-wrap select option {
    background: #01161E;
    color: rgba(255, 255, 255, 0.85);
}

.field-wrap textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
    padding-top: 13px;
}

.field-wrap input::placeholder,
.field-wrap textarea::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

/* Focus state — smooth blue trace */
.field-wrap input:focus,
.field-wrap select:focus,
.field-wrap textarea:focus {
    border-color: rgba(47, 111, 159, 0.45);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 0 0 3px rgba(47, 111, 159, 0.08);
}

.field-wrap:focus-within .material-symbols-rounded {
    color: rgba(47, 111, 159, 0.7);
}

/* Expanding focus underline trace */
.field-wrap::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    right: 50%;
    height: 2px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(90deg, #2f6f9f, #1e4b6d);
    transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 2;
}

.field-wrap:focus-within::after {
    left: 0;
    right: 0;
}

/* Field row grid */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ================================================================
   5. SERVICE CHIPS
   ================================================================ */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.chip {
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.chip:hover {
    border-color: rgba(47, 111, 159, 0.3);
    color: rgba(255, 255, 255, 0.75);
    background: rgba(47, 111, 159, 0.05);
}

.chip.active {
    background: rgba(47, 111, 159, 0.12);
    border-color: rgba(47, 111, 159, 0.4);
    color: #fff;
}

/* ================================================================
   6. PRIVACY ROW
   ================================================================ */
.privacy-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0 24px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.priv-box {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: all 0.2s ease;
}

.priv-box:hover {
    border-color: rgba(47, 111, 159, 0.4);
}

.priv-box.checked {
    background: linear-gradient(135deg, #2f6f9f, #1a4a6e);
    border-color: transparent;
}

.priv-box .material-symbols-rounded {
    font-size: 12px;
    color: #fff;
    display: none;
}

.priv-box.checked .material-symbols-rounded {
    display: block;
}

.priv-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.65;
}

.priv-text a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

.priv-text a:hover {
    color: #2f6f9f;
}

/* ================================================================
   7. SUBMIT BUTTON
   ================================================================ */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2f6f9f 0%, #1a4a6e 100%);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                opacity 0.2s ease;
    box-shadow: 0 8px 24px rgba(47, 111, 159, 0.3);
    letter-spacing: 0.1px;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 14px 36px rgba(47, 111, 159, 0.45);
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit:hover .material-symbols-rounded {
    transform: translateX(3px);
}

.btn-submit .material-symbols-rounded {
    font-size: 19px;
    transition: transform 0.3s ease;
}

/* Loading state */
.btn-submit.loading {
    opacity: 0.8;
    pointer-events: none;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .material-symbols-rounded {
    animation: spin-arc 0.75s linear infinite;
}

@keyframes spin-arc {
    to { transform: rotate(360deg); }
}

/* Success state */
.btn-submit.success {
    width: 100% !important;
    background: linear-gradient(135deg, #2f6f9f, #1a4a6e) !important;
    box-shadow: 0 0 30px rgba(47, 111, 159, 0.35) !important;
    margin: 0 auto;
}

/* ================================================================
   8. FORM ERROR BANNER
   ================================================================ */
.form-error-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(47, 111, 159, 0.07);
    border: 1px solid rgba(47, 111, 159, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 16px;
    animation: fadeSlideUp 0.3s ease both;
}

.form-error-banner .material-symbols-rounded {
    font-size: 16px;
    color: #2f6f9f;
    flex-shrink: 0;
}

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

/* ================================================================
   9. FORM TRUST BAR
   ================================================================ */
.form-trust {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.3px;
}

.trust-item .material-symbols-rounded {
    font-size: 13px;
    color: rgba(47, 111, 159, 0.5);
}

/* ================================================================
   10. FORM SUCCESS STATE
   ================================================================ */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 20px;
    gap: 16px;
}

.success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(47, 111, 159, 0.1);
    border: 1px solid rgba(47, 111, 159, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.success-icon .material-symbols-rounded {
    font-size: 34px;
    color: #2f6f9f;
}

.success-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.5px;
}

.success-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    max-width: 300px;
}

/* ================================================================
   11. INFO-CARD HOVER EFFECT (Left Col)
   ================================================================ */
.info-card {
    overflow: visible !important;
}

.info-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 19px;
    background: transparent;
    border: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
    pointer-events: none;
    z-index: -1;
}

.info-card:hover::after {
    border-color: rgba(47, 111, 159, 0.2);
    box-shadow: 0 0 20px rgba(47, 111, 159, 0.08);
}

/* ================================================================
   12. FAQ
   ================================================================ */
.faq-item.faq-open {
    border-color: rgba(47, 111, 159, 0.2);
}

.faq-item.faq-open .faq-icon {
    background: rgba(47, 111, 159, 0.1);
    border-color: rgba(47, 111, 159, 0.3);
    color: #2f6f9f;
}

/* ================================================================
   13. CTA SECTION
   ================================================================ */
.cta-content::before {
    background: linear-gradient(90deg,
        transparent,
        rgba(47, 111, 159, 0.5) 35%,
        rgba(30, 75, 109, 0.3) 65%,
        transparent) !important;
}

/* ================================================================
   14. RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-trust-col {
        position: static;
    }
}

@media (max-width: 768px) {
    .form-card {
        padding: 32px 22px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .trust-headline {
        font-size: 26px;
    }
}

/* ================================================================
   15. PERFORMANCE
   ================================================================ */
.form-card,
.info-card {
    will-change: auto;
}

@media (max-width: 768px) {
    .form-card,
    .info-card {
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
    }
}
