﻿
.pp-contact {
    --contact-primary: #0088b4;
    --contact-accent: #32b5b1;
    --contact-yellow: #f8b820;
    --contact-dark: #07131e;
    --contact-muted: #a8bac7;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 80vh;
    padding: 100px 24px 36px;
    color: #f7fafc;
    background: radial-gradient( circle at 50% 0%, rgba(0, 136, 180, 0.13), transparent 42% ), var(--contact-dark);
}

.pp-contact-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.pp-contact-header {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
    animation: ppContactEnter 0.7s ease-out both;
}

.pp-contact-label {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--contact-accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.pp-contact-header h1 {
    margin: 0 0 20px;
    font-size: clamp(2.1rem, 5vw, 3.7rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

    .pp-contact-header h1 span {
        color: var(--contact-yellow);
    }

.pp-contact-header > p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--contact-muted);
    font-size: 1.04rem;
    line-height: 1.85;
}

.pp-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pp-contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(163, 190, 205, 0.14);
    border-radius: 22px;
    background: linear-gradient( 145deg, rgba(22, 42, 57, 0.96), rgba(12, 27, 39, 0.96) );
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.13);
    animation: ppContactEnter 0.8s ease-out both;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .pp-contact-card:nth-child(2) {
        animation-delay: 0.12s;
    }

    .pp-contact-card::before {
        position: absolute;
        top: 0;
        left: 34px;
        width: 62px;
        height: 2px;
        content: "";
        background: var(--contact-accent);
        opacity: 0.85;
    }

.pp-contact-email::before {
    background: var(--contact-primary);
}

.pp-contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(50, 181, 177, 0.38);
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.24);
}

.pp-contact-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 27px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 16px;
}

    .pp-contact-icon svg {
        width: 29px;
        height: 29px;
    }

.pp-contact-icon-green {
    color: #39d98a;
    border-color: rgba(57, 217, 138, 0.15);
    background: rgba(37, 211, 102, 0.1);
}

.pp-contact-icon-blue {
    color: #52c8e9;
    border-color: rgba(82, 200, 233, 0.15);
    background: rgba(0, 136, 180, 0.13);
}

.pp-contact-card-label {
    margin-bottom: 11px;
    color: var(--contact-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.pp-contact-email .pp-contact-card-label {
    color: #52c8e9;
}

.pp-contact-card h2 {
    margin: 0 0 12px;
    color: #f7fafc;
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.pp-contact-card > p {
    flex: 1;
    margin: 0 0 28px;
    color: var(--contact-muted);
    font-size: 0.96rem;
    line-height: 1.8;
}

.pp-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

    .pp-contact-button svg {
        width: 19px;
        height: 19px;
        flex-shrink: 0;
        transition: transform 0.25s ease;
    }

    .pp-contact-button:hover {
        transform: translateY(-2px);
    }

        .pp-contact-button:hover svg {
            transform: translate(2px, -2px);
        }

.pp-contact-button-green {
    background: #167b4b;
    box-shadow: 0 8px 24px rgba(22, 123, 75, 0.16);
}

    .pp-contact-button-green:hover {
        color: #fff;
        background: #19965a;
        box-shadow: 0 12px 30px rgba(22, 123, 75, 0.25);
    }

.pp-contact-button-blue {
    background: var(--contact-primary);
    box-shadow: 0 8px 24px rgba(0, 136, 180, 0.16);
}

    .pp-contact-button-blue:hover {
        color: #fff;
        background: #079bc9;
        box-shadow: 0 12px 30px rgba(0, 136, 180, 0.25);
    }

.pp-contact-button:focus-visible {
    outline: 3px solid var(--contact-yellow);
    outline-offset: 4px;
}

.pp-contact-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 46px;
    animation: ppContactEnter 0.9s ease-out both;
}

    .pp-contact-footer p {
        margin: 0;
        color: #8296a5;
        font-size: 0.83rem;
        text-align: center;
        line-height: 1.6;
    }

.pp-contact-footer-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--contact-accent);
    box-shadow: 0 0 12px rgba(50, 181, 177, 0.6);
    animation: ppContactPulse 2s ease-in-out infinite;
}

.pp-contact-glow {
    position: absolute;
    z-index: -1;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    opacity: 0.13;
    animation: ppContactGlow 9s ease-in-out infinite alternate;
}

.pp-contact-glow-one {
    top: 18%;
    left: -240px;
    background: var(--contact-primary);
}

.pp-contact-glow-two {
    right: -240px;
    bottom: 5%;
    background: var(--contact-accent);
    animation-delay: 1.5s;
}

@keyframes ppContactEnter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ppContactPulse {
    0%, 100% {
        opacity: 0.65;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes ppContactGlow {
    from {
        transform: translate3d(0, -12px, 0);
    }

    to {
        transform: translate3d(20px, 18px, 0);
    }
}

@media (max-width: 700px) {
    .pp-contact {
        min-height: auto;
        padding: 76px 18px 28px;
    }

    .pp-contact-header {
        margin-bottom: 34px;
    }

        .pp-contact-header > p {
            font-size: 0.96rem;
        }

    .pp-contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pp-contact-card {
        padding: 27px 24px;
        border-radius: 18px;
    }

        .pp-contact-card::before {
            left: 24px;
        }

    .pp-contact-icon {
        margin-bottom: 21px;
    }

    .pp-contact-footer {
        margin-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-contact *,
    .pp-contact *::before,
    .pp-contact *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
