:root{
    --bg-dark:#020617;
    --bg-light:#f4f6f8;
    --accent:#38bdf8;
    --soft:#e8f1f2;
    --card:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter', sans-serif;
}

body{
    background:var(--bg-light);
    color:#111;
}

/* ===== SECCIONES ===== */
.section{
    padding:90px 10%;
}

.dark{
    background:radial-gradient(circle at top, #111827, #020617);
    color:white;
}

.soft{
    background:var(--soft);
}

.white{
    background:white;
}

/* ===== TITULOS ===== */
h2{
    font-size:2.2rem;
    margin-bottom:40px;
}

p{
    line-height:1.7;
}

/* ===== HERO ===== */
.hero{
    min-height:90vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:25px;
}

.hero h1{
    font-size:3.2rem;
    font-weight:800;
}

.hero span{
    background:linear-gradient(90deg, var(--accent), #22d3ee);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    max-width:620px;
    font-size:1.15rem;
    opacity:0.85;
}

.hero .btn{
    margin-top:25px;
    padding:16px 32px;
    border-radius:40px;
    background:linear-gradient(90deg, var(--accent), #22d3ee);
    color:#020617;
    text-decoration:none;
    font-weight:700;
    width:max-content;
    box-shadow:0 0 30px rgba(56,189,248,0.35);
    transition:0.3s;
}

.hero .btn:hover{
    transform:translateY(-3px);
    box-shadow:0 0 50px rgba(56,189,248,0.6);
}

/* ===== CARDS ===== */
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:35px;
}

.card{
    background:var(--card);
    padding:35px;
    border-radius:24px;
    box-shadow:0 20px 40px rgba(0,0,0,0.08);
    transition:0.35s;
}

.card:hover{
    transform:translateY(-8px);
}

/* ===== PERFIL ===== */
.profile{
    max-width:720px;
    font-size:1.1rem;
}

/* ===== STACK ===== */
.stack{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.badge{
    padding:12px 20px;
    border-radius:30px;
    background:#020617;
    color:white;
    font-size:0.9rem;
    transition:0.3s;
}

.badge:hover{
    background:var(--accent);
    color:#020617;
}

/* ===== CONTACTO ===== */
.contact{
    text-align:center;
}

.contact p{
    margin:10px 0;
}

/* ===== ANIMACIONES ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .hero h1{
        font-size:2.4rem;
    }
}


/* ================= HEADER ================= */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#ffffffcc;
    backdrop-filter: blur(8px);
    border-bottom:1px solid #e5e7eb;
}

.header-inner{
    max-width:1200px;
    margin:auto;
    padding:14px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    height:48px;
    width:auto;
}

/* NAV */

.nav a{
    margin-left:24px;
    text-decoration:none;
    font-weight:500;
    color:#0f172a;
}

.nav a:hover{
    color:#38bdf8;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #050b17, #0a1328);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0,174,239,0.18), transparent 60%);
    pointer-events: none;
}

.hero {
    position: relative;
    max-width: 650px;
    padding: 120px 10%;
}

.hero h1 span {
    color: #2ec7ff;
}
.hero-logo {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 280px;
    opacity: 0.85;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.4));
}
.contact-form {
    max-width: 520px;
    margin: 50px auto 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #2ec7ff, #00aee8);
    font-weight: 600;
    cursor: pointer;
}







