:root {
    --blue-900: #0a1628;
    --blue-700: #152d4e;
    --blue-600: #1a3d66;
    --blue-500: #1e4d7a;
    --blue-400: #2a6fa8;
    --blue-200: #7ab0d8;
    --orange-500: #f59e0b;
    --orange-400: #fbbf24;
    --orange-300: #fcd34d;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
}

.app { display: flex; flex-direction: column; min-height: 100vh; }

.header {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo { display: flex; align-items: center; gap: .75rem; }
.header-logo i { font-size: 1.8rem; color: var(--orange-400); }
.header-logo h1 { font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.header-logo span { font-size: .7rem; color: var(--blue-200); }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--blue-200);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: 100px;
    transition: all .3s ease;
    border: 1px solid rgba(255,255,255,.1);
}
.back-btn:hover { background: rgba(255,255,255,.1); color: var(--white); }

.main { flex: 1; }

.container { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}

.profile-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--orange-400);
    margin-bottom: 1.25rem;
}

.profile-panel h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: .25rem;
}

.profile-title {
    display: block;
    font-size: .85rem;
    color: var(--orange-500);
    font-weight: 600;
    margin-bottom: 1rem;
}

.profile-bio {
    font-size: .85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.profile-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
    transition: all .3s ease;
}
.social-link.telegram { background: #0088cc; }
.social-link.linkedin { background: #0077b5; }
.social-link.whatsapp { background: #25d366; }
.social-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.form-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.form-panel h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: .25rem;
}

.form-subtitle {
    color: var(--gray-500);
    font-size: .85rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .85rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--gray-800);
    font-family: inherit;
    font-size: .9rem;
    transition: all .3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue-400);
    box-shadow: 0 0 0 3px rgba(42,111,168,.15);
}

.submit-btn {
    width: 100%;
    padding: .9rem;
    border: none;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: inherit;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,77,122,.3);
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .container { padding: 1.5rem 1rem; }
    .profile-panel, .form-panel { padding: 1.5rem; }
    .back-btn span { display: none; }
}
