/* ============================================================
   Contact Us Page – Apple-Style Clean UI
   ============================================================ */

/* ==================== HERO SECTION ==================== */
.hero {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    animation: fadeInDown 0.7s var(--ease-out-expo);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.hero p {
    color: var(--gray);
    font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
    max-width: 520px;
    margin: 0 auto;
    padding: 0 1rem;
    line-height: 1.5;
}

/* ==================== CONTACT GRID ==================== */
.section {
    padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 2rem);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-base) var(--ease-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== CONTACT ICON ==================== */
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

/* ==================== CONTACT CARD TEXT ==================== */
.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

.contact-card > p {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    color: var(--gray);
}

/* ==================== EMAIL DISPLAY ==================== */
.email-display {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--background-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.875rem;
    margin-bottom: 0.875rem;
}

.email-text {
    flex: 1;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 0.875rem;
    min-width: 0;
    color: var(--primary);
    font-weight: 500;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.copy-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.copy-btn.copied {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.copy-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ==================== MAILTO BUTTON ==================== */
.mailto-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: var(--accent-blue);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-sans);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-smooth);
}

.mailto-btn:hover {
    background: var(--accent-blue-hover);
    transform: scale(1.02);
}

.mailto-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ==================== INFO CARDS ==================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    gap: 0.875rem;
    transition: all var(--duration-base) var(--ease-smooth);
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.info-content p {
    color: var(--gray);
    font-size: 0.75rem;
    line-height: 1.5;
}

.info-card a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
    word-break: break-word;
}

.info-card a:hover {
    color: var(--accent-blue-hover);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: 1fr;
    }

    .contact-card:hover,
    .info-card:hover {
        transform: none;
    }
}

@media (max-width: 640px) {
    .email-display {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .copy-btn {
        justify-content: center;
        width: 100%;
    }
}