:root {
    --accent: #ff0751;
    --accent-dark: #d90043;
    --dark: #0b0b0d;
    --dark-soft: #111114;
    --text-muted: #9a9a9f;
    --light: #f5f5f3;
	--font-main: "Rajdhani", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
    background: var(--dark);
	    font-family: var(--font-main);

}

html,
body {
    font-family: var(--font-main);
}

body {
    font-weight: 500;
}


a {
    transition: all .25s ease;
}

.text-accent {
    color: var(--accent) !important;
}

.text-grey {color:#cccccc}

.border-accent {
    border-color: var(--accent) !important;
}


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

.logo-code {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    line-height: 1;
}

.logo-s {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.logo-bracket {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
header {
    background: linear-gradient(
        to bottom,
        rgba(11, 11, 13, .95),
        rgba(11, 11, 13, 0)
    );
}

.header-menu {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: var(--font-main);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .12em;
    cursor: pointer;
    transition: color .25s ease;
}

.header-menu:hover {
    color: var(--accent);
}

.header-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    font-size: 1.2rem;
    transition:
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}

.header-menu:hover .header-menu-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: rotate(5deg);
}

.header-linkedin {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .05em;
}

.header-linkedin:hover {
    color: var(--accent);
}

.header-linkedin i {
    font-size: 1rem;
}

@media (max-width: 575.98px) {

    .header-linkedin span {
        display: none;
    }

    .header-menu {
        font-size: .8rem;
    }

    .header-menu-icon {
        width: 34px;
        height: 34px;
    }


}

.navbar {
    min-height: 80px;
}

.navbar-brand {
    font-size: 1.15rem;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.social-button,
.menu-button {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.social-button {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .08);
}

.social-button:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.menu-button {
    background: var(--accent);
    border-color: var(--accent);
}

.menu-button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: rotate(5deg);
}


/* =========================================================
   OFFCANVAS
========================================================= */

.offcanvas {
    --bs-offcanvas-width: min(460px, 92vw);
}

.offcanvas-header {
    min-height: 80px;
}

.offcanvas .nav-link {
    padding-left: 0;
    padding-right: 0;
    transition:
        color .25s ease,
        padding-left .25s ease;
}

.offcanvas .nav-link:hover {
    color: var(--accent) !important;
    padding-left: .5rem;
}

.offcanvas .nav-link small {
    font-size: .75rem;
    letter-spacing: .08em;
}

.navbar-nav a.nav-link{font-size:18px; font-weight:700}
.navbar-nav a.nav-link:hover{color:#ff0751 !important;}

/* =========================================================
   GENERAL
========================================================= */

.letter-spacing {
    letter-spacing: .15em;
}

.py-lg-6 {
    padding-top: 8rem !important;
    padding-bottom: 8rem !important;
}

.section-title {
    letter-spacing: -.04em;
}


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

#inicio {
    position: relative !important;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(255, 7, 81, .08),
            transparent 32%
        ),
        var(--dark);
}



.hero-grid {
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(
            135deg,
            transparent 48%,
            rgba(255, 7, 81, .22) 49%,
            transparent 50%
        );
    background-size: 90px 90px;
    mask-image: linear-gradient(
        to right,
        black,
        transparent 70%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        black,
        transparent 70%
    );
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 7rem);
    letter-spacing: -.07em;
    max-width: 850px;
}

.hero-title .text-accent {
    position: relative;
}

.hero-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    margin-top: 1.25rem;
    background: var(--accent);
}

.hero-changing-word {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .4s ease, transform .4s ease;
}

.hero-changing-word.is-changing {
    opacity: 0;
    transform: translateY(15px);
}

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

.hero-person {
    width: 100%;
    max-width: 620px;
    min-height: 650px;
}

.hero-person::before {
    content: "";
    position: absolute;
    width: 65%;
    height: 75%;
    top: 12%;
    left: 18%;
    background: rgba(255, 7, 81, .12);
    transform: rotate(-7deg);
    z-index: 0;
}

.hero-person::after {
    content: "";
    position: absolute;
    width: 45%;
    height: 55%;
    right: -5%;
    top: 15%;
    border: 1px solid rgba(255, 7, 81, .35);
    z-index: 0;
}

.hero-person::before,
.hero-person::after {
    transition: transform .6s ease, opacity .6s ease, box-shadow .6s ease;
}

.hero-person:hover::before {
    transform: rotate(-7deg) translate(-15px, -10px) scale(1.04);
    background: rgba(255, 7, 81, .18);
    box-shadow: 0 0 40px rgba(255, 7, 81, .12);
}

.hero-person:hover::after {
    transform: translate(15px, 10px) scale(1.08);
    border-color: rgba(255, 7, 81, .65);
    box-shadow: 0 0 30px rgba(255, 7, 81, .15);
}

.hero-glow {
    width: 70%;
    height: 70%;
    background: rgba(255, 7, 81, .13);
    filter: blur(90px);
    pointer-events: none;
}

.hero-photo {
    display: inline-block;
    width: 90%;
    /*height: min(760px, 82vh);*/
    object-fit: cover;
    object-position: center top;
    filter: saturate(.9);
}

.hero-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .55);
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -.05em;

    pointer-events: none;
	left: 50%;
  transform: translateX(-50%);
}

.hero-person .position-absolute.bg-dark {
    backdrop-filter: blur(8px);
    background: rgba(11, 11, 13, .85) !important;
}

.hero-actions {
    justify-content: flex-start;
}


#cyberParticles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#inicio > .container-xl {
    z-index: 2;
}


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

.btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--accent-dark);
    --bs-btn-hover-border-color: var(--accent-dark);
    --bs-btn-active-bg: var(--accent-dark);
    --bs-btn-active-border-color: var(--accent-dark);
}

.btn-lg {
    font-size: .95rem;
    font-weight: 600;
    padding-top: .9rem;
    padding-bottom: .9rem;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 7, 81, .2);
}

.btn-outline-light:hover {
    color: #000;
}


/* =========================================================
   SOBRE MÍ
========================================================= */

#sobre-mi {
    background: var(--light) !important;
}

#sobre-mi h2 {
    letter-spacing: -.055em;
}

#sobre-mi .lead {
    max-width: 850px;
}

#sobre-mi .row-cols-2 .col {
    min-height: 90px;
}



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

#servicios {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 7, 81, .07),
            transparent 30%
        ),
        var(--dark) !important;
}

#servicios .col {
    transition:
        background-color .3s ease,
        padding-left .3s ease,
        padding-right .3s ease;
}

#servicios .col:hover {
    background: rgba(255, 255, 255, .025);
}

#servicios h3 {
    letter-spacing: -.045em;
}

#servicios p {
    max-width: 600px;
}

/* =========================================================
   SERVICIOS - TAGS
========================================================= */

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.service-tags span {
    padding: .35rem .7rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50rem;

    color: var(--text-muted);

    font-size: .72rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .06em;

    transition:
        color .25s ease,
        border-color .25s ease,
        background-color .25s ease;
}

.service-item:hover .service-tags span {
    color: #fff;
    border-color: rgba(255, 7, 81, .35);
    background: rgba(255, 7, 81, .05);
}

#servicios .service-item {
    transition:
        background-color .3s ease,
        padding-left .3s ease,
        padding-right .3s ease;
}

#servicios .service-item:hover {
    background: rgba(255, 255, 255, .025);
}



/* =========================================================
   PROYECTOS
========================================================= */

#proyectos {
    background: var(--light) !important;
}

#proyectos h2 {
    letter-spacing: -.055em;
}

#proyectos article .ratio {
    position: relative;
}

#proyectos article .ratio::after {
    content: "↗";
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s ease;
}

#proyectos article:hover .ratio::after {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   COMUNICACIÓN
========================================================= */

.communication-section {
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 7, 81, .08),
            transparent 30%
        ),
        #08080a;
}


.communication-section h2 {
    letter-spacing: -.055em;
}


.video-preview {
    position: relative;
    overflow: hidden;
    background: #111114;
    cursor: pointer;
}


.video-preview img {
    transition:
        transform .5s ease,
        filter .5s ease;
}


.video-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .18);

    transition: background-color .3s ease;
}


.video-play {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: var(--accent);
    color: #fff;

    font-size: 2.7rem;

    transition:
        transform .3s ease,
        background-color .3s ease,
        box-shadow .3s ease;

    z-index: 2;
}


.video-play i {
    margin-left: 4px;
}


.video-preview:hover img {
    transform: scale(1.035);
    filter: brightness(.85);
}


.video-preview:hover .video-overlay {
    background: rgba(0, 0, 0, .28);
}


.video-preview:hover .video-play {
    transform: translate(-50%, -50%) scale(1.08);

    box-shadow:
        0 0 0 12px rgba(255, 7, 81, .12),
        0 10px 40px rgba(255, 7, 81, .25);
}


.communication-card h3 {
    transition: color .25s ease;
}


.communication-card:hover h3 {
    color: var(--accent);
}


/* Modal */

#videoModal .modal-content {
    overflow: hidden;
}

#youtubePlayer {
    border: 0;
}


/* Móvil */

@media (max-width: 575.98px) {

    .video-play {
        width: 62px;
        height: 62px;
        font-size: 2.1rem;
    }

}

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


#experiencia {
    background: var(--light) !important;
    color: #111;
}

#experiencia h2 {
    letter-spacing: -.055em;
}

#experiencia h3 {
    letter-spacing: -.02em;
    color: #111;
}

#experiencia .border-top,
#experiencia .border-bottom {
    border-color: rgba(0, 0, 0, .14) !important;
}

#experiencia .text-secondary {
    color: #68686d !important;
}

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

#contacto {
    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(255, 7, 81, .12),
            transparent 30%
        ),
        var(--dark) !important;
}

#contacto h2 {
    letter-spacing: -.06em;
}

#contacto a.display-6 {
    transition: color .25s ease;
}

#contacto a.display-6:hover {
    color: var(--accent) !important;
}

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: #ff0751;
    color: #fff;
    border-radius: 50%;
    font-size: 28px;
    z-index: 9999;
    text-decoration: none;
    transition: transform .3s ease, opacity .3s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

/* =========================================================
   MARCAS
========================================================= */

.brands-section {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 7, 81, .06),
            transparent 35%
        ),
        #08080a;
}
.brands-section h2 {
    color: #fff;
}

.brands-section .text-accent {
    color: var(--accent) !important;
}

.brand-logo {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.brand-logo img {
    display: block;
    max-width: 140px;
    width: 100%;
    max-height: 48px;
    object-fit: contain;
    opacity: .65;

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.brand-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}



@media (max-width: 575.98px) {

    .brand-logo {
        min-height: 65px;
        padding: .75rem;
    }

    .brand-logo img {
        max-width: 110px;
        max-height: 38px;
    }

}


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

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


/* =========================================================
   RESPONSIVE
========================================================= */


@media (min-width: 992px) {
    .hero-image-column {
        height: 100vh;
    }
}


@media (max-width: 991.98px) {

    .hero-title {
        font-size: clamp(3.5rem, 10vw, 6rem);
    }

    .hero-person {
        min-height: 580px;
        max-width: 600px;
    }

    .hero-photo {
        height: 580px;
    }

     .hero-actions {
        justify-content: center;
    }

	

    .hero-outline {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
    }

    .py-lg-6 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

 header {
        border-bottom: 1px solid var(--accent);
		background-color:rgba(0,0,0,0.8);
    }
}


@media (max-width: 767.98px) {

    .navbar {
        min-height: 70px;
    }

    .hero-title {
        font-size: clamp(3.2rem, 14vw, 5rem);
    }

    .hero-person {
        min-height: 520px;
    }

    .hero-photo {
        height: 520px;
    }

    .hero-outline {
        font-size: 2.8rem;
        transform: translate(8%, 8%);
    }

    #servicios .col {
        border-right: 0 !important;
    }

	#inicio {padding-top:50px}

}


@media (max-width: 575.98px) {

    .container-xl {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .social-button,
    .menu-button {
        width: 40px;
        height: 40px;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .hero-title .text-accent::after {
        width: 55px;
        height: 4px;
        margin-top: 1rem;
    }

    .hero-person {
        min-height: 460px;
    }

    .hero-photo {
        height: 460px;
    }

    .hero-outline {
        font-size: 2.1rem;
    }

    .hero-person .position-absolute.bg-dark {
        padding: .75rem !important;
    }

    .hero-person .position-absolute.bg-dark strong {
        font-size: 1.5rem !important;
    }

    .offcanvas {
        --bs-offcanvas-width: 100%;
    }

    .offcanvas .nav-link {
        font-size: 2rem !important;
    }

    .py-lg-6 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

}