/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de colores calmante */
    --color-primary: #3A7BD5;
    --color-primary-hover: #2F6FDB;
    --color-accent: #F28C8C;
    --color-success: #34D399;
    --color-background: #FBF7F2;
    --color-background-alt: #FAFAFB;
    --color-text-primary: #1F2937;
    --color-text-secondary: #6B7280;
    --color-border: #E7E2DA;
    --color-white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-background);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    color: var(--color-text-primary);
}

.container {
    max-width: 480px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 24px;
    box-shadow: 0px 4px 24px rgba(58, 123, 213, 0.08);
    overflow: hidden;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-alt) 100%);
    padding: 40px 30px 30px;
    text-align: center;
}

.profile-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-primary);
    box-shadow: 0px 4px 20px rgba(58, 123, 213, 0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-family: 'Nunito', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.role {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto 20px;
}

/* Chips de especialidad */
.chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
}

.chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.chip-icon {
    font-size: 14px;
}

/* Links Section */
.links {
    padding: 28px 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    text-decoration: none;
    color: var(--color-text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease-out;
    box-shadow: 0px 2px 8px rgba(58, 123, 213, 0.08);
}

.link-button:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(58, 123, 213, 0.25);
}

.link-button.highlight {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.link-button.highlight:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    box-shadow: 0px 6px 20px rgba(58, 123, 213, 0.3);
}

.link-icon {
    font-size: 18px;
}

.link-text {
    letter-spacing: 0.3px;
}

/* Social Media Section */
.social-media {
    padding: 28px 25px;
    background-color: var(--color-background);
    text-align: center;
}

.social-title {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-secondary);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.25s ease-out;
}

.social-icon:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.08);
    box-shadow: 0px 4px 16px rgba(58, 123, 213, 0.25);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0px 4px 16px rgba(220, 39, 67, 0.3);
}

.social-icon.tiktok:hover {
    background-color: #000000;
    border-color: #000000;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.3);
}

.social-icon.linkedin:hover {
    background-color: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0px 4px 16px rgba(10, 102, 194, 0.3);
}

/* Footer */
.footer {
    padding: 18px;
    background-color: var(--color-background);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 520px) {
    body {
        padding: 12px;
    }

    .container {
        border-radius: 20px;
    }

    .hero {
        padding: 32px 20px 24px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .name {
        font-size: 24px;
    }

    .role {
        font-size: 14px;
    }

    .subtitle {
        font-size: 13px;
    }

    .chips {
        gap: 8px;
    }

    .chip {
        padding: 6px 12px;
        font-size: 12px;
    }

    .links {
        padding: 24px 16px;
        gap: 12px;
    }

    .link-button {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 14px;
    }

    .social-media {
        padding: 24px 16px;
    }

    .social-title {
        font-size: 15px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* Animacion de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    animation: fadeInUp 0.5s ease-out;
}

.chip {
    animation: fadeInUp 0.4s ease-out;
    animation-fill-mode: both;
}

.chip:nth-child(1) { animation-delay: 0.15s; }
.chip:nth-child(2) { animation-delay: 0.25s; }
.chip:nth-child(3) { animation-delay: 0.35s; }

.link-button {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }

.social-media {
    animation: fadeInUp 0.5s ease-out;
    animation-delay: 0.4s;
    animation-fill-mode: both;
}
