        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat';
        }
        :root { --accent: #a88d3b; }
        
        html {
            scroll-behavior: smooth;
        }
        html, body { overflow-x: hidden; }
        /* *********************/
        /* seccion I N I C I O */
        /* *********************/
        
        #inicio {
            background: linear-gradient( rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("img/fondo-inicio.jpg");
            background-size: cover;
            background-position: center center;
            background-attachment: fixed;
            height: 100vh;
            padding-top: 56px;
        }
        
        #inicio .presentacion {
            max-width: 1100px;
            min-height: calc(100vh - 56px);
            margin: auto;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        
        #inicio .presentacion .bienvenida {
            font-size: 16px;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 5px;
        }
        
        #inicio .presentacion h2 {
            font-size: 55px;
            margin-bottom: 25px;
            text-align: center;
            line-height: 1.1;
        }
        #inicio .presentacion h1 {
            font-size: 55px;
            margin-bottom: 25px;
            text-align: center;
            line-height: 1.1;
            word-wrap: break-word;
        }
        
        #inicio .presentacion h2 span {
            color: var(--accent);
        }
        #inicio .presentacion h1 span {
            color: var(--accent);
        }
        
        #inicio .presentacion .descripcion {
            max-width: 700px;
            margin: 25px auto;
            font-size: 18px;
            text-align: center;
        }
        
        #inicio .presentacion a:not(.btn) {
            text-decoration: none;
            display: inline-block;
            margin: 25px;
            padding: 20px 25px;
            border: 2px solid #fff;
            border-radius: 50px;
            color: #fff;
            font-weight: bold;
            text-transform: uppercase;
            transition: .5s;
        }
        
#inicio .presentacion a:not(.btn):hover {
    background-color: var(--accent);
}
        .navbar .nav-link.active { color: var(--accent) !important; }
        .text-muted { color: #fff !important; }
 .nav-link { color: #fff !important; }
 .nav-link:hover { color: var(--accent) !important; }
        
        /* *********************/
        /* seccion S O B R E  M I */
        /* *********************/
        
        #sobremi {
            padding: 100px 15px;
            color: #fff;
        }
        
        #sobremi .contenedor-foto {
            max-width: 400px;
            margin-right: 80px;
        }
        
        #sobremi .contenedor-foto img {
            padding: 20px;
            width: 100%;
            border-radius: 20px;
            background-color: #f3f3f3;
        }
        
        #sobremi .sobremi {
            margin: 0 40px;
        }
        
        #sobremi .sobremi .titulo-seccion {
            font-size: 22px;
            text-transform: uppercase;
            color: #fff;
            text-decoration: underline;
            text-decoration-color: #444;
            text-decoration-thickness: 5px;
        }
        
        #sobremi .sobremi h2 {
            font-size: 34px;
            font-weight: bold;
            margin: 20px 0;
            letter-spacing: 2px;
        }
        
        #sobremi .sobremi h2 span {
            color: var(--accent);
        }
        
        #sobremi .sobremi h3 {
            font-size: 18px;
            font-weight: 500;
            text-transform: uppercase;
            margin-bottom: 20px;
            letter-spacing: 1px;
        }
        
        #sobremi .sobremi p {
            font-size: 14px;
            line-height: 25px;
            color: #cfcfcf;
            margin-bottom: 12px;
        }
        
#sobremi .sobremi a {
    display: inline-block;
    text-decoration: none;
    color: white;
    border-radius: 30px;
    border: 1px solid #fff;
    padding: 10px 20px;
    margin-top: 30px;
    transition: .5s;
}
        
        #sobremi .sobremi a:hover {
            background-color: var(--accent);
            color: #000;
        }
        /* *********************/
        /* seccion S E R V I C I O S */
        /* *********************/
        
        #servicios {
            padding: 100px 15px;
            text-align: center;
            background-color: #000;
        }
        
        #servicios .titulo-seccion {
            text-align: center;
            font-size: 22px;
            text-transform: uppercase;
            color: #fff;
            text-decoration: underline;
            text-decoration-color: #444;
            text-decoration-thickness: 5px;
        }
        
        #servicios .servicio,
        .servicio {
            background-color: #111;
            color: #eaeaea;
            padding: 30px;
            border-radius: 8px;
            transition: .3s;
            width: 100%;
            border: 1px solid #222;
        }
        
        #servicios .servicio:hover {
            box-shadow: 5px 5px 10px #565656, -5px -5px 10px #8a8a8a;
        }
        
        #servicios .servicio .icono {
            display: inline-block;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #333;
            padding: 20px;
            margin-bottom: 25px;
        }
        
        #servicios .servicio h4 {
            font-size: 22px;
            margin-bottom: 25px;
        }
        
        #servicios .servicio hr {
            width: 30%;
            margin: auto;
            color: #000;
            margin-bottom: 25px;
        }
        
        #servicios .servicio ul {
            list-style: none;
            display: flex;
            justify-content: space-around;
            margin-bottom: 10px;
        }
        
        #servicios .servicio p {
            font-size: 14px;
            line-height: 22px;
        }
        /* *********************/
        /* seccion S K I L L S */
        /* *********************/
        
        .contenedor-certificaciones { background-color: #000; color: #fff; padding: 100px 0; }
        
.cert-card { border: 1px solid #222; background-color: #111; color: #eaeaea; }
.cert-card { border-left: 3px solid var(--accent); }
.cert-title { color: #fff; }
.cert-meta { color: #cfcfcf; }
.badge-accent { background-color: var(--accent); color: #000; }
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.cert-filter .btn { border-color: var(--accent) !important; }
.cert-thumb { background: radial-gradient(ellipse at center, rgba(255,255,255,.08), rgba(0,0,0,.2)); border-bottom: 1px solid #222; display: flex; align-items: center; justify-content: center; position: relative; }
.cert-thumb-link { display: block; }
.cert-card:hover .cert-thumb { transform: scale(1.02); transition: transform .2s ease; }
 .cert-logo { display: block; max-width: 60%; max-height: 60%; object-fit: contain; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px; background: rgba(255,255,255,.06); border-radius: 8px; }
 .cert-logo.logo-invert { filter: brightness(0) invert(1); }
        
        /* *********************/
        /* seccion P O R T F O L I O */
        /* *********************/
        
        #portfolio {
            max-width: 1100px;
            padding: 100px 0;
            margin: auto;
        }
        
        #portfolio .titulo-seccion {
            text-align: center;
            font-size: 22px;
            text-transform: uppercase;
            color: #fff;
            text-decoration: underline;
            text-decoration-color: #444;
            text-decoration-thickness: 5px;
        }
        
        
        .portfolio-card { border: 1px solid #222; background-color: #111; color: #eaeaea; }
        .portfolio-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
        .object-fit-cover { object-fit: cover; }
        .portfolio-card .ratio { overflow: hidden; }
        .portfolio-card .ratio img { transition: transform .6s ease, filter .3s ease; filter: grayscale(1); }
        .portfolio-card:hover .ratio img { transform: scale(1.07); filter: grayscale(0); }
        .portfolio-card .badge { transition: transform .2s ease, box-shadow .2s ease; }
        .portfolio-card:hover .badge { animation: badgePulse .6s ease-in-out; }
        @keyframes badgePulse { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }
        
        /* *********************/
        /* seccion C O N T A C T O */
        /* *********************/
        
        #contacto {
            padding: 100px 15px;
            background-color: #000;
        }
        
        #contacto .titulo-seccion {
            margin-bottom: 20px;
        }
        
        #contacto .contenedor-form {
            max-width: 1100px;
            margin: auto;
        }
        
        #contacto .contenedor-form input,
        #contacto .contenedor-form textarea {
            padding: 20px;
            border-radius: 20px;
            border: 1px solid #919191;
        }
        
        #contacto .titulo-seccion {
            text-align: center;
            font-size: 22px;
            text-transform: uppercase;
            color: #fff;
            text-decoration: underline;
            text-decoration-color: #444;
            text-decoration-thickness: 5px;
        }
        .form-control { background-color: #111; color: #fff; border-color: #333; }
        .form-control::placeholder { color: #aaa; }
        .btn-fill { --x: 50%; --y: 50%; transition: color 0s linear .45s; }
        .btn-fill:hover { background-color: transparent !important; color: #fff !important; }
        
        #contacto .btn-enviar {
            display: block;
            margin: auto;
            cursor: pointer;
            transition: .5s;
            padding: 10px 15px !important;
        }
        
        #contacto .btn-enviar:hover {
            background-color: var(--accent);
            color: #000;
        }
        /* *********************/
        /* seccion F O O T E R */
        /* *********************/
        
        footer {
            background-color: #000;
            color: #fff;
            text-align: center;
            padding: 30px 0;
        }
        
        footer a {
            text-decoration: none;
            color: #fff;
            display: inline-block;
            margin: 5px;
            font-size: 26px;
        }
        /* *********************/
        /* seccion R E S P O N S I V E */
        /* *********************/
        
@media (max-width: 800px) {
@media (max-width: 576px) {
    #inicio .presentacion .bienvenida { font-size: 12px; letter-spacing: 3px; }
    #inicio .presentacion h1 { font-size: 32px; }
    #inicio .presentacion .descripcion { font-size: 15px; line-height: 1.5; padding: 0 12px; }
    .btn, .btn-fill { padding: 10px 16px; font-size: 14px; border-radius: 30px; }
    .linkedin-logo { width: 22px; height: 22px; }
    #servicios .servicio .icono { width: 48px; height: 48px; padding: 14px; }
    #servicios .servicio h4 { font-size: 18px; }
    #servicios .servicio p { font-size: 13px; line-height: 1.5; min-height: auto; }
    .cert-card .cert-title { font-size: 16px; }
    .cert-card .cert-meta { font-size: 12px; }
    .cert-logo { max-width: 70%; max-height: 70%; }
    .portfolio-card .card-title { font-size: 16px; }
    .portfolio-card .badge { font-size: 12px; }
    #experiencia .exp-card h5 { font-size: 16px; }
    section.container { padding-left: 12px; padding-right: 12px; }
}
            
            #inicio .presentacion h2 {
                font-size: 40px;
            }
            #inicio .presentacion h1 {
                font-size: 40px;
            }
            #inicio { background-attachment: scroll; background-position: center center; }
            .parallax-servicios { background-attachment: scroll; background-position: center center; }
            /* seccion SOBRE MI */
            #sobremi {
                padding: 50px 0;
                display: block;
            }
            #sobremi .contenedor-foto {
                max-width: 200px;
                margin: auto;
            }
            #sobremi .contenedor-foto img {
                padding: 8px;
            }
            #sobremi .sobremi .titulo-seccion {
                text-align: center;
            }
            #sobremi .sobremi h2 {
                font-size: 25px;
                text-align: center;
            }
            /* seccion MIS SERVICIOS */
            #servicios {
                padding: 50px 15px;
            }
            #servicios .fila {
                display: block;
            }
            #servicios .fila .servicio {
                margin: 10px auto;
            }
            /* seccion HABLIDADES MI */
            .contenedor-skills {
                padding: 50px 20px;
            }
            /* seccion PORTFOLIO */
            #portfolio {
                padding: 50px 0;
            }
            
            
            /* seccion CONTACTO */
            #contacto {
                padding: 50px 15px;
            }
            
        }
        #custom-cursor {
            position: fixed;
            left: 0;
            top: 0;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #fff;
            mix-blend-mode: difference;
            pointer-events: none;
            transform: translate(-50%, -50%);
            z-index: 10000;
            transition: transform .15s ease;
        }
        .cursor-hover { transform: translate(-50%, -50%) scale(1.6); }
        .cursor-down { transform: translate(-50%, -50%) scale(0.9); }
        body { cursor: none; }
        @media (pointer: coarse) { #custom-cursor { display: none; } body { cursor: auto; } }
        .btn-fill { position: relative; overflow: hidden; isolation: isolate; border-color: var(--accent) !important; z-index: 0; }
        .btn-fill::before { content: ""; position: absolute; inset: 0; background: var(--accent); clip-path: circle(var(--r, 0%) at var(--x) var(--y)); transition: clip-path .45s ease; z-index: -1; }
        .btn-fill:hover { --r: 140%; color: #fff !important; }
body { background-color: #000; color: #fff; }
.linkedin-logo { width: 28px; height: 28px; object-fit: contain; display: block; }
.linkedin-link { display: inline-block; line-height: 0; border-radius: 6px; }
.linkedin-link:hover { outline: 2px solid var(--accent); outline-offset: 2px; }
.name-highlight { color: var(--accent); }
#contacto .img-aspect { aspect-ratio: 456 / 390; width: 100%; height: auto; display: block; }
        #servicios .servicio { display: flex; flex-direction: column; align-items: center; text-align: center; }
        #servicios .servicio .icono { display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
        #servicios .servicio h4 { margin-top: 8px; }
        #servicios .servicio hr { width: 60px; border-color: #333; margin: 10px auto; }
        #servicios .servicios-tag { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 8px 0 12px; list-style: none; }
        #servicios .servicio p { flex: 0 0 auto; min-height: 64px; }
        #servicios .servicios-tag { min-height: 28px; }
        #servicios .servicio .cert-badges { margin-top: auto; }
        .btn-linkedin-logo { width: 18px; height: 18px; object-fit: contain; margin-right: 8px; }
        #experiencia .exp-timeline { position: relative; padding: 0; }
        #experiencia .exp-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #222; transform: translateX(-1px); }
        #experiencia .exp-item { position: relative; margin: 24px 0; }
        #experiencia .exp-item::before { content: ""; position: absolute; left: 50%; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.18); transform: translateX(-50%); }
        #experiencia .exp-card { background: #0f0f0f; border: 1px solid #222; border-radius: 10px; padding: 16px; width: calc(50% - 40px); }
        #experiencia .exp-item:nth-child(odd) .exp-card { margin-right: auto; border-left: 3px solid var(--accent); }
        #experiencia .exp-item:nth-child(even) .exp-card { margin-left: auto; border-right: 3px solid var(--accent); }
        #experiencia .exp-card h5 { font-weight: 600; }
        #experiencia .exp-card .list-inline-item { background: rgba(255,255,255,0.06); border: 1px solid #333; border-radius: 20px; padding: 4px 10px; margin-right: 6px; }
        #experiencia .exp-card { opacity: 1; transform: none; transition: transform .5s ease, opacity .5s ease; }
        
        @media (max-width: 768px) {
            .subclase{text-align: center;}
            #experiencia .exp-timeline { padding-left: 0; }
            #experiencia .exp-timeline::before { left: 12px; transform: none; }
            #experiencia .exp-item::before { left: 12px; transform: none; }
            #experiencia .exp-card { width: auto; margin-left: 28px; margin-right: 0; border-left: 3px solid var(--accent); border-right: none; }
            #experiencia .exp-timeline::before { display: none; }
            #experiencia .exp-item::before { display: none; }
            #experiencia .exp-card { margin-left: 0; width: 100%; text-align: left; }
            #experiencia .exp-card .d-flex { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; }
            #experiencia .exp-card .badge { align-self: flex-start; }
            #experiencia .exp-item { margin: 16px 0; }
            #experiencia .exp-card { padding: 14px 12px; gap: 6px; }
            #experiencia .exp-card h5 { font-size: 18px; }
            #experiencia .exp-card .list-inline-item { font-size: .8rem; }
            #experiencia .exp-card p { font-size: .9rem; line-height: 1.4; }
            #servicios .titulo-seccion, #portfolio .titulo-seccion, #contacto .titulo-seccion, #experiencia .titulo-seccion, #sobremi .sobremi .titulo-seccion { text-align: center;margin-top: 2rem; }
            #inicio .presentacion .descripcion { font-size: 16px; max-width: 100%; padding: 0 12px; }
        }
        .parallax-servicios { position: relative; background: #000 url('img/fondo-skills.jpg') center/cover fixed no-repeat; }
        .parallax-servicios::before { content: ""; position: absolute; inset: 0; background:
            linear-gradient(180deg, rgba(0,0,0,.70), rgba(0,0,0,0.12)),
            linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.60) 40%, rgba(0,0,0,.60) 60%, rgba(0,0,0,.85) 100%);
        }
        .parallax-servicios .titulo-seccion { text-shadow: 0 2px 10px rgba(0,0,0,.6); }
        .parallax-servicios .servicio p, .parallax-servicios .servicio h4 { text-shadow: 0 1px 6px rgba(0,0,0,.5); }
        .parallax-servicios > .container { position: relative; z-index: 1; }
        .name-highlight { position: relative; display: inline-block; background-image: linear-gradient(to right, var(--accent), var(--accent)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s ease, text-shadow .35s ease; }
        .name-highlight:hover, .name-highlight:focus-visible { background-size: 100% 2px; text-shadow: 0 0 8px rgba(255, 193, 7, .35); }
        .whatsapp-fab { position: fixed; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #000; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(37,211,102,.35); z-index: 9999; animation: fabPulse 2.4s ease-in-out infinite; }
        .whatsapp-fab i { font-size: 26px; }
        .whatsapp-fab:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37,211,102,.45); }
        @keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.4); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
        @media (max-width: 576px) { .whatsapp-fab { right: 14px; bottom: 14px; width: 48px; height: 48px; } .whatsapp-fab i { font-size: 24px; } }
        .modal-backdrop { background-color: #000; }
        .modal-backdrop.show { opacity: .7; }
        .modal-content { background-color: #0f0f0f; color: #fff; border: 1px solid #222; border-radius: 12px; border-left: 3px solid var(--accent); }
        .modal-header, .modal-footer { border-color: #222; }
        .modal-title { color: #fff; }
        .modal-header .btn-close { filter: invert(1) grayscale(1); opacity: .8; }
        .modal-header .btn-close:hover { opacity: 1; }
        .modal .ratio { overflow: hidden; border-radius: 8px; }
        .modal .ratio img { filter: none !important; }
        @media (max-width: 576px) {
            .modal-dialog { margin: .75rem; }
            .modal-body { font-size: 15px; line-height: 1.55; }
        }

        .scroll-top-fab { position: fixed; right: 18px; bottom: 84px; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #000; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(255,193,7,.35); z-index: 9999; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
        .scroll-top-fab.show { opacity: 1; visibility: visible; transform: translateY(0); }
        .scroll-top-fab:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,193,7,.45); }
        .scroll-top-fab i { font-size: 20px; }
        @media (max-width: 576px) { .scroll-top-fab { right: 14px; bottom: 74px; width: 48px; height: 48px; } .scroll-top-fab i { font-size: 18px; } }

        
