
/* RESET BÁSICO Y TIPOGRAFÍA GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* FONDOS DIFUMINADOS */
.bg-gradient {
    position: fixed;
    width: 50vw;
    height: 50vh;
    pointer-events: none;
    z-index: -1;
    filter: blur(40px);
}

.bg-gradient-1 {
    top: -10%;
    left: -10%;
    background: var(--gradient-1);
}

.bg-gradient-2 {
    bottom: -10%;
    right: -10%;
    background: var(--gradient-2);
}

/* HEADER / NAVBAR */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: linear-gradient(to bottom, rgba(2,6,23,0.95), rgba(2,6,23,0.75));
    border-bottom: 1px solid rgba(31,41,55,0.7);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--accent-purple), var(--accent-blue));
    color: #020617;
    font-weight: 700;
    font-size: 0.9rem;
}

.nav__name {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.9rem;
}

.nav__link {
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: var(--radius-pill);
    background: linear-gradient(to right, var(--accent-blue), var(--accent-purple));
    transition: width 0.2s ease;
}

.nav__link:hover {
    color: var(--text-main);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--highlight {
    color: var(--accent-blue);
}

/* SECCIONES GENERALES */
.main {
    padding-bottom: 60px;
}

.section {
    padding: 50px 0;
}

.section--soft {
    background: radial-gradient(circle at top left, rgba(15,23,42,0.8), rgba(2,6,23,1));
    border-top: 1px solid rgba(15,23,42,0.7);
    border-bottom: 1px solid rgba(15,23,42,0.7);
}

.section__header {
    margin-bottom: 25px;
    text-align: left;
}

.section__title {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.section__subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.section__actions {
    margin-top: 25px;
    text-align: center;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 60px 0 40px;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__tag {
    font-size: 0.8rem;
    color: var(--accent-blue);
    background: rgba(15,23,42,0.8);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(56,189,248,0.4);
    display: inline-block;
}

.hero__title {
    font-size: 2.4rem;
    font-weight: 700;
}

.hero__subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 480px;
}

.hero__social {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero__social-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero__tags {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero__photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero__photo-frame {
    width: 220px;
    height: 220px;
    border-radius: 999px;
    padding: 4px;
    background: conic-gradient(from 120deg, var(--accent-purple), var(--accent-blue), var(--accent-green), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__img {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #020617;
    background: #020617;
}

.hero__photo-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FOOTER */
.footer {
    border-top: 1px solid rgba(15,23,42,0.9);
    padding: 14px 0;
    background: rgba(2,6,23,0.95);
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero__photo {
        order: -1;
    }
}
