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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

section {
    min-height: 100vh;
    padding: 140px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes heroTextReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pBlurFade {

    0%,
    35% {
        filter: blur(20px);
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        filter: blur(0px);
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes orbitBlurFade {

    0%,
    35% {
        filter: blur(25px);
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.05);
    }

    100% {
        filter: blur(0px);
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes rotateCircle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes counterRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translate3d(-50%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes marqueeScroll {
    0% {
        -webkit-transform: translate3d(-50%, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@keyframes cardSequenceFade {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.centered-hero {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    text-align: center;
    min-height: 1000px;
    overflow: visible;
}

.intro-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: orbitBlurFade 3.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content {
    z-index: 10;
    position: relative;
    pointer-events: none;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 80px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    opacity: 0;
    animation: heroTextReveal 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.hero-content p {
    font-size: clamp(14px, 4vw, 22px);
    color: var(--text-secondary);
    width: 100%;
    margin: 0 auto;
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    animation: pBlurFade 5.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-image-sequence-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    border-radius: 50%;
    animation: rotateCircle 35s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.seq-img-wrapper {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    animation: counterRotate 35s linear infinite;
    pointer-events: none;
    transform: rotate(0deg);
    background: #000;
}

.seq-img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(255, 0, 34, 0.4);
    border: 2px solid transparent;
    pointer-events: auto;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.seq-img.seq-img-loaded {
    opacity: 1;
    transform: rotate(0deg);
}

.seq-img-wrapper:nth-child(1) {
    top: 0px;
    left: 360px;
}

.seq-img-wrapper:nth-child(2) {
    top: 105.5px;
    left: 614.5px;
}

.seq-img-wrapper:nth-child(3) {
    top: 360px;
    left: 720px;
}

.seq-img-wrapper:nth-child(4) {
    top: 614.5px;
    left: 614.5px;
}

.seq-img-wrapper:nth-child(5) {
    top: 720px;
    left: 360px;
}

.seq-img-wrapper:nth-child(6) {
    top: 614.5px;
    left: 105.5px;
}

.seq-img-wrapper:nth-child(7) {
    top: 360px;
    left: 0px;
}

.seq-img-wrapper:nth-child(8) {
    top: 105.5px;
    left: 105.5px;
}

.section-bloque h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-split-section {
    min-height: 100vh;
    padding: 140px 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-split-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.about-image-col {
    flex: 0 0 40%;
    max-width: 500px;
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.about-image-col img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.about-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-name {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.about-role {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--accent);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.about-desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 550px;
    text-align: left;
    margin: 0;
    font-weight: 300;
}

.works-section {
    padding: 140px 0 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.works-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    width: 100%;
}

.works-header h2 {
    font-size: 56px;
    font-weight: 800;
}

.scroll-indicator {
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.scroll-indicator span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    font-size: 18px;
    color: #ffffff !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-indicator span:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.scroll-indicator span:active {
    transform: scale(0.95);
}

.works-carousel {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 20px 40px 100px 40px;
    cursor: grab;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.works-carousel.active {
    cursor: grabbing;
}

.works-carousel.active {
    cursor: grabbing;
}

.works-carousel::-webkit-scrollbar {
    display: none;
}

.work-card {
    flex: 0 0 auto;
    width: 400px;
    aspect-ratio: 1080 / 1350;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #111;
    display: block;
    opacity: 0;
    animation: cardSequenceFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.work-card:nth-child(1) {
    animation-delay: 2.4s;
}

.work-card:nth-child(2) {
    animation-delay: 2.6s;
}

.work-card:nth-child(3) {
    animation-delay: 2.8s;
}

.work-card:nth-child(4) {
    animation-delay: 3.0s;
}

.work-card:nth-child(5) {
    animation-delay: 3.2s;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 14, 20, 0.95) 0%, rgba(11, 14, 20, 0.2) 60%, transparent 100%);
    z-index: 1;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    z-index: 2;
    transition: transform 0.4s ease;
}

.work-info h3 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 8px;
    font-weight: 800;
}

.work-info p {
    color: var(--accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-align: justify;
}

.work-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(255, 0, 34, 0.25);
}

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

.work-card:hover .work-info {
    transform: translateY(-8px);
}

.brands-marquee {
    min-height: auto;
    padding: 60px 0;
    width: 100%;
    background: #0b0e14;
    border-top: 1px solid rgba(255, 0, 34, 0.2);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 450px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #0b0e14, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #0b0e14, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.is-animating {
    -webkit-animation: marqueeScroll 25s linear infinite;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 120px;
    padding-right: 120px;
    flex-shrink: 0;
}

.marquee-group img {
    max-height: 80px;
    max-width: 160px;
    object-fit: contain;
    transition: all 0.4s ease;
    flex-shrink: 0;
    -webkit-transform: translateZ(0) scale(1);
    transform: translateZ(0) scale(1);
    will-change: transform;
}

.marquee-group img:hover {
    -webkit-transform: translateZ(0) scale(1.1);
    transform: translateZ(0) scale(1.1);
}

.bento-container {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
    background: #0b0e14;
    z-index: 10;
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
    width: 90vw;
    height: 75vh;
    max-width: 1400px;
}

.bento-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    will-change: transform;
    background: #111;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-1 {
    grid-column: span 1;
    grid-row: span 2;
}

.item-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.item-3 {
    grid-column: span 1;
    grid-row: span 1;
}

.item-4 {
    grid-column: span 1;
    grid-row: span 1;
}

.item-5 {
    grid-column: span 1;
    grid-row: span 1;
}

.item-6 {
    grid-column: span 2;
    grid-row: span 1;
}

.item-7 {
    grid-column: span 1;
    grid-row: span 1;
}

@media (max-width: 992px) {
    .about-split-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .about-image-col img {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 14px;
        white-space: nowrap;
    }

    #home.hero,
    .centered-hero {
        min-height: 100vh;
        padding-top: 10px;
    }

    #about .hero {
        min-height: auto !important;
        padding-top: 0;
        padding-bottom: 20px;
    }

    section {
        padding-top: 60px;
        padding-bottom: 20px;
    }

    .hero-image-sequence-bg {
        width: 600px;
        height: 600px;
    }

    .seq-img-wrapper {
        width: 100px;
        height: 100px;
    }

    .seq-img-wrapper:nth-child(1) {
        top: 0px;
        left: 250px;
    }

    .seq-img-wrapper:nth-child(2) {
        top: 73px;
        left: 427px;
    }

    .seq-img-wrapper:nth-child(3) {
        top: 250px;
        left: 500px;
    }

    .seq-img-wrapper:nth-child(4) {
        top: 427px;
        left: 427px;
    }

    .seq-img-wrapper:nth-child(5) {
        top: 500px;
        left: 250px;
    }

    .seq-img-wrapper:nth-child(6) {
        top: 427px;
        left: 73px;
    }

    .seq-img-wrapper:nth-child(7) {
        top: 250px;
        left: 0px;
    }

    .seq-img-wrapper:nth-child(8) {
        top: 73px;
        left: 73px;
    }

    .bento-container {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 40px;
    }

    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
        height: auto;
    }

    .item-1 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .item-2 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .item-3 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .item-4 {
        display: none;
    }

    .item-5 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .item-6 {
        grid-column: span 2;
        grid-row: span 1;
    }

    .item-7 {
        display: none;
    }

    .works-carousel {
        gap: 20px;
        padding: 20px 20px 80px 20px;
    }

    .work-card {
        width: 75vw;
        max-width: 300px;
    }

    .work-info {
        padding: 30px 20px;
    }

    .work-info h3 {
        font-size: 24px;
    }

    .marquee-container::before,
    .marquee-container::after {
        width: 120px;
    }

    .marquee-group {
        gap: 60px;
        padding-right: 60px;
    }
}