/* =============================================================
   FieldCRM — Contact Page  |  Light Theme
   ============================================================= */

/* ── Hero ── */
.contact-hero {
    padding: 5.5rem 0 3.5rem;
    text-align: center;
    background: linear-gradient(180deg, var(--orange-xlight) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(249,115,22,.08) 0%, transparent 65%);
    pointer-events: none;
}

/* ── Trust Strip ── */
.trust-section {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--clr-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.trust-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-xlight);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--blue);
    flex-shrink: 0;
}

.trust-text { font-size: .82rem; color: var(--clr-muted); line-height: 1.4; }
.trust-text strong { display: block; color: var(--gray-900); font-size: .9rem; font-weight: 600; }

/* ── Contact Section ── */
.contact-section { padding: 3rem 0 5.5rem; background: var(--gray-50); }

/* Info Cards */
.contact-info-card {
    background: var(--white);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-orng);
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    background: var(--orange-xlight);
    border: 1.5px solid var(--orange-light);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--orange);
    flex-shrink: 0;
}

.contact-info-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: 2px;
}

.contact-info-value {
    font-size: .9rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
}

.contact-info-sub {
    font-size: .75rem;
    color: var(--clr-muted);
    margin-top: 1px;
}

/* Form Card */
.contact-form-card {
    background: var(--white);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--r-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: .25rem;
}

.contact-form-card .sub {
    font-size: .875rem;
    color: var(--clr-muted);
    margin-bottom: 1.75rem;
}

/* Form inputs */
.form-label-custom {
    font-size: .8rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: .38rem;
    display: block;
}

.form-control-custom,
.form-select-custom {
    background: var(--gray-50);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--r-sm);
    color: var(--gray-900);
    font-family: var(--font);
    font-size: .875rem;
    padding: .68rem 1rem;
    width: 100%;
    transition: var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-control-custom::placeholder { color: var(--gray-400); }

.form-control-custom:focus,
.form-select-custom:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(29,78,216,.1);
    color: var(--gray-900);
}

.form-select-custom option { background: var(--white); color: var(--gray-900); }

textarea.form-control-custom { resize: vertical; min-height: 110px; }

.form-group { margin-bottom: 1.1rem; }

.btn-submit {
    width: 100%;
    padding: .85rem;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: .95rem;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--orange-dark);
    box-shadow: var(--shadow-orng);
    transform: translateY(-2px);
}

.form-note {
    font-size: .75rem;
    color: var(--clr-muted);
    text-align: center;
    margin-top: .65rem;
}

/* Success State */
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success .success-icon {
    width: 64px; height: 64px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: #16a34a;
    margin: 0 auto 1rem;
}

/* Map card */
.map-card {
    background: var(--white);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .6rem;
}

.map-card .map-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(var(--gray-200) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: .5;
}

.map-pin {
    width: 50px; height: 50px;
    background: var(--orange);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    box-shadow: var(--shadow-orng);
    animation: mapPinBounce 2.2s ease-in-out infinite;
}

.map-pin i { transform: rotate(45deg); color: #fff; font-size: 1.15rem; }

@keyframes mapPinBounce {
    0%,100% { transform: rotate(-45deg) translateY(0); }
    50%      { transform: rotate(-45deg) translateY(-8px); }
}

.map-label {
    font-size: .85rem;
    color: var(--clr-muted);
    position: relative;
    z-index: 1;
    text-align: center;
}

.map-label strong {
    display: block;
    color: var(--gray-900);
    font-weight: 700;
    font-size: .95rem;
}

@media (max-width: 767.98px) {
    .contact-form-card { padding: 1.5rem; }
    .trust-item { justify-content: flex-start; }
}