/* Contact page — creative modern redesign */

.contact-page .sp-contact-section {
    --contact-accent: var(--accent-color, #635bff);
    position: relative;
    overflow: hidden;
    padding-top: 48px;
    padding-bottom: 72px;
}

.contact-page .sp-contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.contact-page .sp-contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(42px);
    opacity: 0.42;
    animation: sp-contact-float 18s ease-in-out infinite;
}

.contact-page .sp-contact-orb--1 {
    width: 300px;
    height: 300px;
    top: 6%;
    left: -80px;
    background: rgba(99, 91, 255, 0.22);
}

.contact-page .sp-contact-orb--2 {
    width: 340px;
    height: 340px;
    right: -100px;
    bottom: 10%;
    background: rgba(124, 58, 237, 0.18);
    animation-direction: reverse;
}

.contact-page .sp-contact-ring {
    position: absolute;
    width: 440px;
    height: 440px;
    top: 16%;
    right: 6%;
    border-radius: 50%;
    border: 1px dashed rgba(99, 91, 255, 0.16);
    animation: sp-contact-spin 70s linear infinite;
}

.contact-page .sp-contact-dots {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: radial-gradient(rgba(99, 91, 255, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000, transparent 90%);
}

.contact-page .sp-contact-section .container {
    position: relative;
    z-index: 1;
}

@keyframes sp-contact-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(16px); }
}

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

.contact-page .sp-contact-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--contact-accent);
}

.contact-page .sp-contact-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 28px;
}

.contact-page .sp-contact-intro__copy {
    max-width: 40rem;
}

.contact-page .sp-contact-intro h2 {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    font-weight: 800;
    line-height: 1.2;
}

.contact-page .sp-contact-intro p {
    margin: 0;
    opacity: 0.88;
    line-height: 1.7;
}

.contact-page .sp-contact-intro a {
    color: var(--contact-accent);
    font-weight: 700;
    text-decoration: none;
}

.contact-page .sp-contact-intro a:hover {
    text-decoration: underline;
}

.contact-page .sp-contact-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.contact-page .sp-contact-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(99, 91, 255, 0.14);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(99, 91, 255, 0.06);
}

.contact-page .sp-contact-trust i {
    color: var(--contact-accent);
}

/* Channel cards */
.contact-page .sp-contact-channels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}

.contact-page .sp-contact-channel {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(99, 91, 255, 0.12);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(99, 91, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-page .sp-contact-channel:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 91, 255, 0.28);
    box-shadow: 0 18px 40px rgba(99, 91, 255, 0.14);
    color: inherit;
}

.contact-page .sp-contact-channel__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--contact-accent), #7c3aed);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 10px 22px rgba(99, 91, 255, 0.28);
}

.contact-page .sp-contact-channel--wa .sp-contact-channel__icon {
    background: linear-gradient(145deg, #25d366, #128c41);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.28);
}

.contact-page .sp-contact-channel__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.contact-page .sp-contact-channel__body strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.contact-page .sp-contact-channel__body em {
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-page .sp-contact-channel__arrow {
    opacity: 0.45;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-page .sp-contact-channel:hover .sp-contact-channel__arrow {
    opacity: 1;
    transform: translate(2px, -2px);
    color: var(--contact-accent);
}

/* Side column */
.contact-page .sp-contact-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-page .sp-contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-page .sp-contact-info {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(99, 91, 255, 0.12);
    background: #fff;
    box-shadow: 0 12px 30px rgba(99, 91, 255, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-page .sp-contact-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(99, 91, 255, 0.12);
}

.contact-page .sp-contact-info__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 91, 255, 0.08);
    color: var(--contact-accent);
    font-size: 1.05rem;
}

.contact-page .sp-contact-info h3 {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.65;
}

.contact-page .sp-contact-info p,
.contact-page .sp-contact-info a {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--heading-color, #473d3a);
    text-decoration: none;
}

.contact-page .sp-contact-info a {
    color: var(--contact-accent);
}

.contact-page .sp-contact-info a:hover {
    text-decoration: underline;
}

.contact-page .sp-contact-process {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(99, 91, 255, 0.12);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(99, 91, 255, 0.1), transparent 55%),
        #fff;
    box-shadow: 0 14px 34px rgba(99, 91, 255, 0.08);
}

.contact-page .sp-contact-process h3 {
    margin: 0 0 16px;
    font-size: 1.15rem;
    font-weight: 800;
}

.contact-page .sp-contact-process ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-page .sp-contact-process li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.contact-page .sp-contact-process li > span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--contact-accent), #7c3aed);
    box-shadow: 0 8px 18px rgba(99, 91, 255, 0.25);
}

.contact-page .sp-contact-process strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-page .sp-contact-process p {
    margin: 0;
    font-size: 0.84rem;
    opacity: 0.78;
    line-height: 1.45;
}

.contact-page .sp-contact-map {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(99, 91, 255, 0.12);
    box-shadow: 0 14px 34px rgba(99, 91, 255, 0.08);
    background: #fff;
}

.contact-page .sp-contact-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.contact-page .sp-contact-map__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--contact-accent);
    text-decoration: none;
    background: rgba(99, 91, 255, 0.06);
}

.contact-page .sp-contact-map__link:hover {
    background: rgba(99, 91, 255, 0.1);
    color: var(--contact-accent);
}

/* Form card */
.contact-page .sp-contact-form-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(99, 91, 255, 0.14);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(99, 91, 255, 0.08), transparent 45%),
        #fff;
    box-shadow: 0 22px 50px rgba(99, 91, 255, 0.12);
}

.contact-page .sp-contact-form-card__head {
    margin-bottom: 22px;
}

.contact-page .sp-contact-form-card__head h3 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    font-weight: 800;
}

.contact-page .sp-contact-form-card__head p {
    margin: 0;
    opacity: 0.8;
}

.contact-page .sp-contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--heading-color, #473d3a);
}

.contact-page .sp-contact-field {
    position: relative;
}

.contact-page .sp-contact-field > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--contact-accent);
    opacity: 0.75;
    z-index: 2;
    pointer-events: none;
}

.contact-page .sp-contact-field--textarea > i {
    top: 16px;
    transform: none;
}

.contact-page .sp-contact-form .form-control,
.contact-page .sp-contact-form .form-select {
    border-radius: 14px;
    border: 1px solid rgba(99, 91, 255, 0.14);
    padding: 0.72rem 0.95rem 0.72rem 2.5rem;
    font-size: 0.95rem;
    background: rgba(99, 91, 255, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-page .sp-contact-form .form-control:focus,
.contact-page .sp-contact-form .form-select:focus {
    border-color: var(--contact-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.14);
}

.contact-page .sp-contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-page .sp-contact-form .mb-3 .form-control {
    padding-left: 0.95rem;
}

.contact-page .sp-contact-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.9rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--contact-accent) 0%, #7c3aed 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(99, 91, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-page .sp-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(99, 91, 255, 0.36);
    color: #fff;
}

.contact-page .sp-contact-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

.contact-page .sp-contact-form-note i {
    color: var(--contact-accent);
}

.contact-page .sp-contact-alert {
    border: 0;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
}

@media (max-width: 1199.98px) {
    .contact-page .sp-contact-channels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .contact-page .sp-contact-intro {
        align-items: flex-start;
    }

    .contact-page .sp-contact-trust {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .contact-page .sp-contact-channels,
    .contact-page .sp-contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-page .sp-contact-form-card {
        padding: 20px 16px;
    }

    .contact-page .sp-contact-map iframe {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page .sp-contact-orb,
    .contact-page .sp-contact-ring,
    .contact-page .sp-contact-channel,
    .contact-page .sp-contact-info,
    .contact-page .sp-contact-submit {
        animation: none !important;
        transition: none !important;
    }
}
