:root {
    --contact-gradient-start: #0a7b83;
    --contact-gradient-end: #1dd1a1;
    --contact-surface: #0f1b2b;
    --contact-card: rgba(12, 28, 38, 0.72);
    --contact-stroke: rgba(255, 255, 255, 0.08);
    --contact-text: #e8f5ff;
    --contact-muted: rgba(232, 245, 255, 0.75);
    --contact-accent: #30e3ca;
    --contact-warning: #f6d365;
    --contact-shadow: 0 25px 55px rgba(4, 20, 40, 0.45);
    --contact-radius: 0;
}

.contact-hero {
    background: radial-gradient(circle at top left, rgba(48, 227, 202, 0.28), transparent),
        linear-gradient(135deg, rgba(10, 123, 131, 0.95), rgba(1, 32, 50, 0.95));
    padding: 40px 0 24px;
    color: var(--contact-text);
    position: relative;
    overflow: hidden;
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/icon-hero.jpeg') center/cover;
    opacity: 0.08;
    mix-blend-mode: screen;
}

.contact-hero .dp-container {
    position: relative;
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.contact-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
}

.contact-hero__content h1 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin: 16px 0;
    line-height: 1.2;
}

.contact-hero__content p {
    color: var(--contact-muted);
    max-width: 560px;
}

.contact-hero__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.contact-hero__meta div {
    border: 1px solid var(--contact-stroke);
    padding: 16px;
    border-radius: var(--contact-radius);
    background: rgba(255, 255, 255, 0.04);
}

.contact-hero__meta span {
    font-size: 0.85rem;
    color: var(--contact-muted);
    display: block;
}

.contact-hero__visual {
    text-align: center;
    position: relative;
    padding: 20px;
}

.orbit {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.orbit::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.25);
}

.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--contact-accent);
    animation: orbit 6s linear infinite;
}

.orbit-dot:nth-child(2) { animation-delay: 1s; }
.orbit-dot:nth-child(3) { animation-delay: 2s; background: var(--contact-warning); }
.orbit-dot:nth-child(4) { animation-delay: 3s; background: #fff; }

.contact-hero__device {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contact-accent);
    font-size: 3rem;
    animation: float 5s ease-in-out infinite;
}

.contact-hero__visual p {
    margin-top: 18px;
    color: var(--contact-muted);
}

.contact-main {
    background: linear-gradient(180deg, #020a13 0%, #061829 100%);
    color: var(--contact-text);
    padding: 30px 0 60px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
}

.contact-card {
    background: var(--contact-card);
    border: 1px solid var(--contact-stroke);
    border-radius: var(--contact-radius);
    padding: 24px;
    box-shadow: var(--contact-shadow);
    backdrop-filter: blur(8px);
    margin-bottom: 18px;
}

.contact-card h2,
.contact-card h3 {
    margin-top: 0;
}

.contact-card p {
    color: var(--contact-muted);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.channel-item {
    display: flex;
    gap: 12px;
    border: 1px solid var(--contact-stroke);
    padding: 14px;
    border-radius: var(--contact-radius);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.channel-item i {
    font-size: 1.35rem;
    color: var(--contact-accent);
}

.channel-item:hover {
    transform: translateY(-4px);
    border-color: var(--contact-accent);
}

.contact-card__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.contact-card__chip {
    border: 1px solid var(--contact-stroke);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--contact-muted);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--contact-muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--contact-radius);
    border: 1px solid var(--contact-stroke);
    background: rgba(0, 11, 20, 0.7);
    color: var(--contact-text);
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-card--map iframe {
    border-radius: var(--contact-radius);
    filter: grayscale(15%) saturate(115%);
}

.contact-sidebar .contact-card {
    position: sticky;
    top: 100px;
}

.contact-card--status ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-card--status li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--contact-muted);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--contact-accent);
    border: none;
    color: #042023;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--contact-radius);
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    width: 100%;
    padding: 12px;
    border-radius: var(--contact-radius);
    border: 1px solid var(--contact-accent);
    background: transparent;
    color: var(--contact-text);
    font-weight: 600;
    cursor: pointer;
}

.success-alert,
.error-alert {
    border-radius: var(--contact-radius);
    padding: 14px;
    border: 1px solid var(--contact-stroke);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.success-alert {
    background: rgba(48, 227, 202, 0.12);
    color: #2dd4bf;
}

.error-alert {
    background: rgba(250, 82, 82, 0.15);
    color: #ffa8a8;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(110px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}

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

@media (max-width: 1200px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-sidebar .contact-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__meta {
        grid-template-columns: 1fr;
    }

    .contact-card__header {
        flex-direction: column;
    }
}

