/* ---------- RESET SUAVE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background: #050816;
    color: #f9fafb;
}

/* ---------- VARIABLES ---------- */
:root {
    --bg-main: #0e1628;
    --bg-elevated: #162036;
    --bg-elevated-soft: #1c253d;

    --accent: #3b82f6; /* Bright Blue */
    --accent-soft: #60a5fa;
    --accent-subtle: rgba(96, 165, 250, 0.12);

    --text-main: #f9fafb;
    --text-muted: #cbd5e1;
    --border-subtle: #243144;

    --radius-lg: 18px;
    --radius-xl: 26px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.3);

    --max-width: 1120px;
}



/* ---------- LAYOUT BÁSICO ---------- */

.section-hero,
.section-skills,
.section-projects,
.section-devops,
.section-contact {
    padding: 4rem 1.5rem;
}

.section-skills,
.section-projects,
.section-devops,
.section-contact {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ---------- HERO ---------- */

.section-hero {
    background: radial-gradient(circle at top left, #1d293b 0, #050816 55%);
    padding: 4.5rem 1.5rem 4rem;
}

.profile-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr);
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.22);
    margin: 0 auto 1.25rem;
}

.section-hero h1 {
    font-size: clamp(2.2rem, 5vw, 2.7rem);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.section-hero h2 {
    margin-top: 0.35rem;
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    font-weight: 500;
    color: var(--text-muted);
}

.impact-statement {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #e5e7eb;
}

.impact-statement strong {
    color: var(--accent-soft);
}

.hero-highlights {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hero-location {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* CTA BUTTON */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #eef2ff;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 18px 40px rgba(79, 70, 229, 0.55);
}

/* ---------- TITULOS GENERALES ---------- */

.section-skills h2,
.section-projects h2,
.section-devops h2,
.section-contact h2 {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

/* ---------- SKILLS / STACK ---------- */

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.3rem 1.4rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.55);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, var(--accent-subtle), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.skill-card h3 {
    position: relative;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.skill-card p {
    position: relative;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Icon placeholder if you decide to add icons later */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.25);
    margin-bottom: 0.5rem;
}

/* ---------- PROJECTS / EXPERIENCE HIGHLIGHTS ---------- */

.section-projects {
    margin-top: 1.5rem;
}

.project-card {
    background: var(--bg-elevated-soft);
    border-radius: var(--radius-xl);
    padding: 1.7rem 1.6rem 1.8rem;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.7rem;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.15), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.project-card h3 {
    position: relative;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.project-card .tag {
    position: relative;
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-soft);
    background: rgba(79, 70, 229, 0.08);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.8rem;
}

.project-card p {
    position: relative;
    font-size: 0.94rem;
    color: #e5e7eb;
    margin-bottom: 0.9rem;
}

.tech-used {
    position: relative;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.tech-used li {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: #e5e7eb;
}

/* ---------- DEVOPS / HOW I WORK ---------- */

.section-devops {
    margin-top: 1rem;
}

.devops-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
}

.devops-column {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--border-subtle);
}

.devops-column h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.devops-column p {
    font-size: 0.93rem;
    color: var(--text-muted);
}

/* ---------- CONTACT / FOOTER ---------- */

.section-contact {
    text-align: center;
    border-top: 1px solid rgba(31, 41, 55, 0.8);
    margin-top: 2rem;
}

.section-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.section-contact a {
    color: var(--accent-soft);
    text-decoration: none;
}

.section-contact a:hover {
    text-decoration: underline;
}

.social-links {
    margin: 1rem 0 0.7rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.copy {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: #6b7280;
}

/* ---------- RESPONSIVE ---------- */

@media (min-width: 768px) {
    .section-hero {
        padding-top: 5rem;
        padding-bottom: 4.5rem;
    }

    .profile-container {
        grid-template-columns: auto minmax(0, 1.8fr);
        text-align: lef
