/*==================================================
 ROBINSON REINA
 Portfolio Profesional - Optimizado v2.0
==================================================*/

/*==========================
RESET
==========================*/

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

html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050505;
    color:#fff;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    width:100%;
    height:auto;
    display:block;
}

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

ul{
    list-style:none;
}

section{
    padding:120px 0;
    position:relative;
}

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

/*==========================
VARIABLES
==========================*/

:root{
    --primary:#00AEEF;
    --secondary:#6F42C1;
    --dark:#050505;
    --dark2:#101010;
    --gray:#999;
    --white:#ffffff;
    --glass:rgba(255,255,255,.05);
    --text-color:#fff;
    --primary-color:#00AEEF;
}

/*==========================
SCROLLBAR
==========================*/

::-webkit-scrollbar{
    width:10px;
}
::-webkit-scrollbar-track{
    background:#0c0c0c;
}
::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

/*==========================
BODY BACKGROUND
==========================*/

body::before{
    content:"";
    position:fixed;
    width:700px;
    height:700px;
    background:radial-gradient(circle,
    rgba(0,174,239,.18),
    transparent 70%);
    top:-250px;
    left:-250px;
    z-index:-1;
}

body::after{
    content:"";
    position:fixed;
    width:700px;
    height:700px;
    background:radial-gradient(circle,
    rgba(111,66,193,.15),
    transparent 70%);
    bottom:-250px;
    right:-250px;
    z-index:-1;
}

/*==========================
COMPONENTE GLASS REUTILIZABLE
==========================*/

.glass-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    transition:.35s ease;
}

/*==========================
HEADER
==========================*/

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(8,18,47,.78);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.06);
    transition:background .35s ease, padding .35s ease, box-shadow .35s ease;
    padding:10px 0;
}

header.active{
    background:rgba(8,8,8,.9);
    backdrop-filter:blur(18px);
    box-shadow:0 0 30px rgba(0,0,0,.4);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/*====================================
LOGO
====================================*/

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    opacity:0;
    animation:logoEntrance .8s ease forwards;
}

.logo-svg{
    width:42px;
    height:42px;
    flex-shrink:0;
    transition:transform .35s ease, filter .35s ease;
}

.logo-text{
    display:flex;
    align-items:center;
    gap:5px;
    font-size:1.30rem;
    white-space:nowrap;
    transition:transform .35s ease;
}

.logo-light{
    color:#fff;
    font-weight:300;
}

.logo-bold{
    color:var(--primary);
    font-weight:700;
}

.logo:hover .logo-svg{
    transform:rotate(-6deg) scale(1.05);
    filter:drop-shadow(0 0 12px rgba(0,174,239,.35));
}

.logo:hover .logo-text{
    transform:translateX(4px);
}

@keyframes logoEntrance{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

nav ul{
    display:flex;
    gap:40px;
}

nav a{
    position:relative;
    font-size:15px;
    transition:.3s;
}

nav a:hover{
    color:var(--primary);
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:var(--primary);
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}

/*==========================
HERO
==========================*/

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.hero-video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
    rgba(0,0,0,.82),
    rgba(0,0,0,.65));
}

.hero-content{
    position:relative;
    z-index:5;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:70px;
}

.hero-text{
    animation:fadeUp 1s ease;
}

.badge{
    display:inline-flex;
    align-items:center;
    padding:12px 24px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:40px;
    color:var(--primary);
    background:rgba(255,255,255,.04);
    margin-bottom:25px;
}

.hero h1{
    font-size:78px;
    line-height:1;
    font-weight:800;
}

.hero h1 span{
    color:var(--primary);
}

.hero h2{
    margin:25px 0;
    color:#d8d8d8;
    font-size:34px;
    min-height:50px;
}

.hero p{
    color:#bbb;
    font-size:18px;
    max-width:700px;
}

.hero-image{
    position:relative;
}

.hero-image img{
    max-width:480px;
    margin:auto;
    filter:drop-shadow(0 40px 60px rgba(0,174,239,.25));
}

/*==================================================
BOTONES
==================================================*/

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:45px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:18px 38px;
    border-radius:50px;
    font-weight:600;
    transition:.35s ease;
}

.btn-primary{
    background:linear-gradient(135deg,#00AEEF,#0077ff);
    color:#fff;
    box-shadow:0 15px 40px rgba(0,174,239,.35);
}

.btn-primary:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 55px rgba(0,174,239,.45);
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(12px);
}

.btn-secondary:hover{
    background:#fff;
    color:#111;
    transform:translateY(-6px);
}

/*==================================================
FLECHA
==================================================*/

.scroll-down{
    position:absolute;
    bottom:35px;
    left:50%;
    transform:translateX(-50%);
    width:55px;
    height:55px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(10px);
    animation:bounce 2s infinite;
}

.scroll-down i{
    font-size:22px;
}

@keyframes bounce{
    0%{
        transform:translate(-50%,0);
    }
    50%{
        transform:translate(-50%,12px);
    }
    100%{
        transform:translate(-50%,0);
    }
}

/*==================================================
TITULOS
==================================================*/

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:var(--primary);
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:14px;
    font-weight:600;
}

.section-title h2{
    font-size:48px;
    margin:18px 0;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#b8b8b8;
}

/*==================================================
SOBRE MI
==================================================*/

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
    margin-bottom:80px;
}

.about-image{
    position:relative;
}

.about-image img{
    border-radius:25px;
    box-shadow:0 30px 80px rgba(0,0,0,.45);
}

.about-text h3{
    font-size:36px;
    margin-bottom:25px;
}

.about-text p{
    color:#bdbdbd;
    margin-bottom:20px;
    font-size:17px;
}

/*==================================================
ESPECIALIDADES
==================================================*/

.skills-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.skill-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:40px 30px;
    text-align:center;
    transition:.35s;
    backdrop-filter:blur(20px);
}

.skill-card:hover{
    transform:translateY(-12px);
    border-color:#00AEEF;
    box-shadow:0 20px 50px rgba(0,174,239,.15);
}

.skill-card i{
    font-size:42px;
    color:#00AEEF;
    margin-bottom:20px;
}

.skill-card h3{
    font-size:18px;
    font-weight:600;
}

/*==================================================
EFECTOS
==================================================*/

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.glass{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
}

/*==================================================
BOTON VOLVER ARRIBA
==================================================*/

#top{
    position:fixed;
    right:20px;
    bottom:20px;
    width:58px;
    height:58px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#00AEEF,#0077ff);
    border-radius:50%;
    opacity:0;
    pointer-events:none;
    transition:.35s;
    z-index:1000;
    box-shadow:0 15px 40px rgba(0,174,239,.30);
}

#top.show{
    opacity:1;
    pointer-events:auto;
}

#top:hover{
    transform:translateY(-8px);
}

/*==================================================
PROGRESS BAR
==================================================*/

#progress-bar{
    position:fixed;
    top:0;
    left:0;
    height:4px;
    background:linear-gradient(90deg,var(--primary),var(--secondary));
    z-index:9999;
    transition:width .1s ease;
}

/*==================================================
IMAGE OVERLAY (Portfolio Zoom)
==================================================*/

.image-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    cursor:pointer;
    animation:fadeIn .25s ease;
}

.image-overlay .zoom-image{
    max-width:90%;
    max-height:90%;
    border-radius:12px;
    box-shadow:0 20px 60px rgba(0,0,0,.6);
}

@keyframes fadeIn{
    from{ opacity:0; }
    to{ opacity:1; }
}

/*==========================
SERVICIOS
==========================*/

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:40px 30px;
    transition:.35s;
    backdrop-filter:blur(20px);
}

.service-card:hover{
    transform:translateY(-12px);
    border-color:var(--primary);
    box-shadow:0 20px 60px rgba(0,174,239,.18);
}

.service-card i{
    font-size:48px;
    color:var(--primary);
    margin-bottom:20px;
}

.service-card h3{
    margin-bottom:15px;
    font-size:22px;
}

.service-card p{
    color:#bfbfbf;
}

/*==========================
EXPERIENCIA
==========================*/

.timeline{
    position:relative;
    max-width:1000px;
    margin:auto;
}

.timeline::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    width:3px;
    height:100%;
    background:rgba(255,255,255,.15);
    transform:translateX(-50%);
}

.timeline-item{
    width:50%;
    padding:30px;
    position:relative;
}

.timeline-item:nth-child(odd){
    left:0;
}

.timeline-item:nth-child(even){
    left:50%;
}

.timeline-content{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    padding:30px;
    backdrop-filter:blur(20px);
}

.timeline-year{
    color:var(--primary);
    font-weight:700;
    margin-bottom:15px;
}

.timeline-content h3{
    font-size:24px;
    margin-bottom:10px;
}

.timeline-content h4{
    color:#cfcfcf;
    margin-bottom:20px;
}

.timeline-content p{
    color:#bdbdbd;
}

/*==========================
TECNOLOGIAS
==========================*/

.tech-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.tech-card{
    background:#101010;
    border-radius:18px;
    text-align:center;
    padding:35px;
    border:1px solid rgba(255,255,255,.05);
    transition:.35s;
}

.tech-card:hover{
    transform:translateY(-10px);
    border-color:var(--primary);
}

.tech-card i{
    font-size:55px;
    color:var(--primary);
    margin-bottom:18px;
}

.tech-card h3{
    margin-bottom:12px;
}

.tech-card span{
    color:#bbbbbb;
}

/*==========================
PORTAFOLIO
==========================*/

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.portfolio-card{
    overflow:hidden;
    border-radius:22px;
    position:relative;
}

.portfolio-card img{
    transition:.5s;
    height:320px;
    object-fit:cover;
}

.portfolio-card:hover img{
    transform:scale(1.1);
}

.portfolio-info{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.95),transparent);
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:30px;
}

.portfolio-info h3{
    margin-bottom:10px;
}

.portfolio-info p{
    color:#ddd;
}

/*==========================
ESTADISTICAS
==========================*/

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.stat-card{
    background:rgba(255,255,255,.05);
    border-radius:20px;
    text-align:center;
    padding:45px;
    border:1px solid rgba(255,255,255,.08);
}

.stat-card h2{
    color:var(--primary);
    font-size:52px;
    margin-bottom:10px;
}

.stat-card p{
    color:#bfbfbf;
}

/*==========================
CONTACTO
==========================*/

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:60px;
}

.contact-info h3{
    margin-bottom:30px;
    font-size:28px;
}

.contact-info p{
    margin-bottom:25px;
    color:#cfcfcf;
}

.contact-info i{
    color:var(--primary);
    width:30px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    background:#111;
    border:1px solid rgba(255,255,255,.08);
    padding:18px;
    color:#fff;
    border-radius:12px;
    font-size:16px;
    font-family:Poppins,sans-serif;
}

.contact-form textarea{
    resize:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:var(--primary);
}

/*==========================
FOOTER
==========================*/

footer{
    padding:50px 0;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.social{
    display:flex;
    gap:18px;
}

.social a{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#111;
    transition:.3s;
}

.social a:hover{
    background:var(--primary);
    transform:translateY(-6px);
}

/*==========================
REVEAL
==========================*/

.hidden-card{
    opacity:0;
    transform:translateY(50px);
    transition:.8s;
}

.visible{
    opacity:1;
    transform:translateY(0);
}

/*==========================
MENU ACTIVO
==========================*/

nav a.active{
    color:#00AEEF;
}

nav a.active::after{
    width:100%;
}

/*==========================
TITULOS ANIMADOS
==========================*/

.animate-title{
    animation:titleUp .8s ease;
}

@keyframes titleUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/*==========================
RIPPLE
==========================*/

.btn-primary{
    position:relative;
    overflow:hidden;
}

.ripple{
    position:absolute;
    border-radius:50%;
    transform:scale(0);
    background:rgba(255,255,255,.35);
    animation:ripple .6s linear;
    pointer-events:none;
}

@keyframes ripple{
    to{
        transform:scale(4);
        opacity:0;
    }
}

/*==========================
PORTFOLIO VIDEO
==========================*/

.video-card{
    position:relative;
    overflow:hidden;
    cursor:pointer;
}

.video-card img{
    transition:.45s;
}

.video-card:hover img{
    transform:scale(1.08);
}

.portfolio-overlay{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
    padding:20px;
    pointer-events:none;
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-link:hover .portfolio-overlay{
    opacity:1;
}

.play-btn{
    position:absolute;
    right:20px;
    top:20px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 22px;
    border-radius:50px;
    color:#fff;
    font-size:15px;
    font-weight:600;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    transition:.35s ease;
    z-index:10;
    border:1px solid rgba(255,255,255,.15);
    box-shadow:0 8px 25px rgba(0,0,0,.25);
    cursor:pointer;
}

.play-btn i{
    font-size:22px;
}

.portfolio-card:hover .play-btn{
    transform:scale(1.08);
}

.video-lightbox{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.92);
    backdrop-filter:blur(8px);
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:99999;
}

.video-lightbox.active{
    opacity:1;
    visibility:visible;
}

.video-wrapper{
    width:min(92%,1100px);
    position:relative;
}

.video-wrapper iframe{
    width:100%;
    aspect-ratio:16/9;
    border:none;
    border-radius:14px;
    box-shadow:0 20px 60px rgba(0,0,0,.55);
}

.close-video{
    position:absolute;
    top:-55px;
    right:0;
    color:white;
    font-size:46px;
    cursor:pointer;
    transition:.3s;
}

.close-video:hover{
    transform:rotate(90deg);
}

.portfolio-link{
    display:block;
    text-decoration:none;
    color:inherit;
}

.video-card .play-btn{
    background:rgba(229,9,20,.45);
}

.video-card:hover .play-btn{
    background:#e50914;
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 12px 35px rgba(229,9,20,.45);
}

.portfolio-link .play-btn{
    background:rgba(0,102,255,.45);
}

.portfolio-link:hover .play-btn{
    background:#0066ff;
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 12px 35px rgba(0,102,255,.45);
}

/*==========================
FORMULARIO
==========================*/

.form-group{
    display:flex;
    flex-direction:column;
    gap:.45rem;
    margin-bottom:1.25rem;
}

.form-group label{
    font-size:.9rem;
    font-weight:600;
    color:var(--text-color);
}

.form-group input,
.form-group textarea{
    width:100%;
    transition:border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.form-group input:focus,
.form-group textarea:focus{
    outline:none;
    border-color:var(--primary-color);
    box-shadow:0 0 0 4px rgba(0,153,255,.12);
}

.form-group textarea{
    resize:vertical;
    min-height:160px;
}

/*==========================
MENSAJES DEL FORMULARIO
==========================*/

.form-message{
    display:none;
    margin-top:1rem;
    padding:1rem 1.25rem;
    border-radius:12px;
    font-size:.95rem;
    line-height:1.6;
    animation:fadeMessage .35s ease;
}

.form-message.success{
    display:block;
    background:#eafaf1;
    border:1px solid #22c55e;
    color:#166534;
}

.form-message.error{
    display:block;
    background:#fef2f2;
    border:1px solid #ef4444;
    color:#991b1b;
}

@keyframes fadeMessage{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/*==========================
BOTÓN ENVIANDO
==========================*/

.contact-form button.loading{
    opacity:.85;
    cursor:not-allowed;
    pointer-events:none;
}

/*==========================
SPINNER
==========================*/

.spinner{
    width:16px;
    height:16px;
    display:inline-block;
    border:2px solid rgba(255,255,255,.35);
    border-top-color:#ffffff;
    border-radius:50%;
    animation:spin .8s linear infinite;
    margin-right:.6rem;
    vertical-align:middle;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

/*==========================
HONEYPOT
==========================*/

.honeypot{
    display:none !important;
}

/*==========================
MENU TOGGLE
==========================*/

.menu-toggle{
    display:none;
    width:42px;
    height:42px;
    background:none;
    border:none;
    cursor:pointer;
    flex-direction:column;
    justify-content:center;
    gap:6px;
}

.menu-toggle span{
    display:block;
    width:28px;
    height:3px;
    border-radius:3px;
    background:#fff;
    transition:.35s;
}

.menu-toggle.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
}

/*==========================
WHATSAPP FLOAT PREMIUM
==========================*/

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:85px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 22px;
    border-radius:60px;
    background:linear-gradient(135deg,#00AEEF,#007BFF);
    color:#fff;
    font-weight:600;
    z-index:1000;
    max-width:calc(100% - 10px);
    box-shadow:0 18px 45px rgba(0,174,239,.35);
    transition:.35s ease;
    animation:whatsappPulse 2.8s infinite;
}

.whatsapp-float:hover{
    transform:translateY(-6px) scale(1.03);
    box-shadow:0 25px 60px rgba(0,174,239,.45);
}

.whatsapp-float i{
    font-size:28px;
    flex-shrink:0;
}

.whatsapp-float span{
    white-space:nowrap;
    font-size:15px;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:200px;
}

@keyframes whatsappPulse{
    0%{
        box-shadow:0 0 0 0 rgba(0,174,239,.45);
    }
    70%{
        box-shadow:0 0 0 18px rgba(0,174,239,0);
    }
    100%{
        box-shadow:0 0 0 0 rgba(0,174,239,0);
    }
}

/*==========================
CTA
==========================*/

.cta-section{
    padding:110px 0;
}

.cta-box{
    text-align:center;
    padding:70px 60px;
    border-radius:30px;
    background:linear-gradient(
        135deg,
        rgba(0,174,239,.12),
        rgba(111,66,193,.12)
    );
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
}

.cta-badge{
    display:inline-block;
    padding:10px 22px;
    border-radius:50px;
    background:rgba(0,174,239,.15);
    color:#00AEEF;
    font-weight:600;
    margin-bottom:25px;
}

.cta-box h2{
    font-size:46px;
    margin-bottom:25px;
}

.cta-box p{
    max-width:760px;
    margin:auto;
    color:#cfcfcf;
    font-size:18px;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:45px;
    flex-wrap:wrap;
}

.cta-buttons .btn-primary i{
    margin-right:10px;
}

/*==========================
CTA PORTAFOLIO
==========================*/

.portfolio-cta{
    padding:110px 0;
}

.portfolio-cta-box{
    text-align:center;
    padding:75px 60px;
    border-radius:30px;
    background:linear-gradient(
        135deg,
        rgba(0,174,239,.08),
        rgba(111,66,193,.10)
    );
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(16px);
}

.portfolio-cta-badge{
    display:inline-block;
    padding:10px 22px;
    border-radius:40px;
    background:rgba(0,174,239,.12);
    color:#00AEEF;
    font-weight:600;
    margin-bottom:22px;
}

.portfolio-cta-box h2{
    font-size:44px;
    margin-bottom:24px;
}

.portfolio-cta-box p{
    max-width:760px;
    margin:auto;
    color:#cfcfcf;
    font-size:18px;
    line-height:1.8;
}

.portfolio-cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:45px;
    flex-wrap:wrap;
}

.portfolio-cta-buttons i{
    margin-right:10px;
}

/*==========================
RESPONSIVE - TABLETS
==========================*/

@media(max-width:1100px){
    .hero-content{
        grid-template-columns:1fr;
        text-align:center;
    }
    .hero-image{
        order:-1;
    }
    .hero-image img{
        max-width:350px;
    }
    .about-grid{
        grid-template-columns:1fr;
    }
    .skills-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .hero h1{
        font-size:58px;
    }
}

@media(max-width:1024px){
    #featured-post{
        grid-template-columns:1fr;
    }
    #posts-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .cta-box{
        padding:3rem;
    }
}

@media(max-width:991px){
    header{
        height:72px;
        padding:10px 0 !important;
    }
    header .container{
        height:72px;
        display:flex;
        align-items:center;
        justify-content:space-between;
    }
    .menu-toggle{
        display:flex;
        z-index:1002;
    }
    #mainNav{
        position:fixed;
        top:72px;
        left:0;
        width:100%;
        height:calc(100vh - 72px);
        background:#0b1532;
        display:flex;
        justify-content:center;
        align-items:center;
        opacity:0;
        visibility:hidden;
        transform:translateY(-20px);
        transition:.35s ease;
        z-index:1000;
    }
    #mainNav.active{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }
    #mainNav ul{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:28px;
        margin:0;
        padding:0;
        list-style:none;
    }
    #mainNav li{
        margin:0;
    }
    #mainNav a{
        font-size:22px;
        color:#fff;
    }
    .logo-svg{
        width:38px !important;
        height:38px !important;
    }
    .logo-text{
        font-size:1rem !important;
    }
}

@media(max-width:900px){
    .timeline::before{
        display:none;
    }
    .timeline-item{
        width:100%;
        left:0 !important;
        padding:0;
        margin-bottom:30px;
    }
    .contact-grid{
        grid-template-columns:1fr;
    }
    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .footer-content{
        flex-direction:column;
        text-align:center;
    }
}

/*==========================
RESPONSIVE - MÓVILES
==========================*/

@media(max-width:768px){
    header{
        padding:8px 0 !important;
    }
    .hero{
        padding-top:120px;
    }
    .hero h1{
        font-size:42px;
    }
    .hero h2{
        font-size:24px;
    }
    .hero p{
        font-size:16px;
    }
    .section-title h2{
        font-size:34px;
    }
    .skills-grid{
        grid-template-columns:1fr;
    }
    .hero-buttons{
        justify-content:center;
    }
    .whatsapp-float{
        width:62px;
        height:62px;
        border-radius:50%;
        justify-content:center;
        padding:0;
    }
    .whatsapp-float span{
        display:none;
    }
    .cta-box{
        padding:45px 30px;
    }
    .cta-box h2{
        font-size:34px;
    }
    .portfolio-cta-box{
        padding:45px 28px;
    }
    .portfolio-cta-box h2{
        font-size:32px;
    }
    .logo-svg{
        width:32px !important;
        height:32px !important;
    }
    .logo-text{
        font-size:.85rem !important;
    }
    /* Blog responsive */
    #site-header .container{
        height:72px;
    }
    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
    }
    #posts-grid{
        grid-template-columns:1fr;
    }
    .hero-content h1{
        font-size:2.5rem;
    }
    .featured-content{
        padding:2rem;
    }
    .cta-box{
        padding:2.5rem;
    }
}

@media(max-width:600px){
    .stats-grid{
        grid-template-columns:1fr;
    }
    .service-card,
    .tech-card,
    .stat-card{
        padding:30px;
    }
    .portfolio-card img{
        height:auto;
    }
}

@media(max-width:576px){
    header{
        padding:6px 0 !important;
    }
    .logo-svg{
        width:28px !important;
        height:28px !important;
    }
    .logo-text{
        font-size:.78rem !important;
    }
}

@media(max-width:480px){
    section{
        padding:4rem 0;
    }
    .btn{
        width:100%;
    }
    .search__form{
        flex-direction:column;
    }
    .search__form button{
        width:100%;
    }
    .cta-box{
        padding:2rem;
    }
}